Ansicht
Dokumentation
BAPI_USER_ACTGROUPS_ASSIGN - Change User-Role Assignments
PERFORM Short Reference RFUMSV00 - Advance Return for Tax on Sales/PurchasesThis documentation is copyright by SAP AG.
Functionality
The activity group assignments of the user are transferred in the table ACTIVITYGROUPS. The assignments
in the table overwrite any existing assignments. This also means that existing assignments can be deleted if they are no longer contained in the table.
Only the fields
ACTIVITYGROUPS-AGR_NAME
ACTIVITYGROUPS-FROM_DAT
ACTIVITYGROUPS-TO_DAT
must be filled.
If the date of the link is not specified,
ACTIVITYGROUPS-FROM_DAT is set to the current date and
ACTIVITYGROUPS-FROM_DAT is set to 31.12.9999.
Example
User SAMPLE has the following activity group assignments:
AGR1 01.01.98 01.01.99
AGR2 01.01.98 01.01.99
AGR3 01.01.98 01.01.99
You want to delete
AGR1 01.01.98 01.01.99 and insert
AGR4 02.01.98 01.03.99.
Pass the table ACTIVITYGROUPS with the following content:
AGR2 01.01.98 01.01.99
AGR3 01.01.98 01.01.99
AGR4 02.01.98 01.03.99
Parameters
ACTIVITYGROUPSRETURN
USERNAME
Exceptions
Function Group
SU_USERCPI1466 during Backup General Data in Customer Master
This documentation is copyright by SAP AG.
Length: 1482 Date: 20240523 Time: 165250 sap01-206 ( 28 ms )