8 Replies Latest reply: Jan 6, 2014 7:23 PM by Boris Todorov RSS

Replication of Custom MDG entity - Delta only

Boris Todorov
Currently Being Moderated


Dear Experts,

 

I'm trying to find a solution for replicating a Custom MDG entity delta records only.

Using DRFOUT, when I use my filter, I'm able to replicate all active records using my Replication model (type RFC).

 

My question is, can I use the Replication mode: Changes (the one that identifies the changed records based on Change Pointers) and replicate only the newlly activated records?

 

Also any other ideas on how to replicate the delta are welcome.

 

Thanks in advance,

Boris

  • Re: Replication of Custom MDG entity - Delta only
    Srihari Mandapati
    Currently Being Moderated

    Hello Boris,

     

    I'm also trying to replicate data using type RFC, however we are getting ABAP dump showing issue with the system generated RFC.

     

    I followed the SAP guide "How to Configure Data Replication for MDG Custom Objects (Flex Option)"

     

    Any directions how did you try to replicate the data please.

     

     

    Regards,

    Srihari

     

    ABAP Dump:

     

    Category               ABAP Programming Error

    Runtime Errors         OBJECTS_OBJREF_NOT_ASSIGNED_NO

    Except.                CX_SY_REF_IS_INITIAL

    ABAP Program           CL_MDG_OIF_DRF_OUTBOUND_IMPL==CP

    Application Component  CA-MDG-RIF

    Date and Time          09.12.2013 23:12:36

     

     

     

     

     

     

    Short Text

         Access using a 'ZERO' object reference is not possible.

     

     

     

     

     

     

    What happened?

         Error in the ABAP Application Program

     

     

         The current ABAP program "CL_MDG_OIF_DRF_OUTBOUND_IMPL==CP" had to be

          terminated because it has

         come across a statement that unfortunately cannot be executed.

     

     

     

     

     

     

    Error analysis

         An exception has occurred which is explained in more detail below. The

         exception is assigned to class 'CX_SY_REF_IS_INITIAL' and was not caught in

          procedure

         "FILL_DATA_IN_RECURSION" "(METHOD)", nor was it propagated by a RAISING clause.

         Since the caller of the procedure could not have anticipated this

         exception, the current program was terminated.

         The reason for the exception is:

         You are trying to access a component with a 'ZERO' object reference

         (points to 'nothing').

  • Re: Replication of Custom MDG entity - Delta only
    Kiran Bapat
    Currently Being Moderated

    Hello Boris

     

    To replicate delta - there is a config step in the replication model. Go to define outbound implementation - Assign outbound parameter - add SEND_DELTA_INFO as outbound parameter with value as Y. This will ensure that you are sending only delta records.

     

    Kiran

Actions