Skip to Content
0
Former Member
Jul 22, 2008 at 10:06 AM

Selection-options

26 Views

Hi Guy's,

please help me, want to change the parameter into select-options (fund center-fictr). actual code is like this:

whrere i need to change the development.

fundcenter contain table is FMFCTR.

IF NOT sfictr-low IS INITIAL.

IF sub = ' '. " No subordinates

i_fcsel-sign = 'I'.

i_fcsel-option = 'EQ'.

i_fcsel-low = sfictr-low.

APPEND i_fcsel.

ELSE.

CALL FUNCTION 'Z_HR_GET_FUND_CENTERS'

EXPORTING

z_fund_center = sfictr-low

TABLES

z_fundctrs = i_fcsel

EXCEPTIONS

fund_center_not_valid = 1

other_error = 2

OTHERS = 3.

IF sy-subrc <> 0.

i_fcsel-sign = 'I'. i_fcsel-option = 'EQ'.

i_fcsel-low = sfictr-low.

APPEND i_fcsel.

ENDIF.

ENDIF.

ENDIF.

Thanks,

Sai.