on 12-19-2017 8:37 AM
Hi Experts
I have a requirement where i will be getting below fields from the ECC proxy
Header 1..1
refnumber
Invoices 1..Unbounded
duedate
productcode
productimagefilename
Images 1..Unbounded
productimage
I have to create a txt or csv file from invoices fields and productimage(1...Unbounded) are Base64 encoded images that i need to decode in binary and then save both file and images in an SFTP folder.
What should be the approach for this...mapping level UDF for Base 64 decoding or base 64 decoder i can use from HCI pallate
Regards
naina
Hello Naina,
Below should work.
Have parallel multicast branch and in the first create invoice field data ( CSV or txt) with all the necessary transformation.
In the second branch have a mapping to extract only productimage field and create one record per productimage and then use a splitter followed by decoder before sending one by one image to SFTP server.
Regards,
Sriprasad Shivaram Bhat
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello Naina,
If you are getting Base64 encoded data of Image1.png from source then it will create Image1.png photo in your SFTP folder.
Regards,
Sriprasad Shivaram Bhat
User | Count |
---|---|
90 | |
10 | |
10 | |
10 | |
7 | |
7 | |
6 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.