on 12-19-2008 3:44 PM
Hi Experts,
I want to send a warning message to the order log , for this I used
CALL FUNCTION 'CRM_MESSAGE_COLLECT'
EXPORTING
iv_caller_name = 'ORDER'
iv_ref_object = iv_guid
iv_msgno = 002
iv_msgid = 'ZMSG'
iv_msgty = 'W'
iv_cumulate = 'X'
EXCEPTIONS
not_found = 1
appl_log_error = 2
OTHERS = 3.
MESSAGE ID 'ZMSG' TYPE 'W' NUMBER '002' .
But the problem is order is not saving at all, I want order to be saved and the warning message to be in the log.
Please help me out in this.
Thanks in Advance,
Praveen
where did you add this message to the log, in BADI_ORDER_SAVE, or what?
Is there another error preventing it from saving?
What happens when you do not add this message to the log?
Did you read the documentation of this FM, might be helpful to see if you are using it correctly!
Edited by: Micky Oestreich on Dec 19, 2008 5:33 PM
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I am using it in the BADI_ORDER_SAVE, when I do not add this message to the log the pop up message is coming out fine.
In this FM if I send E to iv_msgty ,its working fine too.The problem is coming only for warning messages.
Your time in replying to this thread will be appreciated.
Thanks in Advnace,
Praveen
use fm NAST_PROTOCOL_UPATE
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
8 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.