on ‎2011 Feb 25 3:36 PM
Hi all,
My requirement: The Service 'Item Type' on the Shopping Cart 'Item Data' tab needs to be disabled.
I understood that it can be disabled using BADI BBP_SC_MODIFY_UI. Please advise me which field in IS_SCR_ITMCHOICE structure has to be cleared to disable ITEM TYPE
Moreover in general, how to identify which field in IS_SCR_ITMCHOICE structure has to be cleared to activate/deactivate fields in Shopping cart page.
Thanks,
Prem
Request clarification before answering.
The two item types, i.e. material and service are hardcoded in the following class/method:
class: /SAPSRM/CL_CH_WD_DODM_SC_I_BD
method: /SAPSRM/IF_CLL_MAPPER~REFRESH
You can enhance the code by implementing an overwrite-exit for the above mentioned method to remove the "service" part of it.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Which SRM version??
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
In SRM 7.0 , field visibility is been controlled by Metadata.
To make changes for the field 'item type'.
<SM30>
View : /SAPSRM/V_MDF_IT
Entry:
Structure Field Name PRODUCT_TYPE
Bus. Object Type BUS2121
You can change the field values
eg: Field Enabled to BLANK
or replace the Dynamic Class & Method .
HTH,
Chandu
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.