Skip to Content
author's profile photo Former Member
Former Member

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

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

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

3 Answers

  • Best Answer
    Posted on Jan 27, 2010 at 07:43 PM

    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.

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Jan 27, 2010 at 09:01 PM

    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.

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Jan 28, 2010 at 06:28 AM

    Thanks

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.