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_GL_POSTING_POST

Former Member
0 Likes
628

Hi friends,

I have to post the accounting document using background transaction FB01 , and I am working on 4.6 C version. I am using a bapi ‘BAPI_ACC_GL_POSTING_POST’

but I am not able to pass the tax code field (Mwsks) and also the posting key field (Bschl) without which the posting cannot be done.

Please suggest me the name of some Bapi which suffices my requirements.

Also the bapi 'BAPI_ACC_DOCUMENT_POST' dosent exist in my system.

Please help me through this.

Regards

Siddharth

1 ACCEPTED SOLUTION
Read only

roger_gomez
Active Participant
0 Likes
481

Hi Siddharth,

From my experience on posting accounting documents I recommend you an alternative way instead that BAPI:

Call function POSTING_INTERFACE_START

Fill corresponding accounting document fields for FB01 and call function POSTING_INTERFACE_DOCUMENT. This function adapts de BCD screens accordingly to the customizing. Check FM document to know how fill its parameters and tables.

Finally call function POSTING_INTERFACE_END.

I can ensure that this works fine.

Reward points if helps

Roger

3 REPLIES 3
Read only

roger_gomez
Active Participant
0 Likes
482

Hi Siddharth,

From my experience on posting accounting documents I recommend you an alternative way instead that BAPI:

Call function POSTING_INTERFACE_START

Fill corresponding accounting document fields for FB01 and call function POSTING_INTERFACE_DOCUMENT. This function adapts de BCD screens accordingly to the customizing. Check FM document to know how fill its parameters and tables.

Finally call function POSTING_INTERFACE_END.

I can ensure that this works fine.

Reward points if helps

Roger

Read only

Former Member
0 Likes
481

Hi it was better to run bdc for Fb01 .

All other function modules didnt suffice the requirements.

Read only

Former Member
0 Likes
481

HI,

the easiest way to post financial document is to use standard SAP program RFBIBL00

Please reward points if helpfull.