Dynamic screen layout - Hide Field Group until user selects country

Hi.
Does anyone in the PCUI commuity know how to hide a particular reference field group (field group that contains several fields) and only make it visible when the user selects a particular value from a dropdown in a differen field group on the same screen.
Regards
Sergio

Hi,
I am trying to do something similar in Advance search area of Opportunity.  I want to hide few fields for non managers.  I created field group variant and added that to field group and all the fields.  I modified method if_crm_bsp_model_access_il~get_fieldgroup_variant.  I put breakpoint at this method and it does get executed but the page doesnt load correct variant.  Did you get this to work?  if so can you please share your experience on what else do I need to change to make it work.
I have separate thread going regarding this issue.  Here is the URL for that:
[SAP CRM: People Centric UI (Read Only Archive);
Thank you,
AP

Similar Messages

  • Inserting Selection-screen above the Field-groups created.

    Hi guys,
           I am having problems on how to display my selection screen before the field-groups declared. How can I insert my selection-screen above those field-groups? Do i need to create a new field group for my selection-screen and how? thanks in advance! the sample code is below this message.
    regards,
    Mike
    <b>I.E.:</b>
    FIELD-GROUPS:  header, posten.
    selection-screen begin of block BOMREP WITH FRAME TITLE TEXT-429.
    PARAMETERS: rb_bhder  RADIOBUTTON GROUP g1 DEFAULT 'X',
                rb_bflvl  RADIOBUTTON GROUP g1,
                rb_dsply  RADIOBUTTON GROUP g1,
                rb_ndlpy  RADIOBUTTON GROUP g1,
                rb_alvl   RADIOBUTTON GROUP g1.
    selection-screen end of block BOMREP.

    >
    Akashdeep Basu wrote:
    > Hi,
    > I am using LDB : PNP in my report. I want to add a block on the selection screen ABOVE the standard LDB screen.
    >
    > Plz help....
    > Sample code appreciated.....
    >
    > Thanks,
    > Akash
    NOT possible. you can only append to the Std selection-screen. One option is to hide it altogether, so the user sees only the custom block...
    ~Suresh

  • Group Asset Screen Layout  disabled fields

    Hi All,
    We have created asset masters with Book and Tax depreciation, For tax depreciation we are assigning Group asset. Issue is while doing take over value with t- Code AS92,  system should  propose the field of APC Value and Accumulated Depreciation Value but  both the fields are  proposing only for Book Depreciation
    In case of  tax depreciation APC value is editable and Accumulated Dep value is disabled,  requirement is we need to enter both the values for tax dep along with group asset assignment.
    This is happening only when we are assigning group asset while creation of asset master. if you donu2019t assign group asset to the asset master then system is allowing us to enter both values in both the depreciation area.
    I have checked necessary configuration regarding screen layout and not found any solution.
    Kindly help in this regard.
    Regards,
    Sahil K

    Hi:
           Please check for missing authorization if any in Transaction code ANSICHT. Have you checked group layout in AOLA..
           Regards

  • Screen layout for Customer group

    Is there any way we can define a screen layout for a particular customer group(having particular fields mandatory and remaining optional).
    Any help will be appreciated.
    Thanks,
    ALAM.

    It is through the transaction code OBD2
    The path is
    SPRO-FINANCIAL ACCOUNTING-ACCOUNTS RECEIVABLE AND ACCOUNTS PAYABLE-CUSTOMER ACCOUNTS-MASTERDATA-PREPARATIONS FOR CREATING MASTERDATA-DEFINE ACCOUNT GROUPS WITH SCREEN LAYOUT
    Hope this helps.
    Pls reward if this helps.

  • Start Screen Layout not applying to every user

    Ok, i'm stuck.  I have a 2012r2  DC with a 2012r2 terminal server.  I exported the xml file to be the start screen layout and have it applied to a specific user OU with my two users in it.  One gets the layout the other does not (metro
    layout btw)  Same users, same permissions, in the same OU.  Tried to gpupdate with no luck, the only difference I can tell is one users existed and the other I created brand new to test with.
    User config - policies - admin templates - start menus & taskbar - start screen layout
    this OU is blocked from inheritence for testing purposes.  I have also deleted all references to the non-woking user locally on the server and tried to re-login.  No dice.
    Idea's on what I am missing?

    Hi wlords,
    Thanks for your sharing!
    In addition, I would like to share with you a useful post which can help us to troubleshoot group policy application issues:
    Common steps to start troubleshooting Group Policy application issues                                  
    http://social.technet.microsoft.com/Forums/en-US/382c97e8-93c8-4022-b8fe-22401037d14c/forum-faq-common-steps-to-start-troubleshooting-group-policy-application-issues?forum=winserverGP
    Regards,
    Lany Zhang

  • Layout generation field group could not be read completely

    Hello,
    if I try to generate some field groups which I have copied on a new sight and changed afterwards I get the error:
    Layout not saved as warnings or errors occurred during layout generation:                       
    ACT_DETAIL_TASK                  ZNEW                 Field group could not be read completely
    This happens only with certain objects not at everyone ?
    Thanks in advance
    Michael

    Hi Thomas,
    Everytime you do changes in the reference group the entries in table 'CRMC_FIELDGRP' changes. So you will have to go to this table check entries for the main feild group 'SLO_SALES' in your case and then change entries for this feildgroup in CRMC_BLUEPRINT_C. The idea ia that the data should be consistent/same in both the places.
    Hope this helps you.
    Regards,
    Hetal.

  • How to HIde rows based on User Selection

    I have a requirement where in I have to hide some rows based on Plant Name selected by USer at the time of opening the report.
    Here is the screen  shot:-
    Here I am seeing two Tag Types MACT and Average when User selects  Luling Plant. But When User selects some other Plant I don't want to see Tag Type 'MACT' in this table.
    We have a predefine filter for Plant.
    How can I achieve that. The data in White Rows is Average values.
    Please help.
    Regards

    Hi Shalini,
    Is user selecting Plant Name from the report prompt. If Yes, then try below-
    Create a variable-
    FilterSelect= If UserResponce("WritePromptTextHere") =" Luling Plant" and TagType inList ("MACT";"Average") Then 1 ElseIf  UserResponce("WritePromptTextHere") <>" Luling Plant" and TagType inList ("MACT";"Average") Then 3 Else 2
    Apply Filter on "FilterSelect" variable-
    FilterSelect=1 and 2
    ~Anuj

  • Message missing from alert box & Can you disable everything until user selects an answer?

    Question 1 - My alert box window is working, and the title and buttons function as they should, but does anyone know why my message is not showing up?
    Question 2 - How do you program the alert box window so that no other buttons on your application work until the user selects one of your alert window buttons? I can do this manually by setting everything to enabled = false, but I know this happens automatically every other time I've used the alert window component, but it's not working for me now.
    Question 3 - How can I prevent multiple alert windows from popping up? My alert comes up when a user clicks a button called 'Delete'. Would be solved if I had the answer to question 2.
    var myMess:String = '';
    var myTitle:String = '';
    function confirmDelete(){
        selectedAlt = list_dg.selectedItem.ALT_CODE;
        myMess = "Are you sure you want to delete this ALT code: "+selectedAlt+"?";
        myTitle = "Confirm Delete ALT Code Function                                                    ";
        var alertBox:Object = Alert.show(myMess,myTitle,Alert.YES|Alert.NO,this,deleteConfirmHandler);
        alertBox.setSize(450, 125);
    // HANDLER FOR CONFIRM DELETE ALT ALERT WINDOW
    deleteConfirmHandler = function(evt_obj:Object):Void {   
        var myAnswer = evt_obj.detail;
        // returns 1 if yes, 2 if no.
        if (myAnswer == 1){
                deleteAlt();
        else {   
            altDetail.moveAssign_btn.enabled       = false;
            altDetail.moveAvail_btn.enabled        = false;
            altDetail.avail_list.selectedIndex     = null;
            altDetail.assigned_list.selectedIndex  = null;

    I think you were on the right track, it did have something to do with the parent fla file. Once I complied it's parent file (and imported the window and alert classes into the parent), my message appeared in the alert box.
    It doesn't make any sense, because the component is not in the parent file, it's in the sub-parent fla file, but I guess you just have to compile all the files in the hierarchy for it to work... It also doesn't make sense why everything else worked before (the title, the yes and no buttons) except for the message.
    Thanks for the suggestion (to look at the depths, etc), however, I'm still unable to understand why the alert is not modal as it should be. If anyone has any suggestions on how to fix the buttons to make them modal, please let me know. Thanks.

  • Dynamic Screen layout

    Hi all,
    I have to display fields dynamically based on certain conditions,so i started with grouping certain fields in several subscreens like this.
    subscreen A
    subscreen B
    subscreen C
    Now if for certain type of conditions i'll be displaying subscreen A and subscreen C next to that ,like subscreen C should move up to the palce of subscreen B and subscreen B will not be displayed.(so all combination of the three screens,without
    any empty space inbetwen them).Wondering how to go abut that.
    Is there screen flow command which calls subscreen conditionally based on 'IF' conditions and how to move screens/fields up from its original locations.
    Thanks in advance,
    dan.

    Ok Dan, I've spent the last view minutes putting together an example, which works quite well.  Here is the main program code.
    REPORT zrich_001.
    DATA: v_suba TYPE sy-dynnr.
    DATA: v_subb TYPE sy-dynnr.
    DATA: v_subc TYPE sy-dynnr.
    PARAMETERS: p_suba AS CHECKBOX.
    PARAMETERS: p_subb AS CHECKBOX.
    PARAMETERS: p_subc AS CHECKBOX.
    CALL SCREEN 100.
    *&      Module  PBO  OUTPUT
    *       text
    MODULE pbo OUTPUT.
    *set pf-status 'Main'.
      IF p_suba = 'X'.
        v_suba = '0101'.
      ENDIF.
      IF p_subb = 'X'.
        IF v_suba IS INITIAL.
          v_suba = '0102'.
        ELSE.
          v_subb = '0102'.
        ENDIF.
      ENDIF.
      IF p_subc = 'X'.
        IF v_suba IS INITIAL.
          v_suba = '0103'.
        ELSEIF v_subb IS INITIAL.
          v_subb = '0103'.
        ELSE.
          v_subc = '0103'.
        ENDIF.
      ENDIF.
      IF v_suba IS INITIAL.
        v_suba = '9999'.
      ENDIF.
      IF v_subb IS INITIAL.
        v_subb = '9999'.
      ENDIF.
      IF v_subc IS INITIAL.
        v_subc = '9999'.
      ENDIF.
    ENDMODULE.                 " PBO  OUTPUT
    *&      Module  pai  INPUT
    *       text
    MODULE pai INPUT.
      CASE sy-ucomm.
        WHEN 'BACK'.
          LEAVE PROGRAM.
      ENDCASE.
    ENDMODULE.                 " pai  INPUT
    Of course, you can put your own gui status and other stuff in here, but you get the idea.  Here is the screen flow logic of screen 100.
    PROCESS BEFORE OUTPUT.
      MODULE pbo.
      CALL SUBSCREEN subsa INCLUDING sy-repid v_suba.
      CALL SUBSCREEN subsb INCLUDING sy-repid v_subb.
      CALL SUBSCREEN subsc INCLUDING sy-repid v_subc.
    PROCESS AFTER INPUT.
      MODULE pai.
      CALL SUBSCREEN subsa .
      CALL SUBSCREEN subsb .
      CALL SUBSCREEN subsc .
    Now on screen 100, there are three subscreen areas,  called SUBSA, SUBSB, SUBSC.  Also in this program there are three subscreen dynpros, called 101, 102, and 103.  So all this will need to be created to make this example work.
    Now you can see in the PBO, that I am dynamically assigning the subscreen numbers to the subscreen area variables depending on what you select on the selection screen.  Also, it is important to assign a dummy subscreen(with nothing in it) to any subscreen area which has not been assigned a real subscreen.  So you see that I am assigning subscreen 9999 for this.
    Hope this helps.
    Regards,
    Rich Heilman

  • Dynamic variation of prompt clause based on user selection

    Hi,
    I would like to know if there is any possibility to change the query to have 'IN' clause or '=' clause based on user prompt selection.
    Say, if user enters single value for a prompt, the query should have = clause and when enters multiple input, the query change to IN clause.
    HummingBird tool has the capability to dynamically change between = and IN based on the prompt selection.
    There seems to be some issue in performance because of the IN clause we’ve used while passing single prompt value when compared to Hummingbird tool.
    Is it possible in BI Publisher???

    Hi ,
    It is not possible to select the IN or = based on Prompt selection directly..
    You can Use IN..that will work as = also..
    Thanks,
    Ananth

  • Hide Code Group code as selection

    When we develop Code Groups and Codes, after a period of time the Code is no longer to be used. I understand that it can not be deleted as it has usage, but why can't one flag similar to the Code Group itself so it will not be visible for selection. Right now we change description to DO NOT USE, but users still select code.

    Hi,
    It is possible to delete the catalog codes inside the group.
    For that, first you have to define your own catlog type (as SAP recommends not to change the settings for the SAP defined catalog types).
    Procedure:
    - Define catalog type say 'Z'
    - In config set the check box Deactivate. (Read F1 help on this checkbox)
    - Now define the codes for this type in QS41.
    - Use the code somewhere (e.g. Notification)
    - If u check QS41 again, it will have usage indicator.
    - But you can delete the entry ignoring the warning message.
    Let me know if this fulfills the reqmnt.
    regards

  • Screen layout for Special G/L indicator

    Hi everyone!
    I would like to know if you create a new special g/l indicator, you can change the screen layout that the system gives you. I need to create some which can have a screen layout similar to the one used in 01 key account.
    Thanks in advanced,
    Olga

    Hi Santosh,
    I´m going to give you some examples about what I want to do. First, I would like to used the special G/L indicator H security deposit which is configurated like as others special G/L transaction types. When I post with this Special G/L indicator the system shows me some fields in the accounting screen layout such as "Due on", "Invoice reference", "Assignment", etc. I would like to change this screen layout because I need fields like "Payment terms", "Payment block indicator", etc. What I did was to change field group status of the reconcilation account that this special G/L indicator has, and key accounting configuration that this special G/L indicator uses. It doesn't work because I make these fields optional and the system didn´t show me those.
    Other I need to do It's make new special G/L indicators because I need to post with a different reconciliation account and I need to configurated the screen layout with fields such us Payment terms, Payment blick indicator, etc. I mean I need to create my own screen layout.
    I don´t know if this gives you more details about what I want to do.
    Thanks so much.
    Best regards, Olga

  • Customizing user selection fields of Logical database PNP

    Dear Gurus,
    I had made a z-copy of payslip program for incorporation of Logo. Now we need to put this report in Enterprise Portal (EP). Now since we would not want any user to view any other person's payslip, I need to disable the selection field (PERNR) for user selection.
    Problem is this field for user selection is coming from standard Logical Database (LDB - PNP) used in the program. So how can I make this field hardcoded as sy-uname and non-modifiable without making z-copy of LDB-PNP.
    Also I wish to harcode Payroll Area writing some code (from table PA000) but again I cannot write this in std. PNP LDB and writing it in driver program will not help.
    Thanks in advance.
    Regards,
    Amit

    Write the highlighted coding in initialization ...
    initialization .
    select single pernr from pa0105
           into pernr-pernr
           where usrid = sy-uname.
    if sy-subrc = 0.
      PNPPERNR-sign = 'I'.
      PNPPERNR-option = 'EQ'.
      PNPPERNR-LOW = pernr-pernr.
      Append PNPPERNR.
    endif.
    loop at screen.
    if screen-name = 'PNPPERNR-LOW' or
    screen-name = 'PNPPERNR-HIGH'.
    screen-input = '0'.
    endif.
    modify screen.
    endloop.
    at selection-screen output.
    loop at screen.
    if screen-name = 'PNPPERNR-LOW' or
    screen-name = 'PNPPERNR-HIGH'.
    screen-input = '0'.
    endif.
    modify screen.
    endloop.

  • ML81N: Screen Layout

    All,
    Can you please tell me how to modify the screen layout for service entry sheet?
    thanks!

    IMG Path--->SPRO --->Materials Management -
    >External Services Management -
    >Define Screen Layout -
    >Choose Field Selection -
    >No 5.Entry

  • KB3000850 Breaks Start Screen Layout Tiles

    Hi All,
    I have a problem which is a direct cause of KB3000850, this affects both 64bit and 32bit variants.
    We use GPO to apply a start screen layout xml file to our users.
    On a PC without KB3000850 it works fine, however if you install this update it breaks the layout.
    I've read online a couple of other instances of this, but no concrete fix.
    Any ideas?
    Thanks
    Andy
    PS - incidentally, this issue is reintroduced by the December Rollup KB3013769

    Hi,
    Just in case anyone trips over this post after having this issue and not finding the answer.
    Here it is, it took a paid support call to MS but the answer is......... it's by design.
    The key part here is Windows 8.1 Professional vs Windows 8.1 Enterprise
    Prior to these updates, the policy to apply start screen layout via policy worked on Professional and Enterprise.
    The fact it did work on Processional was a BUG, it was ONLY intended to work in Enterprise.
    The update rollups fix the bug, and hence break a previously working solution for 8.1 Professional users.
    The fixes are either the workaround I noted above (copying in file) or changing to 8.1 Enterprise.
    Just an additional note on my workaround, if you are using a login script to copy the file, do it is a logoff script instead. The reason is that if you have it as a login script and a brand new user logs in, the profile creation process has a bit of a fit
    as you have copied in part of a profile, so instead of seeing the 'Hi...... We're setting things up for you.....' part, the PC just sits for about 5-10 mins and then eventually logs in.
    If you set it to a logoff script then the login processes normally, even for brand new users, and the file copies without a hitch on logoff. It takes an extra login for brand new users to see the screen layout but hey, its better than a 10min first login.
    So, no fix from MS, as the fix is the reason for the break in functionality.
    Yes, by the letter of the policy it is correct, but we have been robbed of a perfectly working piece of functionality that some people may have been using extensively.
    Thanks

Maybe you are looking for