‎2008 Jun 13 10:23 AM
Hi all,
Can anyone please tell me how I can give F4 help for the following statement.
PARAMETERS : S_OBJID TYPE SO_OBJ_NAM.
Kindly reply immediately as this is bit urgent.
Regards,
Vijay
‎2008 Jun 13 10:34 AM
Hi Vijay,
The data element does not have F4 help. based on your requirement create the search help after that it shoud be linked to the fields.
for example the search help name is 'S_OBJ'.
PARAMETERS : S_OBJID TYPE SO_OBJ_NAM MATCHCODE OBJECT 'S_OBJ'.
Reward if found helpful.
Regards,
Boobalan Suburaj
‎2008 Jun 13 10:26 AM
Hi all,
Can anyone please tell me how I can give F4 help for the following statement.
PARAMETERS : S_OBJID TYPE SO_OBJ_NAM.
Kindly reply immediately as this is bit urgent.
Regards,
Vijay
Hi
parameters : s_objid type <dictionary reference>.
In didctionary reference use any dictionary element type...like mara-matnr...
This will give the search help automatically..
Reward if useful..
‎2008 Jun 13 10:27 AM
Hi,
Thanks for your reply.
I need to give F4 help showing all the values in the table SOOD
(field OBJNAM).
Can you please eleborate a litlle more.
Regards,
Vijay
‎2008 Jun 13 10:30 AM
use parameters : so_sid type sood-objnam.
it will show the f4 help....
‎2008 Jun 13 10:32 AM
Hi,
I tried using the statement
PARAMETERS : S_OBJID TYPE sood-objnam.
but no F4 help is coming.
Kindly help me to add the F4 help.
regards,
Vijay
‎2008 Jun 13 10:27 AM
hi
check this example code
AT SELECTION-SCREEN ON VALUE-REQUEST FOR p_file1.
PERFORM file_selection.
&----
*& Form file_selection
&----
FORM file_selection .
CALL FUNCTION 'F4_FILENAME'
EXPORTING
program_name = syst-cprog
dynpro_number = syst-dynnr
field_name = 'p_file1'
IMPORTING
file_name = p_file1.
ENDFORM. " file_selection
thanks
sitaram
‎2008 Jun 13 10:30 AM
Hi Sitaram,
I am getting dump saying that F4_FILENAME does not exist.
Please help me to ad the F4 help.
Regards,
Vijay
‎2008 Jun 13 10:33 AM
Give a data element as type, which is having a check table, so that it will give the values automatically.
‎2008 Jun 13 10:34 AM
Hi Vijay,
The data element does not have F4 help. based on your requirement create the search help after that it shoud be linked to the fields.
for example the search help name is 'S_OBJ'.
PARAMETERS : S_OBJID TYPE SO_OBJ_NAM MATCHCODE OBJECT 'S_OBJ'.
Reward if found helpful.
Regards,
Boobalan Suburaj
‎2008 Jun 13 10:36 AM
first create a search help
check this link
http://saptechnical.com/Tutorials/ABAP/SearchHelp/page2.htm
and then use
PARAMETERS : S_OBJID TYPE SO_OBJ_NAM.
‎2008 Jun 13 10:43 AM
Use the below function modules:
DYNP_VALUES_READ - to read the values provide on the selection scree lik e1233 and F4IF_INT_TABLE_VALUE_REQUEST which is going to populate the values
in the AT SELECTION SCREEN on VALUE REQUEST event
Before the F4IF_INT_TABLE_VALUE_REQUEST, get the required data and pass it to the Table parameter value_tab of the above FM.
Regards,
Kiran Bobbala
‎2008 Jun 13 11:12 AM
Hi,
The SO_OBJ_NAM data element does not have F4 help. So you need to create the search help.
We can create search help with SE11, where in we can give the table SOOD and the values which you need for the parameter.
Suppose we create example search help as 'zobjnam'.
*PARAMETERS : S_OBJID TYPE SO_OBJ_NAM MATCHCODE OBJECT 'zobjnam'*.Plz reward if found helpful.
Thanks,
Dhanashri.
‎2008 Jun 13 11:24 AM
Hi,
Thanks for all your replies.
The following statement gives F4 help:
PARAMETERS : S_OBJID TYPE sood-objnam MATCHCODE OBJECT ZSEARCH_HELP.
Thanks for all your replies once again.
I have assigned points to all.
Regards,
Vijay