Skip to Content

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

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

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

4 Answers

  • Sep 13, 2013 at 12:42 PM

    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

    Add comment
    10|10000 characters needed characters exceeded

  • Sep 13, 2013 at 12:55 PM
    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Sep 16, 2013 at 11:02 AM

    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.

    Add comment
    10|10000 characters needed characters exceeded

  • Sep 16, 2013 at 05:25 PM

    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.

    Add comment
    10|10000 characters needed characters exceeded