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 - BAPI_ACC_GL_POSTING_POST

Former Member
0 Likes
668

Hello everyone,

I am using the BAPI BAPI_ACC_GL_POSTING_POST and I can't work out how to

refer to the tax code. There doesn't appear to be any fields in the tables:

ACCOUNTGL or CURRENCYAMOUNT

Can anyone help me out?

Thanks

Andy

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
629

Hi

U should use the BAPI_ACC_DOCUMENT_POST instead of BAPI_ACC_GL_POSTING_POST

Max

5 REPLIES 5
Read only

Former Member
0 Likes
629

Hi Andy,

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

Read only

RaymondGiuseppi
Active Contributor
0 Likes
629

Look at this OSS [Note 306504 - Collective note: BAPIs for the AC interface|https://service.sap.com/sap/support/notes/306504]

Also there are also [some threads at sdn on this subject|https://www.sdn.sap.com/irj/sdn/advancedsearch?query=bapiACCtax&cat=sdn_all]

Regards

Read only

Former Member
0 Likes
630

Hi

U should use the BAPI_ACC_DOCUMENT_POST instead of BAPI_ACC_GL_POSTING_POST

Max

Read only

Former Member
0 Likes
629

Hi, in this BAPI there is no tax provison given, i faced the same problem, finally i used BDC.

Read only

0 Likes
629

Thanks guys,

Thanks for taking the tiomeout to reply

Cheers

Andy