Application Development 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: 

Posting Key in BAPI_ACCT_DOCUMENT_POST

arindam_samanta
Participant
0 Kudos

Hi Experts,

I need to post reconciliation account from operating company to inter company. In my case operated company is 1001 & inter-company is 1002. So my posting key is 01 for company code 1001 & 31 is for company code 1002. This is for customer partner number to vendor partner number. I am using BAPI_ACCT_DOCUMENT_POST for this purpose.

My doubt is -

1. Should I need to provide posting key in this case into BAPI? If yes then how I can pass this posting key in BAPI?

2. What are the mandatory parameter for this BAPI?

3. For this inter-company posting, is there any requirement to configure between operated company and inter-company?

Thanks in advanced!!!

Regards,

Arindam Samanta.

2 REPLIES 2

0 Kudos

Hi,

Could be a mistake in the name BAPI_ACCT_DOCUMENT_POST? Could be BAPI_ACC_DOCUMENT_POST?

Check the demo program: ACC_BAPI_TEST_DOCUMENT

To check mandatory parameters is like a normal Function module: in SE37-> Import and table labels -> checkbox of column "Optional"
To check result of your execution check BAPI table RETURN.

Hope it helps.

Regards,

Alfonso.


Former Member
0 Kudos

Arindam,

you can use the BADI BADI_ACC_DOCUMENT for this purpose.

A search in SDN also gives another option which is to use a BTE.

Thanks,

Vikram.M