Conditional disply

Have a drop down list of 5 items (Group1-5), one text field to enter associated no that pertains to each group, then sql report will fire up based on the input
1. how do you make this text fied to be a conditional display: ie. This text field should not show up unless user click one of the drop down item. I tried "request is containied within express 1" and type express1 as &P_ item in ('group1','group2'...'group5') . But this is not working
2. When the text field is displyed , I would like to have the data mask come up that already prefix the input field. For example : group1 use GP1xxxx, group2 use WK2XXX ....
Can u give me some pointers ? thanks.
Zen

Hi Zen,
To do both (that group2 WK2XXX messed it up a bit) you'll first need to change your LOV. Include your prefix as the return value e.g.:
STATIC2:group1;GP1,group2;WK2 etc. You also want your LOV to Display null (so clicking Yes).
With your text field you want it's conditional display to be:
Value of Item in Expression 1 NOT NULL
and Expression 1 to be your LOV item e.g. P_ITEM (no colon).
To get the value into this text field you then need to alter the text field Source
Source Used: Always, replacing any existing value in session state
Source Type: Item (application or page item name)
P_ITEM (no colon).
This example is with the idea that P_ITEM is the name of your LOV...change if not. Under the Element section of the text field set the maximum width to whatever you want it to be e.g. 8 for 8 characters long. I don't know about masking but if you just wanted the XXX displayed then you could just have the return value to be like: STATIC2:group1;GP1XXXXX,... problem with that is that the X's won't overwrite the user would have to delete them before entering new values.
imo this is ok for your problem (providing you ignore my stupid solution to the XXX mask) generally though...initial part prepared, limited to the fixed code length, only displays when a value is selected etc.
Mike

Similar Messages

  • GR IR difference on condition

    Hi frnds,
    My report is to disply the Purchase orders for which the GR and IR are having different values.
    Here I have a contion for whinch if the difference is less then those POs should not disply in the report. So I have created a condition GR - IR  value is greater than 5 and less than -5 then those POs should not disply.
    But here I am facing a problem If for one PO GR is there but no IR so in this case i.e If IR is not there then the PO should come into final report irrespective of the difference between GR - IR value.
    I.e If IR is not there then It should not check the condition.
    How this can be achieved?
    Regards,
    Sridhar

    Hi Sridhra,
    Plz find the details.
    Normally  PO = GR .But IR may be leass than or greater than to u r PO (U can check with MM People for Understanding).
    1. Now you don't want to display the PO values <=IR Values.
    2. If there is no GR you should not dipaly PO Values.
    So use C.K.F to achieve results.
    1st Solution :
    If   PO <= IR
    Result = "    "
    else
    Result = PO.
    As per second Point If IR is not there above condition will not work so it will display all teh PO's
    Regards
    Ramakanth.

  • Pricing conditions in sales order.

    Hi,
    In my sales order pricing conditions, the Condition values are coming in change mode. so that the users can change the condition values.
    I want to make it as disply mode. how can i do?
    Regards,
    jyothi.

    Hi,
    U can control the manual entry of pricing by following method:
    Go to Condition type - In Changes which can be made screen, Select "D" ( Not possible to process manually).
    However, please note u have to maintain condtion price for condition type through VK11.
    Hope it solves ur issue.
    Thanks
    M G Shankar

  • How to disply last 4months data in obiee 11g

    Hi All,
    In my report i need to disply last four months data in current year. month data format is like 2013/07.
    reoprt like this
    Month           order item cost
    2013/07     20000
    2013/06     50000
    2013/05      2000000
    2013/04     70000
    month will go forward i need to disply recent month data.
    Please help me.

    Filter condition displaying error
    Error Codes: OPR4ONWY:U9IM8TAC:OI2DL65P
    State: HY000. Code: 10058. [NQODBC] [SQL_STATE: HY000] [nQSError: 10058] A general error has occurred. [nQSError: 43113] Message returned from OBIS. [nQSError: 43119] Query Failed: [nQSError: 17001] Oracle Error code: 1861, message: ORA-01861: literal does not match format string at OCI call OCIStmtFetch. [nQSError: 17012] Bulk fetch failed. (HY000)
    SQL Issued: SELECT 0 s_0, "Service - CRM Service Requests"."Time"."Month" s_1, TIMESTAMPADD(SQL_TSI_MONTH,-4,(TIMESTAMPADD(SQL_TSI_DAY,1,(TIMESTAMPADD(SQL_TSI_DAY, DAYOFMONTH(CURRENT_DATE)*-1, CURRENT_DATE))))) s_2, "Service - CRM Service Requests"."Service Request Facts"."# of SRs" s_3 FROM "Service - CRM Service Requests" WHERE ("Time"."Month" >= TIMESTAMPADD(SQL_TSI_MONTH,-4,(TIMESTAMPADD(SQL_TSI_DAY,1,(TIMESTAMPADD(SQL_TSI_DAY, DAYOFMONTH(CURRENT_DATE)*-1, CURRENT_DATE)))))) FETCH FIRST 65001 ROWS ONLY
    This is logic displaying  april first date like --- 4/01/2013
    TIMESTAMPADD(SQL_TSI_MONTH,-4,(TIMESTAMPADD(SQL_TSI_DAY,1,(TIMESTAMPADD(SQL_TSI_DAY, DAYOFMONTH(CURRENT_DATE)*-1, CURRENT_DATE)))
    Please help Me

  • Hw to  select  the disply mode fields

    HI
    TO ALL
    I have a problem  When we creating sales document type vov8   in the fieks DISPLY RANGE  if we want selected fields, hw to select theose fields?
    give me step by stem answer   i will give u full reward marks
    ADVANCED THANX  TO ALL

    You can use the t.code SHD0, choose your transaction variant here, further choose your screen variant.
    Next select your screen variant and in the Menu bar select Variant> change with processing>Make repairs in foreign namespaces only if they are urgent> Continue(Enter)>again 'enter'>Object can only be created in SAP package>continue(enter)> Exit and save >This variant contains other screens, adopt these as well?>enter>enter> scroll down to the entry make the necessary changes and save.
    The system will prompt to assign a package and request enter the necessary values.
    Your issue is sorted!!
    And further to your query for minimum price PMIN refer to my answer, you will not have to maintain any condition record or the price entered here does not reflect in any other document.
    Regards,
    PATHIK

  • IIf condition between dates using mdx query

    Hi,
    how to check IIF condition between dates using mdx query.
    I able to check single year,plese check below mdx query.I need to check members between years.
    my requirement is member is belongs to between years(2007 to 2010),display "yes" else "NO";
    Could you please give me exact mdx query.
    From,to-2007,2010,if member belongs to 2007to 2010 then disply "yes"else "no".
    how to pass two members in IIf condition.
    WITH
    MEMBER Measures.[test]
    AS Iif([Date].[Calendar Year].currentmember
    is [Date].[Calendar Year].&[2007],"no","yes")
    SELECT {Measures.[test]}
    on 0
    ,[Product].[Subcategory].[Subcategory].MEMBERS * [Date].[Calendar Year].[Calendar Year]
    ON 1
    FROM [Adventure Works]
    indu

    Hi Sriindu,
    consider the following:
    WITH
    MEMBER measures.[test] AS
    IIF
    Exists
    [Date].[Calendar Year].CurrentMember
    [Date].[Calendar Year].&[2007] : [Date].[Calendar Year].&[20010]
    ).Item(0)
    IS
    [Date].[Calendar Year].CurrentMember
    ,"yes"
    ,"no"
    SELECT
    {measures.[test]} ON 0
    [Product].[Subcategory].[Subcategory].MEMBERS
    [Date].[Calendar Year].[Calendar Year] ON 1
    FROM [Adventure Works];
    Philip,

  • Conditional Display of Interactive Report Based on Field Above

    Page one has simple text box entry for a Vendor # with a button that branches to a page displaying information for that vendor. In a region below, I would like an interactive report that displays all of the item and description that vendor provides to our company. I have tried to use the Conditional Display to disply only items in the report but have been unsuccessful. Your help is appreciated!
    Thanks.

    Hello user2961006 (please tell us your name),
    I understand your question to be, "how do I make a report on page two only show rows related to an item entered on page one". Putting a condition on a region isn't the answer here - you want the report to always display, but just with different rows depending on the vendor number entered. A condition on a region is used to either display the region or not.
    What you need to do is put a WHERE clause on the SELECT statement that your report is using to get its data. For example, if the item holding the entered vendor number is P1_VENDOR_NUM, the SELECT statement for your report would look something like:
    SELECT item, description
      FROM my_items
    WHERE vendor_num = :P1_VENDOR_NUMNote my_items is a fictitious name. This will tell the DB to only retrieve rows where the vendor number is the vendor number entered by the user.
    Hope this helps, I'll gladly accept reward points if it does ;-)
    John

  • Disply 0, if value is nothing

    Hi
    how to disply 0, if the query is not selected any rows.
    how to write the condition at format trigger?. if there is no rows what will be the value of fields?.
    thanks

    The easiest way to do this is to have a summary column at a higher level that counts the rows returned by the query (does a Count on any field). You can then check the value of this summary column in format triggers, etc.
    Regards,
    Danny

  • Functional SPEC  for  Condition record

    Suppose i am given a condition record for a Material PR00 as 200/- now i want to generate a report that disply  pr00 200/- for this i want how to write a functional SPEC to ABAP to generate a report.

    Hi Rama ,
                       The Functional Specification would be like this
    Input Screen
    Date to and from
    Mtaerial to and from .
    Logic would check for date and material in condition table for PR00 ( can be found from access sequence V/07 transaction ).
    Obtain the condition record number and enter that number in table KONP and get field kbetr and kwert that would rate and amount and display ..
    Please reward if it useful.

  • Sd-condition type

    hello gurus,,
    in my pricing procedure there are two manual condition type
    price (zm01)
    surcharge(zd31)
    current calculation
    zm01 1000
    zd31    100  (10%)
    net value 1100
    But our requrmnet is
    we want to enter price + surcharge directly i.e. 1100 in zm01 then surcharge 10% in zd31
    we need  sytem should disply this in document
    Zm01 1000
    zd31   100  (10%)
    net value  1100
    instade of reguler calculation
    zm01    1100
    zd31       110(10%)
    net value  1210
    pls help what configeration i have to do fo this in condition type
    Regards,
    Mahesh

    Hello,
    I think through configuration this is not possible.
    We need to use IPC pricing formulas.
    Thanks and Regards
    Shanto Aloor

  • Error in creation of a condition record

    Hi to all, I've this error when I try to create a condition record :
    Implementation of Method FIELD_CHECK/DEFAULT_VALUE_SUGGESTION for BAdI /SAPCND/ROLLNAME for filter ZIUSERSTATUS is missing
    Message no. /SAPCND/MAINTENANCE719
    Diagnosis
    Implementation of BADI /SAPCND/ROLLNAME or method FIELD_CHECK/DEFAULT_VALUE_SUGGESTION is missing for the filter characteristic ZIUSERSTATUS.
    If, however, the implementation is correct (see BADI Interface Documentation) and active, there is an error in the condition maintenance layer.
    System Response
    An exception or error occurred because condition maintenance cannot check, convert or lock/unlock the fields of a condition record.
    Procedure
    Contact the department responsible for carrying out the missing implementation in the case of application fields in the customer namespace.  SAP is responsible for SAP fields which are set in the field catalog (/SAPCND/CTFC) and delivered, and if the field is supported as a possible field in a condition table. SAP is also responsible for the implementation of usage fields for SAP applications, just as with condition technique fields.
    In cases where SAP is responsible, contact your responsible support organization.
    Could someone help me please ?

    Hi I just put the coding:
    e_was_executed = 'X'.
    into every method and however it worked.
    Best Regards

  • IF Condition in RTF Help text

    Hi,
    I have RTF template which contains the field to display the column name. Below are my help text.
    COLUMN1 is my XML tag and displaying AQUA color in my excel output.
    <?COLUMN1?><xsl:attribute xdofo:ctx="block" name="background-color">Aqua</xsl:attribute>From above scenario, i need to add one more condition if there is no value in my XML tag then don't display the field in my excel output. For example. I have COLUMN1 and COLUMN2 XML Tag. Only COLUMN1 contains the value but COLUMN2 not. In my excel output the COLUMN2 value should not display.
    Thanks

    Please see if (How to make condition using XML tags to check NULL values in XML Publisher templates? [ID 414022.1]) helps.
    Also, see XML Publisher Guide which can be accessed via http://www.oracle.com/technetwork/documentation/applications-167706.html
    Thanks,
    Hussein

  • IF and ABS condition statement in BEX query designer

    Hi,
    I would like to ask the best way for me to produce an acceptable result from Excel IF and ABS Condition statement.
    The condition statement that I have on my Excel file is
    =IF((A2-B2)>0,ABS(A2-B2),0)
    I'm trying multiple times to reproduce this in BEX Query designer, unfortunately I'm getting a bad result or unacceptable formula.
    Anyone who could help me with my issue?
    Thanks,
    Arnold

    Hi Arnold,
    Thank you,
    Nanda

  • Classic report - Condition evaluated for every row

    APEX 4.2.2
    I am seeing something strange in a classic report region. A report started to fail at run-time with a strange error about bad syntax. When I run the page in debug mode, I see the following
    print column headings
    rows loop: 30 row(s)
    ...Execute Statement: begin wwv_flow.g_boolean := '' is not null;
    end;
    ......Result = false
    ...Execute Statement: begin wwv_flow.g_boolean := '' is not null;
    end;
    ......Result = false
    ...Execute Statement: begin wwv_flow.g_boolean := 'string with a embedded ' single quote' is not null;
    end;
    ......Result = true
    Looks like the APEX engine is evaluating a boolean expression after rendering and each and every row in the report. And for some strange reason, it is using a piece of data from my query's resultset and failing because of the bad syntax introduced due to the single-quote in the string.
    I have never seen this before. Any idea what is going on?
    Thanks

    Howdy Paul, sorry should have provided all the details. No, this is a standard generic column template. Ah, you are right, drat I should have looked closer. The template has use a condition to show either a highlighted row or normal one. Sorry for the false alarm, I can take it from here. Enjoy your flight :-)

  • I had 2 Apple IDs but now Apple implemented new conditions and i can't use one of them after 90 days using the prior one..! - "This Device Is Already Associated With an Apple ID"

    I have two Apple IDs because i travel frequently between Mexico and the US, and the apple stores offer different products, so i like to download music, movies and TV series from both sites.
    Apparently apple changed the conditions, becauise until a few days ago i could log our from one account and log in from my other one. Yesterday i was at Miami International Airport and wanted to download a few chapters from one of my TV series (Walking Dead) to watch on my way to Mexico City, but a pop up window came up saying "this device is already associated with an apple id". Curoiously, the ID to which i was connected to was precisely the one under which i had bought weeks ago the chapters i was wanting to download from the cloud. So it says i have to wait 90 days to change apple id.... weard! probably i accepted these terms when dowloading a new IOS version, so legally I'm dead in complaining, but why is it that if i am paying for all that i buy as a model citizen i am now blocked from jumping from one apple id to another one???? I can certainly buy another ipad and have one with one id and another one with the other, but is there any other way i can keep the two in just one device?? If i don't use i-could would anything change? This is really making me mad, and is the first time i have thought of moving our of mac products into samsung or others and buy my music and movies somewhere else where stupid restrictions like this one do not exist. Please help with a solution!

    OK, but in my ipad, the apple id i have in itues is already the one  iwant to have, but th one i used to sin in for i-coud is the other one. Any tip as to how to change the apple id for icloud and any idea how to know what apps i bought with the other apple id so as to delete them from my ipad to avoid being asked to enter another apple id every time they get updated? thanks!

Maybe you are looking for

  • Satellite P30 - Blue screen after reinstall OS

    I just reinstall OS (Windows XP) on my older laptop Toshiba Satellite P30, but after first reboot (required to continue XP configuration) the DOS blue screen appear (System Has Recovered From Serious Error). The laptop cannot load Windows XP at all.

  • How do I remove "SEARCHBENNY" malware?

    I am trying to drag these items to the trash, but they won't go in or stay in.  How do I get this thing off my Mac? I tried using instruction found online, but step 2 doesn't help since they won't be trashed.  Plus, the link to Apple support to reset

  • Tst scripts

    where can i get test script writing and execution for GL,AP,AR Modules

  • Why does my phone say it has no service?

    I am getting voice mails but no calls...and I can't listen to them due too no service. Bill is paid!

  • Macbook Pro case separation!!!!

    well i've had since problem since week about the 3rd week of my purchase. basically, then the 'arm rest' part of the case was starting to separate from the bottom of the case. just about half a millimeter or so, so nothing much, just aesthetics. i ki