cancel
Showing results for 
Search instead for 
Did you mean: 

How to assign Field Symbol value to a Function Module's Exporting parameter ?

0 Kudos

Hi All,

Actually I would like to use select options for a custom field in webdynpro Abap to pass this value to a custom RFC function module's Exporting parameter  and need to get other values from FM which I need to bind to ALV table and display .

Anybody experts please let me know how to assign the field symbol to function module's exporting parameter.

Thanks in Advance .

Regards,

Pavithranad.

Accepted Solutions (1)

Accepted Solutions (1)

ramakrishnappa
Active Contributor
0 Kudos

Hi Pavithranad,

Let us say you have a custom field MATNR in the select options, you need to get the range table of MATNR field as below

If its a selection field:

DATA RT_MATNR TYPE REF TO DATA.

RT_MATNR = WD_THIS->M_HANDLER->GET_RANGE_TABLE_OF_SEL_FIELD( I_ID = 'MATNR' ).

If it is a parameter field:

data lv_matnr type matnr.

lv_matnr = WD_THIS->M_HANDLER->GET_VALUE_OF_PARAMETER_FIELD( I_ID = 'MATNR' ).

It gives you the data in an internal table, which you can pass on to function module.

Hope this helps you.

Regards,

Rama

0 Kudos

Hi RamaKrishna,

Thanks for your reply it helps me.

Answers (0)