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: 

G/L account balance value based on period and profit centre

former_member707912
Participant
0 Kudos

hi everyone well we are just developing a report on gl account balances for each gl account.Based  on inputs period and profit centre wise but i found a bapi BAPI_GL_ACC_GETPERIODBALANCES but in that no profit centre so how to fetch the value of each gl account based on above inputs

6 REPLIES 6

raymond_giuseppi
Active Contributor
0 Kudos

Look at table GLTPC

Regards,

Raymond

0 Kudos

hi Raymond but in this table it is showing zero entries.

0 Kudos

So now look at FAGLFLEXT (*) or build the balance from detail (BSIS or BKPF+BSEG)

Regards,

Raymond

(*) Ask funcitonal, they may have created more suitable specific total tables (SPRO, Financial Accounting (New), Financial Accounting Global Settings (New), Ledgers, Fields, CustomerFields, Include Fields in Totals Table, Extras, create Table Group.)

0 Kudos

ya i am using FAGLFLEXT table in my program but i am looking for a function module so that program performance will be better

0 Kudos

Well a pre-defined FM won't almost never get better performance than an adjusted adap code, just shorten development time

(If you really want a FM try G_TABLE_SELECT_WITH_CURSOR)

asim_isik
Active Participant
0 Kudos

Hi ,

Check table FAGLFLEXT if not i would use table BSIS and calculate balance according to shkzg.