What is the neetest way to create a SAP-SAP interface?
For a customer I have to realise a SAP CRM -> SAP link and vice versa via XI. For me this is the first time to realise such an interface, my idea is to do it like this:
1) create a function to extract the data from SAP CRM, via abap-proxy to XI and then again via abap-proxy to receiving SAP-system. But then how do I trigger starting this extract-function? Via batchjob?
2) create a download-program that selects the data from SAP-CRM, creates a file and stores in specific folder. XI polls on this folder, reads it in and communicates via abap-proxy to SAP2. For selecting the CRM data a a batchjob will be created that starts the abap to select the data.
But..is this the way to do it? Or is there a nicer way?
Any suggestions are welcome
Thanks and regards
SAP PI replied
Option 1 using SPROXY - abap proxy from SAP to CRM is to be used in ur case.
U r having case of client and server proxy both :
SAP to CRM
In case of a client proxy you need to create a report in SE37 and call the method in it. logic will be in the report i.e to select the data from table.
CRM to SAP
In case of server proxy the logic is written in the method that is generated during proxy creation.
hence once the file is triggered it will atomatically trigger the proxy and the tables will be updated.