cancel
Showing results for 
Search instead for 
Did you mean: 

How to change File Owner field in AL11 Transaction

Former Member
0 Kudos

al11-file-owner-field.jpg

Hi All,

I am writing an report program, I would want to change/modify the selected records's File Owner's user id. Please let me process/function modules/ Class_method/bapis to change/modify the File Owner field.

Example:

In the attached AL11 screen shot, currently it's showing File Owner as "ROOT", as per my requirement I would want to update/change that file owner with other user id ( say "JACK") in my Report program.

After running my report if I check in AL11 transaction code particular record's File Owner should show as "JACK"

Please suggest how could I handle this scenario.

Jelena
Active Contributor
0 Kudos

What business purpose would this serve in SAP? It's not like this "file ownership" is legally binding or something. Very much confused what value could this possibly add...

Accepted Solutions (1)

Accepted Solutions (1)

Sandra_Rossi
Active Contributor

Your question is related to Unix/Linux ownership and rights (related neither to AL11, nor to ABAP).

To call Unix/Linux commands from ABAP, the recommended way is to use external commands (definition via transaction code SM49, call via SXPG_* function modules).

Search the web for more information about the two.

Former Member
0 Kudos

Does it mean, cannot we change the File owner Id through any of the Function Module/Table Update/BAPI..etc?

According your suggestion, I have to call UNIX commands in abap report accordingly we can update File Owner's id in AL11. Please let me know if I interrupted in wrong approach.

Sandra_Rossi
Active Contributor
0 Kudos

It's at Unix/Linux level only (chown).

Answers (1)

Answers (1)

pokrakam
Active Contributor

What is the purpose or requirement behind this? As Sandra already explained, this is at operating system level. OS users do NOT correspond to SAP users. SAP users live in the database. So if you're trying to change it to an SAP username, it's not possible.