Generating a SyncBO

Hi All
We have a SyncBO, which in Merep_pd has the Status - Error. That is a red light.
When I check this SyncBO is the merep_sbuilder, the status is generated. And if I try to generate this SyncBO, it gives a message that - It has been generated - but there is no change in Merep_pd transaction.
How do I (re) generate this SyncBO, so that it will have a green light in Merep_pd, that is without errors.
Waiting for all your views.
Ankur

Hi,
simple steps:
Press the Check button in MEREP_SBUILDER and do a check for this specific BO.
Then solve the issues and Generate it again.
The go to MEREP_PD - open this page from scratch, simply changing the taps dfoes not help.
If it does not help at all - go SE80, search for function group GENSYNCBONAME*
and delete the group!
Then generate the BO again.
This should change it, cause now it is no generated code available.
If this does not help - check on one hand your BO implementation and on the other hand tell us if you use SAP standard code. Furthermore check the logs if this fails, cause then you have a problem in the coding or the creation of the BO.
Hope this helps!
Regards,
Oliver

Similar Messages

  • Problems qhen modifiyin or addind a SyncBo

    Hi,
    We have the following problem:
    We are workin with an applicaction that has several T2W syncBos. This applicactions works fine, we can install it, syncronized and see all the data of the SyncBos.
    But if we try to modify a SyncBo or add a new one it stops working.
    We follow this steps:
    -Generate the syncBo with merep_sbuilder.
    -execute the replicator of the new SyncBO and activate it.(merep_pd)
    -We create (MI_MCD) a new version of our application with the old SyncBos an the new one.
    -We download the xml of this new application version and put it in our Netweaver Developer Studio proyect.
    -Finally we export the war and upload it to the appllication through the Webconsole.
    But when we sincronize to install the application the following error ocurrs:
    • Exception while proccessing method WAF_REGISTRY : com.sap.ip.me.core.NestableRuntimeException : null
    • Exception while sync event processing: null (com.sap.ip.me.core.NestableRuntimeException)
    • Exception while sync event processing: null (com.sap.ip.me.core.NestableRuntimeException)
    • Exception while sync event processing: null (com.sap.ip.me.core.NestableRuntimeException)
    This error, or a similar one,  happens everytime we try to modify o add a new SyncBo.
    We have discover that this problem doesn´t takes place if we delete all the syncBos and generate them from scrath!!!!!!
    So every time we have to modify or add a new SyncBo we have to start again!!!!
    What are we doing wrong??
    What´s the correct porcedure to modify or add a new syncBo in an application.
    We are using SAP MI 2.5 SP 12.
    Thanks for your help.
    Alberto.

    Hi Sigi,
    when I looked your coding, it seems you make a little mistake.
    try to change the code
    <i>before</i> -
    curZmeSPer4.set<b>Name</b>((String)context.getValue("<b>Persnr</b>"));
    curZmeSPer4.set<b>Persnr</b>((String)context.getValue("<b>Name</b>"));
    change to
    <i>after</i> -
    curZmeSPer4.setName((String)context.getValue("Name"));
    curZmeSPer4.setPersnr((String)context.getValue("Persnr"));
    regards,

  • Download cascading SyncBOs fails with SP 13

    Hello,
    we upgraded from SP 12 to SP 13 and now the download of cascading SyncBOs fails. The scenario:
    We have a ZSRVPROC SyncBO which references to ZPARTNER. The ZPARNTER has a reference to ZADDRESS.
    Since SP 13 we get only ZPARTNERS to the client where the  reference to a ZADDRESS SycnBO is empty. All other
    ZPARTNERs are failing.
    The only hint I could find was in the merep_mon for the ZSRVPROC SyncBOs. The are several entries like:
    Cascade search failed: From (SyncBO=ZSRVPROC SKey=0009213657) To (SyncBO=ZADDRESS, R3Key=0000072986)
    But if I take a look in the table merep_207 I can find a ZADDRESS with the R3Key=0000072986. So why can't the MI find it?
    With SP 12 everything was fine. We upgraded the server to SP 13, installed all relevant SAP Notes and generated the SyncBOs. Has anyone the same problem or an idea for a solution?
    Greetings,
    Kai

    Hi,
    yes I have checked it serveral times
    All SyncBOs are enabled and the cascading flag is set for all SyncBOs.
    Additional I have defined a Sync Order for the SyncBOs in the mi_mcd:
    1 MIAUTH    (S01)
    2 ZPARAMET  (T01)
    3 ZPRODUCT  (T01)
    4 ZASSIGNMENT (S01)
    5 ZSRVPROC  (S01)
    6 ZPARTNER  (T51)
    7 ZADDRESS  (T51)
    8 ZIBASE    (T51)
    9 ZSRVCONT  (T01)
    10 ZSRVCONF (S01)
    I have defined following references:
    ZSRVPROC-Item010 -> ZIBASE
    ZIBASE-TOP   -> ZADDRESS
    ZSRVPROC-Item030 -> ZPARTNER
    ZPARTNER-TOP -> ZADDRESS
    The interesting thing is that the following references are working:
    ZSRVPROC-Item010 -> ZIBASE
    ZIBASE-TOP -> ZADDRESS
    and additional I get all Partner SyncBOs from ZSRVPROC-Item030 -> ZPARTNER where the ZPARTNER-TOP reference field to ZADDRESS is empty. As soon as the Partner has an Address SyncBOs, I get the message described in my first posting.
    Greetings,
    Kai

  • Generation of custom syncbo java classes does not work.

    Hello
    we created some new syncbo's for MAM 3.0 in the middleware and download it's correspond meRepMeta.xml.
    Now i will generate in the NetWeaver Developer Studio the manager and syncbo classes for our new custom syncbo's. I had create a new SmartSync-Project and deliver the meRepMeta.xml file, edit the package and some other things and start the project creation process. But after this, i have only an simple MI project with web.xml, meRepMeta.xml and so on, but no generated, custom syncbo's. In the documentation i couldn't find a detailed description for the generation of syncbo java classes.
    Can anybody help me, what i do wrong.
    Tanks a lot.
    Greetings
    Andreas

    Hi Kai,
    Just note these points..
    1)Smart Sync MI Applications (JSP Runtime) generated using SP 09v of Developer Studio is MCD specific.It is generating MCD specific files.This architecture makes the applications too complex during migration.
    2)In SP 09v applications, the developers don't have to code in Smart Sync API level as most of the codes are generated by default.
    3)Applications in SP 09v of Developer Studio is following the exact MVC Architecture(We can see the seperation of models, views and controllers here).
    4)Corresponding to the mapped fields (in SyncBo level), in the BO Wrapper classes we can see implementations of corresponding getter() and setter(..) methods.The names of this methods are totally dependent upon the names of fields mapped.So if there is change in the names of fields , in the case of already generated projects , we have to explicitly rename the getter() and setter(..) methods appropriately inorder to make the changes to take effect.
    5)For adding new JSP pages, we have to add references in many files(*.view). (we have to explicitly create the corresponding controller class file , map the relationship between the controller and the corresponding JSP file).
    refer this blog also..
    /people/kishor.gopinathan/blog/2006/05/29/smart-sync-application-development-using-sp-09v-of-developer-studio
    <<
    have to write the acces classes, mentioned in the MDK, manually for every new SyncBO I want to use?
    >>
         For that , we can write a generic method in such a way that , we only have to pass the syncbo name as the parameter for that method, so that it would retrieve the records corresponding to the syncbo given.
       Since the getter nd setter method names are closely related to the names of the mapped fields, this would create problems when we change the names of fields used in the table parameter or import parameter of the BAPI Wrapper used for syncbo creation.
    So using SP 11 , we can create generic applications, which can be migrated using the higher versions of NWD Studio. I think , SAP might not change this infrastructure anymore..
      Regards,
      Kishor Gopinathan

  • Issue with new SyncBO

    Hi,
    We created a new SyncBO that house some data in the SAP backend.  However, when we call SmartSyncRuntime.getInstance().getSyncBoDescriptorFacade().getSyncBoDescriptor(SYNC_BO), we get a null value. 
    Somehow, we are not getting the "SyncBoDescriptor".  Our guess right now is that the Sync in the MI client did not return us the database tables for the new SyncBO.
    Have anyone created a new SyncBO for your MAM application, and did you use the BOGenerator to generate Java SyncBO objects?  If so, is there anything that we need to do on the client side to be able to "sync" so that the MI Server will send us data?  Or is there something that must be done on the MI Server itself?
    We are currently running MI 2.5 SP15 (Patch 5), with DB2E 8.2.1, with MAM30 SR/2.
    Many thanks!
    Jeffrey

    hello jeff,
    i think for MAM, there are some customizations that you
    need to do with the user assignment for your data to be
    delivered to your client. perhaps you can refer to the
    server-side settings of the MAM.
    >we are not getting the "SyncBoDescriptor".
    it could be that your application was not deployed properly.
    or the syncbo name you specified is not a valid name as
    defined in middleware.
    check if you have the meRepMeta.xml file included inside
    the deployed package. if your descriptors are not installed
    in the client, no delta download requests will be sent to
    MI server; thus no data will be retrieved regardless of
    the data presence in the server. try  redeploying your application.
    regards
    jo

  • Error in Sync Bo Creation

    Hi
    I am on WAS 6.40. And have defined my two own RFC's to be used for GetDetail and GetList.
    When I am generating the SyncBo. It gives the following error <b>'Function modules from the function pool Z_MEREP_GEN_T01_ZMIDELV contain syntax errors'</b>
    And does not show anything else.
    I have specified the key, Map etc. but cannot figure out what is the error.
    Can someone help in tracing the error.
    Best Regards
    Swetank

    Hi Swetnak!
    Looks like one of the Function Module(FM) in your Function Group has some syntax error.In your Backend SAP System Go to SE37 and then type in your FM name and then Go To the Main Program.There will be a Include Program in the Main Program marked as "Function Modules".Double Click that and it will have a seperate Include for each Function Module in that Function Pool.Double Click each one of them One by One and try to activate.You will know which FM is causing the Syntax Error and what is it.If the errror comes out of a Function Module which you need fix that and activate the Main Progam and the errror comes out of a Function Module which you donot need then re-assign it to a different Function Group or comment out the Source Code of the FM inside that particular include program in your main program.
    Basically you try to generate the Main Program of the Function Module you are using in your backend SAP System, that will get you the answer for the syntax error.
    Let me know if this has resolved your problem.
    Thanks
    Gisk
    Message was edited by: Gisk
    Also donot forget the rewards if you feel you got some useful info
    Message was edited by: Gisk

  • Measurement points list not downloaded in MAM 2.5

    Hi,
    We have recently upgraded our MI server from SP13 to SP14, in which we use MAM 2.5 SR2. After that, we re-generated all SyncBOs and started replication for the timed-2 way ones. We also re-installed the PDA applications
    All seemed to work fine, but now the measurement list points are not being downloaded to the PDAs anymore.
    If we run the function MAM25_041_GETLIST on the backend, the measurement points are returned correctly. Also, when we run transaction MEREP_EX_REPLIC for the SyncBO MAM25_041, it runs with no error and returns many records (more than 50000) with action ADD and around 150 with action MODIFY.
    Does anybody know what the problem might be?
    Thanks,
    Daniel

    Hi Joy,
    you can refer the Table 2 .
    http://www.cisco.com/c/en/us/td/docs/voice_ip_comm/cucm/compat/matrix/CMDP_BK_CCBDA741_00_cucm-device-package-compatibility-matrix.pdf
    Yes, Device pack needs to be installed in all servers which also requires reboot of servers.
    Further, u need to take snapshot of existing firmwares from Device---Device Settings --device defaults to avoid changing of firmwares for other models.
    regds,
    aman

  • Error while generating SyncBO MAM30_017

    Hello members,
    here is another problem, I haven't found a solution for.
    While generating SyncBOs for xMAM 3.0 using merep_sbuilder, I receive the following error for MAM30_017: "Function modules from the function pool Z_MEREP_GEN_T01_MAM30_017 contain syntax errors"
    It points to message no. "MEREP_00530" for which I haven't found anything.
    Maybe anyone can help.
    Thank you,
    Florian

    Hello,
    I've got the same problem.
    I suppose you're on SP10 for NW04s or SP19 for NW04 and you're using the synco definitions for XMAM30 SR3.
    When I applied SP10 and regenerated the MAM30_017 syncbo I got those syntax errors.. On a SP lower than 10 this didn't cause any problems.
    So I implemented notes 0000987153, 0000993507 and 0001001224.
    I deleted the function group and regenerated MAM30_017 succesfully.
    Hope this helps,
    jeroen

  • Help needed in SYNCBO Creation with MI 2.5 SP 09

    Hi
    I have got the MI 2.5 downloaded from the SAP download center.First sync is over Device ID is generated and i have deployed a application(<b>details below</b>) to the device.From the merep_mon transaction i could see the data in the  outbound container but when i sync, the data is sent to the device(O-Sent =1) but the device is giving the following error
      Exception while proccessing method SMARTSYNC : com.sap.ip.me.smartsync.sync.InboundTransformException: com.sap.ip.me.api.persist.core.PersistenceException: No insertion possible; entity with key 0000000000 has already been inserted : com.sap.ip.me.api.persist.core.PersistenceException: No insertion possible; entity with key 0000000000 has already been inserted
    My WAS is 6.40 SP 09
    MI client is 2.5 SP 09
    The application was created for ME 2.1 client on eclipse 2.1 with MDK toolkit for 2.1 version can this be the problem.
    Thanks and Regards
    Gopi

    Hi Siddhartha
    To create a SyncBO follows the steps given in the MDK Doc
    <b>MDK Doc</b>
    http://media.sdn.sap.com/public/html/submitted_docs/MI/MDK_2.5/index.htm
    <b>SmartSync Tutorial</b>
    http://media.sdn.sap.com/public/html/submitted_docs/MI/MDK_2.5/content/tutorials/smartsync/definingsyncbo.html
    Regards
    Gopi

  • Help needed in SYNCBO Creation

    Hi
    I have created a syncbo following the steps mentioned in MDK document. When i execute the SyncBO with the emulator i am not finding any data.The steps i followed for creating the SyncBO are 
    Defining the SyncBO for downloading with the BAPI wrapper 'MEREP_COUNTRY_GETLIST'
       a) Defining the attribute
       b) Mapping
       c) Setting default value LANG : 'E'
       d) Generating the synchronizer
       e) Setting filtering criteria
       f) Enabling the SyncBO
    The table Merep_country and Merep_countryt are filled with data
    What am i missing?
    Thanks and Regards
    Gopi

    Hi Jo
    I reinstalled the MI client(<b>SP 13</b>) and set the data compression entry in the config file to false and then tried the sync but still the same error
    i am pasting the complete error
    [20051205 08:36:29:540] W [MI/Sync ] Exception while reading prolog from inbound stream 
    com.sap.ip.me.api.sync.SyncException: Format of the synchronization inbound file is not supported; Check sync gateway 
    at com.sap.ip.me.sync.in.BinaryInboundReader.readProlog(BinaryInboundReader.java:236) 
    at com.sap.ip.me.sync.in.BinaryInboundReader.(BinaryInboundReader.java:104) 
    at com.sap.ip.me.sync.SyncManagerMerger.processInboundContainers(SyncManagerMerger.java:59) 
    at com.sap.ip.me.sync.SyncManagerImpl.processSyncCycle(SyncManagerImpl.java:709) 
    at com.sap.ip.me.sync.SyncManagerImpl.syncForUser(SyncManagerImpl.java:1142) 
    at com.sap.ip.me.sync.SyncManagerImpl.processSynchronization(SyncManagerImpl.java:770) 
    at com.sap.ip.me.sync.SyncManagerImpl.synchronizeWithBackend(SyncManagerImpl.java:402) 
    at com.sap.ip.me.sync.SyncManagerImpl.synchronizeWithBackend(SyncManagerImpl.java:285) 
    at com.sap.ip.me.api.sync.SyncManager.synchronizeWithBackend(SyncManager.java:79) 
    at com.sap.ip.me.apps.jsp.Home$SyncRunnable.run(Home.java:447) 
    at java.lang.Thread.run(Unknown Source) 
    [20051205 08:36:29:540] W [MI/Sync ] Synchronisation problems 
    com.sap.ip.me.api.sync.SyncException: Format of the synchronization inbound file is not supported; Check sync gateway 
    at com.sap.ip.me.sync.in.BinaryInboundReader.readProlog(BinaryInboundReader.java:236) 
    at com.sap.ip.me.sync.in.BinaryInboundReader.(BinaryInboundReader.java:104) 
    at com.sap.ip.me.sync.SyncManagerMerger.processInboundContainers(SyncManagerMerger.java:59) 
    at com.sap.ip.me.sync.SyncManagerImpl.processSyncCycle(SyncManagerImpl.java:709) 
    at com.sap.ip.me.sync.SyncManagerImpl.syncForUser(SyncManagerImpl.java:1142) 
    at com.sap.ip.me.sync.SyncManagerImpl.processSynchronization(SyncManagerImpl.java:770) 
    at com.sap.ip.me.sync.SyncManagerImpl.synchronizeWithBackend(SyncManagerImpl.java:402) 
    at com.sap.ip.me.sync.SyncManagerImpl.synchronizeWithBackend(SyncManagerImpl.java:285) 
    at com.sap.ip.me.api.sync.SyncManager.synchronizeWithBackend(SyncManager.java:79) 
    at com.sap.ip.me.apps.jsp.Home$SyncRunnable.run(Home.java:447) 
    at java.lang.Thread.run(Unknown Source)
    Thanks and Regards
    Gopi

  • MAM RFC Error with Order and Notification SyncBo's

    Hi everyone, can you please advise on a problem I'm having when downloading 2-WAY SYNCBO MAM objects.
    I am able to download all syncbo's to my client with my username.  This includes Orders and Notifications.
    But.....whenever I use a different username only some of the SyncBO's come over.  I am missing MAM25_001 and MAM25_010 data.  Here is what I have done so far:
    -  Ensured username had exactly the same SAP security profile as I do, including the MI authorization objects.
    -  Ensured username was configured the same in the IMG.
    -  Re-generated and re-replicated my SyncBo's.
    -  Checked table MEREP_10100.  It showed no Order or Notification data.
    It does not make sense why everything works for me, but not for other usernames on my network.
    Here is the RFC error I get from the Middleware using MEREP_MON:
    RFC system Error:
    Z_MEREP_GEN_S01_____MAM25_010 has finished for run number 0000019624 and runtime counter 17.
    Please help.  Thanks.

    Hi Alex,
    Could you please reply the SP levels of the MI Client, MI server and MAM application?
    Also is your client device a PDA?
    You could try out few things ( not sure whether they will help)
    1. Sync several times (may 6 times) for the other users.
    2. Remove the MAM application for the one of the other usernames from the webconsole(which is not able get the data) and reassign it.
    3. Try the username on some other device.
    All the best!!!
    Regards,
    Rahul

  • Mapping Copied SyncBO to MAM application

    Hi all
    I want to add some extra fields to the MAM25_030 SyncBO.Please tell me if the following procedure is correct or do we have some other simpler method.
    1) Make a copy of the MAM25_030 SyncBO.
    2) Make the extra column mappings.
    3) In the MAM application change the meRepMeta.xml,com.sap.mbs.mam.bo.impl.syncbonamelist and mapping.xml file to point to the new copied SyncBO
    4) Add the get and set property for the new fields.
    Thanks
    Gopi

    Hi Gopi,
    You are right and all the steps you are specified are perfect. It would be much better if you regenerate all bo's using BO generator or its fine even if you add get and set methods.
    Regards,
    Siva

  • Transport MCD and SyncBO

    Hi,
    I have executed the mobile applications successfully in the development server.
    i wanted to move this to quality.
    So when i created MCD , a transport request is generated, i released it in development server and imported it into Quality server
    but i cud see only MCD available...there are no syncBOs.
    for this i cud find synBO migration mechanism which i performed it successfully.
    but after this i deployed SDA thru NWA and trying to assign it to mobile device in NWA -> Device Maintenance
    i got a problem saying <b>"This component does not support the platform of your device"</b>
    rgds,
    Kiran Joshua

    Dont mind , i was in urgency to know how to add a mobile component to device for multiple users.
    so though question was not relevant in this thread..i just posted it bcoz...the ultimate response rate of <b>OUR SDN</b> is tremendous.
    however i solved it.... ThnQ
    but i wud like to know abt the Transport system from Development to quality.
    rgds,
    Kiran Joshua

  • Can't enable SyncBO

    hi.
    i am using MI 2.5 SP09 and i'm trying the syncbo tutorial.  Unfortunately, at the step where i have to enable my syncbo, the "enabled" checkbox is still gray/read-only (in change mode).  the only checkboxes that are editable are "push", "check types", "save data", "handler" and "badi".
    i'm running on a WAS 6.40 SP12.  the status light for the syncbo object in the merep_pd transaction on the "synchornizer" tab is yellow.  i'm presuming that it should be green in order for the "enable" checkbox to be selectable.
    what am i missing to make it green?  or what can i check to see why it is yellow so that i can fix it so that it can be enabled.
    thanks.
    mike

    Hi Mike,
      Yes, if the syncBO is a timed 2-way (T01) it must be replicated once before you can enable it (This allows the replication DB to be initialized), other syncBO's can be enabled right away.
      I'm a little confused on how you have MI 2.5 sp09 on a WAS 6.40 SP12 but that shouldnt effect how you replicate/Generate/or enable the SyncBO's
    Good luck,
    Wael

  • Add field to SyncBo

    Dear Experts,
    I tried to add a field to SyncBo for notifications MAM30_010 on TOP level. This field is a standard field in notification and I found that it is already mentioned in the syncbo-definition-file but not set to transfer to MAM application. Now I did following steps to get this field in MAM:
    - download syncbo definition file for MAM30_010 (MEREP_MIG)
    - change all releated entries in syncbo-definitions (set field to transfer) found no other way
    - upload that file (MEREP_MIG)
    - generate and activate syncbo MAM30_010
    - download meRepMeta.xlm (MEREP_SBUILDER)
    - replace xml-file in MAM application
    After a synchronisation in MAM I could see in MEREP_MON that the data of that field is transfered correctly as expected but I got an error in MAM and the data for notifications are not saved.
    The error is:
    java.lang.RuntimeException: Inbound processing of container with index 38 failed: String length exceeds max length of 4 : <InboundProcessingError timestamp="2009-03-31-13-41-54"><RowProcessorDispatcherDump type="nonObservable" ><Action>a</Action><TopRowKey>0001483000</TopRowKey><ChildRowKey> </ChildRowKey><RequestId>01205c53529c929334cd </RequestId><StateID>01205c53529c929334cd </StateID></RowProcessorDispatcherDump></InboundProcessingError>
    Application version is MAM 3.0 SP 09.
    Did I miss a step or what else is wrong? Anybody an idea?
    Regards
    Andreas

    Hello Andreas,
    1. You have to use the new meRepMeta.xml to build your client MAM application.
    2. The BOs in client MAM will have to be based on this new meRepMeta.xml.
    3. Once this is done you have to build the war/sda and upload it to the webconsole.
    4. You have to download this new application to the device  and use it.
    By the way it is possible to download the extra data in the existing MAM without changing the meta data /  Sync BOs. You can consider using the Customer Enhancement fields or BADIs which can populate this in existing unused fields. This is easier and safer than changing the sync BOs.
    Let me know if you need any help.
    Regards,
    Dilip
    http://www.indience.com
    http://www.indience.com/index.php/products/mobile-asset-management.html

Maybe you are looking for