Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Using Message class for BAPIRET2

Former Member
0 Likes
5,039

Hello Guys,

How to use message class (se91) messages for BAPIRET2.

I am passing Parameters like

BAPIRET2-TYPE = 'S'.

BAPIRET2-ID = SAP/MSG    "MESSAGE CLASS NAME

BAPIRET2-NUMBER = 001.  "Message Number

But getting error....for ID....

ThanQ..

5 REPLIES 5
Read only

Former Member
0 Likes
3,623

ID is the message class that you created in SE91.

Does it exist? What is SAP/MSG?

Read only

0 Likes
3,623

Hi,

How to use message class (se91) messages for BAPIRET2.

I am passing Parameters like

BAPIRET2-TYPE = 'S'.         "Message Type

BAPIRET2-ID = '/SAP/MSG'    "MESSAGE CLASS NAME custom created in se91

BAPIRET2-NUMBER = 001.  "Message Number

But Not able to view the message when displaying........

Read only

0 Likes
3,623

What are you trying to do exactly? BAPIRET2 is the structure for receiving BAPI return messages in the table.

You get all the messages and then convert them to messages using Function Module FORMAT_MESSAGE.

Can you post the exact query or screen shot you are facing error in?

Read only

0 Likes
3,623

Hi Chinmay, Can u send me your Mail-ID , I will send u a Document  which i got error...

Read only

0 Likes
3,623

Hi Chinmay, Can u send me your Mail-ID , I will send u a Document  which i got error...