cancel
Showing results for 
Search instead for 
Did you mean: 

Same line Item but two differentreceiving IDOCS

Former Member
0 Kudos

Folks

I am new to SAP PI and seeking your help in the following scenario

legacy -> SAP PI -> branched to two idocs in ECC

The scenario is that a fixed length flat file coming from Legacy wil contain some line items but each line will be a separate invoice ..the twist . since it is a financial posting each invoice has to be posted in two different IDOCS which implies that for each line in the file there will be two IDOCS created in ECC

How can i make this happen without BPM ??

I have referred to a blog 1 : n possible in PI without BPM but here it is a combination of 1:n and also splitting of the line and posting it to two IDOCS simultaneously

since the transformation logics are different and so are the segments in both receiving IDOCS i will have to create two mappings but how and where to use them ??

Kindly help

Thanks

Rohan

Accepted Solutions (0)

Answers (2)

Answers (2)

Former Member
0 Kudos

In Same Interface Determination ,call the Interface mapping twice with no condition. I hope this would work.

Former Member
0 Kudos

Guys

Can this be done without BPM ??

The scenario is :

Each line in the file has to be posted in ECC into two diferent IDOCS simultaneously

Can this be done in Receiver Determination ? by specifying two receiver determinatins for each Service Interface or will there be two message Interfaces altogether for diferent mappings

Can anyone please reply

thanks

Rohan

Shabarish_Nair
Active Contributor
0 Kudos

you can use two interface determinations, which will have its corresponding mappings to create out the required IDoc.

former_member200962
Active Contributor
0 Kudos

Since you need to post the data to two different IDOCs you need to have

1) two different SIs

2) two Interface determinations.

3) two receiver agreements......

Regards,

Abhishek.

Former Member
0 Kudos

Ok so i need

in IR

2 different Service Interfaces

2 separate message Mappings since the transformation logics are diferent

2 separate Operations mapping for each

in ID

2 communication channels ie 2 different IDOC receivers

2 Interface determinations and

2 receiver agreements

Right ?

Shabarish_Nair
Active Contributor
0 Kudos

>

> Ok so i need

>

> in IR

>

> 2 different Service Interfaces

> 2 separate message Mappings since the transformation logics are diferent

> 2 separate Operations mapping for each

>

> in ID

>

> 2 communication channels ie 2 different IDOC receivers

> 2 Interface determinations and

> 2 receiver agreements

>

> Right ?

yes except that since IDoc is your target, you dont need to create the SI but use the Idoc itself

Former Member
0 Kudos

Hi

The requirement is actually not of two different IDOCS

but posting two the same IDOC twice ..

ie for each line item coming in the file I have to post two idocs of the same IDOC Type

the file will contain around 500 lines and for each line there will be two idoc postings ofthe same IDOC type ..since it is a Financial posting ... there has to be two postings one for AR and one for AP

Can that be achieved ??

please tell me the steps for that

thanks

Rohan