I have this integration scenario from ECC to SAP PI 7.0: when a Purchase Requisition is created by the MRP process, the PR data should be sent automatically to other party through a web service or IDoc.
1) What would be the ideal scenario for this integration, I mean IDoc to SOAP, RFC to SOAP, etc.?
2) When the PR is created in ECC, how can it be pushed automatically to SAP XI/PI?
Between
ECCtoPI:You can use
IDOCs:IDOCsending is asynchronous.A simpler way (less customization) would be to use
RFCcall.As response to comment, here are general instructions for
RFCalternative:SE37.ECCis performed with the syntax:CALL FUNCTION 'your_function_name' DESTINATION 'your_defined_destination'.Between
PIto external system:In
PImapping, after data arrived fromRFC/IDOCcall the webservice (SOAP).In
ECC, identify a creation ofPRfromMRPthrough aBADIlike this. SendIDOC/ Call theRFCinside the BADI you chose.