Skip to Content
0
Oct 07, 2004 at 08:58 AM

BAPI_ACC_DOCUMENT_POST in another SAP system

106 Views

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

CALL FUNCTION 'BAPI_ACC_DOCUMENT_POST' DESTINATION 'TST_QAS360'

EXPORTING

testrun = ''

documentheader = p_bapi_header

TABLES

accountgl = p_it_bapi_account_gl

currencyamount = p_it_bapi_curr

return = it_bapi_return.

CALL FUNCTION 'BAPI_TRANSACTION_COMMIT' DESTINATION 'TST_QAS360'

EXPORTING

wait = 'X'.

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