cancel
Showing results for 
Search instead for 
Did you mean: 

Restricting selection of "Services" at the time of SC Creation.

Former Member
0 Kudos

We are using SSP for the procurement of Non-Strategic Goods. But the End users sometimes select "Services" in the Product type while creating SC. These SCs can't be processed further for creation of Purchase Order.

Is it possible to deactivate the selection of "Services" while SC Creation ?

Pls advise.

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

To achieve this you can modify templates SAPLBBP_SC_UI_ITS_230 and SAPLBBP_SC_UI_ITS_300 within internet service BBPSC01.

Regards

Keith

Former Member
0 Kudos

The code you need to achieve this is as follows:

<b>Template SAPLBBP_SC_UI_ITS_230</b>

Reference Code:

<input type="radio" id="goods"

name="`GS_SCR_SPEC_I-SERVICE_FLAG.name`"

Onclick="BBPSCForm_Submit('SC_REFRESH')"

value=" " `if(GS_SCR_SPEC_I-SERVICE_FLAG != "X")` checked `end`>

<label for="goods">

TXT_SPEC_I-PRODUCT.label` </label>

<INSERT>

<!-- Disable services radio button -->

< END INSERT>

<DELETE>

<input type="radio" id="services"

<END DELETE>

<INSERT>

<input disabled type="radio" id="services"

<END INSERT>

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">

<b>Template SAPLBBP_SC_UI_ITS_300</b>

Reference Code:

`else`

`TD(class="label")`<label for="`GS_SCR_BASIC_I-SERVICE_FLAG.name`"> `TXT_BASIC_I-SERVICE_FLAG.label` </label>

<!-- edit mode -->

`TD(class="data")`

<input type="radio" id="`GS_SCR_BASIC_I-SERVICE_FLAG.name`" Onclick="BBPSCForm_Submit('SC_REFRESH')" name="`GS_SCR_BASIC_I-SERVICE_FLAG.name`" value=" " `if(GS_SCR_BASIC_I-SERVICE_FLAG != "X")` checked `end`>

<span tabindex="0">`TXT_BASIC_I-PRODUCT.label` </span>

<INSERT>

<!-- Disable services radio button -->

< END INSERT>

<DELETE>

<input type="radio" id="`GS_SCR_BASIC_I-SERVICE_FLAG.name`" Onclick="BBPSCForm_Submit('SC_REFRESH')" name="`GS_SCR_BASIC_I-SERVICE_FLAG.name`" value="X" `if(GS_SCR_BASIC_I-SERVICE_FLAG == "X")` checked `end`>

<END DELETE>

<INSERT>

<input disabled type="radio" id="`GS_SCR_BASIC_I-SERVICE_FLAG.name`" Onclick="BBPSCForm_Submit('SC_REFRESH')" name="`GS_SCR_BASIC_I-SERVICE_FLAG.name`" value="X" `if(GS_SCR_BASIC_I-SERVICE_FLAG == "X")` checked `end`>

<END INSERT>

<span tabindex="0">`TXT_BASIC_I-SERVICE.label`</span>

`end`

`TR()` `Lines()`

`end`

Answers (2)

Answers (2)

Former Member
0 Kudos

What we have done in DOC CHECK BADI is to add a edit if the shopper clicks the services button that tells them they need to click the Goods button.

Nancy

yann_bouillut
Active Contributor
0 Kudos

Hi,

For describe requirement, you can hide this group box by changing the html template in service bbpsc01.

template saplbbp_sc_ui_its_230.html

However, this will not work for Limit item SC.

Kind regards,

Yann