Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

GL Account Balance on daily basis

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.

replied

Try BAPI_GL_GETGLACCCURRENTBALANCE, but be aware that the daily balance might still change subsequently, caused by postings with restrospective posting dates.

Thomas

0 View this answer in context
Not what you were looking for? View more on this topic or Ask a question