Application Development 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: 

ALL tcode

Former Member
0 Kudos

guy's

while uploading file to application server ,

i don't know why i am seeing my file in half,means

for example i am seeing sanju as san,pls help me

4 REPLIES 4

Former Member
0 Kudos

Can you post the code please?

I don't want the contents, I want the code OPEN / TRANSFER / CLOSE DATASET.

Message was edited by: Ravikumar Allampallam

0 Kudos

for example i am trying to upload

following content ,this is unix script,but it get

uploaded in half,i saw another file's in app server

they are in full length.

  1. Connecting to ftp server to get the file on the current server

DAY=`date +%d`

MONTH=`date +%m`

YEAR=`date +%Y`

DAY=`expr $DAY - 1`

if [ 0 == $DAY ]

then

MONTH=`expr $MONTH - 1`

if [ 0 == $MONTH ]

then

YEAR = `expr $YEAR - 1`

DAY = 31

MONTH = 12

else

if [ 01 == $MONTH ]

then

DAY = 31

fi

if [ 02 == $MONTH ]

then

if [ 0 == `expr $YEAR % 4` ]

then

DAY = 29

else

DAY = 28

fi

fi

if [ 03 == $MONTH ]

then

DAY = 31

fi

if [ 04 == $MONTH ]

then

DAY = 30

fi

if [ 05 == $MONTH ]

then

DAY = 31

fi

if [ 06 == $MONTH ]

then

DAY = 30

fi

if [ 07 == $MONTH ]

then

DAY = 31

fi

if [ 08 == $MONTH ]

then

DAY = 31

fi

if [ 09 == $MONTH ]

then

DAY = 30

fi

for example you will able to see only

if [09 ==

0 Kudos

hi Sanju,

which FM did u use try using <b>GUI_UPLOAD</b>..Hope u might not come across that ...

check this link to know as how to use GUI_UPLOAD

Regards,

Santosh

0 Kudos

thanks buddy ,problem is in code

,i use internal table with wrong size,

thanks for finding this bug,u need to have your point