Hi Experts,
I want to get the GL Account balances on daily basis and I need a perfect Function module for the same.
I tried it with 'G_ACCOUNT_BALANCE_ACC_GET' but Im not getting the balaces or any details in to my internal table.But the datas (balance amount) available in FS10N view.
I've given a hardcode text for my example which mentioned below.FYR.
>>>TYPES:
>>> BEGIN OF itab,
>>> accit LIKE fagl_glt0_accit_ext,
>>> acccr LIKE acccr OCCURS 9,
>>> END OF itab,
>>> wa_itab TYPE itab OCCURS 0.
>>> data:it type wa_itab.
>>>CALL FUNCTION 'G_ACCOUNT_BALANCE_ACC_GET'
>>> EXPORTING
>>> I_LEDGER = 'GL'
>>>* I_RECORDTYPE = '0'
>>>* I_VERSION = '001'
>>> I_COMPANYCODE = '1000'
>>> I_ACCOUNT = '0000131210'
>>> I_FISCALYEAR = '2008'
>>>* I_TCURR = ' '
>>>* I_POPER = 000
>>> TABLES
>>> T_ACC_BALANCE = it.
Pls post me if there is any other good FM for this and with examples for parameters.
thanks & regards
sankar.