Ansicht
Dokumentation

RSUSR_UP_AND_DOWNLOAD_FOR_CA - Download and Upload for Critical Authorizations

RSUSR_UP_AND_DOWNLOAD_FOR_CA - Download and Upload for Critical Authorizations

BAL Application Log Documentation   BAL Application Log Documentation  
This documentation is copyright by SAP AG.
SAP E-Book

Purpose

Use this program for:

  • the critical combination variant
  • critical combinations
  • the critical authorization variant
  • the critical authorizations

in order to export them to an

  • Excel
  • text
  • or JavaScriipt object notation

file, and to import the data from these files into an SAP system.

To use this report, display authorizations (to display and download the data) and change authorizations (to upload the data) are required.

To ensure the correct data format, we recommend exporting the data with the required format, adapting it and only then importing it.

Before every download and upload, there is a consistency check. To avoid inconsistencies however, we advise you to always check yourself that the file is correct. For the data to be imported into the SAP system, the file must contains all tables relevant for an object.

Integration

Upload of critical objects from a file:

You can use this function to upload a prepared assignment table. You choose the file name either in the selection screen or in the next screen using the ‘Upload’ function.

Structure of the Excel file:

Depending on the table, a data record can comprise the following columns:

USRVARCOM,,Definition of critical combination variants
  • Name of the table (table USRVARCOM)

  • Name of the variant (VARNAME)

USRVARCOMT,,Short text for critical combination variants
  • Name of the table (table USRVARCOMT)

  • Name of the variant (VARNAME)

  • Short text for variant (VTEXT)

  • Language (LANGU)

USRCRCOMB,,Assignment of critical combinations to variants
  • Name of the table (table USRVARCOMB)

  • Name of the variant (VARNAME)

  • Name of the combination (COMB_ID)

USRCOMB,,Definition of critical combination
  • Name of the table (table USRCOMB)

  • Name of the combination (COMB_ID)

  • Colour of the combination (COMB_COL)

USRCOMBT,,Short texts for critical combinations
  • Name of the table (table USRCOMBT)

  • Name of the combination (COMB_ID)

  • Short text for the combination (CTEXT)

  • Language (LANGU)

USCRCOMID,,Assignment of critical authorizations to critical combinations
  • Name of the table (table USCRCOMID)

  • Name of the combination (COMB_ID)

  • Name of the authorization (AUTH_ID)

  • Search type AND or OR (SEARCHTYPE)

USRVAR,,Definition of critical authorization variants
  • Name of the table (table USRVAR)

  • Name of the variant (VARNAME)

USRVART,,Short text for critical authorization variants
  • Name of the table (table USRVART)

  • Name of the variant (VARNAME)

  • Short text for variant (VTEXT)

  • Language (LANGU)

USRVARID,,Assignment of critical authorizations to variants
  • Name of the table (table USRVARID)

  • Name of the variant (VARNAME)

  • Name of the authorization (AUTH_ID)

USCRAUTHID,,Definition of critical authorizations
  • Name of the table (table USCRAUTHID)

  • Name of the authorization (AUTH_ID)

  • Colour of the authorization (AUTH_COLOR)

  • Transaction code of the critical authorization (TCODE)

USCRAUIDT,,Short texts for authorizations
  • Name of the table (table USCRAUIDT)

  • Name of the authorization (AUTH_ID)

  • Short text for the authorization (TEXT)

  • Language (LANGU)

USCRAUTH,,Authorization data of critical authorizations
  • Name of the table (table USCRAUTH)

  • Name of the authorization (AUTH_ID)

  • Group of critical authorizations (CR_AUTH) connected with OR

  • Authorization object (OBJCT)

  • Authorization field (FIELD)

  • Authorization value (LOW)

  • Authorization value (HIGH)

  • Search type AND or OR (SEARCHTYPE)

Every data field should be defined in a column.

Every data record is defined in a row.

When uploading the file, select the appropriate code page, so that special characters are displayed.

Structure of the Text file:

Depending on the table, a data record can comprise the following fields:

USRVARCOM,,Definition of critical combination variants
  • Name of the table (USRVARCOM)

  • Name of the variant (VARNAME)

USRVARCOMT,,Short text for critical combination variants
  • Name of the table (USRVARCOMT)

  • Name of the variant (VARNAME)

  • Short text for variant (VTEXT)

  • Language (LANGU)

USRCRCOMB,,Assignment of critical combinations to variants
  • Name of the table (USRCRCOMB)

  • Name of the variant (VARNAME)

  • Name of the combination (COMB_ID)

USRCOMB,,Definition of critical combination
  • Name of the table (USRCOMB)

  • Name of the combination (COMB_ID)

  • Colour of the combination (COMB_COL)

USRCOMBT,,Short texts for critical combinations
  • Name of the table (USRCOMBT)

  • Name of the combination (COMB_ID)

  • Short text for the combination (CTEXT)

  • Language (LANGU)

USCRCOMID,,Assignment of critical authorizations to critical combinations
  • Name of the table (USCRCOMID)

  • Name of the combination (COMB_ID)

  • Name of the authorization (AUTH_ID)

  • Search type AND or OR (SEARCHTYPE)

USRVAR,,Definition of critical authorization variants
  • Name of the table (USRVAR)

  • Name of the variant (VARNAME)

USRVART,,Short text for critical authorization variants
  • Name of the table (USRVART)

  • Name of the variant (VARNAME)

  • Short text for variant (VTEXT)

  • Language (LANGU)

USRVARID,,Assignment of critical authorizations to variants
  • Name of the table (USRVARID)

  • Name of the variant (VARNAME)

  • Name of the authorization (AUTH_ID)

USCRAUTHID,,Definition of critical authorizations
  • Name of the table (USCRAUTHID)

  • Name of the authorization (AUTH_ID)

  • Colour of the authorization (AUTH_COLOR)

  • Transaction code of the critical authorization (TCODE)

USCRAUIDT,,Short texts for authorizations
  • Name of the table (table USCRAUIDT)

  • Name of the authorization (AUTH_ID)

  • Short text for the authorization (TEXT)

  • Language (LANGU)

USCRAUTH,,Authorization data of critical authorizations
  • Name of the table (USCRAUTH)

  • Name of the authorization (AUTH_ID)

  • Group of critical authorizations (CR_AUTH) connected with OR

  • Authorization object (OBJCT)

  • Authorization field (FIELD)

  • Authorization value (LOW)

  • Authorization value (HIGH)

  • Search type AND or OR (SEARCHTYPE)

The data fields are separated from one another by tab signs.

The data records are separated from one another by line breaks.

When uploading the file, select the appropriate code page, so that special characters are displayed.

Example of a TXT or XLS file:

Table USRVAR VARNAME
USRVAR SAP_RSUSR009

Table USRVART VARNAME VTEXT LANGU
USRVART SAP_RSUSR009 SAP default in accordance with report RSUSR009 DE

Table USRVARID VARNAME AUTH_ID
USRVARID SAP_RSUSR009 SAP_ABAA
USRVARID SAP_RSUSR009 SAP_ABJA
USRVARID SAP_RSUSR009 SAP_ABNA

Table USCRAUTHID AUTH_ID AUTH_COLOR T_CODE
USCRAUTHID SAP_ABAA 6
USCRAUTHID SAP_ABJA 6
USCRAUTHID SAP_ABNA 6

Table USCRAUIDT AUTH_ID TEXT LANGU
USCRAUIDT SAP_ABAA Administration: All rights for background jobs DE
USCRAUIDT SAP_ABJA Administration: Release background jobs DE
USCRAUIDT SAP_ABNA Administration: Start background jobs with every user DE

Table USCRAUTH AUTH_ID CR_AUTH OBJCT FIELD LOW HIGH SEARCHTYPE

USCRAUTH SAP_ABAA   S_BTCH_ADM BTCADMIN Y   AND
USCRAUTH SAP_ABJA   S_BTCH_JOB JOBACTION RELE   OR
USCRAUTH SAP_ABJA   S_BTCH_JOB JOBACTION SHOW   OR

Structure of the JSON file:

For every table, a data record should end with { begin and with }. The table name beings and ends with straight double quotation marks ("). These are followed by a colon (:), [ and {. Now comes the field name with double quotation marks ("). Every field name and colon (:) is followed by the values, which must also have double quotation marks ("). The field names are separated from one another by commas (,). The data records are also separated from one another by commas (,) and end with }. The data records for a table end with ].

Example of a JSON file:

{"USRVARCOM":[{"MANDT":"000","VARNAME":"VCC_RSUSR009"}],"USRVARCOMT":[{"MANDT":"000","LANGU":"D","VARNAME":"VCC_RSUSR009","VTEXT":"Variante für RSUSR009"}],"USRCRCOMB":[{"MANDT":"000","VARNAME":"VCC_RSUSR009","COMB_ID":"CC_NEW"},{"MA NDT":"000","VARNAME":"VCC_RSUSR009","COMB_ID":"CC_RSUSR009"}],"USRCOMB":[{"MANDT":"000","COMB_ID":"C C_NEW","COMB_COL":""},{"MANDT":"000","COMB_ID":"CC_RSUSR009","COMB_COL":"1"}],"USRCOMBT":[{"MANDT":"000","LANGU":"D","COMB_ID":"CC_NEW","CTEXT":"this is my text"},{"MANDT":"000","LANGU":"D","COMB_ID":"CC_RSUSR009","CTEXT":"combination for RSUSR009"}] ,"USCRCOMID":[{"MANDT":"000","COMB_ID":"CC_NEW","AUTH_ID":"SAP_CTBA","SEARCHTYPE":"SAP"},{"MANDT":"0 00","COMB_ID":"CC_NEW","AUTH_ID":"SAP_DEVT","SEARCHTYPE":"SAP"},{"MANDT":"000","COMB_ID":"CC_RSUSR00 9","AUTH_ID":"SAP_ABAA","SEARCHTYPE":"SAP"},{"MANDT":"000","COMB_ID":"CC_RSUSR009","AUTH_ID":"SAP_AB JA","SEARCHTYPE":"SAP"},{"MANDT":"000","COMB_ID":"CC_RSUSR009","AUTH_ID":"SAP_DEVT","SEARCHTYPE":"SA P"}],"USCRAUTHID":[{"MANDT":"000","AUTH_ID":"SAP_ABAA","AUTH_COLOR":"6","TCODE":""},{"MANDT":"000"," AUTH_ID":"SAP_ABJA","AUTH_COLOR":"6","TCODE":""},{"MANDT":"000","AUTH_ID":"SAP_CTBA","AUTH_COLOR":"6 ","TCODE":""},{"MANDT":"000","AUTH_ID":"SAP_DEVT","AUTH_COLOR":"6","TCODE":""}],"USCRAUIDT":[{"MANDT":"000","LANGU":"D","AUTH_ID":"SAP_ABAA","TEXT":"Administration: All rights for background jobs"},{"MANDT":"000","LANGU":"D","AUTH_ID":"SAP_ABJA","TEXT":"Administration: Release background jobs"},{"MANDT":"000","LANGU":"D","AUTH_ID":"SAP_CTBA","TEXT":"Customizing: Table maintenance"},{"MANDT":"000","LANGU":"D","AUTH_ID":"SAP_DEVT","TEXT":"Development: Transport Syst em"}],"USCRAUTH":[{"MANDT":"000","AUTH_ID":"SAP_ABAA","CR_AUTH":"","OBJCT":"S_BTCH_ADM","FIELD":"BTC ADMIN","LOW":"Y","HIGH":"","SEARCHTYPE":"AND"},{"MANDT":"000","AUTH_ID":"SAP_ABJA","CR_AUTH":"","OBJ CT":"S_BTCH_JOB","FIELD":"JOBACTION","LOW":"RELE","HIGH":"","SEARCHTYPE":"OR"},{"MANDT":"000","AUTH_ ID":"SAP_ABJA","CR_AUTH":"","OBJCT":"S_BTCH_JOB","FIELD":"JOBACTION","LOW":"SHOW","HIGH":"","SEARCHT YPE":"OR"},{"MANDT":"000","AUTH_ID":"SAP_CTBA","CR_AUTH":"","OBJCT":"S_TABU_DIS","FIELD":"ACTVT","LOW":"02","HIGH":"","SEARCHTYPE":"AND"},

Prerequisites

Features

Selection

Options

  • Show data:
Before downloading, you can view the tables for the data to be exported.
  • Download to file:
The content of the corresponding objects (depending on the file format) is exported. Before the data is exported, a consistency check is performed. If the data is consistent, it is exported to the selected file format.
  • Upload from file:
Depending on the file format, the data is uploaded to the SAP system. Before the data is imported, a consistency check is performed. If the content of the data is consistent, the corresponding tables are displayed together with the content. From here, you can start the data import by pressing "Upload (ctrl+F2)".

Standard Variants

Output

The following tables are exported/imported for the relevant objects:

Critical combination variant (VCC):

USRVARCOM Definition of critical combination variants
USRVARCOMT Short text for critical combination variants
USRCRCOMB Assignment of critical combinations to variants
USRCOMB Definition of critical combination
USRCOMBT Short texts for critical combinations
USCRCOMID Assignment of critical authorizations to critical combinations
USCRAUTHID Definition of critical authorizations
USCRAUIDT Short texts for authorizations
USCRAUTH Authorization data of critical authorizations

Critical combination (CC):

USRCOMB Definition of critical combination
USRCOMBT Short texts for critical combinations
USCRCOMID Assignment of critical authorizations to critical combinations
USCRAUTHID Definition of critical authorizations
USCRAUIDT Short texts for authorizations
USCRAUTH Authorization data of critical authorizations

Critical authorization variant (VCA):

USRVAR Definition of critical authorization variants
USRVART Short text for critical authorization variants
USRVARID Assignment of critical authorizations to variants
USCRAUTHID Definition of critical authorizations
USCRAUIDT Short texts for authorizations
USCRAUTH Authorization data of critical authorizations

Critical authorizations (CA):

USCRAUTHID Definition of critical authorizations
USCRAUIDT Short texts for authorizations
USCRAUTH Authorization data of critical authorizations

Activities

Example






ABAP Short Reference   BAL Application Log Documentation  
This documentation is copyright by SAP AG.

Length: 25709 Date: 20240520 Time: 110631     sap01-206 ( 177 ms )