cancel
Showing results for 
Search instead for 
Did you mean: 

De-Activate Services Button on Described Requuirements Screen

dean_hinson2
Active Contributor
0 Kudos

Hello,

After reading various threads in this forum about this, I haven't found the solution that I feel is the 'right' solution. I'll explain...

In the HTML template SAPLBBP_SC_UI_ITS_230, there is this snippet of code...

        `if(GS_SCR_SPEC_I-SERVICE_FLAG.exists)`

           `TD(class="label")` `TXT_SPEC_I-SERVICE_FLAG.label`
           `TD(class="data")` 
             <input type="radio" id="goods" 
                    Onclick="BBPSCForm_Submit('SC_REFRESH')" 
                    name="`GS_SCR_SPEC_I-SERVICE_FLAG.name`" 
                    value=" " `if(GS_SCR_SPEC_I-SERVICE_FLAG != "X")` checked `end`> 
             <label for="goods">
             `TXT_SPEC_I-PRODUCT.label` </label>
             <input type="radio" id="services" 
                    name="`GS_SCR_SPEC_I-SERVICE_FLAG.name`" 
                    Onclick="BBPSCForm_Submit('SC_REFRESH')" 
                    value="X" `if(GS_SCR_SPEC_I-SERVICE_FLAG == "X")` checked `end`>
             <label for="services">
             `TXT_SPEC_I-SERVICE.label` </label>

             `TR()`  `Lines()` 

         `end`

I have been trying to figure out what BADI (if one exists), where I can set the <b>GS_SCR_SPEC_I-SERVICE_FLAG.exists</b> to false. Thus, removing 'services' functionality for 'Described Requirements' in the shopping cart.

I have seen entries where the HTML template was modifed. The entry for BBP_SC_MODIFY_UI does not effect screen 230, but it does handles 120 quite nicely. I thougth about modifying the screen in the graphical editor to change the 'Hidden' and Input fields, but not should if that's the thing to do.

So, I ask the group, is there a BADI or exit where you can revise field settings or is revising the HTML template the only accepted revision.

Thank you in advance and points will be awarded appropriately.

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi,

Try to implement the BADI "BBP_UI_CONTROL_BADI".

BR,

Disha.

Pls reward points for useful answers.

dean_hinson2
Active Contributor
0 Kudos

Thanks for the quick reply, but per the documentation it does not work for BUS2121.

Former Member
0 Kudos

Hi,

BUS2121 is not included in the documentation but there exists a method for SC i.e. BBP_SC_UI_CTRL (as per SRM 5.0)

BR,

Disha.

Pls reward points fro useful answers.

Former Member
0 Kudos

Dean,

I had that same problem and we choose to solve it by putting an edit in DOC CHECK BADI to prevent shoppers from selecting the Services button.

Regards,

Nancy

Former Member
0 Kudos

And it works

I have done it

RD

Answers (0)