Application Development Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 

XML Wrapper for Payment File.

Former Member
0 Kudos

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

5 REPLIES 5

Former Member
0 Kudos

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

0 Kudos

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?

0 Kudos

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

0 Kudos

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.

0 Kudos

Thanks...

Any guidelines about how to add the xml signature?

Generating the hash and signature value etc and any configuration?

Pranu