on 01-08-2009 7:04 AM
Hello Gurus ,
Can anyone help me in providing the solution in my issue.
The SAP Standard ID field must be implement F4 fucntionality to search for Business partner.
Any help is greatly appreciated and point will be Rewarded.
Best Regards
Shaik
Hello Proficient,
Thanks for all your support. My issue realted to F4 help for standard filed had set on by me only.
For having F4 help to standard filed, we need put into action Get_V and Get_I menthod.
Get_I method will be previously defend ,that need to re defend and have to change the value rv_disabled = 'TRUE'. to rv_disabled = 'FALSE' with correlated circumstances.
Best Regards,
Shaik
Edited by: Shaik Shakeer Hussain on Jan 19, 2009 10:16 PM
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Shaik,
To achieve this do the following:
1. Create a Z-class
2. Add an interface IF_BSP_WD_CUSTOM_F4_CALLBACK to the class
3. Method RETRIEVE_CUSTOM_VALUES would be automatically added to the class.
4. Add code to this method, and state the constraints (if any) that you need to impose of the user selection.
5. Pass the final list to be displayed to parameter CT_RESULTS_TAB of the method.
Make a call to this Z-Class when ever the F4 help is done.
This should solve your issue!
Hope this helps!
Regards,
Saumya
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Saumya,
Thank you for the timely reply.
I have Implemented the same thing as per the below and its the same as per your step by step suggestion. But I am unable to see the F4 help symbol on UI Screen.
*CREATE OBJECT rv_valuehelp_descriptor TYPE cl_bsp_wd_valuehelp_f4descr
*EXPORTING
*iv_help_id = 'ZCL_BSP_WD_CUSTOM_F4_CALLBACK'
*iv_help_id_kind = if_bsp_wd_valuehelp_f4descr=>help_id_kind_callback
*iv_input_mapping = lt_inmap
*iv_output_mapping = lt_outmap
*iv_trigger_submit = abap_true.
Any help concerning this matter is appreciated.
Best Regards
Shaik.
Hi Saumya,
Could you please elaborate your mail?
(Please check the field for which you are implementing is of the required datatype and the widget used is that of F4 help.)
Let me present my necessity once again.
<<< I need to add F4 help to Standard Exiting filed "ID Number" type Bu_Partner. >>>
I have enhanced the GET_V method, but F4 help is not getting visible.
Do i need to do some think by transaction EEWB or any changes have to done in .htm file.
Any help concerning is appreciated.
Best Regards
Shaik.
Another thing to keep in mind folks:
If the dropdown is needed on a search screen, the GET_V method should be added to the controller class of the view of the search screen. It will not work if you add the GET_V method to the context node, nor will design layer assignment will work.
Take care,
Stephen
Hi..
Have you tried enhancing the GET_V method of the std. field ?
try this 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.
CREATE OBJECT rv_valuehelp_descriptor
TYPE
cl_bsp_wd_valuehelp_f4descr
EXPORTING
iv_help_id = 'class_name'
iv_help_id_kind = if_bsp_wd_valuehelp_f4descr=>help_id_kind_callback
iv_input_mapping = lt_inmap
iv_output_mapping = lt_outmap
iv_trigger_submit = abap_true.
class_name is the class that you need to create which would implement the interface method retrieve_custom_values of interface IF_BSP_WD_CUSTOM_F4_CALLBACK where you write the code for retrieving the F4 help values.This is helpful in providing customized result set.
U can also search for std. value help views/std. search helps for BP in transaction se11 and pass it as param iv_help_id instead of classname .
Hope this may help you...
Thanks...
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Swapna,
I have enchance the GET_V as per below, but i am not getting F4 symbal in a UI screen.
CREATE OBJECT rv_valuehelp_descriptor TYPE cl_bsp_wd_valuehelp_f4descr
EXPORTING
iv_help_id = 'ZCL_BSP_WD_CUSTOM_F4_CALLBACK'
iv_help_id_kind = if_bsp_wd_valuehelp_f4descr=>help_id_kind_callback
iv_input_mapping = lt_inmap
iv_output_mapping = lt_outmap
iv_trigger_submit = abap_true.
I have tried as per below code by creating outbound plug "OP_F4_PARTNER_NO", even this is also could not help.
CREATE OBJECT rv_valuehelp_descriptor TYPE cl_bsp_wd_valuehelp_navdescr
exporting
iv_outbound_plug = 'OP_F4_PARTNER_NO'.
Could you suggest where i am doing wrong, or do i need to code in *.htm file in Component to get F4 help symbal ?
Best Regards
Shaik.
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.