on 04-01-2009 8:38 AM
Hello,
Requirement is to provide a Standard Input Help on a Table Column in Web UI. The Context node is a Value node and that column should be in editable mode.
And how can I get standard search in Web UI that is available in GUI for searching the Transaction No. in T- Code CRMD_ORDER.
Pl. help.
Thanks & Regards
Ankit
Hi Ankit,
If you are asking about DDIC search help, then you need to use method GETV_XYZ of the context node attribute.
Have a look on below written code:
data:
ls_map type IF_BSP_WD_VALUEHELP_F4DESCR=>GTYPE_PARAM_MAPPING,
lt_inmap type IF_BSP_WD_VALUEHELP_F4DESCR=>GTYPE_PARAM_MAPPING_TAB,
lt_outmap type IF_BSP_WD_VALUEHELP_F4DESCR=>GTYPE_PARAM_MAPPING_TAB.
ls_map-context_attr = 'struct.countryorigin'.
ls_map-f4_attr = 'LAND1'. ( Search help Parameter, in your case it will be Transcation no.)
append ls_map to: lt_inmap, lt_outmap.
create object rv_valuehelp_descriptor type
CL_BSP_WD_VALUEHELP_F4DESCR
exporting
iv_help_id = 'H_T005_LAND'
iv_help_id_kind = IF_BSP_WD_VALUEHELP_F4DESCR=>HELP_ID_KIND_NAME
iv_input_mapping = lt_inmap
iv_output_mapping = lt_outmap.
Regards,
Saurabh
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Saurabh,
I tried with your solution, but as I mentioned earlier that I am using Value Node, because the data is stored in a Z table and not in a standard table. So, how to proceed in this case. Also I am not able to make my table column editable or Input enabled.
Also I am following the Cookbook for F4 help but that is only for Model Node.
Do I need to use Table Iterator to make my column editable??
Thanks & Reagds
Ankit
First, make sure that the field is an input field.
In the corresponding context node class, implement the get_v method of the attribute. A utility class has been created to simplify the definition of F4 Help -
CL_BSP_WD_VALUEHELP_F4DESCR.
Check out the implementation of this class in any of the standard code, that will guide you. Also, make sure that you have defined the input and output mapping properly.
The input mapping defines the search criteria that is used and output mapping defines in which fields the selected values have to be transferred.
Hope this helps!
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
First, make sure that the field is an input field.
In the corresponding context node class, implement the get_v method of the attribute. A utility class has been created to simplify the definition of F4 Help -
CL_BSP_WD_VALUEHELP_F4DESCR.
Check out the implementation of this class in any of the standard code, that will guide you. Also, make sure that you have defined the input and output mapping properly.
The input mapping defines the search criteria that is used and output mapping defines in which fields the selected values have to be transferred.
Hope this helps!
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
5 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.