cancel
Showing results for 
Search instead for 
Did you mean: 

Regarding BAPI Return Table

Former Member
0 Kudos

Hi all,

I am having an issues, when the user enters the correct value into an input field then i am getting the output properly. But if he enters any wrong value a message is populated into the BAPI return table. So how do I check if the BAPI return table is empty or not. If it is empty then it has to open the output table and if it is not empty it has to show the error message as an pop-up or table format.

Please reply, points will be rewarded.

Thanks & Regards,

M.Ramana Murthy

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Ramana,

You can drag a line from the rETURN output of the bapi to a table or input form.

if there is an error a message willl be displayed,

regards,

Sami

Answers (1)

Answers (1)

Former Member
0 Kudos

Hi Ramana,

If you want to capture the message returning from the BAPI which you are using then do the following:

1.> Drag the line from the BAPI return port and link it to a form or to a table.

2.> Then go to the form/table click the UIelement and in properties of that assign the default value which you want to display. It may be a message coming out of the BAPI.Through this way you can capture the values coming out of the BAPI

Regards,

Nutan