Display field as per condition

I am updating the pld of pruchase order.In the pld I have added a new column Test Certicate Required.If the itemcode is present in the following list then Yes should be displayed else No.
392042A04
392044A04
392049004
392057004
392070004
392072004
392073004
392075004
392076004
392077004
392078004
392080004
393105004
393106004
393107004

PLD does not support SQL.  You need an UDF to display Yes or No based on this list.
Thanks,
Gordon

Similar Messages

  • Conditionally Hide/Display fields in a region

    How can I conditionally hide/display fields in a region. Based on a user selection whether they want to 'Enter' or 'Select', I want to dispaly the appropriate field .i.e. if the user selects 'Enter' then I want to display a Text field and if they opt for 'Select', then I want to display a Select list.
    Thanks in Advance.
    Regards,
    Hilal

    Hi Halil,
    I've been trying to reproduce what the linked site does.
    Here's my solution:
    1 - Add all items to the page whether or not they are going to be displayed
    2 - Ensure that all items that could be shown/hidden are on lines on their own (ie, set New Line to Yes)
    3 - In the region's Region Footer (or in a new HTML region in the Before Footer position), add in this bit of javascript:
    <script type="text/javascript">
    html_HideItemRow('NameOfFieldToHide');
    -- repeat for each item to be hidden when the page first loads
    </script>
    4 - On the radio button's definition, add the following in the HTML Form Element Attributes setting:
    onclick="html_ToggleItemRow('NameOfDisplayedItem');html_ToggleItemRow('NameOfHiddenItem');"
    Now when the page is loaded, one field is automatically hidden then clicking any of the radio button options will toggle the hidden/displayed fields and their labels.
    As stated before, if you do a View Source on the linked application's page, you will see either more methods that are used to show/hide items/regions, but the above should be a starting point for you.
    Regards
    Andy

  • Smartform-Suppress Zero and Display Zero for same field in Diff Conditions?

    Hi,
    I have a scenario in smartform, where for a quantity field of length p15 and Dec3, needs to display ZERO for one scenario and display SPACE for another condition. To display ZERO i have made it as &quantity(c)&, so that i can display zero. It displays ZERO, but for another condition, when i want to display space, there also it displays 0.000 ! how to display SPACE there ?
    thanks,
    Padma

    Hi,
    I think then in that case we need to use (NZ) I am not sure. But however why don't you use the Condition Tab in the Text by Including the Condition Quantity > 0.000.
    Please let me know if anyone of this works for you.
    Regards,
    SRinivas

  • Display of object data as per condition

    Hello,
    I had a variable in universe called Execution category which has values CTB & RTB now i have to show these value in a report as per below condition.
    = If <ExecCategory> = "CTB" And <ExecPercentage> >= 50 And <ExecPercentage> < 60 Then "RED" Else If <ExecCategory> = "CTB" And <ExecPercentage> >= 60 And <ExecPercentage> < 70 Then "AMBER" Else "RED"
    The values CTB and RTB should be displayed in a box with the percent with the red background color and amber colors as per condition and also the percentage should be displayed.
    Thanks in advance,
    Eswar

    Hi,
    Assuming you are displaying both the ExecCategory and ExecPercentage columns in the report, you can try out the following steps:
    1.     Give a default Red background color to the ExecCategory and ExecPercentage columns.
    2.     Create Alerter 1 and add Sub-alerter with the conditions and specify column format. Assign it to ExecCategory column.
    3.     Add another alerter and add Sub-alerter with the same conditions and specify column format. Assign it to ExecPercentage. Also include this formula =FormatNumber([Percent];"###.##") + "%"
    4.     Refresh the report and verify it.

  • Disabling the display maximum rows per page

    My project include many reports with table view, displaying 100 rows.
    There is always arrows icon with the option to display maximum rows per page.
    If user click on that option the OBIEE crashed, since there are a lot of rows.
    I cannot decrese this number since all rows are required for other charts views.
    a. Is there a way to set this parameter only for the table view?
    b. Is there a way to disable this icon or not presenting it to the user?
    c. Is there global way to coonfigure the default displayed rows number (e.g. from 100 to 20)?

    unfortunately, you are limited to the SRW built-ins in Reports as far as setting object properties is concerned. I have checked this with the Metalink staff and I did get an admission out of them that this is true.
    You can set the property in the property palette, but I'm not sure that this helps you as I take it you have a condition you would like to implement. I wish I could help you further, but Reports is limited in some areas, and setting object properties programmatically is one of them.

  • Error in Display Fields

    A New issue arised.
    We have successfully executed an input schedule on our side. Here, the values entered in Display field Areas cannot be send and we get a Popup saying that "There is no data to refresh"
    But surprisingly, the same input schedule executed at my Client's end behaved wierdly.
    They were able to send data from Display Fields as well ( to the Data Base), which is not correct.
    This is the same schedule executed from our side.
    Why so?
    Any ideas would be gladly appreciated!
    Thanks in advance.
    Regards,
    Madhuri

    Hi Madhuri,
    Can you please tell me how you tried to configure it?
    Let me give you an example
    CRITERIA                  EVALUATE IN      FORMAT      USE      PARAMETERS      APPLY TO
    DEFAULT                                        12,345.00                             DATA
    SalesAccount.CALC = "Y"      COL           12,345                                DATA
    Product.CALC = "Y"           ROW           12,345.00                             DATA
    Like the above example, you need to come up with some conditions for the cells, which needs to be locked. You define those conditions in the criteria section. In the format section, you lock the cell using native excel's cell property.
    I am sure this will work, if configured properly.

  • Delimiter for multiple display fields

    Hi ,
    Is there any way in MDM so we can change the delimiter for multiple display fields.
    Suppose for a lookup table code and description both are display fields.In Data manager when we select main table as our current table ,value in that lookup field will appear as code,description ,but as per the requirement it should be hyphen separated i.e code- description.
    Is there any way we can change the delimiter.
    Thanks in Advance
    Regards,
    Neethu Joy

    Hi Neethu,
    No, there is no way to change the delimiter but I can suggest you some workaround.
    Create one more field in same lookup table and mark it as display field. Create one assignment with the expression code&"-"&Description and put it in workflow having trigger action = Record Create and Record Update with Automatic launch action. With this, whenever you modify lookup data i.e. either code or description workflow will automatically update the third filed.
    Just check if this fits in your requirement.
    Regards,
    Jitesh Talreja

  • Display 20 records per page

    i want to do one stuff....
    i retrieved database data using below satement......
    i want to display 20 records per page...and per page having two image of next and back..when i click to next ..it displays next 20 records...vice versa...
    PreparedStatement sql = conn.prepareStatement("select * from pay_header");

    Hello abhit,
    If you don't know how to use tag libraries, you can do it ur own.
    Just take your data in a List or Vector.
    Keep two hidden fields with the startIndex as 0 and endIndex as 20.
    update this values as 20 and 40 respectively after first iteration.
    Now for each button click prev or next ,update ur loop control values as such there in the hidden fields.
    use while loop and a boolean variable to indicate backward or forward moving. ok
    If you are using this approach and want to know how to more please let me know.
    Enjoy.......
    kuttus

  • Data Merge, its is possible to display 5 records per page?

    I have no problem doing data merges.  They always seem to only show one record per page, but is there a way to be able to display more records per page?

    Read the help for a full explanation, then come back here with specific questions if you still have problems...
    Basically, you set up a single instance of field placeholders on you page, then select multiple records per page in the merge options. You cannot specify a number directly, but ID will reprduce as many records on the page as all elements will fit using the spacing settings you set up, so you might want to add an empty frame the size required to get your five instances with zero spacing and group it with the field tags.

  • Display Field Filled With 'New Item' when Blank

    Hi all,
    I am facing a Strange Problem.
    When i try to create a Record Via DM, When a DF is Blank and once the record is saved it is being filled with a text called 'New Item'..This is Occuering siometimes when i create and sometimes not.
    There is a validation which will not allow to leave it blank, but the validation is not executing properly as the Field is filled with text 'New Item' Some times (Which inturn says it is not NULL)
    How to get rid of this issue.
    I need this Feild to be DF Because i need to include this field in Email notification.
    In production the records will be created via Portal.
    I am worried if this will be replicated via Portal!!
    Can anyone suggest me..
    KR
    John

    Hi John,
    Yes you are correct. When your field is a  display field & if you dont enter data in it while creating record, MDM will add default value "New Item" in it. (even if you create record from Portal same thing will happen)
    If you want to write Not Null validation on this field below is the work around:
    Enable the Required property for your field in console.
    But Required property in console works only when u write validation in Data manager.
    The default REQUIRED_FIELDS validation does not work if your required field is also a Display field
    You need to write addition condition along with REQUIRED_FIELDS.
    When you try to create record without entering data in display field, MDM will add default value "New Item" if field lengh is equal to or more than 8 ( or "New It" if legth is 6 for example)
    So copy the value which you will get in ur display field and use it as shown below:-
    REQUIRED_FIELDS AND Name < >"New Item" (Here Name is considered as display field) (REQUIRED_FIELDS you need to type in expression window)
    Or if you dont want to enable required property Then just add Name <> "New Item" validation in your existing expression (Here Name is considered as display field)
    Thanks,
    Mahi

  • New thumbnail display field

    I need a thumbnail field that displays the equivalent tiff filesize of a jpg file. I need to verify that the jpg files upsized by lightroom for "longest side" specs meets a minimum uncompress file size. The only way to currently do that (that I know of) is view every file in photoshop.
    http://NaturaLight.us
    http://pa.photoshelter.com/c/naturalight

    Hi John,
    Yes you are correct. When your field is a  display field & if you dont enter data in it while creating record, MDM will add default value "New Item" in it. (even if you create record from Portal same thing will happen)
    If you want to write Not Null validation on this field below is the work around:
    Enable the Required property for your field in console.
    But Required property in console works only when u write validation in Data manager.
    The default REQUIRED_FIELDS validation does not work if your required field is also a Display field
    You need to write addition condition along with REQUIRED_FIELDS.
    When you try to create record without entering data in display field, MDM will add default value "New Item" if field lengh is equal to or more than 8 ( or "New It" if legth is 6 for example)
    So copy the value which you will get in ur display field and use it as shown below:-
    REQUIRED_FIELDS AND Name < >"New Item" (Here Name is considered as display field) (REQUIRED_FIELDS you need to type in expression window)
    Or if you dont want to enable required property Then just add Name <> "New Item" validation in your existing expression (Here Name is considered as display field)
    Thanks,
    Mahi

  • Regarding Selection Screen field making display field  in ALV report

    Hi All,
               In ALV Report,  at runtime how can i make the field as Display Field in selection screen .
    Thks & Regds
    Shailesh

    hii,
    Go to se38 and give the below progra name execute.... check the source code it is very easy to understand.
    1.demo_dynpro_modify_simple
    2.demo_dynpro_modify_screen
    if tou are using grid,u can refer to foll link
    sequencing / choosing fields in report screen at runtime,
    Display the Columns in the grid at run time
    rgrds,
    Shweta

  • Displaying fields from a Z Table on CRM UI

    Hello Experts
    I am trying to display fields from a custom table onto a CRM UI form view.
    1. I created a custom GENIL root object & Search object ie. ZCUSTOMER. & ZCUSTSEARCH
    2. Tested this in the GENIL BROWSER to ensure that I could enter update values to the table and retrieve it via the search object.
    3. Created a custom component ZCUSTOMER
    4. Created a view with this component ZCUSTOMER using the wizard -
         Model Name - CUSTINFO
         BOL Entity - ZCUSTOMER
         No links to the custom controller or higher level objects.(as I do not want to tie this to any standard components)
    Type of view - Form view
    7. Created a Context node for the component controller with the same info as I did for the view.
    8. Performed the binding of the view context node with the component controller context node.
    9. Configured 1 field CUST_NAME to be displayed on the view.
    10. Configured the run time repository to display the view.
    Now the issue is..
    When the view gets displayed, the field is displayed with the error "CUST_NAME not bound"
    What am i missing?
    Thanks
    RLX

    Hi Swati,
    Thanks for the feedback. I re-viewed the WD_CREATE_CONTEXT method of the view controller implementation class and I see the following code in there already-
    method WD_CREATE_CONTEXT.
      create the context
        context = cl_bsp_wd_context=>get_instance(
              iv_controller = me
              iv_type = 'ZL_ZCUSTOMER_BSPWDCOMPONEN_CTXT' ).
        typed_context ?= context.
    endmethod.
    Does that look right or do I need to modify it?
    Thanks once again for the help.
    RLX

  • Import Manager and Display Fields

    I've been using SRM-MDM 3.0 for a couple of months and 1 fundamental MDM design has always bothered me and I was hoping to get some resolve on this.
    The purpose of Display Field is 2 folds:
    1. Display the field in the Catalog Search UI for a lookup table: i.e. if both Supplier Name and ID are Display Fields, then in the Search UI, both fields are displayed to the end-user. If only Supplier ID was the display field, then in the UI only the ID is displayed.
    - From a usability pov, tables such as Supplier and Product Group should have the name or description fields displayed in the Search UI as the numeric values are meaningless to the end-users. 
    2. Display field ALSO affect what is the key used to import data into a table.  So if Supplier ID is the display field for Supplier table, then in Import Manager, the Supplier ID values are displayed and must be mapped to the source values.
    - From an importing pov, mapping values should always be an index-like field, such as Supplier ID or Product Group ID, or ISO, and usually never the actual name or description field.
    But SAP has tied the two together. So in order to display the name/description to the end-user, we must enable the name/description field as a Display Field.  But we also want to map based on the index/ID field, so we also enable the index/ID field as a Display Field.  Now in Import Manager, we have two Display Fields for a table (i.e. Supplier ID and Supplier Name for Supplier table) and I've noticed some issues with this:
    1. You import file must have BOTH values (index/ID and the name/description fields) in the source, in order to Automap.  If your source file only has 1 field, like in MECCM when extracting  ECC contract, ONLY the Supplier ID, or Category ID is extracted, Automap is not possible.  What is funny is that standard SAP extract program only extracts the ID fields, BUT the standard SAP repository has the name/description fields as the Display Field.  Automap is a must for tables like Product Group where hundreds of lines can make manual mapping a pain.
    2. I also noticed you cannot Add values to a table that has 2 Display Fields, you can only map to existing values.  The Add button is grayed out.
    With all that said, when you're replication ECC Contract Data using MECCM, for tables like Supplier and Product Group, what fields should be set as Display Fields, and if there are multiple Display Fields, what special setting needs to be done in Import Manager to enable automapping?  Even standard SAP Import Map (_MDMContractDataTransmission_ProductID) throws errors when multiple fields are set as Display Fields.
    I'm not familiar with the partitioning function, and I've seen PDF's about it, but don't really see how it could be helpful. I've also read someone suggesting changing the DF's before import, which I think is unacceptable, as this requires unloading/loading repositories everytime an import happens.
    Thanks for reading my paragraph and any input is greatly appreciated.
    Edited by: Derek Xu on Apr 30, 2009 6:50 PM

    Hi Derek,
    Thanks for writing your thoughts. I would like to provide some information on one of your points where in you have mentioned that :
    You import file must have BOTH values (index/ID and the name/description fields) in the source, in order to Automap. If your source file only has 1 field, like in MECCM when extracting ECC contract, ONLY the Supplier ID, or Category ID is extracted, Automap is not possible.
    I completely agree that if you have 2 fields in MDM repository and you are only importing only one of them, then you cannot use the Automap feature of Import Manager. So in your case, the description is not getting importing, so you cannot use Automap in that case.
    I had a very similar requirement in one of my project and we went with creation of a Import Value template. We created a template with all the possible values for all the look up tables in that and mapped it once in the Map. Hence, next time, the Map was used to automatically Map the source and Destination values for all the look up tables.
    SAP-MDM Automatic Import Requirement u2013 Creation of a Value Mapping Template:
    https://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/80ad0cff-19ef-2b10-54b7-d4c7eb4390dd
    Please read the above article and hope its useful. You can go for this approach in your case if suitable.
    I have mentioned examples of descriptions and their respective fields in the article.
    Hope it helps.
    Thanks and Regards
    Nitin jain

  • Displaying 10 records per page

    hi,
    somebody please help me.....
    i have a list of more than 20 records which i get
    from database and then i put it in session.
    i have to display 10 records per page only and
    on the same page i'd like to have links to page
    numbers to view next set of records.
    example is how googel displays its search results.
    ex. [ 1 2 3 4 5 ]
    THANKS A LOT!

    this can be done using the pagination technique.
    [email protected]

Maybe you are looking for

  • Home Hub 3 Locks up :-(

    I have a BTHomeHub 3 connected to a ADSL phone line. After some indeterminate period it locks up. What I mean by this is that I can no longer see the internet and I can not communicate with it using its IP address. However it is still connected as I

  • Change not saved, file lost

    Hello, We're using Sharepoint 2013 to manage documents. I was editing a Sharepoint doc in excel and saved my work several times before finishing, however I did not check the doc back in upon completion. Instead, I created a PDF version (makes printin

  • Problem with losing quality in exporting FLV

    First I should emphasize that I am new to Adobe's products, and am learning it on the fly as part of a intelligent tutoring system design project. So I apologize for my lack of technical knowledge in advance. Rest assured I have put much effort in at

  • Conecting iPod to stereo

    Do I really have to use the dock or can I use the headphone jack as a line out and just put the stereo cable there? Thanks

  • Before I order the photobook...

    Hi, Can anybody experienced in iPhoto books tell me which looks nicer in the finished product - a softcover or a hardcover? And would I be better off upgrading my iPhoto 6 to iPhoto 8 before ordering it? Are there any extra options that would make th