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

How to Hide the attributes from template BBPSC01?

Hi all,

I want to

Hide the following attributes from template BBPSC01 sub-screen 210.

a. Unlimited option

b. Invoice only option under follow-up actions section. Default confirmation and invoice only option

c. Unknown option under account assignment. Default known option

d. Service agent

How do we achieve this? Do we need to implement any BADI or can we do this through some settings?

Please let me know if any one of you have worked on such requirement?

Thanks,

Sivaji.

Add a comment
10|10000 characters needed characters exceeded

Related questions

4 Answers

  • author's profile photo Former Member
    Former Member
    Posted on Jul 19, 2006 at 11:46 AM

    Hi all,

    Just go in SE80 and locate the elements of the screen in the template SAPLBBP_SC_UI_ITS_210.

    e.g. if you wnat to remove any of the buttons/checkbox,you can comment the corresponding line in the template for that screen element/modify the code to achieve the result as you want.Then save the change sand republish the template.

    HTH.

    BR,

    Disha.

    Pls reward points for helpful answers.

    Add a comment
    10|10000 characters needed characters exceeded

    • Former Member Former Member

      Hi,

      For customer fields you can use BADI BBP_CUF_BADI_2 and for standard fields you could use screenvariants (TA SHD0) or you could modify the templates within service BBPSC01.

      For screen variants, just go to transaction SHD0.

      The only screen variants available in SRM 4.0 are:

      Item data overview in an invoice without purchase order reference: BBP_IV_NON_PO

      Item data overview in the invoice with purchase order reference: BBP_IV

      Item data overview in the confirmation: BBP_CF

      Item data overview in the confirmation for time recording: BBP_CF_TIMEREC

      Item data overview in the purchase order: BBP_PO;

      Item data overview for contracts: BBP_CTR_ITEMLIST

      Item data overview for selection of contracts: BBP_CTR_ITEM_SELLIST

      Search results for entering an invoice and/or confirmation: BBP_SEARCH_PO

      Search results for entering a purchase order: BBP_SEARCH_SC

      Search results for displaying/processing an invoice: BBP_CHANGE_IV

      Search results for displaying/processing a confirmation: BBP_CHANGE_CF

      Search results for entering/displaying/processing/status of a shopping cart: BBP_SC;

      Worklist for Sourcing: BBP_SOCO_WL

      Work area in Sourcing: BBP_SOCO_GA

      This is very light, and most of the SRM project have to make Templates, or ABAP screens repairs, to Hide/Show fields.

      HTH.

      BR,

      Disha.

      Pls reward points for helpful answers.

  • author's profile photo Former Member
    Former Member
    Posted on Jul 19, 2006 at 12:07 PM

    Hi,

    a.comment the line

    For unlimited "checkbox"

    line--> <input type="checkbox" id="`GS_SCR_LIMIT-UNLIMITED.name`" name="GS_SCR_LIMIT-UNLIMITED" value="X" `if (GS_SCR_LIMIT-UNLIMITED)` checked `end` onclick="checkLimitTyp();">

    For Unlimited label,

    line--> <label for="`GS_SCR_LIMIT-UNLIMITED.name`"> `GS_SCR_LIMIT-UNLIMITED.label` </label>

    b.Under "<!ACTIVATE RADIOBUTTONS 'CONFIRM AND INVOICE' AND 'ONLY INVOICE--


    >

    comment the line-->to hide the INVOICE ONLY radio button

    <input type="radio" name="`GS_SCR_LIMIT-ONLY_INV.group`" value="`GS_SCR_LIMIT-ONLY_INV.name`" `if(GS_SCR_LIMIT-ONLY_INV)` checked `end`>

    c.comment the line-->to hide the UNKNOWN radio button

    if(GS_SCR_LIMIT-ACC_UNKNOWN.disabled)`

    `TD(class="label", active="")` `ACCOUNTING_LABLE.label`

    `TD(class="data", active="")`

    `if(GS_SCR_LIMIT-ACC_UNKNOWN.value)`

    <img src="`mimeURL(~service="bbpglobal", ~language="", ~name="images/icon/checkedradio.gif")`" border="0">

    `else`

    <img src="`mimeURL(~service="bbpglobal", ~language="", ~name="images/icon/uncheckedradio.gif")`" border="0">

    `end`

    `else`

    `TD(class="label")` <label for="`GS_SCR_LIMIT-ACC_UNKNOWN.name`"> `ACCOUNTING_LABLE.label` </label>

    `TD(class="data")`

    <input type="radio" id="`GS_SCR_LIMIT-ACC_UNKNOWN.name`" name="`GS_SCR_LIMIT-ACC_UNKNOWN.group`" value="`GS_SCR_LIMIT-ACC_UNKNOWN.name`" `if(GS_SCR_LIMIT-ACC_UNKNOWN)` checked `end`>

    `end`

    <label for="`GS_SCR_LIMIT-ACC_UNKNOWN.name`">`GS_SCR_LIMIT-ACC_UNKNOWN.label`</label>

    To keep Known radio button as default button

    write the foll line for KNOWN radio button.

    <img src="`mimeURL(~service="bbpglobal", ~language="", ~name="images/icon/checkedradio.gif")`" border="0">

    <label for="`GS_SCR_LIMIT-ACC_KNOWN.label`">`GS_SCR_LIMIT-ACC_KNOWN.label` </label>

    HTH.

    BR,

    Disha.

    Pls reward points for helpful answers.

    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on Jul 20, 2006 at 01:35 PM

    Hi Sivaji,

    Have you tried creating a screen variant and using this with the BADI bbp_screenvariant. Try using the method GET_SCREENVARIANT_SC.

    Vani

    Add a comment
    10|10000 characters needed characters exceeded

    • Former Member

      Hi Vani,

      Thank you for your valuable suggestion.

      I faced a problem while I tried to create a screen variant. It is asking for Transaction code for the screen variant. I gave the transaction code as "BBPSC01". But it does not accept and throws an error. Could you please let me know if there is any alternative for this.

      Your valuable suggestions are appreciated.

      Thanks,

      Sivaji.

  • author's profile photo Former Member
    Former Member
    Posted on Jul 25, 2006 at 10:35 AM

    Hello.

    Please, try with BadI BBP_UI_CONTROL_BADI method BBP_SC_UI_CTRL (shopping cart)

    Using the Business Add-In BBP_UI_CONTROL_BADI, you can change the visibility and the ready-to-input status of interface objects (for example, fields and pushbuttons) in a document.

    Hope it helps

    Best regards.

    Valentí

    Add a comment
    10|10000 characters needed characters exceeded

    • Former Member

      Hello, have you done this before? i'm trying to make visible some accounting fields to the item overview screen in screen 120. I set the visible flag to 0 on the required fields, but the front end doesn't change. Here is the code I've set in the badi.

      if iv_dynpname = '0120'.

      if iv_fieldname = 'GT_SCR_ITMOVR_I-ACC_GENERIC'.

      cv_invisible = '0'.

      endif.

      endif.

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.