on 06-13-2011 4:09 PM
Hi,
I have implemented BADI ORDER_SAVE as below to add my own message in application log:
lv_msgsrv = cl_bsp_wd_message_service=>get_instance( ).
lv_msgsrv->add_message( iv_msg_type = if_genil_message_container=>mt_error
iv_msg_id = 'ZMSG'
iv_msg_number = '000').
However Im not able to see the message in application log. Is there anything Im missing here? Please suggest.
Rgds
Hi sudhanshu,
I think that method is for displaying errors on the screen but not for saving them in the application log. If I were you I would use the BAL functions to write to the application log; a good starting point is here:http://help.sap.com/saphelp_nw70ehp1/helpdata/en/d6/5d7f38f52f923ae10000009b38f8cf/frameset.htm
Jon
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
85 | |
10 | |
9 | |
9 | |
6 | |
6 | |
6 | |
5 | |
3 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.