‎2007 Nov 20 2:35 PM
I would like to place a message in the following method:
It's defined like this:
Position & cannot be delimited because the position is occupied until &
This is in the program:
MESSAGE: s029(zpom_001) WITH st_hrp1001-objid(8) st_hrp1001-endda(8), display like 'E'.
I inserted the (display like 'E' ) in so I can get the RED 'X' error message. If I take out the display like 'E', it works.
I get the following error:
Three-digit error number XXX required in the "MESSAGE EXXX..." statement.
Thanks for any help you can give?
Jeff
‎2007 Nov 20 2:40 PM
c if u r giving s029 then u cant display like E..
So if u want the RED 'X' error message then write as
MESSAGE: <b>E</b>029(zpom_001) WITH st_hrp1001-objid(8) st_hrp1001-endda(8).
Try dis ..hope dis helps..
Reward if it does
‎2007 Nov 20 2:36 PM
‎2007 Nov 20 2:39 PM
Hi Jeff,
try like this...
MESSAGE: E029(zpom_001) WITH st_hrp1001-objid(8) st_hrp1001-endda(8).
‎2007 Nov 20 2:40 PM
c if u r giving s029 then u cant display like E..
So if u want the RED 'X' error message then write as
MESSAGE: <b>E</b>029(zpom_001) WITH st_hrp1001-objid(8) st_hrp1001-endda(8).
Try dis ..hope dis helps..
Reward if it does
‎2007 Nov 20 2:43 PM
That will give me the pop-up error message but they want the message on the bottom of the screen with the red x message. If I take of the & parameters then the Display like E works
‎2007 Nov 20 2:48 PM
Hi jeff,
then try like this...
MESSAGE: E029(zpom_001) display like 'E' WITH st_hrp1001-objid(8) st_hrp1001-endda(8).
‎2007 Nov 20 2:40 PM
Satish,
That did not work...
If I remove the part of the message ( Display like 'E' ) it works...... But if I want to get a RED X error message, what would I do?
JeffG
‎2007 Nov 20 2:44 PM
Put like this:
message S398(00) <b>DISPLAY LIKE 'E'</b> with sy-msgv1 sy-msgv2 ' ' ' ' .
Regards,
Naimesh Patel
‎2007 Nov 20 2:46 PM
Hi,
try this
MESSAGE: E029(zpom_001) WITH st_hrp1001-objid(8) st_hrp1001-endda(8) type 'E'.
Regards,
Satish