Skip to Content
avatar image
Former Member

merep_emulator

i have create a syncbo with getlist,getdetail and modify function

i want to test if the syncbo is working or not, so i use merep_emulator to test

after i execute F8 and try to open the worklist

i get the following :

receiver call successful, see the worklist

i open the worklist and get status : 'E'

"I" MEREP_HANDLER has started for run number 0000020856 and runtime counter 3

"D" Return code (0) handler enabled

"E" Header action from mobile="MOD",R/3 action"ADD";

"E" Return code 1 (Downloader)

when i check the result , there are no changes to the records,

Message was edited by:

yzme yzme

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

2 Answers

  • Best Answer
    avatar image
    Former Member
    Aug 06, 2007 at 05:48 AM

    Hi Yzme,

    Here is the way to use emulator. Go emualtor report and press F8 , Since you have GETLIST and GETDETAIL , The emulator will donwload the data.

    Note : Do not feed any data in the emulator during download.

    Once the data is downloaded you can select one of the downlaoded entry and modify the data content and again press F8 to upload the updated data to the backend.

    Error Part above : you try to create data with action A for which the create bapi wrapper is necessary. hence the error.

    Add comment
    10|10000 characters needed characters exceeded

    • Former Member Former Member

      Hi Yzme,

      I just checked the old code. You can't use emulator for modify if you are less than SP19. It will always show conflict. But if you are above SP19, thinks work perfectly. Its only for emaulator and not applicable for actual sync from client. So you can test it using a proper client application....

      Regards

      Ajith

  • avatar image
    Former Member
    Aug 06, 2007 at 06:18 AM

    Hi Yzme,

    The reson for that error is you sent wrong action for the record. If you are creating a new record, the action should be 'A' and not 'M'. This has to be set carefully in emulator for both header and items.

    If you are planning to modify some records, make sure you key in the correct synckey, better use "Test data assistant" button (4th button from left).

    Regards

    Ajith

    Add comment
    10|10000 characters needed characters exceeded