‎2011 Feb 04 7:17 AM
I have one parameter P_kunnr. my requitrment is when i click for search help for customer then it shuold give some prefild value
like sales org,distribution chnnel,division,customer, sales office. When I check standard search help 'DEBIS' then name1 dont have parameter ID so I am unable to pass name1 value. any idea how can i do.
‎2011 Feb 04 8:04 AM
Copy search help to z.
Then do ur default coding for name1 in seach help exit.
you can ataached this z seach help in you prog.
Dhiraj
‎2011 Feb 04 8:04 AM
Copy search help to z.
Then do ur default coding for name1 in seach help exit.
you can ataached this z seach help in you prog.
Dhiraj
‎2011 Feb 04 9:19 AM
‎2011 Feb 04 9:33 AM
Hi,
There is nor existing way available , you can directly change standard search help DEBIS which is not recommended.
Dhiraj
‎2011 Feb 04 8:05 AM
‎2011 Feb 04 1:41 PM
Hi,
You have one option (user by user). It's set paratmeters for users if this field have a SET PARAMETER. In the search help, in the field press F1 and technical info. When you have the dynpro to enter the data (for sales org, and so on), in technical info if you have a field called Parameter ID you can populate it with a value for one user in SU01 in parameters. Try it and check if it works.
I hope this helps you
Regards
Eduardo
‎2011 Feb 07 8:44 AM
Hi,
Here getting the search help depends on different ways:
1) Already you are aware of how the search help is working for SPFLI table and the field is CARRID, where the search help selection method is SCARR.
2) Another method was : Search help has to respond based on some input value. then only it has to fetch the entries from different tables. In this case you are going to write your own Search help exit for your input value.
Again writing the search help exit means you are going to write the Funtion module, where you are going to export some paramenters for that Funcition modle. Based on the exporting parameters it process the FM and return the resultant values from the funtion module.
hope this can be helpful
Thanks
‎2011 Feb 16 4:46 PM
Hello,
Exampel for you:
FUNCTION Z_test
""Lokale Schnittstelle:
*" TABLES
*" SHLP_TAB TYPE SHLP_DESCR_TAB_T
*" RECORD_TAB STRUCTURE SEAHLPRES
*" CHANGING
*" VALUE(SHLP) TYPE SHLP_DESCR_T
*" VALUE(CALLCONTROL) LIKE DDSHF4CTRL STRUCTURE DDSHF4CTRL
*"----
TYPES: BEGIN OF ty_result,
variant TYPE variant,
vtext TYPE rvart_vtxt,
END OF ty_result.
DATA: lt_result TYPE TABLE OF ty_result.
SELECT * INTO CORRESPONDING FIELDS OF TABLE lt_result
FROM varid
WHERE report = 'RIEQUI20'.
I have to map the results
CALL FUNCTION 'F4UT_RESULTS_MAP'
EXPORTING
SOURCE_STRUCTURE =
APPLY_RESTRICTIONS = ' '
TABLES
shlp_tab = shlp_tab
record_tab = record_tab
source_tab = lt_result
CHANGING
shlp = shlp
callcontrol = callcontrol
EXCEPTIONS
illegal_structure = 1
OTHERS = 2
."point
ENDFUNCTION.
Your Ementar Search Help should have the same Paramter for Exampel: VARIANT and VTEXT. as you see above