cancel
Showing results for 
Search instead for 
Did you mean: 

File to Idocs using BPM

Former Member
0 Kudos

Hi,

Current Interface Flow - File (xml) to Idoc (single Idoc type)

Thirdparty sends a File for Goods Receipt. This file may have multiple orders.

Orders are sorted in an xslt by ORDNUM. Each record has a delivery type (Deliver Type PO or Delivery Type STO). For each order Graphical Message mapping occurs.

In case of PO, inbound delivery number and item number have to be received from ECC via an RFC call and passed to VBELN and POSNR. While in case of STO, source field ORDNUM and ORDITEM are passed to VBELN and POSNR. (RFC call happens only for POs, not for STOs)

In case of STO, TCode will be MB0A.and IDoc would be WMMBXY (As is the case right now)

In case of PO, there may be two cases -

a) There is at least one response from ECC for all the line items inside an order --> in this case TCode will be MB0A and IDoc is WMMBXY .

b) If there is no inbound delivery number for any line item from ECC inside an order --> TCode MB01 will be used and IDoc used is WMMBXY

So for all the above cases Target IDoc is WMMBXY.

Changes to be done - Now File (xml) to Idoc (Two different Idoc types, WMMBXY and DELIVERY03)

Now there is an additional requirement that I will be using an additional IDoc (DELIVERY03) in above case a).

I want to use BPM in this case

1) RFC call in message mapping to get the inbound delivery number (for POs only) (Should be before the message enters BPM)

2) Separating the messages based on IDoc type

3) Interface / Message mapping for each IDoc type

4)Send the message to ECC

Please suggest how to proceed with BPM

Thanks,

Varun

Edited by: Varun Reddy on Feb 4, 2011 4:47 PM

Accepted Solutions (1)

Accepted Solutions (1)

baskar_gopalakrishnan2
Active Contributor
0 Kudos

Hi Varun,

Follow this thread... You have answer for this.

This link gives design ideas for your requirement

/people/sudharshan.aravamudan/blog/2005/12/01/illustration-of-multi-mapping-and-message-split-using-bpm-in-sap-exchange-infrastructure

Follow Bhavesh discussion. It might be helpful too

Answers (1)

Answers (1)

varun_k
Contributor
0 Kudos

first RFC was made in the first mapping, next, multi-mapping was done to split the message before entering bpm. bpm is configured as required.

Edited by: Varun Reddy on Jul 12, 2011 7:49 PM