How to collect warnings while saving crmd_order transaction?

Question: Hi !
I want to collect warnings & errors for crmd_order transaction
I am using below syntax.

call function 'CRM_MESSAGE_COLLECT'
EXPORTING
iv_caller_name = 'ORDERADM_I'
iv_ref_object = wlt_orderadm_i-guid
iv_ref_kind = 'B'
iv_msgno = 18
iv_msgid = 'ZMSG_SGA'
iv_msgty = 'E'
EXCEPTIONS
not_found = 1
appl_log_error = 2
others = 3.
if sy-subrc <> 0.
endif.

With MsgTy is 'W' instead of 'E', function executes succefully.
But I don't see in warnings collected.
However with msgty = 'E', I am able to see for error.


Has anybody faced any such problem ever.
Any help would be appreciated

Best Regards.
Deepali

Answer:
For this purpose, make the following settings in
transaction R3AC6:

Key "R3A_SALES"

name "COLLECT_WARNINGS"

value "X"
and try after that.

If it works please let me know

Answer:
Hi ZZZZ,
It didn't work. I followed the same steps as you suggested, but it didn't work

Any other suggestion..

Regards
Deepali
Copyright ?2007 - 2008 www.jt77.com