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

No Functions on application server

Former Member
0 Likes
675

Hi All,

I have one problem when file is downloaded into application server, no function has to work like COPY, PASTE, DELETE.how to acheve this functionality.

please give me advice on this.

Thanks and Regards

Naren

3 REPLIES 3
Read only

Former Member
0 Likes
592

<b>S_ADMI_FCD System Authorizations

S_CTS_ADMI Administration Functions in the Change and Transport System

S_DATASET Authorization for file access

S_DEVELOP ABAP Workbench

S_GUI Authorization for GUI activities

S_OLE_CALL OLE calls from ABAP programs

S_RZL_ADM CCMS: System Administration

S_SPO_DEV Spool: Device authorizations

S_TCODE Transaction Code Check at Transaction Start

S_TOOLS_EX Tools Performance Monitor</b>

check

S_DATASET:

Definition

Authorizations for accessing files from ABAP/4 programs.

You use this object to assign authorizations for accessing operating system files (with the ABAP/4 key word OPEN DATASET, READ DATASET, TRANSFER and DELETE ). This key word can also be used to assign the authorization for using operating system commands as a file filter.

In ABAP/4 programs, you perform the authorization check with the function module AUTHORITY_CHECK_DATASET.

Defined fields

The object consists of the following fields:

ABAP/4 program name: Name of the ABAP/4 program that contains the access. You can restrict the file access to a few known access programs.

Activity: Possible values:

33: Normal file read

34: Normal file write or deletion

A6: Read file with filter (operating system command)

A7: Write to a file with filter (operating system command)

File name: Name of the operating system file. Here, you can restrict the accessible files.

<b>Useful Tcodes : SU22.</b>

Regards

Prabhu

Read only

0 Likes
592

Hi Prabhu,

thanks for giving responce, but i'm downloaded into application server ie..T.CODE is AL11 in this transaction how can i do this functionality.

If u have any solution please give the way or path or code.

Thanks and Regards

Naren

Read only

Former Member
0 Likes
592

hi, do you mean you want to manipulate the file in application server, like copy, move, delete?

you can try in this one, define some external system command in SM49, and call function SXPG_COMMAND_EXECUTE to execute the command you defined.

This is a way allow ABAP to use some operation system command.

E.G. if the operation system is Linux, you want to move a file, then define a external command as TMV = mv

then execute mv XXX(file) XXX(target directory).