2010 Feb 13 4:16 PM
Hi All,
i am getting Message Class and the message Numbers in an Internal Table.
The message Text for that Number in the message class i need to Display in Out Put.
Please let me know the procedure How to Display the message text
Please Suggest the Code if any Function module Exists...
Regards,
Reddy
2010 Feb 13 5:46 PM
Hello,
Why do you need an FM? You can use a single line to achieve this with the INTO addition:
DATA: v_msg TYPE string.
MESSAGE <msg. details> INTO v_msg.BR,
Suhas
Hi All,
i am getting Message Class and the message Numbers in an Internal Table.
The message Text for that Number in the message class i need to Display in Out Put.
Please let me know the procedure How to Display the message text
Please Suggest the Code if any Function module Exists...
Regards,
Reddy
2010 Feb 13 4:25 PM
Hi,
Call the FM "BALW_BAPIRETURN_GET2".
The import parameters for this FM are
TYPE - Message Type
CL - Message Class
NUMBER - Message No
PAR1 - Message Place Holder1
PAR2 - Message Place Holder2
PAR3 - Message Place Holder3
PAR4 - Message Place Holder4
You will get the message information from the export parameter RETURN-MESSAGE.
Regards,
Ganga
2010 Feb 13 5:46 PM
Hello,
Why do you need an FM? You can use a single line to achieve this with the INTO addition:
DATA: v_msg TYPE string.
MESSAGE <msg. details> INTO v_msg.BR,
Suhas
2010 Feb 13 6:48 PM
Hi Suhas,
I am Getting Message Class And Message numbers in My Internal Table.
So, Now This Message Class Numbers Text I need to fetch and Display.
This is the scenario
for this is your code Works
Regards,
Vinod
2010 Feb 13 8:44 PM
Hi,
You can use the FM MESSAGE_TEXT_BUILD.
Alternatively you can use table T100.
Make sure that you have the place holder values also in your internal table (Like Sy-msgv1/2/3/4).
Thanks,
Vinod.
2010 Feb 14 3:16 AM
Hi,
Are you not able to use the FM "BALW_BAPIRETURN_GET2"?
The import parameters for this FM are
TYPE - Message Type (can be error/success.info etc)
CL - Message Class
NUMBER - Message No
PAR1 - Message Place Holder1, if any exists
PAR2 - Message Place Holder2, if any exists
PAR3 - Message Place Holder3, if any exists
PAR4 - Message Place Holder4, if any exists
You will get the message text information directly from the export parameter RETURN-MESSAGE.
Regards,
Ganga
2010 Feb 14 7:56 AM
In abap editor type 'Message into' and hit F1.
or you can use the standard fm's available.
| User | Count |
|---|---|
| 4 | |
| 2 | |
| 2 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |