Asynchronous Create Data with Generic Sync

Hi,
We're with the follow error: data container don't loaded .. Anyone knows which is this problem?
We're using the parameter OutboundContainer.TYPE_REQUEST in OutboundContainer... MESYBODY is being deleted in a job...
For example.. We synchronize once and appears this error. Sync again and same error ... In this moment we look at R/3 and nothing. Sync again the error don't show. We look at R/3 and the data of first and second sync are create, and third too...  What's happen?
Thanks.
Regards,
Bruno

Hi Bruno,
I guess you have to be more specific, what is the exact error message, where do you get it, when do you get it. I assume you have written your own aplication, so paste the code where you create and sync your container etc.
cheers
stefan

Similar Messages

  • Project/WBS Created date with Time

    Hi,
    How to see the  Project/WBS Created date *with Time* in PS?
    Regards
    Sankar

    Sankar,
    In CJ20N you will not find the creation time as this info is not stored in PRPS.
    As a workarround, you can consider checking JCDS. In this table status change documents are stored. The date and time when each status was set and removed is stored.
    Just check the date/time when status I0001 Created was set for your WBS element.
    Please bear in mind that JCDS will only have entries if status change docs are active for your structures. You can activate the creation in OPSA (project profile)
    Hope this helps
    Regards
    Martina

  • Problem with Generic Sync after upgrade

    Hi guru,
    I have this problem:
    I have done a upgrade ME2.1 -> MI2.5 SP18.
    I have a simple Generic sync application that using a simple Function Module:
    <b>
    function Z_ME_TEST_CONNECTION.
    ""Interfaccia locale:
    *"  EXPORTING
    *"     VALUE(STATUS) LIKE  BWAFSYHEAD-STATUS
    *"  TABLES
    *"      INBOUND_CONTAINER STRUCTURE  BWAFCONT
    *"      OUTBOUND_CONTAINER STRUCTURE  BWAFCONT
      perform CALL_OFFLINE_ME_METHOD using 'TEST_CONNECTION'
                                            INBOUND_CONTAINER[]
                                            OUTBOUND_CONTAINER[].
      OUTBOUND_CONTAINER-FIELDNAME = 'RESULT_CONNECTION' .
      OUTBOUND_CONTAINER-LINENUMBER = 0 .
      OUTBOUND_CONTAINER-FIELDVALUE = 'OK'.
      append OUTBOUND_CONTAINER.
    endfunction.</b>
    When i synchronize my mobile client it returns back
    <b>"EWAF                 001Could not execute method Z_ME_TEST_CONNECTION"</b>
    Can anybody help me in resolving this?

    Hi Sivakumar, I have write the my FM in the BWAFMAPP and the RFC destination in MEMAPPDEST but i have tha same error.
    This is my simple method in my application:
    <b>public String testSync(String userName) {
              String errormessage = null;
              try {
    //        get user out of the SyncSettings
                String user = Configuration.getInstance().getProperty(PropertyKeys.SYNCSETTINGS_USER, userName);
                OutboundContainerFactory outfactory = OutboundContainerFactory.getInstance();
                if (outfactory == null) {
                   errormessage = "testSync->OutboundContainerFactory.getInstance failed";
                }  else {
                   OutboundContainer out = outfactory.createOutboundContainer(
                   VisibilityType.SEPARATED,
                   R3_METHOD_TEST_SYNC,
                   OutboundContainer.TYPE_REQUEST);
              // add the name that has been typed into the JSP
                   out.addItem(DC_I_USER_NAME, user.toUpperCase());
                  out.addItem(DC_I_NUMBER_OF_LINES,"0");
                   out.close();
              // Start Sync
                 SyncManager.getInstance().synchronizeWithBackend(VisibilityType.SEPARATED);
              catch (SyncException ex) {
                   errormessage = ex.getMessage();
              catch (IllegalArgumentException ex) {
                      errormessage = ex.getMessage();
              catch (Exception ex) {
                        errormessage = ex.getMessage();
              finally {
            System.out.println("testSync: errormessage="+errormessage);
              return errormessage;
         }</b>
    You have anathor idea?
    Thanks

  • Extra data with music sync

    When I sync my iphone, I am getting more music than that which I check to be synced, I have tried several times, but I can't get rid of the extra files that are in the phone, is there any way to delete these?

    Not to be evasive here, but the best way to sync your phone is always to use playlists. You control exactly what gets synced and, with the use of smart playlists, you can do things impossible to do any other way.
    So the easy fix to your problem is create a playlist called "iPhone" and drag music over to it (or use a smart playlist to control what gets there, or both) and you'll never have anything other than that on your phone again.

  • Lost data with Treo sync; .mac account possible solution?

    I recently discovered that prior to July 2005, all my ical data is gone. I suspect that some setting on my Treo 650 might be the problem.
    Is there the potential to find one of my older (pre-deletion) versions of ical on my .mac account?

    Lisa,
    Welcome to Apple Discussions.
    This is a hard one to solve long distant. There is potential but how much depends on unknowns (your .Mac settings, when the last sync was, etc.). You should of course make backups (File menu/Back up Database...) regularly, of all critical data.
    Try making a backup now. Then go to .Mac system pref/ Advanced tab and try a reset from .Mac
    If you need more specific directions: http://docs.info.apple.com/article.html?path=Mac/10.4/en/mh2171.html
    Come back if you need more help.

  • Creating date with yyyyMMDDHHmmss format??

    How can i produce date so the result is in the format of "yyyyMMDDHHmmss"??
    For example 20060729180902. What is the sourcecode?

    What do u mean by SimpleDateFormat??
    Can u explain more?Im new in java....Open the API. Search for class SimpleDateFormat. Read the description and the methods.
    No point in me repeating what it says.

  • Error in Extraction with Generic Datasource via Function Module

    Dear Gurus,
    Iam working for BI-HR module.We are extracting data with generic data source via function module. The client some more extra fields in already existing DS. So we made a copy of that Function module and tried to create new generic DS, we got error while extraction like "Error occured during the extraction process". Can you please help in resolving this issue, your valuable suggestion would be highly appreciated.
    Thanks and regards
    Arun S

    Hi,
    Which structure are you using??
    Are you using the same old structure for this function module as well.
    Have you enhanced the structure with new required fields.
    New extrac fields needs to be added to existing structure if you are using the same or create a new one and make sure that you have all the fields in the structure which you are going to use in the data source.
    You need to take care for the append as well and the issue could be in the code as well.
    Make sure you have written the proper code and just for the new fields done an append
    Thanks
    Ajeet

  • BAPI call generic sync?

    Hi,
    i am an absoulte newbie in this area of mobile infrastructure.
    I want to know if it is possible to call a BAPI in the backend from a JSP application with generic sync?
    If yes, how does it work?
    If no, how can i use that BAPIS anyway?
    Thanx
    Tim
    Message was edited by: Tim Nees
    Message was edited by: Tim Nees

    Hi,
    please check the following example in the MDK:
    http://media.sdn.sap.com/public/html/submitted_docs/MI/MDK_2.5/content/appdev/genericsync/introduction.html
    To generate wrapper modules for your bapis check out the transaction ME_WIZARD.
    Rgds Thomas

  • Create document with refrence + update some fields by passing some  values

    Hello Experts,
    I have a small problem . I have to create the sales order from BAPI ...but the scenario is
          have to create with refreence to another document
          some fields like condition types or material or order quantity etc are passed from an excel sheet
    hence some information which is populated in excel sheet should be picked up rest everything should be picked up
    from the refrence document
    How can use both information (from the refrence document and externally passed from the excel)  and create a new document
    please suggest!!!!
    regards,
    Khushy

    Hi,
    I am  not sure whether I really understand your request. Let me try to help.
    > Example: <FT_TAB> TYPE STANDARD TABLE,
    >                 <FS_TAB> TYPE ANY,            
    >
    > DATA: INT_TAB  is my dynamic table values.
    >
    >
    > LOOP AT INT_TAB.
    >  ASSIGN COMPONENT 'MATNR'  OF STRUCTURE <FS_TAB> TO <F_VALUE>
    > <F_VALUE> = INT_TAB-MATNR.
    >  APPEND <FS_TAB> TO <FT_TAB>
    Here <FT_TAB> must already be assigned to some internal table with a given (dynamic) structure. Did this happen before this piece of code?
    What I would do is to create a dynamic table (see documentation to CREATE DATA) with MATNR and the STYLE field (LVC_T_STYL). See the documentation for CREATE DATA - creation of internal tables. When collection the field descriptions for that internal table I would also build the field catalogue for the ALV.
    Then assign <FT_TAB> to that newly created internal table, <FS_TAB> to a newly created structure (same as a table line).
    Move the MATNR to component 1 (or component 'MATNR') of the table and fill the style table according to your needs. Then insert the <FS_TAB> into <FT_TAB>.
    Finally call the ALV SET_TABLE... method with your dynamic table and your field catalogue.
    Regards,
    Gerd Rother

  • Why can't I change the Created Date on a file using Terminal?

    I bought a used Contour helmet camera to take pictures of the kids while they're skiing, and I cannot access the camera itself to change the clock in it (USB port is broken).
    I get videos from it just fine, but every time I remove the battery the date/time on the camera resets to January 2008, so my skiing videos end up someplace completely different from what I expect in iMovie.
    I thought I could change the Created Date with Touch in Terminal, but it only handles the Modified Date.  I know I can purchase File Date Changer 5 from the App Store to do this, but I'd like to know why I can't do it in Terminal.
    Anybody know?  Or know of a different way that I COULD do it in Terminal?

    pessex wrote: Anybody know?  Or know of a different way that I COULD do it in Terminal?
    Don't know about Terminal, but, because you are using 10.9.x and iMovie, try the iMovie method:

  • UDO with Document Rows object : create lines with DIAPI

    Hi all,
    I'm created two tables : IFC_OBDC with Document object type and IFC_BDC1 with Document Rows object type.
    I'm created the associated UDO.
    How can i create data with DIAPI ??
    I'm begin to use SAPBobsCom.Documents but i don't find the SAPbobsCOM.BoObjectTypes for my UDO.
    The document is generate via program. So it is possible to create my UDO with DIAPI ??
    Thanks for your response.
    Michael

    Hi ,
    as i undtrestand you have a form with 2 tables one document and the other document lines.
    You want to populate the lines wuth DIAPI.
    i can give you this hints:
    create a document UDO with you tables.
    on form load activate the menus: add and remove line
    add the buttons OK and Cancel: with id 1 and 2
    Normally i think that it will work.
    Hope this helps.
    Best regards.

  • Generic Datasource with Fuction Module with delta on Created Date

    Hi Experts,
    I have created a generic datasource using Function Module RSAX_BIW_GET_DATA. I have copied this function module and created a my own Function Module. I want to load delta using this. But I don't know how to handle delta in the code.
    my code is working for full load but not for delta. I have seen that in ROOSOURCE tabel the Delta field is showing the AIE instead of D and extraction method  is showing as F2. I have searched a lot of forums and articles but didn't get how to handle this.
    Please advice.

    Hi Amit,
    Go through the link as suggested by AKhan which lets you understand the concept of offsets and the last extraction status.
    In case of Table or View based GDS, the system takes care of the deltas based on the selections you make in the "Generic Delta" screen whereas in case of FM based DS, it is your responsibility to handle this part. Within your code, capture if the load is a Delta load (I_UPDMODE = D). Since your delta is on Created Date, maintain a Z table with name of the DS as the Key and a field representing the current value of the Delta field(created date in this case). When you first load the delta, there will be no record for your DS in this table. Create an entry with the current day. Next time when you load a delta, take this value, compare it with sy-datum and get all the records falling within these days. This has to be done in the Select stmt. Once selection happens, replace the value in the Z table with sy-datum. This way you can simulate the delta. The Z table can be used for other FM based Datasources also as it has DS as the key.
    It would be easy if the exact SAP table where RSA7 delta field status is stored is known. Otherwise, the above method can be used.
    Revert for any further queries.

  • Problem with persistence in Generic Sync application

    Hi:
    We are developing an application which runson SAP Mi 2.5, SP 18,
    Windows Mobile 5.0 and Generic Sync for PDAs.
    We need persistence in our application. We tried with persistence API but
    we found a problem and we send a message to SAP. Until we can solve
    this issue we must implement persistence in other way to satisfy our customer requierements
    Since now,we have implemented persistence with files but the performance of this solution does not meet our customer requirements (the search of data in the PDA is very slow).
    We are thinking in another solution, which consists on using
    Syncbos.Using this alternative, before making a generic sync, and
    executing the code shown below:
    SmartSyncRuntime.getInstance().getSyncBoDescriptorFacade
    ().getAllSyncBoDescriptors()
    the returned syncBOS are those which I have defined in XML. On the
    contrary, after making a generic sync, executing the same code, the
    returned syncbos ARE NOT those whic I have defined in XML. The only
    return that I get is the MIAUTH.
    Any other ideas?
    Thanks
    Kind Regards

    hi satur,
    there are some things to take care if you want to use the persistence layer of the
    SmartSync layer from your GenericSync app.
    first, you have to let the MI client think that your application is using the
    SmartSync functionality. this can be achieved by just including a dummy metadata
    meRepMeta.xml file in the war archive during the deployment process. once the
    MI client framework sees this during the installation, it will set a flag on the MSD
    that your app is a smartsync.
    second, if your app is considered a smartsync, MI will generate the delta request
    and upload messages for your data if ever you have your SyncBo defined in the
    metadata. Since you don't want such functionalities to be ON, i would suggest to
    mark all your SyncBo as local ones; i.e. using attributes suppressDownload=true
    and suppressUpload=true. this way, the MI framework will skip creating the requests
    and delta upload messages for your app during the synchronization process.
    third, your application has to have the syncEventListener implementation to get
    notification when the Sync button (or event) was initiated. if you don't want your
    app to be notified, you may just add synchronization button within your application
    that will call your data manager to prepare your containers (i.e. retrieving the newly
    inserted syncbo, modified syncbos and the list of deleted ones -> genericSync
    containers) and to call the synchronizeWithBackend method.
    fourth, you need to have the inboundProcessor that will parse your data and insert
    them a SyncBo into your local database.
    having tried this but i guess it might work...
    regards
    jo

  • Problem with date and time syncing itouch to macbook

    i have a problem with the date and time on ical when i sync my itouch4 w my macbookair. whatever i entered into my calendar in itouch will appear different in my ical( with a 6 hrs advance difference) and the alarm i set on my itouch in the calendar doesnt ring at the right time as set even though it is shown the time that i wanted.
    Both my macbook n itouch are set to the same time zone and i have checked this many many times n the time is the same on both machine. but i just dont understand why is there a time difference when synced and my alarm just dont sound at the time it was supposedly set. it rings hours later n showing a different time that it was set but in the parenthesis the right time that i had set it.
    One time my computer ran out of battery n went into sleep mode and when i open it again, the time n date setting was all off. which im surprised why it had gone off. So did this create the problem i have now with the date n time sync or something else?
    please help!!!!

    Having the same problem, & am running Parallels (which I haven't used for some time) not boot camp. I tick the box labeled "Set time automatically" & lock the "click the lock to make changes". When I reboot, the Lock is unlocked and the "set time...." is unticked. Any ideas. Cheers.

  • How to see the data in data containers when working on Generic Sync ?

    Hi All,
    I am working on Mobile Sales For HandHeld Generic Sync based application. To check the data transafer from Mi Client > MI server> CRM backend, we are using Generic Sync Queue Monitor in NWA. But how to check the actual dara in data containers showed on the monitor? Any specific transaction ( e.g. merep_mon for smart sync) to chk the same?
    Thanks & regards,
    Rucha Atre

    Hi,
    This is a tedious process of viewing the data in the containers since there is no tool to monitor the same. The data sent from the client is stored MESYHEAD and MESYBODY. Once the entire processing is completed then the entries from this table is deleted. If the processing has failed or not taken place then the entries will in this table.
    Data Containers will name value pairs with field name and data in the data field. This table will also contain data from smart sync applications.
    Thanks..
    Preetham S

Maybe you are looking for

  • One iTunes, two computers, two iPods help?

    I have one iTunes account shared between two computers. An iPod touch is on each computer. How can I separate the account but yet have the same one? I hope that this makes sense to everyone wanting to answer. I also found that if I purchase a song on

  • Error in XI installation

    Hello Gurus,        This is the error getting while installing XI at the 19th step The step ExeProcs with step key, ExeProcs was executed with status error. Can any one find what the error is Thanks in advance, Regards, Murali

  • Using common SOAP Sender Communication Channel.

    Hi, Env: PI 7.1 Scenario: Same SOAP Sender communication channel is used in more than one scenario. Properties "Use Encoded Headers" and "Use Query Strings" are checked. Problem: SOAP channel is getting binded with the first interface/call. Subsequen

  • Can Java Applet Call the ASP Page

    Hi, I would like to know whether the Java Applet can call the ASP page. If it can be done, how does the Java Applet get the value from ASP page? Please provide me some running example. Thanks.

  • O-R Relations in Sun J2EE SERVER/OC4j

    The O-R Mappings in Sun J2EE SERVER using Deployer Tool Not working ... I badly need help....