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: 

BAPI G/L Balance Upload

Former Member
0 Kudos

Hi,

I want BAPI for G/L balance upload.

I want to transfer these fields:

STYPE(BBKPF-STYPE)

LDGRP(BKPF-LDGRP)

BSCHL(Posting key)

MWSKZ(Tax Code)

I looked into BAPI's BAPI_ACC_GL_POSTING_POST and BAPI_ACC_DOCUMENT_POST but I didn't find any field like above fields.

Please suggest which BAPI to use so that I can get all the above fields. Better if someone can provide the code.

Thanks

Vinod.

1 REPLY 1

Former Member
0 Kudos

Hi,

U can use Bapi "BAPI_ACC_DOCUMENT_POST" to post the G/L balances data.

Before that u need to activate the BADI "BADI_ACC_DOCUMENT".

This badi contains structure called "ACCIT" (Check the structure in SE11) which will fill the remaining fields which are not supported by BAPI.

For this u need to fill BAPI extension parameter. Check the bapi documentation for the procedure to fill the structure.