2011 Mar 10 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.
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.
2011 Mar 10 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
2011 Mar 11 7:11 AM
| User | Count |
|---|---|
| 3 | |
| 2 | |
| 2 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |