on 12-04-2013 3:06 PM
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
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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').
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Srihari,
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...
Regards,
Boris
Hi Srihari,
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...
Best regards,
Boris
Hello Boris,
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
Best Regards,
Srihari
Hi Srihari,
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.
That's all...
Regards,
Boris
User | Count |
---|---|
84 | |
24 | |
11 | |
9 | |
7 | |
6 | |
5 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.