PRODCAT_STATUS_MESSAGE_GET 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 PRODCAT_STATUS_MESSAGE_GET into the relevant SAP transaction such as SE37 or SE80.
Associated Function Group:
WPCA
Released Date:
Not Released
Processing type: Normal fucntion module
CALL FUNCTION 'PRODCAT_STATUS_MESSAGE_GET' "
* EXPORTING
* catalogbasedata = " bapipcwwmi
* layout = " bapipctwgv
IMPORTING
pe_return = " bapiret2
TABLES
px_t_return = " bapiret2
* catalogname = " bapipcwwmit
* variants = " bapipcwwmv
* variantnames = " bapipcwwvt
* layoutname = " bapipctwgvt
* areas = " bapipctwglv
* areanames = " bapipctwglvt
* areatexts = " bapipcwlmt
* arealongtexts = " bapipcltext
* items = " bapipcwlbm
* itemtexts = " bapipcwlmt
* materialdescriptions = " bapipcmakt
* itemlongtexts = " bapipcltext
* itemprices = " bapipccond
* extensionin = " bapiparex
. " PRODCAT_STATUS_MESSAGE_GET
The ABAP code below is a full code listing to execute function module PRODCAT_STATUS_MESSAGE_GET 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).
| ld_pe_return | TYPE BAPIRET2 , |
| it_px_t_return | TYPE STANDARD TABLE OF BAPIRET2,"TABLES PARAM |
| wa_px_t_return | LIKE LINE OF it_px_t_return , |
| it_catalogname | TYPE STANDARD TABLE OF BAPIPCWWMIT,"TABLES PARAM |
| wa_catalogname | LIKE LINE OF it_catalogname , |
| it_variants | TYPE STANDARD TABLE OF BAPIPCWWMV,"TABLES PARAM |
| wa_variants | LIKE LINE OF it_variants , |
| it_variantnames | TYPE STANDARD TABLE OF BAPIPCWWVT,"TABLES PARAM |
| wa_variantnames | LIKE LINE OF it_variantnames , |
| it_layoutname | TYPE STANDARD TABLE OF BAPIPCTWGVT,"TABLES PARAM |
| wa_layoutname | LIKE LINE OF it_layoutname , |
| it_areas | TYPE STANDARD TABLE OF BAPIPCTWGLV,"TABLES PARAM |
| wa_areas | LIKE LINE OF it_areas , |
| it_areanames | TYPE STANDARD TABLE OF BAPIPCTWGLVT,"TABLES PARAM |
| wa_areanames | LIKE LINE OF it_areanames , |
| it_areatexts | TYPE STANDARD TABLE OF BAPIPCWLMT,"TABLES PARAM |
| wa_areatexts | LIKE LINE OF it_areatexts , |
| it_arealongtexts | TYPE STANDARD TABLE OF BAPIPCLTEXT,"TABLES PARAM |
| wa_arealongtexts | LIKE LINE OF it_arealongtexts , |
| it_items | TYPE STANDARD TABLE OF BAPIPCWLBM,"TABLES PARAM |
| wa_items | LIKE LINE OF it_items , |
| it_itemtexts | TYPE STANDARD TABLE OF BAPIPCWLMT,"TABLES PARAM |
| wa_itemtexts | LIKE LINE OF it_itemtexts , |
| it_materialdescriptions | TYPE STANDARD TABLE OF BAPIPCMAKT,"TABLES PARAM |
| wa_materialdescriptions | LIKE LINE OF it_materialdescriptions , |
| it_itemlongtexts | TYPE STANDARD TABLE OF BAPIPCLTEXT,"TABLES PARAM |
| wa_itemlongtexts | LIKE LINE OF it_itemlongtexts , |
| it_itemprices | TYPE STANDARD TABLE OF BAPIPCCOND,"TABLES PARAM |
| wa_itemprices | LIKE LINE OF it_itemprices , |
| 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:
| ld_pe_return | TYPE BAPIRET2 , |
| ld_catalogbasedata | TYPE BAPIPCWWMI , |
| it_px_t_return | TYPE STANDARD TABLE OF BAPIRET2 , |
| wa_px_t_return | LIKE LINE OF it_px_t_return, |
| ld_layout | TYPE BAPIPCTWGV , |
| it_catalogname | TYPE STANDARD TABLE OF BAPIPCWWMIT , |
| wa_catalogname | LIKE LINE OF it_catalogname, |
| it_variants | TYPE STANDARD TABLE OF BAPIPCWWMV , |
| wa_variants | LIKE LINE OF it_variants, |
| it_variantnames | TYPE STANDARD TABLE OF BAPIPCWWVT , |
| wa_variantnames | LIKE LINE OF it_variantnames, |
| it_layoutname | TYPE STANDARD TABLE OF BAPIPCTWGVT , |
| wa_layoutname | LIKE LINE OF it_layoutname, |
| it_areas | TYPE STANDARD TABLE OF BAPIPCTWGLV , |
| wa_areas | LIKE LINE OF it_areas, |
| it_areanames | TYPE STANDARD TABLE OF BAPIPCTWGLVT , |
| wa_areanames | LIKE LINE OF it_areanames, |
| it_areatexts | TYPE STANDARD TABLE OF BAPIPCWLMT , |
| wa_areatexts | LIKE LINE OF it_areatexts, |
| it_arealongtexts | TYPE STANDARD TABLE OF BAPIPCLTEXT , |
| wa_arealongtexts | LIKE LINE OF it_arealongtexts, |
| it_items | TYPE STANDARD TABLE OF BAPIPCWLBM , |
| wa_items | LIKE LINE OF it_items, |
| it_itemtexts | TYPE STANDARD TABLE OF BAPIPCWLMT , |
| wa_itemtexts | LIKE LINE OF it_itemtexts, |
| it_materialdescriptions | TYPE STANDARD TABLE OF BAPIPCMAKT , |
| wa_materialdescriptions | LIKE LINE OF it_materialdescriptions, |
| it_itemlongtexts | TYPE STANDARD TABLE OF BAPIPCLTEXT , |
| wa_itemlongtexts | LIKE LINE OF it_itemlongtexts, |
| it_itemprices | TYPE STANDARD TABLE OF BAPIPCCOND , |
| wa_itemprices | LIKE LINE OF it_itemprices, |
| it_extensionin | TYPE STANDARD TABLE OF BAPIPAREX , |
| wa_extensionin | LIKE LINE OF it_extensionin. |
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 PRODCAT_STATUS_MESSAGE_GET or its description.