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

Is there any system variable or function to check BAPI call or not?

Former Member
0 Likes
1,326

Hello friends,

I have a requirement to create PO.

I want to create it with online session (Not in a BAPI call, BDC or a background job)

I can check the logic for BDC --> SY-BINPT and Backgrond job -->SY-BATCH.

But anybody can tell me how would I know the call is in BAPI??

Regards,

Ronny

1 ACCEPTED SOLUTION
Read only

kesavadas_thekkillath
Active Contributor
0 Likes
874

I have seen in mkpf or mseg, if a entry is created through bapi , there is field which maintains the tcode through which the document is created. When its created through bapi it indicates the transaction name as bapi in the table field.

You can check in ekko and ekpo for such field if any.

3 REPLIES 3
Read only

kesavadas_thekkillath
Active Contributor
0 Likes
875

I have seen in mkpf or mseg, if a entry is created through bapi , there is field which maintains the tcode through which the document is created. When its created through bapi it indicates the transaction name as bapi in the table field.

You can check in ekko and ekpo for such field if any.

Read only

Former Member
0 Likes
874

You can use Export and Import memory to solve this issue.

Export should be done at a place which is called only in foreground.

Later you can do Import memory and check for field value.

Read only

Former Member
0 Likes
874

Thanks