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

sequential file

Former Member
0 Likes
714

hai

how to see the sequential file in application server and how to create the sequential file in application server.

regards

surender

2 REPLIES 2
Read only

Former Member
0 Likes
407

GOTO TCODE AL11 THEN YOU CAN SEE THE FILES IN APPLICATION SERVER.

REGARDS,

VENKAT.

Read only

vinod_vemuru2
Active Contributor
0 Likes
407

Hi,

U can view the files in the application server in transaction AL11.

If u want to create the file in application server copy this to a sample program and execute.

PARAMETERS po_file(100) TYPE c DEFAULT '/usr/upi/out/test.dat'.

OPEN DATASET po_file FOR OUTPUT IN TEXT MODE.

IF sy-subrc is INITIAL.

w_data = 'This is a test file generated for learning'.

TRANSFER w_data TO po_file.

CLOSE DATASET po_file..

ELSE.

WRITE:/1 'Not able to open file'.

ENDIF.

After executing this go to AL11 and search for file test.dat. Double click on that file. U can see the text This is a test file generated for learning in ur file.

If u r not able to open the file then check and give some valid directory name.

Thanks,

Vinod.