Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

Prevent SAP from Truncating White Space in Extract Files

Hi

When I create an output file using OPEN DATASET and TRANSFER, SAP removes any trailing spaces from the record during the TRANSFER to the file on the application server. This causes problems on certain systems which require a fixed length format.

Is there a way of preventing SAP from truncating the white space?

Chris

Tags:
Former Member
replied

hi Chris,

just use the LENGTH addition (I presume the string you transfer does contain the trailing spaces):

TRANSFER ... LENGTH n.

hope this helps

ec

0 View this answer in context
Not what you were looking for? View more on this topic or Ask a question