‎2008 Aug 20 4:01 AM
Hi Guys,
I define custom message-id for a report.
sy-msgid inside my program is empty and dumbing an error when I use standard one.
Whats the cause of this error.
Cheers
Senthil
‎2008 Aug 20 4:04 AM
> I define custom message-id for a report.
REPORT ZTEST MESSAGE-ID ZZ "<----this is how you mentioned it
> sy-msgid inside my program is empty and dumbing an error when I use standard one.
where you are getting the error.and what is the error.
‎2008 Aug 20 4:04 AM
> I define custom message-id for a report.
REPORT ZTEST MESSAGE-ID ZZ "<----this is how you mentioned it
> sy-msgid inside my program is empty and dumbing an error when I use standard one.
where you are getting the error.and what is the error.
‎2008 Aug 20 4:11 AM
‎2008 Aug 20 5:06 AM
hi
once you define the followiong statement in the report ie.
REPORT zinftcomm_summ_ff MESSAGE-ID yx NO STANDARD PAGE HEADING.
then you hae to write the statement for message as shown below:-
MESSAGE e000 WITH text-101.
you dont need to mention the message id again the message stement.
just check and let me know.
‎2008 Aug 20 5:22 AM
Hi,
plz try this way :
First put your z message-id in program statement if its module pool or in report statement if it's report.
PROGRAM zo9u_notify_dp MESSAGE-ID z_lsc.
or
REPORT ZZDHANU MESSAGE-ID ztest.
Then use the message statement where we need to display message.
e.g
IF sy-subrc <> 0.
MESSAGE e007.
LEAVE TO SCREEN 0.
ENDIF.hope this helps.
thanx,
dhanashri.
‎2008 Aug 20 6:00 AM
Hi..
First create a message class and mention that in the start of the program with MESSAGE-ID MESSAGE CLASS.
and inside the program write statement with below syntax.
MessagetypeNo(messageclass).
ex :I000(zid).