Skip to Content
author's profile photo Former Member
Former Member

Hiding the field in describe requirement sc creation

Hi,

Our client want to hide the Services Radio Button which is there in the shopping cart create transaction, for the Describe requirement.

Where we can select the Product type that is either Goods or Services (Both are radio buttons)

I know this screen is there in the standard program BBP_SC_UI_ITS screen no 230.

I have tried with Badi BBP_SC_UI_CTRL where we have interface BBP_SC_UI_CTRL to hide the Services Radio Button

Those fields are designed in the

Product type: (Radio Button) Goods (Radio Button) Services

These are technical names

TXT_SPEC_I-SERVICE_FLAG = Product type:

GS_SCR_SPEC_I-SERVICE_FLAG = (Radio Button)

GS_SCR_SPEC_I-PRODUCT_TYPE = (Radio Button)

TXT_SPEC_I-PRODUCT = Goods

TXT_SPEC_I-SERVICE = Services

I have tried like this , But I couldnu2019t achieve that , I am able to Hide only the description that is u201CServices u201C , But the Radio Button alone I am not able to hide .

CONSTANTS : c_services(25) TYPE c VALUE

'TXT_SPEC_I-SERVICE'.

CONSTANTS : c_services1(35) TYPE c VALUE

' GS_SCR_SPEC_I-SERVICE_FLAG .

if iv_fieldname = c_services or

iv_fieldname = c_services1 .

cv_invisible = '1'.

endif.

endmethod.

Add a comment
10|10000 characters needed characters exceeded

Related questions

1 Answer

  • Best Answer
    Posted on Jul 22, 2008 at 08:02 AM

    Hi. I have done exactly the same change using a transaction variant to get rid of the service option.

    I simply hid both service and goods that way goods is always selected.

    Screen SAPLBBP_SC_UI_ITS 300 and 230 are the ones with product type on.

    See thread to-make-the-field-for-display-only-on-the-shopping if you need more info.

    Regards,

    Dave.

    Add a comment
    10|10000 characters needed characters exceeded

    • Hi. The unlimited field can not be hidden with a variant. I tried and failed.

      What I managed to do was make it display only I think, so if you choose it the data is not stored and as standard an error is given forcing the user to choose something else.

      Unknown can not be done at all with a variant, I also tried that (we must be working for companies with very simlar requirements).

      What we did was use the BBP_DOC_CHECK_BADI to issue an error if the user chooses unknown.

      Regards,

      Dave.

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.