Problem in replication of locations from R/3 system (4.7E) to SRM 5.0

Hi All,
                     I am getting  "error accessing system T90CLNT090"as an error (Message  no. BBP_LOCATION001) while replicating locations through BBP_LOCATIONS_GET_ALL, from R/3 to EBP System.
I have checked the RFC connections working perfect.
R/3 system is 4.7E version and EBP system is SRM5.0.
Thanks in Advance,
nanaji

Hi,
The problem  is due to the RFC connection only.So please check both the RFC connections and check whether the same RFC user is maintained for the RFC user in both the systems.
Also check whether the RFC user is a dialog user .Sometimes the problem happens because of this too.If required try to create a seperate RFC destination with a dialog user and test again.
BR,
Disha.
DO reward points for useful answers.

Similar Messages

  • Data visibility problem in PDF file generated from R/3 system

    Hi all,
    We are converting the output of a Smartform into a PDF format. From this smart from, we receive data in OTF format, after which the required data is converted from OTF format to PDF format. Then PDF data is sent through mail using FM SO_NEW_DOCUMENT_ATT_SEND_API1 as an attachment. 
    For the above mentioned Smartform, we have defined Paragraph & Character font type as 'TIMES' in smart style. But when we receive the PDF file (through mail), some data of appears in other fonts:
    1) When PDF file is generated from Development system, the different font types which are used by PDF are Arial and Times-Roman. In this case, we are able to see the PDF output and faced no major problems because both of these fonts are supported by PDF file format.
    2) When PDF file is generated from Testing system, the font types which is used by PDF is Arial. In this case, we are able to see the PDF output because this font is supported by PDF file format.
    3) When PDF file is generated from Production system, the different font types which are used by PDF are Arial, Times-Roman and PBRS. Here, we are able to see the data which is displayed in Arial font and Times-Roman font. But we are not able to see the data which is displayed in PBRS font because this type of font is not supported by PDF file format. If we copy the distorted text from PDF file and paste it in MS-Word then the required data is clearly visible and that is due to the reason that MS-Word supports PBRS font.
    But as per smart style we have used only 'TIMES' font, then why different fonts are appearing in PDF file?
    What settings are required to be done to make this data visible?
    Any pointer to solve this issue will be really appreciable. Thanks in advance for your help.
    Thanks and Regards,
    Dheeraj Tolani

    Hi,
    check the following
    http://help.sap.com/bp_biv235/BI_EN/html/bw.htm
    business content
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/library/biw/g-i/how%20to%20co-pa%20extraction%203.0x
    https://websmp203.sap-ag.de/co
    http://help.sap.com/saphelp_nw04/helpdata/en/37/5fb13cd0500255e10000000a114084/frameset.htm
    (navigate with expand left nodes)
    also co-pa
    http://help.sap.com/saphelp_nw04/helpdata/en/53/c1143c26b8bc00e10000000a114084/frameset.htm
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/fb07ab90-0201-0010-c489-d527d39cc0c6
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/1910ab90-0201-0010-eea3-c4ac84080806
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/ff61152b-0301-0010-849f-839fec3771f3
    FI-CO 'Data Extraction -Line Item Level-FI-CO'
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/a7f2f294-0501-0010-11bb-80e0d67c3e4a
    FI-GL
    http://help.sap.com/saphelp_nw04/helpdata/en/c9/fe943b2bcbd11ee10000000a114084/frameset.htm
    http://help.sap.com/saphelp_470/helpdata/en/e1/8e51341a06084de10000009b38f83b/frameset.htm
    http://www.sapgenie.com/sapfunc/fi.htm
    Please reward for the same.

  • Password Replication to LDAP from SUS (ABAP system)

    Hi,
    We have integrated ABAP(SUS) system with LDAP. We want to replicate all the user accounts created in SUS to LDAP ( both user id and password). We need this password in LDAP because LDAP is used for authentication when the user is logging from out side the company by ISA server ( reverse proxy server ) and when the users are logging in internally from the network they will be authenticated against SUS system directly. So we need the user account created at both places with password.
    Any help around this topic is much appreciated.
    Thanks & Regards,
    Seshu

    Hi Yaramala Reddy,
    I have done Synchronization of users created on ABAP with LDAP directory.
    You can use LDAP tcode or LDAPMAP tcode to do the required settings for mapping the SAP User Data fields to the LDAP directory attributes.
    Once the mapping is defined, then run the report RSLDAPSYNC_USER which will replicate all the users created on the ABAP side or viceversa.
    You can also schedule the report dialy as a backgroundjob for delta synchronization.
    Hope this helps.
    Regards,
    Kiran Kandepalli.

  • Problem with Text data Extraction from R/3

    Hi Experts,
    The problem is extracting Text data from R/3 system.
    Actually its an delta load.The load is running fine....but it is not bringing any data from the source system (R/3)0 Record.When I checked the table in R/3 system the data are there.
    I tried with Fullupdate too, still its bring 0 record.
    What will be the solution for this?
    Thanks in Advance!
    Regds,
    SPS

    Hello SPS, I cant remember very well, but when we found this issue, the problem was Language key. There was a problem with standard datasource.
    Did you try to find any notes for your datasource ?
    Hugs,
    Bueno

  • URGENT Error while loading locations from R/3 to EBP

    Hi SRM Warriors,
    I am getting the error message "Error Accessing System XXXXX" while loading location from R/3 system.
    I was able to load them choosing the "Logical System (Source System)" for my Logical System. However, I need to do the same for my trusted system and it is where the error message is appearing.
    I am using transaction SA38 and running the program BBP_LOCATIONS_GET_SELECTED, where I already checked the RFC connections through WE59 transaction.
    Any help will be very appreciated and rewarded. Thanks,
    Luis Miranda

    Luis,
    It looks like this is something to do with RFC Connection to this specific Logical System. In transaction SM59 you should Test the Connection as well Test Authorization.
    Also Check whether the service user used for this RFC has User ID in the R/3 system and has SAP_ALL profile.
    Pl. award points to helpful answer.
    Thanks
    Shrini

  • Problems when trying to transfer location from ECC to APO

    Hello,
    I am trying to transfer some locations from ECC to APO via CIF, but a system error appears: "Message no. SR053, data error for the location address 1000". For this reason I have not been able to transfer any location to APO. Could anybody tell what could the problem?
    Thanks in advance,
    David

    Hello Tiemin,
    Thanks for your answer. Based on your answer we changed some settings and now we are able to transfer locations from ECC to APO, but the error message is still showing, so even tough the error is not stopping the transfer now, we are not able to find what could be the problem.  Any more ideas about what we need to check?
    Thanks againg for you help.
    David.

  • Schedule lines are creating problem in PO-storage location in SAP

    Hello Everyone,
    We are using SRM 5.0 ECS.
    We create the PO in SRM and send it to R/3 backbend system. When we maintain the schedule line in PO(SRM side),the backbend system is not maintaining the correct storage location from purchase req. And when we do not maintain the schedule line in PO(SRM side), the backbend system maintain the correct storage location from purchase req.
    So here what can be the reason for this problem?
    Regards,
    Khushbu.

    Please I need help on this.

  • Files cannot be located from external hard drive.

    I just moved all my iTunes content to my laptop from my external hard drive (that I had been previously using with my PC), thinking it would be available on both as long as I had the Hard Drive plugged in. When I got downstairs however, I found that none of the songs could be located on the PC from the external hard drive, even though I had it plugged in. How do you solve this?

    Then I tried to fix the problem by dragging my music from my external, to my iTunes but stopped it when I realised I was going to have a whole iTunes full of duplicates. (still got like 80 though )

  • Replication of Prospects from crm to r\3

    hello Experts
    is there any way to stop the replication of prospects from crm to r/3.....
    we are facing a problem with out validating the prospect the prospects are replicating in r/3...
    can u please help me out in this
    thanks in advance
    regards
    sreeram

    Shweta is right about the PIDE setting in R/3, but this does stop only the update in R/3, not the sending of prospects towards R/3.
    To do it correctly, you need to create new subscriptions for the R/3:
    1. Delete the subscription, publication and replication object on BUPA_MAIN in SMOEAC
    2. Create a new intelligent replication object with filter on IS_CUSTOMER with option EQ (which means you want only customers to be replicated). Alternatively you can create a filter on IS_PROSPECT and option NE
    3. You create the appropriate publication and subscription and assign it to the R/3 site
    Now only BP's with the customer flag will get replicated (or those without the prospect flag). The customer flag will get set usually automatically with the customer role or can be manually set in the classification tab of role customer (field BPISCUST), but the prospect flag will stay if you turn the prospect into a customer.
    So you need to make sure that when setting the BPISCUST flag that the BPISPROS flag is unset, when you do the alternative filtering on IS_PROSPECT (manually or in a BADI on customer save).
    Regards, Kai

  • "Object Picker cannot open because no locations from which to choose objects can be found"

    Hi,
    When I try in AD management console in the domain controller to add a new group for a user I get the following error:
    "Object Picker cannot open because no locations from which to choose objects can be found" error message when you try to select objects from an Active Directory domain in Windows 2000
    Our domain controller is a W2000 cluster (two W2000 advanced server machines) and this happens in one of the nodes of the controller while in the other node it Works well (the difference between them is where it fails, has the resources: print,
    file sharing and quorum services). Both nodes of the controller have the remote registry service disabled and in the node where it fails when you start this service it works well but I don`t think this is the reason because in the other node with remote registry
    service disabled it works. Solutions from the following support articles don`t work:
    kb 263231
    kb 284914
    I have checked that the situation is independent of the domain administrator who tries to add the group to the user.
    Can anybody help me? Which is the reason of this different behaviour from one cluster node to another ?
    Thanks.

    Hi Milos,
    Thanks for your answer but I think this is not the case because the problem is not with NTFS and we don' have these problems:
    Users or groups that have Full Control access cannot delegate permissions.
    Users who have Full Control access cannot make permission changes on a DFS share.
    If you give the non-privileged user the right to log on locally and you log on locally to the file server where the error message occurs, you can successfully edit the ACL.
    It only happens with the AD management console. Now, for us it is not posible to upgrade the system.

  • Problem in retriving workitem id from uwl in abap webdynpro

    Hello,
    Curently, I've a problem similar with this post : Problem in retriving workitem id from uwl in abap webdynpro
    But unfortunatelly there is no answer :/
    I've followed this tutorial : http://wiki.sdn.sap.com/wiki/display/WDABAP/IntegratingWebDynproABAPapplicationswithUWLforworkflowin+Portal
    And I have a problem in my WD Abap. The WI_ID field is empty (initial).
    Here is my XML :
    <?xml version="1.0" encoding="UTF-8"?>
    <!DOCTYPE UWLConfiguration PUBLIC '-//SAP//UWL1.0//EN' 'uwl_configuration.dtd'
      >
    <UWLConfiguration version="1.0">
         <ItemTypes>
              <ItemType name="uwl.task.webflow.TS90000087.ED1CLNT100" connector="WebFlowConnector" defaultView="DefaultView" defaultAction="launchWebDynPro" executionMode="default">
                <ItemTypeCriteria systemId="ED1CLNT100" externalType="TS90000087" connector="WebFlowConnector"/>
                <Actions>
                   <Action name="launchWebDynPro" groupAction="" handler="SAPWebDynproABAPLauncher" returnToDetailViewAllowed="yes" launchInNewWindow="yes" launchNewWindowFeatures="resizable=yes,scrollbars=yes,status=yes,toolbar=no,menubar=no,location=no,directories=no">
                     <Properties>
                        <Property name="WebDynproApplication" value="zps_pnpi"/>
                        <Property name="newWindowFeatures" value="resizable=yes,scrollbars=yes,status=yes,toolbar=no,menubar=no,location=no,directories=no"/>
                        <Property name="DynamicParameter" value="WI_ID1=${item.externalId}"/>
                        <Property name="openInNewWindow" value="yes"/>
                        <Property name="WebDynproNamespace" value="sap"/>
                        <Property name="System" value="ED1CLNT100"/>
                        <Property name="display_order_priority" value="5"/>
                     </Properties>
                     <Descriptions default=""/>
                   </Action>
                </Actions>
              </ItemType>
         </ItemTypes>
    </UWLConfiguration>
    Here are the parameter defined in my application :
    WI_ID     000000000000     SWW_WIID
    WI_ID1     ${item.externalId}     STRING
    And, i've made the test with both the WI_ID and the WI_ID1 in the XML but everytime, no value at all.
    Could you please help me ? It's been three days I'm looking for a solution to get my Workitem ID in my Webdynpro ...

    In fact, it's quite strange, I added the menu and toolbar display and I can see that my url contains the data ...
    http://<begin_of_the_url>DynamicParameter=System%3DED1CLNT100%26wi_id%3D000000629442%26WI_ID%3D000000629442%26WI_ID1%3D000000629442<end_of_the_url>
    So ... how is it possible ?
    And the next question, how can I get the full url so I can parse it myself ?

  • Problem with replication based on materialized view

    Problem with replication based on materialized view...
    Given:
    1. Source: S-1
    2. Targets: T-1, T-2
    3. DB links: from T-1 to S-1, from T-2 to S-1
    Required replicate table TBL on S-1 to T-1, T-2 via db links.
    On S-1 was created materialized view log with PK on TBL. On T-1, T-2 were created mat.views as "on prebuilt table refresh fast on demand". In case of get "ORA-12034: materialized view log younger than last refresh" or initial load - perform complete refresh. Initial load on T-1 takes about 1 hour, on T-2 - about 12 hours. Refresh is executed via job with minutely interval. If refresh is running then it is not performed.
    Problem: after initial load on T-1 performs fast refresh, but on T-2 raised ORA-12034 and complete performs again.
    What's wrong?

    34MCA2K2, Google lover?
    I confess perhaps I gave a little info.
    View log was created before MV.
    It was the first initial load.
    No refresh failed.
    No DDL.
    No purge log.
    Not warehouse.
    There is no such behavior for MVs on another sites.
    P.S. I ask help someone who knows what's wrong or who faced with it or can me  follow by usefull link.
    P.P.S. It's a pity that there is no button "Useless answer"

  • Need to exclude storage location from MRP.

    Hi Gurus,
    Is there an option to exclude a specified storage location from MRP at configuration level. But not at material level as in MRP4 view.
    We have excluded the stoarge location in config OMIR, however the system considers that stock if the same is not excluded in MRP4 of that material.
    Now, the problem is every time i need to go to the material master of every material  i have to excude from MRP, which is very time consuming..!
    Please advise me is there any option in point of view of Storage Location,  just simply  define the storage location to be excluded from MRP run.
    Thanks in advance.
    Naveen.

    Dear,
    Yes you can do it though OMIR or MMSC 1-Storage location stock excluded from MRP.
    Also check this link for more details,
    Exclude purchase order on storage location from MRP
    Regards,
    R.Brahmankar
    Edited by: R Brahmankar on May 25, 2009 12:22 PM

  • LOB locater from Java?

    I seem to be having a problem with getting a CLOB from a Java stored procedure. I have
    public class TheJava {
    public static CLOB getData(int arg){. . .
    which is specified by
    FUNCTION getClobData(a IN NUMBER)RETURN CLOB
    AS LANGUAGE JAVA
    NAME 'TheJava.getData(int) return oracle.sql.CLOB'
    I also have the utility procedure to write it out
    PROCEDURE printClobOut(result IN OUT NOCOPY CLOB) is
    xmlstr varchar2(32767);
    line varchar2(2000);
    begin
    xmlstr := dbms_lob.SUBSTR(result,32767);
    loop
    exit when xmlstr is null;
    line := substr(xmlstr,1,instr(xmlstr,chr(10))-1);
    dbms_output.put_line('| '||line);
    xmlstr := substr(xmlstr,instr(xmlstr,chr(10))+1);
    end loop;
    end;
    So if I try
    declare
    c CLOB;
    begin
    dbms_lob.createtemporary(c,true);
    c:=getlegendasxml(1);
    printclobout(c);
    dbms_lob.freetemporary(c);
    end;
    I get
    ORA-22275: invalid LOB locator specified
    ORA-06512: at "SYS.DBMS_LOB", line 739
    ORA-06512: at "PRINTCLOBOUT", line 5
    ORA-06512: at line 6
    Really, I have no idea what I have to do to get the right locater. Any suggestions are much appreciated.

    Yes, I suspect it is the Java that is causing the problem. The code is below. I can't see that there is anything unusual here so why should there be a locater problem?
    import java.io.IOException;
    import java.io.Writer;
    import java.sql.*;
    import oracle.sql.CLOB;
    public class TheJava {
    public static CLOB getData(int arg) throws SQLException{
    Connection conx = null;
    String message = new String();
    CLOB tempClob = null;
    Writer tempClobWriter = null;
    try{
    conx = DriverManager.getConnection("jdbc:default:connection:");
    tempClob = oracle.sql.CLOB.createTemporary(conx, true, oracle.sql.CLOB.DURATION_SESSION);
    tempClob.open(oracle.sql.CLOB.MODE_READWRITE);
    tempClobWriter = tempClob.getCharacterOutputStream();
    }catch(SQLException sqlexp){
    message = "! CLOB problem.\n ";
    message += sqlexp.getMessage();
    if(tempClob!=null){
    //line A is next line
    tempClob.putString(1,message);
    return tempClob;
    }//end if tempclob
    }catch(Exception exp){
    message = "! Some other exception.\n ";
    message += exp.getMessage();
    if(tempClob!=null){
    tempClob.putString(1,message);
    return tempClob;
    }//end if tempclob
    }finally{
    if(tempClob!=null){ tempClob.freeTemporary(); }
    if(conx != null){ conx.close(); }
    }//end try catch
    In an earlier test I was getting an error reported at line A (I had tried to start from position 0).

  • Problems starting Replication on large databases - SQL 2012

    Hi all,
    I have been battling SQL Server for a week trying to get replication up and running, now I realize that most probably I am doing something wrong and I hope that one of you can help pointing me in the right direction.
    I want to start replication of a big (180GB) database in my lab environment and every time the end result is errors of the type "The row was not found at the Subscriber when applying the replicated command. (Source: MSSQLServer, Error number: 20598)".
    There are more than one database to be replicated and the smaller ones (<= 4GB) have started without problems, a medium database of 21GB had one similar error and has been running for a few days since I found and inserted the missing data in the subscriber
    DB.
    A couple of facts:
    - I have set up the distributor as a remote distributor since the publishers are mirrored databases.
    - I assume the distributor setup is OK since all the replicated databases are taking the same 'path' and the smaller ones are working.
    - The distributor and the subscriber are set up on the same server.
    - All in all the following procedure takes about 3.5-4 hours.
    - The database is running in Full Recovery mode
    - All log backups on the publisher are turned off for the duration.
    Here's what I do:
    On the publisher
    Create the publication and add all the articles
    use [Zaragoza]
    exec sp_replicationdboption @dbname = N'Zaragoza',
    @optname = N'publish',
    @value = N'true'
    GO
    exec [Zaragoza].sys.sp_addlogreader_agent @job_login = N'NS-LAB-DB-40\SqlServiceUser',
    @job_password = N'********', -- Modify Here
    @publisher_security_mode = 1,
    @job_name = null
    GO
    -- Adding the transactional publication
    exec sp_addpublication @publication = N'Zaragoza_Full',
    @description = N'Transactional publication of database ''Zaragoza'' from Publisher ''NS-LAB-DB-38''.',
    @sync_method = N'concurrent',
    @retention = 0,
    @allow_push = N'true',
    @allow_pull = N'true',
    @allow_anonymous = N'false',
    @enabled_for_internet = N'false',
    @snapshot_in_defaultfolder = N'true',
    @compress_snapshot = N'false',
    @ftp_port = 21,
    @allow_subscription_copy = N'false',
    @add_to_active_directory = N'false',
    @repl_freq = N'continuous',
    @status = N'active',
    @independent_agent = N'true',
    @immediate_sync = N'true', -- Needs TRUE
    @allow_sync_tran = N'false',
    @allow_queued_tran = N'false',
    @allow_dts = N'false',
    @replicate_ddl = 1,
    @allow_initialize_from_backup = N'true', -- Modify Here
    @enabled_for_p2p = N'false',
    @enabled_for_het_sub = N'false'
    GO
    /* SHOULD not need this since no snapshots will be generated
    exec sp_addpublication_snapshot @publication = N'Zaragoza_Full',
    @frequency_type = 1,
    @frequency_interval = 1,
    @frequency_relative_interval = 1,
    @frequency_recurrence_factor = 0,
    @frequency_subday = 8,
    @frequency_subday_interval = 1,
    @active_start_time_of_day = 0,
    @active_end_time_of_day = 235959,
    @active_start_date = 0,
    @active_end_date = 0,
    @job_login = N'NS-LAB-DB-40\SqlServiceUser',
    @job_password = N'********',
    @publisher_security_mode = 1
    exec sp_addarticle @publication = N'Zaragoza_Full',
    @article = N'__MigrationLog',
    @source_owner = N'dbo',
    @source_object = N'__MigrationLog',
    @type = N'logbased',
    @description = null,
    @creation_script = null,
    @pre_creation_cmd = N'drop',
    @schema_option = 0x000000000803509F,
    @identityrangemanagementoption = N'manual',
    @destination_table = N'__MigrationLog',
    @destination_owner = N'dbo',
    @vertical_partition = N'false',
    @ins_cmd = N'CALL sp_MSins_dbo__MigrationLog',
    @del_cmd = N'CALL sp_MSdel_dbo__MigrationLog',
    @upd_cmd = N'SCALL sp_MSupd_dbo__MigrationLog'
    GO
    -- MANY more "EXEC sp_addarticle"....
    On the publisher
    I recompile the subscription SPs since I had problems with them once.
    I use the output from the following statement:
    USE Zaragoza;
    EXEC sp_scriptpublicationcustomprocs @publication=N'Zaragoza_Full';
    On the publisher
    I backup the database & log
    BACKUP DATABASE Zaragoza TO DISK = 'E:\Backup\Zaragoza_FULL.bkp' WITH INIT, STATS=5;
    BACKUP LOG Zaragoza TO DISK = 'E:\Backup\Zaragoza_LOG.bkp' WITH INIT, STATS=5;
    On the subscriber
    Copy the backups from the publisher
    CD /D E:\Backup
    COPY /Y \\NS-LAB-DB-38-mirror\Backup\Zaragoza_FULL.bkp .
    COPY /Y \\NS-LAB-DB-38-mirror\Backup\Zaragoza_LOG.bkp .
    On the subscriber
    Restore the database and log backups
    USE [master]
    GO
    RESTORE DATABASE Zaragoza_Sub
    FROM DISK = 'E:\Backup\Zaragoza_FULL.bkp'
    WITH NORECOVERY, REPLACE, STATS=5,
    MOVE 'Zaragoza' TO 'I:\mssql_repl\Zaragoza_Sub\Zaragoza_Sub.mdf',
    MOVE 'Zaragoza_log' TO 'I:\mssql_repl\Zaragoza_Sub\Zaragoza_Sub_log.ldf';
    GO
    RESTORE LOG Zaragoza_Sub
    FROM DISK = 'E:\Backup\Zaragoza_LOG.bkp'
    WITH RECOVERY, STATS=25;
    GO
    On the subscriber
    Remove all triggers since I noticed that they interfered with the replication SPs
    USE Zaragoza_Sub;
    DECLARE @Trigger nvarchar(100),
    @SQL nvarchar(2000);
    DECLARE curTriggers CURSOR
    LOCAL FAST_FORWARD FOR
    SELECT DISTINCT tr.name TriggerName--, te.type_desc TriggerType, ob.name TableName, tr.is_disabled, c.text
    FROM sys.triggers tr INNER JOIN
    sys.trigger_events te ON tr.object_id = te.object_id INNER JOIN
    sys.objects ob ON tr.parent_id = ob.object_id;
    OPEN curTriggers;
    FETCH NEXT FROM curTriggers INTO @Trigger;
    WHILE @@FETCH_STATUS = 0
    BEGIN
    SELECT @SQL = 'DROP TRIGGER dbo.' + @Trigger + ';';
    EXEC sp_executesql @SQL;
    FETCH NEXT FROM curTriggers INTO @Trigger;
    END;
    CLOSE curTriggers;
    DEALLOCATE curTriggers;
    On the publisher
    Add the subscription and the push agent
    -----------------BEGIN: Script to be run at Publisher 'NS-LAB-DB-38'-----------------
    use [Zaragoza]
    exec sp_addsubscription @publication = N'Zaragoza_Full',
    @subscriber = N'NS-LAB-DB-40',
    @destination_db = N'Zaragoza_Sub',
    @subscription_type = N'Push',
    @sync_type = N'initialize with backup', --@sync_type = N'replication support only',
    @status = N'active', -- ADD this line
    @article = N'all',
    @update_mode = N'read only',
    @subscriber_type = 0,
    @backupdevicetype=N'disk',
    @backupdevicename=N'E:\backup\Zaragoza_LOG.bkp';
    exec sp_addpushsubscription_agent @publication = N'Zaragoza_Full',
    @subscriber = N'NS-LAB-DB-40',
    @subscriber_db = N'Zaragoza_Sub',
    @job_login = N'NS-LAB-DB-40\SqlServiceUser',
    @job_password = N'********', -- Modify Here
    @subscriber_security_mode = 1,
    @frequency_type = 64,
    @frequency_interval = 0,
    @frequency_relative_interval = 0,
    @frequency_recurrence_factor = 0,
    @frequency_subday = 0,
    @frequency_subday_interval = 0,
    @active_start_time_of_day = 0,
    @active_end_time_of_day = 235959,
    @active_start_date = 20140618,
    @active_end_date = 99991231,
    @enabled_for_syncmgr = N'False',
    @dts_package_location = N'Distributor';
    GO
    -----------------END: Script to be run at Publisher 'NS-LAB-DB-38'-----------------
    The worst part is that this is only a LAB system, when I apply this to Live I will have to deal with a 24/7 environment with 10,000+ transactions a day, so downtime is a total No-No.
    If you are missing any details do not hesitate to ask, I will gladly provide all the details I have.
    Have a great day
    DS

    Hi Ashwin,
    I have tried a few things these last couple of days and here's where I'm at.
    I looked through the publisher database for the missing row so I could just copy it over but the row was nowhere to be found. After talking to the developers I found out that the table in question has a clean-up job that deletes records when they are finished
    - OK, no problem, the replication should take care of that.
    When I then look at the trace from the Distributor I find a bunch of records where the ID of the missing row is used. However, I find it peculiar that the replication first does updates to a record, then deletes it only to continue doing updates afterwards.
    A sample from the Trace will explain better:
    The SPs are
    sp_MSupd_dboMessageDialog => This SP tries to do the failing UPDATE on the table, the second to last parameter is the RowId in the table (1075152)
    sp_MSdel_dboMessageDialog => This SP tries to DELETE from the table, the only parameter is the RowId in the table (1075152)
    There is one other SP in the replication of this article (table) and it is called sp_MSins_dboMessageDialog and it should be used for inserting records into the table. However it is never called.
    RowNumber
    EventClassName
    TextData
    EventSequence
    StartTime
    EndTime
    2899078
    RPC:Starting
    exec [sp_MSupd_dboMessageDialog] default,default,default,default,0,default,'2014-08-13 12:10:56.503',1075152,0x50
    74255940
    2014-08-13 14:22:15.763
    NULL
    2899372
    SP:Starting
    exec [sp_MSupd_dboMessageDialog] default,default,default,default,0,default,'2014-08-13 12:10:56.503',1075152,0x50
    74256234
    2014-08-13 14:22:16.270
    NULL
    2899446
    SP:Completed
    exec [sp_MSupd_dboMessageDialog] default,default,default,default,0,default,'2014-08-13 12:10:56.503',1075152,0x50
    74256312
    2014-08-13 14:22:16.270
    2014-08-13 14:22:17.923
    2899447
    RPC:Completed
    exec [sp_MSupd_dboMessageDialog] default,default,default,default,0,default,'2014-08-13 12:10:56.503',1075152,0x50
    74256313
    2014-08-13 14:22:15.763
    2014-08-13 14:22:17.923
    2899462
    RPC:Starting
    exec [sp_MSdel_dboMessageDialog] 1075152
    74256328
    2014-08-13 14:22:17.927
    NULL
    2899558
    SP:Starting
    exec [sp_MSdel_dboMessageDialog] 1075152
    74256420
    2014-08-13 14:22:17.940
    NULL
    2899606
    SP:Completed
    exec [sp_MSdel_dboMessageDialog] 1075152
    74256468
    2014-08-13 14:22:17.940
    2014-08-13 14:22:17.940
    2899607
    RPC:Completed
    exec [sp_MSdel_dboMessageDialog] 1075152
    74256469
    2014-08-13 14:22:17.927
    2014-08-13 14:22:17.940
    2915054
    RPC:Starting
    exec [sp_MSupd_dboMessageDialog] default,default,default,default,0,default,'2014-08-13 12:10:56.503',1075152,0x50
    74272198
    2014-08-13 14:22:56.577
    NULL
    2915118
    SP:Starting
    exec [sp_MSupd_dboMessageDialog] default,default,default,default,0,default,'2014-08-13 12:10:56.503',1075152,0x50
    74272262
    2014-08-13 14:22:56.587
    NULL
    2915353
    SP:Completed
    exec [sp_MSupd_dboMessageDialog] default,default,default,default,0,default,'2014-08-13 12:10:56.503',1075152,0x50
    74272497
    2014-08-13 14:22:56.587
    2014-08-13 14:22:56.597
    2915354
    RPC:Completed
    exec [sp_MSupd_dboMessageDialog] default,default,default,default,0,default,'2014-08-13 12:10:56.503',1075152,0x50
    74272498
    2014-08-13 14:22:56.577
    2014-08-13 14:22:56.597
    2994616
    RPC:Starting
    exec [sp_MSupd_dboMessageDialog] default,default,default,default,0,default,'2014-08-13 12:10:56.503',1075152,0x50
    74352996
    2014-08-13 14:26:13.227
    NULL
    2994701
    SP:Starting
    exec [sp_MSupd_dboMessageDialog] default,default,default,default,0,default,'2014-08-13 12:10:56.503',1075152,0x50
    74353159
    2014-08-13 14:26:13.647
    NULL
    2994749
    SP:Completed
    exec [sp_MSupd_dboMessageDialog] default,default,default,default,0,default,'2014-08-13 12:10:56.503',1075152,0x50
    74353266
    2014-08-13 14:26:13.647
    2014-08-13 14:26:13.647
    2994750
    RPC:Completed
    exec [sp_MSupd_dboMessageDialog] default,default,default,default,0,default,'2014-08-13 12:10:56.503',1075152,0x50
    74353267
    2014-08-13 14:26:13.227
    2014-08-13 14:26:15.163
    2995292
    RPC:Starting
    exec [sp_MSdel_dboMessageDialog] 1075152
    74353810
    2014-08-13 14:26:15.240
    NULL
    2995331
    SP:Starting
    exec [sp_MSdel_dboMessageDialog] 1075152
    74353849
    2014-08-13 14:26:15.250
    NULL
    2995389
    SP:Completed
    exec [sp_MSdel_dboMessageDialog] 1075152
    74353911
    2014-08-13 14:26:15.250
    2014-08-13 14:26:15.603
    2995390
    RPC:Completed
    exec [sp_MSdel_dboMessageDialog] 1075152
    74353912
    2014-08-13 14:26:15.240
    2014-08-13 14:26:15.603
    3000727
    RPC:Starting
    exec [sp_MSupd_dboMessageDialog] default,default,default,default,0,default,'2014-08-13 12:10:56.503',1075152,0x50
    74359306
    2014-08-13 14:26:29.413
    NULL
    3000795
    SP:Starting
    exec [sp_MSupd_dboMessageDialog] default,default,default,default,0,default,'2014-08-13 12:10:56.503',1075152,0x50
    74359374
    2014-08-13 14:26:29.423
    NULL
    3000843
    SP:Completed
    exec [sp_MSupd_dboMessageDialog] default,default,default,default,0,default,'2014-08-13 12:10:56.503',1075152,0x50
    74359422
    2014-08-13 14:26:29.423
    2014-08-13 14:26:29.427
    3000844
    RPC:Completed
    exec [sp_MSupd_dboMessageDialog] default,default,default,default,0,default,'2014-08-13 12:10:56.503',1075152,0x50
    74359423
    2014-08-13 14:26:29.413
    2014-08-13 14:26:29.427
    3081879
    RPC:Starting
    exec [sp_MSupd_dboMessageDialog] default,default,default,default,0,default,'2014-08-13 12:10:56.503',1075152,0x50
    74441576
    2014-08-13 14:29:56.223
    NULL
    3082017
    SP:Starting
    exec [sp_MSupd_dboMessageDialog] default,default,default,default,0,default,'2014-08-13 12:10:56.503',1075152,0x50
    74441868
    2014-08-13 14:29:58.060
    NULL
    3082209
    SP:Completed
    exec [sp_MSupd_dboMessageDialog] default,default,default,default,0,default,'2014-08-13 12:10:56.503',1075152,0x50
    74442059
    2014-08-13 14:29:58.060
    2014-08-13 14:29:58.067
    3082210
    RPC:Completed
    exec [sp_MSupd_dboMessageDialog] default,default,default,default,0,default,'2014-08-13 12:10:56.503',1075152,0x50
    74442060
    2014-08-13 14:29:56.223
    2014-08-13 14:29:58.070
    3082470
    RPC:Starting
    exec [sp_MSdel_dboMessageDialog] 1075152
    74442320
    2014-08-13 14:29:58.097
    NULL
    3082471
    SP:Starting
    exec [sp_MSdel_dboMessageDialog] 1075152
    74442321
    2014-08-13 14:29:58.100
    NULL
    3082519
    SP:Completed
    exec [sp_MSdel_dboMessageDialog] 1075152
    74442369
    2014-08-13 14:29:58.100
    2014-08-13 14:29:58.100
    3082520
    RPC:Completed
    exec [sp_MSdel_dboMessageDialog] 1075152
    74442378
    2014-08-13 14:29:58.097
    2014-08-13 14:29:58.400
    3090751
    RPC:Starting
    exec [sp_MSupd_dboMessageDialog] default,default,default,default,0,default,'2014-08-13 12:10:56.503',1075152,0x50
    74450665
    2014-08-13 14:30:17.940
    NULL
    3090796
    SP:Starting
    exec [sp_MSupd_dboMessageDialog] default,default,default,default,0,default,'2014-08-13 12:10:56.503',1075152,0x50
    74450712
    2014-08-13 14:30:17.953
    NULL
    3090844
    SP:Completed
    exec [sp_MSupd_dboMessageDialog] default,default,default,default,0,default,'2014-08-13 12:10:56.503',1075152,0x50
    74450760
    2014-08-13 14:30:17.953
    2014-08-13 14:30:17.957
    3090845
    RPC:Completed
    exec [sp_MSupd_dboMessageDialog] default,default,default,default,0,default,'2014-08-13 12:10:56.503',1075152,0x50
    74450761
    2014-08-13 14:30:17.940
    2014-08-13 14:30:17.953
    Correct me if I'm wrong but this seems a bit weird. Why don't I see any INSERT to create the row again after the DELETE?
    For the time being, and since this is a test system, I added the parameter "-SkipErrors 20598" to the Distribution Agent and restarted the agent. The replication started by skipping 20 records with that error and then continuing to work fine, as
    suspected. I will have to verify with the developers and testers to see if all the data is still available.
    Hopefully you will have some great insight into this matter and be able to explain what is happening.
    Cheers!
    DS

Maybe you are looking for

  • "the line is busy now" over 6 hours

    I have bouht a Germany Skype Number today, and transfer it to my phone. But my friends call my skype number, noted always  "the line is busy now". I check my privacy settings. It is all ok, as https://support.skype.com/en/faq/FA10615/why-am-i-not-rec

  • Report Painter Tcode

    Hi, We are in the process of archiving some report painter reports, The Tcode was created in the Dev system  and moved to QA, but the archived program was directly created in the QA system, Now when we run the program thru SE38, we get the execute bu

  • Rendering issue - explained

    Hi, I have developed a PDF form to collect details from users. the form works as expected. I rendered the file and tried giving some inputs and saving the file. once i hit the save button, i observe the display settings are not working as expected. f

  • AS connection error ORA - 03114 to Oracle

    Hi all Since 2 days we are facing an issue with our application server. B Wed Apr 30 07:23:53 2008 B  ***LOG BV4=> reconnect state is set for the work process [dblink#2 @ 1772] [dblink  1772 ] B  ***LOG BYY=> work process left reconnect status [dblin

  • Genius Bar damage macbook

    I took my macbook to the genius bar a few days ago and as it returned I noticed deep scratches by my trackpad.  How do I go about replacing this?  I certainly dont want to pay for apples mistakes and I know it was them because I didnt use the macbook