SAP PROFIL_AUFLOESEN Function Module for
PROFIL_AUFLOESEN is a standard profil aufloesen 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 profil aufloesen FM, simply by entering the name PROFIL_AUFLOESEN into the relevant SAP transaction such as SE37 or SE38.
Function Group: SUSR
Program Name: SAPLSUSR
Main Program: SAPLSUSR
Appliation area: S
Release date: N/A
Mode(Normal, Remote etc): Normal Function Module
Update:

Function PROFIL_AUFLOESEN 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 'PROFIL_AUFLOESEN'".
EXPORTING
* AKTPAS = 'A' "Active (A) or update version (P)
* OBJ1 = "An object name as a selection criterion
* OBJ2 = "An object name as a selection criterion
* OBJ3 = "An object name as a selection criterion
* OBJ4 = "An object name as a selection criterion
* OBJ5 = "An object name as a selection criterion
* OBJ6 = "An object name as a selection criterion
* OBJ7 = "An object name as a selection criterion
* PROFILE = 'MBTEST99' "Profile which should be deleted
TABLES
AUTHLIST = "List of authorizations referenced in the profile
PROFLIST = "List of profiles referenced in the composite profile
EXCEPTIONS
PROFILE_NOT_FOUND = 1
IMPORTING Parameters details for PROFIL_AUFLOESEN
AKTPAS - Active (A) or update version (P)
Data type: USR10-AKTPSDefault: 'A'
Optional: Yes
Call by Reference: No ( called with pass by value option)
OBJ1 - An object name as a selection criterion
Data type: TOBJ-OBJCTOptional: Yes
Call by Reference: No ( called with pass by value option)
OBJ2 - An object name as a selection criterion
Data type: TOBJ-OBJCTOptional: Yes
Call by Reference: No ( called with pass by value option)
OBJ3 - An object name as a selection criterion
Data type: TOBJ-OBJCTOptional: Yes
Call by Reference: No ( called with pass by value option)
OBJ4 - An object name as a selection criterion
Data type: TOBJ-OBJCTOptional: Yes
Call by Reference: No ( called with pass by value option)
OBJ5 - An object name as a selection criterion
Data type: TOBJ-OBJCTOptional: Yes
Call by Reference: No ( called with pass by value option)
OBJ6 - An object name as a selection criterion
Data type: TOBJ-OBJCTOptional: Yes
Call by Reference: No ( called with pass by value option)
OBJ7 - An object name as a selection criterion
Data type: TOBJ-OBJCTOptional: Yes
Call by Reference: No ( called with pass by value option)
PROFILE - Profile which should be deleted
Data type: USR10-PROFNDefault: 'MBTEST99'
Optional: Yes
Call by Reference: No ( called with pass by value option)
TABLES Parameters details for PROFIL_AUFLOESEN
AUTHLIST - List of authorizations referenced in the profile
Data type:Optional: No
Call by Reference: No ( called with pass by value option)
PROFLIST - List of profiles referenced in the composite profile
Data type:Optional: No
Call by Reference: No ( called with pass by value option)
EXCEPTIONS details
PROFILE_NOT_FOUND - Specified profile does not exist
Data type:Optional: No
Call by Reference: No ( called with pass by value option)
Copy and paste ABAP code example for PROFIL_AUFLOESEN 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_aktpas | TYPE USR10-AKTPS, " 'A' | |||
| lt_authlist | TYPE STANDARD TABLE OF USR10, " | |||
| lv_profile_not_found | TYPE USR10, " | |||
| lv_obj1 | TYPE TOBJ-OBJCT, " | |||
| lt_proflist | TYPE STANDARD TABLE OF TOBJ, " | |||
| lv_obj2 | TYPE TOBJ-OBJCT, " | |||
| lv_obj3 | TYPE TOBJ-OBJCT, " | |||
| lv_obj4 | TYPE TOBJ-OBJCT, " | |||
| lv_obj5 | TYPE TOBJ-OBJCT, " | |||
| lv_obj6 | TYPE TOBJ-OBJCT, " | |||
| lv_obj7 | TYPE TOBJ-OBJCT, " | |||
| lv_profile | TYPE USR10-PROFN. " 'MBTEST99' |
|   CALL FUNCTION 'PROFIL_AUFLOESEN' " |
| EXPORTING | ||
| AKTPAS | = lv_aktpas | |
| OBJ1 | = lv_obj1 | |
| OBJ2 | = lv_obj2 | |
| OBJ3 | = lv_obj3 | |
| OBJ4 | = lv_obj4 | |
| OBJ5 | = lv_obj5 | |
| OBJ6 | = lv_obj6 | |
| OBJ7 | = lv_obj7 | |
| PROFILE | = lv_profile | |
| TABLES | ||
| AUTHLIST | = lt_authlist | |
| PROFLIST | = lt_proflist | |
| EXCEPTIONS | ||
| PROFILE_NOT_FOUND = 1 | ||
| . " PROFIL_AUFLOESEN | ||
ABAP code using 7.40 inline data declarations to call FM PROFIL_AUFLOESEN
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.| "SELECT single AKTPS FROM USR10 INTO @DATA(ld_aktpas). | ||||
| DATA(ld_aktpas) | = 'A'. | |||
| "SELECT single OBJCT FROM TOBJ INTO @DATA(ld_obj1). | ||||
| "SELECT single OBJCT FROM TOBJ INTO @DATA(ld_obj2). | ||||
| "SELECT single OBJCT FROM TOBJ INTO @DATA(ld_obj3). | ||||
| "SELECT single OBJCT FROM TOBJ INTO @DATA(ld_obj4). | ||||
| "SELECT single OBJCT FROM TOBJ INTO @DATA(ld_obj5). | ||||
| "SELECT single OBJCT FROM TOBJ INTO @DATA(ld_obj6). | ||||
| "SELECT single OBJCT FROM TOBJ INTO @DATA(ld_obj7). | ||||
| "SELECT single PROFN FROM USR10 INTO @DATA(ld_profile). | ||||
| DATA(ld_profile) | = 'MBTEST99'. | |||
Search for further information about these or an SAP related objects