XStep conditional formatting. Can it be determined at run time ?

Does anyone know of a way to put conditional formatting into an XStep generated table output. For example, this is what we are trying to do:
- At some point after an order is generated and released, materials are issued to it.
- We have created a function module that reports back the list of all materials issued.
- The FM also checks to see if the material was planned in a reservation.
- If a material issued was not a planned material we want to list it in RED.
In the XStep repository, I can simulate a table output using parameter PPPI_FRAGMENT_HTML, and can change font color by giving it a value like
<div style="color: red">TEST123</div>
And I get TEST123 displayed in RED.
I also get TEST123 displayed in red on the generated PI sheet, if I put the put the HTML string above into the XStep as a fixed value.
But if I program the FM to return this string, then I get the entire string output in the table field and the font color is not changed to RED.
Edited by: Mike Rupp on Oct 14, 2011 6:31 PM
Edited by: Mike Rupp on Oct 14, 2011 6:36 PM

I got a response at the XStep Cafe and thought it might help others if I share it here.
Arne Manthey:
I assume that you are also using PPPI_FRAGMENT_HTML for the parameter to which the FM returns your string. If you valuate this parameter manually it is internally handled as a long text. However the function module will most likely return just a string value and these are probably not recognized as a long text. I do not have any idea how to valuate a long text with a FM when the PI Sheet has already been generated. The only thing I did successfully was to generate HTML text during generation (although not with XSteps). But in your case this would not help, yes?
The general problem with long text elements is that they are really meant for initial valuation only and not for changing back and forth.
Another way of doing conditional formatting would be to use some Stylesheet magic which evaluates a status parameter you would set by a function module. This would most likely also include some Javascript to make the change happen. Please follow that path only if it is really necessary because Stylesheet stuff is not easy to handle.
mrupp:
Thanks Arne.
We decided to just add an additional table column with an alert message when needed to flag Unplanned Materials and/or Expired Shelf Life. I have played around with Stylesheets & Javascript a bit and agree that it is not worth it in this case.

Similar Messages

  • Number of participant after activity completion is determined at run time.

    I have a scenario
    1. Let there be 5 roles A,B,C,D,E
    2. Role A initiates a process, and it goes to B and C(in different roles) simultaneously.
    3. When both B and C approves this, it will go to next participant D and E. However if only one of them approves, then the process instance must not go forward.
    4. Also the number of groups to whom the process, flows is determined at run time.
    Please let me know, how to achieve this task. Any suggestions will be welcomed and appreciated.
    Regards.

    You'd use a parallel gateway with complex gateway at the join. In the complex gateway you'd have an expression to continue when first flow completes (activationCount == 1) and select "Abort pending flows". That would have the scope end when the first flow completes. Docs are at:
    http://download.oracle.com/docs/cd/E21764_01/doc.1111/e15176/model_bus_procs_bpmpd.htm#CJABIBCB
    Section 6.7.5

  • Is it possible to conditional format more than one cell at a time?

    I'd like to use conditional formatting to compare the value in cell E3 with the valve in cell D3.  Then I'd like to copy the conditional formatting rule I made in cell E3  to cells E4 E5 E6 E7 ETC.  I'd like the E4 to compare to D4. E5 to compare to D5 and so on.  Is there an easy way to do this other than creating the rule for each cell?

    Easier, yes. Instant, no.
    Assuming the only thing that will change in the rule from one cell to the next is the reference to the comparison cell, do this:
    Select all of the cells to be formatted.
    Set the comparison rule to apply to D3.
    At this point all the selected cells in column D will base their conditional formatting on a comparison with the value in E3. The next step is to edit the rules for D4, D5, etc.
    Select cell D4.
    In the rule statement, click on the cell reference E3 to select it, then click on the correct comparison cell for the selected cell (E4 for D4) to replace the reference.
    Repeat with the next cell in column D.
    Regards,
    Barry

  • Data type determined at run time, how to provide the input type in advance

    Hi all,
    Here I have a requirement:
    on my UI, there is an inputfield which receives user's input. But the data type can't be known at design time.
    But I need to bind a context attribute to the inputfield first at design time, which data type should I use( the inputfield can recevie
    data of any type ) ?
    and how to convert the this data type into different data type( can be any type )?

    Hello Aaron,
    There can be a workaround for your requirement.
    you can assign a char data type to that field since Char can accept all characters, numbers, special symbols.
    But, you need to do validations later on the see if it is a number or all alphabets and accordingly you can assign that field to any data type  by doing little bit of manipulations.
    Hope this helps.
    Regards,
    Anand

  • Can I use the labview run-time engine 2010 with my LV 2012 program?

    Hi all,
    I will receive the new Labview Developer Suite 2012 DS2 in a few days and
    I am wondering if it is possible to run LV2012 programs on the LV run-time engine 2010 or is it necessary to update all my clients from run-time engine 2010 to 2012?
    Stay Hungry, Stay Foolish
    Solved!
    Go to Solution.

    Hi Benjamin,
    You will not be able to use the LabVIEW 2010 run-time engine with LabVIEW 2012 applications.  Versions of run-time engines need to correspond with the version of LabVIEW that you have installed.
    The following links direct you to our download pages for the run-time engine:
    The 32-Bit Run-Time Engine can be downloaded from our website as can the 64-Bit Run-Time Engine, depending on which version of operating system you, use by clicking the link under "Standard Download".
    Hope this helps.
    Marshall B
    Applications Engineer
    National Instruments UK & Ireland

  • Based on the input parameter can OBIEE select table at run time

    For e.g if we select monthly from the drop down then the same report must fetch data from monthly report
    and at the same time if a persons selects daily then the same reprot must fetch data from daily table.

    Let's assign a presentation variable to the drop down values i.e. var_Status
    Now in functionality of the column that you want to change it's functionality dynamically depends on your selection... write this formula
    case when '@{var_Status}' = 'Daily' then Table1.Col1 else Table2.col2 end
    Because of this.. we can't have dynamic column heading for this column.
    One more approach is: Same Presentation variable but with Sectional Guided navigation properties.
    see here: http://oraclebizint.wordpress.com/2008/01/17/oracle-bi-101332-selecting-reports-from-dashboard-prompts-and-guided-navigation-sections/
    You have to develop 2 reports for this..
    Regards
    Kishore Guggilla

  • Where can I download the Crystal Run Time for Windows Server 2008 64 bit ?

    Hi,
    Where can I download the Crystal Reports 08 RunTime for Windows Server 2008 64 bit ?
    Rock
    Edited by: Rock_1234 on Aug 5, 2009 9:25 AM

    Thanks all for your replys.
    As I know there is no Crystal Reports 2008 runtimes for 64 bit machines, there are only 32 bit runtimes for that product.So,I need to know when will be the 64 bit runtimes will be released or will be available.
    Also,for the CR bundled with VS 2008 (10.5), there are 64 bit runtimes which you could find on your development machine under -
    ' C:\Program Files\Microsoft SDKs\Windows\v6.0A\Bootstrapper\Packages\CrystalReports10_5\CRRedist2008_x64.msi '
    When will be 64 bit runtimes for CR 08 will be available?
    Thanks

  • Can't find class at run time

    i have equation.dtx , equation.class and equationImp.class in my web project at respective places.
    I am trying to use equation.class programatically in one of my ejb which is in another ejb project. at compile time the ejb gets the equation.class and build's succesfully but when i run the program it's give me error
    "java.lang.NoClassDefFoundError:" for equation.class.
    Can anybody tell me what is the root cause of this problem and how can i fix it.
    all opinions are welcome
    Thanks in advance

    I am also getting the same <b>NoClassDefFoundError</b>.I ensured the ejb jar is in classpath. I set that from Weblogic Builder.Can anyone help me??
    Thx in advance.

  • Members on rows, can they be passed to run-time prompt in a business rule?

    Hi!
    I have a input form which has a business rule with properties "Run on Save" and "Use members on Form".
    The business rule has run-time prompts (local variables) as follows (showing only the fix part of br...)
    FIX ([V_Year],[V_Version],[V_Scenario],@LEVMBRS ("Offering", 0),[V_Entity],
    [V_ICP], [V_Account])
    calculation...
    endfix
    Now my accounts are on rows and I would like pass those account members to the [V_Account] variable through run time prompt. The [V_Account] ís a local variable with Type "Members" in Account dimension. I have also selected 0-level accounts as limits. Other dimension members from page/pov seem be passed successfully to run-time-prompts.
    The run-time-prompt does not seem to be able to catch those account members on rows? Is it at all possible to pass members on dataform rows to run time prompts?
    kind regards,
    user637777

    Hi!
    Thanks John!
    I just have live with that and find another way to restrict the calculation regarding those accounts.
    kind regards,
    user637777

  • Is there any option to be set so that the multicolum​n list box column and row can't be editable on run time

    In my application i am using multicolumn list box. Usually while running the program the column width is editable.
    in my program i should be able to select or hightlight the row , but should not be able to edit the row or column size.Is there any property node that have to be set so that the multi column list box colum widthshould not be  editable while the program is running.
    binoy

    Can't you just right-click and disable column resize?
    Message Edited by Michael Aivaliotis on 09-19-2005 11:54 AM
    Michael Aivaliotis
    VI Shots LLC
    Attachments:
    multicolumn.gif ‏10 KB

  • Conditional formatting in report designer.

    Hi All !
    What is conditional formatting & how to do it ?
    does it act like condition which we do in BEX query designer ?
    Can we restrict values using this at the report designer level ?
    Regards
    Tom.

    Hi,
    Conditional Formatting: You use this function to set a design that deviates from the design for selected characteristic values, hierarchy nodes, and so on, that is set by the default row patterns.
    Conditional formatting can only be applied to characteristic values in dynamic sections of a data provider. A query (or query view) with one or more characteristics in the drilldown forms the basis of a data provider with a dynamic section.
    Take a look at the URL below:
    http://help.sap.com/saphelp_erp2005vp/helpdata/en/43/f4b8c3a7dd7065e10000000a1553f6/frameset.htm
    Regards,
    Kishore
    Message was edited by:
            Kishore Sivakumar

  • Ok so i'm trying to do a conditional format on numbers if (cell a2) = greater than or text then make the same cell or another cell do something. Does anybody knows how to do that on numbers. thanks.

    hi I'm from Italy.
    ok so i'm trying to do a conditional format on numbers if "a cell" = greater than or text then make the same cell
    or another cell do something like insert a number or change color.
    Does anybody knows how to do that on numbers?. thanks.

    Among the things you'll learn from the User Guide:
    Conditional formatting can be used to change the style of the text in a cell and/or the fill colour of the cell.
    A formula may be used to set the value in a cell. In both cases, the format rule or the formula affects only the cell to which the rule is attached or which contains the formula. Neither values or formats may be 'pushed' onto another cell.
    Regards,
    Barry

  • Conditional format based on date

    Hi,
    I want to keep track of reports that my students need to turn in. The due date is set, but should turn red 10 days before the actual due date, so I can double check with the student if he started work on his report. Once the report was turned in, the due date should become grey or black. Here's an example:
    Report
    Topic
    Due date
    Finished
    A
    XX
    Jan 26, 2012
    Jan 25, 2012
    B
    YY
    Feb 5, 2012
    C
    ZZ
    Mrz 11, 2012
    C3 is read, because its due date is less than 10 days away. C2 is black, because it has been finished on time. C4 is black, because its due date is more than 10 days away (from the perspective of today, Jan. 27th)
    While conditional formats can be set based on dates and relative dates, it doesen't allow to compare actual date to a date calculated from a cell, as far as I can see.
    Any help with this is very appreciated!
    Thank you!

    Maybe this sample may fit your needs :
    One more case where Numbers User Guide is helpful.
    Yvan KOENIG (VALLAURIS, France) vendredi 27 janvier 2012
    iMac 21”5, i7, 2.8 GHz, 12 Gbytes, 1 Tbytes, mac OS X 10.6.8 and 10.7.2
    My Box account  is : http://www.box.com/s/00qnssoyeq2xvc22ra4k

  • SAP Screen Personas - retain the conditional formatting

    Hi,
    I am currently trying to find a way to retain the conditional formatting (done on the table in a flavor) after the data is exported to a excel spreadsheet.
    Also, would like to know if conditional formatting can be implemented on a report (e.g. can I format the MBBS transaction after it opens up on click of a button).
    Any assistance on this front would be appreciated.
    Regards,
    Aaron D'C

    Hi Steve,
    MBBS report (refer below screenshot) is a old-style ABAP list report so I guess it possible to apply conditional formatting to it.
    Thanks for clearing my confusion.
    Regards,
    Aaron D'C

  • Problem with ejecution work book (determining run time)

    Hello, I have a problem with the Discoverer Desktop (v. 10.1.2.1) db. Oracle 10G.
    Whenever I execute a work book with my user in any equipment of the network
    when determining the run time of the report is delayed , only with my user and
    the privileges of the reports and tables is ok.
    excuse my english...
    thanks

    It sounds like the problem with the query estimator. Basically, the query estimator IMO should be turned off for Discoverer as it's not Disco's best feature. As to why only you see it, are you sure it's not only when run on your PC?
    If you click over to a 'very old' link I have at:
    http://proudman.homestead.com/files/optimizing_discoverer_on_client.htm
    or at the bottom of this message I've copied it, you'll see #1 is the first thing you want to change.
    You may not want to change #2 or #3 but take a look. Also, where the instructions refer to: Disco 3.1 just change to your version (ie: 10). Gotta' update that someday.
    Russ
    =================================================
    3 REGISTRY SETTINGS TO CHANGE
    ============================
    Note that for each of the three suggestions below, if the entry does not exist in your registry, then create it and set the value suggested.
    1. Database\QPPEnable
    type - DWORD, default 1
    To Do: Turn off query prediction.
    This can be done by specifying the following registry key:
    HKEY_CURRENT_USER\Software\Oracle\Discoverer 3.1\Database\QPPEnable
    It should be set to a DWORD value of 0 (zero). To re-enable query prediction at some later point in time, either remove the registry key or set it to 1.
    2. Database\QPPCBOEnforced
    type - DWORD, default 1
    To Do: Stop query prediction forcing the use of the cost-based optimizer.
    This can be done by specifying the following registry key:
    HKEY_CURRENT_USER\Software\Oracle\Discoverer 3.1\Database\QPPCBOEnforced
    It should be set to a DWORD value of 0 (zero) which means use of the Cost-based Optimizer (CBO) is not enforced. The CBO will follow the normal rules of the database server.
    3. Database\ObjectsAlwaysAccessible
    type - DWORD, default 0
    To Do: Stop validating that the tables/views folders refer to exist and that the user has access to them.
    This can be done by specifying the following registry key:
    HKEY_CURRENT_USER\Software\Oracle\Discoverer3.1\Database\ObjectsAlwaysAccessible
    It should be set to a DWORD value > 0 (ie: 1) which means validation will not take place.
    ------------------------------------------------------------------------------------------------------------------------------------------------

Maybe you are looking for

  • ECC6.0 - PDF issue - Junk Character output after Upgrade from 4.7c

    Hi All, I am working in Uprgade project(from 4.7c Non-unicode system to ECC6.0 unicode system). We are facing PDF output issue in ECC6.0 that means we are getting junk character output(screenshot is attached for your reference). In 4.7c , we have str

  • Mac OS 10.4.11 - where is Activity Monitor?

    Sorry if this is a very simple question: I want to use Activity Monitor, and it isn't in Applications/Utilities. Can't find it searching via Spotlight. Do I go to the original Tiger installation disk or does it have a new name in 10.4.11?

  • Help! I can't import iMovie HD project to iMovie 11

    I have this project I was working on for hours in iMovie HD (v. 6.0.3), but I wasn't happy with the editing features so I decided to upgrade to iMovie 11. In iMovie 11 (v. 9.0.8), I followed the command of File > Import > iMovie HD Project. Then I se

  • Multiple instances of identical vi inside a while loop

    We have a while loop that is monitoring 6 sensors in a heated water bath. Each sensor has the same basic switching parameters. While the loop runs, it does not tie the shift register value to the same instance every time it runs. The 6 instances of t

  • Exception Handling best practices?

    Hi, Where can I find the tutorial on exception handling best practices on oracle website? I am looking for the sun standards for the exception handling.