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 field Enhancements - MM01, MM02

Former Member
0 Kudos
282

Hi,

I have a Issue to add a custom search help to the fileds in Material Group Subscreen. This is stanadard subscreen: SAPLMGD1, Screen number: 2156. This subscreen has 3 fields X, Y and Z fileds. I have to add Custom search help to the fields Y and Z custom search help F4 help.

How to add this search help to the fields Y and Z in the standard subscreen. Is these any screen exits or exits or config and how to do this? Other than this, when search help for Y field it should display the values based on X field value what user enters.

I appreciate your help.

Thanks,

Monica

7 REPLIES 7

Former Member
0 Kudos
118

Hi,

You need to implement Search help exit for the fields.

check out the link :

[http://help.sap.com/saphelp_nw04s/helpdata/en/cf/21ee52446011d189700000e8322d00/content.htm]

Thanks,

Shailaja Ainala.

0 Kudos
117

Hi Shailaja,

Thanks for your reply. Yes I already created search help exit in the Standard search help for Subcategory ID.

In the Standard Subscreen I have three fileds ( Category ID ( X field), Sub Category ID (Y field) and Category Name (Z field)).

Problem:

subcategory id such that the hit list ( F4 help) for subcategory id must be filtered or narrowed based on the value selected or entered by user for category id.

For this ,in Subcategory id standard serach help I have created search help exit. But I am not able to pass the value entered by user for category ID field in the Subcategory ID search help exit for Subcategory ID must be filtered or narrowed based on the value selected or entered for category id. Category ID filed doesn't have Parameter ID also. If I want to use Get Parameter concept to get the value of it. I am thinking of export the category ID value into memory and Import the category ID value into the Subcategory ID search help exit to narrow down subcategory ID hitlist values. Please advice. how to do that?

Becuase all these are standard screens and programs. I can't touch anything other than the Serach help and Serach help exit.

Thank you.

Thanks,

Monica

0 Kudos
117

If you need to add values in Y and Z based on other values then Search help exit might not suit your requirements. You need to use the to build the search help.

0 Kudos
117

Hi J@Y,

This is a Standard Module pool program. and I can't change module pool program layout properties. Subcategory ID (Yfileld) and Category name ( Z field) has Standard search helps. I can edit those Stanadard search helps and add custom logic through Search help exit in those Standard Search helps.

But only my issue is now *how to pass the value entered in Category ID ( X field) by user to the Subcategory ID search help exit to filtered the hit list values for Subcategory ID based on category ID value. I am not able to do this. I apprciste your advice.

Thanks,

Monica

0 Kudos
117

You could use function RS_SELECTIONSCREEN_READ to read the values of the screen and pass them, but there are some limitations as there could be a need to hard code some values in the code which is strongly not prefered and there could be some chances of short dumps.

0 Kudos
117

Hi J@y,

Please let me know any other alternative approach? I think this RS_SELECTIONSCREEN_READ' doesn't work for me.

Thanks,

Monica

0 Kudos
117

if you are on the enhancement framework (ECC 5.0 or greater ) you can create an enhancement spot and implement it.. and follow the F4 IN MODULE POOL post to have your code.