SAP Function SD_AUTHORITY_SALES_ACTIVITY - Check authorization for sales activities

Parameter Reference Type Length Default Optional Text
ACTIVITY TVKB-KTAAK C 1 Activity
SALES_ACTIVITY VBKA u 366 ' ' X Sales activity
SAP_USER VBKA-ERNAM C 12 ' ' X SAP name of the user to be checked

Parameter Reference Length Optional Text
FXVBKA VBKA 366 X Sales activities to be checked
FXVBPA VBPAVB 542 X Partner
NO_AUTHORITY KTAAR_RAN 23 Sales activities without authorization

Exception Text
ACTIVITY_NOT_VALID Invalid activity
NO_HR_RECORD No master record available for the SAP_USER

Description
In this field you can enter a VBKA workarea (sales activity), if theworkarea is not available in the form of a table in the callingprogram. This kind of transfer is only permitted in the case ofactivity 0 (= create) and unless the person-related check (TVKB table)is required. In the case of activities 1 and 2 the system ignores thecontent of this workarea.
In this field the system transfers the user ID of the user for whom theauthorization is to be checked.
If this field is not filled, the system works with the current user.
In this table, the sales activities to be checked are set.
If data has been entered into this table, the authorization check iscarried out using the partners in the table.
If no data has been entered into this table, the partners aredetermined by accessing table VBPA.
This table contains the numbers of the sales activities for which noauthorization is available. The table has the same structure as theSELECT-OPTION tables. Thus comparisons in the form of " VBELN INNO_AUTHORITY" are possible.