Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Tranfer data to the application server

Former Member
0 Likes
470

Hi all,

I have a problem in Tranfering data into the application server when i do that data is getting trucated.Is there any length restriction ? could anyone tell us the reason why it's happening so...

OPEN DATASET V_FILENAME FOR OUTPUT IN TEXT MODE ENCODING DEFAULT.

IF NOT SY-SUBRC IS INITIAL.

MESSAGE E000 WITH TEXT-026.

EXIT.

ENDIF.

TRANSFER V_LINEOUT TO V_FILENAME length 3000.

Thanks,

SriRatna

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
449

dont specify the length explictly

TRANSFER V_LINEOUT TO V_FILENAME

Hi all,

I have a problem in Tranfering data into the application server when i do that data is getting trucated.Is there any length restriction ? could anyone tell us the reason why it's happening so...

OPEN DATASET V_FILENAME FOR OUTPUT IN TEXT MODE ENCODING DEFAULT.

IF NOT SY-SUBRC IS INITIAL.

MESSAGE E000 WITH TEXT-026.

EXIT.

ENDIF.

TRANSFER V_LINEOUT TO V_FILENAME length 3000.

Thanks,

SriRatna

3 REPLIES 3
Read only

Former Member
0 Likes
450

dont specify the length explictly

TRANSFER V_LINEOUT TO V_FILENAME

Read only

Former Member
0 Likes
449

what is the length of V_LINEOUT ?

If length of V_LINEOUT is more than 3000 data gets truncated.

dont specify that

just use

TRANSFER V_LINEOUT to V_FILE.

null

Read only

Former Member
0 Likes
449

Hi ,

V_LINEOUT length is less than 1000 only.Though we don't specify the length data is getting truncated.

Thanks,

Sriratna