Quantcast
Channel: SCN : Discussion List - BOPF Application Framework
Viewing all articles
Browse latest Browse all 249

Getting all messages added to BOPF Object in validations

$
0
0

Hello,

 

in the validation method /BOBF/IF_FRW_VALIDATION~EXECUTE the parameter EO_MESSAGE was created in our implementation by calling /BOBF/CL_FRW_FACTORY=>GET_MESSAGE(). This validation is called after MODIFY and at SAVE (FINALIZE). In FIORI UI the messages appear twice (because of MODIFY and SAVE in one roundtrip).

I would like to fetch the existing raised messages to BOBF and compare it with the messages to avoid the duplicate entries. I would like to add the message object only in case it is not yet in the message container. Could you please tell me how to get all messages added to the BOBF message? Do I have to introduce a singleton which is is calling /BOBF/CL_FRW_FACTORY=>GET_MESSAGE() and then call LO_BOBF_FRW_MESSAGE->GET()? or do you see other possibilities?

Best regards

Christof


Viewing all articles
Browse latest Browse all 249

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>