SAP FPB_LAUNCHPAD_WHICH_OBJTYPES Function Module for NOTRANSL: welche Objekttypen gibt es für Rolle Instanz
FPB_LAUNCHPAD_WHICH_OBJTYPES is a standard fpb launchpad which objtypes SAP function module available within SAP R/3 or S/4 Hana systems, depending on your version and release level. It is used for NOTRANSL: welche Objekttypen gibt es für Rolle Instanz processing and below is the pattern details for this FM, 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 fpb launchpad which objtypes FM, simply by entering the name FPB_LAUNCHPAD_WHICH_OBJTYPES into the relevant SAP transaction such as SE37 or SE38.
Function Group: FPB_LAUNCHPAD_3
Program Name: SAPLFPB_LAUNCHPAD_3
Main Program: SAPLFPB_LAUNCHPAD_3
Appliation area:
Release date: N/A
Mode(Normal, Remote etc): Remote-Enabled
Update:

Function FPB_LAUNCHPAD_WHICH_OBJTYPES 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 'FPB_LAUNCHPAD_WHICH_OBJTYPES'"NOTRANSL: welche Objekttypen gibt es für Rolle Instanz.
EXPORTING
* ID_ROLE = ' ' "Role
* ID_INSTANCE = ' ' "Application Class
* ID_NO_TEXT = ' ' "Single-Character Indicator
IMPORTING
ET_OBJECTTYPES = "Object Types for (Role, Instance)
EXCEPTIONS
INTERNAL_ERROR = 1 INVALID_PARAMS = 2 FLEXGL_ERROR = 3
IMPORTING Parameters details for FPB_LAUNCHPAD_WHICH_OBJTYPES
ID_ROLE - Role
Data type: FPB_ROLEDefault: SPACE
Optional: Yes
Call by Reference: No ( called with pass by value option)
ID_INSTANCE - Application Class
Data type: FPB_APPLDefault: SPACE
Optional: Yes
Call by Reference: No ( called with pass by value option)
ID_NO_TEXT - Single-Character Indicator
Data type: CHAR1Default: SPACE
Optional: Yes
Call by Reference: No ( called with pass by value option)
EXPORTING Parameters details for FPB_LAUNCHPAD_WHICH_OBJTYPES
ET_OBJECTTYPES - Object Types for (Role, Instance)
Data type: FPB_RL_T_OBJECTTYPESOptional: No
Call by Reference: No ( called with pass by value option)
EXCEPTIONS details
INTERNAL_ERROR - Internal error
Data type:Optional: No
Call by Reference: Yes
INVALID_PARAMS - DE-EN-LANG-SWITCH-NO-TRANSLATION
Data type:Optional: No
Call by Reference: Yes
FLEXGL_ERROR - DE-EN-LANG-SWITCH-NO-TRANSLATION
Data type:Optional: No
Call by Reference: Yes
Copy and paste ABAP code example for FPB_LAUNCHPAD_WHICH_OBJTYPES 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_id_role | TYPE FPB_ROLE, " SPACE | |||
| lv_et_objecttypes | TYPE FPB_RL_T_OBJECTTYPES, " | |||
| lv_internal_error | TYPE FPB_RL_T_OBJECTTYPES, " | |||
| lv_id_instance | TYPE FPB_APPL, " SPACE | |||
| lv_invalid_params | TYPE FPB_APPL, " | |||
| lv_id_no_text | TYPE CHAR1, " SPACE | |||
| lv_flexgl_error | TYPE CHAR1. " |
|   CALL FUNCTION 'FPB_LAUNCHPAD_WHICH_OBJTYPES' "NOTRANSL: welche Objekttypen gibt es für Rolle Instanz |
| EXPORTING | ||
| ID_ROLE | = lv_id_role | |
| ID_INSTANCE | = lv_id_instance | |
| ID_NO_TEXT | = lv_id_no_text | |
| IMPORTING | ||
| ET_OBJECTTYPES | = lv_et_objecttypes | |
| EXCEPTIONS | ||
| INTERNAL_ERROR = 1 | ||
| INVALID_PARAMS = 2 | ||
| FLEXGL_ERROR = 3 | ||
| . " FPB_LAUNCHPAD_WHICH_OBJTYPES | ||
ABAP code using 7.40 inline data declarations to call FM FPB_LAUNCHPAD_WHICH_OBJTYPES
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_id_role) | = ' '. | |||
| DATA(ld_id_instance) | = ' '. | |||
| DATA(ld_id_no_text) | = ' '. | |||
Search for further information about these or an SAP related objects