cancel
Showing results for 
Search instead for 
Did you mean: 

Rename the "save" button on SC screens to "Hold Cart "

Former Member
0 Kudos

Hi,

We are using SRM 6.0 where we need to Rename the "save" button on SC screens to "Hold Cart ". But the web dyno pro component /SAPSRM/WDC_SC_GAF_TOOLBA is standard one.When I enhance it its not allowing me to edit the text of the button.

Please give me idea how can I rename it.

Thanks in Advance,

Savitha.

Accepted Solutions (0)

Answers (3)

Answers (3)

Former Member
0 Kudos

Hi,

The solution described by Paris is for SRM 5.0 and not for SRM 6.0 and above. SRM 6.0 and further releases use Webdynpro ABAP and not ITS.

There are couple of options:

1. Change the Actions or meta-data

2. Create enhancement for the concerned component configuration

Regards,

Prasanna

Former Member
0 Kudos

Hello Paris,

I had the requirement of change the label of a text field and your advice of changing the template worked perfect for me. Thanks you a lot.

Regards.

Federico Flores Dimas

Former Member
0 Kudos

Hello Savitha,

Please follow the below options.

Option 1

Transaction :SE80

Funtion group:

BBP_SC_UI_ITS

screen number: 150

This function group have all your shopping cart button's texts. If you have access key to modify the program, you can directly go to texts I/O templates and modify the label text.

Option2

If you donu2019t have authorization to modify the standard program, then you can follow the below steps to rename the SC buttons.

Transaction :SE80

Internet service: BBPSC01

HTML template : SAPLBBP_SC_UI_ITS 150

Say you need to rename SAVE button to HOLD button, just modify the below code

[ change the label text ]

Original code:

`if (BTN_SC_SAVE.exists)`
           `if (BTN_SC_SAVE.disabled)` 
             `BBPDisabledButton(BTN_SC_SAVE.label)`
             `BBPButtonSpace()`
           `else`
             `BBPButton(BTN_SC_SAVE.OKCODE,BTN_SC_SAVE.label,tooltip=#BUTTON_SAVE)`
             `BBPButtonSpace()`
           `end`

To be modified as:

`if (BTN_SC_SAVE.exists)`
           `if (BTN_SC_SAVE.disabled)` 
             `BBPDisabledButton(BTN_SC_SAVE.label)`
             `BBPButtonSpace()`
           `else`
             `BBPButton(BTN_SC_SAVE.OKCODE,#HOLD ,tooltip=#BUTTON_SAVE)`
             `BBPButtonSpace()`
           `end`

1 . # HOLD --> Double click in the code on #HOLD to create HOLD parameter in theme 99. Enter the value of the parameter as u2018HOLDu2019.

2. Save the code and publish the template ( save the template under a transport )

If this works, please reply back

Best regards,

Paris.