Skip to Content

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

Fixed Length Strings.

Hi ,

I have to download a longtext from SAP.

The length of the longtext has to be fixed 5000 ie...Even if the length of the longtext from SAP is 1000 remaining 4000 spaces should get appended.

I am moving the long text into a variable l_line which I have declared in the following way L_LINE(5000).

But after moving the longtext into this variable it still shows the actual length of the longtext whereas I need 5000 fixed length.

How to solve it.

Thanks,

Tags:
Not what you were looking for? View more on this topic or Ask a question