‎2006 Oct 13 1:51 PM
Hi Friends,
I dont want to see the message number here it is displaying message number, how to do it.
here is my coding.
AT SELECTION-SCREEN ON so_matnr.
SELECT matnr INTO mara-matnr UP TO 1 ROWS
FROM mara
WHERE matnr IN
so_matnr.
ENDSELECT.
IF SY-SUBRC <> 0.
MESSAGE I909 WITH 'Enter' so_matnr-LOW so_matnr-HIGH.
ENDIF.
Regards,
Venu
‎2006 Oct 13 1:56 PM
Hello,
i don't understand your message.
If you don't want message number, use the popup message with appropriated Function module
regards
Sebastien
‎2006 Oct 13 1:56 PM
Hello,
i don't understand your message.
If you don't want message number, use the popup message with appropriated Function module
regards
Sebastien
‎2006 Oct 13 1:56 PM
report sy-repid message id zz.
AT SELECTION-SCREEN ON so_matnr.
SELECT matnr INTO mara-matnr UP TO 1 ROWS
FROM mara
WHERE matnr IN
so_matnr.
ENDSELECT.
IF SY-SUBRC <> 0.
MESSAGE I909 WITH 'Enter' so_matnr-LOW so_matnr-HIGH.
ENDIF.
IN your message class zz (se91 transaction),
create a message with number 909 with three '&'s.
like this
909 & & &
then save it.
Now run your program.
Regards,
Ravi
‎2006 Oct 13 1:57 PM
Hi,
Please use the below code for your logic.
IF NOT SO_MATNR[] IS INITIAL.
SELECT SINGLE MATNR
INTO MARA-MATNR
FROM MARA
WHERE MATNR IN SO_MATNR.
IF SY-SUBRC <> 0.
Message 'Invalid Material'
MESSAGE E021(ZZ).
ENDIF.
ENDIF.
Create a message 'Invalid Material' in the Message Class (here it is ZZ) and use that number in the Message Statement (here it is 021).
Regards,
sksingh
‎2006 Oct 13 2:20 PM
Hello
I send previous code and click on ZMESS and it will take to se91 tcode and give ue message and save and activate.
Then u wont see the message number