12-13-2006 8:20 PM
Hi experts,
In my RFC FM, when calling function '/ADP/SD_DOCMENT_CREATE', it gets warning message 'Sales Price Warning ...' and is asked to choose Yes/No to continue. The problem is my FM is called remotely so it cannot be stopped by any warning message. How can I surpass warning message when I call such function module?
Thanks.
Yu
12-13-2006 8:30 PM
Hi,
Please check this FM CM_F_SUPPRESS_MESSAGE perhaps it may help.
Regards,
Ferry Lianto
12-13-2006 8:30 PM
Hi,
Please check this FM CM_F_SUPPRESS_MESSAGE perhaps it may help.
Regards,
Ferry Lianto
12-13-2006 9:00 PM
Hi Ferry,
How to call FM CM_F_SUPPRESS_MESSAGE? Can you kindly give me an example for that? Thanks a lot.
12-13-2006 8:41 PM
If it is coded to call this popup with a decision point, the it can not be supress, unless there is some config built around it. If there isn't, the only way to get around it is to hack it and remove the call. From what you describe, it seems that this may be a warning message with buttons, whichis probably coming from a function module call that starts with POPUP*
Regards,
Rich heilman
12-13-2006 9:24 PM
Hi Yu,
Please check include programs LCK00F01 and LCKEKMLCU04 for sample codes.
CALL FUNCTION 'CM_F_SUPPRESS_MESSAGE'
EXPORTING
aplid = 'PPCO'
arbgb = 'BS'
msgnr = '011'
EXCEPTIONS
NOT_ACTIVE = 0.
Regards,
Ferry Lianto