cancel
Showing results for 
Search instead for 
Did you mean: 

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

ramu_g4
Participant
0 Kudos

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.

Accepted Solutions (0)

Answers (2)

Answers (2)

peter_karg
Explorer
0 Kudos

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


former_member190293
Active Contributor
0 Kudos