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

Function FPCOMP_CREATE_PDX 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 'FPCOMP_CREATE_PDX'".
EXPORTING
* I_CONNECTION = "
* I_XFTFILE = "
* I_PDFFILE = "
* I_PDLFILE = "
* I_PDLTYPE = "PDL Type
* I_XDCNAME = "XDC Name
* I_XDCOWNER = "
* I_CREATE_PDF = ABAP_TRUE "
* I_CREATE_PDL = ABAP_TRUE "
* I_LOCALE = "
* I_FILLABLE = ' ' "
* IV_USE_LOGICAL_PORT = ABAP_FALSE "
* I_UPDATE_INTERACTION_CODE = ABAP_FALSE "
* I_DYNAMIC = ABAP_FALSE "
* I_FONTMAP = "
* I_TRACE_LEVEL = 0 "
* I_FORM_NAME = "
* I_TAGGED_PDF = ABAP_TRUE "
* I_NO_PRINT = "
* I_CHANGES_RESTRICTED = ' ' "
* I_PDF_VERSION = "
* I_CONCATENATED_PDF = ABAP_FALSE "
* IV_LOGICAL_PORT = "
* I_STITCHED_PDF = ABAP_FALSE "
* I_PDF_NORM = "
* I_CACHE_INFO = "
I_BUNDLE_TEMPLATE_INFO = "
* I_JOB_PROFILE = "
* IV_SYNCHRONOUS = "
* IS_PARAMETERS = "
* I_XFD = "
* I_XFDFILE = "
* I_DATADEPTH = '1' "
* I_XFT = "XFT Data
IMPORTING
E_PDF = "PDF Data
E_PDL = "PDL Data
E_RENDERPAGECOUNT = "
EXCEPTIONS
CX_FP_RUNTIME = 1
IMPORTING Parameters details for FPCOMP_CREATE_PDX
I_CONNECTION -
Data type: RFCDESTOptional: Yes
Call by Reference: Yes
I_XFTFILE -
Data type: FPFILEOptional: Yes
Call by Reference: Yes
I_PDFFILE -
Data type: FPFILEOptional: Yes
Call by Reference: Yes
I_PDLFILE -
Data type: FPFILEOptional: Yes
Call by Reference: Yes
I_PDLTYPE - PDL Type
Data type: FPPDLTYPEOptional: Yes
Call by Reference: Yes
I_XDCNAME - XDC Name
Data type: FPXDCNAMEOptional: Yes
Call by Reference: Yes
I_XDCOWNER -
Data type: FPOWNEROptional: Yes
Call by Reference: Yes
I_CREATE_PDF -
Data type: FPBOOLEANDefault: ABAP_TRUE
Optional: Yes
Call by Reference: Yes
I_CREATE_PDL -
Data type: FPBOOLEANDefault: ABAP_TRUE
Optional: Yes
Call by Reference: Yes
I_LOCALE -
Data type: STRINGOptional: Yes
Call by Reference: Yes
I_FILLABLE -
Data type: FPINTERACTIVEDefault: SPACE
Optional: Yes
Call by Reference: No ( called with pass by value option)
IV_USE_LOGICAL_PORT -
Data type: FPBOOLEANDefault: ABAP_FALSE
Optional: Yes
Call by Reference: No ( called with pass by value option)
I_UPDATE_INTERACTION_CODE -
Data type: FPBOOLEANDefault: ABAP_FALSE
Optional: Yes
Call by Reference: No ( called with pass by value option)
I_DYNAMIC -
Data type: FPDYNAMICDefault: ABAP_FALSE
Optional: Yes
Call by Reference: No ( called with pass by value option)
I_FONTMAP -
Data type: TFPFONTMAPOptional: Yes
Call by Reference: Yes
I_TRACE_LEVEL -
Data type: FPADSTRLOptional: Yes
Call by Reference: No ( called with pass by value option)
I_FORM_NAME -
Data type: FPNAMEOptional: Yes
Call by Reference: No ( called with pass by value option)
I_TAGGED_PDF -
Data type: FPBOOLEANDefault: ABAP_TRUE
Optional: Yes
Call by Reference: No ( called with pass by value option)
I_NO_PRINT -
Data type: FPNOPRINTOptional: Yes
Call by Reference: No ( called with pass by value option)
I_CHANGES_RESTRICTED -
Data type: FPCHANGESRESTRICTEDDefault: SPACE
Optional: Yes
Call by Reference: No ( called with pass by value option)
I_PDF_VERSION -
Data type: FPPDFVERSIONOptional: Yes
Call by Reference: No ( called with pass by value option)
I_CONCATENATED_PDF -
Data type: FPBOOLEANDefault: ABAP_FALSE
Optional: Yes
Call by Reference: No ( called with pass by value option)
IV_LOGICAL_PORT -
Data type: PRX_LOGICAL_PORT_NAMEOptional: Yes
Call by Reference: No ( called with pass by value option)
I_STITCHED_PDF -
Data type: FPBOOLEANDefault: ABAP_FALSE
Optional: Yes
Call by Reference: No ( called with pass by value option)
I_PDF_NORM -
Data type: FPPDFNORMOptional: Yes
Call by Reference: Yes
I_CACHE_INFO -
Data type: FPCACHEINFOOptional: Yes
Call by Reference: Yes
I_BUNDLE_TEMPLATE_INFO -
Data type: TFPTEMPLATEINFOOptional: No
Call by Reference: Yes
I_JOB_PROFILE -
Data type: FPJOBPROFILEOptional: Yes
Call by Reference: No ( called with pass by value option)
IV_SYNCHRONOUS -
Data type: FPBOOLEANOptional: Yes
Call by Reference: No ( called with pass by value option)
IS_PARAMETERS -
Data type: PROCESS_REQUESTOptional: Yes
Call by Reference: Yes
I_XFD -
Data type: FPCONTENTOptional: Yes
Call by Reference: Yes
I_XFDFILE -
Data type: FPFILEOptional: Yes
Call by Reference: Yes
I_DATADEPTH -
Data type: FPDATADEPTHDefault: '1'
Optional: Yes
Call by Reference: Yes
I_XFT - XFT Data
Data type: FPCONTENTOptional: Yes
Call by Reference: Yes
EXPORTING Parameters details for FPCOMP_CREATE_PDX
E_PDF - PDF Data
Data type: FPCONTENTOptional: No
Call by Reference: Yes
E_PDL - PDL Data
Data type: FPCONTENTOptional: No
Call by Reference: Yes
E_RENDERPAGECOUNT -
Data type: FPPAGECOUNTOptional: No
Call by Reference: Yes
EXCEPTIONS details
CX_FP_RUNTIME -
Data type:Optional: No
Call by Reference: Yes
Copy and paste ABAP code example for FPCOMP_CREATE_PDX 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_e_pdf | TYPE FPCONTENT, " | |||
| lv_i_connection | TYPE RFCDEST, " | |||
| lv_cx_fp_runtime | TYPE RFCDEST, " | |||
| lv_i_xftfile | TYPE FPFILE, " | |||
| lv_i_pdffile | TYPE FPFILE, " | |||
| lv_i_pdlfile | TYPE FPFILE, " | |||
| lv_i_pdltype | TYPE FPPDLTYPE, " | |||
| lv_i_xdcname | TYPE FPXDCNAME, " | |||
| lv_i_xdcowner | TYPE FPOWNER, " | |||
| lv_i_create_pdf | TYPE FPBOOLEAN, " ABAP_TRUE | |||
| lv_i_create_pdl | TYPE FPBOOLEAN, " ABAP_TRUE | |||
| lv_i_locale | TYPE STRING, " | |||
| lv_i_fillable | TYPE FPINTERACTIVE, " SPACE | |||
| lv_e_pdl | TYPE FPCONTENT, " | |||
| lv_iv_use_logical_port | TYPE FPBOOLEAN, " ABAP_FALSE | |||
| lv_i_update_interaction_code | TYPE FPBOOLEAN, " ABAP_FALSE | |||
| lv_i_dynamic | TYPE FPDYNAMIC, " ABAP_FALSE | |||
| lv_i_fontmap | TYPE TFPFONTMAP, " | |||
| lv_i_trace_level | TYPE FPADSTRL, " 0 | |||
| lv_i_form_name | TYPE FPNAME, " | |||
| lv_i_tagged_pdf | TYPE FPBOOLEAN, " ABAP_TRUE | |||
| lv_i_no_print | TYPE FPNOPRINT, " | |||
| lv_i_changes_restricted | TYPE FPCHANGESRESTRICTED, " SPACE | |||
| lv_i_pdf_version | TYPE FPPDFVERSION, " | |||
| lv_i_concatenated_pdf | TYPE FPBOOLEAN, " ABAP_FALSE | |||
| lv_iv_logical_port | TYPE PRX_LOGICAL_PORT_NAME, " | |||
| lv_e_renderpagecount | TYPE FPPAGECOUNT, " | |||
| lv_i_stitched_pdf | TYPE FPBOOLEAN, " ABAP_FALSE | |||
| lv_i_pdf_norm | TYPE FPPDFNORM, " | |||
| lv_i_cache_info | TYPE FPCACHEINFO, " | |||
| lv_i_bundle_template_info | TYPE TFPTEMPLATEINFO, " | |||
| lv_i_job_profile | TYPE FPJOBPROFILE, " | |||
| lv_iv_synchronous | TYPE FPBOOLEAN, " | |||
| lv_is_parameters | TYPE PROCESS_REQUEST, " | |||
| lv_i_xfd | TYPE FPCONTENT, " | |||
| lv_i_xfdfile | TYPE FPFILE, " | |||
| lv_i_datadepth | TYPE FPDATADEPTH, " '1' | |||
| lv_i_xft | TYPE FPCONTENT. " |
|   CALL FUNCTION 'FPCOMP_CREATE_PDX' " |
| EXPORTING | ||
| I_CONNECTION | = lv_i_connection | |
| I_XFTFILE | = lv_i_xftfile | |
| I_PDFFILE | = lv_i_pdffile | |
| I_PDLFILE | = lv_i_pdlfile | |
| I_PDLTYPE | = lv_i_pdltype | |
| I_XDCNAME | = lv_i_xdcname | |
| I_XDCOWNER | = lv_i_xdcowner | |
| I_CREATE_PDF | = lv_i_create_pdf | |
| I_CREATE_PDL | = lv_i_create_pdl | |
| I_LOCALE | = lv_i_locale | |
| I_FILLABLE | = lv_i_fillable | |
| IV_USE_LOGICAL_PORT | = lv_iv_use_logical_port | |
| I_UPDATE_INTERACTION_CODE | = lv_i_update_interaction_code | |
| I_DYNAMIC | = lv_i_dynamic | |
| I_FONTMAP | = lv_i_fontmap | |
| I_TRACE_LEVEL | = lv_i_trace_level | |
| I_FORM_NAME | = lv_i_form_name | |
| I_TAGGED_PDF | = lv_i_tagged_pdf | |
| I_NO_PRINT | = lv_i_no_print | |
| I_CHANGES_RESTRICTED | = lv_i_changes_restricted | |
| I_PDF_VERSION | = lv_i_pdf_version | |
| I_CONCATENATED_PDF | = lv_i_concatenated_pdf | |
| IV_LOGICAL_PORT | = lv_iv_logical_port | |
| I_STITCHED_PDF | = lv_i_stitched_pdf | |
| I_PDF_NORM | = lv_i_pdf_norm | |
| I_CACHE_INFO | = lv_i_cache_info | |
| I_BUNDLE_TEMPLATE_INFO | = lv_i_bundle_template_info | |
| I_JOB_PROFILE | = lv_i_job_profile | |
| IV_SYNCHRONOUS | = lv_iv_synchronous | |
| IS_PARAMETERS | = lv_is_parameters | |
| I_XFD | = lv_i_xfd | |
| I_XFDFILE | = lv_i_xfdfile | |
| I_DATADEPTH | = lv_i_datadepth | |
| I_XFT | = lv_i_xft | |
| IMPORTING | ||
| E_PDF | = lv_e_pdf | |
| E_PDL | = lv_e_pdl | |
| E_RENDERPAGECOUNT | = lv_e_renderpagecount | |
| EXCEPTIONS | ||
| CX_FP_RUNTIME = 1 | ||
| . " FPCOMP_CREATE_PDX | ||
ABAP code using 7.40 inline data declarations to call FM FPCOMP_CREATE_PDX
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_i_create_pdf) | = ABAP_TRUE. | |||
| DATA(ld_i_create_pdl) | = ABAP_TRUE. | |||
| DATA(ld_i_fillable) | = ' '. | |||
| DATA(ld_iv_use_logical_port) | = ABAP_FALSE. | |||
| DATA(ld_i_update_interaction_code) | = ABAP_FALSE. | |||
| DATA(ld_i_dynamic) | = ABAP_FALSE. | |||
| DATA(ld_i_tagged_pdf) | = ABAP_TRUE. | |||
| DATA(ld_i_changes_restricted) | = ' '. | |||
| DATA(ld_i_concatenated_pdf) | = ABAP_FALSE. | |||
| DATA(ld_i_stitched_pdf) | = ABAP_FALSE. | |||
| DATA(ld_i_datadepth) | = '1'. | |||
Search for further information about these or an SAP related objects