Skip to Content
avatar image
-2
Former Member

How to change File Owner field in AL11 Transaction

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.

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

2 Answers

  • Dec 28, 2017 at 10:04 AM

    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.

    Add comment
    10|10000 characters needed characters exceeded

  • Dec 29, 2017 at 09:10 PM

    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.

    Add comment
    10|10000 characters needed characters exceeded