Menu

SAP Function Module SUSR_INTERFACE_PROF

Create, Change, Delete Auth. Profile or Determine Values

The Function Module SUSR_INTERFACE_PROF (Create, Change, Delete Auth. Profile or Determine Values) is a standard Function Module in SAP ERP and is part of the function group SUSB within the package SUSR.

Technical Information

Function Module SUSR_INTERFACE_PROF
Short Text Create, Change, Delete Auth. Profile or Determine Values
Function Group SUSB
Package SUSR
Module Type Normal Module

Importing Parameters

These are the IMPORTING parameters of this function module.

Parameter Name Type Associated Type Default Value Short Text
ACTION LIKE '03' 01-create, 02-change, 03-display, 06-delete
DIALOG TYPE C SPACE Profilgenerierung im Dialog: 'X' - ja, sonst nein
PROFILE LIKE USR10-PROFN Profile name
PTEXT LIKE USR11-PTEXT Short text for profile
PTYPE LIKE USR10-TYP 'G' Typ des Profils (manuell oder generiert)

Exporting Parameters

These are the EXPORTING parameters of this function module.

Parameter Name Type Associated Type Default Value Short Text
PSTATE LIKE USR10-AKTPS Profile status: A-active, P-update version

Changing Parameters

This function module does not define any CHANGING parameters.

Table Parameters

These are the TABLE parameters of this function module.

Parameter Name Type Associated Type Default Value Short Text
AUTHS LIKE USAUT Short texts for authorizations
AUTH_OUT LIKE USAUT List of authorizations created
PROF_IN LIKE USPRO Profiles to be changed (for action 02 only)
PROF_OUT LIKE USPRO Profiles (action 01, 02, action 03 composite profile)
VALUES LIKE USVAL Objects, authorizations and values

Exceptions

These are the Exceptions of this function module.

Exception Name Short Text
AUTHORIZATION_OVERFLOW Authorization overflow with more than one field
AUTH_EXISTS Authorization already exists (for create)
BAD_AUTH_NAME Authorization name not allowed
BAD_PROFILE_NAME Profile name not allowed
COLECTIVE_PROFILE Composite profile (data is not delivered)
NOT_AUTHORIZED_FOR_AUTH No authorization for action on authorization
NOT_AUTHORIZED_FOR_PROFILE No authorization for action on profile
PARAMS_INCOMPLETE Incomplete parameters
PROFILE_DONT_EXIST Profile does not exist
PROFILE_EXISTS Profile already exists (for create)
SHORTTEXT_MISSING Missing short text for profile or authorization