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

Creating folders in Application Server

Former Member
0 Likes
1,034

Hi,

I have the following requirement.

1. Have a configuration in the server which will be nothing but a location where our program can create folders and dump files.

2. Additionally I would also like to look at this like we look at file systems in our windows machine for example.

With Regards

Murali

Hi,

I have the following requirement.

1. Have a configuration in the server which will be nothing but a location where our program can create folders and dump files.

2. Additionally I would also like to look at this like we look at file systems in our windows machine for example.

With Regards

Murali

5 REPLIES 5
Read only

Former Member
0 Likes
994

hi Murali,

use <b>OPEN DATASET FOR OUTPUT</b> for creation of files on application server... u can have a look at the created Files in T-Code <b>AL11</b>

Regards,

Kalyani

Read only

Former Member
0 Likes
994

use AL11 transaction code-->click on Configure

Read only

0 Likes
994

hi,

here is a sample code for the same..

<b>OPEN DATASET PRM_FL02 FOR OUTPUT IN TEXT MODE.</b>

IF SY-SUBRC <> 0.

PERFORM ZYIR008_PUT_MESSAGE USING 'A'

'Open Dataset Error(?1) - ?2 ?3 ?4'

SY-SUBRC

PRM_FL02

'INPUT'

SPACE.

You can have a look at the created file in <b>AL11</b> .. here is the way to configure...

<b>AL11->Click on Configure Button</b>

Regards,

Santosh

Read only

Former Member
0 Likes
994

You can use configure button in transaction AL11.

Riyaz

Read only

Former Member
0 Likes
994

Hi Murali,

1) Click the "Configure" button in transaction AL11. You need Authorization to do so. Use statement "OPEN DATASET FOR OUTPUT..." in the program to dump file there.

2) Go to transaction AL11. Double click on the directory path to go inside the directories. You can see all the files created under that directory.

Hope it helps.

Regards,

Neeraj Gupta