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: 

File creation in application server

Former Member
0 Kudos

Hi all,

I am creating a file in the application server thru an internal table. I have few QUAN fields which are being displayed as "#" in the file. How i can handle the QUAN fields to get the correct value display in the file??

Thank you.

3 REPLIES 3

Former Member
0 Kudos

Hello,

Do like this:

Data: quan(13).

LOOP AT G_T_OUTTAB.

CLEAR QUAN.

WRITE G_T_OUTTAB-QUAN TO QUAN.

CONCATENATE ALL YOUR ITAB FIELDS.

ENDLOOP.

Regards,

Vasanth

Former Member
0 Kudos

when you download the data into a text file and download it into excel u will see that kind of symbols.

When you download it onto excel file to your local system juss select the entire column and format it to text ..... then u can see all the values properly...............

0 Kudos

Hi

I think you can ftp the data into application server directly. And you have a standard program for that. Please check the code below

SUBMIT RSFTP002 WITH USER = P_FTPUSR

WITH PWD = P_FTPPWD

WITH HOST = P_FTPHST

WITH CMD1 = WA_PATH

WITH DEST = 'SAPFTPA'

WITH COMPRESS = 'N'

AND RETURN.

RSFTP002 is the program.

Shylesh