Skip to Content
Feb 05, 2021 at 10:36 AM

string to spool


Good day

I have a requirement to merge multiple XML files from the spool into one XML file.

I managed to get all the files merge into a string but I am unable to write the string to the spool.

The function modules RSPO_SR_WRITE and RSPO_SR_TABLE_WRITE dumps when i enter a string value so I convert string to TEXT but the text gets cut off at 255 characters which cuts off the tags which leads to a format error whilst trying to print.

Any suggestions as to how I can write a string to the spool?