11-03-2009 10:17 AM
Hi all,
I m facing a problem in using bapi , i m using bapi 'BAPI_GL_GETGLACCPERIODBALANCES' as like this
CALL FUNCTION 'BAPI_GL_GETGLACCPERIODBALANCES'
EXPORTING
companycode = '1000'
glacct = itab-hkont
fiscalyear = itab-gjahr
currencytype = '10'
IMPORTING
BALANCE_CARRIED_FORWARD =
RETURN =
tables
account_balances = itab1.
it is returning 16 value in itab1 but i just want to pick a single line for e.g bal in period = 4.
how to go ahead
kindly suggest
thanks
reagrds
sarabjit
11-03-2009 10:26 AM
hi,
Read the table itab1 with the key fields according to your requirement and delete all other entries from the table if that condtion is not satisied.
Regards,
Srilatha
11-03-2009 11:34 AM