Download as pdf or txt
Download as pdf or txt
You are on page 1of 7

Photo by Zan Ilic on Unsplash

SAP ABAP — AL11 , CG3Y , CG3Z ,


CACS_FILE_COPY and more..

Ahmet Acar
Jun 27, 2019 · 4 min read

AL11 transaction is used for controlling the les stored in the application server. All the
directories can be seen in the AL11 directory. The basic process which can be done in
AL11 transaction such as uploading, downloading and deleting the les.

Below are the steps to perform those activities:

Uploading a le in Al11 Directory.


Step 1: Located the le location in which we have to upload the le.
AL11

Step 2: Go to Transaction CG3Z for uploading a le in the AL11 directory.

Step 3: Enter the Source le location from the front end system and the target le
location in the AL11 directory. After entering the path click on upload button.

CG3Z

Transfer format for Data ( by default, it is set to BIN for Binary)

Overwrite le: is a checkbox if checked will overwrite the destination le if it exists


already.

The below message will be displayed.

Now directory will contain the uploaded le.


Text.txt uploaded

. . .

Downloading a le from AL11 Directory


Step 1: Locate the le which we want to download to our local system.

Step 2: Go to Transaction CG3Y.

Step 3: Enter the Source location and the target location and click on download
button.

CG3Y

The le gets downloaded successfully with the below message.

. . .

Deleting a le in AL11 directory.


We can use a function module for deleting the le from AL11 directory. Please nd the
below steps.
Step 1: Go to Transaction SE37, enter Function module name EPS_DELETE_FILE
and click on execute button.

SE37 Function Builder

Step 2: Enter the File name in the FILE_NAME and the directory path (Excluding the
le name) in the DIR_NAME and execute.

EPS_DELETE_FILE

The le will be disappeared from the location.

The les get deleted successfully.


. . .

SAP Copy File with CACS_FILE_COPY


This Program CACS_FILE_COPY is very useful also.
In fact, the huge advantage of the CACS_FILE_COPY SAP Standard Report is the fact
that you use it to Copy SAP File from Application to Presentation Server and
Presentation to Application.

AL11
CACS_FILE_COPY

Set the Copy direction

Application To Presentation Server

Presentation Server to Application

The Set the le source and the le destination paths.

. . .

If you want to go further about how to manage Files in SAP with ABAP code or with
Standard SAP Tcodes/Reports, check also https://answers.sap.com/ and
https://archive.sap.com .

. . .

Thank you for reading. Stay tuned!

What do you guys think? I love to know your thoughts. Kindly like, share or comment
below.

Ahmet Acar.

File
Abap Sap Management Upload Download

138 claps

WRITTEN BY

Ahmet Acar
SAP ABAP Developer, Computer Engineer, Amateur Basketball
Player.

Follow
More From Medium

Related reads

Double equal comparison in Javascript


Erdogan Oksuz in trendyol tech
Aug 22, 2019 · 4 min read

187

Related reads

In Ankara and Beyond, Torture Rears Ugly Head Again


Abdullah Ayasun
May 30, 2019 · 6 min read

125

Related reads

How Ad Blockers Work


Connor Finnegan in Better Programming
Jan 2, 2019 · 6 min read

537

About
Help
Legal

You might also like