cancel
Showing results for 
Search instead for 
Did you mean: 

need help in designing the interface using BPM or with out BPM

Former Member
0 Kudos

Dear All,

File to IDOC interface, in FTP server the IDOC XML and pdf will be placed and PI need to pick the Idoc xml and pdf file and send it to ECC.

i need to pick the IDOC XML first and based on invoice no.i need to pick the pdf file which contain the same invoice no as file name.

how to do this design??, if i opt for BPM i can keep correlation and check the idoc xml and pdf based on invoice number.

but at receiver side how to split these two messages, as i need to post Idoc xml into idoc and pdf into proxy.

Warm Regards,

chinna

Accepted Solutions (0)

Answers (4)

Answers (4)

Shabarish_Nair
Active Contributor
0 Kudos

are the file names same. ex. abc.txt and abc.pdf ?

if so, you can use the additional file option and if using the NFS adapter, pick up both .txt and .pdf files with matching name at one instance and then process them as required.

Former Member
0 Kudos

Hi Chinna,

Yes this can be done without using BPM. Use the below approach

1. Design one sender interface and two receiver interface one for Idoc and other for PDF.

2. Design one sender file adapter and picks up the idoc xml file.

3. Write a java map and inside that perform FTP look up and then read the PDF file with the corresponding invoice number and populate the output structure.

Bhargavakrishna
Active Contributor
0 Kudos
MichalKrawczyk
Active Contributor
0 Kudos

Hi,

>>>>i need to pick the IDOC XML first and based on invoice no.i need to pick the pdf file which contain the same invoice no as file name.

and then what ?

Regards,

Michal Krawczyk