Skip to Content
0
Former Member
Mar 28, 2006 at 06:55 AM

extracing percticular record from internal table

25 Views

Hi Experts,

i called function module which is SAP/HR related -


CALL FUNCTION 'RH_READ_INFTY_1001'

EXPORTING

  • AUTHORITY = 'DISP'

  • WITH_STRU_AUTH = 'X'

PLVAR = '01'

OTYPE = 'P'

OBJID = V_IEMPLOYEE

  • ISTAT = ' '

  • EXTEND = 'X'

SUBTY = 'A032'

BEGDA = '19000101'

ENDDA = '99991231'

  • CONDITION = '00000'

  • SORT = 'X'

  • WITH_EV = ' '

  • ADATA = 'X'

  • AUTH_SOBID = ' '

TABLES

i1001 = I1001.

  • OBJECTS =

  • EXCEPTIONS

  • NOTHING_FOUND = 1

  • WRONG_CONDITION = 2

  • WRONG_PARAMETERS = 3

  • OTHERS = 4

passed the above values------

and also i passed the values to i1001 as

loop at I1001.

I1001-OBJID = V_IEMPLOYEE.

I1001-BEGDA = '19000101'.

I1001-ENDDA = '99991231'.

I1001-sobid+0(8) = T_ORATING-qual.

I1001-adata+0(4) = T_ORATING-rat.

endloop.

my requirement is(1) extract one record by qualification that is the most recent for that specific qualification

please help me in extracting percticular record from internal table.

Thanks in advance,

mohan