Skip to Content

BAPI_ACC_DOCUMENT_POST in another SAP system

Hello all,

I am connecting two SAP 4.7 systems. I am calling BAPI_ACC_DOCUMENT_POST from one system to another. I am getting result from called system that document is posted but I cannot find the document.

Code is



testrun = ''

documentheader = p_bapi_header


accountgl = p_it_bapi_account_gl

currencyamount = p_it_bapi_curr

return = it_bapi_return.



wait = 'X'.

I get same result in testing mode and actual execution. Can somebody explain to me what I am missing?

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

2 Answers

  • Posted on Oct 07, 2004 at 03:34 PM

    Try importing parameters OBJ_TYPE, OBJ_KEY, and OBJ_SYS. See what it actually returned in this IMPORT parameters.

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Dec 24, 2004 at 05:45 AM

    I want to execute the 'FB01' thru a report whose input data will inserted from an external file. BDC

    wud be the last option , I want to do it using BAPI.

    I have tried it thru BAPI 'BAPI_ACC_GL_POSTING_POST' but in that case no document no is generated and nothing gets updated in BKPF table even using 'BAPI_TRANSACTION_COMMIT'.

    While using the BAPI_ACC_DOCUMENT_POST what shud i use for the object type when i use BSEG it says 'FI/CO interface: Object type BSEG not defined'.

    Pl help what to do???

    thanks in advance


    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.