cancel
Showing results for 
Search instead for 
Did you mean: 

Creating two files (Idoc -> File scenario) with two different names on target side in sap pi 7.3.1

Former Member
0 Kudos

Hi All,

I have a scenario Idoc -> File. If the incoming value of the fields PARVW and LIFNR are WE and DC14 then it will create a PO. Else if the vales are LF and DC14 then it will create STO. The mapping and UDF for the same is as follows:

Now my requirement is... irrespective of the incoming values(without any validation for the two fields mentioned above) i have to create a PO and STO for the same data(2 files with different names) and route PO to receiver1 and STO to other receiver2.

So please share your views on the same.

Regards,

Koti Atla

Accepted Solutions (0)

Answers (1)

Answers (1)

manoj_khavatkopp
Active Contributor
0 Kudos

Did you try maintaining  2 inbound interfaces in interface determination and keep 2 different mappign generate the required filename through Dynamic UDf and mention 2 Seperate channels.

And nice Screenshots