cancel
Showing results for 
Search instead for 
Did you mean: 

Disable Product Category field in Confirmation only for Limit SC's

venkatakrishna
Active Participant
0 Kudos
133

Hi Experts,

I want to Disable Product category field in confirmation creation only for limit SC's ,

just want to prevent users to change product category on Limit confirmation creation ,

Please suggest me what is best way to achieve it,

I have tried for webdynpro methods for corresponding view , but there is no post and pre exit

exits for modify method.

  

Thank you,

Venkat

Accepted Solutions (1)

Accepted Solutions (1)

laurent_burtaire
Active Contributor
0 Kudos

Hello Venkat,

use Enhancement Spot WD_BADI in order to disable (not changeable) field for Limit confirmation item.

Regards.

Laurent.

venkatakrishna
Active Participant
0 Kudos

Hi Laurent,

Thank for replay ,

as suggested I have created enhancement spot in WD_BADI with filter values

component name = /SAPSRM/WDC_DOTC_CONF_OID

and view = /SAPSRM/WDC_DOTC_CONF_OID, but I facing errors

when I am trying to disable  CATEGORY_ID in mentioned view ,

can you please share code snip to achieve this .

can you please confirm me whether I am using correct filed  CATEGORY_ID

in view to hide as mentioned in above screen shot.

Many Thanks,

Venkat

konstantin_anikeev
Active Contributor
0 Kudos

Pay attention, if you click on details button - product category will be also shown on another webdynpro.

Alternative, you can try to assign custom handler class for CATEGORY_ID field in SPRO->SAP Supplier Relationship Management->SRM Server->Cross-Application Basic Settings->Extensions and Field Control (Personalization)->Configure Field Control->Configure Control for Fields on Item Level

more info here: Field configuration in SRM 7.0 - Supplier Relationship Management - SCN Wiki

venkatakrishna
Active Participant
0 Kudos

Hi Konstantin,

Thank you very much for highlighting Details button option ,

unfortunately after configuring also  I am unable to achieve this ,

can you please share dynamic class and method to enhance.

Thank you,

Venkat

venkatakrishna
Active Participant
0 Kudos

Hi All,

I have tried configuration mentioned by Konstantin ,

but its disabling only first line item not entire line items ,

Please guide me with correct customer class and configuration.

former_member207661
Active Participant
0 Kudos

Hi Venkata,

Check if maintaining configuration at header level also helps.

I do not have access to system, or else would have provided exact steps.

Warm Regards,

Shyam Agrawal

venkatakrishna
Active Participant
0 Kudos

Thanks for replaying Shyam,

But no luck after configuring on header level also.

former_member207661
Active Participant
0 Kudos

Hi Venkata,

Can you please share screen shot of config you have maintained for item level.

Warm Regards,

Shyam Agrawal

venkatakrishna
Active Participant
0 Kudos

Please guide me where I am going wrong in this.

Thank you,

Venkat

former_member207661
Active Participant
0 Kudos

Hi Venkata,

Change the entry by leaving field 'Transaction Type' as BLANK.

Warm Regards,

Shyam Agrawal

venkatakrishna
Active Participant
0 Kudos

Hi Shyam,

same problem after leaving filed as blank.

Thank you,

Venkat

Answers (0)