LOV Problem - Top Urgent !!!!!

A table contains of 4 composite primary fields, one of the
primary field is a date field.
A record group created at design time with the help of above
table. This record group is used for LOV, hence in record group
query, the select statement has all the four fields. The date
field is converted to CHAR as to display as DD/MM/YYYY,
otherwise it will display as DD-MON-YY.
A LOV is created based on the above record group. In column
mapping , the return item of the date field is date type whereas
in column names the date field is CHAR ( as per record group).
This gives a problem, as return item cannot accept a character
value when its own type is Date.
I have also tried to use to_date(to_char
(field_name,FDD/MM/YYYYF),FDD/MM/YYYYF) in my record group query
but it displays the date as DD-MON-YY.
My problem is that I have to display the date field in LOV List
as DD/MM/YYYY and accept it as date field because return type is
date type field.
null

Hello Shamsad,
Pls. try this. I think it will help you.
1. Open registry editor ( Run regedit)
2. Go to the following folder in registry
/HKEY_LOCAL_MACHINE/SOFTWARE/ORACLE
3. Add a new string NLS_DATE_FORMAT and assign value
'DD-MON-RRRR'
4. close the registry editor
5. And Now try your LOV.
Pls. don't change DATE field to CHAR in record group now it will
display as DD-MON-YYYY.
For any clearification write to me.
Thanks
Pradeep
Shamsad Khan (guest) wrote:
: A table contains of 4 composite primary fields, one of the
: primary field is a date field.
: A record group created at design time with the help of above
: table. This record group is used for LOV, hence in record group
: query, the select statement has all the four fields. The date
: field is converted to CHAR as to display as DD/MM/YYYY,
: otherwise it will display as DD-MON-YY.
: A LOV is created based on the above record group. In column
: mapping , the return item of the date field is date type
whereas
: in column names the date field is CHAR ( as per record group).
: This gives a problem, as return item cannot accept a character
: value when its own type is Date.
: I have also tried to use to_date(to_char
: (field_name,FDD/MM/YYYYF),FDD/MM/YYYYF) in my record group
query
: but it displays the date as DD-MON-YY.
: My problem is that I have to display the date field in LOV List
: as DD/MM/YYYY and accept it as date field because return type
is
: date type field.
null

Similar Messages

  • Jdev11g/adf/LOV problem

    Hi Frank and all,
    A LOV problem is here,
    i ve attached scrren shots and some code at following link,
    http://sites.google.com/site/mucuslu/index/adflovproblem-1
    thanks.
    Mucahid

    Anybody know why I get sometime this exception?
    Thanks

  • Urgent: please help with LOV problem

    Hi,
    I created a record group and LOV (LOV1), also a text item set list of value property to LOV1. When I ran form, it showed the list, but when I selected one from the list, neither double click or click OK put anything into the text item. Could someone tell me what went wrong? Thanks a lot.
    Sa

    Did you set the "column mapping properties" so the LOV can know which value(s) to return to which form item(s)?

  • Radio Button problem (not yet solved !!! --- Top Urgent )

    In Forms 5.0,I have created a entry screen which consists a
    radiogroup with 2 radio buttons. In new-form-instance trigger, I
    have written: execute_query ;: last_record;
    It shows me the last record but it shows my radio group with no
    button selected.: If I go back to the previous record, it shows
    me the record
    with : one of the radio button selected.
    My question is why it does not show radio button selected when my
    when-new-form-instance trigger fires ?
    Please note : Property palette of Radio Group & Radio buttons
    have been correctly assigned .
    null

    Shamsad Khan (guest) wrote:
    : In Forms 5.0,I have created a entry screen which consists a
    : radiogroup with 2 radio buttons. In new-form-instance trigger,
    I
    : have written: execute_query ;: last_record;
    : It shows me the last record but it shows my radio group with no
    : button selected.: If I go back to the previous record, it shows
    : me the record
    : with : one of the radio button selected.
    : My question is why it does not show radio button selected when
    my
    : when-new-form-instance trigger fires ?
    : Please note : Property palette of Radio Group & Radio buttons
    : have been correctly assigned .
    Shamsad Khan,
    In Forms5.0, try setting Mapping of other values properties.
    regards.
    null

  • LOV problem : here is my code

    Hello all,
    I've been trawling through the forums trying to find a solution to this problem but with no success.
    I am trying to create an LOV for my application, the Activity_Plan_ObjectView1_Update page accesses the LOV (via LocationLOV.uix) which is meant to then update this page.
    Here is my code, the first page has the BC4J tag which opens the LocationLOV.uix page, I think the problem lies with how I'm trying to pass the parameter back to the Activity_Plan_ObjectView1_Update page :
    Activity_Plan_ObjectView1_Update :
    <?xml version="1.0" encoding="windows-1252" ?>
    <page xmlns="http://xmlns.oracle.com/uix/controller"
    xmlns:ctrl="http://xmlns.oracle.com/uix/controller"
    xmlns:ui="http://xmlns.oracle.com/uix/ui"
    xmlns:bc4j="http://xmlns.oracle.com/uix/bc4j" >
    <bc4j:registryDef>
    <bc4j:rootAppModuleDef name="Activity_Plan_ObjectView1AppModule"
    definition="uiXML.BC4J_PackageModule"
    releaseMode="stateful" >
    <bc4j:viewObjectDef name="Activity_Plan_ObjectView1" >
    <bc4j:rowDef name="UpdateActivity_Plan_ObjectView1" autoCreate="false" >
    <bc4j:propertyKey name="key" />
    </bc4j:rowDef>
    </bc4j:viewObjectDef>
    </bc4j:rootAppModuleDef>
    </bc4j:registryDef>
    <content>
    <try xmlns="http://xmlns.oracle.com/uix/ui"
    xmlns:data="http://xmlns.oracle.com/uix/ui" >
    <catch>
    <displayException />
    </catch>
    <contents>
    <switcher childName="default">
    <boundAttribute name="childName">
    <if>
    <comparison type="equals">
    <dataObject select="key" source="ctrl:page"/>
    <dataObject source="ui:null"/>
    </comparison>
    <fixed text="error"/>
    </if>
    </boundAttribute>
    <case name="error">
    <header text="Required page property 'key' missing. Cannot display page."/>
    </case>
    <case name="default">
    <pageLayout title="Activity Plan - Update" >
    <!-- Start of common pageLayout section. If you plan to expand this
    example application, consider using a UIT template to specify the common
    portions of your pageLayout -->
    <productBranding>
    <image source="tools_collage.gif" shortDesc="JDeveloper Product Logo"/>
    </productBranding>
    <corporateBranding>
    <image source="oraclelogo.gif" shortDesc="Oracle Logo"/>
    </corporateBranding>
    <globalButtons>
    <globalButtonBar>
    <contents>
    <globalButton source="www_home.gif"
    text="Home"
    destination="Main.uix" />
    <globalButton source="www_contact.gif"
    text="Contact Us"
    destination="http://www.oracle.com" />
    <globalButton source="www_help.gif"
    text="Help"
    destination="http://otn.oracle.com/products/jdev/content.html" />
    </contents>
    </globalButtonBar>
    </globalButtons>
    <copyright>Copyright 2002 Oracle Corporation. All Rights Reserved.</copyright>
    <privacy>
    <link text="Privacy Statement" destination="http://www.oracle.com"/>
    </privacy>
    <!-- End of common pageLayout section -->
    <contents>
    <!-- this will contain any validation errors after form
    submission -->
    <messageBox automatic="true" />
    <form name="updateForm" method="POST" >
    <contents>
    <!-- we cannot implicitly determine that events
    will be triggered because submit buttons are
    outside the form scope, so add the placeholder
    explicitly -->
    <formParameter name="event" />
    <!-- layout the fields in two columns -->
    <tableLayout>
    <contents>
    <bc4j:rootAppModuleScope name="Activity_Plan_ObjectView1AppModule" >
    <contents>
    <bc4j:viewObjectScope name="Activity_Plan_ObjectView1" >
    <contents>
    <bc4j:rowScope name="UpdateActivity_Plan_ObjectView1" >
    <contents>
    <bc4j:messageInput attrName="PlanId" prompt="Plan ID" />
    <bc4j:messageInput attrName="PlanType" prompt="Plan Type"/>
    <bc4j:messageInput attrName="PlanTypeCode" />
    <bc4j:messageInput attrName="PlanDesc" />
    <bc4j:messageInput attrName="PlanStart" />
    <bc4j:messageInput attrName="PlanFinish" />
    <bc4j:messageInput attrName="ActivityApproved" />
    <bc4j:messageInput attrName="CreatedBy" />
    <bc4j:messageLovField attrName="DeployToLocation"
    onClick="openWindow(top,
    'LocationLOV.uix',
    'lovWindow',
    {width:400, height:450},
    true,
    'dialog')" />
    </contents>
    </bc4j:rowScope>
    </contents>
    </bc4j:viewObjectScope>
    </contents>
    </bc4j:rootAppModuleScope>
    </contents>
    </tableLayout>
    </contents>
    </form>
    </contents>
    <contentFooter>
    <!-- place a row of buttons below the content -->
    <pageButtonBar>
    <contents>
    <!-- the cancel button performs a transaction rollback -->
    <button text="Cancel" ctrl:event="cancel" />
    <!-- the update button submits the user-entered
    form data -->
    <submitButton text="Update" formName="updateForm"
    ctrl:event="apply" />
    </contents>
    </pageButtonBar>
    </contentFooter>
    </pageLayout>
    </case>
    </switcher>
    </contents>
    </try>
    </content>
    <handlers>
    <event name="cancel" >
    <!-- using the ApplicationModule causes it to be checked out from the
    ApplicationPool. It is released using stateful mode. -->
    <bc4j:findRootAppModule name="Activity_Plan_ObjectView1AppModule" >
    <!-- rollback the current transaction -->
    <bc4j:rollback/>
    <!-- forward to the summary page -->
    <ctrl:go name="Activity_Plan_ObjectView1_View" redirect="true" />
    </bc4j:findRootAppModule>
    </event>
    <event name="apply" >
    <!-- using the ApplicationModule causes it to be checked out from the
    ApplicationPool. It is released using stateful mode. -->
    <bc4j:findRootAppModule name="Activity_Plan_ObjectView1AppModule" >
    <!-- establish the ViewObject scope -->
    <bc4j:findViewObject name="Activity_Plan_ObjectView1" >
    <!-- find the row by key, falling back on a new default
    row if the key is not found -->
    <bc4j:findRow name="UpdateActivity_Plan_ObjectView1" >
    <!-- set each attribute explicitly -->
    <bc4j:setAttribute name="PlanId" />
    <bc4j:setAttribute name="PlanType" />
    <bc4j:setAttribute name="PlanTypeCode" />
    <bc4j:setAttribute name="PlanDesc" />
    <bc4j:setAttribute name="PlanStart" />
    <bc4j:setAttribute name="PlanFinish" />
    <bc4j:setAttribute name="ActivityApproved" />
    <bc4j:setAttribute name="CreatedBy" />
    <bc4j:setAttribute name="DeployToLocation" />
    <!-- commit the transaction -->
    <bc4j:commit/>
    <bc4j:executeQuery/>
    <!-- forward to the summary page -->
    <ctrl:go name="Activity_Plan_ObjectView1_View" redirect="true" />
    </bc4j:findRow>
    </bc4j:findViewObject>
    </bc4j:findRootAppModule>
    </event>
    </handlers>
    </page>
    LocationLOV.uix :
    <?xml version="1.0" encoding="windows-1252" ?>
    <page xmlns="http://xmlns.oracle.com/uix/controller"
    xmlns:ctrl="http://xmlns.oracle.com/uix/controller"
    xmlns:ui="http://xmlns.oracle.com/uix/ui"
    xmlns:bc4j="http://xmlns.oracle.com/uix/bc4j" >
    <bc4j:registryDef>
    <bc4j:rootAppModuleDef name="LocationView1AppModule"
    definition="uiXML.BC4J_PackageModule"
    releaseMode="stateful" >
    <bc4j:viewObjectDef name="LocationView1"
    rangeSize="5" />
    </bc4j:rootAppModuleDef>
    </bc4j:registryDef>
    <content>
    <try xmlns="http://xmlns.oracle.com/uix/ui"
    xmlns:data="http://xmlns.oracle.com/uix/ui" >
    <catch>
    <displayException />
    </catch>
    <contents>
    <pageLayout xmlns="http://xmlns.oracle.com/uix/ui"
    xmlns:data="http://xmlns.oracle.com/uix/ui"
    title="Location LOV" >
    <!-- Start of common pageLayout section. If you plan to expand this
    example application, consider using a UIT template to specify the common
    portions of your pageLayout -->
    <!-- End of common pageLayout section -->
    <contents>
    <!-- this will contain any validation errors after form
    submission -->
    <messageBox automatic="true" />
    <bc4j:rootAppModuleScope name="LocationView1AppModule" >
    <contents>
    <header text="Search" >
    <contents>
    <form name="search" method="POST" >
    <contents>
    <inlineMessage prompt="Search" vAlign="middle" >
    <contents>
    <flowLayout>
    <contents>
    <choice name="attrName"
    data:selectedValue="attrName@ctrl:page"
    shortDesc="Search Column">
    <contents>
    <option text="LoCode" value="LoCode" />
    </contents>
    </choice>
    <textInput name="attrValue" columns="20"
    data:text="attrValue@ctrl:page"
    shortDesc="Search"/>
    </contents>
    </flowLayout>
    </contents>
    <end>
    <submitButton text="Go" ctrl:event="search" />
    </end>
    </inlineMessage>
    </contents>
    </form>
    </contents>
    </header>
    <header text="Results" >
    <contents>
    <form name="viewForm" method="POST" >
    <contents>
    <tableLayout>
    <contents>
    <bc4j:viewObjectScope name="LocationView1" >
    <contents>
    <bc4j:table name="viewTable" width="20%"
    alternateText="No rows found">
    <tableSelection>
    <!-- single selection for each row in the table -->
    <singleSelection selectedIndex="0" shortDesc="Select Row">
    <contents>
    <!-- the update button causes the currently selected
    row to be sent to the update page -->
    <!-- the delete button causes the currently selected
    row to be removed -->
    </contents>
    </singleSelection>
    </tableSelection>
    <!-- the key identifying the current row in the table -->
    <bc4j:keyStamp>
    <bc4j:rowKey name="key" />
    </bc4j:keyStamp>
    <contents>
    <!-- A bc4j:column element is added for each attribute
    in the ViewObject. -->
    <bc4j:column attrName="LoCode">
    <columnHeader>
    <bc4j:sortableHeader sortable="no" text="Location Code" />
    </columnHeader>
    <contents>
    <bc4j:input readOnly="true"/>
    </contents>
    </bc4j:column>
    </contents>
    </bc4j:table>
    </contents>
    </bc4j:viewObjectScope>
    </contents>
    </tableLayout>
    </contents>
    </form>
    </contents>
    </header>
    </contents>
    </bc4j:rootAppModuleScope>
    </contents>
    <contentFooter>
    <!-- the create button redirects to the create page -->
    <button text="Select" ctrl:event="select" />
    </contentFooter>
    </pageLayout>
    </contents>
    </try>
    </content>
    <handlers>
    <event name="search" >
    <!-- using the ApplicationModule causes it to be checked out from the
    ApplicationPool. It is released using stateful mode. -->
    <bc4j:findRootAppModule name="LocationView1AppModule" >
    <!-- establish the ViewObject scope -->
    <bc4j:findViewObject name="LocationView1" >
    <!-- search for the view criteria -->
    <bc4j:findByExample>
    <bc4j:exampleRow ignoreCase="true" >
    <bc4j:exampleAttribute>
    <bc4j:nameBinding><bc4j:parameter name="attrName" /></bc4j:nameBinding>
    <bc4j:valueBinding><bc4j:parameter name="attrValue" /></bc4j:valueBinding>
    </bc4j:exampleAttribute>
    </bc4j:exampleRow>
    </bc4j:findByExample>
    <bc4j:executeQuery/>
    <!-- store the current search criteria as page properties -->
    <bc4j:setPageProperty name="attrName" >
    <bc4j:parameter name="attrName" />
    </bc4j:setPageProperty>
    <bc4j:setPageProperty name="attrValue" >
    <bc4j:parameter name="attrValue" />
    </bc4j:setPageProperty>
    </bc4j:findViewObject>
    </bc4j:findRootAppModule>
    </event>
    <event name="sort" source="viewTable" >
    <!-- using the ApplicationModule causes it to be checked out from the
    ApplicationPool. It is released using stateful mode. -->
    <bc4j:findRootAppModule name="LocationView1AppModule" >
    <!-- establish the ViewObject scope -->
    <bc4j:findViewObject name="LocationView1" >
    <!-- sort by the submitted attribute name -->
    <bc4j:sort/>
    </bc4j:findViewObject>
    </bc4j:findRootAppModule>
    </event>
    <event name="goto" source="viewTable" >
    <!-- using the ApplicationModule causes it to be checked out from the
    ApplicationPool. It is released using stateful mode. -->
    <bc4j:findRootAppModule name="LocationView1AppModule" >
    <!-- establish the ViewObject scope -->
    <bc4j:findViewObject name="LocationView1" >
    <!-- navigate to the submitted range -->
    <bc4j:goto/>
    </bc4j:findViewObject>
    </bc4j:findRootAppModule>
    </event>
    <event name="select" >
    <ctrl:go name="Activity_Plan_ObjectView1_Update" redirect="false" >
    <ctrl:property name="key">
    <ctrl:selection name="viewTable" key="key" />
    </ctrl:property>
    </ctrl:go>
    </event>
    </handlers>
    </page>
    My apologies for such a huge post, hopefully any solutions will serve as some sort of tutorial for others stuck with this problem.
    I thank the kind souls in advance for any solutions they offer.
    Greg

    That's a bit too much code to look into, I'm afraid.
    Perhaps you could enable UIX debug mode (see the UIX
    Configuration chapter) and see the servlet log to
    find out what parameters are being sent back to
    the server.

  • JDeveloper 3.1 LOV problem

    Hi,
    I am currently trying to use LOVs and having some problems. When running it, I get a LOV where I can select a value and return it, but the top textfield of the LOV window is always empty ( it should contain the last selected value!).
    Also, when I use the "find" button , I obtain the following message:
    JBO-27122: SQL error during statement preparation. Statement: SELECT UR_COMPANY.COMPANY_ID, UR_COMPANY.DESCRIPTION FROM UR_COMPANY WHERE (( = myquery ))
    ( where "myquery" is the value I entered in the textfield ).
    Thanks in advance for any help
    Aymeric

    Dear Mr. Steve
    I Open this Link :
    http://radio.weblogs.com/0118231/stories/2004/09/23/notYetDocumentedAdfSampleApplications.html#80
    and did not find Example 79 and 80 (are missing) Please update this Link .
    thanks

  • Ask for ROI problem help urgently

    Hi,
    I have a very headache problem with ROI setting dynamically but I don't know how to do it so far.
    My device is being constructed and CCD camera has to be taken down away frequently present phase for other components tuning and adjustment. I have to retuning the optical system and collect a new reference image(background image) and reset ROI once more. It always makes my tested and workable vi become unworkable. I found, if I can set up a constant-size ROI dynamically in every new image which will be processed, this headche problem could be solved. I have studied the manual and website about the ROI but have no ideas to solve it yet and I need you help, the project will be closed 10 days later and it's very urgent to me.
    Take a look the images first please, the goal is for a vi to find the fibers in the glass tube. The ROI should be a rectagle zone exact as the inside space of tube. I can easily get the up-edge of tube with coordinates of its both endings and its angle in horizontal. How can I set up a constant-size ROI dynamically in every new image which will be processed?
    Of course it is very ease to get the ROI size in pixels by measuring under Vision Builder. I have done that the new image snaped shifts and rotates based on the reference image(background image).
    Comments and suggestion are highly appreciated!
    Best wishes to you for newly 2003!
    Swedlin
    Attachments:
    SentNiForumForROI_Help.zip ‏144 KB
    ForROI_Question.zip ‏332 KB

    Thank you very much, Bruce
    The problem right now becomes how to set up a zone by 4 points(their coordinates known!) as ROI.
    I tried to figure out what is your exact meaning in the procedure but still half understanding right now.About vision, I am much relying on the IMAQ Vision Builder, of course I will try to do it in labview when it's much simple. But I found some new factors and I'd like to solve my ROI problem in another way and maybe it is simpler and makes my vi work more reliable and stabler.
    I made a vi which creates a new image(bottom edge horizontal angle=0 or 360) from a previous reference image(used as background image, its related angle not =360 or 0)by rotating itself and this new image under Vision Builder was tested and it firmly proves both top and bottom edges are exactly horizontal. And at the same time I found that both top and bottom edges can be very easily and exactly found by " find straight edge:horizontal/edge" function and it indicates an exact zone to be ROI as desiration. But it shows the zone is not exact rectangle by glacing at their coordinates of 4 points. I used this script to test other images that are not exact horizontal and their results show both top and bottom edges are located badly. These promt something to me that it would be perfect if my ROI could be set up by the coordinates of these 4 points from both top/bottom edges found by vision vi and it exactly reflects the dynamically changes of ROI in real process operation. In another words, The ROIs are very tiny differnces and dynamically changed in machine-vision-view since settings up with device opticals,reflection of lightings are not exact the same each time and system vibration, and also the tube space is not exact rectagle due to its manufecturing tolorence, etc.
    Hence, the problem becomes how to set up the zone marked by these 4 points as ROI. I didn't find the related way to do this in Vision Builder but suppose it should be simple in labview. I still have no any idea of the function to do this now. Comments are still warm welcome, especially what functions to be used on this purpose.
    Thanks! Nice weekend!
    Swedlin

  • Portal crashes and intermittant problems..urgent help needed.

    Portal Runtime Error
    An exception occurred while processing a request for :
    iView : pcd:portal_content/administrator/super_admin/super_admin_role/com.sap.portal.system_administration/com.sap.portal.system_admin_ws/com.sap.portal.themes/com.sap.portal.theme_editor/com.sap.portal.styleeditor
    Component Name : null
    Page could not create the iView.
    I briefly describe the system setup.
    sptltrex = central instance
    sptl1 = app1
    sptl2 = app2
    sptldb = database instance.
    sptltrex built with virtual name ourworld-0
    sptldb built with virtual name ourworld-db
    System setup with Oracle dataguard feature, so ourworld-0 and ourworld-db can fail over to disaster recovery systems sptldr and sptldevdb at another site. Although we installed using the SAPINST_USE_HOSTNAME for SCS/central instance the visual administrator and message server still pick
    up sptltrex. We though setting the SAPLOCALHOSTFULL to ourworld-0.sap.serco.com had fixed this issue, but this generated many iview errors that
    could not be found. When the SAPLOCALHOSTFULL was backed out everything
    began to display again. Although there is still intermittant errors of screens not acting as required.
    message server output
    http://sptltrex:8100/msgserver/text/logon
    version 1.0
    J2EE1666800
    J2EE sptl2.sap.serco.com 50000 LB=2
    J2EES sptl2.sap.serco.com 50001 LB=2
    P4 sptl2.sap.serco.com 50004 LB=2
    P4S sptl2.sap.serco.com 50006 LB=2
    J2EE13975600
    J2EE sptltrex.sap.serco.com 50100 LB=2
    J2EES sptltrex.sap.serco.com 50101 LB=2
    P4 sptltrex.sap.serco.com 50104 LB=2
    P4S sptltrex.sap.serco.com 50106 LB=2
    P4HTTP sptltrex.sap.serco.com 50105 LB=2
    JC_ourworld-0_PP1_01
    SDM ourworld-0 50118
    We have had numerous OSS messages for various continuing problems on the system. Today we have an complete up-to-date as possible patched system. SPS 9 with all the latest sub patches also. We have installed AIX TL 05 with service pack 2 so oslevel -s shows 5300-05-02 + a related db APAR, the IBM java JDK is SRS06. Full earlywatch go-live check parameters and options have been completed.
    But still we have problems.
    can anybody help......it's urgent....
    thanks
    saurabh

    hi!!
    We have a 3-server portal installation with one j2ee dispatcher and two
    j2ee servers on each server.
    We are experiencing major issues with the consistency or
    synchronisation between the servers and availability of portal applications.
    For example the themes editor is only available on sptl1 server0, so if
    you are lucky and log onto that server you can use this application.
    THIS IS ONE OF MANY examples of this type of issue. How can we ensure
    that the landscape is consistent? Screen shots from sptl1 showing the
    themes application being available and not available.
    A simple look at the filesystem reveals the following, and only the
    themes editor directory and contents are on sptl1.
    JSPM deployment finished successfully.
    sptl1:root:/ > find / -name "com.sap.portal.themes.editor" -print
    /usr/sap/PP1/J00/j2ee/cluster/server0/apps/sap.com/irj/servlet_jsp/irj/root/web-inf/portal/portalapps/com.sap.portal.themes.editor
    /usr/sap/PP1/J00/j2ee/cluster/server0/apps/sap.com/irj/servlet_jsp/irj/root/portalapps/com.sap.portal.themes.editor
    sptl1:root:/ > ssh sptl2 find / -name "com.sap.portal.themes.editor" -
    print
    sptl1:root:/ > ssh sptltrex find / -
    name "com.sap.portal.themes.editor" -pri>
    thanks
    saurabh

  • LOV problem after deployment

    Hi,
    I have a weird problem. I just deployed my project and all went fine. However, when testing it, one ( and only one ) panel had its LOV buttons not working.
    When selecting one of those LOV buttons, the following error appears:
    "JBO-26080: Error while selecting entity for CtCatalogItem"
    The error seems to be with the business component table, (not the panel itself) as when I deleted the business component and recreated it, it worked fine.
    When trying to redeploy it,however, the error occured again.( It must be modifying or deleting a file/business component...)
    (I tried deleting the class files and rebuilding the project...)
    Thanks in advance for any help
    Aymeric
    null

    problem solved ! copied the cabo and webapp file in the \j2ee\home\default-web-app
    OC4J directory on the AIX. do not know if this is the finest solution, but ..anyway it works now
    Markus

  • SAPscript Output Problem - Very Urgent - Please help

    Hi,
    I am having the following problem with SAPscript.
    In the Main Window, I have instructions to the printer in the ZPL2 language (For Zebra Printer).
    There are also several variables, which are highlighted in Gray and enclosed in the’&’.
    There are also several elements – all of them empty except for the one where this code is.
    Now, I received this program to modify in terms of code and the output.
    IF you have never done any work with Zebra Printing, the way it is done is that you create a label using the Zebra BarOne or Zebra Designer program, then output it to an ‘itf’ file, upload it into a standard text as .itf and copy the uploaded contents to the main window. When printing to a Zebra printer, the Zebra printer will read the instructions and will print the output.
    Here is the problem: The config for the output type is correct.
    When doing a printing test from SAPscript, I get the right output and the Zebra printer is able to print it.
    However, the real process for this task will go through MB02. There, if I create a spool request using the proper method (select output type and etc.), it will go the spool. However, if I print preview or output (doesn’t work with the Zebra printer, so I have to output to the Laser printer), it will output the following (none of the following includes any of the ZPL2 code/instructions. Instead, it seams to print the variables contents with the field name next to it – This isn’t whats it’s the Main window!!!)
    http://img244.imageshack.us/img244/6915/66052475zk2.jpg
    Please help. I have debugged but don’t know what to do and can’t find anything wrong.
    This is very urgent. Any help will be useful.
    Thanks,
    John

    Ok, maybe I have confused others in regards to the issue as well.
    We expect this label to be output from a Zebra Printer.
    When output through Sapscripts printing test, the preview from the spool shows the ZPL2 code in small font (non readible if a created a screenshot) and if sent to the Zebra Printer, it prints the label correctly.
    When output through MB02, the preview from the spool shows the code that I have attached to the 1st post in this thread. If I try to output to the Zebra Printer, nothing happens because the ZPL2 instructions are not even in the preview and therefore, the Zebra printer recieves no instructions. I should not have mentioned the laser printer, because it has nothing to do with this issue.
    I hope that this makes the issue a little more clear and understandable. Please help.
    Here is the ZPL2 coding before uploading to standard text (only difference is that once uploaded,  the '/' characters are removed.) However, I believe that the problem may lie in the print program and how it compiles but I debugged and haven't really seen where it comes from:
    /:NEW-PAGE
    / ^XA
    / DFNEW-RE-1FS
    / ^PRC
    / LH0,0FS
    / ^LL1830
    / ^MD0
    / ^MNY
    / LH0,0FS
    / FO244,854A0N,55,46CI13FRFB154,1,0,LFN999^FS
    / FO819,698A0N,55,46CI13FRFN998FS
    / FO245,477A0N,55,46CI13FRFB755,1,0,RFN997^FS
    / FO389,926A0N,55,46CI13FRFB654,1,0,RFN996^FS
    / BY3,3.0FO42,1072B3N,N,152,N,YFRFN995FS
    / FO276,1258A0N,55,46CI13FRFN995FS
    / FO484,774A0N,55,46CI13FRFN994FS
    / FO817,774A0N,55,46CI13FRFN993FS
    / FO611,556A0N,55,46CI13FRFN992FS
    / FO245,556A0N,55,46CI13FRFN991FS
    / FO397,117A0N,55,46CI13FRFN990FS
    / FO245,405A0N,55,46CI13FRFB880,1,0,RFN989^FS
    / FO244,698A0N,55,46CI13FRFN988FS
    / FO629,998A0N,55,46CI13FRFN987FS
    / FO244,623A0N,52,42CI13FRFN986FS
    / FO397,261A0N,55,46CI13FRFB404,1,0,RFN985^FS
    / FO819,854A0N,55,46CI13FRFN984FS
    / FO725,554A0N,55,46CI13FRFN983FS
    / FO397,189A0N,55,42CI13FRFB695,1,0,RFN982^FS
    / FO397,333A0N,55,42CI13FRFN981FS
    / FO638,333A0N,55,42CI13FRFN980FS
    / FO391,21A0N,63,63CI13FRFB433,1,0,CFN979^FS
    / FO36,698A0N,55,46CI13FR
    / FDWBS:FS
    / FO37,405A0N,55,46CI13FR
    / FDMATL:FS
    / FO37,478A0N,62,44CI13FR
    / FDDESC:FS
    / FO554,698A0N,55,46CI13FR
    / FDSUPPLIER:FS
    / FO32,625A0N,55,46CI13FR
    / FDTEXT:FS
    / FO35,1258A0N,55,46CI13FR
    / FDBATCH NO:FS
    / FO770,775A0N,63,51CI13FR
    / FD/FS
    / FO32,854A0N,55,46CI13FR
    / FDESHM:FS
    / FO37,556A0N,55,46CI13FR
    / FDQTY:FS
    / FO32,998A0N,55,46CI13FR
    / FDSAP MATERIAL DOC NO:FS
    / FO525,333A0N,55,46CI13FR
    / FDofFS
    / FO556,854A0N,55,46CI13FR
    / FDINSPECT:FS
    / FO32,926A0N,55,46CI13FR
    / FDUNLOADING:FS
    / FO37,117A0N,55,46CI13FR
    / FDSTOCK TYPE:FS
    / FO32,774A0N,55,46CI13FR
    / FDPURCHASE ORDER:FS
    / FO37,188A0N,55,46CI13FR
    / FDDELIVER TO:FS
    / FO37,260A0N,55,46CI13FR
    / FDSTORAGE LOC:FS
    / FO37,332A0N,55,46CI13FR
    / FDCONTAINERS:FS
    / FO1,1359GB1217,0,6^FS
    / FO594,1359GB0,474,6^FS
    / ^XZ
    /:NEW-PAGE
    / ^XA
    / ^XFNEW-RE-1.ZPL
    / FN999FD&ATWRT_HAZAMAT(6)&^FS
    / FN998FD&EKKO-LIFNR&^FS
    / FN997FD&MABDR-MAKTX&^FS
    / FN996FD&MSEG-ABLAD&^FS
    / FN995FD&MSEG-CHARG&^FS
    / FN994FD&MSEG-EBELN&^FS
    / FN993FD&MSEG-EBELP&^FS
    / FN992FD&MSEG-ERFME&^FS
    / FN991FD&MSEG-ERFMG&^FS
    / FN990FD&MSEG-INSMK(1)&^FS
    / FN989FD&MSEG-MATNR&^FS
    / FN988FD&MSEG-MAT_PSPNR&^FS
    / FN987FD&MSEG-MBLNR&^FS
    / FN986FD&MSEG-SGTXT(40)&^FS
    / FN985FD&MSEG-UMLGO&^FS
    / FN984FD&QALS-PRUEFLOS&^FS
    / FN983FD&V_BACKORDER&^FS
    / FN982FD&V_NAME3&^FS
    / FN981FD&WS_CNTR&^FS
    / FN980FD&WS_CON&^FS
    / FN979FD&WS_HEADER& &^FS
    / ^PQ1,0,1,N
    / ^XZ
    / ^FX End of job

  • Dynamic LOV problem in Master Detail form in 3.0

    I am using Master detail layout for my app, In detail there is a LOV depending on the value of one of the items in master.
    LOV statement is like this
    select col1 a,col1 2
    from test_tab
    where col2 = :P2_VAL ;
    Note: :P2_VAL is the value of the one of the master table column value
    This code is working fine in version 2.1 .
    After I Upgraded to 3.0 , it is not working .
    If I put the hardcoded value like col2 = 'TEST' , it works for those values. Any suggestions for this problem is greatly appreciated.

    I solved it by commenting the Go_Item(startitm); line in the clear_all_records program unit which is generated by oracle forms.
    as shown below.
    IF :System.Cursor_Item <> startitm THEN
    --Go_Item(startitm);
    Check_Package_Failure;
    END IF;

  • Chart based on Select list with submit Lov problem

    Hi,
    I have one page with interactive report showing username with links, date and
    database actions.
    Another page contains one region having flash chart based on select list with submit Lov.
    The lov is created by dynamic query.
    Every time when i click the 1st page report link, the 2nd page lov is populating the value automatically. But the problem is chart displays NO DATA FOUND message though the LOV has many values.
    I don't want to display any null values so set to NO for LOV
    I tried to write Before header computation (PL/SQL Function Body) to set the lov value, but the query is displayed as such.
    I don't want to assign any static default value also as the values are dynamic for every link.
    The following is my Before header computation of Select list with submit (Item name is p11_schema). (PLSQL Function Body)
    begin
    if :p11_schema is null then
    return 'select distinct owner schema1, owner schema2 from auditing
    where access_date=' || :p11_access_date
    || ' and username=' || :p11_username
    || ' order by owner';
    end if;
    end;
    This is my chart query.
    select null link, obj_name label, sum(sel_count) "Select", sum(ins_count) "Insert", sum(upd_count) "Update", sum(del_count) "Delete" from auditing
    where username=:p11_username
    and access_date=:p11_access_date
    and owner=NVL(:p11_schema, OWNER)
    group by owner, obj_name
    Example: If there more than one records in the lov, the graph should display the 1st record. When i select another record, the chart accordingly display the selected values. But inially it should not display "NO DATA FOUND" message.
    I tried using all the combinations of computation type for the lov, SQL query ( I could not use if conditon then), PLSQL expression, PLSQL function body. But it does not work out.
    Can anyone please help me out.
    Thanks.

    Hi Scott,
    Thanks for your reply.
    I found out the solution for this problem as below.
    But i did it in different way to tackle the dynamic query wich returns more than one record using rownum always the 1st record when it is empty instead of assigning constant (static) value like '1'. And i am returning LOV itself for both null or not null condition as below.
    Declare
    q varchar2(4000);
    begin
    if :p11_schema is null then
    q:='select distinct owner schema from auditing';
    q:=q || ' where username=:p11_username ';
    q:=q || ' and access_date=:p11_access_date ';
    q:=q || ' and rownum<2 order by owner';
    Execute immediate q into :p11_schema USING :p11_username, :p11_access_date;
    end if;
    return :P11_SCHEMA;
    end;
    Thanks.

  • Urgent Sql Query Problem - -Very Urgent

    Hi Guys,
    I need a urgent solution for a problem.I am
    using the following query
    select ename from emp where deptno =10
    Now I will declare a bind variable and if user passes 'A'
    then the query will run as it is and if he passes B
    then it should run the above query with this additional clause -> birthdate - hiredate >15.
    Please can any one help its very urgent

    Assuming that you have a birthdate column in your emp table, the following will do what you are asking for:
    VARIABLE bind_var VARCHAR2(1)
    EXECUTE :bind_var := '&bind_variable'
    SELECT ename FROM
    (SELECT 'A' AS selection, ename FROM emp WHERE deptno = 10
    UNION ALL
    SELECT 'B' AS selection, ename FROM emp WHERE deptno = 10 AND birthdate - hiredate > 15)
    WHERE selection = :bind_var
    However, the clause "birthdate - hiredate > 15" will only retrieve rows for employees who were born more than 15 days after they were hired. I doubt that this is what you really want, since this is impossible.

  • Very Interesting problem, need urgent resolution

    Hi Guys,
    I have very weird and interesting problem which I have to fix urgently. Appreciate any help you guys can provide.
    I have one query which runs in All our database enviornments but Prod. Our UAT is refreshed by Prod Fortnightly so I am sure that it is not a data problem. I even tried for very small dataset making sure to select same data in UAT and Prod.
    Error:
    ORA-00932: inconsistent datatypes: expected NUMBER got -
    Query:
    select level ,--works if we reomve this
    xmlelement("L1", XMLATTRIBUTES(resource_name as "L1" ,resource_id as "p_resource_id",resource_manager_id as "p_rm_id",FTE, project_hrs ,
                 misc_hrs , total_hrs, avg_tot_hrs, Perc_utilization))
          from (  SELECT   resource_id,
               resource_name,
               resource_manager_id,
               trim(to_char(round(SUM (FTE),1), '999,999,999,999.9')) FTE,
               trim(to_char(round(SUM (project_hrs),1), '999,999,999,999.9')) project_hrs,
               trim(to_char(round(SUM (misc_hrs),1), '999,999,999,999.9')) misc_hrs,
               trim(to_char(round(SUM (total_hrs),1), '999,999,999,999.9')) total_hrs,
               trim(to_char(round(SUM (total_hrs)/decode(SUM (FTE),0,1,SUM (FTE)),1), '999,999,999,999.9')) avg_tot_hrs,
               trim(to_char(ROUND (SUM (project_hrs) * 100 / decode(SUM (expected_project_hrs),0,1,SUM (expected_project_hrs)), 1), '999,999,999,999.9'))
                  perc_utilization
        FROM   (    SELECT   CONNECT_BY_ROOT resource_name AS resource_name,
                             CONNECT_BY_ROOT resource_id AS resource_id,
                             CONNECT_BY_ROOT resource_manager_id AS resource_manager_id,
                             employee_type_code,
                             FTE,
                             project_hrs,
                             misc_hrs,
                             total_hrs,
                             avg_tot_hrs,
                             expected_project_hrs
                      FROM   (    SELECT   r.username resource_name,
                                           resource_id,
                                           resource_manager_id,
                                           employee_type_code,
                                           fte,
                                           project_hrs,
                                           misc_hrs,
                                           total_hrs,
                                           avg_tot_hrs,
                                           expected_project_hrs
                                    FROM   TIME_UTILILIZ_ORG_SUM_L3M_MV r
                              START WITH   resource_id = 129523
                             CONNECT BY   PRIOR r.resource_id = r.resource_manager_id)               
                CONNECT BY   PRIOR resource_id = resource_manager_id)
    GROUP BY   resource_id, resource_name, resource_manager_id)
              start with resource_id =129523 connect by prior resource_id=resource_manager_id; --works if we remove thisIf we remove outermost connect by, it runs so not a xmlelement problem as well. Any idea?
    Edited by: 783830 on Jul 22, 2010 6:58 AM

    I'm not sure if this will help you, but:
    with my_tab as (select 1 resource_id, 0 resource_manager_id, 1 project_hrs from dual union all
                    select 2 resource_id, 1 resource_manager_id, 1 project_hrs from dual union all
                    select 3 resource_id, 1 resource_manager_id, 1 project_hrs from dual union all
                    select 4 resource_id, 2 resource_manager_id, 1 project_hrs from dual union all
                    select 5 resource_id, 2 resource_manager_id, 1 project_hrs from dual union all
                    select 6 resource_id, 0 resource_manager_id, 2 project_hrs from dual union all
                    select 7 resource_id, 6 resource_manager_id, 2 project_hrs from dual union all
                    select 8 resource_id, 7 resource_manager_id, 2 project_hrs from dual),
    --- end of mimicking some data
        results as (select resource_id,
                           project_hrs,
                           prior resource_id prev_resource_id,
                           level lvl,
                           sum(project_hrs) over (partition by connect_by_root (resource_id)) tot_project_hrs
                    from   my_tab
                    connect by prior resource_id = resource_manager_id),
       results2 as (select resource_id,
                           connect_by_root resource_id top_resource_id,
                           project_hrs,
                           prior resource_id prev_resource_id,
                           level lvl
                    from   my_tab
                    connect by prior resource_id = resource_manager_id
                    start with resource_manager_id = 0)
    select r1.resource_id,
           r1.project_hrs,
           r1.tot_project_hrs,
           r2.top_resource_id,
           r2.prev_resource_id,
           r2.lvl
    from   results r1,
           results2 r2
    where  r1.resource_id = r2.resource_id
    and    r1.lvl = 1
    order by resource_id;
    RESOURCE_ID PROJECT_HRS TOT_PROJECT_HRS TOP_RESOURCE_ID PREV_RESOURCE_ID        LVL
              1           1               5               1                           1
              2           1               3               1                1          2
              3           1               1               1                1          2
              4           1               1               1                2          3
              5           1               1               1                2          3
              6           2               6               6                           1
              7           2               4               6                6          2
              8           2               2               6                7          3

  • Report region columns constrained to 4000 chars?   Hitting LOV problems.

    Hi all,
    I've hit a problem that I'm hoping will have a simple answer.
    Quick overview of issue:
    APEX 3.01 application running against a 10gR2 DB.
    We have an LOV defined that works just fine on various forms but in report regions where the LOV is available via a drop down column value in the report region HTML table we are hitting the error:
    report error:
    ORA-06502: PL/SQL: numeric or value error: character string buffer too small
    Some judicious debugging reveals that this seems to be because we are trying to load in more than 4000 characters into the LOV drop down in the report regions HTML table column (it's a moderately large LOV)..
    This suggests that the default column type in a report region HTML table is VARCHAR2 and thus that there is a default 4000 character limit on any such column values, would that be a fair assumption? I know that the actual report row size always used to be limited to a total of 32k but this limit is a new one to me.
    If there is such a limit, does anyone have any suggestions on how to work-around it i.e. is it possible to redefine report region column values to be other datatypes/dimensions or should we be looking at using an alternative such as a pop-up instead?
    Many thanks.

    Hi Scott,
    Okay, what we have is a fairly simple Dynamic Page with two report regions (both standard type of 'SQL Query'). The second report region is the one causing us the headache. The column headings are set to 'Custom' but apart from that everything seems as it should be.
    The following query populates an HTML table being generated in the second report region (problem line in bold):
    SELECT apex_item.hidden(7,task_id)||
    apex_item.select_list_from_lov(1, estimate_type, 'TASKSMK', NULL, 'YES', 0,'** Select Task **',NULL, NULL) as "Task Type",
    '<img src="/i/themes/aqa/required.gif" alt="Required Field" tabindex="999" />'||apex_item.text(2, description,30,4000,'required="true"') as "Work Item(s)",
    dbms_lob.substr(apex_item.select_list_from_lov_xl(3, username, 'PEOPLE', NULL, 'YES', 0, '** Select Resource **', NULL, NULL),4000) as "Resource",
    apex_item.text(4, days,5,5) as "Days",
    apex_item.text(5, start_date,11,11) as "target Start (dd-mon-yyyy)",
    apex_item.text(6, NVL(end_date,ADD_MONTHS(start_date,1)),11,11) as "Target End (DD-MON-YYYY)",
    rownum link
    FROM
    (SELECT t.task_id,
    e.estimate_type,
    t.description,
    t.username ,
    t.days,
    t.start_date,
    t.end_date
    FROM estimate e, task t
    WHERE e.project_project_id = TO_NUMBER(:F172_PROJECT_ID)
    AND e.active_yn = 'Y'
    -- and t.days > 0
    AND t.ese_id = e.id
    --AND e.creation_date = (SELECT MAX(ei.creation_date) FROM estimate ei WHERE ei.project_project_id = e.project_project_id AND ei.active_yn = 'N')
    UNION ALL
    SELECT 0 task_id,
    0 estimate_type,
    NULL description,
    '0' username,
    NULL days,
    sysdate start_date,
    ADD_MONTHS(sysdate,1) end_date
    FROM dual
    CONNECT BY LEVEL < = TO_NUMBER(:P19_ROWS_CNT))
    All appears well until the number of values being returned in the second LOV (retrieved by the apex_item.select_list_from_lov_xl) exceeds 4000 characters and then we get the error first detailed. The substr around the function isn't usually present, it was added during the debugging, if I allow one more character than the 4000 or remove the substr completely then I get the error again. If the same function is used to retrieve the LOV on a normal Dynamic Form field then all is well, it only seems to have a problem when present in the HTML table being generated.
    Are we doing something silly here?
    Thanks.
    Message was edited by:
    jac

Maybe you are looking for

  • Installing the Qosmio player on Qosmio G10-120

    Hi all I can't install qosmioplayer on my G10-120. I downloaded the driver from the Toshiba C.S. when install it from the CDROM and I choose 1 for "Recover to initial state" the install displaies "No enough free space on the HDD. ..". My G10-120 has

  • SQL syntax for querying Active Directory group membership

    Post Author: cantrejj CA Forum: Data Connectivity and SQL I've established a connection to Active Directory through Crystal Reports XI. Now I need to write an SQL select statement to return all computer accounts and their group memberships. My statem

  • Convert Army Field Manual in PDF to Word

    Can you convert an Army Field Manual in PDF to Word or does it fall under the "few" documents in which you are unable to do so?  If so, why does your program not work?

  • New view in ICWC - exception error during navigation

    Hi Experts, I have created new view ZSrvTDate, and I am linking this new view to other views of same View area. In the Navigational Links, I have put in the Inbound and Outbound plug as 'default'. When I test in ICWC, it gives me an exception error w

  • SharePoint installation on Disk partition having maximum space

    Hi , Is it good practice to install SharePoint on disk having maximum space and also configuring  IIS into same disk partition? Regards, Swati SP Page: http://www.facebook.com/SharePointQ SP Blog: http://swatipoint.blogspot.com