Error:Sync Key Missing in Replica DB
Hi,
While I am trying to test my Sync Bo thru Emulator, in the Inbound Worklist (Handler) I am getting the below error message, ' Synchronization key 0000000001 missing in replicaion DB, and 'Return code 1 (UPLOADER)'.
Could you pleae help in resolving the same.
Regards,
Sudhakar Karumuri.
Hi Sudhakar,
Is it possible to give the steps which had been simulated?
For eg:-
1. order is created
2. Material conf/Time conf is created
3. sync
4. error
One scenario is that (if you are using MAM) if an automatic notification is created in back-end, the above steps give a missing sync key error.
Best Regards,
Subhakanth
Similar Messages
-
Sync key missing in replicaion database
Hi All,
Firt of all, the Infos:
1) I´m running on MI 2.5 Sp 009;
2) My BAPI Wrappers are on the MI server and they call transacions in the backend system (R/3 4.6c);
3) I have a SyncBO type S01;
4) My client is AWT version;
5) I have only 3 wrappers : GetList, GetDetail and Modify;
The Problem:
When I call the Functions GetList and GetDetail via the transaction se37 or via the mobile, it works just as expected (return the data). Then When I call the function modify via se37 it works fine but when it is called by the mobile the worklist monitor (merep_mon) show the error "Sync key XXX missing in replicaion DB".
Always when I call the MEREP_EX_REPLIC, it return me the 0 records, but I get the data in the mobile client. I believe that can be a problem in the BAPI wrappers code, so their code is attached to analisys.
GET_LIST :
FUNCTION zmob_bwp01_getlist.
*"*"Global Interface:
*" TABLES
*" T_TOP STRUCTURE ZMBWP_HEADER
*" RETURN STRUCTURE BAPIRET2
* Workitem related data.
DATA: t_worklist LIKE swr_wihdr OCCURS 0 WITH HEADER LINE,
return_code LIKE sy-subrc.
* Get Workitem header
CALL FUNCTION 'SAP_WAPI_CREATE_WORKLIST'
DESTINATION 'D01CLTN110'
IMPORTING
return_code = return_code
TABLES
worklist = t_worklist.
REFRESH t_top.
LOOP AT t_worklist.
MOVE t_worklist-wi_id TO t_top-workitem.
MOVE t_worklist-wi_text TO t_top-subject.
MOVE t_worklist-wi_prio TO t_top-priority.
MOVE t_worklist-wi_forw_by TO t_top-forwby.
MOVE t_worklist-wi_cd TO t_top-sent.
APPEND t_top.
ENDLOOP.
* Set return code to RETURN table
IF return_code = 0.
MOVE 'S' TO return-type.
ELSE.
MOVE 'E' TO return-type.
ENDIF.
MOVE return_code TO return-number.
APPEND return.
ENDFUNCTION.
GET_DETAIL:
FUNCTION zmob_bwp01_getdetail.
*"*"Global Interface:
*" IMPORTING
*" VALUE(I_MANDT) TYPE ZMBWP_HEADER-MANDT
*" VALUE(I_WORKITEM) TYPE ZMBWP_HEADER-WORKITEM
*" EXPORTING
*" VALUE(E_TOP) TYPE ZMBWP_HEADER
*" TABLES
*" T_010 STRUCTURE ZMBWP_ITEM
*" T_020 STRUCTURE ZMBWP_DESC
*" T_030 STRUCTURE ZMBWP_ALT
*" RETURN STRUCTURE BAPIRET2
DATA: alternatives LIKE swk_decialts OCCURS 0 WITH HEADER LINE,
description LIKE tline OCCURS 0 WITH HEADER LINE,
workitem LIKE swr_wihdr-wi_id,
subject LIKE swr_wihdr-wi_text,
forwby LIKE swr_wihdr-wi_cd,
sent LIKE swlwi_disp-wi_forw_n,
status LIKE swr_wihdr-statustext.
* Get Workitem detail
CALL FUNCTION 'ZMDK_WORKITEM_GETDETAIL'
DESTINATION 'D01CLTN110'
EXPORTING
workitem_id = i_workitem
IMPORTING
workitem = workitem
subject = subject
from = forwby
sent = sent
status = status
TABLES
description = description
alternatives = alternatives.
IF sy-subrc EQ 0.
* Monta saida E_TOP
e_top-workitem = workitem.
e_top-subject = subject.
e_top-priority = '5'.
e_top-forwby = forwby.
e_top-sent = sent.
* Monta tabela T_010
t_010-workitem = workitem.
t_010-subject = subject.
t_010-forwby = forwby.
t_010-sent = sent.
t_010-status = status.
APPEND t_010.
* Monta tabela T_020
LOOP AT description.
t_020-workitem = workitem.
t_020-seq = description-tdformat.
t_020-description = description-tdline.
APPEND t_020.
ENDLOOP.
* Monta tabela T_030
LOOP AT alternatives.
t_030-workitem = workitem.
t_030-altkey = alternatives-altkey.
t_030-alttext = alternatives-alttext.
APPEND t_030.
ENDLOOP.
* Set return code to RETURN table
MOVE 'S' TO return-type.
MOVE sy-subrc TO return-number.
APPEND return.
ELSE.
* Set return code to RETURN table
MOVE 'W' TO return-type.
MOVE sy-subrc TO return-number.
APPEND return.
ENDIF.
ENDFUNCTION
MODIFY :
FUNCTION zmob_bwp01_modify.
*"*"Global Interface:
*" IMPORTING
*" VALUE(I_TOP) TYPE ZMBWP_HEADER
*" TABLES
*" T_010 STRUCTURE ZMBWP_ITEM
*" T_020 STRUCTURE ZMBWP_DESC
*" T_030 STRUCTURE ZMBWP_ALT
*" RETURN STRUCTURE BAPIRET2
DATA: return_code LIKE sy-subrc,
new_status LIKE swwwihead-wi_stat.
DATA: message_lines LIKE swr_messag OCCURS 0 WITH HEADER LINE,
message_struct LIKE swr_mstruc OCCURS 0 WITH HEADER LINE.
CLEAR: message_lines, message_struct.
REFRESH: message_lines, message_struct.
DATA: wa TYPE zmoblog.
CONCATENATE sy-datum sy-uzeit INTO wa-datetime1.
CONCATENATE t_010-workitem t_010-decision_key INTO wa-message.
INSERT INTO zmoblog VALUES wa.
CALL FUNCTION 'SWK_DECISION_COMPLETE'
DESTINATION 'D01CLTN110'
EXPORTING
workitem_id = t_010-workitem
language = 'PT'
user = sy-uname
decision_key = t_010-decision_key
IMPORTING
return_code = return_code
new_status = new_status
TABLES
message_lines = message_lines
message_struct = message_struct.
* Set return code to RETURN table
IF sy-subrc EQ 0 AND return_code = 0.
MOVE 'S' TO return-type.
MOVE return_code TO return-number.
ELSE.
MOVE 'E' TO return-type.
MOVE return_code TO return-number.
MOVE sy-subrc TO return-message.
ENDIF.
APPEND return.
ENDFUNCTION.
What can I do? Any ideas?
Thanks in advance,
RafaelHi Rafael,
What i meant actually is for S01 it doesnot update the RDB when you execute transaction MEREP_EX_REPLIC, instead the replicator is called during each sync and it communicates with the backend only during sync.So it does uses the replicator but only at Sync.So looks like there is some data inconsistency that throws the error "Sync key XXX missing...", this could happen if the SyncBo mapping is changed after the Sync. Try resetting the RDB by executing the Function Module MEREP_RDB_S01_RESET with SCENARIO = <Your SyncBo>.Before that disable the SyncBo for synchronizing and after resetting, reset your mobile device too by Undeploying and deploying the application again.
See if it helps.
Thx
Gisk -
Getting "incorrect sync key" errors during iPhone setup
First, i tried to "add a device" in the desktop Sunc window.
Entered the simple key that my phone generated, and got a positive confirmation on the desktop.
However, the phone showed a "incorrect sync key" error message, and no connection was made.
Then, i tried it the other way around - through the phone app.
I entered the sync key, connected, and got the "incorrect sync key" error as well. I tried this twice, just to make sure i didn't have a typo anywhere.
Lastly, i generated a NEW sync key in Firefox. I then tried connecting BOTH WAYS all over again, always with the same "incorrect sync key" error appearing on the phone.
It works neither way! Very frustrating...Resolved itself. I guess they were doing extensive maintenance over at Mozilla ... now it just went through as it should, and my iPhone is added to the list of devices.
If you are experiencing similar problems, you can file a bug report - and read the latest status updates on maintenance - here: https://services.mozilla.com/status/ -
i keep getting wrong sync key error after i click finish on "Setup Complete." i have tried resetting the sync key. nothing works.
Sync was an Add-on before the release of FF4 after which it was integrated into the current release, so it may behave differently.
You could maybe consider updating to the current version which is v4.0.1
To do that, click Help | About Firefox | Check For Updates and then "Apply Update".
P.S. I'm off on vacation for a month from today so I won't be able to respond again until mid-July. But I'm sure one of the other guys will be able to takeover if the problem persists. -
after Re-Installing windows 7 i clicked on sync setup from the menu
user name and pass is correct but the sync key shows error
"Wrong Key"
why is that? the key is not generated,... i've changed it the time i created in and used it for over a year now
every time i re-install windows or ff i put it and it's working
so it's not wrong!!!!!!!!!
now what,.. i want my bookmark data and passwords backMake sure that you are using the exact key without any space at the end.
Unfortunately, if you did change that Key or the one that you have copied is not exactly the one that was used to encrypt your data, you can not recover it and you will need to set up Firefox Sync again.
It's always a good idea to back up your profile before reinstalling the OS. Firefox Sync is not designed as a back-up service.
Sorry about it. -
When Firefox starts I get an error : Sync encountered an error. An unknown error has occurred. when I go to sync preferences it says your sync key has changed. When in the update key dialog I simply type the old key it accepts it ans again starts syncing as if nothing had happened.
hello, when this is happening after you've already updated firefox with your admin account, try to delete the ''updates'' folder and ''active-update.xml & updates.xml'' within the %localappdata% folder of your restricted account like it is described in http://kb.mozillazine.org/Software_Update#Software_Update_not_working_properly
-
1st Step: Firefox
2nd Step: Options
3rd Step: Sync
After the 3rd Step, the Manage Account feature is missing so I am unable view my Sync Key to enable my Android phone.As explained in the first step of the article posted, you need to set up your Firefox Sync account before moving forward and be able to add a new device.
If you did set up an account in the past, you would need to select "Connect" and then search for the link "I don't have the device with me" at the bottom of the 3 boxes.
Make sure that you have the Sync Key handy. If you have lost it, you would need to press the "I've lost my Sync Key" and follow the steps. This will erase all the information in your Sync server. -
I keep getting an error, it say ipod cannot be synced, the missing file is locked
i keep getting an error, it say ipod cannot be synced, the missing file is locked
i keep getting an error, it say ipod cannot be synced, the missing file is locked
-
I am having an issue with syncing my photos on my iOS devices running iOS 7.1.2, the two being an iPhone 4s and iPad 2 Wi-Fi + 3G.
When I sync photos, I keep on having photos turn up missing from entire albums. I have tried everything I can to resolve this issue from the support article titled <a href="http://support.apple.com/kb/TS3697">iTunes: Unable to sync photos</a>, and nothing has successfully worked in any kind of permanent form. I have even gone so far as to sync albums individually with a limit of around 400-500 total photos per sync, (give or take), and tried using what very little options I have on the photos tab for my devices in iTunes to essentially trick the devices to sync the missing photos. Despite this, iTunes still fails to sync newly added photos from the source location.
I have even made the attempt of re-installing iOS 7 on both devices, and restoring from backup. Again with no avail.
My best guess for my iPhone is that as it is a 16 GB, not all of 15.6 GB of photos will sync to the device, (go figure), but that doesn't explain why recent photos aren't added OR why my iPad 2 of 64 GB has missing photos.
As of this post, I have an estimated 38,940 files, spread across 1,703 folders, (a large amount of folders being in some of the folders; from my knowledge never being more than two folders in). They are all in one dedicated folder on a hard drive I've dedicated to iTunes and music related files, (for the sake of AVOIDING this kind of nonsense, I might add).
As for the system OS and iTunes, I am running Windows 7 64 bit, and I am using iTunes 11.2.2.3, but will have updated to iTunes 11.3 by the time anyone responds.I have the exact same problem.
Same kind of photos/videos taken with the same camera randomly sync.
Did 11.3 fix this issue?
Sincerely -
Option to create new sync key is missing
I followed the instructions here:
https://support.mozilla.com/en-US/kb/Firefox%20Sync%20is%20not%20working#w_ive-lost-my-sync-key-what-can-i-do
But in my 'sign-in' dialog it says 'wrong sync key' but does not provide a link that says 'I have lost my sync key'. Therefore I cannot create a new key and I cannot use this feature at all. I do not want to have to create a new sync account using a different email, as I do not have a different email that I wish to use for purposes such as this. Please help. I'm using FF 5.0 on a MacBook Pro.Hi!
Unfortunately there's no option to recover your key so you could access your previous data. If you create a new Sync Key you will lost your previously synced data.
The path to get the key has changed a little bit and the article you are pointing is not totally updated. I'm going to review it with the right steps:
1- On the menu bar, click on the Firefox menu and select Preferences...
2- Click on the Sync tab.
3- Click Set up Firefox Sync and a new window will open.
4- Under I already have a Firefox Sync account, click Connect
5- Click I don't have the device with me
6- Enter your account email address and password
7- Click on "I've lost my other device"
8- A new Sync Key will be made for you. Please take a moment to print it out or save it on your computer. Then click Change Sync Key -
I deleted the Sync Key, I thought it was just a refresh button and was not working. I have now read more about it, and want ot reinstall it, but when I go from tools>options.Sync, I get:
Incorrect account name or password: Update, reset or unlink
I have tried all three.
I know I made the error, but I don't know how to retrieve it. I have not shut my computer down, but I can;t seem to find it in my history either.
HELP ME PLEASEUser account – restore missing admin
-
Hi All,
I had created a IR report based on a table and it was working with no issues. But after few days, when I try searching using the IR search bar it shows "ORA-20001: get_dbms_sql_cursor error ORA-00936: missing expression" error message. I don't see any debug messages or errors in the debug window. The Finder drop down is empty too, there are no columns displayed to filter.
When I recreate the IR report(new page) based on the same table, It works fine and there are no issues with the search. But the old IR report search doesnt work. I have not modified the any thing in the old report after initial creation. Report uses Primary key based on a sequence.
What might have caused this issue?
Is there a way to intercept the search query from IR report?
Apex version - 4.2.3.00.08.
Any help on this appreciated.
Thanks,
JaganHi MK, as I had mentioned in my post, I don't see any logs in the debug window, query tab.
Can you please guide me how to check the query logs on search?
Thanks,
Jagan -
When syncing iPod the PC lost power. once power restored synced iPod but the sleeve detail has been blanked. Also when syncing a 'miss-match' message is reported on iTunes. how do I get the sleeve detail back onto iPod?
http://ww2.cs.fsu.edu/~rosentha/linux/2.6.26.5/docs/DocBook/libata/ch07.html#excatATAbusErr wrote:
ATA bus error means that data corruption occurred during transmission over ATA bus (SATA or PATA). This type of errors can be indicated by
ICRC or ABRT error as described in the section called “ATA/ATAPI device error (non-NCQ / non-CHECK CONDITION)”.
Controller-specific error completion with error information indicating transmission error.
On some controllers, command timeout. In this case, there may be a mechanism to determine that the timeout is due to transmission error.
Unknown/random errors, timeouts and all sorts of weirdities.
As described above, transmission errors can cause wide variety of symptoms ranging from device ICRC error to random device lockup, and, for many cases, there is no way to tell if an error condition is due to transmission error or not; therefore, it's necessary to employ some kind of heuristic when dealing with errors and timeouts. For example, encountering repetitive ABRT errors for known supported command is likely to indicate ATA bus error.
Once it's determined that ATA bus errors have possibly occurred, lowering ATA bus transmission speed is one of actions which may alleviate the problem.
I'd also add; make sure you have good backups when ATA errors are frequent -
How do I get the android version of Firefox to show my sync key OR export my bookmarks?
This is so aggravating, I have spent hours and hours now trying to get my bookmarks out of my Android device, to no avail.
There are two addons out there, none of which work with the current version (18) of FF.
So I took the about:synckey plugin (https://addons.mozilla.org/en-us/firefox/addon/aboutsynckey/) and updated the install.rdf with the android GUID and bumped the em:MaxVersion. Now it installed! WOHO!
But didn't work. :-(
Googling I managed to find a post in http://support.mozilla.org/en-US/questions/941765?page=2 where cor-el points out that the code is wrong. So I make the fix: The call to get the key should supposedly be 'Weave.Utils.hyphenatePassphrase(Weave.Identity.syncKey)'.
I reinstall and try again, but no dice. I try to insert an alert. No dice. The Javascript doesn't seem to fire.
I try on the desktop, and it works! Well, I don't have a key, but the alert fires as least.
Does Android require signed packages for JS to run, or what am I missing here?
The fact that there is no way to get the sync key out of FF for android NOR export bookmarks is, to use a strong word, retarded. Googling around there are many many threads from people who have, like me, lost their recovery key. It's aggravating because the data is there. I have my bookmarks on the device. I know the key is in there or it couldn't decode them. There's just no way to get at it because everything is locked down.
The JS looks like this (oh great, no preview here. How nice):
<script type="application/javascript;version=1.8"><![CDATA[
window.addEventListener("load", function onLoad() {
window.removeEventListener("load", onLoad, false);
Components.utils.import("resource://services-sync/main.js");
let synckey = Weave.Utils.hyphenatePassphrase(Weave.Identity.syncKey);
document.getElementById("synckey").textContent = synckey;
}, false);
]]></script>
One thread suggested 'jailbreaking' and then somehow exporting the sql-lite(?) database containing the key, extracting it from there. I'm not doing that. This isn't supposed to be hard, this is supposed to be three clicks and you're done.
For the love of all that is holy, someone add Export Bookmarks to the Android version so we can get on with our lives.This is because the directions you are seeing are out of date. They applied to Firefox < 10.
The only way to get data out of the Firefox for Android profile is to use https://addons.mozilla.org/en-US/android/addon/copy-profile/
This data is not directly importable into Firefox desktop. It would require some inspection of the SQLite databases to accomplish what you want to do. -
To whom it may concern,
I’m currently trying to log in to the Firefox Sync and according to your systems, this SYNC Key is not a good key.
The left side of your screen is the saved copy of the Key when I have re-created one.
Please verify the server is not having any problems.
This is not the first time I had to re-set my key, but why do I have to keep doing this and lose all data?
PLEASE NOTE I HAVE AN IMAGE WOULD LIKE TO SHOW YOU, PLEASE PROVIDE EMAIL OR OTHER WAYS TO UPLOAD
Regards,
Kevin LawHi Rogerio:
1). Execute transaction MEREP_PD,Go to Mobile ID Tab and enter your mobile ID# 71 and then click "Refresh Replica Data base", this will delete data for your Device ID.
2). Execute FM "MEREP_RDB_S01_RESET" from SE37 with your SyncBO Id to reset your replica database.
3). Execute Transaction MEREP_EX_REPLIC with your SYNCBO Id, you should get new data in the Replica Database.This is same as choosing the Synchronizer Tab in MEREP_PD and then replicating the DB for your SyncBo after you enabled it the first time.
After doing this,do a sync from your MI Client again, this should get a new sync key and try posting it now.
Regarding, Updation the BAPI Wrapper will update only the Tables/Structure in the backend system, the system that has been defined under RFC Destination in the SyncBo eventhough those tables exist in the MI Server.Because when there is a RFC Destination(which is not local) assigned in the SyncBo, it will never call the BAPI Wrapper in the MI Server and it don't even have to exist in the MI Server.The BAPI Wrapper has to exist only in the Backend System.If you still want to update something in the MI server then you have to do special coding in the BAPI Wrapper in your Backend System to update the tables in your MI Server.
Maybe you are looking for
-
Error Message in Print preview of PO.
Hi guys. i am trying print preview of purchase order from ME23N. but i am getting errror message "system message 038 from SSFCOMPOSER does not exist" . can u tell what is this error is? how to solve this problem? Thanks..
-
How to autoincrement data in jdeveloper using postgres
hi..Can anyone help me about my prob.? I need to know how to auto increment records in jdeveloper using postgres.. hope u can give me sample codes which i can use as my reference.. hope for your immediate reply..thankz..=)
-
Dynamic Parameters - DB Connections
<p class="ssiBODYCOPY">Hello...<br /><br />I am using CR XI with Oracle 9i DB.<br />I have multiple reports using Dynamic parameters.<br />When i run the report it's creating separate DB <br />connections for each parameter. Is there anyway i can <br
-
Slow Internet throughput - solutions needs osx progamming fix .plists
Below post on CNET was useful. The very last last thing worked for me. I think apple should create an AUTO refresh on some of these plists that become corrupted. It seems to be a big problems for a lot of software bottlenecks. OSX Programmers are you
-
Controlling Broadcasts Attempts when PreCalc Server is down
In BI 7.X, is there a way to control the number of attempt that the BIBCAST jobs make when Precalculation Server is down. We would prefer that it failed after a reasonable number of attempts instead of just trying over again every 30 seconds. Any id