on 07-28-2014 6:18 PM
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.
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
86 | |
10 | |
10 | |
9 | |
6 | |
6 | |
6 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.