Skip to Content
0
Former Member
Dec 07, 2006 at 07:40 PM

PASS A VALUE FROM MODULE POOL TO SEARCH HELP EXIT

70 Views

Hi all,

I have written a fm for change in search help exit for one of the field in module pool program.

Now i have a value in the program , i have to pass that value to the fm .

This is my code in FM

ITAB[] = RECORD_TAB[].

IF NOT RECORD_TAB[] IS INITIAL.

DELETE ITAB WHERE werks <> PLANT_VALUE.

RECORD_TAB[] = ITAB[].

ENDIF.

nOW I HAVE TO PASS THE PLANT_VALUE FROM THE MODULE POOL PROGRAM.

I have included the plant_value in the import parametrs and i have selected optional.

In my module pool , this is what i did.

ASSIGN PLANT TO <FS_COLLECT>.

PLANT_value = <FS_COLLECT>.

but still i can get the value in fm

PLEASE LET ME KNOW.

tHANKS