Very urgent Decimal issue in ADF page

Hello friends,
i have an issue in ADF page which was weight field, issue has below.
1) weight filed was validated that without entering 5 digit value in filed, example suppose i enter 12345 in weight it is showing that in small dialog box -weight value should be 0 to 9999.999 only. but it is let me to go next field and submit button. it is happening only in create page only.
2)but when i go to detail page , same weight fild is populated there - i enter invalid weight something 12345, it is showing that in small dialog box -weight value should be 0 to 9999.999 only. but here let me not go to another filed until i ENTER valid value.
create page weight filed need to work same as detail page.i am new to ADF development, how to check where this validation done and how to fix this.
very very urgent.
Thanks,
vamshi.

If you use ADF BC, open the entity and choose "Business Rules". You can then add validation rules such as range limits under the attributes. It is usually best practice to include validation rules in the entity (model layer), this way they apply automatically to all view objects based on the entity and you are guaranteed to have only valid values in the database. (View layer validation may have its place as a convenience supplement.)
Read more about business rules in the developer's guide: http://download.oracle.com/docs/cd/E12839_01/web.1111/b31974/bcvalidation.htm

Similar Messages

  • A very urgent deployment issue about DBAdapter

    Hello All,
    I have a very urgent deployment issue about DBAdapter.
    That DBAdapter is connect to DB2 AS400 Database. I have a developing database (jdbc:as400://server01/TEST) and a production database (jdbc:as400://server01/PROD).
    During developing, I used DBAdapter wizard to create it, and import some tables, and set the Adapter to use jabc/DB2DS as connection information for easily deployment later.
    Then I deploy to Production. I configured Data-source.xml and oc4j-ra.xml rightly; I set DB connection point to production database. But the DBAdapter still write into developing Database.
    I checked the DBAdapter, the imported tables are something like this, TEST.table1, TEST.table2. And there are a lot "TEST" located in DB2Writer_toplink_mapping.xml, DB2Writer.xml, TEST.schema, DB2Writer.table1.ClassDescriptor.xml.
    This TEST is refrer to the TEST in connect String jdbc:as400://server01/TEST.
    I think this might be the reason cause the problem. As to production database, "TEST" should replaced by "PROD". If I changed it manually, I have to change every time when switch between TEST and PROD. And I also don't know if it is safe to do it? (I tried, and bring some toplink mapping problem)
    By the way, for Oracle Database, because we use 2 instances for testing and production with same schema name, and do not have this issue.
    Anyone could help and many thanks.
    Kerr
    Message was edited by:
    Kerr

    Hi Kerr,
    The idea is to set up all connections in the BPEL or ESB services with logical names, e.g. typically of the form eis/DB/MyFinancialSystem or eis/DB/MyLogisticsSystem. This way, you do not have to modify code when deploying it onto different environments that serve different purposes.
    When moving your services through their lifecyle, on every environment you deploy these to you will have the same logical connections configured on each instance, e.g. for DEV, QA, SIT, UAT and PROD. Only, in case of QA the actual physical connection is configured to point to the QA instance of the systems that your services interact with whereas in case of UAT it points to the UAT instance of the same system.
    Maybe your problem is caused by connecting as user "SomeUser" when running the DB Adapter wizard during development and actually selecting objects from a different schema than you used to connect with, e.g. "Test" in your case.
    Hth,
    Sjoerd

  • !!!Very Urgent-Production Issue -Please help

    Hello IDMers,
    We are facing an issue in production, we updated the AD Process form yesterday. Two fields- Employee Type and Employee ID field in AD User Process form got refreshed for all existing users. Those two fields are empty now for all users.
    But these fields have appropriate value in the Xellerate User Table for all users. Now I need to some how populate the Employee Type and Employee ID field for all employees from User Table to AD Process form.
    for example: Consider an Employee called Peter- His emp type is Full Time and Emp ID is 100; which i have it in OIM User Table, but this user is provisioned with AD and now i will have to update his AD Process form so that these two fields are populated. I need to do this for all users in OIM. I guess the prepop adapter triggers only when the form is created for the first time. Please suggest me some ideas.
    Is there a easy way to do this task?
    What my thinking is, I need to have a scheduled task that basically loops through all users and updates their employee type and id field in AD User Form from Xellerate User Table.
    Please help me with this as it is highly important.
    Thanks again every one for your support all the while.
    Regards,
    ~VSN

    hey,
    i was doing lots of migration from one OIM box to another during our last release. I guess something would have gone wrong while doing an import/export from one OIM system to another.
    What I learned was while doing an import the vulnerable object is AD USER (or any resource of OIM) Object (both Process form and process definition), because those are the two objects which you need to import fully no matter how big a change you have done.
    So when you do an import watch out for USER DEFINED FIELDS in the process form because for me the two fields which disappeared were user defined/custom created by me. So make sure you export the latest version;even if you didnt make any changes to them better create a new version copy of the form and then export it.
    Hope that helps.
    ~VSN

  • VERY URGENT: Prining issue.

    When we manually print directly from the view output, it is printing correctly as desired. But when it is printed by the concurrent program automatically, output was not aligning properly. Though we change the top, bottom margins in rtf layout, it is not considering those values. Even the font size is also mismatching.
    I am using the following arguments for my print driver,
    -pn$PROFILES$.PRINTER -f$PROFILES$.FILENAME -c$PROFILES$.CONC_COPIES -Fpasta_checks.cfg
    And i am using the following preprocess command,
    preprocess=/usr/local/bin/pdftops {infile} {outfile}
    I tried modifying the pasta_checks.cfg file too(and bounced the concurrent manager), but its not effecting the output. Is there any thing else i need to check.
    Please help me, i have been working on this issue since 1 week, any help is much appreciated. Many thanks in advance.
    Edited by: User1984 on Oct 19, 2008 11:00 AM

    Hi All,
    We have installed acroread and tried with it, but no difference. When i try to place the check number in the desired location its cutting (printing partially) and when i try to move a bit down its not visible at all. If i move up its printing , but it is not accepted by bank.
    I have also tried with pdftops. Our unix people are not able to install gsview.(they lost confidence on me :( )
    In the configuration file we have modified options like 'bottomMargin=0', and modified the preprocess commmand as below,
    preprocess=/usr/local/bin/pdftops -paper letter {infile} {outfile}
    From the command line we tried the following options, but no change. we are not able to control the FOOTER SIZE. its always fixing to some size. Same commands we tried with acroread and pdftops.
    FNDPSTAX -pneno -fTEST.PDF -c1 -Fpasta_pdf.cfg
    FNDPSTAX -pneno -fTEST.PDF -c1 -paper letter -Fpasta_pdf.cfg
    FNDPSTAX -pneno -fTEST.PDF -c1 -l -s7 -Fpasta_pdf.cfg
    Please give me your suggestions and let me out, of this critical issue.(i have beeen spending 10 days and i have also logged an SR, and tried the options they mentioned. They asked me to install acroread and they also told its not an oracle issue.
    Please take a look at this.

  • Programmatic creation of ADF pages

    Does ADF allow creation of pages programmatically instead of creating them from JDev? Exploring option where components can be created dynamically at runtime.
    For most applications, static UIs build declaratively from JDev would suffice. We need to build an application that requires users with very little technical skills create ADF pages. Building the page in JDev is not an option. We can make it easier for the administrator/user by building a simple UI that captures the page definition (ex page text, controls that are required, destination page etc), and programmatically construct the page using the data provided. Does ADF provide APIs to programatically construct a page?

    Frank,
    Is it possible to create binding for a VO instance created at runtime and associate it with a table created at runtime. I've a page in which I need to dynamically create multiple instances of a table & vo based on a metadata stored in the database and display all in one screen.
    Thanks,
    Sreeni

  • Set Page "HEIGHT" ---Very Urgent, Please Help me on this issue. Please.

    Hi all ,
    Very Urgent, Please Help me on this issue.
    when_now_form trigger i set set maximize the window and MDI. And my window and canvas is same height (1500). The formsweb.cfg also changed to 1500. But still I can not view full page on web. Where to I change the properties. Please help.
    Selvam

    Is your form running inside the browser window (with SeparateFrame=False)? If the browser is maximized, and your form is maximized, yet you cannot see the entire screen, you can run with SeparateFrame=True. You can do that on the browser line.

  • Attachment issue --very urgent help  required

    Hello friends,
    1)i have create page and deatal page . requirement is that we have to load required attachments in table region, if not loading required attachments exception will raise. this validation is working fine in create page.
    2)same in detail page i loaded required attachments also excepiton is raising.
    waht would be cause. i am very new to ADF technology.
    very urgent to fix this issue. any one help me out.
    Thanks,
    vamshi.
    Edited by: Krishna Vamshi on Jul 1, 2010 6:14 PM

    Kirshna,
    Unfortunately your question is very unclear.
    Let me say that if you are asking about OA Framework, you should ask on the OA Framework forum, not here.
    also excepiton is raising.It will help if you say what the exception is.
    John

  • Very Urgent!!!Calling custom OAF vent reg page from JTT page gives error.

    1. We have a need to customize Oracle Marketing Online Event registration page (Oracle standard JTT page: amsEventRegistrantsEntryMain.jsp - available via function AMS_EVENT_REG_ENTRY) .
    2. We have created a new custom OAF page for the event registration and modified the function definition Web HTML property from "amsEventRegistrantsEntryMain.jsp" to "jtfcrmchrome.jsp?
    page=/oracle/apps/xxamw/xxams/event/webui/XXAmsEventRegScheduleCrePG&akRegionApplicationId=540&jttoijappn=OKL" (tried also with OA.jsp call)
    3. Now when we click on the Register link from the base (This Oracle standard Register link calls AMS_EVENT_REG_ENTRY and since AMS_EVENT_REG_ENTRY is modified we expect OAF page to render) page it throws "You have insufficient privileges for the current operation. Please contact your System Administrator." error. The function is not accessible.
    4. Navigation: Oracle Marketing Super User -> Marketing Online -> Event -> Registration Stb menu -> Search for a "Event Schedule Name" -> Click Go -> Click on Register link (We expect our custom OAF page when register link is
    clicked)
    Please note this design was tested successfully in an instance but when we migrated this to a new instance it fails. We cannot compare two instances since the previous instance no longer exists. Seems some issue with JTT menu straucture since we are using Oracle standard JTT function. This is a very urgent issue and any quick help or pointer will be great.
    Thanks/ Santanu

    Hi,
    R u still facing the issue?
    If So can you please tell me:
    Have u added your called function to the current user? That means by navigating to the responsibility you can access the same page directly, with out doing any transaction? If so then create your custom function with your required URL and attach to a menu ; then check if you are able to view that page from the menu navigation?If these thing is not working then I think you need to create a custom page that will extend the std region , that time hopefully it will work.
    Please post your result/thought!!
    Regards
    Apurba K Saha

  • Very Urgent.......How to update the database values through OAF pages ??

    Hi All,
    I am developeing some self service application thru Oracle Application Framework(OAF). There I am fetching 5 attributes from the database and displaying those attributes in my main page Table Region. Now my requirement is i want to edit that exising values & again i want to store it in the databse while clicking the update button. so first i have created one VO for fetching the values from the database & i make one Table Region in my main page along with 5 MessageTextInput field.. & i mapped that VO's attributes to my textbox.Now i can able to fetch & display the values inside the text box while rendering the page.
    But I dont know how to update the values in the database. Caz in my VO I have only select query. So anyone plz send me the code for update. And also plz let me know where to insert that code..whether (CO or AM or EO)..it is very urgent.
    Thanks
    srini

    David,
    Note that the default JavaBean datacontrol does not allow create/remove and transaction operations. These apis are not implemented for the JavaBean datacontrol.
    You may re-initialize the rowsetiterator, by calling ((oracle.adf.model.generic.DCRowSetIteratorImpl)iteratorBinding.getRowSetIterator()).clearCurrentData().
    This will force the RSI to refresh it's data via the named-accessor again.

  • Very Urgent :  Error Page protection violation: This may be caused by submitting a page that had not yet finished loading or by manual alteration of protected page items. For further assistance, please contact the application administrator.

    Hi,
    I getting this error press on upload button , its working in google chrome and firefox
    Error Page protection violation:
    This may be caused by submitting a page that had not yet finished loading or by manual alteration of protected page items.For further assistance, please contact  theapplication administrator.Contact your application administrator.
    Please help me any one

    First, please don't post questions/issues and start with "Very Urgent".  If you have an "urgent" issue I recommend you contact Oracle Support.  Second, if your issue is so urgent, I further recommend that you read this (url below) before going any further.  Posting questions without including product names, versions, and related information like platform, configuration and so on, will make it almost impossible for anyone to help you.
    http://blogs.oracle.com/shay/entry/10_commandments_for_the_otn_fo
    Finally, I am going to guess and say that you are having problems with Oracle Apex version 4.2.  If I am correct, I will tell you that this forum space is for Oracle Forms.  APEX questions should be posted here (below).  However, if you plan to post the same issue there, please consider reading the blog I mentioned above and follow its recommendations before posting anywhere else.
    https://community.oracle.com/community/developer/english/oracle_database/application_express

  • Very Urgent: Deleting Batch from STO and Goos Issue reversal  Using BAPI

    Hi,
    I want to delete outbound delivery for particular shipment number and this should be done using BAPI or a FM not using the tcode VL02N.
    I wld be very grateful
    Please List out the BAPI 's or FM that can be used for to perform these listed , with using Tcodes:
    1) REVERSE BILLING DOCUMENT(VF11)
    2) GOODS ISSUe REVERSAL (VL09N)
    3) REMOVE DELIVERY FROM SHIPMENT (VT02N)
    4) DELETING DELIVERY(VL02N)
    5) REMOVE BATCH FROM STO (ME22N)
    Its very urgent..
    Thank you in advance....

    1) REVERSE BILLING DOCUMENT(VF11)
    BAPI_BILLINGDOC_CANCEL
    2) GOODS ISSUe REVERSAL (VL09N)
    BAPI_GOODSMVT_CANCEL
    3) REMOVE DELIVERY FROM SHIPMENT (VT02N)
    BAPI_SHIPMENT_CHANGE
    4) DELETING DELIVERY(VL02N)
    5) REMOVE BATCH FROM STO (ME22N)
    BAPI_PO_CHANGE

  • Very Very Urgent Issue: Restricted Key Figure does not return any data

    Hi all,
    Please help me solving this urgent issue.
    created customer exit variable on characterstics version and also
    other customer exit variable on Value type.
    I coded that in variable exit. Problem is when I include these in
    restrickted keyfigure My query does not return me any data.
    But if I remove from restrickted key firgure and put it as normal
    charaterstics I see the variable is getting populated.
    Also in RSRT the SQl generated when these are included in RKF is not
    correct.
    I debugged and know they are getting populated. As when included in RKF
    I can also see the values of customer exit variables from information
    tab.
    I also know that there is data in cube for those restrictions.
    I posted one OSS Notes regarding this urgent issue. But got no reply from SAP.
    FYI: We are using BEx 3.5 Browser SAP GUI 6.4 Patch 20 BW Patch 11
    Thanks
    SAP BW
    **Please do not post the same question twice: Very Urgent Issue: Restricted Key Figure does not return any data

    Hi,
    Everyone out there this is very urgent. If someone can help me solving this problem.
    We are using BEx 3.5 Browser SAP GUI 6.4 Patch 20 BW Patch 11.
    I posted one oss notes also regarding this issue. But got no reply from SAP.
    So, Please help me solving this issue.
    Thanks
    SAP BW

  • Blank PAge when Launching WEB IC from Portal--Very Urgent

    Hi,
    We are using CRM 5.0 EIC scenario
    We have just configured new application server (adding one more to existing servers), when we lauch EIC (interaction centre) from this new server, it shows nothing, it just displays blank page,
    Need very very urgently
    MAx points would be awarded
    R

    In CRM 5.0 does t-code CRM_IC launch the page for you correctly?  if yes then I think you need to have your portal admin check this as it would seem portal related.

  • CATS Issue VERY Urgent..

    HI ALL,
    BiW  PROD is placing CATS data for 2007 in to week 52 2006.  Can advise why?
    Please advise what would be the error.
    Cheers,
    Sri

    Hi All,
    We have a problem for 0CALWEEK in CATS.
    FOR  0CALQUARTER
    20061 means 1st quarter
    20062 means 2ND quarter
    20063 means 3RD quarter
    20064 means 4TH quarter
    FOR 0calweeK:
    20061 means 1st WEEK
    20062 means 2ND WEEK
    20063 means 3RD WEEK
    20064 means 4TH WEEK
    0CALWEEK is giving problem  IN CUBE.
    It  shows wrongly.
    0CALQUARTER      0CAL WEEk
    2007 1             2006 52 ( 52 week)
    2007 1                          2006 52
    <b>0CAL WEEk          should show 2007 1     instead of 2006 52.</b>
    It should show :
    0CALQUARTER      0CAL WEEk
    2007 1             2007 1 (ist week in 2007)
    2007 1                         2007 1
    we have a routine on 0CAL_week
    =====
    PROGRAM UPDATE_ROUTINE.
    $$ begin of global - insert your declaration only below this line  -
    TABLES: ...
    DATA:   ...
    data:   employee_md like /bi0/memployee,
            employee_wa like /bi0/memployee,
            person_md   like /bi0/mperson,
            PERSON_WA   LIKE /BI0/MPERSON.
    DATA:   G_RECORD_NO LIKE SY-TABIX.
    INCLUDE RS_BCT_HR_UPDATE_RULES_GENERAL.
    INCLUDE RS_BCT_HR_PAPA_UPDATE_RULES.
    $$ end of global - insert your declaration only before this line   -
    FORM compute_characteristics
      TABLES   MONITOR STRUCTURE RSMONITOR "user defined monitoring
      USING    COMM_STRUCTURE LIKE /BIC/CS0CATS_IS_1
               RECORD_NO LIKE SY-TABIX
               RECORD_ALL LIKE SY-TABIX
               SOURCE_SYSTEM LIKE RSUPDSIMULH-LOGSYS
      CHANGING RESULT LIKE /BIC/VZCATST-CALWEEK
               RETURNCODE LIKE SY-SUBRC
               ABORT LIKE SY-SUBRC. "set ABORT <> 0 to cancel update
    $$ begin of routine - insert your code only below this line        -
    fill the internal table "MONITOR", to make monitor entries
    data: w_date type d.
    data: w_date_check type d.
    data: w_numberofdays type p decimals 2.
    data: w_numberofweeks type i.
    data: w_dayofweek type p.
    data: w_first_day_of_sap_calendar type d value '19790101'.
    data: check type i.
    data: w_year(4) type c.
    data: w_weekno(2) type c.
    w_date_check = COMM_STRUCTURE-CALDAY.
    w_date = w_date_check.
    w_date+04(04) = '0101'. " beginning of the year
    do.
    w_dayofweek = ( ( w_date - w_first_day_of_sap_calendar ) mod 7 ) + 1.
    if w_dayofweek = 7. " First sunday(7) of the Current year
    exit.
    endif.
    add 01 to w_date+07(01).
    enddo.
    w_numberofdays = ( w_date_check - w_date ) + 1.
    w_numberofweeks = ceil( w_numberofdays / 7 ).
    w_year = w_date_check+0(4).
      if w_numberofweeks = 53.
        w_numberofweeks = 1.
        w_year = w_date_check+0(4) + 1.
      endif.
      if w_numberofweeks = 0.
        w_numberofweeks = 52.
        w_year = w_date_check+0(4) - 1.
      endif.
    w_weekno = w_numberofweeks.
    call function 'CONVERSION_EXIT_ALPHA_INPUT'
         exporting
              input   = w_weekno
        importing
             output  = w_weekno.
    concatenate w_year w_weekno into RESULT.
    result value of the routine
    RESULT = .
    if the returncode is not equal zero, the result will not be updated
      RETURNCODE = 0.
    if abort is not equal zero, the update process will be canceled
      ABORT = 0.
    $$ end of routine - insert your code only before this line         -
    ENDFORM.
    ========
    This is giving problem from 2007 year only.
    We need to check with FI or HR teams , Is there any configuration settings in R/3 side for 0Calweek?
    This is production ISSUE. Help me on very Urgent BASIS!!
    Thanks & Regards,
    Sri.

  • Query Issue(Very Urgent)

    Hi,
         I have issue with select statement to pull the records from two tables. Here I have two tables one is with Billing Document Items and Service Order Operations.
    I have service order as unique field in both tables, When I execute select statement with one service order I got 10 records like
    S Ord Oper                           Billing Document Items
    Oper    Repair Code                 Item    Oper    Repair Code
    10        AD01                           1         10        AD01
    20        AD01                           2         20        AD01  
    30        OT01                           3         10        AD01
    40        RE01                           4         20        AD01
    50        RP01                           5         20        AD01
                                                   6        20         AD01
                                                    7        30         OT01
                                                    8        40         RE01  
                                                    9        50         RP01
                                                   10      50         RP01
                 This are the records with same Service order number, and my select statement giving data like
    O/P
    Service Order =  60001212
    OPER    ITEM    REPAIR TYPE
    10         1           AD01
    20         1           AD01
    10         2           AD01
    20         2           AD01
    10         3           AD01
    20         3           AD01
    10         4           AD01
    20         4           AD01
    10         5           AD01
    20         5           AD01
    10         6           AD01
    20         6           AD01
    30         7           OT01
    40         8           RE01
    50         9           RP01
    50         10         RP01
    But I need output like this
    Item  Oper                   Rep Code
    1      10                      AD01
    2      20                      AD01
    3      10                      AD01
    4      20                      AD01
    5      20                      AD01
    6      20                      AD01
    7      30                      AD01
    8      40                      RE01
    9      50                      RP01
    10    50                      RP01
             Please give me the select statement which gives the above output. I need very urgent please....
    Thanks
    Robbie

    hi robert,
    The ouput u want is just a little away from the one u r actually getting. it is the two fields OPER and ITEM interchangeably..
    U just have to use GROUP BY ITEM..........if u want the desired output with ITEM as first field.
    <group-by-clause> &#8594; GROUP BY [<column-ref>,*]<column-ref>
    if it helps please reward points.
    thanks

Maybe you are looking for