cancel
Showing results for 
Search instead for 
Did you mean: 

Html template doubt

Former Member
0 Kudos

Hi,

I have a requirement where in i have to Grey out/ Non editable the purchasing group field in Basic Data.

How to change the following code to grey it out for certain condition like

if BE_PUR_GROUP purchasing group is 'XXX' need to Grey out the field.

In ITS template for BASIC DATA tab is SAPLBBP_SC_UI_ITS_300 in service BBPSC01.

`TR()` `BBPSC_TD_BE_PUR_GROUP("GS_SCR_BASIC_I-BE_PUR_GROUP",

"GS_SCR_BASIC_I-BE_PUR_GROUP_TEXt",

"TXT_BASIC_I-BE_PUR_GROUP",

gs_scr_basic_i-BE_PUR_GROUP,

"X",

"X",

"BBPSCForm_Submit('UI_F4_UPDATE')")`

Regards,

Neelima

Accepted Solutions (0)

Answers (1)

Answers (1)

laurent_burtaire
Active Contributor
0 Kudos

Hello Neelima,

Don't need to modify standard HTML template. SAP provides standard tools for such requirement.

Use method BBP_SC_UI_CTRL from BAdI BBP_UI_CONTROL_BADI.

Regards.

Laurent.