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

values not populating thru Matchcode Object

Former Member
0 Likes
1,744

Hi All,

I have created a new search help for MB51, which is appended in standard search help MCH1.

When press F4, the values are correctly displayed. But when we select any one of the displayed values, then the values are flowing on to Screen.

Please help me to understand and rectify the issue.

Thanks in advance.

Regards,

Priya

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
1,063

Hi All,

Thanks for the replies.

I found the solution on my own.

I have used another search help to append it in standard search help.

In APPENDED search help--Include search help ( Included the Zsearch help)

Forgot to mention the Param.Assignment, Have done it now. It is working.

Thanks again.

Regards,

Priya

5 REPLIES 5
Read only

Former Member
0 Likes
1,063

Hi Priya,

If it is just a single field check if you have mentioned it in Export Parameter, of your search Help.

To fill Multiple field from search help, you proceed as follows:

I will take a random example of a search help 'zcity' it is used to fill 3 fields cityid cityname and citycode based on primary key(cityid)

  • In your search help zcity, declare all these fields as export parameters
  • Define a DDIC structure, say ZCITYDATA with the components (i.e. cityid, cityname, citycode)
  • Double-click on the cityid(This is the Field for which Search help is provided) field of your structure, press "Search help for field"
  • In the appearing popup, define the "Search help Attachment". This is the mapping of the F4 parameter names with the components of your structure. Map all three parameters you are interested in.
  • Save and Activate.

Now, in your report, define

parameters: p_cid   type zzcitydata-cityid,              

            p_cname type zzcitydata-cityname,                  

            p_ccode type zzcitydata-citycode.

That's it. The system will automatically provide an F4 help for p_cid, and after selecting a city, the concomitant fields p_cname and p_ccode will be filled automatically. No extra code necessary in your report.

Hope this will be understandable and useful

Thank You

Pratheek

Read only

Former Member
0 Likes
1,063

Hello priya,

have you mentioned the displayed values field(whic you select after pressing F4) in search help as EXPORT parameter????

Thanks

Sabyasachi

Read only

satyabrata_sahoo3
Contributor
0 Likes
1,063

If you are using F4IF_INT_TABLE_VALUE_REQUEST ensure you getting the value in return_tab and pass it to the selection field.

Read only

Former Member
0 Likes
1,064

Hi All,

Thanks for the replies.

I found the solution on my own.

I have used another search help to append it in standard search help.

In APPENDED search help--Include search help ( Included the Zsearch help)

Forgot to mention the Param.Assignment, Have done it now. It is working.

Thanks again.

Regards,

Priya

Read only

0 Likes
1,063

Hello priya,

i think i was right??

Thanks

Sabyasachi