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: 

Material Group Hierarchy Search Help

Former Member
0 Kudos

Hello expert,

I am trying to implement a material group hierarchy search help that looks like the product hierarchy search help in MM02.

I have created a material group hierarchy that is standard (CL6C) and created a view feeding from table KLAH, KSSK and T023 that I am calling from the search help. When trying to imitate the PRODH search help exit, I am getting completly overwhelmed with the coding...

Did anyone managed to do something similar ? Am I losing my time ?

What I ultimately want to do is to allow the user to navigate through a selection dynamically because we have a lot of material group and I am open to any solution (tree like search, dynamic dropdowns...etc). I have navigated and search the internet for hours without success so any tips would be really appreciated

Thanks

Clo

1 ACCEPTED SOLUTION

Former Member
0 Kudos

If someone comes accross this post:

What I ended up doing is dynamic dropdowns that browse through the table. It really was not that hard it is a user exit in the standard help.

At the callcontrol-step = 'DISP' I am calling a report that is built on the fly that has a bunch of dropdowns for selection.  With function VRM_SET_VALUES function module i populate them and when reaching the last level I am crossing the last selected value selected back to the user exit with

   IMPORT ITAB FROM MEMORY ID 'xxx'.

The users are loving it !

14 REPLIES 14

Former Member
0 Kudos

If someone comes accross this post:

What I ended up doing is dynamic dropdowns that browse through the table. It really was not that hard it is a user exit in the standard help.

At the callcontrol-step = 'DISP' I am calling a report that is built on the fly that has a bunch of dropdowns for selection.  With function VRM_SET_VALUES function module i populate them and when reaching the last level I am crossing the last selected value selected back to the user exit with

   IMPORT ITAB FROM MEMORY ID 'xxx'.

The users are loving it !

0 Kudos

Hi Clotilde,

We want to display the material groups in search help in tree structure.

Thanks for sharing the solution, can you please elaborate the solution here with a few screen shots?

Regards,

Anubhav

0 Kudos

Hi Anubhav,

I actually ended up not doing a tree but a series of drop-downs, where the first drop-down limits the choices of the second, and the second limits the choices of the third...etc if this is what you are looking for I can try and dig for how I did it (it has been a while )


Clo

0 Kudos

Hi Clotilde,

This look good as well.

If you can let me know how to achieve this, it would be a great help.

Many Thanks,

Anubhav

0 Kudos

Hi Anubhav,

I actually created a blog post on it, so as soon as the moderator let it be published I ll send you a link. I tried to post most of the code.

Voila,

Clo

0 Kudos

Great, waiting for the link.

Thanks a lot,

Anubhav

0 Kudos

Here we go:

scn.sap.com/community/abap/blog/2014/06/06/material-group-hierarchy-search

Good luck !

Although I am not sure how to do but this message still show as "Non answered" when indeed there is a solution for it I know you are an experience user could change it to answer or tell me how to do this ?

Thanks !

Clo

0 Kudos

Thanks again Clotilde.

To mark this as answered you should see an option in first post of yours...as shown below

Thanks,

Anubhav

0 Kudos

This message was moderated.

0 Kudos

Hello Clotilde,

i'm facing the same issue and when i try to open your link i got message Access to this place or content is restricted. If you think this is a mistake, please contact your administrator or the person who directed you here.


would you help me with this?

appreciate your work.

Thanks,

ASALMAN

Former Member
0 Kudos

Sorry,

I am applying to be a wiki editor but I have sent you the solution by email in the mean time.

Clo

0 Kudos

This message was moderated.

0 Kudos

This message was moderated.

Former Member
0 Kudos

This message was moderated.