Error in creating New Entry from the Client in NW Mobile 7.1

Hi All,
I have created a mobile application for Laptops in NW Mobile 7.1.
I have a requirement to create an entry from the client, i.e., I need to create a PR in the client. The model bindind, the backend adapters, bapi wrappers are in place.
I have used the standard create BAPI for PR and wrapped it in a BAPI wrapper. I just have to give the PR details and save the entry in the client. The BAPI wrapper has the logic for generating the new PR number.
My problem here is, when I try to create a new PR, give the details and save, the entry is not getting updated in the backend and the sync state is '201'.
I checked the "Message Monitoring" in the NW Mobile Administrator for the particular SWCV.
For this create PR transaction, the particulars are as below
Message State: Error - Stop Flow
Message Type: Transaction
Error: "Error occurred while fetching synckeys from table ZDOE01700000SL"
"ZDOE01700000SL" is the Sync key look up table for PR(my data object).
Please let me know where I have gone wrong and guide me in rectifying this problem.
Thanks and Regards,
Sunil

Hi Sunil,
From my understanding, looks like you are not filling synckey when you are creating a PR in your client. Synckey is a unique key on the DOE using which you can uniquely identify any node.
There are two scenario's atleast as I know, where this error would have come.
Case 1. If you are modifying something on client, which has been send by DOE, then you are not supposed to change synckey because it is a primary key. Now if we assume that you are not modifying synckey but when you are sending an update, check if by any chance the synckey is not going to DOE which is one case, and the second one is, after DOE has end that record to client, someone has cleaned up all the tables on DOE for that dataobject or someone has deleted that entry on the backend because of which the entry has been deleted on DOE. In either case, you are modifying something on client which is actually not present on DOE because of which when the DOE tries to look up based on synckey it doesn't find the needed record.
Case 2. If you are creating something on client, then you are supposed to create a synckey which is a 32 bit character GUID. I think in your case, you are missing the synckey when you are sending it to DOE. Check if there is any API for doing that or you have manually create a GUID and send it.
Hope it works out.
Best Regards,
Siva.
PS: Reward with points if you find the post useful.

Similar Messages

  • Error while reading file entries from the database

    Hi there,
    We are running a instance of xmii 12 in a VM (VMware) and after somebody shutdown the host machine without shutting down the VM (great idea isn't it?) we keep getting this message when trying to access xMII:
    "Application cannot be started.
      Details:   com.sap.engine.services.deploy.container.ExceptionInfo: Error while reading file entries from the database."
    Any clue? Any suggestion on how we can recover from that?
    Thanks a whole lot,
    Dom
    Server log:
    #1.5 #000C29A3B1F20002000000C400000F2800044829A35270F8#1205243578005#/System/Server##com.sap.engine.services.dbpool.deploy.ContainerImpl####n/a##60152160ef7211dcb7a5000c29a3b1f2#SAPEngine_System_Thread[impl:5]_17##0#0#Info#1#com.sap.engine.services.dbpool.deploy.ContainerImpl#Plain###DataSources or DataSource aliases of 'sap.com/tcmonitoringsysteminfo' application started successfully.#
    #1.5 #000C29A3B1F20002000000C500000F2800044829A3527A6C#1205243578005#/System/Server##com.sap.engine.services.servlets_jsp.server.container.WebContainer####n/a##60152160ef7211dcb7a5000c29a3b1f2#SAPEngine_System_Thread[impl:5]_17##0#0#Info#1#com.sap.engine.services.servlets_jsp.server.container.WebContainer#Plain###application [] Start of application [sap.com/tcmonitoringsysteminfo] finished successfully on Web Container.#
    #1.5 #000C29A3B1F20002000000C600000F2800044829A3527DB5#1205243578005#/System/Server##com.sap.engine.services.deploy####n/a##60152160ef7211dcb7a5000c29a3b1f2#SAPEngine_System_Thread[impl:5]_17##0#0#Info#1#com.sap.engine.services.deploy#Plain###
    Operation startApp over application sap.com/tcmonitoringsysteminfo finished successfully on server 305221750#
    #1.5 #000C29A3B1F20002000000C700000F2800044829A3527E03#1205243578005#/System/Server##com.sap.engine.services.deploy####n/a##60152160ef7211dcb7a5000c29a3b1f2#SAPEngine_System_Thread[impl:5]_17##0#0#Info#1#com.sap.engine.services.deploy#Plain###
    Operation startApp on application sap.com/tcmonitoringsysteminfo finished on current cluster node for 221 ms.#
    #1.5 #000C29A3B1F20002000000C800000F2800044829A3528B49#1205243578005#/System/Server##com.sap.engine.services.deploy####n/a##60152160ef7211dcb7a5000c29a3b1f2#SAPEngine_System_Thread[impl:5]_17##0#0#Error#1#com.sap.engine.services.deploy#Plain###Error occurred while initially starting application sap.com/xappsxmiiear:Error while reading file entries from the database.#
    #1.5 #000C29A3B1F20002000000CA00000F2800044829A352922B#1205243578015#/System/Server##com.sap.engine.services.deploy####n/a##60152160ef7211dcb7a5000c29a3b1f2#SAPEngine_System_Thread[impl:5]_17##0#0#Info#1#com.sap.engine.services.deploy#Plain###The synchronization of applications with DB completed for 39304 ms.#
    #1.5 #000C29A3B1F200040000000200000F2800044829B290A4F8#1205243834341#/System/Server/SLDService##com.sap.sldserv.DataCollector####n/a##0da42150ef7311dcb908000c29a3b1f2#SAPEngine_System_Thread[impl:5]_7##0#0#Warning#1#com.sap.sldserv.DataCollector#Plain###Communication configuration is incomplete. No data transfer possible until corrected.#

    Well thanks for the hint. Actually, the DB was up but corrupted. I managed to solve the bug by re-deploying xMII (using the SDM tool) which kept all my data but redeployed both the config db of (x)mii and the class files.

  • Error in creating new listener from Enterprise Mgr Console

    When I try to create a new listener from Enterprise Manager Console, it displays an error message: Error in getting data for creating new listener. Check if the listener.ora location "/u01/app/oracle/product/10.2.0/db_1/network/admin" is a valid one. It is absolutely a valid ORACLE_HOME, in fact, I can setup TNS Connect Alias and Profiles from here, but the listener has became a pain in the neck.
    I know I can use the java netmgr or netca or even vi to set it up; however, it is a must that it has to be done through Enterprise Manager Console (show EM manageability issues).
    Thanks for your feedback

    Credentials are valid, so the ORACLE_HOME path, otherwise I would not have been able to modify the other TNSNAMES.ORA and SQLNET.ORA.
    I use the ORACLE_HOME owner credentials (oracle user at the OS level).
    Message was edited by:
    Hector Rivera Madrid
    Message was edited by:
    Madrid

  • Error while creating Sales Order From HTTP Client

    Hi,
    I have a scenario, wherein I need to create SO from HTTP client (an HTML page). I paste my xml source data in the payload area and send the message. I get back this response:
    Result:
    <?xml version="1.0" encoding="UTF-8"?>
    <ns1:Deep_RFCResponse_MT xmlns:ns1="http://mindtree.com/xi/m1004968"><SALESDOCUMENT><SALESORDERNO></SALESORDERNO></SALESDOCUMENT><RETURN><item><TYPE>E</TYPE><ID>V1</ID><MESSAGE>Sales document type OR is not defined</MESSAGE></item></RETURN></ns1:Deep_RFCResponse_MT>
    I am supposed to get a SO no. here, but I get this message.
    Whereas if I give same data at  back end (in SAP system) the SO no is created successfully!
    Can anybody tell me where am I going wrong, if I am?
    Thank you,
    Cheers,
    Deepak.

    Hi  Prateek.
    You were right.....
    The problem was with the data that I was passing. I was passing OR as the document type, which internally was being converted to TA.
    It was creating the SO successfully because I was using the transaction se37 and this is where OR was converted to TA.
    But if we use va01 to create the SO, we get this error.
    Thank you....
    Points!! definitely
    Cheers,
    Deepak.
    Edited by: Deepak MS on Mar 13, 2008 5:20 AM

  • Error while creating new application in windows client

    Hai Experts,
    I am experiencing an error while creating a new application in HFM
    Error Reference number: {F6BA937D-6CBC-486C-800C-57DAB415C5EE}
    NUM:0X80040225;TYPE:1;DTIME:6/12/2012 10:52:48 AB;SVR; STATION31; FILE: CHSXSERVERIMP1: CPP; LINE:3537;VER:11.1.1.3.0.2413;
    Please reply me it's urgent.

    Hai,
    After doing snapshot my application was created and even in fdm also i found error while creating application(hint:cache not found) but now everything is fine don't know what exactly the error may be but now i am facing 404 error while doing Assign Access control in shared services console what may be the reason did anyone experienced this error if so please provide me the solution.
    Edited by: 940022 on Jun 15, 2012 3:50 AM
    Edited by: 940022 on Jun 15, 2012 3:51 AM

  • How to create new documet from the output of another document automatically

    Hi all
    here is the scenario, If we are creating an debit memo request and debit memo to a customer, from the output of this debit memo we need to trigger the creation of another document( Ex credit memo to another customer) automatically, how we can do this?

    Hi Dev,
    You need to create another report program for the other document along with the smartform.
    In the report program, you have to put your logic on how the other document has to be found when your document is created and the output be triggered.
    So in principle,
    There will be two programs linked to your output type.
    One will create the output of the document which is being created,
    Another program will automatically call the other target document in change mode and trigger the same output, during which the second program will be executed.
    Now the second program will create the output for the second document.
    Making copy controls wont help for this reqmt.
    Reward points if it helps.

  • Error while creating user session from the DataProvider

    hi
    I am getting a strange error
    oracle.express.idl.util.OlapiException: java.sql.SQLException: ORA-37158: Bad clob or varray IN-args: (case 6)
    ORA-06512: at "SYS.GENSERVERINTERFACE", line 2
    ORA-06512: at line 1
         at oracle.express.idl.ExpressConnectionModule.ServerInterfaceStub.connect(Unknown Source)
         at oracle.olapi.session.UserSessionFactory.createConnectionInterface(Unknown Source)
         at oracle.olapi.session.UserSessionFactory.createUserSession(Unknown Source)
         at oracle.olapi.data.source.DataProvider.connect(Unknown Source)
         at oracle.olapi.data.source.DataProvider.initializeSession(Unknown Source)
         at oracle.olapi.data.source.DataProvider.createSession(Unknown Source)
         at oracle.olapi.data.source.DataProvider.createSession(Unknown Source)
         at oracle.olapi.examples.Context11g._createProviders(Context11g.java:237)
         at oracle.olapi.examples.Context11g._connect(Context11g.java:186)
         at oracle.olapi.examples.Context11g.<init>(Context11g.java:104)
         at oracle.olapi.examples.BaseExample11g.createContext(BaseExample11g.java:125)
         at oracle.olapi.examples.BaseExample11g.initialize(BaseExample11g.java:95)
         at oracle.olapi.examples.BaseExample11g.execute(BaseExample11g.java:53)
         at oracle.olapi.examples.BaseExample11g.execute(BaseExample11g.java:74)
         at oracle.olapi.examples.metadata.BuildAW11g.main(BuildAW11g.java:1036)
    I am trying to run the olap examples.My oracle version is 11.1.0.7.0 and is installed on suse linux.
    Has anyone encountered the same problem?
    Thanks for all your help :)

    HI,
    No, this I have already tried.
    Actually above code is working in our local server but when i am trying on client database it is not working. only difference is we have SQL Server 2000 & client database is on SQL server 2005.
    Hope some body will guess what is the problem,
    Regards,
    Manish

  • Is there a way to create new events on the new iPhoto app?

    Is there a way to create new events on the new iPhoto app?  I seem to only be able to create albums.  I would really like the app to allow me to do all the same things that I was able to do on my Mac.  I would create events and then sync to all devices.  Can someone please instruct me on how to create new events from the photos imported from the photo stream.
    Thanks for all the help!

    The iPhoto for iOS seems to be aimed at working on photos then sharing them to social media sites or to iCloud for sharing there. iPhoto for iOS does not perform many of the organizing tasks that iPhoto on your Mac does. Many people expected that there would be more capabilities in iPhoto for iOS that would allow it to work more closely with iPhoto on your computer but this is not the case. They are separate apps.

  • How to create new solution from Existing solution in integration services on TFS project?

    Hi,
    I am working on SSIS Project and it is created in VS 2008 .I opened the solution in VS 2010 and it is upgraded and unfortynately i don't have the back up to re open it in VS 2008.I am thinking of creating new solution from the existing one and open the new
    solution in VS 2008.I was struck how can we copy existing solution to new solution on TFS.
    Please let me know will this process work? and also how can we create a new solution without losing any files.
    Any help is appreciated.

    Hi moh1kumr,
    As Joost said, you can try to revert the changes back for the checked in files in TFS. For more information, please see:
    http://msdn.microsoft.com/en-us/library/ee371161(v=expression.40).aspx
    http://stackoverflow.com/questions/2694644/how-to-revert-roll-back-a-checkin-in-tfs-2010
    If it doesn’t work, I am afraid you have to design the package in VS 2008 from scratch.
    Regards,
    Mike Yin
    TechNet Community Support

  • How to create new database from backup.

    Hi !
    i have backup of a database, i do not want to restore, i want to create new database from the backup.
    i am using oracle 11g xe.
    yours sincerely

    If the Location of the datafiles is similar to that of source database then you can consider below steps
    Create Oracle Service using oradim
    set ORACLE_SID=NEWDB
    oradim -new -sid NEWDB -intpwd passwordofthesys -startmode M
    Connect to the RMAN
    rman>rman target /
    restore spfile/pfile and control file from backup
    rman>restore spfile to pfile '_localtion of the initNEWDB.ora_' from '_location of the SPFILE Backuppiece_';
    rman>startup nomount pfile='localtion of the initNEWDB.ora';
    rman>restore controlfile from 'file location of the controlfile Backuppiece';
    rman>alter database mount;
    Catalog the RMAN backuppiece of source database
    rman>catalog backuppiece '_location of the rman backuppiece of source database_ ';
    resotore & recover database
    rman>restore database;
    rman>recover database;
    open the database with reset logs
    rman>alter database open resetlogs;
    rman>create spfile from pfile;
    rman>shutdown immediate;
    rman>startup;
    ==================
    If you have access to source database then you can clone using below rman command:
    +rman target _<source database>_ auxiliary _<new database>_+
    rman>duplication target database to _<your new database name>_;
    ==========
    If the location of the datafiles and logfiles are different from source database then you need to add db_file_name_convert and log_file_name_convert to the pfile before starting the recovery process.

  • Can't create new pdfs from powerpoint; either form within Adobe or within powerpoint.  I could do this yesterday and today it won't work for some reason.  The error says "an unexpected error occurred.  PDFMaker was unable to produce the Adobe PDF.  How do

    Can't create new pdfs from powerpoint; either form within Adobe or within powerpoint.  I could do this yesterday and today it won't work for some reason.  The error says "an unexpected error occurred.  PDFMaker was unable to produce the Adobe PDF.  How do I fix this?

    Is there a log file in the document folder indicating what the problem was. There are a number of reasons that PDF creation may fail. You can try to print to the Adobe PDF printer to see if there is any indication in that process. The processing is different, but the same problems may show up with both processes.

  • How to make the fields of the table mandatory while creating new entries..?

    Hi,
    I have created a new Z table which has 6 fields. All the 6 fields are KEY fields and all are of CHAR type. I have generated the table maintenance generator for the same. My requirement is all the fields should be MANDATORY while creating the entries. No field should be BLANK.
    When creating the new entries in the table, even if I don't give any values to some of the fields, it is saving the entry. But, it shouldn't happen like that. If any of the field is kept blank, it should not allow the user to save the entry. Can someone tell me how to approach this. Will there be any settings while creating the table which takes care of this.
    I read somewhere that this can be done using the Table EVENTS. Can someone tell me what is the code that we should write there in the Events which prevents the user from saving the blank fields. While writing the logic in the events, how to check whether the particular field is BLANK or not. Will the values be stored in any internal table kind of thing..?
    My table name is ZCRF_TAB and the fields are FLD!, FLD2, FLD3, FLD4, FLD5 & FLD6. Can someone provide me sample code for my requirement. Thanks in advance.
    Best regards,
    Paddu.

    Hi,I think u have generated Table Maintainance Generator, goto Environment->Modifications->Events
    Select appropriate option by using F4,I think value 05 is appropriate for u r requirement.Enter From routine name.Dbl click on the routine.
    Write the appropriate code like:
    If ZTABLE-FIELD1 is initial.
    Message (E000) with "Fill all the manadatory fields".
    Thats it.Just look at the following docu with screenshots,by this understand how u can use Table Events:
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/library/abap/how%20to%20implement%20events%20in%20table%20maintenance.doc
    Regards,
    Rock.

  • Error creating new portal from docs

    Hello,
    I've been trying for several days now to create a new Portal from the
    "Customizing Portals and Portlets" document
    (http://e-docs.bea.com/wlp/docs40/portal/devbasic.htm).
    I get all the way to "Verify Your Deployment" without issue. I can even
    verify the data synchronization using the data repository browser.
    When I go to http://localhost:7501/insevoportal (or /InsevoPortal or
    /InsevoPortal12, different attempts) all I get is the following in the
    server console:
    <Jul 16, 2002 2:27:34 PM MDT> <Notice> <WebLogicServer> <Started
    WebLogic Admin
    Server "portalServer" for domain "portalDomain" running in Production Mode>
    PortalPersistenceManager: portal 'portal/insevoportal' not found
    <Jul 16, 2002 2:29:37 PM MDT> <Error> <HTTP>
    <[WebAppServletContext(-15219959,in
    sevoportal,/insevoportal)] Servlet failed with ServletException
    javax.servlet.ServletException: Received a null Portal object from the
    PortalManager.
    at
    com.bea.portal.appflow.servlets.internal.PortalWebflowServlet.setupPortalRequest(PortalWebflowServlet.java:194)
    Can somebody please help me understand what is going on? I've been
    stuck for days now...
    Thanks in advance!
    David McDaniel

    David,
    Did you get any errors or warnings when you ran a sync?
    You can run a sync from the command line as well as from the EBCC. See the
    sync.cmd and syncApplication.cmd for details. Also, launching the EBCC with
    an open console window may give you some more information, as well as
    checking the EBCC log.
    Sincerely,
    Daniel Selman
    "David McDaniel" <[email protected]> wrote in message
    news:[email protected]...
    Daniel,
    Thanks for the response!
    I believe I have sync'd the application. I go to the portalDataSync web
    app, choose "Data Repository" link.
    Then I click the View icon for the Master Data Repository.
    Under there, I see things like:
    /webapps/InsevoPortal12/InsevoPortal12.portal
    /webapps/InsevoPortal12/portal.wf (and security.wf, tools.wf,
    user_account.wf, webflow-extensions.wfx)
    Looks about the same as the stockportal list. *** EXCEPT ** I don't see
    my Portlet in my list. Is that because it has no workflow? I can see
    the portlet in the EBCC.
    In the stockportal, I see portlet2.wf and portlet3.wf. I don't see any
    portlet wfs in my app.
    Any help is appreciated. I will consider 7.0.
    Regards,
    David
    Daniel Selman wrote:
    David,
    This usually means that you haven't synced the data to the correct
    application. When you go to the DataSync WebApp *for your portal
    application* do you see the portal and portlet files under the
    Portal/Portlet DataRepository?
    Sincerely,
    Daniel Selman
    "David McDaniel" <[email protected]> wrote in message
    news:[email protected]...
    Hello,
    I've been trying for several days now to create a new Portal from the
    "Customizing Portals and Portlets" document
    (http://e-docs.bea.com/wlp/docs40/portal/devbasic.htm).
    I get all the way to "Verify Your Deployment" without issue. I can even
    verify the data synchronization using the data repository browser.
    When I go to http://localhost:7501/insevoportal (or /InsevoPortal or
    /InsevoPortal12, different attempts) all I get is the following in the
    server console:
    <Jul 16, 2002 2:27:34 PM MDT> <Notice> <WebLogicServer> <Started
    WebLogic Admin
    Server "portalServer" for domain "portalDomain" running in Production
    Mode>
    PortalPersistenceManager: portal 'portal/insevoportal' not found
    <Jul 16, 2002 2:29:37 PM MDT> <Error> <HTTP>
    <[WebAppServletContext(-15219959,in
    sevoportal,/insevoportal)] Servlet failed with ServletException
    javax.servlet.ServletException: Received a null Portal object from the
    PortalManager.
    at
    com.bea.portal.appflow.servlets.internal.PortalWebflowServlet.setupPortalReq
    uest(PortalWebflowServlet.java:194)
    Can somebody please help me understand what is going on? I've been
    stuck for days now...
    Thanks in advance!
    David McDaniel

  • Can someone tell me how to create accounting entries with the account status as error

    Hi,
    Can someone tell me how to create accounting entries with the
    account status as error?
    Thanks!!
    Danny

    It's call fixed/static background, and it is NOT directly support by iweb, you will need post processing either in html or javascript.
    Varkgirl (you need to search the previous forum) and I did it since iweb1:
    try Safari, and scroll: http://www.geocities.com/[email protected]/Links.html
    invisible link? roddy, fishing for info again?

  • I have an error when creating new folders, it renames the folder below it to the same name (super - next folder - parent's next sibling...)

    if I try to add a new folder to a sub folder, the program does add the new bookmark folder, but it also renames the next folder in line in the parent of the original "subfolder" to the exact same name...
    maybe I just need to reload the mozilla, maybe I was hacked and that is what they changed...
    I also have a similar problem with microsoft explorer, every time I try to add a new folder it gives it a starting wierd name besides "New Folder"
    I have an error when creating new folders, it renames the folder below it to the same name (super - next folder - parent's next sibling...)

    Do you have that problem when running in the Firefox SafeMode? <br />
    [http://support.mozilla.com/en-US/kb/Safe+Mode] <br />
    ''Don't select anything right now, just use "Continue in SafeMode."''
    If not, see this: <br />
    [http://support.mozilla.com/en-US/kb/troubleshooting+extensions+and+themes]

Maybe you are looking for