‎2004 Oct 07 9:58 AM
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?
‎2004 Oct 07 4:34 PM
Try importing parameters OBJ_TYPE, OBJ_KEY, and OBJ_SYS. See what it actually returned in this IMPORT parameters.
‎2004 Oct 07 6:43 PM
I am importing all of those parameters. Without them I am not able to post any document.
I am getting return message with those parameters that document is posted, but when I try to query with them Icannot find the posted document.
TIA
Gordan
‎2004 Dec 24 5: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
anshul
‎2005 Oct 21 10:41 AM
Hello,
I have the same problem that the document is not created in the system. If anyone have a solution to this problem please let me know
Thanks in advance,
Regards,
Dries Yssel