SAP EXIT_SAPLWPCA_003 Function Module for Function Exit for Product Catalog IDoc Inbound Message Type PCHEAD
EXIT_SAPLWPCA_003 is a standard exit saplwpca 003 SAP function module available within SAP R/3 or S/4 Hana systems, depending on your version and release level. It is used for Function Exit for Product Catalog IDoc Inbound Message Type PCHEAD 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 exit saplwpca 003 FM, simply by entering the name EXIT_SAPLWPCA_003 into the relevant SAP transaction such as SE37 or SE38.
Function Group: XWWM
Program Name: SAPLXWWM
Main Program:
Appliation area: W
Release date: N/A
Mode(Normal, Remote etc): Normal Function Module
Update:

Function EXIT_SAPLWPCA_003 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 'EXIT_SAPLWPCA_003'"Function Exit for Product Catalog IDoc Inbound Message Type PCHEAD.
EXPORTING
* CATALOGBASEDATA = "Product Catalog Basic Data
* CATALOGBASEDATAX = "Basic Data Selection Parameters
* LAYOUT = "Product Catalog Layout
* LAYOUTX = "Layout Selection Parameters
TABLES
PX_T_RETURN = "Return Parameters
* AREAS = "Product Catalog Layout Areas
* AREASX = "Product Catalog Layout Areas Selection Parameters
* AREANAMES = "Layout Area Description
* AREANAMESX = "Layout Area Description Selection Parameters
* AREATEXTS = "Layout Area Texts
* AREATEXTSX = "Layout Area Text Selection Parameters
* AREALONGTEXTS = "Layout Area Long Texts
* AREALONGTEXTSX = "Layout Area Long Text Selection Parameters
* EXTENSIONIN = "Customer Enhancements
* CATALOGNAME = "Product catalog description
* CATALOGNAMEX = "Product Catalog Description Selection Parameters
* VARIANTS = "Product Catalog Variants
* VARIANTSX = "Production Catalog Variants Selection Parameters
* VARIANTNAMES = "Variant Description
* VARIANTNAMESX = "Variant Description Selection Parameters
* LAYOUTNAME = "Layout Description
* LAYOUTNAMEX = "Layout Description Selection Parameters
Related Function Modules
Below is a list of related SAP function modules this CUSTOMER FUNCTION exit / user exit is relevant for.ALE_PRODCAT_SAVEHEADREPLICA BAPI -> IDoc: ALE_PRODCAT_SAVEHEADREPLICA
ALE_PRODCAT_SAVEITEMSREPLICA BAPI -> IDoc: ALE_PRODCAT_SAVEITEMSREPLICA
F4IF_SHLP_EXIT_WPCNRRANR NOTRANSL: Suchhilfe-Exit für externen Layout-Nummernkreis
IDOC_INPUT_PCHEAD IDoc -> BAPI: IDOC_INPUT_PCHEAD
IDOC_INPUT_PCITEMS IDoc -> BAPI: IDOC_INPUT_PCITEMS
LOCK_BUFFER_REFRESH NOTRANSL: Rücksetzen der Sperr-Puffer der FG WPCA
MAP2E_LBPKOND_ALE_TO_BAPIPCCON NOTRANSL: lbpkond_ale -> bapipccond
MAP2E_TWGLVT_TO_BAPIPCTWGLVT NOTRANSL: twglvt -> bapipctwglvt
MAP2E_TWGLV_TO_BAPIPCTWGLV NOTRANSL: twglv -> bapipctwglv
MAP2E_TWGVT_TO_BAPIPCTWGVT NOTRANSL: twgvt -> bapipctwgvt
MAP2E_TWGV_TO_BAPIPCTWGV NOTRANSL: twgv -> bapipctwgv
MAP2E_WLBM_TO_BAPIPCWLBM NOTRANSL: wlbm -> bapipcwlbm
MAP2E_WLMT_TO_BAPIPCWLMT NOTRANSL: wlmt -> bapipcwlmt
MAP2E_WWMIT_TO_BAPIPCWWMIT NOTRANSL: wwmit -> bapipcwwmit
MAP2E_WWMI_TO_BAPIPCWWMI NOTRANSL: wwmi -> bapipcwwmi
MAP2E_WWMV_TO_BAPIPCWWMV NOTRANSL: wwmv -> bapipcwwmv
MAP2E_WWVT_TO_BAPIPCWWVT NOTRANSL: wwvt -> bapipcwwvt
MAP2I_BAPIPCTWGLVT_TO_TWGLVT NOTRANSL: bapipctwglvt -> twglvt
MAP2I_BAPIPCTWGLV_TO_TWGLV NOTRANSL: bapipctwglv -> twglv
MAP2I_BAPIPCTWGVT_TO_TWGVT NOTRANSL: bapipctwgvt -> twgvt
MAP2I_BAPIPCTWGV_TO_TWGV NOTRANSL: bapipctwgv -> twgv
MAP2I_BAPIPCWLBM_TO_WLBM NOTRANSL: bapipcwlbm -> wlbm
MAP2I_BAPIPCWLMT_TO_WLMT NOTRANSL: bapipcwlmt -> wlmt
MAP2I_BAPIPCWWMIT_TO_WWMIT NOTRANSL: bapipcwwmit -> wwmit
MAP2I_BAPIPCWWMI_TO_WWMI NOTRANSL: bapipcwwmi -> wwmi
MAP2I_BAPIPCWWMV_TO_WWMV NOTRANSL: bapipcwwmv -> wwmv
MAP2I_BAPIPCWWVT_TO_WWVT NOTRANSL: bapipcwwvt -> wwvt
MASTERIDOC_CREATE_SMD_PCHEAD ALE Outbound PCHEAD: Create Master IDoc from SMD
MASTERIDOC_CREATE_SMD_PCITEMS ALE Outbound PCITEMS: Create Master IDoc from SMD
PCHEAD_ALOG_WRITE NOTRANSL: ALE-Eingang PCHEAD: Anwendungslog schreiben
PCHEAD_DATA_FOR_KEYS_GET NOTRANSL: ALE-Ausgang PCHEAD: Daten zu Schlüsseln lesen
PCHEAD_KEYS_GET NOTRANSL: ALE-Ausgang PCHEAD: Schlüssel für Daten eines Produktkatalogs er
PCHEAD_LTEXT_MAINTAIN NOTRANSL: ALE-Eingang PCHEAD: Pflege von SAPScript-(Lang-)texten
PCHEAD_MASTERIDOCS_CREATE NOTRANSL: ALE-Ausgang PCHEAD: Erzeugen Masteridoc
PCHEAD_POST_PROCESS NOTRANSL: ALE-Eingang PCHEAD: Nachbearbeitung
PCHEAD_RECIPIENTS_GET NOTRANSL: ALE-Ausgang PCHEAD: Empfängerermittlung
PCHEAD_REPLICATE NOTRANSL: ALE-Ausgang PCHEAD: Daten replizieren
PCHEAD_REPLICATE_DXWB Replicate Basic and Structure Data of a Product Catalog (ALE Outbound)
PCHEAD_SMD_KEYS_GET NOTRANSL: ALE-Ausgang PCHEAD: Schlüssel geänderter Daten ermitteln
PCHEAD_TWGLVT_MAINTAIN NOTRANSL: ALE-Eingang PCHEAD: Pflege von TWGLVT-Daten
PCHEAD_TWGLV_MAINTAIN NOTRANSL: ALE-Eingang PCHEAD: Pflege von TWGLV-Daten
PCHEAD_TWGVT_MAINTAIN NOTRANSL: ALE-Eingang PCHEAD: Pflege von TWGVT-Daten
PCHEAD_TWGV_MAINTAIN NOTRANSL: ALE-Eingang PCHEAD: Pflege von TWGV-Daten
PCHEAD_UPDATE_PARAMETERS_SET NOTRANSL: ALE-Ausgang PCHEAD: Kennzeichnung aller Daten als änderungsrelev
PCHEAD_WLMT_MAINTAIN NOTRANSL: ALE-Eingang PCHEAD: Pflege von WLMT-Daten
PCHEAD_WWMIT_MAINTAIN NOTRANSL: ALE-Eingang PCHEAD: Pflege von WWMIT-Daten
PCHEAD_WWMI_MAINTAIN NOTRANSL: ALE-Eingang PCHEAD: Pflege von WWMI-Daten
PCHEAD_WWMV_MAINTAIN NOTRANSL: ALE-Eingang PCHEAD: Pflege von WWMV-Daten
PCHEAD_WWVT_MAINTAIN NOTRANSL: ALE-Eingang PCHEAD: Pflege von WWVT-Daten
PCITEMS_ALOG_WRITE NOTRANSL: ALE-Eingang PCITEMS: Anwendungslog schreiben
PCITEMS_DATA_FOR_KEYS_GET NOTRANSL: ALE-Ausgang PCITEMS: Daten zu Schlüsseln lesen
PCITEMS_KEYS_GET NOTRANSL: ALE-Ausgang PCITEMS: Schlüssel für Daten eines Produktkatalogs e
PCITEMS_LTEXT_MAINTAIN NOTRANSL: ALE-Eingang PCITEMS: Pflege von SAPScript-(Lang-)texten
PCITEMS_MASTERIDOCS_CREATE NOTRANSL: ALE-Ausgang PCITEMS: Erzeugen Masteridoc
PCITEMS_POST_PROCESS NOTRANSL: ALE-Eingang PCITEMS: Nachbearbeitung
PCITEMS_RECIPIENTS_GET NOTRANSL: ALE-Ausgang PCITEMS: Empfängerermittlung
PCITEMS_REPLICATE NOTRANSL: ALE-Ausgang PCITEMS: Daten replizieren
PCITEMS_REPLICATE_DXWB Replicate Item Data of a Product Catalog (ALE Outbound)
PCITEMS_SMD_KEYS_GET NOTRANSL: ALE-Ausgang PCITEMS: Schlüssel geänderter Daten ermitteln
PCITEMS_UPDATE_PARAMETERS_SET NOTRANSL: ALE-Ausgang PCITEMS: Kennzeichnung aller Daten als änderungsrele
PCITEMS_WLBM_MAINTAIN NOTRANSL: ALE-Eingang PCITEMS: Pflege von WLBM-Daten
PCITEMS_WLMT_MAINTAIN NOTRANSL: ALE-Eingang PCITEMS: Pflege von WLMT-Daten
PRODCAT_BUF_TO_DB NOTRANSL: ALE-Eingang Produktkatalog: Schreiben aller Daten von Puffer in
PRODCAT_DOCMAS_IDOCS_CREATE NOTRANSL: ALE-Ausgang Produktkatalog: IDOCs für zugeordnete Dokumente erze
PRODCAT_FILTEROBJ_GET_VALUE NOTRANSL: ALE-Ausgang Produktkatalog: Lesen der Werte zu den Filterobjekte
PRODCAT_STATUS_MESSAGE_GET NOTRANSL: ALE-Eingang Produktkatalog: Berechtigungsprüfung
PRODCAT_STORE_IDOC_AUTH_CHECK NOTRANSL: ALE-Eingang Produktkatalog: Berechtigungsprüfung
IMPORTING Parameters details for EXIT_SAPLWPCA_003
CATALOGBASEDATA - Product Catalog Basic Data
Data type: BAPIPCWWMIOptional: Yes
Call by Reference: No ( called with pass by value option)
CATALOGBASEDATAX - Basic Data Selection Parameters
Data type: BAPIPCWWMIXOptional: Yes
Call by Reference: No ( called with pass by value option)
LAYOUT - Product Catalog Layout
Data type: BAPIPCTWGVOptional: Yes
Call by Reference: No ( called with pass by value option)
LAYOUTX - Layout Selection Parameters
Data type: BAPIPCTWGVXOptional: Yes
Call by Reference: No ( called with pass by value option)
TABLES Parameters details for EXIT_SAPLWPCA_003
PX_T_RETURN - Return Parameters
Data type: BAPIRET2Optional: No
Call by Reference: No ( called with pass by value option)
AREAS - Product Catalog Layout Areas
Data type: BAPIPCTWGLVOptional: Yes
Call by Reference: No ( called with pass by value option)
AREASX - Product Catalog Layout Areas Selection Parameters
Data type: BAPIPCTWGLVXOptional: Yes
Call by Reference: No ( called with pass by value option)
AREANAMES - Layout Area Description
Data type: BAPIPCTWGLVTOptional: Yes
Call by Reference: No ( called with pass by value option)
AREANAMESX - Layout Area Description Selection Parameters
Data type: BAPIPCTWGLVTXOptional: Yes
Call by Reference: No ( called with pass by value option)
AREATEXTS - Layout Area Texts
Data type: BAPIPCWLMTOptional: Yes
Call by Reference: No ( called with pass by value option)
AREATEXTSX - Layout Area Text Selection Parameters
Data type: BAPIPCWLMTXOptional: Yes
Call by Reference: No ( called with pass by value option)
AREALONGTEXTS - Layout Area Long Texts
Data type: BAPIPCLTEXTOptional: Yes
Call by Reference: No ( called with pass by value option)
AREALONGTEXTSX - Layout Area Long Text Selection Parameters
Data type: BAPIPCLTEXTXOptional: Yes
Call by Reference: No ( called with pass by value option)
EXTENSIONIN - Customer Enhancements
Data type: BAPIPAREXOptional: Yes
Call by Reference: No ( called with pass by value option)
CATALOGNAME - Product catalog description
Data type: BAPIPCWWMITOptional: Yes
Call by Reference: No ( called with pass by value option)
CATALOGNAMEX - Product Catalog Description Selection Parameters
Data type: BAPIPCWWMITXOptional: Yes
Call by Reference: No ( called with pass by value option)
VARIANTS - Product Catalog Variants
Data type: BAPIPCWWMVOptional: Yes
Call by Reference: No ( called with pass by value option)
VARIANTSX - Production Catalog Variants Selection Parameters
Data type: BAPIPCWWMVXOptional: Yes
Call by Reference: No ( called with pass by value option)
VARIANTNAMES - Variant Description
Data type: BAPIPCWWVTOptional: Yes
Call by Reference: No ( called with pass by value option)
VARIANTNAMESX - Variant Description Selection Parameters
Data type: BAPIPCWWVTXOptional: Yes
Call by Reference: No ( called with pass by value option)
LAYOUTNAME - Layout Description
Data type: BAPIPCTWGVTOptional: Yes
Call by Reference: No ( called with pass by value option)
LAYOUTNAMEX - Layout Description Selection Parameters
Data type: BAPIPCTWGVTXOptional: Yes
Call by Reference: No ( called with pass by value option)
Copy and paste ABAP code example for EXIT_SAPLWPCA_003 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_px_t_return | TYPE STANDARD TABLE OF BAPIRET2, " | |||
| lv_catalogbasedata | TYPE BAPIPCWWMI, " | |||
| lt_areas | TYPE STANDARD TABLE OF BAPIPCTWGLV, " | |||
| lt_areasx | TYPE STANDARD TABLE OF BAPIPCTWGLVX, " | |||
| lt_areanames | TYPE STANDARD TABLE OF BAPIPCTWGLVT, " | |||
| lt_areanamesx | TYPE STANDARD TABLE OF BAPIPCTWGLVTX, " | |||
| lt_areatexts | TYPE STANDARD TABLE OF BAPIPCWLMT, " | |||
| lt_areatextsx | TYPE STANDARD TABLE OF BAPIPCWLMTX, " | |||
| lt_arealongtexts | TYPE STANDARD TABLE OF BAPIPCLTEXT, " | |||
| lt_arealongtextsx | TYPE STANDARD TABLE OF BAPIPCLTEXTX, " | |||
| lt_extensionin | TYPE STANDARD TABLE OF BAPIPAREX, " | |||
| lt_catalogname | TYPE STANDARD TABLE OF BAPIPCWWMIT, " | |||
| lv_catalogbasedatax | TYPE BAPIPCWWMIX, " | |||
| lv_layout | TYPE BAPIPCTWGV, " | |||
| lt_catalognamex | TYPE STANDARD TABLE OF BAPIPCWWMITX, " | |||
| lv_layoutx | TYPE BAPIPCTWGVX, " | |||
| lt_variants | TYPE STANDARD TABLE OF BAPIPCWWMV, " | |||
| lt_variantsx | TYPE STANDARD TABLE OF BAPIPCWWMVX, " | |||
| lt_variantnames | TYPE STANDARD TABLE OF BAPIPCWWVT, " | |||
| lt_variantnamesx | TYPE STANDARD TABLE OF BAPIPCWWVTX, " | |||
| lt_layoutname | TYPE STANDARD TABLE OF BAPIPCTWGVT, " | |||
| lt_layoutnamex | TYPE STANDARD TABLE OF BAPIPCTWGVTX. " |
|   CALL FUNCTION 'EXIT_SAPLWPCA_003' "Function Exit for Product Catalog IDoc Inbound Message Type PCHEAD |
| EXPORTING | ||
| CATALOGBASEDATA | = lv_catalogbasedata | |
| CATALOGBASEDATAX | = lv_catalogbasedatax | |
| LAYOUT | = lv_layout | |
| LAYOUTX | = lv_layoutx | |
| TABLES | ||
| PX_T_RETURN | = lt_px_t_return | |
| AREAS | = lt_areas | |
| AREASX | = lt_areasx | |
| AREANAMES | = lt_areanames | |
| AREANAMESX | = lt_areanamesx | |
| AREATEXTS | = lt_areatexts | |
| AREATEXTSX | = lt_areatextsx | |
| AREALONGTEXTS | = lt_arealongtexts | |
| AREALONGTEXTSX | = lt_arealongtextsx | |
| EXTENSIONIN | = lt_extensionin | |
| CATALOGNAME | = lt_catalogname | |
| CATALOGNAMEX | = lt_catalognamex | |
| VARIANTS | = lt_variants | |
| VARIANTSX | = lt_variantsx | |
| VARIANTNAMES | = lt_variantnames | |
| VARIANTNAMESX | = lt_variantnamesx | |
| LAYOUTNAME | = lt_layoutname | |
| LAYOUTNAMEX | = lt_layoutnamex | |
| . " EXIT_SAPLWPCA_003 | ||
ABAP code using 7.40 inline data declarations to call FM EXIT_SAPLWPCA_003
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.Search for further information about these or an SAP related objects