Regarding Conditional Bold Requirement on report

Hi All,
<?if: CURRENT_AMOUNT> 100?>
<fo:inline font-weight="bold">
<?CURRENT_AMOUNT?>
</fo:inline>
<?end if?>
Above code is working.
My field is formatted to Bold when the required condition gets true.
But one think i noticed if the condition is not true filed value also get disappeared.
Requirement is like if the condition is true, then the value will be displayed with bold look.
If condition is not true value will be displayed without bold look.
Please suggest.
BR,
Sandeep

<?if: CURRENT_AMOUNT> 100?>
<fo:inline font-weight="bold">
<?CURRENT_AMOUNT?>
</fo:inline>
<?end if?>
add one more condition
<?if: CURRENT_AMOUNT<100?>
<?CURRENT_AMOUNT?>
<?end if?>

Similar Messages

  • Conditional column display in report using column substitution string

    Hi everone,
    I was wondering if it's possible to display a column conditionally, based on a values in another column of the same report.
    Can you use the column substitution strings or does the condition strictly require SQL, PL/SQL
    or page item values?
    kind regards,
    Cleo

    I dont think we can add a condition to display the column in a report based on the other column of the same report,
    Just add a (CASE WHEN <your condition satisfies> THEN column ELSE null END) in your report source for the column you want to display conditionally.
    --Mahesh                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           

  • How to integrate conditional colors to the Report

    <!--Hi all APEX gurus,
    I would like to ask if you could help me with the problem how to integrate conditional COLORS to the Report. I need to display Severity field in RED but how to include the multiple "quotation marks" and 'apostrophs' to the query below?
    I need to replace i."Severity" field in the query below with the DECODE like this:
    DECODE (i."Severity", 1, '<span style="color:red;font-weight:bold">' || i."Severity" || '</span>', i."Severity") "Severity"
    Original Query:
    DECLARE
    q varchar2(4000);
    BEGIN
    q := ' select ';
    q := q || ' i."ID" "ID", ';
    q := q || ' i."Task_ID" "Task ID", ';
    q := q || ' i."Severity" "Severity", ';
    q := q || ' i."Priority" "Priority", ';
    q := q || ' i."Task" "Task Name", ';
    q := q || ' p."Project_Name" "Project" ';
    q := q || ' from ';
    q := q || ' "IDEAS" i, ';
    q := q || ' "PROJECT_LOOKUP" p ';
    q := q || ' where ';
    q := q || ' p."Project_ID" = i."Project_ID" ';
    if :P1_Show != 'ALL' then
    q := q || ' and i."Project_ID" = :P1_Show';
    end if;
    RETURN q;
    END;
    I have tried many variants but still have problem with the " " and ' ' included in the DECODE command together with the q-variable.
    Thank you for any tips and
    Happy New Year!
    AB
    -->

    Hi user487406,
    What about a select like this:
    select i.id,
           i.task_id,
           case i.severity
             when 1 then '&#60;span style="color:red;font-weight:bold"&#62;' || i.severity || '&#60;/span&#62;'
           else
             to_char(i.severity)
           end severity,
           i.priority,
           i.task,
           p.project_name
      from ideas i,
           project_lookup p
    where p.project_id = i.project_id;
    And PL/SQL like this:
    q :=
    ' select i.id, ' ||
    '        i.task_id, ' ||
    '        case i.severity ' ||
    '          when 1 then ''&#60;span style="color:red;font-weight:bold"&#62;'' || i.severity || ''&#60;/span&#62;'' ' ||
    '          else ' ||
    '            to_char(i.severity) ' ||
    '        end severity, ' ||
    '        i.priority, ' ||
    '        i.task, ' ||
    '        p.project_name ' ||
    '   from ideas i, ' ||
    '        project_lookup p ' ||
    '  where p.project_id = i.project_id; '; Regards Pete

  • Getting Reason Code, Condition Type, and Condition Value in one report

    Hello there,
    I have got a Question for you all BW Gurus. I need the answer for this as soon as possible. I will assign points to all helpful answers.
    I am having a Sales cube, Delivery Cube, and a Conditions Cube which I built. Each cube is populated from different ODS. Means there are 3 ODS for 3 cubes. I am joining these 3 cubes under a Multiprovider.
    My Question is:
    We are using Reason Codes at Delivery level. We have identified an empty field in the delivery tables and populating this field with the reason codes. We have condition type and condition value only in the Condition cube. One of the reporting requirements is that we need to see Reason code, Condition Type, and Condition value in one report. I am planning to report on the Multiprovider. Since Reason code, Condition Type, and Condition value are not present in all the 3 cubes (means they are not common characteristics in the Multiprovider), I don’t think I can get those values in one report if I report on the Multiprovider. Please correct me if I am wrong. If what I say is correct, please tell me how to solve my problem. Once again, helpful answers will be greatly appreciated and rewarded with points.
    Thank you in advance.
    Kind Regards,
    Swathi

    Hello Swathi,
    Please do not post the same question on multiple forums.
    Thanks,

  • Stock/requirment list report

    Require a report to display the month stock requirment for the next two years based on the plant and mrp.

    Hi Raju,
    Please check this FM MD_STOCK_REQUIREMENTS_LIST_API.
    Hope this will help.
    Regards,
    Ferry Lianto

  • How to: Make Shipping Condition field required in Tx. VT01N

    Hi everyone. I need to make the Shipping Condition field required in the transsaction VT01N Create Shipment.
    I don't know how to do this, can somebody help me with this issue???
    Thanks for your help!

    Hi Chemo,
    As far i undestand, you want to calculate freigth cost using transportation.
    To do this, you need to do some settings at that point to achieve that, please follow the link to configuration guide:
    http://help.sap.com/printdocu/core/Print46c/en/data/pdf/LETRA/SDTRA.pdf
    On functional side (after configuration), you´ll need to create the shippment cost document on VI01 transaction, there you can see all the cost associated to Shipping.
    After that transfer it to MM using T-code VI02, its needed.
    I Hope this help you,
    Regards,
    RP

  • Printing Procurement Terms and Conditions in custom BIP report

    We are developing a custom BIP report for printing Purchase Agreements. We created new Data model and a new report template that matches the customer's requirements. However, we are not able to print the Terms and conditions in this custom report.
    The custom report is placed in the Shared Folders/Custom/Procurement/Purchasing folder and we included the following code at the beginning of the custom report template -
    <?import: xdoxsl:///Procurement/Purchasing/prc_po_terms_and_conditions_sub.xsb?loc=${_XDOLOCALE}?>
    And at the end, where we want to print the Terms and Conditions, the following code -
    <xsl:apply-templates select=".//TermsAndConditions"/>
    But the Terms and conditions are not printed. Can someone please help out and point to me where the mistake is?
    Thanks
    Lakshmi

    I am not an expert on BIP and will ask a colleague to comment. Took a look at the documentation and noticed some small differences, not sure if these have any impact, but you could try them while waiting to triage the issue:
    The documentation does not have space in the import statement i.e. "import:xdoxsl" while your example has a space "import: xdoxsl"
    To render the content the documentation states to use "<?call-template:template_name?>"
    Jani Rautiainen
    Fusion Applications Developer Relations
    https://blogs.oracle.com/fadevrel/

  • Change shipping condition from required to optional

    Dear friends
    I want to change some fields in customer master how to do it
    Example change shipping condition from required to optional how do I do it
    Ahmed

    Dear Jyothi.
    Pleas find the path and do as per instruction in Define Account Groups with Screen Layout (Customers) chose your account group and do seting as per your requirement ok it will give option gernal data and some other data so do it
    It you have any problem let me know ok
    Path
    SPRO u2013 financial accounting new u2013 account receivable and account payable u2013customer account -master data - Preparations for Creating Customer Master Data- Define Account Groups with Screen Layout (Customers)
    Regards
    Ahmed

  • Displaying text in BOLD in classical report

    Hi all,
    I want to display a word as BOLD in classical report.. How to acieve the same in classical report
    Regards,
    Shanthi

    HI,
    I m working in ECC 6.0 system only. But still the followinf statement is not displaying the word in bold letters.
    Pls tell  me what is wrong in the below code.
    FORMAT INTENSIFIED on.
    write 'some text'.
    FORMAT intensified off.

  • R100 - Condition ignored (requirement 055 not fulfilled)

    Hello
    I have configured free goods as per the requirement of my client. But in the sales order Pricing Analysis R100 condition type is not triggering and getting the below error.
    R100 - Condition ignored (requirement 055 not fulfilled)
    The requirement 055 is assigned to this condition in the pricing procedure. This requirement was not met and so the condition was excluded from further processing.
    Can you please advise.....

    +In response to what _Sureshndk_ wrote:+
    Hi friends
    >
    > I found the solution for my error posted above. There was no problem in any of the settings. Its just a confusion.
    AMAZING! I was checking in the main item level Pricing analysis overview, thats why it was showing as R100 - Condition ignored (requirement 055 not fulfilled).
    >
    > But in the header lever and sub item (free good item) level R100 is triggering with out any error.
    >
    > Thank you guys....
    > Suresh
    Just request don't be in hurry to get you query solved quickly.
    Do a proper investigation before posting your query on Forum.
    As everyone will agree that, if the problem is not elaborate properly, we do make some assumption to provide solution.
    Finally, i would request you, "Try to respect others Time & Effort."
    Regards
    JP

  • Conditional Link on Interactive Report

    I'm trying to make the link column conditional on an interactive report. That is, I only want the pencil icon on the rows which have a field that is greater than 30. So, assume my query says:
    select DEPT_ID, USER_LEVEL
    from my_table;
    I only want the link icon to appear on rows that have USER_LEVEL > 30. I tried (unsuccessfully) to get this to work by adding a condition of "Expression1 = Expression2", and I used the #USER_LEVEL# substitution string. (Note: I know this would be exactly what I want because I want the condition to be on all values > 30, but I couldn't even get this to work when I put #USER_LEVEL# in Expression1 and "30" in Expression2 and looked at the records that had a USER_LEVEL value of exactly 30).
    In the end, I had to create a much more complex query like this...
    select
    case
    when USER_LEVEL >= 30 then
    '<a href="f?p=&APP_ID.:21:&SESSION.::&DEBUG.::P2_DEPT_ID:' || DEPT_ID || "><img src="#IMAGE_PREFIX#menu/pencil16x16.gif" alt="Edit" /></a>'
    else ' '
    end as edit_icon,
    DEPT_ID, USER_LEVEL
    from my_table;
    This doesn't seem right to me. Can someone confirm that I'm doing this the right way?

    Hi -
    It really bugs me this forum has such a problem with code examples, so for a while at least I posted quick example on Google:
    [Conditional Column|http://docs.google.com/Doc?id=dd2tkvv6_212dbzw2ftq]
    Not to complicate too much, but if you wanted to not have empty column except one row, you could of course apply this trick to the column that actually holds the user name in your table... in other words, the user could click right on their own name to go to edit screen, but every other user name but theirs would not be a hyperlink. But that is as they say an exercise for the reader :)
    Good luck.

  • Required standard report

    Hi,
    Please help me in getting the report.
    Require a report which should have  PO No., Material Code,  PO qunatity, GR quantity  and payment to supplier with respect to GR.
    Thanks...

    Go to MB5S for this report
    and add the fields which you don't see on the screen from Current display varinat from the header
    you will get all this information

  • Two different condition types in one report

    Hello,
    i have a problem with the conditional display of a report.
    I want to use two different condition types for one report.
    For example I want to show the report only when the page is not in printer friendly mode and when the value of an item is NULL.
    Is that possible?
    Has anyone a solution for this problem?
    Thank you,
    Tim

    Tim,
    you can use
    IF V('PRINTER_FRIENDLY') = 'YES' AND :P1_ITEM IS NOT NULL THEN RETURN FALSE;
    ELSE RETURN TRUE;
    END IF;
    in the Conditional Display picking PL/SQL Function Body returning a Boolean.
    Denes Kubicek

  • Conditional display column in report

    Hi,
    If we have a single row report of 30 columns, and I want to display only the one with any values but null and hide the null ones, Is there a way to do it?
    It's the same issue discussed in this thread conditional display column in report
    thanks,
    Fadi.

    Samara - I suspect there are a few ways to do this, but none obvious or very easy as far as I can see.
    You can create dynamic SQL (as Arie and others have suggested) to only include the columns that are not null.
    You can build and output the HTML directly to the page, choosing only to include the values that are not null.
    You can create a set of conditions that you can apply to the report columns. A very crude example might be 30 hidden page items like 'SHOW_COL1' etc. (not great, I know), or perhaps you could set a hidden page item to a value like '01:02:03:'etc., with the number only being included if the value is not null (so that col3 being null gives you '01:02::04'etc.), so that the condition for each column is 'Text in expr 1 in contained in Item in expr 2', where expr 1 is '01' for column 1 etc.
    Sorry, that is a very contrived example, but it's just to illustrate that there's generally a way of doing pretty much anything in APEX. You might create your item containing the comparison expression by requerying the data in this kind of way:
    SELECT NVL2(column1, '01', '') || ':' || NVL2(column2, '02', '') || ':' etc.
    FROM table
    WHERE condition
    However, wanting to create a single-row report with nulls hidden makes we wonder what you're actually trying to achieve and whether there's a better way? Could you use a series of page items, for example?
    John.

  • Error when using a condition for required attribute

    Hi
    I have a requirement to validate the mandatory fields only when the submit button is pressed....if some other button is pressed or some how the form is submitted the validations should not be performed....
    I have used required="#{MyBB.somecondition}" for all the mandatory fields...the method that is being called for doing the condition check is given below:
    public boolean isSomeCondition() {
        // assumes submitButton is a component binding 
        FacesContext fc = FacesContext.getCurrentInstance();
        Map reqParams = fc.getExternalContext().getRequestParameterMap();
        return reqParams.containsKey(submitButton.getClientId());
      }It is same that is given at the following location
    http://wiki.apache.org/myfaces/How_The_Immediate_Attribute_Works ---Soln 3
    But the problem is if I am submitting the form using Javascript from another page(page is a popup that is opened inside the current window), this condition doesnt work and it gives me an error saying "Check some field for its value"
    Please help me sort out this problem
    Thanks

    I think the problem is not clear....my mistake
    I try to be more elaborate on this....
    I open up a popup page from my main window....Here I perform a search(lets say there is a requirement for finding the Country and pincode for a particular city that the user enters)
    Now when I select the particular row in the datatable and click the submit button...... I want the selected values to be filled inside the parent window.....
    I want to bring to your notice that the button that is clicked is in the popup page...not in the parent window.....
    So you see that when that button in popup is clicked i am submiting the form of the parent window and during that time I dont want the validation to occur..... To submit the form of the parent window I use the Javascript like this : window.opener.document.forms[0].submit();Also one more thing that I want to mention is that the method that is used for specifying the condition for required attribute for mandatory fields in the parent window works fine for any button that i click inside my parent window......
    What I mean by this is lets say I have a button to add a dynamic row into my parent page then also I have to submit the form but during that time validation should not occur and it works fine.
    So now I think its clear that the Javascript is being invoked from another page which is submitting the parent window.....
    Then you're doing something wrong. Invoking the wrong button maybe? So please enlighten me where i am wrong and how possibly would I know which button I am invoking??

Maybe you are looking for

  • PAR upload failed

    Hi All,         I am just trying to deploy my sample Portal Project Application from NWDS through Quick PAR upload into Portal Server, this is the first time i am getting this error, i don't know why The error is like below PAR upload failed: i did a

  • Javascript Problem for Drill Down Action in SSRS Report when integrated to PPS 2010

    Hi all, I have a SSRS report which is integrated to PPS 2010(Performance Point Services) and it is having a drill down action through Go to URL action(I wrote javascript:void(window.open('xxxxx')) to open drill down report in new window). This report

  • Hi Need Urgent

    Hi Guru's, I have a table T1 with fields A,B,C,D,E,F.  A and B are key fields.I have table maintanace for this through which I can change values of C,D,E,F. Requirement.. I do not want to use the table maintanace instead i need to pass A,B in selecti

  • How do I get rid of script chrome://tavgp/content/libs/include.js:595. It stops me from starting.

    When I launch firefox, it stalls and I get a message that a script is already running. Do I want to continue or end script. When I hit end, it will work.

  • DVI Distribution Amp between Macbook and 30" Cinema display

    I'm wanting to split my output from my macbook Pro to two different outputs, one of them being a 30" mac cinema display. Currently I have the display port to DVI plugged in the laptop, then the DVI plugged into a 1:2 splitter, then the cinema display