Sequence value changes while i view the document

hi.,
I m using jdev 11.1.1.5
I had created a sequence for GlHdEO.GlJrnlNo
I had used this code for the sequence in impl method of that entity object
        SequenceImpl s = new SequenceImpl("jrnl_no",getDBTransaction());
        setGjhJrnlNo(s.getSequenceNumber());While i click the create insert it works fine with the next number
When i save this document and next time while i run the document in my browser component the value had been changed
pls verfiy the link when i reopen the document in Browser component
http://www.4shared.com/photo/jt9GTGj_/E018.html
pls verify the link when i click create insert
http://www.4shared.com/photo/oVSIJ8P8/E019.html
could any one please help me

Thank you for the reply
i had followed all the steps
http://mjabr.wordpress.com/2011/03/11/make-sequence-number-as-default-value/
but i m getting the error as
(oracle.jbo.domain.DataCreationException) JBO-25009: Cannot create an object of type:oracle.jbo.domain.Number from type:java.lang.String with value:adf.object.nextVal("jrnl_no");

Similar Messages

  • Error while uploading/View the document in sharepooint server

    Dear All,
    I have integrated P68.1 with sharepoint server for document repository and I am facing error while viewing/checkout document from sharepoint server. Here below is the error captured from p6webaccess.html, please sort out this issue .
    com.primavera.common.documents.DocumentNotFoundException: 46B23223-192B-4B18-928E-B0958FF67E9D
    at com.primavera.pvweb.pm.projectcrdocuments.ProjectCRDocumentsAction.b(Unknown Source)
    at com.primavera.pvweb.pm.projectcrdocuments.ProjectCRDocumentsAction.executeGet(Unknown Source)
    at com.primavera.pvweb.BaseAction.execute(Unknown Source)
    at org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:431)
    at com.primavera.pvweb.FrontRequestProcessor.processActionPerform(Unknown Source)
    at org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:236)
    at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1196)
    Thanks!.

    I have seen this error before. Usually the cause is the in "Host Name" and "Domain". Verify that the entry is correct for it. Try to use change host name with IP address or vice-versa. Domain should be like "XXXXX" and not "XXX.com"
    Every time you make change you will have to restart the server.
    Also in the Dashboard area under Personal Workspace add "My Document" portlet and try from there and see if you get any different result?
    Sachin Gupta

  • An error occurred: An error occurred while trying to view the document

    Now my partner meet a trouble about opendocument API.
    There are 2 servers : one is partner’s web server ,which partner’s application run in; other is BO server.
    The above servers are running on different servers.
    There is a web page A , which is running in partner’s web server.
    Page A includes a iframe, whose source is BO documents running in BO server via opendocument API.
    In Chrome, the page A work.
    But in IE, the page A don’t work, then get the error “An error occurred: An error occurred while trying to view the document”
    You can see error.jpg
    I have written the sample page to re-produce this error.
    You can change 1.txt to 1.jsp
    Welcome your advice.

    Hi,
    if it works in Chrome then this Problem is related to IE.
    Maybe the URL is to long? IE can "only" handle 2048 Characters.
    Regards
    -Seb.

  • Regaridng Viewing the document IN CV02n

    Hi  DMS gurus, I have a doubts regarding document viewingin CV02N. I have created a document with files extensiopn .mht.for this i have created work station.if i want to views the document in change modes it displays error saying "Error while callin EAI Viewer"
    Please helps me to sort it out
    thx
    Bhupendrasingh1975attherategmail.com

    Thx , to all , the problems was solved.as the problems was from customisation in  workstation
    Thx to all

  • I want to change my simulate view of document in transaction code F-02

    Dear all
    I want to change my simulate view of document in transaction code F-02 and want to display line item text there in my simulation.The standard layout in edit option"FB00" is "SAP01 SAP standard".This is in Doc. overview line layout.
    I want to add line item text in the line layout by copying the same.can any body tell me the menu path for resolving my problem
    Thanks in advance
    Regards
    Requester

    Hi,
    Use transaction O7E6 and create your own variant and then set up using transaction FB00.
    Award points if helpful.
    Sadie Gajanand

  • How can I change one section of the document to a landscape orientation and not the whole document?

    How can I change one section of the document to a landscape orientation and not the whole document?

    Page Setup, including page orientation, is done in the File menu. The setting applies to the whole document. As Peter says, you can rotate the contents of a page (not including the text layer of a word processing document).
    As an alternative, you could use Numbers, where Sheets are empty canvases onto which you may place images, charts, tables and text boxes, and where page orientation may be set for individual Sheets. The main tradeoff is that you lose many of the built-in word processing and page layout features of Pages.
    Regards,
    Barry

  • View the document in Solution Manager

    I am told that there is an option in Solution Manager to have the document generate a link that can be emailed to the approver. This allows the approver to view the document in SM without actually having access to SM. The approver can then reply back to the e-mail with his/her approval after viewing document.
    I am new the SM any detailed input with how to steps would really help..
    thanks in advance.

    Hi B_J,
    it is correct, each document has attributes, on the attribute tab in the button bar, there is an icon to generate an url for the selected document. This link is stored in your windows clipboard, so you can past this link in an e-mail or wordfile. The person who gets the e-mail must have access to the Solution Manager via network, he needs no personal user in the system. The link used a service of Solution Manager(check in the Solution Manager IMG at the HTTP services). This service requires a user to read the document. If you have no user, then it is necessary that in the system a default user is assigned to the service or to its alias. Now to your second use case, the approval, you can not bring any information INTO Solution Manager, you can only answer the e-mail, with the info, yes the document is OK, but you can not set a status or an other attribute at the document, that the document is approved.
    Regards,
    uDo

  • BSP for Creation and change and display of the documents in SAP R/3.

    Dear All,
    In SAP R/3 system, the documents can be maintained using the T-Codes CV01N, CV02N, CV03N for creation, change and display of the documents. Users is allowed to access to these transaction using the BSP application. The BSP page would be used to enable access the T-Code CV01N, CV02N, CV03N and allow uses to carryout the functionalities of check in and checkout of the document and the object links.
    do i need to replicate all these T-Codes in BSP application?
    If anybody hv done this...pl suggest me and give me the code.
    Thanks & Regards
    Pradeep
    Message was edited by:
            Pradeep Reddy

    if you want this out of BSP, yes you have to code all of them there is not easy way.
    but if the idea is to webenable these transaction and you dont have much time/resource to do it , easiest way is to go with ITS. downside of this is that you dont have much control over look and feel.
    If you are on WAS6.40 or above your application server comes with integrated ITS and enabling the same is quiet simple.
    Regards
    Raja

  • How do I change a character in the document to another character in one command?

    How do I change a character in the document to another character in one command?

    You mean everywhere? Use Find/Change

  • To View the Document Structure

    Hi All
    I want to view the Document Structure (Product Structure) in the SAP PLM Table.
    If any body knows, could you please share the table information?
    My requirement is to get the Product Name (Doc Type: CE2)  which are Empty (meaning - no parts or product under it).
    Currently we are checking manually, by going through CDESK - Select Document - SAP View.
    Regards,
    Abirami

    Thanks a lot Christoph.
    But My requirement is to identify the empty Product (Product without any parts or product in it).
    For Example.
    Prod1
         SubProd1
               SubProd1-Part1
                SubProd1-Part2
         SubProd2
         SubProd3
                 SubProd3-Part1
                  SubProd3-Part2
    In the above case, SubProd2 is empty.  Normally I used to check using  Display SAP-View Option. But my Main Product has thousands of subproduct. Here I find difficult to verify manually.
    is there any other easy way for this?
    Best Regards,
    Abirami

  • How to avoid lo-gin prompt while check in the document and saving doc while opening the document?

    Hello
    I might be missing something to configure or verify but many times I have faced below situation :
    When I click on document in document library either its just opens or first save to disc and open.
    When I check in a document , its asking for credentials but sometimes doesn't
    Can anyone please describe the reason behind above behaviors ? how to avoid saving doc while opening and lo-gin prompt while check in the document?
    Thanks and Regards,
    Dipti Chhatrapati

    It the sharepoint site accessed through firewall
    http://support.microsoft.com/kb/2756625
    You can try adding below registry
    HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\services\WebClient\Parameters\AuthForwardServerListAdd the site to Trusted Sites Zone instead of Intranet Go to Control Panel >> User Accounts >> Manage Your Credentials and remove any credentials storedMake sure your office and IE Is same build (64 or 32)http://www.techrepublic.com/blog/smb-technologist/prevent-unwanted-credentials-prompts-with-sharepoint-document-libraries/ checked that 'basic authentication' is unchecked under Central Administration -> Application Management -> Authentication
    ProviderOr tryhttp://social.technet.microsoft.com/Forums/office/en-US/45feb132-c304-4521-8b79-42236a829aab/login-prompt-appearing-when-opening-office-documents?forum=sharepointadminlegacy
    If this helped you resolve your issue, please mark it Answered

  • Suddenly PDF files refuse to open, error message saying there was a problem pre viewing the document Any thoughts?

    PDF files refuse to open, I get an error message saying there was a problem pre viewing the document. Any thoughts?

    moved from Downloading, Installing, Setting Up to Creating, Editing & Exporting PDFs

  • Inserting sequence value from JDBC and getting the same value back

    Hi: Gurus I have a table whose primary key is a sequence. I wonder how to make sure I get the same sequence value back for current transaction so I update the other table whose foreign key is the sequence value from first table.
    E.g lets say I do this
    String query_insert = INSERT INTO table1 (column1, ....) VALUES (HIGHLIGHT_ID_SEQ.nextval, ...);
    pstmt = con.prepareStatement(query_insert);
    pstmt.executeUpdate();
    How I make sure no other transaction update the sequence value so I can read the last inserted sequence value and update the second table with this value
    String query_select = "SELECT HIGHLIGHT_ID_SEQ.currval FROM DUAL";
    pstmt = con.prepareStatement(query_select);
    Regards,
    Rashid.

    <rant>No version again. I wonder why people requiring help want to stay anonymous and never want to type their version, only 4 digits. In this case, jdbc, not only the version of the driver is important, but also it's type. Waving a magic wand again? </rant>
    Look up the returning into clause of the insert statement in the sql reference manual for your version.
    Sybrand Bakker
    Senior Oracle DBA

  • An error occurred while trying to view the document.

    Hi,
    I have created a crystal report using Crystal Reports 2013 and I trying to call this report from outside the server. While I called the report using RESTFul API I shown below error in my browser. Is there any license related issue or some thing else ?
    Can anybody help me please?
    Bhavin Panchal

    Hi Bhavin,
    I don't think its a license issue.  What url syntax are you using when you get the error?
    I'm guessing you are trying to do something with the report.  If so, the REST APIs will work with "Crystal Reports for Enterprise" reports, but you may run into limitations with the CR 2013 reports
    try opening the report in the Java (CR for Enterprise) designer and save that to the cms, then try the same workflow with this report.
    Enabling tracing on the WACS server should also provide a more detailed error message
    Dan

  • How to view the document in actual size (pixel perfect) in CC 10?

    Hi there,
    currently I'm working on a Mac with InDesign CC (10.0.0.07) and I use it for ui, so I need to view my document in the actual size (pixel perfect). In CS 6 I was able to double click on the zoom tool and my document showed up in like 74% or so and it was pixel perfect. This is what is really important when you use InDesign for screen layouts. And now with the new CC update I'm not able to do this anymore.
    Has anyone a suggestion how to fix this, or has had the same experience? This is really essential for designing websites.
    thanks,
    Stefan

    @Stefan – this behavior has changed from CC v9.2 to v10.0.
    To get what you want you need a ExtendScript (JavaScript) once written by John Hawkinson. That code snippet will change preference settings not exposed to the user, the Custom Monitor Ppi, to 72 ppi and enable their usage.
    app.generalPreferences.customMonitorPpi = 72;
    app.generalPreferences.useCustomMonitorResolution = true;
    Before running the script, it would be best to check, how the actual values are with the following snippet:
    alert(
        "Custom Monitor PPI currently is set to: "
        +app.generalPreferences.customMonitorPpi
        +"\t\t"
        +"Usage is set to: "
        +app.generalPreferences.useCustomMonitorResolution
    To change this behavior back to default, use the following line of code:
    app.generalPreferences.useCustomMonitorResolution = false;
    Uwe

Maybe you are looking for