Skip to Content
0
Former Member
Nov 03, 2009 at 10:17 AM

select query on table returned by bapi

36 Views

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