03-10-2011 5:25 AM
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.
03-10-2011 11:51 AM
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
03-11-2011 7:11 AM