01-24-2011 2:57 PM
I have a requirement to create the wrapper for the Payment Run Output File.
Idoc - PAYEXT.
The Idoc file is created successfully.
How do we add the XML Tags at the header and the footer level to this system generated IDOC file?
I am creating the file at the File Port.
Any ideas would be appretiated.
We do not have PI.
Thanks
Pranu
01-25-2011 7:56 PM
Any help guys?
My current file is :
EDI_DC40_U1300000000000095294701 3012 IDCREF01 EUPEXR SAPDE1 LS DE1130
E2IDRH1001 130000000000009529400000100000001000000008715 0000000000000000 IDCREF01 1
E2IDRD1 130000000000009529400000200000002 000000008715000000000009529330
What I want is something similar below:
<Header>
<Sender> </Sender>
<Date> </Date>
<Payment>
EDI_DC40_U1300000000000095294701 3012 IDCREF01 EUPEXR SAPDE1 LS DE1130
E2IDRH1001 130000000000009529400000100000001000000008715 0000000000000000 IDCREF01 1
E2IDRD1 130000000000009529400000200000002 000000008715000000000009529330
</Payment>
</Header>
Edited by: Pranu Pranu on Jan 25, 2011 8:57 PM
01-25-2011 11:02 PM
You could easily do that with a file port and a custom program, then process/send the file as required. You've already got the file port in place, so can't you read the file(s) from the folder and wrap the contents as required?
01-25-2011 11:25 PM
You mean the Z version of RFFOEDI1?
Or a Z program which will read the file and create a XML. This Z program will be scheduled timely?
Thanks for the reply.
Pranu
Edited by: Pranu Pranu on Jan 26, 2011 12:25 AM
01-26-2011 1:34 PM
No, I wouldn't copy RFFOEDI1. Generate the IDOC flat file to the file port as usual. Use a simple Z-program to wrap the data with those tags you displayed, then send the file (or have it picked up) per your process. You would schedule the program according to your requirement, or use an event trigger to start the program.
01-28-2011 5:17 AM
Thanks...
Any guidelines about how to add the xml signature?
Generating the hash and signature value etc and any configuration?
Pranu