Skip to Content
avatar image
Former Member

Unit Test of SyncBo

hi all,

I created a syncbo using merep_contact_getlist and getdetail bapis. I mapped the following fields in GetDetail bapi.

Person Number, Sequence Number, City1, City2, Street.

I didn't give any default values or gave any filter category.

My objective is to get the list of person numbers and display their details.

Hope i was right in the syncbo creation and mapping for my objective (pl. do correct me if i'm wrong).

Now, i want to test the SyncBo. How do i go about it? Can some one provide me with step by step procedure for the same?



PS: Answers will appropriately be rewarded! 😊

Add comment
10|10000 characters needed characters exceeded

  • Follow
  • Get RSS Feed

1 Answer

  • Best Answer
    avatar image
    Former Member
    Oct 27, 2006 at 07:13 AM

    Hi Arunkumar,

    You can perform the unit tests of your syncBOs using the emulator that MI provides. This simulates the handling of the download data request message sent from a client device, which calls the GetList BAPI wrapper for the SyncBO.

    The test can be performed as follows:

    1. Start the transaction se38

    2. Enter the program MEREP_EMULATOR, and choose the Execute icon or F8

    3. Enter the SyncBO ID and Mobile ID

    4. Choose the Execute icon or F8

    5. Choose the Execute icon or F8 again

    6. Create a new session and start the transaction merep_mon

    7. Check the message status and its processing result such as viewing the Outbox data in the Worklist Monitor



    Add comment
    10|10000 characters needed characters exceeded

    • Former Member


      I found these steps in the MDK online document. But on running the emulator, i don't get any data at all. The Header and Item (010, 020) are empty with 0 entries.

      When i give the execute for the second time, i get this error DATABASE_UPDATE_FAILURE

      Where did i go wrong?