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

Function CNPL_XSLT_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 'CNPL_XSLT_TRANSFORM'".
EXPORTING
* RFCDEST = ' ' "Logical destination (specified when calling function)
* CACHE_ID = ' ' "ABAP Program Name
* CLEAR_CACHE = ' ' "Single-Character Flag
* CONV_IN_XML = ' ' "Single-Character Flag
* CONV_IN_XSLT = ' ' "Single-Character Flag
* CONV_OUT_XML = ' ' "Single-Character Flag
IMPORTING
RETURN = "Return Parameter
TABLES
IN_XML = "Contains HTML for WWW client
IN_XSLT = "Contains HTML for WWW client
OUT_XML = "Contains HTML for WWW client
IMPORTING Parameters details for CNPL_XSLT_TRANSFORM
RFCDEST - Logical destination (specified when calling function)
Data type: RFCDESTDefault: SPACE
Optional: No
Call by Reference: No ( called with pass by value option)
CACHE_ID - ABAP Program Name
Data type: PROGNAMEDefault: SPACE
Optional: Yes
Call by Reference: No ( called with pass by value option)
CLEAR_CACHE - Single-Character Flag
Data type: CHAR1Default: SPACE
Optional: Yes
Call by Reference: No ( called with pass by value option)
CONV_IN_XML - Single-Character Flag
Data type: CHAR1Default: SPACE
Optional: Yes
Call by Reference: No ( called with pass by value option)
CONV_IN_XSLT - Single-Character Flag
Data type: CHAR1Default: SPACE
Optional: Yes
Call by Reference: No ( called with pass by value option)
CONV_OUT_XML - Single-Character Flag
Data type: CHAR1Default: SPACE
Optional: Yes
Call by Reference: No ( called with pass by value option)
EXPORTING Parameters details for CNPL_XSLT_TRANSFORM
RETURN - Return Parameter
Data type: BAPIRET1Optional: No
Call by Reference: No ( called with pass by value option)
TABLES Parameters details for CNPL_XSLT_TRANSFORM
IN_XML - Contains HTML for WWW client
Data type: WFF_T_XMLOptional: No
Call by Reference: No ( called with pass by value option)
IN_XSLT - Contains HTML for WWW client
Data type: WFF_T_XMLOptional: No
Call by Reference: No ( called with pass by value option)
OUT_XML - Contains HTML for WWW client
Data type: WFF_T_XMLOptional: No
Call by Reference: No ( called with pass by value option)
Copy and paste ABAP code example for CNPL_XSLT_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: | ||||
| lt_in_xml | TYPE STANDARD TABLE OF WFF_T_XML, " | |||
| lv_return | TYPE BAPIRET1, " | |||
| lv_rfcdest | TYPE RFCDEST, " SPACE | |||
| lt_in_xslt | TYPE STANDARD TABLE OF WFF_T_XML, " | |||
| lv_cache_id | TYPE PROGNAME, " SPACE | |||
| lt_out_xml | TYPE STANDARD TABLE OF WFF_T_XML, " | |||
| lv_clear_cache | TYPE CHAR1, " SPACE | |||
| lv_conv_in_xml | TYPE CHAR1, " SPACE | |||
| lv_conv_in_xslt | TYPE CHAR1, " SPACE | |||
| lv_conv_out_xml | TYPE CHAR1. " SPACE |
|   CALL FUNCTION 'CNPL_XSLT_TRANSFORM' " |
| EXPORTING | ||
| RFCDEST | = lv_rfcdest | |
| CACHE_ID | = lv_cache_id | |
| CLEAR_CACHE | = lv_clear_cache | |
| CONV_IN_XML | = lv_conv_in_xml | |
| CONV_IN_XSLT | = lv_conv_in_xslt | |
| CONV_OUT_XML | = lv_conv_out_xml | |
| IMPORTING | ||
| RETURN | = lv_return | |
| TABLES | ||
| IN_XML | = lt_in_xml | |
| IN_XSLT | = lt_in_xslt | |
| OUT_XML | = lt_out_xml | |
| . " CNPL_XSLT_TRANSFORM | ||
ABAP code using 7.40 inline data declarations to call FM CNPL_XSLT_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.| DATA(ld_rfcdest) | = ' '. | |||
| DATA(ld_cache_id) | = ' '. | |||
| DATA(ld_clear_cache) | = ' '. | |||
| DATA(ld_conv_in_xml) | = ' '. | |||
| DATA(ld_conv_in_xslt) | = ' '. | |||
| DATA(ld_conv_out_xml) | = ' '. | |||
Search for further information about these or an SAP related objects