Conditional Field and Pop Up

I have a field that is mandatory if another field has a value.
if (!(this.isNull || this.rawValue == ""))
Population.mandatory="error";
else
Population.mandatory="disabled";
How do i script the Popluation field to show a message if the user doesn't provide a value when the field is mandatory?

Hi,
That code should do it, is it in the exit event of the controlling field?  You might need to check the options under Form Properties ... Form Validations, you should have "Show Dialog Message" set.  Also you might need to set the mandatory message value, so;
if (!(this.isNull || this.rawValue == ""))
    Population.mandatory="error";
    Population.mandatoryMessage="Please enter the population";
else
    Population.mandatory="disabled";
Regards
Bruce

Similar Messages

  • Chart report Condition fields and Data fields

    Hi all,
    i have tried chart report by adding two condion fields and one data field, the report is more meaning full in this scenario. the first condition field is taken as x-axis, the 2nd condition fields is taken as legend.
    while adding more condition fields and data fields, i feel its not showing meaningfull data.
    can anyone explain how the condition fields and data fileds are manipulated by crystal report.
    i am using CR XI R2 Server.
    Thanks
    Padmanaban V

    i am using Crystal Report XI R2 RAS Embedded in my server.
    as we can add any number condition fields programatically using the method
    ConditionField.Add(FieldObj), i would like to know how these fields are manipulated internally by the RAS server.
    that means, what is the significance of condition fieldobject 1, condition fieldobject 2,condition fieldobject 3 etc...
    if i add more than two condition fields , RAS Chart Report always returns 0 as legend value for all legends.
    Thanks in advance
    Regards,
    Padmanaban V
    Edited by: Padmanaban Viswanathan on Dec 22, 2008 9:53 AM

  • Conditional Field and Autocomplete

    Hi guys,
    first of all, I'm a system analyst and I work with .NET framework, I'm not a DBA. So I need a help that I guess is simple. I'm creating a table in Oracle express 10g where one of the fields will have its value from a combination of values of two others fields, in the other words, this will be a conditional field.
    Any body know where I can found an example of this implementation?
    Beforehand, my thank you very much

    user10437322 wrote:
    but as I'm not a DBA and I really don't know how to start to work with PL/SQL, do you have some link with samples about that?I know DBAs that know very little about PL/SQL. PL/SQL is a proper procedural language.. not much different than Pascal or Visual Basic or C.
    The big difference is that it is a server side language. And that PL/SQL is in fact 2 separate languages.. PL is the Programming Logic language. It allows you to write native SQL (different language) inside the PL source code, using PL variables... in other words, a seamless and tight integration of the SQL language inside the PL language.
    Thus no need to step out of PL source code and use a database interface/class/whatever to communicate via SQL with the database. You mix your native SQL code directly with PL source code and the PL/SQL compiler figures out the rest (creating cursors, binding variables, etc). Very powerful... and as it is so close to the SQL engine, it is the fastest way to crunch database data.
    So it has very little to do with DBA'ing and everything to do with writing applications. We write full blown (and pretty complex) applications only in PL/SQL, complete with a web interface. Not a single line of code in another language needed. So do not throw PL/SQL into the DBA pigeon hole as it fits rather badly.
    The [Oracle® Database PL/SQL User Guide and Reference|http://download.oracle.com/docs/cd/B19306_01/appdev.102/b14261/toc.htm] (10g Release 2) is a good place to start. If you're on 11g (or even 9i), you can find the relevant guide via http://tahiti.oracle.com
    PL/SQL is a fairly simplistic language. It does not deal with client interaction (reading keyboard and mouse input). It runs inside a VM that is isolated from the o/s - so PL/SQL code written on a mainframe database will execute happily in a Windows Oracle database. Thus no need to deal with different kernels, issues like big endian vs. little endian and so on.
    There are numerous beginner guides to PL/SQL available. Some of them probably good and some not so good...
    Bottom line is that if you are a good programmer, then you will find PL/SQL easy to use and write equally good code in PL/SQL as you would in any other language. It is not the language that is important and dictate the quality of the code, but the programmer.

  • Countdown timer in adobe form from a field and pop-up warnings

    I have created a form in adobe livecycle and I would like to add a Countdown timer that clicks off when a user enter's a time. I need the countdown timer to be 2 hours from the entered time. The user will have 2 hours to complete the form. I need warning boxes that will pop up at 30 minutes and at 15 minutes. If not completed in the 2 hour time frame from when the time was entered then the form will prompt to close.
    I have found where the timer starts from the start or stop button but I would like it to start from when the time field is excited.
    I am new to form scripting and any help would be greatly appreciated.
    Thank you

    Do you mean the JavaScript methods setTimeout(), clearTimeout(), setInterval() and clearInterval() ???
    I don't think these methods will work within Adobe LiveCycle forms.
    Nith

  • How do i stop firefox memorizing information i have typed in fields and popping up when i begin to type again?

    when you begin typing, just has i did upon registering, when i began to type my email for example it popped up below field so i could select it, i suppose it is easy for some things when your typing alot of the same information but how do you control it!

    See this - [http://support.mozilla.com/en-US/kb/Form+autocomplete]

  • CRM Pricing - BADI to Populate pricing conditions fields

    Hello All,
    We have CRM 5.0 installed in our customer.
    We are facing problems when we tried to replicate the pricing  from R/3.
    Basically, all Brazilian formulas we have in R/3 are Z. We tried to replicate them in JAVA (IPC) with no success. At this time, it is imposible for us to move to the standard because of the decision of the business.
    We are trying to find one BADI where we can populate all the pricing conditions retrieved via RFC from R/3. Unfortunatelly we don't have good luck with this.
    Our idea is to use this BADI to call R/3 and retrieve the conditions needed, and then populate the CRM pricing fields..
    Could you please help us? Do you have any other idea to solve this issue?
    This is very critical for us.
    Thanks in advance.
    Martin

    Hi Ntk,
    Thanks for your reply.
    I tried to search in se18. I found one BADI that runs when users enter new materials or changes the quantity of the sales order.
    This one  does not help us too much, because when you go to conditions tab (into CRMD_ORDER or via ICWEB) all conditions are redetermined with the pricing determined in IPC.
    We want to fill the conditions of the sales orders or the sales quotations at running time. In the BADI we would use the function module RFC SD_SALESDOCUMENT_CREATE (in simulation mode) in R/3 and retrieve all conditions fields and then populate the pricing conditions in CRM.
    Do you know any BADI with this behaviour? Or another similar?
    THANKS!

  • Creating Condition Table.. Key fields and line items

    dear all
    I am creating a Condition table and have 6 fields, I want to make 5 of them as key fields and also header line fields.
    I want my 6th field as line item field but I am unable to do that. My last key field is also shoiwing in line item.
    Please help.
    Thank you.
    Madhu.

    Hi,
    Check this thread
    Re: VK11
    Regards,
    Chandra

  • Key fields and non-key field of condition table

    Hello Gurus,
          what is key fields and non-key field of condition table?
    thanks very much!

    Key field
    Each condition table contains keys that can be used for creating dependent condition records.
    for example let take condition type PR00.
    PR00 uses access sequence PR02 .
    Access sequence PR02 has following tables associated with it namely 304, 305 & 306
    When you create a conditon record for PR00 with transaction VK11 or VK31, you have a button 'key combination' which is nothing but fields associated with tables 304, 305 & 306.
    In brief, Condition records are always created using specific keys. Condition tables are used to define the structure of the keys of a condition record.
    Non key field
    For example take condition table 144 - sales deal basic data.
    Table 144 is associated with access sequence PBUD.
    If you check the fields associated with this table (click technical view button), there are three fields at bottom which do not have 'key' check mark -KDATU, PLTYP, KSTAF
    So, when you create a condition record for PBUD, system does not propose these 3 fields in 'key combination' and hence are non key fields.
    Please reward points for good answers as this would help increase the total donation that SAP will make to the United Nations World Food Programme.

  • How to transfer SRM PO Condition Type and Custom fields to ECC?

    Hi All,
    I have a scenario to transfer SRM Line item condition types and few custom fields to ECC.
    I have found the following things but structure  'CI_EKPODB' does not exists in ECC.
    I am using 'SRM 5.00' and 'SAP ECC 6.0'.
    NOTE: I have to transfer condition records when PO is getting created / modified.
    1) Earlier I was planning to use BADI 'BBP_CREATE_BE_PO_NEW' in SRM and this will transfer the data to ECC in case of PO 
        Creation.
                   It contains the Condition fields to be passed to ECC.
    But i am unable to implement the same, whenever i create implementation when i click 'Activate' its getting activate then after few seconds its getting deactivate, i think this is because this BADI is not allowed for multiple use and SAP has already made one implementation on the same.
    2) I need to implement BADI 'BBP_ECS_PO_OUT_BADI' in SRM and 'BBP_PO_INBOUND_BADI' in ECC.
    SRM BADI will pass verified field details to ECC as a custom fields
           It does not contains the Condition fields to be passed to ECC, so i was planning to pass the same as custom field(s).
    ECC BADI 'BBP_PO_INBOUND_BADI'  will be used to map the fields to correct place and this should work.
    i need to modify the structures and pass all the custom fields (z-fields) - (CI_EKPODB but does not exists kindly suggest) as data.
    Other required details:
          Transfer of PO does not supported by SAP for service PO's, any suggestion on the same?
    Expecting quick reply from your end.
    Thanks in advance.
    Regards,
    Hemant

    Naresh,
    Thanks for quick response.
    My concern is this BADI 'BBP_CREATE_BE_PO_NEW' will trigger only in case of creation, not when PO is changes.
    I have to transfer condition types and custom fields to ECC in both the case (create / change)
    If i have to do this only in case of creation then i can pass Condition types / custom fields then i can use parameter 'CS_PO1_DOCUMENT' from method 'FILL_PO_INTERFACE1'.
    this parameter contains 'IT_POCOND', 'IT_POCONDX' and 'IT_EXTENSIONIN' as parameter  so my problem will be solved.
    But i dont think this will trigger in both the cases and 2nd thing i cann't implement the BADI since its not marked for multiple use so i am unable to implement the same.
    Kindly correct me if i am wrong.
    Once again thanks for your reply.
    Please suggest on the same.
    Regards,
    Hemant

  • Transportation Group and Shipping condition fields in Route determination

    Hello Guys,
    Please, I heard that if I leave Transportation Group and Shipping conditions field empty Route determination would consider whatever value I put in Material/Custumer Master.
    But the determination just happen if I put the exact value in either the determination and the Material Master for Transportation Group field for example.
    Have you ever determined Routes leaving the fields empty?
    Thank you,
    Regards,

    Hi,
    Those fields Transportation Group and Shipping conditions available in Route Determination are essential to trigger the correct route in Sales Order level.
    If blank the available routes need to be picked manually at Sales Order level.
    Kindly check .
    Regards,
    SRK

  • Condition types and value fields

    hi Gurus,
    Can anybody please explain me what is condidion type and value field and the purpose of these two in costing??
    Regards,
    S.Sumana

    Dear Sumana,
    Condition types and Value field conjuction is used in Profitability Analysis.
    Condition type is an element in pricing procedure. For e.g price of the product consist of several things like base price, discount, tax, etc. so each compenent is called condition type.
    Value fields are grouping of cost elements for e.g. you have created a cost element Sales revenue then all revenue cost elements which consist of revenue.
    Condtion type Base Price is revenue which is mapped to value field Sales revenue. So as soon as the billing document is created value field is updated.
    For more information on Profitability analysis please read the documentation provide in www.help.sap.com
    Regards,
    Chintan Joshi.

  • Problem with Guard Condition (Fields Disabling)

    Hi All
    I have a screen where I am creating a notification... so I enter all my fields and data as below:
    If ALL fields are filled out then the call to my RFC will create the notification and pass back a notification number (EX_QMNUM)
    I then pass back EX_QMNUM to the input of my READ_S1 RFC. Since we have a custom table attached I thought it was best to retrieve the latest data from the database after point of save.
    However if they don't fill in the necessary criteria then I pop up an error (EG. Please fill in customer number). I put a GUARD CONDITION on the call back to the READ_S1 RFC. The guard seems to work as my breakpoint/RFC does not get hit... however it then CLEARS my fields and DISABLES everything. This is what it looks like after the save (with guard condition in place). This means I lose all my data and no save occurs.
    What am I doing wrong here? Is this a bug with the guard condition?
    Guard Condition (which seems to be working apart from the fact it disables my RGA fields)
    I'm not completely sure about IF conditions so let me know if this is wrong?

    Hi Brad,
    Thanks for the input, I have tried this now.
    1. In the case the guard evaluates to "false", I experience the fields being blank, but not grayed out. So the user is able to refill the input and submit. This means something else in your model causes the "grayed out" behavior.
    2. In general, in case you know the conditions to valid input in the client side, you could model this way:
    Valid input => the data services run. example guard to service: =ISNULL(@customer)==false
    Invalid input => the popup shows. example guard to popup: =ISNULL(in1@customer)==true
    3. Is it possible in your case to validate the input before running the first query? This will enable to use the Validation feature as in Input Validation. If possible it's the best way in terms of user experience, in my opinion.
    Thanks,
    Udi

  • SQL Query (updateable report) Region - Conditionally Hide and Set Values

    SQL Query (updateable report) Region - Conditionally Hide and Set Values
    Outline of requirement :-
    Master / Detail page with Detail updated on same page using SQL Query (updateable report).
    The detail region has the following source
    SELECT item_id,
           contract_id,
           CASE WHEN hardware_id IS NOT NULL THEN
                   'HA'
                WHEN backup_dev_id IS NOT NULL THEN
                   'BD'
                WHEN hardware_os_id IS NOT NULL THEN
                   'HS'
           END item_type,
           hardware_id,
           backup_dev_id,
           hardware_os_id
    FROM   "#OWNER#".support_items
    WHERE  contract_id = :P26_CONTRACT_IDThe table support_items implements arced relationships and has the following columns
    CREATE TABLE SUPPORT_ITEMS
      ITEM_ID         NUMBER                        NOT NULL,
      CONTRACT_ID     NUMBER                        NOT NULL,
      HARDWARE_ID     NUMBER,
      BACKUP_DEV_ID   NUMBER,
      HARDWARE_OS_ID  NUMBER
    )A check type constaint on support_items ensures that only one of the fk's is present.
          (    hardware_id    IS NOT NULL
           AND backup_dev_id  IS NULL
           AND hardware_os_id IS NULL
    OR    (    hardware_id    IS NULL
           AND backup_dev_id  IS NOT NULL
           AND hardware_os_id IS NULL
    OR    (    hardware_id    IS NULL
           AND backup_dev_id  IS NULL
           AND hardware_os_id IS NOT NULL
          )    Hardware_Id is a FK to Hardware_Assets
    Backup_dev_id is a FK to Backup_Devices
    Hardware_os_id is a FK to Hardware_op_systems
    The Tabular Form Element based on item_type column of SQL query is Displayed As Select List (based on LOV) referencing a named list of values which have the following properties
    Display Value     Return Value
    Hardware Asset    HA
    Backup Device     BD
    Computer System   HSThe Tabular Form Elements for the report attributes for hardware_id, backup_dev_id and hardware_os_id are all Displayed As Select List (Based on LOV).
    What I want to do is only display the Select List for the FK depending on the value of the Select List on Item Type, e.g.
    Item_Type is 'HA' then display Select List for hardware_id, do not display and set to NULL the Select Lists for backup_dev_id and hardware_os_id.
    Item_Type is 'BB' then display Select List for backup_dev_id, do not display and set to NULL the Select Lists for hardware_id and hardware_os_id.
    Item_Type is 'HS' then display Select List for hardware_os_id, do not display and set to NULL the Select Lists backup_dev_id and hardware_id.
    There are properties on elements to conditionally display it but how do we reference the values of the SQL query Updateable region? they are not given a page item name?
    Also on the Tabular For Elements there is an Edit tick against a report item - however when you go to the Column Attributes there is not a property with which you can control the Edit setting.
    What's the best way of implementing this requirement in APEX 3.1?
    Thanks.

    >
    Welcome to the forum: please read the FAQ and forum sticky threads (if you haven't done so already), and update your profile with a real handle instead of "user13515136".
    When you have a problem you'll get a faster, more effective response by including as much relevant information as possible upfront. This should include:
    <li>Full APEX version
    <li>Full DB/version/edition/host OS
    <li>Web server architecture (EPG, OHS or APEX listener/host OS)
    <li>Browser(s) and version(s) used
    <li>Theme
    <li>Template(s)
    <li>Region/item type(s) (making particular distinction as to whether a "report" is a standard report, an interactive report, or in fact an "updateable report" (i.e. a tabular form)
    With APEX we're also fortunate to have a great resource in apex.oracle.com where we can reproduce and share problems. Reproducing things there is the best way to troubleshoot most issues, especially those relating to layout and visual formatting. If you expect a detailed answer then it's appropriate for you to take on a significant part of the effort by getting as far as possible with an example of the problem on apex.oracle.com before asking for assistance with specific issues, which we can then see at first hand.
    I have a multi-row region that displays values and allows entries in a number of fields.Provide exact details of how this has been implemented. (An example on apex.oracle.com is always a good way to do this.)
    I should like the fields to be conditional in that they do not permit entry, but still display, if certain conditions apply (e.g. older rows greyed out). Can this be done? Almost anything can be done, often in multiple ways. Which are appropriate may be dependent on a particular implementation, the skills available to implement it, and the effort you're willing to expend on it. Hence it's necessary to provide full details of what you've done so far...

  • CL_GUI_ALV_GRID check date and POP-up appears (that is not required)

    Hi all,
    we use class CL_GUI_ALV_GRID in a report. The list contains a date field.
    If i put into this field a wrong format (example dddd instead of DD.MM.YYYY) i'll get a pop-up as an error message.
    But i would like that this error message will display in the message line (lowest line of dynpro).
    Another field is defined as an CHAR field and if i put a wrong value into this field the error message displayed in the lowest line of dynpro.
    How can i adjust this functionality if i use the date format?
    Thanks in advance.
    Regards
    Lutz

    Hi.,
    This is the Standard behavior or CL_GUI_ALV_GRID. To suppress the popup log you have  to deactivate the protocol display.
    pass space to the method ACTIVATE_DISPLAY_PROTOCOL( ) of class CL_GUI_ALV_GRID to suppress popup log.
    DATA: o_grid  TYPE REF TO cl_gui_alv_grid.
    o_grid->activate_display_protocol( space ). " To deactivate Protocol display
    do this in PBO.
    hope this helps u.,
    Thanks & Regards,
    Kiran

  • Problems with Conditional Display and Read Only

    Hi Everybody,
    I have a form to Add/ Modify Table Info.
    I have column which stores numeric value (like no. of purchases, no.of returns etc.,) and I have a text field with this Database column as Source.
    In some cases the value is a foreign key (Id of the Owner, Buyer etc.,) to another table. In such cases, I want to display a select list containing people information. Is that possible?
    This is what I did to achieve that
    I added a select list with info from second Table. Made both the text field and the select list to conditional display and conditional read only.
    My understanding is that When an item is made read only it should not be saved to the Database.
    But while Updating I am getting the following Error
    ORA-06550: line 1, column 130: PL/SQL: ORA-00957: duplicate column name ORA-06550: line 1, column 7: PL/SQL: SQL Statement ignored.
    Any can anybody help me out on this?
    Thanks
    Nimmi

    My understanding is that When an item is made read only it should not be saved to the Database
    No, all page items with a Source Type of "Database Column" will be used by the Automatic DML process to insert/update the database. Form inputs with the "disabled" HTML attribute set are not POSTed to the server.
    Try to create 2 items, one Select List and other Text Field but setup their conditions such that only one of them is rendered on the page at any given time. That might work.

Maybe you are looking for

  • Why can't I just use my debit card for adding my child to family share?!

    I want to use my child on family share but can't because I don't need or want a credit card, my bank has fraud protection, who actually just called me about fraud because I purchased the newest iPhone! I don't like credit cards. Why can't I just use

  • Report on Account Balance

    Hello Friends, Please can you let me know, if there is any transaction to generate a report on consumer ledger account. I am aware of FPCC0002, but this generates a correspondence letter. If there is a way out to get a output in report format. Regard

  • Dropping in a shot

    Hi, I've searched the manual pages (honest!) and couldn't find this feature: After laying a timeline off to tape, I often find I need to go back, adjust a shot and drop it in to the tape at the right place. So, how do I edit just that shot to tape wi

  • Escape Release strategy based on purchasing group

    Dear Experts, In our system,  PO release strategy is set up, But, some of the POs are not subjected to release strategy because they belong to a perticular Purhasing Group (P01). Where this set up is done? Regards, Shashidhar

  • Agent and TNSListener service can not run when system starting

    The Agent and TNSListener services can not run automaticaly when system startes.If run Agent service by hand in control panel,system prompt 3221356559 error message.If run TNSListener service in control panel,system prompt none.But after refresh,TNSL