Skip to Content
0

XML to TXT conversion using message transform bean in JMS receiver channel

Feb 02 at 04:17 PM

54

avatar image

Hi Experts,

My requirement is the input XML contains 6 fields for each record with hierarchy level 1.

Input:

Output text file should contain values in fixed lengths:

So the first value in XML should be present b/w 1 to 6th positions , second field value in between 7th & 26th position and so on as explained in above table.

Can I generate text file by fixing lengths for each field value in Message transform bean module if so what all parameters are required to be used to generate file with above content, kindly guide me.

Thanks,

Ramu.

capture.jpg (52.1 kB)
capture1.jpg (24.2 kB)
10 |10000 characters needed characters left characters exceeded
* Please Login or Register to Answer, Follow or Comment.

2 Answers

Evgeniy Kolmakov Jun 04 at 03:04 PM
0
Share
10 |10000 characters needed characters left characters exceeded
Peter Karg Jun 05 at 06:03 AM
0

Hi Ramu,

if you have the B2B-addon you can use the plainconvertermodule also, but you have to create the plain file structure in the B2B addon:

https://blogs.sap.com/2016/09/01/xml-to-plain-end-to-end-configuration-in-b2b-cockpit/

Regards
Peter


Share
10 |10000 characters needed characters left characters exceeded