on 12-28-2017 12:30 AM
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.
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.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
81 | |
24 | |
11 | |
9 | |
7 | |
5 | |
5 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.