‎2010 Dec 13 5:39 PM
Hello Experts,
I'm using BAPI BAPI_ACC_DOCUMENT_POST to post documents using an Excel file as input.
All is working fine with all table ACCOUNTRECEIVABLE / ACCOUNTPAYABLE / ACCOUNTGL / CURRENCYAMOUNT.
The problem is that when I'm importing GL Account lines without Cost Center filled, I get the following error:
Profit center XXXX/XXXX does not exist for 13.12.2010
I tried to post manually with the same data in F-05 and it's working fine.
Why this Cost Center seems to be mandatory when filling GL Account table to be used by BAPI BAPI_ACC_DOCUMENT_POST?
Am I using the right table for such posting without Cost Center filled or should I use another table?
Thank you in advance for your support.
Moez.
‎2010 Dec 13 7:24 PM
It's saying that the profit center is incorrect, not the cost center.
Rob
Edited by: Rob Burbank on Dec 13, 2010 2:24 PM
‎2010 Dec 13 6:03 PM
PS:
The used accounts are customized in FS00 with status group / cost center = optional entry
‎2010 Dec 13 7:24 PM
It's saying that the profit center is incorrect, not the cost center.
Rob
Edited by: Rob Burbank on Dec 13, 2010 2:24 PM
‎2010 Dec 13 7:47 PM
Hello Rob,
Yes, the error message is talking about a profit center / Input data: field profit center is filled but field cost center is empty.
When I fill in the cost center in addition of the profit center the error message disappear.
Additionally, the profit center exists in the system and is defined correctly in the date specified by the error message...
Regards,
Moez.
‎2010 Dec 13 7:52 PM
When you complete the profit center is it left padded with zeroes?
Rob
‎2010 Dec 13 8:21 PM
‎2010 Dec 13 8:35 PM
Well, try it - run it through FM CONVERSION_EXIT_ALPHA_INPUT
Rob
‎2010 Dec 13 8:38 PM
‎2010 Dec 14 8:30 AM