Ansicht
Dokumentation
03615 - Stream file ownership
rdisp/max_wprun_time - Maximum work process run time Fill RESBD Structure from EBP Component StructureThis documentation is copyright by SAP AG.
Stream file ownership
Hi Volker,Not useful?? This is awesome! I have slightly modified to use move: (since I
don't know how to do a continuation line in ABAP (pathetic, sorry)). The
"hack" to accomplish what I need (as opposed to what I originally asked for)
follows. Improvements like "how can I substitute a variable name (which is
already defined) instead of hardcoding the stream file name?" and not have
to worry about the length? would be most appreciated. Really, this is great
for any stream files we generate from SAP. Now I can drop into the form
after all the datasets are closed and when I'm done (if I typed the names
correctly anyway), the authority is the same as all the IDOC's which are
generated in the /usr/sap/SID/SIS/global directory.
Thanks,
Rick
*---------------------------------------------------------------------*
form change_dataset_auth.
data: command1(200) type c.
data: command2(200) type c.
* Setup commands to change primary group profile and data/object
* Authorities on the host
move: 'CHGPGP OBJ(''/home/rgithens/dms/deduction.txt'')' to command1.
move: ' NEWPGP(R3GROUP) DTAAUT(*RWX) OBJAUT(*ALL)' to command1+46.
move: 'CHGPGP OBJ(''/home/rgithens/dms/revded.txt'')' to command2.
move: ' NEWPGP(R3GROUP) DTAAUT(*RWX) OBJAUT(*ALL)' to command2+43.
call 'SYSTEM' id 'COMMAND' field command1.
call 'SYSTEM' id 'COMMAND' field command2.
endform.
*---------------------------------------------------------------------*
Durban Tours - Südafrika Safari
RFUMSV00 - Advance Return for Tax on Sales/Purchases CPI1466 during Backup
This documentation is copyright by SAP AG.
Length: 1940 Date: 20240420 Time: 073454 sap01-206 ( 3 ms )