|Home • Trainings • Quiz • Tips • Tutorials • Functional • Cert Q's • Interview Q's • Jobs • Testimonials • Advertise • Contact Us|
XI - Inter Company Stock Transfer Order between 2 SAP systems achieved by designing a BPM
By Venkata Narayana Marella, YASH PI Competency Core Team, Yash Technologies
Company Stock Transfer Order between 2 SAP systems achieved by designing a BPM
a Purchase Order in the System A is created, then the output type NEU is
triggered to generate the IDOC and Post it to System B.
In System B, Sales Order is created for Corresponding
Purchase Order in System B. As this Sales Order is rush order, it would create
delivery automatically and would then generate another IDOC and send back to
settings would be required in R/3 (Business system) before sending to other
Purchase Order to Sales Order:
Map the customer number, Customer
material, Sales organization, Distribution channel and division in the
enhancement EXIT_SAPLVEDA_001 in source system and to pass the PO number in
delivery note IDOC the exit EXIT_SAPLV56K_002 in target system are used, below
are the segments used to map the required data.
E1EDK14 – Sale area
E1EDP01 – Item data
E1EDK02 – Purchase
order and date
E1EDP19 – Material
This is achieved by designing BPM in XI and following steps illustrate how to achieve it.
process is an aggregation of operations performed by people and software systems
containing the information used in the process, along with the applicable
exercise we will be able to model a 'Sync/Asyn' pattern using BPM and apply it
to IDOC communication.
The requirement is to receive the PO from system A and send
it to System B in synchronous mode. And receive the Delivery notification from
System B and send it back to the System A as response using the BPM Sync/Async.
Communication between a synchronous
and an asynchronous business system:
process management “IP_STO_PO_OR_Sync_Async”
Create correlation object ‘ID’ with the messages
MI_DEL_ABS, MI_PO_ABS with the fields /ORDERS05/IDOC/E1EDK01/BELNR from PO and
/DELVRY03/IDOC/E1EDL20/XABLN from Delivery.
Switch to the Graphical design editor and design the BPM by
dragging the required steps and filling the properties.
You can only define one sync/async bridge per integration
Synchronous receive (Opening Receive): Receives the Request
message from the synchronous business system and opens the sync/async bridge.
The receive step must be the first in the IP. In the receive step you specify
the synchronous interface receiving the message from the synchronous business
system. The IP is started when the message is received. The message type of the
message to be received and the request message from the synchronous interface
must be identical.
This step receives the PO IDOC and opens the bridge. Give the
properties as shown below:
Asynchronous Send: Sends the received request message
asynchronously to the asynchronous business system.
step: This step sends the received PO IDOC asynchronously and uses the
Asynchronous Receive: Receives the response message from the
synchronous business system.
Receive step: This step receives the Delivery IDOC
asynchronously by using the correlation.
Synchronous Send: Sends the response message from the
asynchronous business system synchronously to the synchronous business system
and closed the Sync/asynch Bridge.
Block Step: This
is required to define the exception and handle the exception. Here exception is
required as Synchronous Receive message (PO) is different from the Synchronous
Send Message (delivery).
Handler: This is required to catch the exceptions
IDOC in the Exception block
Please send us your feedback/suggestions at webmaster@SAPTechnical.COM
©2006-2007 SAPTechnical.COM. All rights reserved.
product names are trademarks of their respective companies. SAPTechnical.COM
is in no way affiliated with SAP AG.
Graphic Design by Round the Bend Wizards