Question:
Is there an SAP role (47) that has DIsplay only IMG and create change display documents?
If not does anyone know what I need to do for this...
Do I:
copy SAP_ALL remove Basis, modify IMG to display only and leave the rest?
Any help appreciated
Answer:
You need two roles, IMG display, and Application role.
the tcodes are in tables cus_actobj and cus_acth and you can load them in an existing role using the following.
REPORT ZLOADIMGTCODE .
tables: cus_actobj, agr_tcodes, cus_acth.
data: ica like cus_actobj occurs 1000 with header line,
icah like cus_acth occurs 1000 with header line,
iagrtc like agr_tcodes occurs 4000 with header line.
Parameters: p_mandt like sy-mandt.
Start-of-selection
select * from cus_actobj into table ica.
sort ica by tcode.
delete adjacent duplicates from ica comparing tcode.
Select * from cus_acth into table icah.
Sort icah by tcode.
delete adjacent duplicates from icah comparing tcode.
iagrtc-agr_name = 'S:CONFIG_ALL'.
iagrtc-TYPE = 'TR'.
iagrtc-direct = 'X'.
iagrtc-mandt = p_mandt.
loop at ica.
iagrtc-tcode = ica-tcode.
append iagrtc.
endloop.
Loop at icah.
iagrtc-tcode = icah-tcode.
append iagrtc.
Endloop.
Sort iagrtc by tcode.
delete adjacent duplicates from iagrtc comparing tcode.
modify agr_tcodes client specified from table iagrtc.
You then change all the activities to DISPLAY ( more than field ACTVT) and then create an application role.