OSA : Hide row element depending of specific condition

Hello,
We are using the BSP OSA, and there is requirement to hide some of the criterion depending on the ee. subgroup and other business criteria. I am aware of the configuration for "Element Access" but it is tied to the roles of the participants. I am not aware of any BADI for this (there is one for column but not for row). I wonder if there are better ways to achieve this than to intervene via modifications to the BSP, HAP_DOCUMENT ? Any ideas, much appreciated. Thank you.
Regards
Kir Chern

Hi Kir Chern,
Yes exactly but I am looking at it the other way round. Instead of trying to restrict the element based on employee characteristics, why not limit the employee to view only particular elements based on characteristics. I hope I have not confused you, I have understood what you are trying to achieve, let me know if you want more details.
This would obviously involve hard coding of elements, which could have implications if you are going to create a new version of the template every year for instance.
Regards,
Priya.

Similar Messages

  • Hide poplist element depending on another form column

    Hello everyone,
    In a nutshell: I’d like to know how to hide (or show) elements in a poplist, depending on the value of another column on the FORM.
    I have a FORM where I have the following columns:
    1)     ISNONSYN…can have values ‘Y’ or ‘N’
    2)     ISIDSERTAIN…has a poplist (set of static values) with values ‘Y’, ‘N’, or ‘-‘
    3)     5 other columns
    What I need to is as follows:
    If ISNONSYN = ‘Y’ then
         * The poplist for ISIDCERTAIN must only show ‘Y’ and ‘N’ in the dropdown. Do not show the ‘-‘
         * The 5 columns should be fully updateable
    ELSE if ISNONSYN = ‘N’ then
         * Default ISIDCERTAIN to the value ‘-‘
         * Make ISIDCERTIN and the 5 columns non enterable and non navigable
    END IF
    So that’s it….
    If I come into the form with ISIDCERTAIN having ‘Y’, ‘N’ and ‘-‘ in it’s dropdown…how do I HIDE the ‘-‘ when I scroll to a row where ISNONSYN = ‘Y’? In this situation, the value of ‘-‘ must not be seen in the drop down.
    I created a pre-form trigger where I did a
    DELETE_LIST_ELEMENT(‘ISIDCERTAIN’,3); to remove the ‘-‘ from the poplist.
    It all worked fine with rows having ISNONSYN = ‘Y’, but whenever I scrolled to a row with ISNONSYN = ‘N’, a WHEN-LIST-CHANGED trigger on ISNONSYN will check the value of ISNONSYN. If it = ‘N’ then it will do 2 things to ISIDCERTAIN (as well as making the other 5 columns unenabled):
         1) :<blockname>.isidcertain:= '-';
         2) set_item_property('<blockname>.ISIDCERTAIN',ENABLED,PROPERTY_FALSE);
    BUT... when I try to commit, it says that the value’-‘ is not a valid value for ISIDCERTAIN!
    So, I need some way to DELETE_LIST_ELEMENT or ADD_LIST_ELEMENT on the fly for each row – depending on the value of ISNONSYN…unless there is a way to leave ISIDCERTAIN with the 3 values of ‘Y’,’N’ and ‘-‘; but somehow just HIDE the ‘-‘ when ISNONSYN = ‘Y’. Can I modify the WHERE clause somehow?
    Any assistance that anyone can give me would be greatfully appreciated...
    We’re using FORMS 6. We actually do 100% generation here (must be 1 of the last sites in the world!). We make all our changes in DESIGNER and generate the form from there. But if someone can tell me how to do what I need to do, in FORMS; I should be able to work out how to get it into DESIGNER for generation.
    Thankyou…Tony Calabrese, Adelaide, South Australia

    Mark, thanks again for persisting.
    I think we're very, very close...but just not quite there.
    In your 2rd sentence, you state:
    "Question: At this point, which element does ISIDCERTAIN show as selected?
    Answer: I think it is (or might be) '-' "
    This is not correct. At no point do I select the '-' from the poplist. It is the 'Y' that is on the form when the 'NNN deleting now' message comes up
    Nonetheless, I included the statement as you suggested.
    I included the :
    :flsp7.isidcertain := null;
    at the place in the code where you suggest.
    The result was still a:
    FRM-41331 Could not delete element from ISIDCERTAIN
    Mark, I found this on metalink...could this have something to do with it? I am INSERTING a new row when I choose the poplist values:
    Subject:      FRM-41337 When Populating List with Record Group
         Doc ID:      Note:2075384.6     Type:      PROBLEM
         Last Revision Date:      20-OCT-2005     Status:      PUBLISHED
    Problem:
    FRM-41337 WHEN POPULATING LIST WITH RECORD GROUP DURING RUNTIME
    The code compiles fine. Getting the error intermittently.
    Solution:
    Trying to change a poplist's values based on a record group while the block status is set to
    CHANGED or QUERY. This can be only when the status is NEW. If forms is in QUERY
    OR CHANGED mode it needs to display some info. Changing the list elements could cause
    problems with displaying the info that is already there. So, it cannot be done.
    To get around this problem, ensure that block status is NEW mode when updating the List.
    This prevents on the fly updates. Alternately use LOV for fly updates.
    And Mark....as well as raising this issue here on OTN, I also raised it in METALINK. Someone over there has suggested a different approach - using RECORD GROUPS :
    https://metalink.oracle.com/metalink/plsql/f?p=200:27:5275918850865978815::::p27_id,p27_show_header,p27_show_help:702091.994,1,1
    I think we were getting pretty close there too...but alas...
    Thankyou again,
    Tony Calabrese

  • Subform -Hide depending on a Condition

    Hi,
    How can we hide a subform depending on a condition?
    I mean if my internal table for that entry in initial.It should not display the subform.
    Also,
    I want to get rid of all outside boxes borders in output and have vertical lines which needs to be ending dynmically?
    Can we get it through line from library?
    rgds
    vara

    Hi Vara,
    1) How can we hide a subform depending on a condition?
       I mean if my internal table for that entry in initial.It should not display the subform.
    In the event "form:ready" of your table subform write the condition like:
    if (internaltablesubform.field.rawValue == null)
        subform.presence = "hidden"; (Subform full path which u want to hide)
    else
      subform.presence = "visible";
    2) I want to get rid of all outside boxes borders in output and have vertical lines which needs to be ending dynmically?
    Can we get it through line from library?
    If I understood your question correctly, for all of your fields you dont want to have borders like a box but you want to have one vertical line at the end of the each field.
    for making your fields with out border you can do the following:
    select the field and from the object paletet, go to field tab there you can find the option "Appearance"
    there select none.
    If you want to get vertical line at the end of the text field: select option "Custom" from the same "Appearance" there you can change the edges individually.
    And  for setting dynamically , under Layout option beside Object, there are options called "expand to fit"
    for both width and height so you can select  those option which ever is applicable for you.
    Hope it should solve the problem.
    Regards,
    Ravi.D

  • Report Painter - cannot hide an element selected for the drill-down report

    Dear Experts
    I am using report painter to modify a report by trying to hide a row but getting the following error.
    You cannot hide an element that you selected for the drill-down list
    Message no. K7186
    Diagnosis
    You cannot hide elements that have already been selected for the drill-d
    System Response
    The function was canceled.
    Procedure
    Deselect the relevant row or column from the drill-down list.
    It says to deselect the relevant row from the drill-down list, but not able to find out how do i do it.
    kindly please help me to solve it
    thanks in advance
    Suresh

    Hi,
    If you are asking me whether i am trying to hide the row in the report painter form or in the output of the report, then, yes i am trying it in the report painter.
    I copied this standard form  '0SAPRATIO-01' for Cash Flow statements-Indirect method(tcode FSI5) and trying to modify the copied one. I tried to hide an existing row but it gave me the above message.
    any help?
    Suresh
    Edited by: rasuresh on Aug 10, 2010 12:44 PM

  • Hide row and cell by cell formatting

    Hello,
    I am new to both diadem and VBS and I am having difficulties in translating calculations between excel and diadem.  I know that diadem doesn't have the same cell by cell formatting that excel does but is there a way to either hide rows that do not meet a certain condition or a way to say use an equation of the form
      =IF(H5> 0,J5+M4,0), where H is the conditional column and M is the resultant column?
    Thank you

    Hello ccimac,
    You might want to look at the IIF function to help you solve that particular problem,
    Example:
    Call Calculate("Ch(""ResultNV"")=IIf( Ch(""Channel1"")>1,Ch(""Channel1""),NoValue)" )
    This will create a NEW data channel called ResultNV that checks (in this example) whether a channel called Channel1 is larger than 1 or not. If it is, the value will the the actual channel value, if the values are smaller than 1 the software will replace the values with a NoValue - which is DIAdem's way of saying that a "cell" contains invalid values.
    Does that work for your question? Feel free to ask if you have further questions,
         Otmar
    Otmar D. Foehner
    Business Development Manager
    DIAdem and Test Data Management
    National Instruments
    Austin, TX - USA
    "For an optimist the glass is half full, for a pessimist it's half empty, and for an engineer is twice bigger than necessary."

  • How to hide rows?

    Hello folks,
    I just would like to know that how to hide rows except dbms_rls package? I mean, it has been said that I can hide rows to create views but lets said that I have got 200 students and each student can see only their rows in students table, in that scenerio I have to create 200 views, isn't it? I just would like to learn that how to hide rows with using views? Do you have any ideas?
    Note: I know dbms_rls package, except this solution I am tryin to find onather solution.
    Thanks a lot.

    Hi,
    Polat wrote:
    Hello folks,
    I just would like to know that how to hide rows except dbms_rls package? I mean, it has been said that I can hide rows to create views but lets said that I have got 200 students and each student can see only their rows in students table, in that scenerio I have to create 200 views, isn't it? No! As you realized, that's not practical.
    If every student is a separate Oracle user, the USER fucntion will return the name of the current user. A view definition can reference that function, like this:
    CREATE OR REPLACE VIEW view_x
    AS
    SELECT   *
    FROM    table_x
    WHERE   student_account  = USER;If you logged in to Oracle as POLAT, then the view will contain only rows where student_account='POLAT'.
    If you logged in to Oracle as SYSTEM, then the view will contain only rows where student_account='SYSTEM'.
    If students do not have thier own Oracle accounts, then they are probably authenitcated by some procedure in your package. That procedure can set a SYS_CONTEXT variable, or write data to a global temporary table, which you can then use instead of the USER function in view definitions.
    Note: I know dbms_rls package, except this solution I am tryin to find onather solution.Why can't you use dbms_rls, or why don't you want to use it? It's a very powerful tool, and not vey hard to use.
    I'm not saying there's never a good reason not to use dbms_rls; I'm just asking if you have one.
    I hope this answers your question.
    If not, give a specific example of what you want. Post CREATE TABLE and INSERT statements for some sample data for all tables involved. Identify 2 or 3 different students, and show what the contents of the view should be for each student, given the same sample data. If students do not log in to Oracle with their own usernames, then explain how you know which student is currently logged in.

  • Can't hide rows; not fully compatible with Excel files

    This program has not been fully thought out in its design. I wish I had not bought it; I mistakenly assumed that Apple would have made it fully compatible to other spreadsheet templates, with basic features equal to Excel.
    If I want to use this program in my business, I have to rewrite my spreadsheet templates!!!
    I will certainly think twice before paying good money for Apple software that is supposed to replace other business software, if I bother considering it at all.

    Hi Glenn,
    Welcome to Numbers. Yes you can hide rows and columns.
    What I do is this:
    1. To hide row 8, move mouse over the number 8 for row 8
    2. You'll now see a drop down arrow to the right. Click on the arrow you'll see Hide Row.
    3. The same technique applies to columns as well.
    To further help you allow me to suggest reading the Numbers help file. Quote:
    Hiding Rows and Columns
    Hide specific rows or columns when you want to avoid showing or using them but don’t want to delete them. While a row or column is hidden, it can’t be reformatted, merged, split, or otherwise manipulated. However, any formula that uses a hidden cell isn’t affected, and sorting takes hidden values into account.
    To hide a row or column:
    Choose Hide Row or Hide Column from a row or column reference tab’s pop-up menu.
    To show hidden rows and columns, choose Table > Unhide All Rows or Table > Unhide All Columns.
    Rows or columns that are hidden in Numbers tables aren’t visible when the tables are copied into other iWork ’08 applications. To see the hidden rows, select the table and choose Format > Table > Unhide All Rows or Unhide All Columns.
    Unquote
    It's my hope all the above helps you. If this isn't what you're looking for then I've misunderstood your question so please post back. If it is what you're looking for please let us know as well.
    Sincerely,
    RicD

  • Hiding text depending on the condition

    Hi All,
    I am new to reports, I want to know how can I hide and show text information depending on the condition....
    Thanks,
    Pavan.

    Then, u should kindly mention it pls to help others and state the version of reports u r using..!
    Regards,
    Abdetu..

  • ADF Mobile: What is the row element of AmxAccessorIteratorBinding ???

    I can obtain the iterator, but methods don't give any clue.
    What shall I cast AmxAccessorIteratorBinding.getCurrentRow or BasicIterator.getCurrentRow ???
    None returns any specific type, all are Object.
    When I capture by propertyListener, it's the same...
    <amx:setPropertyListener from="#{bindings.srvIterator.currentRow}"
    to="#{pageFlowScope.currentRow}" type="action"/>
    Any ideas? What is the exact type to cast a row element?

    Hi,
    I suggest to use AmxIteratorBinding.getIterator() to obtain an instance of BasicIterator as it provides some additional methods and functionality.
    Frank

  • SALV - Hide rows based on certain condtion

    All,
    I have searched a lot in this forum this answer, but could not find any nearest one.
    I am using CL_SALV_TABLE (SALV) for an ALV report. I wanted to hide some rows based on some condition say for example
    in the ALV one of the column is MATNR say i wanted to hide rows that having MATNR less than 1000.
    How we can do this ?
    Thanks

    Good day, everyone!
    Ive faced the same issue - I either have to hide a row or to change subtotal line manually.
    Have anyone solved this already?
    PPShinde wrote:
    HI!
    > I think u first calculate total in internal table. save that totals into some veriable and then remove those lines which u dont want to show from internal table and then calculated total append into that internal table .
    > I thinks it will work!
    > all the best!
    I can't find anything that looks like a table for subtotals - they are counting somewhere inside SALV.
    Or, maybe, you know something that I dont?
    Clemens Li wrote:
    If people insist on the requirement, disable SUM and create your own total line.
    Add my own total line? How can I do this?

  • Can't omit both the rowset and the row element?

    consider the simple document below. Notice that row-element and
    rowset-element are both empty, so neither type of element will
    be generated. Also notice that the xsql:query tag is embedded in
    other tags.
    I get "oracle.xml.sql.OracleXMLSQLException: The row enclosing
    tag or the row-set enclosing tag is ommitted; consequently to
    get a well formed XML document, the result can only consist of a
    single row with multiple columns or multiple rows with exactly
    one column each." However, in reality the result will be a valid
    XML document because I enclosed the query in a single top-level
    <table> tag. So the error checking code in the XSQL servlet is
    generating a generating a false positive (that is, seeing an
    error that isn't there).
    My question is, how can I work around this problem? I know I can
    let the servlet generate a rowset element and use an XSLT
    stylesheet to remove it but is there a another way?
    Thanks,
    Brian
    By the way, the "numbers" table contains the numbers 1-1,000,000
    and so it can be used to generate multiple copies of the output
    of any query. In this example, I expect to get 55 <th> tags in
    the output (yes, my HTML table is really that wide), all nested
    in a single <tr> tag which is nested inside a single <table> tag.
    <table connection="XXX"
    xmlns:xsql="urn:oracle-xsql"
    xmlns='http://www.w3.org/1999/xhtml'>
    <tr><th rowspan='2'>ID</th>
    <xsql:query rowset-element=''
    row-element=''>
    <![CDATA[
    SELECT 'fvc'          AS "th"
              , 'fev1'     AS "th"
              , 'fef25_75'     AS "th"
              , 'fev1/fvc'     AS "th"
              , 'vc'          AS "th"
              , 'tlc'          AS "th"
              , 'rv'          AS "th"
              , 'frc_n2'     AS "th"
              , 'frc_pl'     AS "th"
              , 'erv'          AS "th"
              , 'dlco'      AS "th"
         FROM numbers
         WHERE n < 5
    ]]>
    </xsql:query>
    </tr>
    </table>

    In XML, single quotes are equivelent to double quotes. This
    enables you to have attribute values like "That's Neat" and
    'About 2" Long'.
    The problem is that an xsql query can only return a tree as a
    fragment (e.g. there must be one root element). I think this is
    too restrictive.

  • How to make repricing for specific conditions at the time of billing?

    Hello
    I'm SD Pricing person. Let me ask here experts below my concern.
    In EU countries, there is recycling fee in sales of electronics or Note PC with batteries....to keep our earth clean.
    So when customers buy such products, they have to pay more as recycling fee including invoice amount.
    My question is... we want to make repricing for recycling conditions when the billing is created.
    Based on our configuration, recycling condition is not defined as a kind of tax condition.
    So this value is just copied from sales order.
    (pricing type in copy control is 'G' which means repricing for tax condition.)
    In this situation, we want to make repricing for those conditions during operating system.
    Is there any easy way to cover this?
    As I think, this is not easy because the system is already operated.
    To change condition attribution is really risky. If we dare do, we have to migrate all open orders.
    So I want to put this way to the end of my choice.
    For this requirement,
    1. We have to change condition class or category or calculation type in order to be repriced based on pricing type 'G'.
        (ex. Set the condition category as 'I' inter-billing or 'L' always repricing.)
        But transaction data are created now and all open orders will be affected.
    2. To create new conditions are not easy because these conditions are mapped to the CO-PA value field and the values are posted in FI doc.
    3. To change pricing type in copy control is almost impossible because of the impact.
    What can I do this in this situation?
    What I want to do is just to make repricing for specific conditions at the time of billing in case that pricing type of copy control is 'G'.
    Thank you in advance.

    Let me ask agagin to all experts.
    I want to make A condition to be repriced at the time of billing.
    For this, I have to set condition category as 'L' (Generally new when copying).
    But I do not want to do in that way becauuse I am maintaining big operated system now.
    In addition, though I migrate open orders after changing config. as 'L', it is almost impossible for use to migrate because we have more than a thound open orders per a DAY as Globalized system.
    That is why I am asking.
    Simply I can create new condition but as I mentioned, there are various recycling fee so we already created about 10 conditions. And this recycling conditions are linked to REA package of SAP. So creating another 10 more conditions can not be a way for us.
    At last, what I want is not to be shown this condition only in billing doc.
    'A' condition should be displayed in both Sales order and Billing doc.
    And simultaneously, when the billing is created and if user changed 'A' condition master, then new value which is different from sales order have to be reflected in billing doc.
    Thank you in advance.

  • Problem in Sales Order with specific condition type.

    Hello Experts,
    I'm facing a problem in sales order creation for a specific condition type.
    the actual scenario is as below,
    We have created a new condition type for special discount.This condtion type is applicable only for specific sales channels.Also the discount percentage has to fetched from a custom table.
    To achieve this I've written a user exit "RV64A999"
    In the FM, i've calculated the subtotal and fetched the discount percentage and calculated the discount amount. After implementing this, the SO were been created properly. for all the line items the discount amount was getting calculated properly.
    But then I added a condition at the top of code in exit that the calculation for the new condition type should happen only for selected sales channels.
    But after adding this condition in code, i'm facing problem. Now when I create/ change any SO, the discount amounts are getting calculated incorrectly. I'm getting discount amount even if the line item subtotal amount is zero (0).
    Any help or pointers reagrding this issue will be very helpful and highly appreciated.

    Hi ..
    Check your config. again or debug the routine code with your ABAPer and find the problem area.
    -Maharshi

  • In numbers, can i hide rows of data in a chart and still have that data show up in my graph?

    In numbers, can i hide rows of data in a chart and still have that data show up in my graph?

    yes.
    To hide rows (or columns), select the rows (or columns), then right click in the row (or column) tab to expose the contextual menu.  Select the menu item "Hide ..."

  • Hide row values for certain column in GRR2

    Hi Experts,
    Looking for some help in report painter. I need to hide row values for certain columns in report painter. The requirement is I have 5 columns in the report, the 5 th column is the sum of col 1 to 4 and in my row i have a formula setup to sum of values for each column, what i would like to do is for column 1 thru 4 i didnt want to display the total values in row total but i wanted to dispaly value for column 5 in row total. I have been trying my best with putting formula, but couldnt succeed.
    Could somebody let me know is there an way to get this addressed.
    Thanks in advance
    Best Regards,
    gj

    How was it achieved ? Did you use sections for the columns for which rows needed to be hidden?
    I have a smiliar issue of hiding certain rows for few columns.

Maybe you are looking for

  • Not able to post GR from SRM portal

    Hi, We are trying to post GR from SRM portal but getting below errors. 1) document type AA is not defined 2) check account assignment category. Purchase order is classic type and having account assignment type as asset. Is there any config which will

  • Should I buy a new MBPr 15 or stay on iMac 2011?

    The thing  is, that I am not really sure, should I buy this machine or not, because actually I am a film-maker and currently I have an iMac (2011), and looks like I will work in the field in the future. So I am considering of buying a base MacBook Pr

  • What could be causing import error?

    I purchased a GoPro HERO helmet-mounted digital camera and connected it to my MacBook (OS X 10.5.8) with iMovie (7.1.4) using a USB cable. The camera produces MP4 files which are visible in finder. When I open iMovie it identifies and displays the mo

  • Select option for a character type field

    Hi all as per my requirement i have a selection for a data type char40 Hence in my wddoinit method i used the following code to generate the select options in WD create a range table that consists of this new data element   LT_RANGE_TABLE = WD_THIS->

  • Incoterms in Purchase info Record

    Incoterms from Vendor master data not flowing to Purchase info record Is there any setting to make the incoterms from XK01 to make it flow to ME11??