2006 Aug 17 10:14 AM
Do you know how to have function like?
Message e047 display like type 'S'.
My version is 4.6 C, so I don't have this function.
Every time , I try display an error message on ALV.
It makes my screen shut down.
Do you know how to have function like?
Message e047 display like type 'S'.
My version is 4.6 C, so I don't have this function.
Every time , I try display an error message on ALV.
It makes my screen shut down.
2006 Aug 17 10:17 AM
Hi,
I assume that you want to change error message to succes message. It can be done as follows :-
Message s047.
Best regards,
Prashant
2006 Aug 17 10:27 AM
hi,
Throw a message
Message s047 with 'text'.
Use either EXIT or STOP to stop the execution the execution. You need to write some logic to terminate the execution.
Regards,
Sailaja.
2006 Aug 17 10:28 AM
Sorry, I wrote uncorrectly.
it shoulbe be
Message s047 display like type 'E'.
2006 Aug 17 10:30 AM
Hi Minghan,
In that case, you can throw a succes message followed by a exit statement.
message s047.
exit.
Regards,
Ravi
2006 Aug 17 10:30 AM
Hi,
If you have a message class defined, use the following syntax :
Message e047 display like 'S'.
else say,
message 'hi' type 'E' display like 'S'.
Reward if helpful.
Regards
2006 Aug 17 10:35 AM
in 4.6 C, it is possible to use "message 'hi' type 'E' display like 'S'".
that is my problem.
Is there any function the same as message 'hi' type 'E' display like 'S'?
2006 Aug 17 10:37 AM
If you use
MESSAGE E047.
It would send out an error message...would that help ?
Regards
Anurag
2006 Aug 17 10:38 AM
check this.
Addition 4
... DISPLAY LIKE mtype
Effect
The message display uses the icon of the message type mtype but the message is handled according to its actual type.
Note
This addition cannot be used in conjunction with the addition ... INTO.
Example
MESSAGE I004 DISPLAY LIKE 'E'.
Variant 2
MESSAGE ID id TYPE mtype NUMBER n.
Regards
Prabhu
2006 Aug 17 10:42 AM
2006 Aug 17 11:04 AM
2006 Aug 17 11:08 AM
2006 Aug 17 11:24 AM
in 4.6c u can directly use any message statement like below.
MESSAGE 'ABCDFHJK' TYPE 'E'/'S'/'W'/'I'.....
| User | Count |
|---|---|
| 3 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |