cancel
Showing results for 
Search instead for 
Did you mean: 

extended Interface Determination in PI7.1

rajasekhar_reddy14
Active Contributor
0 Kudos

Hi Frnds,

\

I am working on JMS to IDOC scenario, i have to split JMS message in to 3 idocs based on condition.

3 IDOCS are difierentm i used 1:n multi mapping .

But my question is how many receiver communication chanels i have create, ??

i am unable to find Extended Interfaces determination option in ID,

help me on this.

Regards,

Raj

Accepted Solutions (1)

Accepted Solutions (1)

MichalKrawczyk
Active Contributor
0 Kudos

hi,

>>>3 IDOCS are difierentm i used 1:n multi mapping .

you cannot use multi mapping is the receiver adapter is not based on java (so IDOC adapter will not work)

if you want to do 1:3 mapping then you can do it without any extended determination

just create 3 receivers and assign correct mappings

if this is one receiver with three IDOCs then you can add 3 mappings in interface determination

Regards,

Michal Krawczyk

rajasekhar_reddy14
Active Contributor
0 Kudos

Hi Michal.

Thanks for your replay,

I am working on JMS to IDOC scenario, first level mapping I am using XSLT,it will transform the JMS message and it generates 1 0r 2 or 3 IDOC based on JMS message.

Then i have to send this IDOCS to SAP, before that I have to check the conditions, I did condition check in message mapping.

As per your replay itu2019s not possible to use Multimapping, then how can I achieve this.

Regards,

raj

MichalKrawczyk
Active Contributor
0 Kudos

Hi,

>>>I am working on JMS to IDOC scenario, first level mapping I am using XSLT,it will transform the JMS message and it generates 1 0r 2 or 3 IDOC based on JMS message.

Then i have to send this IDOCS to SAP, before that I have to check the conditions, I did condition check in message mapping.

1. with BPM - you can have as many transformations (mappings) as you want - so easy to it with a BPM

2. without a BPM - change XSLT mapping to create one message at a time (1st ,2nd or 3rd)

then add three mappings in interface determination

>> I did condition check in message mapping.

I don't know what you want to do with it so hard to say how to implement it

Regards,

Michal Krawczyk

rajasekhar_reddy14
Active Contributor
0 Kudos

Hi Michal,

xslt mapping genaartes one message ,but this contains 3 IDOCS or 2 or 1.(Order Create , Order Change and Order Response)

1)f PORDCR1 segment exists (new PO), first check SAP to see if PO does actually exist using RFC Z_BBPR46_GET_PO_FROM_FPA ,If it does not exist, pass Order Create idoc to SAP to create new purchase order

If it does exist, retrieve PO details from RFC and pass Order Change idoc to SAP to update existing purchase order

2)If Order Change segment exists (change PO), retrieve PO details using RFC Z_BBPR46_GET_PO_FROM_FPA and pass Order Change idoc to SAP to update existing purchase order

3)If Order Response segment exists (goods movement), retrieve PO details using RFC Z_BBPR46_GET_PO_FROM_FPA and pass Order Response idoc to SAP to create goods movement.

Above logic i implemented in one mesage mapping Source is XSLT Mapping Output and Receiver message in message mapping is Multimapping selected 3 IDOCS.

Regards,

Raj

Answers (1)

Answers (1)

rajasekhar_reddy14
Active Contributor
0 Kudos

thanks