cancel
Showing results for 
Search instead for 
Did you mean: 

Fixed segments length in File using IDOCXmlToFlatConvertor module

Former Member
0 Kudos

Hi,

We need to create fixed length segments with 1063 characters each in flat file generated by the IDOCXmlToFlatConvertor module.

At presents the length of the segments is variable. I believe the module refers the IDO file in R3 system and generate segment lengths accordingly.

It there any approch by which we can create fixed length segments in the generated file.

Regards

Pravesh

Accepted Solutions (1)

Accepted Solutions (1)

anupam_ghosh2
Active Contributor
0 Kudos

Hi Pravesh,

could you please kindly provide a sample input and output.

If I have understood your requirements properly, we can achieve this in mapping itself,separate IDOCXmlToFlatConvertor module may not be required. In mapping we can count 1063 characters in each idoc segment and put it in target message. Then use receiver File content conversion to achieve this. Preferably java mapping will definately meet all requirements.

In case you need further clarification please let me know your source and target output.

regards

Anupam

Former Member
0 Kudos

Hi,

Creating adapter module resolved the problem.

Regards

Pravesh

Answers (0)