Hide one row on Advanced List Pane based on field value

Hello everyone,
I have a question for you:
Is it possible to hide one row on an Advanced List Pane based on the value of a field of that row?
Here is the actual case:
I have a custom B.O. called "Product Group". This B.O. has an Internal ID and a Description at Root level.
In this B.O. I have a One-Too-Many node called "Descriptions".
On the T.I. of the Product Group there is a tab called "Other Languages". On this tab a user can provide translations for numerous languages for the Product Group Description.
When you create a new Product Group a translations is automatically added for the Current User Log On Language.
Now I want to hide that row in the Advanced List Pane and only show the translations where the "Target Language" is DIFFERENT from the Current User Log On Language.
So in the screenshot above you see we have 3 translations: "Bébé" (FR), "Baby" (EN) and "Bebé" (ES).
Now I want to hide the "Baby" (EN) translation if the Current User Log On Language is English, hide "Bébé" (FR) translation if the Current User Log On Language is French, etc. ...
The Advanced List Pane is currently bound to Descriptions node.
Thanks & Regards,
Glenn

Hello Glenn,
Please refer the below video.
SAP Cloud Dev: Extensibility and Dynamic UI - Part 1 - YouTube
Here Dynamic UI is achieved for input field. You can create transient radio button for each possible records, check the User Logon Data and uncheck the radio button specific to it.
Regards,
Chandan

Similar Messages

  • Hide multiple rows in a dynamic table based on the row value.

    Hi,
    I need to hide multiple rows in a dynamic table based on the specific value of that row.
    I cant find the right expression to do that.
    please help

    Go to the Row Properties, and in the Visibility tab, you have "Show or hide based on an expression". You can use this to write an expression that resolves to true if the row should be hidden, false otherwise.
    Additionally, in the Matrix properties you should take a look at the filters section, perhaps you can achieve what you wish to achieve through there by removing the unnecessary rows instead of just hiding them.
    It's only so much I can help you with the limited information. If you require further help, please provide us with more information such as what data are you displaying, what's the criteria to hiding rows, etc...
    Regards
    Andrew Borg Cardona

  • How to Hide some Rows in a List view Web Part using JavaScript ?

    How to Hide some Rows in a List view Web Part using JavaScript ?

     Here is the code that worked for me:
    var Elements = document.querySelectorAll('div[id=WebPartWPQ3] table[class=ms-listviewtable]>tbody tr .ms-vb-lastCell.ms-cellstyle.ms-vb2')
    for(var i=0, n = Elements.length; i < n; i++)
     if(Elements[i].innerHTML=="India")
    Elements[i].parentNode.setAttribute("style","display:none")
    WebPartWPQ3 -> ID of webpart Div
    ms-listviewtable -> class name of table in Div
    ms-vb-lastCell.ms-cellstyle.ms-vb2 -> classname of td to get text

  • Data doesn't display on Advanced List Pane in Embedded Component

    Hi Experts,
    I created an Advanced List Pane and attached a List Modification Form to create new entries for the list.
    If I click on the New Button, the List Modification Form opens where I can add data. However after I click on OK button, the new entries don't show up on the list. I created a Refresh button and even if I click the Refresh button, then also the list doesn't update with the values.
    The OK and Cancel buttons come up by themselves on the List Modification Form. Is there any way we can control them?
    Could there be some binding missing?

    Hi Horst,
    Attaching few relevant screenshots with bindings.
    Thanks and Regards,
    Sumeet

  • Coloring of advanced list pane cells

    Is it possible to color ceels in Advanced List Pane (UI table)?

    Hello,
    yes it possible. You have to select the the column in the advanced list pane, then select the "BackgroundColour"property and open the F4 help. With the calculation rule option you can insert a ruby script like this:
    if ($currentrow.quantity > 0)
        result = "GOODVALUE_MEDIUM";
    else
        result = "CRITICALVALUE_MEDIUM";
    end;
    You can find the color names in the "Fallback Value" option.
    Best Regards
    Andreas

  • Hot spot for field based on field value

    Hi,
    Im using ALV list to display report. And I have enable hot spot for that field based on field value. For example, If the field has value " 0 " then hotspot should be enabled for that field. If the field has value " 1 " then it should be displayed as normal field without hotspot.
    Can anyone tell me how to do this?
    Thanks,
    Amal

    Hi Amal
    Do this
    In your final internal table
    add a table type
    gi_cellstyles TYPE lvc_t_styl
    Then (while populating output)
    FORM prepare_edit_output.
    * say your field is 'field'
      DATA : lw_stylerow TYPE lvc_s_styl,
             li_styletab TYPE lvc_t_styl.
      IF gw_output-field = '0'.
        CLEAR lw_stylerow.
        lw_stylerow-fieldname = 'FIELD'.
        lw_stylerow-style     = cl_gui_alv_grid=>mc_style_hotspot.
        APPEND lw_stylerow TO li_styletab.
      ELSEIF gw_output-field = '1'.
        CLEAR lw_stylerow.
        lw_stylerow-fieldname = 'FIELD'.
        lw_stylerow-style     = cl_gui_alv_grid=>mc_style_hotspot_no.
        APPEND lw_stylerow TO li_styletab.
      ENDIF.
      INSERT LINES OF li_styletab INTO TABLE gw_output-gi_cellstyles.
    ENDFORM.
    In your layout building
        gw_layout-stylefname = 'GI_CELLSTYLES'.
    Pushpraj

  • Hiding a subform based on field value.

    Dear Friends!
      I am trying to hide one subform when I have certain value in text field. I tried following code but it didnt help me at-all. will it be possible for you to show my my mistake.
    the business case is I am not supposed to display Form 16 related information in payslip when payroll areas are 13 & 14 for other payroll areas form 16 should display.   here subformname is Form16.
    code:
    data.#pageSet[0].Page1.Form16.Form16::ready:form - (JavaScript, both)
    IF(data.page1.payslipheader.GV_ABKRS.rawValue == 13);{
       Form16.presence = "hidden";
    IF(data.page1.payslipheader.GV_ABKRS.rawValue == 14);{
        Form16.presence = "hidden";
    above code is not hiding Form16 subform.
    thanking you
    Regards
    Naim

    Hi Soumik,
    that is a easy issue. Create a condition, where you ask the value, if it is initial.
    In this discussion, exact your question is solved.
    Adobe forms: Hide table rows based on data
    or here is another way to solve your issue
    Hiding a table column for a particular condition
    This is the code you need:
    if ( this.yourvalue.rawvalue == " " )
       this.presence = "hidden";
    Please use the search, which is located in the upper right corner of SCN before open a discussion.
    Here you can learn more about it:
    How to use SCN search
    Regards
    Florian

  • Brf+ workflow configuration based on field values of UI

    Hello Experts,
    I would like to know if we can configure the BRF+ workflow steps for material to go to certain users based on certain values from UI fields . For example a particular material type (FERT) should go to specific processor . Can I add material type column in BRF+ for materials and assign specific material type values and assign users to that step. Is this possible?.
    Thanks.

    This is one of the most common questions. It will save you time if you perform some research before asking. Any way, review this document: How to-Master Data Governance for Material: BADI USMD_SSW_RULE_CONTEXT_PREPARE to Enhance User Determination which addresses your exact question.
    Also, for any future MDG questions, please take a look first at this document Configuration and Enhancement of SAP Master Data Governance as it contains many of the commonly required enhancements.

  • How do you hide one dimension from EPM context pane without locking it

    Hi Experts,
    Simple question: How can I programmatically (using vba) hide a particular dimension in the EPM context pane, without locking it?
    Following API's could be used, but they all have have a mandatory parameter for the dimension member... which locks the dimension... but I need it to stay unlocked!
    SetContextMember
    SetContextOptions
    SetContextOptionsForSeveralDimensions
    And no, I do not want to use the User option to hide the full context pane.
    Thanks for your advice.

    Hi,
    You can use Hide option to just hide required dimensions with out locking.
    EPM-->Options-->Context Options.
    Thanks,
    Raju

  • Select list coloured based on selected value

    Hello,
    Could anyone please tell me if it is possible to display a LOV with a background colour based on the selected value ?
    In fact , I have a report with many select lists whose value can be Y,N,N/A and I would like that the corresponding LOVs have the background colour set according to the value .
    Thanks in advance,
    Andreea
    Edited by: user12064977 on 20-Oct-2009 02:15

    Andreea,
    Lets assume your select list item name is P1_SL and return values as follows
    Display -  Return
    N/A     -  NA
    YES     -   Y
    NO      -   NEdit you page and put JS code similar to following in footer section
    <script>
    slval = $v("P1_SL");
    sl = $x("P1_SL");
    if(slval=="Y")
    sl.style.backgroundColor="#FFCC80";
    else if (slval=="N")
    sl.style.backgroundColor="#CCAA80";
    else
    sl.style.backgroundColor="#CCCC80";
    </script>So background color will be set on page load.
    Now edit your page and put JS code similar to following in HTML Header section
    <script>
    function setColor(this1)
    slval = this1.value;
    if(slval=="Y")
    this1.style.backgroundColor="#FFCC80";
    else if (slval=="N")
    this1.style.backgroundColor="#FFAA80";
    else
    this1.style.backgroundColor="#CCCC80";
    </script>Edit your select list item and set following for 'HTML Form Element Attributes'
    onChange="javascript:setColor(this);"So the select list color will be set accordingly 'onChange'.
    Cheers,
    Hari

  • How to hide one column in Alv if it doesnt contain any value

    Hi,
      In alv Grid if one coulmn doesnt conatin any value.I doesnt want to display in ALV grid.Is dat possible. Plz help.

    Hello Anu
    When you prepare your fieldcatalog check the column of the output itab for its contents, e.g.:
    " Itab GT_FCAT contains fieldcatalog.
    " Itab GT_OUTTAB contains ALV list data.
    " Condition: column "MY_COLUMN" should contain at least single value > 0
      LOOP AT gt_outtab TRANSPORTING NO FIELDS
                     WHERE ( my_column > 0 ).
        EXIT.
      ENDLOOP.
      IF ( syst-subrc NE 0 ).  " Column "MY_COLUMN" contains no value > 0, then hide column
        READ TABLE gt_fcat INTO ls_fcat
                  WITH KEY fieldname = 'MY_COLUMN'.
        IF ( syst-subrc = 0 ).
          ls_fcat-no_out = 'X'.  " not displayed, but visible in layout
          ls_fcat-tech = 'X'.     " not displayed, not available in layout
          MODIFY GT_FCAT FROM ls_fcat INDEX syst-tabix.
        ENDIF.
      ENDIF.
    Regards
      Uwe

  • Using jQuery to hide a button (wrapped in td tag) based on attribute value (name in this case)

    I have simulated what I'm trying to do here:
    http://jsfiddle.net/dayjuuk5/
    Let me know if you can't see it for any reason.
    My question- I'm not sure I understand why this method of hiding this td tag doesn't work. I'm looking for a way to hide this button on page load (not click driven).
    Thank you for your time.
    Samir

    Hi Samir,
    Thanks for your sharing.
    Best regards,
    Patrick
    Patrick Liang
    TechNet Community Support

  • Filtering out rows based on field value

    Hello,
    I have something like this:
    create table stuff
    avalue varchar2,
    anothervalue varchar2,
    thirdvalue varchar2,
    anumber number
    INSERT INTO stuff Values('abc', 'cde', efg', 2);
    INSERT INTO stuff Values('abc', 'cde', efgggg', 4);
    INSERT INTO stuff Values('abc', 'xxx', efg', 1);
    INSERT INTO stuff Values('abc', 'xxx', efgxxx', 2);
    INSERT INTO stuff Values('abc', 'yyy', efg', 2);
    I would like to recieve the rows with the higest 'anumber'-value, grouped by 'avalue', and 'anothervalue' (but not 'thirdvalue'). So in this example I want row 2, 4 and 5.
    Anyone have an idea? I'm thinking a 'order by desc' is not the best way here?

    select  avalue,
            anothervalue,
            thirdvalue,
            anumber
      from  (
             select  s.*,
                     rank() over(partition by avalue,anothervalue order by anumber desc) rnk
               from  stuff s
      where rnk = 1
    AVALUE     ANOTHERVAL THIRDVALUE    ANUMBER
    abc        cde        efgggg              4
    abc        xxx        efgxxx              2
    abc        yyy        efg                 2
    SQL> SY.

  • Accessing a list index in a field value

    Howdy all,
    I am setting up a field loop on a form I am modifying. It is the Question Login form. Instead of looping through all the questions, I am calling a rule to return a list of indexes. The indexes are actual int values. For the field names and values of the questions, I am using references that look like "questions[#$(index)].question". When I view the form using Tools -> Test, it is showing the right number of rows. When I view the form by pushing the "Forgot Your Password?" button on the IdM login, I don't see any of the questions. Does anyone have any ideas why this might be? It seems like it should work!
    Thanks,
    Jim

    Well, like most things in IdM, I was able to get it to work, sort of....
    I stopped trying to reference the rule, and instead unrolled the rule logic in the <expresion> for the field loop. This works pretty good. For the question display, my custom policy is now being played out. Basically we are requiring question #0. With the first question we prompt for an student ID value. Then two random questions chosen from the next 5 questions. Finally, the question at index #6, the first user supplied question is asked.
    So far so good.
    Now, the problem comes when I try to authentication using the questions! I was testing with the policy of all questions being required. This seemed not to work, every time I submited the new form, it would give me the error "One or more Questions not answered." Sooo... then I went back to the random question policy with the same number of questions I answered (4). This became problematic because now my questions[*] array only contained 4 random questions. There was no guarentee the ones I require were there, and my rules that generate random indexes were generating indexes greater then 3, so there was no guarentee that all 4 questions would even show. So now I've settled on the 'any' option for required questions. Here's where it gets weird. If I specify 4 required answers to any questions, then I ALWAYS get "You must correctly answer at least 4 questions". Which I am. 3 policy supplied ones and 1 user supplied question. I've double and tripple checked my answers, to make sure they are correct. If I set it to 3 questions then it sometimes works and sometimes doesn't. It is very inconsistant. Sometimes I'll answer all 4 questions and it will still say "You need to answer atleast 3 questions". I can't make it act consistantly at all. I'm pretty much out of ideas at this point....

  • Required Fields based on field value

    I am using Acrobat 9.1 Std. This is what I am trying to accomplish I have four text fields that I want to make required based on the selection of a radio button group.
    I have two radio buttons on the form w/ the same name w/ the button value set to Yes for one and No for another. If the radio button w/ value Yes is selected I want to set the four text fields to required. If the radio button value is No the text fields should be optional.
    Ive found similar postings for what I am trying to accomplish; however, I havent had any success in getting it to function correctly.

    Some more information on what I have tried..For simplicity Im just trying to get one text field to work, then I can repeat the java code for the other text fields.
    In acrobat Standard 9.1 I go to Forms Add or Edit Fields from there I select the radio button group (contains two radio buttons) on the left column and select properties. Then on the radio button properties dialog box I select the Actions tab. Set the Trigger for Mouse Up and the Action for Run a JavaScript . I click the Add button and enter the following into the JavaScript editor:
    if (this.rawValue == "Yes") {
    TextField1.validate.nullTest = "error";
    xfa.layout.relayout();
    else {
    TextField1.validate.nullTest = "disabled";
    xfa.layout.relayout();
    I then close the JavaScript editor, save the form and re-open to test it. I select the radio button w/ value Yes and click the Submit button and the form goes on to submit. At this point I would expect it to error because I didnt fill in any value for TextField1.
    I also tried altering the field tag with the below java:
    if (this.rawValue == "Yes") {
    TextField1.mandatory = "error";
    xfa.layout.relayout();
    else {
    TextField1.mandatory = "disabled";
    xfa.layout.relayout();
    This also didnt work. Im not sure if I am using the correct tag or not or why I am unable to get the text field to become required for submission.
    Any help would be greatly appreciated.
    Thanks,

Maybe you are looking for

  • Oracle.forms.webutil.file.FileFunctions bean not found

    Please i need help to configure and use webutil. I did all things that are in this blog: http://baigsorcl.blogspot.com/2010/01/open-file-dailog-box-example-using.html Do I need to do all of this in the server? or in the machine where i am developing

  • How soon will IOS 7 be upgraded?

    I've tried everything in order to downgrade IOS 7 back to IOS 6.1.4 for my Iphone 5 but apparently this is just not an option for a public user. (It seems that beta testers were able to restore IOS 6 until IOS 7 was released to the public but not now

  • Error Report/Crash Ind CS3/Pagermaker 7.0/can't PDF/or use distiller

    In both Adobe Indesign and Adobe Pagemaker I get an error saying....Indesign.exe has encountered a problem and needs to close. We are sorry for the inconvenience. "If you were in the middle of something, the information you were working on might be l

  • Cisco ISE integration with AD fails

    Cisco ISE Ver: 1.1.2.145 Windows : Win 2003 Server I am attempting to integrate ISE with AD, but ISE won't join AD and joining attempts fails, though I am able to add same domain as external LDAP identity store ? 1.user used to join the domain has ad

  • Problem in events

    Hi, There are two tabs in my selection screen ,when I enter the values in first tab and click the execute button ,ALV is shown.After showing the ALV when back button is clicked ,it will come to the first tab.Uptill this point program is working fine.