on 09-13-2013 12:58 PM
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
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.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Chinna,
I think you can achieve this without using BPM. You can easily pick the PDF files based on invoice number by using lookups or udf.
To generate PDF
To pick the PDF file
http://scn.sap.com/thread/1869531
https://scn.sap.com/thread/2115994
Refer below links
http://wiki.scn.sap.com/wiki/display/XI/Split+Mapping+using+UDF
http://wiki.scn.sap.com/wiki/display/XI/How+to+split+message+using+ABAP+mapping
http://help.sap.com/saphelp_nw73ehp1/helpdata/en/18/fa87311cea41e49dc9d931a3b67703/content.htm
Regards
Bhargava krishna
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
80 | |
9 | |
9 | |
7 | |
7 | |
7 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.