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 problem

Former Member
0 Likes
607

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
Read only

Former Member
0 Likes
570

Hi Manish,

Can you paste your code.

Regards,

Atish

Read only

Former Member
0 Likes
570

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

Read only

Former Member
0 Likes
570

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

Read only

0 Likes
570

THANKS FOR THE REPLIES.

ISSUE HAS BEEN SOLVED.

I GOT THE SOLUTION.