SAP SUSR_USER_EXTID_SET_ALL Function Module for
SUSR_USER_EXTID_SET_ALL is a standard susr user extid set all SAP function module available within SAP R/3 or S/4 Hana systems, depending on your version and release level. It is used to perform a specific ABAP function and below is the pattern details, showing its interface including any import and export parameters, exceptions etc. there is also a full "cut and paste" ABAP pattern code example, along with implementation ABAP coding, documentation and contribution comments specific to this or related objects.
See here to view full function module documentation and code listing for susr user extid set all FM, simply by entering the name SUSR_USER_EXTID_SET_ALL into the relevant SAP transaction such as SE37 or SE38.
Function Group: SUSO
Program Name: SAPLSUSO
Main Program: SAPLSUSO
Appliation area:
Release date: N/A
Mode(Normal, Remote etc): Normal Function Module
Update:

Function SUSR_USER_EXTID_SET_ALL pattern details
In-order to call this FM within your sap programs, simply using the below ABAP pattern details to trigger the function call...or see the full ABAP code listing at the end of this article. You can simply cut and paste this code into your ABAP progrom as it is, including variable declarations.CALL FUNCTION 'SUSR_USER_EXTID_SET_ALL'".
EXPORTING
IF_BNAME = "User name in user master record
IT_EXTID = "Table with External IDs
* IT_EXISTENCE_CHECK = 'X' "
EXCEPTIONS
USER_NOT_FOUND = 1 EMPTY_EXTID = 2 NO_AUTHORITY = 3 LOCK_FAILURE = 4 HASH_ERROR = 5 DB_ERROR = 6 RULEBASED_CERTMAPPING = 7
IMPORTING Parameters details for SUSR_USER_EXTID_SET_ALL
IF_BNAME - User name in user master record
Data type: XUBNAMEOptional: No
Call by Reference: No ( called with pass by value option)
IT_EXTID - Table with External IDs
Data type: BAPIUSEXTIDOptional: No
Call by Reference: No ( called with pass by value option)
IT_EXISTENCE_CHECK -
Data type: FLAGDefault: 'X'
Optional: Yes
Call by Reference: No ( called with pass by value option)
EXCEPTIONS details
USER_NOT_FOUND - User Not Found
Data type:Optional: No
Call by Reference: No ( called with pass by value option)
EMPTY_EXTID -
Data type:Optional: No
Call by Reference: No ( called with pass by value option)
NO_AUTHORITY - No Authorization
Data type:Optional: No
Call by Reference: No ( called with pass by value option)
LOCK_FAILURE - Lock errors
Data type:Optional: No
Call by Reference: No ( called with pass by value option)
HASH_ERROR -
Data type:Optional: No
Call by Reference: No ( called with pass by value option)
DB_ERROR - Database Error
Data type:Optional: No
Call by Reference: No ( called with pass by value option)
RULEBASED_CERTMAPPING -
Data type:Optional: No
Call by Reference: Yes
Copy and paste ABAP code example for SUSR_USER_EXTID_SET_ALL Function Module
The ABAP code below is a full code listing to execute function module POPUP_TO_CONFIRM including all data declarations. The code uses the original data declarations rather than the latest in-line data DECLARATION SYNTAX but I have included an ABAP code snippet at the end to show how declarations would look using the newer method of declaring data variables on the fly. This will allow you to compare and fully understand the new inline method. Please note some of the newer syntax such as the @DATA is not available until a later 4.70 service pack (SP8), which i why i have stuck to the origianl for this example.| DATA: | ||||
| lv_if_bname | TYPE XUBNAME, " | |||
| lv_user_not_found | TYPE XUBNAME, " | |||
| lv_it_extid | TYPE BAPIUSEXTID, " | |||
| lv_empty_extid | TYPE BAPIUSEXTID, " | |||
| lv_no_authority | TYPE BAPIUSEXTID, " | |||
| lv_it_existence_check | TYPE FLAG, " 'X' | |||
| lv_lock_failure | TYPE FLAG, " | |||
| lv_hash_error | TYPE FLAG, " | |||
| lv_db_error | TYPE FLAG, " | |||
| lv_rulebased_certmapping | TYPE FLAG. " |
|   CALL FUNCTION 'SUSR_USER_EXTID_SET_ALL' " |
| EXPORTING | ||
| IF_BNAME | = lv_if_bname | |
| IT_EXTID | = lv_it_extid | |
| IT_EXISTENCE_CHECK | = lv_it_existence_check | |
| EXCEPTIONS | ||
| USER_NOT_FOUND = 1 | ||
| EMPTY_EXTID = 2 | ||
| NO_AUTHORITY = 3 | ||
| LOCK_FAILURE = 4 | ||
| HASH_ERROR = 5 | ||
| DB_ERROR = 6 | ||
| RULEBASED_CERTMAPPING = 7 | ||
| . " SUSR_USER_EXTID_SET_ALL | ||
ABAP code using 7.40 inline data declarations to call FM SUSR_USER_EXTID_SET_ALL
The below ABAP code uses the newer in-line data declarations. This allows you to see the coding differences/benefits of the later inline syntax. Please note some of the newer syntax below, such as the @DATA is not available until 4.70 EHP 8.| DATA(ld_it_existence_check) | = 'X'. | |||
Search for further information about these or an SAP related objects