03-30-2016 5:27 AM
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
03-30-2016 8:16 AM
03-30-2016 8:35 AM
03-30-2016 9:14 AM
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.)
03-30-2016 9:27 AM
ya i am using FAGLFLEXT table in my program but i am looking for a function module so that program performance will be better
03-30-2016 10:04 AM
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)
03-30-2016 8:44 AM
Hi ,
Check table FAGLFLEXT if not i would use table BSIS and calculate balance according to shkzg.