Application Development 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: 

search fields

Former Member
0 Kudos

Hi Everyone.

In some program in selection block there is a line

parameters: pa_wllif like rf42b-idntk modif id wkl.

where rf42b is some structure (work fields for SAPMF42B). When we launch programm and click parameters field on its right side we can search accounting acoountants.

When I copied that line to my own programm, the mechanism doesn't work. Could You explain me the reason?

Greetings. P.

1 ACCEPTED SOLUTION

Former Member
0 Kudos

You can go to SE11 and create a search help ( ZIDENT for eg.) and give the selection method as 'TFAV'. Then include the field 'IDENT'.

Then go to the parameters declaration and say

parameters: pa_wllif like rf42b-idntk modif id wkl MATCH CODE OBJECT ZIDENT .

Hope this will solve the issue.

Pls reward this if it is useful.

5 REPLIES 5

Former Member
0 Kudos

Hi

This structure field rf42b-idntk will have a check table TFAV, from which the search help for that field will come

So the original program may be using that Table and the structure might have referencing that table

in your custom program that link may not be there.

Just declare this table as TABLES, and field as TFAV-IDNTK and see. whether the search help comes or not.

Reward points for useful Answers

Regards

Anji

0 Kudos

Hi,

Look for the code

AT SELECTION-SCREEN ON VALUE-REQUEST for pa_wllif.

In the original program..

Regards,

Sesh

Former Member
0 Kudos

You can go to SE11 and create a search help ( ZIDENT for eg.) and give the selection method as 'TFAV'. Then include the field 'IDENT'.

Then go to the parameters declaration and say

parameters: pa_wllif like rf42b-idntk modif id wkl MATCH CODE OBJECT ZIDENT .

Hope this will solve the issue.

Pls reward this if it is useful.

Former Member
0 Kudos

HI

declare this table as TABLES, and field as TFAV-IDNTK

Reward all helpfull answers.

Regards.

Jay

Former Member
0 Kudos

hi

good

check wheather you r using the same one or you r doing some modification into it,if you r using the same one then chekc the structure that is present there in this code is available in your system and check with the modif id you have created for you or not.

thanks

mrutyun^