Skip to Content
avatar image
Former Member

BPM

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>

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

2 Answers

  • Mar 07, 2011 at 07:58 PM

    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

    Add comment
    10|10000 characters needed characters exceeded

    • Former Member

      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

  • Mar 08, 2011 at 06:03 AM

    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

    Add comment
    10|10000 characters needed characters exceeded

    • Former Member Former Member

      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