cancel
Showing results for 
Search instead for 
Did you mean: 

BPM

Former Member
0 Kudos

Hi,

I am working on an interface where I need to send a file to IDOC and RFC, I want to send PART in the input file to an IDOC and EXCL to an RFC ,can you please help me how to design this scenario using BPM, what steps involved and objects need to be created, thanks

Input file

<?xml version="1.0" encoding="UTF-8"?>

<BATCH version="" sequence="" timestamp="">

<PART mode="">

<PART_NUMBER>abc112</PART_NUMBER>

<CLASS>99</CLASS>

<MATGROUP>FERT</MATGROUP>

<LEGACY_ITEM>BOLT</LEGACY_ITEM>

<BASE_UOM>EAM</BASE_UOM>

<DESCRIPTION lang="">

<SHORT_DESCRIPTION/>

<LONG_DESCRIPTION/>

</DESCRIPTION>

<EXCL>

<EXCL_STATE>CA</EXCL_STATE>

<EXCL_COUNTRY>USA</EXCL_COUNTRY>

<EXCL_TYPE>12</EXCL_TYPE>

<EXCL_MESSAGE>BOLT</EXCL_MESSAGE>

<EXCL_START_DATE>20090101</EXCL_START_DATE>

<EXCL_END_DATE>20100101</EXCL_END_DATE>

</EXCL>

</PART>

</BATCH>

Accepted Solutions (0)

Answers (2)

Answers (2)

anupam_ghosh2
Active Contributor
0 Kudos

Hi,

Here are the steps by which you can achieve File-idoc and file to RFC using a BPM

IR part

1. First design a FCC to convert the file to XML message as per the structure shown by you.

2. Let the first message interface MT1 which serves as receiver of the message in the BPM .

3. Design two Message mapping (IM) one for idoc and other for RFC where source message will be MT1 but target message will be different , TGT1 for idoc and TGT2 for RFC.

3. These interface mappings in step2 will be put in transformation step in BPM. So there will be two transformation steps TR1 and TR2.

4. Two send steps are necessary send1 and send2. In send1 include TR1 as IM and in send2 include tr2 as IM.

5. After receiving the message in first step you can use a fork step with two branches. The first branch will include TR1 and send1 for Idoc and second branch will include TR2 and send2 for RFC.

ID part

1. You need two communication channels one for RFC and other for Idoc and corrosponding adapters

2. Two receiver agreement(BPM-IDOC,BPM-RFC) and one sender agreement(file-BPM)

3. Three receiver determination, file-BPM, BPM-IDOC, BPM- RFC

4. Three interface determination as per step 3.

regards

Anupam

Edited by: anupamsap on Mar 8, 2011 7:19 AM

Former Member
0 Kudos

Thanks Anup, I will try this, my input is an XML file, any other inputs appreciated,

Former Member
0 Kudos

Hi, I need to capture the response from the RFC, may be send it as alerts or send an email, I guess the design will change, please help

baskar_gopalakrishnan2
Active Contributor
0 Kudos

Even though your receiver is idoc that lives in integration engine, you can achieve this without BPM too.

Check this recent blog from Rajasekar Reddy, this might be helpful. In the mapping decide what part to go where...as described here

/people/rajasekhar.reddy14/blog/2011/02/24/multi-mapping-without-bpm-for-idoc-scenarios-yes-it146s-possible

Former Member
0 Kudos

I have read that multi-mapping does not support both idoc and rfc in one scenario, as idoc adapter resides ABAP stack and RFC in java stack.

baskar_gopalakrishnan2
Active Contributor
0 Kudos

If you need BPM way to do it. check this link.. in Integration directory create two receiver determination, two interface determinatio, two comm channels (one for idoc and another for RFC) and two receiver agreement.

http://www.riyaz.net/blog/xipi-1n-multi-mapping-using-bpm/technology/sap/186/

Former Member
0 Kudos

You should have tried Baskar's suggestion since there is no BPM involved in that case.

I did similar scenario without BPM, it is much simpler and easy to implement.

Regards

Liang