cancel
Showing results for 
Search instead for 
Did you mean: 

steps required for two way interface

Former Member
0 Kudos

Hi

i have a scenario SAP seneds Transfer order (Idoc) to external systems via XI middleware, then external system confirm and send the XML file to SAP system visa XI.

i roughly know that i have to use File and IDOC adpaters.but i dont know what are the actual steps

mean how many message interfaces required how may sender and reciver agrrement required

could you please berifely explain the end to end scenarios to design the interface

please dont send me the URL or blogs i already gone through them please explain the scenario as per the my requirement

regards

neelu

Accepted Solutions (0)

Answers (3)

Answers (3)

Former Member
0 Kudos

Hi,

the scenario depends on the external system...

if your external system is file system then you need to configure two scenarios............IDOC to FILE and FILE to IDOC.......

if your externam system supports synchronous way of communication then you can go with BPM Sync Async scenario........

for file to idoc.......

https://forums.sdn.sap.com/click.jspa?searchID=131889&messageID=884609

https://forums.sdn.sap.com/click.jspa?searchID=131889&messageID=2081240

https://forums.sdn.sap.com/click.jspa?searchID=131889&messageID=2436376

https://forums.sdn.sap.com/click.jspa?searchID=131889&messageID=921672

for idoc to file............

https://www.sdn.sap.com/irj/sdn/wiki?path=/display/xi/step%2bby%2bstep%2bprocedure%2bof%2bidoc%2bto%...

https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/e07dcaa0-a92b-2a10-3a96-b3d942bd...

Reward points if this is helpful

thanks,

Madhu

Edited by: Madhu sudhan Reddy on Jul 19, 2008 7:33 AM

Former Member
0 Kudos

Hi,

The steps explained seem good. But both have 2 receive steps and hence might need a co-relation to be established. So if the confirmation is sent immediately by the target system then u can use a send synchronous step. You can use the following scenario.

1) Receive Step (Asynchronous) - Idoc is received here

Message Interface - IDoc defined as abstract interface

2) Send Step ( Synchronous) - Send the Idoc and get teh confirmation.

Message Interface - Synchronous Abstract Interface - Request - Idoc Response - The message to be sent back to SAP. Apart from this, you need to have the abstract interfaces of the Request and Response messages.Please note: Since the request idoc has an abstract MI created for the receive step, you dont have to create it again.

3) Send Step ( Asynchronous) - Send the response message back to SAP.

Message Interface- Abstract interface created in the send step for the response message

Hope this helps.

Thanks,

Geetha

Former Member
0 Kudos

Hi Neeru,

You have to use BPM Sync Async bridge to obtain the same. The steps involve din BPM will be

1. Receive Step: Asynchronously receive IDOC from SAP System.

2. Transform to the desired target structure.

3. Send target structure generated synchronously to the target System and get back the response

4. Send the response asynchronously back to SAP System.

I hope the steps are clear. Can you please tell the communications modes/protocol while sending the data to external system.

Thanks

Amit

Former Member
0 Kudos

Yes, U can find some sample designs in SDN.

And the Design depends on the "External system confirm and Sends back the XML file". If its too shot time U can design BPM with minimum wait time. if the time intervel is too high, better go for 2 nd interface (Seperate interface for response XML file - no need of BPM).

Complexity of BPM depends on the Error Handling also.

Sample steps in BPM:

1) Receive Step: (Receive New Transfer order from SAP)

Message: Transfer_order_1 (Give the appropriate message type)

Start Process: Click on the check box

Mode: Asynchronous

Activate correlation: if applicable

Transfer_order_Number:

2) Send Step: (Send Transfer order to External system)

Mode: Asynchronous

Create New transaction: Do not Click on the check box

Message: Transfer_order_1 (Give the appropriate message type)

Acknowledgement: none

received from : Send Contect

3) Receive Step: (receive XML file from External system)

Message: XML_Response_ABS

4) Send Step: (Send XML Response file to SAP R/3)

Mode: Asynchronous

Create New transaction: Do not Click on the check box

Message: XML_Response_ABS (Give the appropriate message type)

Acknowledgement: none

received from : Send Contect

These are basic steps, depends on your requirement(Error Handling or response time limitations) the design may change.

The ID Configuration is same...

Receiver determination:

1) Service_is_Sender_SAP - Transfer_Ord IDoc (Party is optional)

2) Service_is_IP - Interface_is_XML_request_abs

3) Service_is_IP - Interface_is_XML_response_abs

4) Service_is_SAP - Interface_is_XML_response_File

Same as Interface determination....