Customized F4 help
Dear All,
When we mapped a table control to the data base table
the standard f4 help for the fields is automatically comes for the respective fields in the table control. Now my requirement is to make my own F4 help for the field in a table control. How can i achieve it??
Please sugges..
Thanks,
Anup.
Dear All
Thanks for ur reply..
Vijay..
I'm looking for customized help because there is requirement from the client to show the data based on some specific criterio. But in the standard hep all the other criteria also appears.u know it comes as collective search help...they want to make elementary..
Ne way i'm trying with the same approach..which u guys have suggested...will come back to award points...once it is fixed..
Thanks,
Anup..
Similar Messages
-
Custom F4 help in a BSP application working in Mozilla but not in IE
Hi,
I have created a custom F4 help in a BSP application.
It is working in Mozilla but not in IE. I tried enabling javascript as well but still it is not working.
Can someone please suggest a possible solution for this?Hi,
See simmilar discussion in thread /thread/1883519 [original link is broken]
I think this may be helpful for you.
Thanks,
Chandra -
Custom Search help in Record Working Time
Hi,
We have a requirement to add a custom field on RECORD Working Time ( ESS). This field has been added and custom search help is assigned to the data element of the field. The values in the F4 help should vary based on employees department.
The related code for this requirement is written in the serach help exit. The F4 help is working as expected from backend ( ECC) but not in Portal (ESS).
I have added the custom field in TCATS_SHLP_ITS. After maintaining this table all the values in F4 help are displaying , whereas it should only display the values under employees department in Record Working time.
I understand the class cl_xss_cat_value_help_general is responsible for the search help in ESS is there any user exit or enhancement available for this class in order to control the serach values on ESS.
Thanks in advance.
regards,
Pradeepnote that search help of CAT2 and record working time are different!
these are teh steps
please modify the following in the table TCATS_SHLP_ITS as follows:
1. Execute the T-Code SM31
2. Enter the table name TCATS_SHLP_ITS.
or check the class
CL_XSS_CAT_VALUE_HELP_GENERAL
or check
CL_XSS_CAT_VALUE_HELP*
take an example from Sap note 914125 -
Runtime error while trying to execute custom F4 help in OOP ALV grid.
Dear All,
I am trying to add custom search help for one of my column in ALV grid. I'm using OOP ALV, when i click for search help for that column, the system shows runtime error like below.
I am new to OOP concept and tried to follow program BCALV_EDIT_03. But not getting this error occur. Please help me.
With regards.Hi,
In order to be able to provide a search help for a field in an ALV you must do the following things.
1) The field where F4 help need to be attached needs to be made editable.
2) Create an event handler class to handle the ONF4 event. You can refer the following code:
CLASS lcl_alv1_handler DEFINITION.
PUBLIC SECTION.
"Tohandle F4 helps
METHODS handle_f4 FOR EVENT onf4 OF cl_gui_alv_grid
IMPORTING e_fieldname e_fieldvalue es_row_no er_event_data
et_bad_cells e_display.
ENDCLASS.
CLASS lcl_alv1_handler IMPLEMENTATION.
METHOD handle_f4.
CASE e_fieldname.
WHEN 'LIFNR'. "Set F4 for courier vendor
SELECT lifnr name1 FROM lfa1 INTO TABLE lt_lifnr.
IF lt_lifnr IS NOT INITIAL.
CALL FUNCTION 'F4IF_INT_TABLE_VALUE_REQUEST'
EXPORTING
retfield = 'LIFNR'
window_title = 'Vendors'
value_org = 'S'
TABLES
value_tab = lt_lifnr
return_tab = lt_return
EXCEPTIONS
parameter_error = 1
no_values_found = 2
OTHERS = 3.
IF sy-subrc = 0.
READ TABLE gt_final INTO wa_final_t INDEX es_row_no-row_id.
IF sy-subrc = 0.
READ TABLE lt_return INTO wa_return INDEX 1.
IF sy-subrc = 0.
CALL FUNCTION 'CONVERSION_EXIT_ALPHA_INPUT'
EXPORTING
input = wa_return-fieldval
IMPORTING
output = lv_lifnr.
wa_final_t-lifnr = lv_lifnr.
MODIFY gt_final FROM wa_final_t INDEX es_row_no-row_id.
ENDIF.
ENDIF.
ENDIF.
ENDIF.
ENDCASE.
CALL METHOD o_alv->refresh_table_display.
ENDMETHOD.
ENDCLASS.
In the above method, GT_FINAL-LIFNR is being overwritten by the LIFNR you had selected from F4 help. So we will call the refresh_table_display after it to see the result in the ALV.
3) After creating the ALV object, add the fields to which the F4 has to be added. For this you
need to declare an internal table based on lvc_t_f4. Use the following code. Here O_ALV is my ALV object.:
CREATE OBJECT o_container
EXPORTING
container_name = 'CUSTCON'
EXCEPTIONS
cntl_error = 1
cntl_system_error = 2
create_error = 3
lifetime_error = 4
lifetime_dynpro_dynpro_link = 5
OTHERS = 6.
IF sy-subrc <> 0.
* MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
* WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF.
CREATE OBJECT o_alv
EXPORTING
i_parent = o_container
EXCEPTIONS
error_cntl_create = 1
error_cntl_init = 2
error_cntl_link = 3
error_dp_create = 4
OTHERS = 5.
IF sy-subrc <> 0.
* MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
* WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF.
CLEAR : gt_f4, wa_f4.
wa_f4-fieldname = 'LIFNR'.
wa_f4-register = 'X'.
wa_f4-getbefore = space.
wa_f4-chngeafter = space.
APPEND wa_f4 TO gt_f4.
Here I am assigning F4 to LIFNR field in the final internal table that is displayed using ALV.
After this register this field for F4.
CALL METHOD o_alv->register_f4_for_fields
EXPORTING
it_f4 = gt_f4.
CREATE OBJECT o_alv_handler.
SET HANDLER : o_alv_handler->handle_f4 FOR o_alv1.
The object o_alv_handler is created based on the event handler class.
I hope that this will solve your issue. Revert if this is solved.
Rgards,
Abijith -
Hi all,
i have a problem to retrieve selected value from a custom search help. I need to retrieve 2 columns from the selected line. eg. there are A,B,C,D column in the search help. I need to get the B and D. can anyone help? ThanksFor achieving this follow the following 4 steps:
1. While calling F4IF_INT_TABLE_VALUE_REQUEST pass the importing paramter return_tab to make the data selected by the user IN SELECTION screen. Remember that without this the user entry is avaliable only at START OF SELECTION.
2. Use this value to READ TABLE your internal table to get the value of other column.
3. Load an internal table with values you want to assign to selection screen fields.
4. Assign values to the field in selection field using Fn Module: 'DYNP_VALUES_UPDATE'.
Example:
DATA: ......,
lit_fields type table of dynpread,
ls_fields type dynpread,
lit_ret_tab type table of ddshretval,
ls_ret_tab type ddshretval.
. call function 'F4IF_INT_TABLE_VALUE_REQUEST'
exporting
retfield = 'VARI'
dynpprog = sy-cprog
dynpnr = sy-dynnr
dynprofield = 'P_VARI'
value_org = 'S'
tables
value_tab = lit_abc
return_tab = lit_ret_tab
exceptions
parameter_error = 1
no_values_found = 2
others = 3.
check sy-subrc eq 0.
*-----get the entered value of field vari
read table lit_ret_tab into ls_ret_tab index 1.
lv_vari = ls_ret_tab-fieldval.
check sy-subrc eq 0.
*-----get value of the other column vari_d
read table lit_abc into ls_abc with key vari = lv_vari.
lv_vari_d = ls_abc-vari_d.
*----- Append to an internal table with values you want to assin to selection screen fields.
ls_fields-fieldname = 'P_VARI'.
ls_fields-fieldvalue = lv_vari.
append ls_fields to lit_fields.
ls_fields-fieldname = 'P_VARI_D'.
ls_fields-fieldvalue = lv_vari-d.
append ls_fields to lit_fields.
*---- Assign values to the field in selection field
call function 'DYNP_VALUES_UPDATE'
exporting
dyname = sy-cprog
dynumb = sy-dynnr
tables
dynpfields = lit_fields
exceptions
invalid_abapworkarea = 1
invalid_dynprofield = 2
invalid_dynproname = 3
invalid_dynpronummer = 4
invalid_request = 5
no_fielddescription = 6
undefind_error = 7
others = 8. -
Custom search help in sap field in standard transactions.
I have a requirement that I have to add a custom search help in XREF2 of bseg table either in fb02-f-43.
For FB02.
Display document.
Select a Line Item.
Go to Additional Data tab in menubar,a pop-up will come, where we will get the Reference1 fields .
My requiremnt is to add a custom input help having 3 constant values.
For F-43.
Give account , date etc in first screen.
Go to next screen give the amount.
Go to more data will get the fields in left side-no pop-up will come.
Help neededhi, Jkuma,
we met the similar situation with you while developing a anpplication form for HR.
our conclustions are:
1. it's not feasible to put all the data into the form, it will make the form too big and slow, so it must be a online interactive form
2. you may put a search field to let the user to input some kind of criteria and do the search on the r3 side and return the hit list on the form , but it's not so easy to develop a table control on the form using javascript to get the selected one.
3. so we built a 'selection screen' , using webdynpro for abap,
it will show up before the form, while can use ddic search help, to make the selection, then put all the selected entries into the adobe form for further processiong.
how this is helpful hint for you.
br.
jun -
Custom search help in WD for ABAP
Hi
I have a Text field which does not have any input help. Now I have a custom Search help object in my R/3 store. How do i use this search help object for displaying the values for this Text field. I believe there is some standard method available for this. Kindly help me out.
Regards,
<i><b>Seema</b></i>Context->Dictionary Search Help.
-
Standard Search Help in Custom Search Help
I've created a Custom Search Help for Product Hierarchy. But when search help window appears, I want to put a standard search help of Product Hierarchy on Product Hierarchy field which is located on Resctricted section. Is that possible? Let me know if there's a way...
Thank youhello ibnu,
it is not possible i attach a standard search help mara
no such feature available . -
Default multiple values in custom search help
Hi All,
I created a custom search help for the vendor. The fields in the search help are LIFNR (Vendor) and KTOKK (Account Group).
I would like to be able to set three default values for the account group. That is, when the user clicks on the dropdown to display the search help, I would like to have three values populated in the KTOKK field. Is this possible?
Any help would be appreciated.
Thanks!Hi,
I am not sure abt default values, but if you are using this search help in any report than you can set hot keys in your search help and using hot keys, you can set some default filter values in you report's parameter.
you can set variant in your report where parameter is having values like :: =,<hotkey>,<sel1>,<sel2>
here <hotkey> : wht you have assingned in search help.
<sel1> : one of those default values you want to display.
<sel2> : one of those default values you want to display for the second field.
hope it helps,
Regards,
Sagar -
Problem with custom search help for std SD_DEBI
Hi,
I have created a custom zcustom search help and included in std search help SD_DEBI.
In the custom serach help i have added the fields ktokd and sales area fields(sales org, Disb channel, division).
now when i goto va01 transaction and hit F4 for sold to party i was able view the KTOKD and sales area fields in the custom tab
when i select the values from f4 help and hit enter they are not getting displayed in sold to party field.
when i select only sales area fields from f4 and press enter they are getting displayed in sold to party field.
problem is with the ktokd field that i have included.
Any suggestions please let me knowHi deepti,
I think you have missed parameter assignment from your Z append search help to standard search help.
Select the search help and click on Param Assignment button and assign the refernece parameter(KUNNR) of your
append search help to std collective search help (KUNNR).
Thanks,
Pawan -
Custom Search Help for the field Equipment number
Hi,
I have enchanced sales order transaction and included a field Equipment number(EQUI-EQUNR).
Here after pressing F4(Search help) standard search help is display.
I have a requirement wherein, the standard search help should not appear and a customised search where a specific Equipment category type values should appear in the search help.
Ex. Field equipment category (EQTYP).EQUNR(Equipment Number).
Please let me know how to work for the customised search help.Hi,
You need to create a customized search help.
[Elementary Search Help - Structure|http://help.sap.com/saphelp_nw04/helpdata/EN/cf/21ee38446011d189700000e8322d00/content.htm]
[Creating Elementary Search Helps|http://help.sap.com/saphelp_nw04/helpdata/EN/cf/21ee5f446011d189700000e8322d00/content.htm]
Then you need to attach the search help to the screen field..
[Assigning Search Helps to Screen Fields|http://help.sap.com/saphelp_nw04/helpdata/EN/cf/21ee93446011d189700000e8322d00/content.htm]
[Hierarchy of Search Help Call|http://help.sap.com/saphelp_nw04/helpdata/EN/0b/32e9b798da11d295b800a0c929b3c3/content.htm]
regards
Nitesh -
Custom search help for characteristic based variant
Dear Experts,
I have characteristic based variant report, my requirement is, in any Article(matnr) related transaction( Ex: MM43, VA01..) I required custom search help based on these characteristics and i will populate article/variant. Attached report selection screen snap. This screen will come in my custom search help.
Regards,
Abbas.I have found own for my problem. I am using MAT1 standard search help and with database view.
Regards,
Abbas. -
Custom Search Help for Functional Area of Cost Centre(KS01/KS02)
Hi,
I need to implement a custom search help and custom enhancement for the field Functional Area in Basic Data tab of Cost Centre Create/Change(KS01/KS02) transactions. Details of the requirement are as below:
1. There will be a custom relation for the Cost Centre category and Functional Area which was maintained thru a SAP standard table TKA05 and a custom table.
2.When the relation to Cost Centre category and Functional Area is a one to one it exist in the TKA05 and if its one to many it will be maintained in the custom table.
3. The requirement is when the Cost Center to Functional area is maintained in table TKA05(One to One) in this case the corresponding Functional Area needs to be populated automatically after entering the cost centre and pressing a enter key by user.
4.When the Cost Centre Category and Functional area does not exist in table TKA05 and existing in custom table(One to Many) in this case the F4 should be enabled for user selection with the list of Functional area values corresponding to the cost centre category entered that are maintained in the custom table.
As per the functionality provided by SAP the input help(F4) of the field Functional area in Cost Center does not have any relation with Cost Centre Category. The existing F4 is from the Value Table(TFKB) attached to the domain of FKBER.
Please provide your valuable inputs to implement the above requirement. Your input will be rewareded.
Thanks in advance,
Regards,
Prasad.kalyani,
i can see your requirement in below way..
as it just reads: you need to assign the standard cost center help to a z cost center field in component /SAPSRM/WDC_UI_DO_ACC.. which actually is fetched though the component /SAPSRM/WDC_UI_BACKEND_SH
so, if you see the component controller of SAPSRM/WDC_UI_DO_ACC you will see the component
USAGE_SH_F4 /SAPSRM/WDC_UI_BACKEND_SH
USAGE_SH_F4 /SAPSRM/WDC_UI_BACKEND_SH INTERFACECONTROLLER
so you can replicate the same functionality for your z field.
but can you clarify one thing.. why are you going for this z field in place of standard field ? -
Custom Search Help for Business Agreement field in transaction BP.
Dear Experts,
My requirement is to add Custom search help to Businees Agreement field (BUPA_CRMM31-BUAG_ID) in transaction code BP.
PLease guide me how to add Custom search help to Businees Agreement field which dont have search help option.
Regards,
BalaHello there,
I think the requirement/question is not very clear in your post.
However, the segment Java applet calls a CRM class which has related code and methods.
Class: CL_CRM_MKTTG_SEGAP_COM
Package: CRM_MKTTG_SEG_APPLET.
Please explain the problem in detail.
Regards,
Vinamra. -
My 5 year old daughter asked me to download a free app, tap pet store. THis I did and then she immediately downloaded the pocket gem upgrade costing
£69.99!!!
I have tried the customer support help line (35minute wait) then directed to express lane to report issue. Express lane keeps informing me that it cannot send the report.......getting very frustrated any suggestions?
Thanks
EdSorry, but according to Apple, iTunes Store: All Sales Are Final
You can avoid accidental purchases.
From the iTunes menu bar click iTunes / Preferences then select the Parental tab.
Select: iTunes Store
Click OK. -
Access Account assignment data inside custom search help
Hi Experts,
I have faced with a challenge and I am stuck. Need some expert advise. I am developing a custom search help for GL account. Inside the search help exit I have to know what is the account assignment category of the accounting line i am currently accessing in WEB UI. for example i have one item in SC and there is a cost distribution between cost center and WBS element. Now i want to access GL account search help from second line in the account assignment ( ie from line having WBS as Acc Assignment).
one approach that i can think of is Enhance Accounting WD component and capture the details in a static attribute of a custom class and access them inside the search help exit. I know this will work. But i am looking for more clean approach.
I saw below code in WD comp method GET_BO_INFO of component controller.
lo_task_container = /sapsrm/cl_ch_wd_taskcont_fact=>get_task_container_instance( ).
CHECK lo_task_container IS BOUND.
* Get the BO type
ev_bo_type = lo_task_container->get_bo_type( ).
* Get the BO mapper, BO GUID, and item GUID of the lead selection
CASE ev_bo_type.
WHEN /sapsrm/if_pdo_obj_types_c=>gc_pdo_shop.
lo_bom_sc ?= lo_task_container->get_bom_sc( ).
ev_hdr_guid = lo_bom_sc->/sapsrm/if_cll_bo_mapper~get_bo_guid( ).
ev_item_guid = lo_bom_sc->/sapsrm/if_cll_bo_mapper~items_get_lead_selection( ).
I am not sure if this works. But even if this works I can not get the exact accounting line that the user is currently processing. Any ideas????
thanks
sankar.Hi,
Any Ideas?
Maybe you are looking for
-
How to transfer songs from ipod to your library
hi, sorry to bring up a new question, but recently i have restored my computer and accidently forgot to burn the paid songs from my library to a cd. the songs are still on my ipod, but for some reason it won't let me transfer those songs back to my l
-
ITunes Freezes when docking 40 G iPod.
I'm trying to set up my son's new 2G Nano. But when my 40G iPod is connected, iTunes freezes up completely. Any suggestions?
-
Movement type reflect to GL account
Hi All, Where should I go to know what movement type mapping to what account that will be reflected? Thanks.
-
[8.1.7] After STARTUP 'Database monted' and process hung
Hello! I'm have Oracle 8.1.7 on RHEL. Server hungs after cooling system fails at night. Well in morning I've restarted server and try to start Oracle manually: [oracle@xxxx]$ lsnrctl start LSNRCTL for Linux: Version 8.1.7.0.0 - Production on 15-NOV-2
-
Photoshop CS6 windows won't install with my serial number given says not valid
I bought my extended photoshop cS6 in 2012 and installed on Mac computer now I'm trying to install on my new dell laptop with the windows disc and the serial number i have in my account under product is not valid?