‎2006 Jan 10 12:09 AM
Hi masters!
I am testing BAPI_ACC_DOCUMENT_DISPLAY (SE37)
I put import parameters:
OBJ_TYPE:BKPF
OBJ_KEY: 002201346500102006
OBJ_SYS: DEV_020_02
(I took them from existing FI document)
This BAPI returns me 000 (I can see acc.doc, profit center, cost acc. Doc and funds doc)
It works perfect.
My question is:
How I can get the content of TABLES for this existing document ?
(ACCOUNTGL, ACCOUNTRECEIVABLE, CURRENCYAMOUNT, etc )
I dont mean content in BKPF, BSEG I mean Tables for BAPI_ACC_DOCUMENT_POST.
Regards.
Oleg.
‎2006 Jan 10 1:32 AM
Well, I don't think you can with this BAPI. BAPI_ACC_DOCUMENT_POST takes the tables as input, manipulates them, calculates taxes and posts documents. This BAPI will just return the various documents (FI, FM, CO, etc.) that the BAPI or other processing created. It would be pretty difficult to re-create the tables form BSEG and BKPF.
BAPI_ACC_DOCUMENT_DISPLAY does run another FM AC_DOCUMENT_RECORD which returns tables, but those tables are just a list of the various documents numbers.
Rob
‎2006 Jan 10 1:32 AM
Well, I don't think you can with this BAPI. BAPI_ACC_DOCUMENT_POST takes the tables as input, manipulates them, calculates taxes and posts documents. This BAPI will just return the various documents (FI, FM, CO, etc.) that the BAPI or other processing created. It would be pretty difficult to re-create the tables form BSEG and BKPF.
BAPI_ACC_DOCUMENT_DISPLAY does run another FM AC_DOCUMENT_RECORD which returns tables, but those tables are just a list of the various documents numbers.
Rob