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,
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.
Category ABAP Programming Error
Runtime Errors OBJECTS_OBJREF_NOT_ASSIGNED_NO
ABAP Program CL_MDG_OIF_DRF_OUTBOUND_IMPL==CP
Application Component CA-MDG-RIF
Date and Time 09.12.2013 23:12:36
Access using a 'ZERO' object reference is not possible.
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.
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
"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').
In your case, I think that after the Function Module was generated, you did not really call the appropriate Remote enabled Function Module. You'll need to get your interface team involved to have the RFC properly enabled on the remote system and also properly called after mapping is done.
In my case, what we did is we enabled a Web Service in PI and created an ABAP proxy. Then we modified our generated function module to call this proxy.
Hope that helps...
What I used for the WS call is the following http://wiki.sdn.sap.com/wiki/display/Snippets/Web+Service+consumer+using+ABAP-PROXY
Once the proxy is in our ECC system and successfully calls the Web Service, I simply integrated it into my MDG generated function module for the outbound interface (based on the following document) http://scn.sap.com/docs/DOC-14918
All you need to do is call the proxy that calls the Web Service after properly assigning (mapping) the fields you have.
I hope that helps...
I opened the link of WS call and could not get any clue. Could you please give some clear steps/ directions how to integrate the Web service with the Wizard generated Function module after configuration of http://scn.sap.com/docs/DOC-14918
Thanks in advance
I believe you need an ABAP person to do that for you. Just send him the first link in my previous post and work with him on generating the proxy for the WS you want to call. Once this is done, the ABAP-er would have to go to the other function modlue that was generated by the configuration you made and call the proxy one after mapping the values properly.