2009 Jun 09 9:52 AM
Hi,
when we do 'where-used' operation on messages in se91, we get result for following two types of usage
MESSAGE ID 'ZBBP' TYPE 'E' NUMBER '074'
INTO ls_error_message
WITH e_bbp_usr01-userid.
MESSAGE i074(zbbp) WITH gs_forward.
is there any other way in which message is used that dont show in where used ?
this is for back tracing from the message received by the end user to reach the abap code.
thanks
b
2009 Jun 09 10:02 AM
Hi,
Also:
MESSAGE 'text' TYPE 'E'.
...but this is custom one, for using message class only given by you are possible.
Regards
Marcin
2009 Jun 09 10:05 AM
Hi B,
Message usage in generally are
message E999(msg_id) or
MESSAGE ID 'ZBBP' TYPE 'E' NUMBER '074'
In addition you can use the following additions.
1. ... DISPLAY LIKE dtype
2. ... RAISING exception
3. ... INTO text
4. ... WITH dobj1 ... dobj4
In the above cases you can do a where use to find where the message is used in the code.
There are cases where the message are filled into to log before being displayed. In such cases the above syntax is used but with a dynamic approach (may be in a macro), and in this case it is difficult to find out if the message of the message class is used by doing a where used. Generally a to find these messages we debug in the code to find out where is raised.
Regards,
George
2009 Jun 10 5:41 AM
hi,
debug is not possible because issue cannot be replicated in non production.
reading the code is only way. and this syntax is not found anywhere in the code at all.
closing the thread
thank you
B
2009 Jun 10 5:41 AM