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

Material Group Hierarchy Search Help

Former Member
0 Kudos
1,756

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
Read only

Former Member
0 Kudos
1,087

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
Read only

Former Member
0 Kudos
1,088

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 !

Read only

0 Kudos
1,087

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

Read only

0 Kudos
1,087

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

Read only

0 Kudos
1,087

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

Read only

0 Kudos
1,087

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

Read only

0 Kudos
1,087

Great, waiting for the link.

Thanks a lot,

Anubhav

Read only

0 Kudos
1,087

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

Read only

0 Kudos
1,087

Thanks again Clotilde.

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

Thanks,

Anubhav

Read only

0 Kudos
1,087

This message was moderated.

Read only

0 Kudos
1,087

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

Read only

Former Member
0 Kudos
1,087

Sorry,

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

Clo

Read only

0 Kudos
1,087

This message was moderated.

Read only

0 Kudos
1,087

This message was moderated.

Read only

Former Member
0 Kudos
1,087

This message was moderated.