‎2007 Dec 14 3:53 AM
Hi,
I am currently assigned a object,the requirement is to define a F4 help as per client specifications.The issue being,they want the text to be displayed in the screen,after selection & not the code.Once we display the text,the text gets truncated.Is there any option of working on this problem.
Please advice.
Thanks
‎2007 Dec 14 5:09 AM
Hi Sneha,
Check the Existing program DEMO_SELECTION_SCREEN_F4.
If not solved, Please give some clear Picture.
Thanks,
Kanagaraja L
‎2007 Dec 14 5:09 AM
Hi Sneha,
Check the Existing program DEMO_SELECTION_SCREEN_F4.
If not solved, Please give some clear Picture.
Thanks,
Kanagaraja L
‎2007 Dec 14 6:54 AM
Hi,
Try using the function module.
Function Module Name : KD_GET_FILENAME_ON_F4
Function Module Name : F4_filename
for getting the values for the parameter p_fname.
AT SELECTION-SCREEN ON VALUE-REQUEST FOR P_FNAME.
CALL FUNCTION 'KD_GET_FILENAME_ON_F4'
EXPORTING
PROGRAM_NAME = SY-REPID
DYNPRO_NUMBER = SYST-DYNNR
FIELD_NAME = ' '
STATIC = ' '
MASK = ' '
CHANGING
FILE_NAME = P_FNAME
EXCEPTIONS
MASK_TOO_LONG = 1
OTHERS = 2
Thanks
Sakthi C
*Rewards if useful*
‎2007 Dec 19 4:49 PM
Hi Sneha,
Does the client want to the text AND the code to appear once the same is selected. If that is the requirement, you can get it done by providing a label field next to the actual I/O field and upon choosing the entry from F4, you can assign the description to the label field.
Or does the client want ONLY the description to be displayed instead of code?
Cheers,
Venkat
‎2007 Dec 21 9:02 AM
Well the requirement is a bit difficult,they want the code in the F4 help & the text to be displayed in the corresponding field.
suppose there is a field X,it has codes 1,2,3.the text corresponding to code 1 should get displayed in the field X,
I hope this explanation is not too confusing.
‎2007 Dec 21 9:33 AM
Hi sneha
First create a search help of your own. if u r working on Z tables.
then attach the search-help with the parameter on the selection screen. suppose u've id & name in the search-help. what ever the choose name should be shown. make it clear in the import filed of the search help.
But what i guess is that, u need to use the id in your program. in that case it'll not work.
in that case u can give the solution this way, u show the text just at the right of the parameter.
use the FM DYNP_VALUES_READ to read the value of the parameter & fetch the text according to the value. and show it at the right side of the parameter textbox.
Reward if useful
Thanks
Sayak
‎2007 Dec 24 3:41 AM
Thanks for all the replies,I am closing this thread,but my doubt is still not solved,will post a new thread after developing a z code.