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

Search help using 2 tables

Former Member
0 Likes
500

Hello Experts,

Consider 2 tables MARA and ZCODES.

1) I have the material number entered by the user on the screen.

2) Now in need to get the Product hierarchy for this Material and get the codes from ZCODES for this Product hierarchy.

3) This Codes are also stored in the table MARA-ZCODE.

My Searchhelp should be responsible for showing me all the materials for this ZCODEs.

Regards,

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
361

You need to create a database view having table MARA and ZCODES. Specify the join conditions in that view.

And the create a search help using that view name.

2 REPLIES 2
Read only

Former Member
0 Likes
361

Have you tried creating a Help view in SE11, joining the tables? Or, alternatively, constructing a help with function module F4IF_INT_TABLE_VALUE_REQUEST?

Read only

Former Member
0 Likes
362

You need to create a database view having table MARA and ZCODES. Specify the join conditions in that view.

And the create a search help using that view name.