‎2015 Jul 30 6:56 AM
Hi All,
I have a requirement in R/3 : In CIC0 send BP number to sxmb_moni , when user will enter BP number & will go to info section in right & will click GIS button.
This configured in EWFCO (zero) tcode.
Behind this one CUSTOM bor object & one method is there,
Method using one BAPI.
BAPI contains outbound proxy code.
Issue is: BP is successfully going to SXMB_MONI,but they want a INFORMATION messages when BP going.
I have written code in BOR & BAPI , but it is not showing.
Anyone knows How to show messages here i.e CIC0 ?
Thanks
Gourav.
‎2015 Jul 30 9:08 AM
‎2015 Jul 30 9:08 AM
‎2015 Jul 30 10:10 AM
In the BOR Method? If yes, would a simple MESSAGE statement not suffice?
Hopefully not in the BAPI itself, because BAPI programming conventions are clear on this:
BAPIs themselves must not trigger any messages (such as MESSAGE xnnn) in the coding. In particular they must not generate terminations or display dialog boxes.
The same IMO should also apply to BOR methods - the popup display can hurt resusability of the method in other contexts... and render the method inoperable in background processing.
The task of informing the user about results IMO belongs to each concrete "process" utilising a BOR method - not the method itself. I have not done CIC0 setup/programming, but the EWFC0 configuration for transaction also permits calling something called "Front Office Process". That IMO would be a better place where to implement informing an online user about the results of his/her action - whether it's success or an error. BAPI and BOR method should simply return message information (in BAPI return information format) - then every "context" calling the BOR method has a chance to act upon it.
cheers
Janis