Skip to Content
avatar image
Former Member

BPM - doubt in N:1 mapping of IDOCs

Is there any DETAILED document on Mapping multiple Idocs into a single Idoc package using BPM.My doubt is in the latter part in this process(During Receiver Determination) :

Scenario : CRM->XI->R3

We will download the CREMAS03 and then make changes in the xml so that it can hold multiple IDOCs.

and then we will be collecting the Idocs(say 3 idocs at a time)...that is, appending the IDOCS(CREMAS03) into a multiline container of type CREMAS03.

In the transformation step, the multiline container containing CREMAS03 IDOCs is transformed to IDOC PACKAGE(N:1 Mapping).

In Integration Directory,We will create 2 RECEIVER DETERMINATIONS :

1.CRM->BPM :

-


Receiver Service :BPM Object

Inbound Interface :CREMAS

Interface Mapping :Maps the Outbound interface (vendor_out_interface) to CREMAS(Abstract Asynchronous)

2.BPM->R3 :(I have my doubt here!)

-


Sender Service : CREMAS_COLLECT_PACKAGE(BPM Object)

Outbound Interface : CREMAS_package(Abstract Async, Message is the modified Multi-CREMAS PACKAGE)

Receiver Service : R3

Inbound Interface : CREMAS.CREMAS03

-


Interface Mapping : NONE (WHY is that No Interface mapping is needed ???...Please elaborate)

-


1.HOW will the XI engine MAP the CREMAS_package to CREMAS.CREMAS03 at the end of BPM PROCESS ?

2.In BPM we have Transformed the individual Idocs into a IDOC Package BUT then at BPM->R3 Receiver Determination WHY are we mapping the CREMAS Package into Individual CREMAS Idoc ??

3.Does the R3 receive the IDOCs as a Package OR does it receive it as individual Idocs ?And when we say a Package does it mean it will contain 1 Control record & multiple Data Records(EDID) ??

4.If the R3 receives the IDOCs as a PACKAGE, THEN How does the R3 System separate the Idocs into Individual Idocs ??

Is there any specific configuration in the partner profile at the R3 side to process A IDOC package ??.

5.Also when I compare Posting Function Module IDOC_INPUT_CREDITOR and IDOC_OUTPUT_ORDERS , It seems that IDOC_INPUT_CREDITOR can process multiple Idocs at a time while IDOC_OUTPUT_ORDERS CAN process only ONE IDOC at a time.Am I right ?)

It would be great if someone has the patience to give a detailed reply.Looking forward to the reply !!

Thanks,

Arun.

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

4 Answers

  • Dec 28, 2005 at 04:34 PM

    Search the weblogs by Michael and Sravya.You can use them for countering your problems.

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Dec 29, 2005 at 02:45 PM

    Just have a look over this blog,

    it might help you

    /people/pooja.pandey/blog/2005/07/27/idocs-multiple-types-collection-in-bpm

    Enjoy

    Regards

    Piyush

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Dec 29, 2005 at 03:34 PM

    Hi Arun,

    You dont need a BPM for ur requirement. All you need to do is IDOC Message pacakages. where the IDOC are sent as a single package. here is the link to the page that details on hwo to do idoc packaging.

    http://help.sap.com/saphelp_nw04/helpdata/en/99/2653429392ab53e10000000a1550b0/content.htm

    you also refer to Michals weblog on IDoc pacakaging. But the approach i have jsut mentioned to you is more efficent and the one suggested by SAP. Michel was supposed to write one more weblog describing this approach.

    Cheers,

    Naveen

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Jan 04, 2006 at 12:17 PM

    Hi Arun,

    In your BPM you have the transformation which contains the mapping. so your mapping between CREMAS_package to CREMAS.CREMAS03 is performed there. interface mapping is required only when you don't use BPM. the mapping is completed in the BPM, hence interface mapping is not needed.

    In your R3 the Idoc is a package coz it has crossed the BPM where the mapping is being done.so i output is a single package containing all the idocs clubbed together. so when it is single package you require only one idoc for mapping.

    Add comment
    10|10000 characters needed characters exceeded