Skip to Content
0
Former Member
Jul 16, 2008 at 09:21 AM

Change the Parameter as Select option

88 Views

Hi Guy's,

Please help me friends, present requirement is like this : change the Parameter into Select-Option.

Here they are using one function module, this function module import parameter taking single value, how loop this function module with in this select-option.

PARAMETERS p_fictr LIKE fmfctr-fictr.

START-OF-SELECTION.

  • Move the select options to internal tables (import parameter for fn)

move_sel_option : sel_buk s_bukrs ,

sel_pern s_pernr ,

sreinr s_reinr ,

spdatv s_pdatv ,

sberei s_berei .

  • Call the function to get all trips corresponding to sel criteria

CALL FUNCTION 'ZHR_GET_FUND_TRIPS'

EXPORTING

p_fictr = p_fictr

p_sub = p_sub

TABLES

s_bukrs = s_bukrs

s_pernr = s_pernr

s_reinr = s_reinr

s_pdatv = s_pdatv

s_berei = s_berei

i_trip = i_trip

EXCEPTIONS

OTHERS = 1.

Thanks and Regards,

Sai