on 03-07-2011 7:23 PM
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>
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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/
User | Count |
---|---|
83 | |
10 | |
10 | |
9 | |
7 | |
6 | |
5 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.