‎2007 Mar 22 2:52 PM
Hello,
I'm doing checks in Transaction BP and dispalying relevant messages. The user can move across differnt tabs and do checks by clicking on the check button. The problem is that if a save button is clicked before clearing all error messages, the BP application is locked and the user cannot move to the relevant tab related to the Error message.
Below is a sample of my code.
CALL FUNCTION 'BUS_MESSAGE_STORE'
EXPORTING
arbgb = 'Z1'
msgty = 'E'
txtnr = 000
cancel = ''
msgv1 = 'Enter Domicilium Address'
tbfld_strg = 'GT_ADDR_NEW-ADDSC'
flag_coll_end = 'X'
repeat_show = '1'.
Your assistance will be highly appreciated.
Thanks
Chris.
‎2007 Mar 23 8:25 AM
Solved it on my own.
FM 'BUS_MESSAGE_STATUS_SET' has to be called before callling FM 'BUS_MESSAGE_STORE'.
CALL FUNCTION 'BUS_MESSAGE_STATUS_SET'
EXPORTING
msg_coll_status = '2'.
Parameter msg_coll_status can be:-
0 = Print Out Immediately
1 = Data Screen - Subscreen Container Processed in BDT Classic
2 = Cross-View Checks (DCHCK) + Popup
4 = Collection of Messages (DI, BDT in Subscreen)
5 = As in 1, but Without SET SCREEN
6 = BDT in Subscreen with Popup