Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

BAPI_ACC_DOCUMENT_POST : getting cost center error

Former Member
0 Likes
1,368

Hi guys,

regarding GL posting, I am using the BAPI_ACC_DOCUMENT_POST.

I am uploading file with so many fields. I am able to upload properly.

But, I am getting error only with cost center.

error: "Cost center 512401 does not exist on 2009/07/31. "

actually, cost center exists and functional consultant showed me and he uploaded the record manually.

when i post manually using FB01 t code, I am able upload correctly.

I tried to debug, but it is taking more than 2 hours, as it is standard BAPI.

Please help me if any body come across this situation.

2 REPLIES 2
Read only

Former Member
0 Likes
631

conversion exit FM to be used for cost center.

Read only

0 Likes
631

Hi ,

please check this thread will provide you some insight on the BAPi.

LINK:[Thread1|;.

Link:[Thread2|https://wiki.sdn.sap.com/wiki/display/ABAP/TransferMROrelatedGLBalances]

Hope your query resolves quickly.

Have a best day ahead.