cancel
Showing results for 
Search instead for 
Did you mean: 

How to Subpress /deatcives the filed in SRM

Former Member
0 Kudos

Hi all,

In my understanding "BBP_SC_MODIFY_UI" we use this BADI to modify / deactivate the Webwrowser fileds (SC)

With out this BADI any other option is thers to Subpress/ deactivate the fields? ( eg -through meta data , i'm not sure)

Appriciate any inputs.

Thanks

Harish

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi,

You can do the same with the use of "BBP_CUF_BADI_2",method "Modify screen". Make Xdispaly value to space then we can achieve the same.

Answers (2)

Answers (2)

Former Member
0 Kudos

Hi ,

Thanks for your promt replay.

How to disable the fields with "SHD0" transaction . Could you please tell me?.

Thanks and regards

Harish

Former Member
0 Kudos

Find out the screen on which the required fields are present.

Go to transaction SHD0--> Screen Variants.

Transaction Code: BBPSC01

There are a few screens variants already defined for the shopping cart.

BBP_SC, BBP_SC_SERVICE.

You just need to copy the screen varaint that you need into a Z screen variant ( eg: ZBBP_SC).

Now go to this ZBBP_SC screen variant in change mode and put a tick in the 'Invisible' or 'output only' column against the field which you need to hide. Save it!.

Now implement BAdI BBP_SCREENVARIANT Method: GET_SCREENVARIANT_SC

And call this assign the name of screen variant to the parameter EV_SCVARIANT ( EV_SCVARIANT = ZBBP_SC).

This will hide/deactivate the fields that you selected in screen variant.

Thanks,

Pradeep

Former Member
0 Kudos

Hi Harish,

You can suppress of hide the fields using the BBP_UI_CONTROL_BADI.

This can also be done using the screen variant. For this you can see the transaction SHD0.

The last option is to make change in the HTML template which is not advisable.

Thanks,

Pradeep