cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Plant as a search Parameter in Product ID

Former Member
0 Likes
225

Hi SRM Gurus,

We are currently using SRM 702 classic scenario and I wanted to check if there is a way to add plant as a user parameter in the product ID search help. The reason for this request is because we have materials belonging to specific sites and we would like the user to search based on a given site. Can you please tell me which view would need to be modified to have plant. Please see my screenshot attached showing which view we would need it.

Thanks,

Ashwin

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Likes

Hi Ashwin,

You need to enhance the standard search help /SAPSRM/BBPH_PRODUCT or you can create a custom SH by copying the standard one and then assign it to the respective field in webdynpro view.

Add a new field to the SH

WERKS - Check Imp and Exp boxes and use data element BE_WERK

Then if enhancing standard SH enhance the search help exit /SAPSRM/F4_EXIT_PRODUCT_GEN or if using a custom SH create a new SH Exit as copy of /SAPSRM/F4_EXIT_PRODUCT_GEN and then for

  callcontrol-step = 'DISP'.

read the value of WERKS field

Populate data according to interface of BAPI 'BAPI_MATERIAL_GETLIST'

to get the data based on plant.

last step would be for callcontrol-step = 'RETURN' map the result from BAPI to SH fields.

Thanks,

Anubhav

Former Member
0 Likes

Hi Anubhav,

Thanks for the answer, I will try the proposed approach and let you know.

Thanks,

Ashwin

Answers (1)

Answers (1)

Former Member
0 Likes

Anyone....any thoughts??