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_GL_GETGLACCPERIODBALANCES

Former Member
0 Kudos

CALL FUNCTION 'BAPI_GL_GETGLACCPERIODBALANCES'

EXPORTING

COMPANYCODE = wa_output-bukrs

GLACCT = wa_output-hkont

FISCALYEAR = wa_output-gjahr

CURRENCYTYPE = '10'

TABLES

ACCOUNT_BALANCES = it_balnce

but i am getting only data for single hkont(GL_ACCOUNT).

How to get the data for all.

Thanks in advance.

2 REPLIES 2

Former Member
0 Kudos

Hello Sanket

With this MF you can only get the balance for a single account. If you want to have the period balance for several accounts, you must do a loop to the MF. I don't know any MF to do you requirement.

Hope it helps...

Regards

Former Member
0 Kudos

thanks