Application Development 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: 

BAPI problem

Former Member
0 Kudos

Respected Members:

i am executing the BAPI through ABAP program and after commit statement i have written the some write statements to display the errors or the success records.

But this write statements is not giving the output,when my report is getting executed and it is remaining at the selection screen only.

when i debug the program it is moving to that write statements .

i am not getting where is the problem and how to do the solution of this problem.

Please give me your helpful suggestions.

4 REPLIES 4

Former Member
0 Kudos

Hi Manish,

Can you paste your code.

Regards,

Atish

Former Member
0 Kudos

Hi

I hope that some thing wrong with the code

After BAPI function call

you can LOOP AT BAPI_RETURN parameter

and WRITE:/ I_RETURN.

ENDLOOP.

It will write the message/return status.

Regards

Anji

former_member200338
Active Contributor
0 Kudos

Hi,

1) Please try to replace the write statement with popup messages.

2) switch to classic debugger. Then after executing first write statement, click on contents icon on the tool bar. it will show whether the report is printing the text or not.

Regards,

Niyaz

0 Kudos

THANKS FOR THE REPLIES.

ISSUE HAS BEEN SOLVED.

I GOT THE SOLUTION.