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

Bapi help...!!!

Former Member
0 Likes
307

Hi All,

I am using bapi function in my code and once the bapi gets run i have to show an error messages if there are any or successful message in new pop-up window.

can anybody let me know how can i do that? please post sample code if possible.

Thanks,

Dhwanit.

2 REPLIES 2
Read only

RichHeilman
Developer Advocate
Developer Advocate
0 Likes
280

The BAPI will usually pass back all messages in the RETURN parameter. check this parameter and write out the messages, the RETURN paramter will have the message id and number, you can then use the funciton module MESSAGE_PREPARE to build the full message.

Regards,

RIch Heilman

Read only

0 Likes
280

hi rich,

Thanks once again for helping me. i know i am getting all the error msges and all msged in i_return table. the thing is i have to show all of them on new pop-up screen. i have to make runtime pop-up screen and show all the data there. so if you have some suggetions on that or some sample code please send it to me.

Thanks,

Dhwanit.