‎2011 Mar 25 9:30 AM
Hello Experts,
We have a requirement for Intercompany GL posting , we are using BAPI_ACC_DOCUMENT_POST for standard posting but looks like it does not work with intercompany posting.
Can anyone let me know how to post Intercompany GL either using BAPI_ACC_DOCUMENT_POST or any other method.
Thanks
Shraman
‎2011 Mar 25 10:19 AM
Hi Shraman,
For a requirement for Intercompany GL posting, use BAPI_ACC_DOCUMENT_POST for standard posting with some advanced parameters
In Header of the BAPI, pass the hardcoded values like
DOCUMENTHEADER
OBJ_TYPE = FKKSU
OBJ_KEY = $
OBJ_SYS = System name
BUS_ACT = RFBU
Other parameters you can pass in Header is:
USERNAME
HEADER_TXT
COMP_CODE
DOC_DATE
PSTNG_DATE
TRANS_DATE
FISC_YEAR
FIS_PERIOD
DOC_TYPE
REF_DOC_NO
If you are posting a document in cross-companies 1000 & 1001, you need to pass cost-center with the line item. That is the mandatory field.
Thanks,
Guru
‎2011 Apr 17 5:50 PM
May I ask how do you solve a cross company posting.
Let's say we have a document which has 2000 line items,
Two company codes are involved, 1000 and 1001.
1000 - initially has 2000 line items,
but since this is a intercompany/crosscompany postings.
It will generate additional line items from 1000 which doubles up the total line items posted.
1001 will have another 2000 line items.
therefore 1000 - 2000; 1001-2000, total 4000 lines.
using BAPI, can we do this?
p/s: Document Header is the same.
‎2011 Apr 18 8:00 AM
Hi,
It is possible to post the intercompany document using this BAPI.
Please make sure the header company code matches the first line item company code.
If this is not the case then the BAPI will throw an error.
Thanks,
Manish