Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Query in Parameters statement

Former Member
0 Likes
1,115

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

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
1,052

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

12 REPLIES 12
Read only

former_member195383
Active Contributor
0 Likes
1,052

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..

Read only

0 Likes
1,052

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

Read only

0 Likes
1,052

use parameters : so_sid type sood-objnam.

it will show the f4 help....

Read only

0 Likes
1,052

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

Read only

Former Member
0 Likes
1,052

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

Read only

0 Likes
1,052

Hi Sitaram,

I am getting dump saying that F4_FILENAME does not exist.

Please help me to ad the F4 help.

Regards,

Vijay

Read only

Former Member
0 Likes
1,052

Give a data element as type, which is having a check table, so that it will give the values automatically.

Read only

Former Member
0 Likes
1,053

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

Read only

Former Member
0 Likes
1,052

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.

Read only

Former Member
0 Likes
1,052

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

Read only

Former Member
0 Likes
1,052

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.

Read only

Former Member
0 Likes
1,052

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