EXIT_SAPLWPCA_004 is a standard SAP function module available within R/3 SAP systems depending on your version and release level. Below is the pattern details for this FM showing its interface including any import and export parameters, exceptions etc as well as any documentation contributions (Comments) specific to the object.
See here to view full function module documentation and code listing, simply by entering the name EXIT_SAPLWPCA_004 into the relevant SAP transaction such as SE37 or SE80.
Associated Function Group:
XWWM
Released Date:
Not Released
Processing type: Normal fucntion module
CALL FUNCTION 'EXIT_SAPLWPCA_004' "Function Exit for Product Catalog IDoc Inbound Message Type PCITEMS
TABLES
px_t_return = " bapiret2 Return Parameters
* items = " bapipcwlbm Layout Area Items
* itemsx = " bapipcwlbmx Change Parameters for Layout Area Items
* itemtexts = " bapipcwlmt Layout Area Item Headings
* itemtextsx = " bapipcwlmtx Change Parameters for Headings
* materialdescriptions = " bapipcmakt Material Descriptions
* materialdescriptionsx = " bapipcmaktx Change Parameters for Material Short Texts
* itemlongtexts = " bapipcltext Layout Area Item Long Text Lines
* itemlongtextsx = " bapipcltextx Change Parameters for Long Text Lines
* itemprices = " bapipccond Prices of Layout Area Items
* itempricesx = " bapipccondx Change Parameters for Prices
* extensionin = " bapiparex Enhancement Parameters
. " EXIT_SAPLWPCA_004
The ABAP code below is a full code listing to execute function module EXIT_SAPLWPCA_004 including all data declarations. The code uses 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 original method of declaring data variables up front. 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).
| it_px_t_return | TYPE STANDARD TABLE OF BAPIRET2,"TABLES PARAM |
| wa_px_t_return | LIKE LINE OF it_px_t_return , |
| it_items | TYPE STANDARD TABLE OF BAPIPCWLBM,"TABLES PARAM |
| wa_items | LIKE LINE OF it_items , |
| it_itemsx | TYPE STANDARD TABLE OF BAPIPCWLBMX,"TABLES PARAM |
| wa_itemsx | LIKE LINE OF it_itemsx , |
| it_itemtexts | TYPE STANDARD TABLE OF BAPIPCWLMT,"TABLES PARAM |
| wa_itemtexts | LIKE LINE OF it_itemtexts , |
| it_itemtextsx | TYPE STANDARD TABLE OF BAPIPCWLMTX,"TABLES PARAM |
| wa_itemtextsx | LIKE LINE OF it_itemtextsx , |
| it_materialdescriptions | TYPE STANDARD TABLE OF BAPIPCMAKT,"TABLES PARAM |
| wa_materialdescriptions | LIKE LINE OF it_materialdescriptions , |
| it_materialdescriptionsx | TYPE STANDARD TABLE OF BAPIPCMAKTX,"TABLES PARAM |
| wa_materialdescriptionsx | LIKE LINE OF it_materialdescriptionsx , |
| it_itemlongtexts | TYPE STANDARD TABLE OF BAPIPCLTEXT,"TABLES PARAM |
| wa_itemlongtexts | LIKE LINE OF it_itemlongtexts , |
| it_itemlongtextsx | TYPE STANDARD TABLE OF BAPIPCLTEXTX,"TABLES PARAM |
| wa_itemlongtextsx | LIKE LINE OF it_itemlongtextsx , |
| it_itemprices | TYPE STANDARD TABLE OF BAPIPCCOND,"TABLES PARAM |
| wa_itemprices | LIKE LINE OF it_itemprices , |
| it_itempricesx | TYPE STANDARD TABLE OF BAPIPCCONDX,"TABLES PARAM |
| wa_itempricesx | LIKE LINE OF it_itempricesx , |
| it_extensionin | TYPE STANDARD TABLE OF BAPIPAREX,"TABLES PARAM |
| wa_extensionin | LIKE LINE OF it_extensionin . |
The below ABAP code uses the older none in-line data declarations. This allows you to see the coding differences/benefits of the later inline syntax. It may also be useful if you are using an older version of SAP as some of the newer syntax above, such as the @DATA is not available until 4.70 EHP 8.
DATA:
| it_px_t_return | TYPE STANDARD TABLE OF BAPIRET2 , |
| wa_px_t_return | LIKE LINE OF it_px_t_return, |
| it_items | TYPE STANDARD TABLE OF BAPIPCWLBM , |
| wa_items | LIKE LINE OF it_items, |
| it_itemsx | TYPE STANDARD TABLE OF BAPIPCWLBMX , |
| wa_itemsx | LIKE LINE OF it_itemsx, |
| it_itemtexts | TYPE STANDARD TABLE OF BAPIPCWLMT , |
| wa_itemtexts | LIKE LINE OF it_itemtexts, |
| it_itemtextsx | TYPE STANDARD TABLE OF BAPIPCWLMTX , |
| wa_itemtextsx | LIKE LINE OF it_itemtextsx, |
| it_materialdescriptions | TYPE STANDARD TABLE OF BAPIPCMAKT , |
| wa_materialdescriptions | LIKE LINE OF it_materialdescriptions, |
| it_materialdescriptionsx | TYPE STANDARD TABLE OF BAPIPCMAKTX , |
| wa_materialdescriptionsx | LIKE LINE OF it_materialdescriptionsx, |
| it_itemlongtexts | TYPE STANDARD TABLE OF BAPIPCLTEXT , |
| wa_itemlongtexts | LIKE LINE OF it_itemlongtexts, |
| it_itemlongtextsx | TYPE STANDARD TABLE OF BAPIPCLTEXTX , |
| wa_itemlongtextsx | LIKE LINE OF it_itemlongtextsx, |
| it_itemprices | TYPE STANDARD TABLE OF BAPIPCCOND , |
| wa_itemprices | LIKE LINE OF it_itemprices, |
| it_itempricesx | TYPE STANDARD TABLE OF BAPIPCCONDX , |
| wa_itempricesx | LIKE LINE OF it_itempricesx, |
| it_extensionin | TYPE STANDARD TABLE OF BAPIPAREX , |
| wa_extensionin | LIKE LINE OF it_extensionin. |
For a detailed description of the interface parameters, see the
documentation on module
...See here for full SAP fm documentation
Please help keep this info upto date and use the comments section below to add useful hints, tips and information specific to this SAP function. This will then be available for you and other users to easily find by simply searching on the object name EXIT_SAPLWPCA_004 or its description.
EXIT_SAPLWPCA_004 - Function Exit for Product Catalog IDoc Inbound Message Type PCITEMS EXIT_SAPLWPCA_003 - Function Exit for Product Catalog IDoc Inbound Message Type PCHEAD EXIT_SAPLWPCA_002 - Function Exit for Product Catalog IDoc Outbound Message Type PCITEMS EXIT_SAPLWPCA_001 - Function Exit for Product Catalog IDoc Outbound Message Type PCHEAD EXIT_SAPLWPAV_002 - Assign a Processing Area to a Workflow Task EXIT_SAPLWPAV_001 - POS Upload: Role Resolution