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

Function AIPJ_SELECTIONS_TRANSFORM 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 'AIPJ_SELECTIONS_TRANSFORM'".
EXPORTING
I_APPLICATION_CLASS = "
IMPORTING
ET_TRANSFORMED_SELECTIONS = "
ER_STATUS_MEA = "
ER_STATUS_REQ = "
ER_CHARAC_REQ = "
ER_MEAS_REQ = "
ES_ADDITIONAL_SELECTION_DATA = "
ES_SELECTED_FIELD_FLAGS = "
ES_GLOBAL_SELECTION_FLAGS = "
E_PARTNER_ROLE = "
E_PARTNER = "
ER_GJAHR = "
ER_WRTTP = "
ER_VALUTYP = "
ER_VERSN = "
CHANGING
CT_ORIGINAL_SELECTIONS = "
* CT_ADDITIONAL_SELECTIONS = "
CT_SELECTED_FIELDS = "
* CT_SENSITIVE_FIELDS = "
EXCEPTIONS
APPLICATION_CLASS_INVALID = 1 PARTNER_DATA_INVALID = 2
Customer Function user exits
Below is a list of CUSTOMER FUNCTION exit user exits that are available within this program and maybe relevant for this FM.EXIT_SAPLAIPJ_001 Inv. Prog. Drilldowns: Read Texts for User-Defined Characteristics
EXIT_SAPLAIPJ_002 Inv. Prog. Drilldowns: Check Values for User-Defined Characteristics
EXIT_SAPLAIPJ_003 App. Req. Drilldown: Read Texts for User-Defined Characteristics
EXIT_SAPLAIPJ_004 App. Req. Drilldown: Check Values for User-Defined Characteristics
EXIT_SAPLAIPJ_005 IM Summarization: Read Texts for User-Defined Characteristics
EXIT_SAPLAIPJ_006 IM Summarization: Check Values for User-Defined Characteristics
IMPORTING Parameters details for AIPJ_SELECTIONS_TRANSFORM
I_APPLICATION_CLASS -
Data type: TRSTHV-APPLOptional: No
Call by Reference: No ( called with pass by value option)
EXPORTING Parameters details for AIPJ_SELECTIONS_TRANSFORM
ET_TRANSFORMED_SELECTIONS -
Data type: IMIS_TYPE_T_CEDSTOptional: No
Call by Reference: Yes
ER_STATUS_MEA -
Data type: IMIS_TYPE_R_STATUSOptional: No
Call by Reference: Yes
ER_STATUS_REQ -
Data type: IMIS_TYPE_R_STATUSOptional: No
Call by Reference: Yes
ER_CHARAC_REQ -
Data type: IMIS_TYPE_R_CHARAC_REQOptional: No
Call by Reference: Yes
ER_MEAS_REQ -
Data type: IMIS_TYPE_R_MEAS_REQOptional: No
Call by Reference: Yes
ES_ADDITIONAL_SELECTION_DATA -
Data type: IMIS_TYPE_S_ADD_SELOptional: No
Call by Reference: No ( called with pass by value option)
ES_SELECTED_FIELD_FLAGS -
Data type: IMIS_TYPE_S_FIELD_FLAGSOptional: No
Call by Reference: No ( called with pass by value option)
ES_GLOBAL_SELECTION_FLAGS -
Data type: IMIS_TYPE_S_SEL_FLAGSOptional: No
Call by Reference: No ( called with pass by value option)
E_PARTNER_ROLE -
Data type: RIPASP-PARVWOptional: No
Call by Reference: No ( called with pass by value option)
E_PARTNER -
Data type: RIPASP-PARNROptional: No
Call by Reference: No ( called with pass by value option)
ER_GJAHR -
Data type: IMIS_TYPE_R_GJAHROptional: No
Call by Reference: Yes
ER_WRTTP -
Data type: IMIS_TYPE_R_WRTTPOptional: No
Call by Reference: Yes
ER_VALUTYP -
Data type: IMIS_TYPE_R_VALUTYPOptional: No
Call by Reference: Yes
ER_VERSN -
Data type: IMIS_TYPE_R_VERSNOptional: No
Call by Reference: Yes
CHANGING Parameters details for AIPJ_SELECTIONS_TRANSFORM
CT_ORIGINAL_SELECTIONS -
Data type: IMIS_TYPE_T_CEDSTOptional: No
Call by Reference: No ( called with pass by value option)
CT_ADDITIONAL_SELECTIONS -
Data type: IMIS_TYPE_T_CEDSTOptional: Yes
Call by Reference: No ( called with pass by value option)
CT_SELECTED_FIELDS -
Data type: IMIS_TYPE_T_CFBSF01Optional: No
Call by Reference: No ( called with pass by value option)
CT_SENSITIVE_FIELDS -
Data type: IMIS_TYPE_T_CFBSF01Optional: Yes
Call by Reference: No ( called with pass by value option)
EXCEPTIONS details
APPLICATION_CLASS_INVALID -
Data type:Optional: No
Call by Reference: No ( called with pass by value option)
PARTNER_DATA_INVALID -
Data type:Optional: No
Call by Reference: No ( called with pass by value option)
Copy and paste ABAP code example for AIPJ_SELECTIONS_TRANSFORM 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_i_application_class | TYPE TRSTHV-APPL, " | |||
| lv_ct_original_selections | TYPE IMIS_TYPE_T_CEDST, " | |||
| lv_application_class_invalid | TYPE IMIS_TYPE_T_CEDST, " | |||
| lv_et_transformed_selections | TYPE IMIS_TYPE_T_CEDST, " | |||
| lv_er_status_mea | TYPE IMIS_TYPE_R_STATUS, " | |||
| lv_er_status_req | TYPE IMIS_TYPE_R_STATUS, " | |||
| lv_er_charac_req | TYPE IMIS_TYPE_R_CHARAC_REQ, " | |||
| lv_er_meas_req | TYPE IMIS_TYPE_R_MEAS_REQ, " | |||
| lv_es_additional_selection_data | TYPE IMIS_TYPE_S_ADD_SEL, " | |||
| lv_partner_data_invalid | TYPE IMIS_TYPE_S_ADD_SEL, " | |||
| lv_es_selected_field_flags | TYPE IMIS_TYPE_S_FIELD_FLAGS, " | |||
| lv_ct_additional_selections | TYPE IMIS_TYPE_T_CEDST, " | |||
| lv_ct_selected_fields | TYPE IMIS_TYPE_T_CFBSF01, " | |||
| lv_es_global_selection_flags | TYPE IMIS_TYPE_S_SEL_FLAGS, " | |||
| lv_e_partner_role | TYPE RIPASP-PARVW, " | |||
| lv_ct_sensitive_fields | TYPE IMIS_TYPE_T_CFBSF01, " | |||
| lv_e_partner | TYPE RIPASP-PARNR, " | |||
| lv_er_gjahr | TYPE IMIS_TYPE_R_GJAHR, " | |||
| lv_er_wrttp | TYPE IMIS_TYPE_R_WRTTP, " | |||
| lv_er_valutyp | TYPE IMIS_TYPE_R_VALUTYP, " | |||
| lv_er_versn | TYPE IMIS_TYPE_R_VERSN. " |
|   CALL FUNCTION 'AIPJ_SELECTIONS_TRANSFORM' " |
| EXPORTING | ||
| I_APPLICATION_CLASS | = lv_i_application_class | |
| IMPORTING | ||
| ET_TRANSFORMED_SELECTIONS | = lv_et_transformed_selections | |
| ER_STATUS_MEA | = lv_er_status_mea | |
| ER_STATUS_REQ | = lv_er_status_req | |
| ER_CHARAC_REQ | = lv_er_charac_req | |
| ER_MEAS_REQ | = lv_er_meas_req | |
| ES_ADDITIONAL_SELECTION_DATA | = lv_es_additional_selection_data | |
| ES_SELECTED_FIELD_FLAGS | = lv_es_selected_field_flags | |
| ES_GLOBAL_SELECTION_FLAGS | = lv_es_global_selection_flags | |
| E_PARTNER_ROLE | = lv_e_partner_role | |
| E_PARTNER | = lv_e_partner | |
| ER_GJAHR | = lv_er_gjahr | |
| ER_WRTTP | = lv_er_wrttp | |
| ER_VALUTYP | = lv_er_valutyp | |
| ER_VERSN | = lv_er_versn | |
| CHANGING | ||
| CT_ORIGINAL_SELECTIONS | = lv_ct_original_selections | |
| CT_ADDITIONAL_SELECTIONS | = lv_ct_additional_selections | |
| CT_SELECTED_FIELDS | = lv_ct_selected_fields | |
| CT_SENSITIVE_FIELDS | = lv_ct_sensitive_fields | |
| EXCEPTIONS | ||
| APPLICATION_CLASS_INVALID = 1 | ||
| PARTNER_DATA_INVALID = 2 | ||
| . " AIPJ_SELECTIONS_TRANSFORM | ||
ABAP code using 7.40 inline data declarations to call FM AIPJ_SELECTIONS_TRANSFORM
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 APPL FROM TRSTHV INTO @DATA(ld_i_application_class). | ||||
| "SELECT single PARVW FROM RIPASP INTO @DATA(ld_e_partner_role). | ||||
| "SELECT single PARNR FROM RIPASP INTO @DATA(ld_e_partner). | ||||
Search for further information about these or an SAP related objects