Skip to Content
-2

How to change File Owner field in AL11 Transaction

Dec 28, 2017 at 12:30 AM

202

avatar image
Former Member

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.

10 |10000 characters needed characters left characters exceeded

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...

0
* Please Login or Register to Answer, Follow or Comment.

2 Answers

Sandra Rossi Dec 28, 2017 at 10:04 AM
3

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.

Show 2 Share
10 |10000 characters needed characters left characters exceeded
Former Member

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.

0

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

0
Mike Pokraka Dec 29, 2017 at 09:10 PM
2

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.

Share
10 |10000 characters needed characters left characters exceeded