PRICAT_PRODUCTLINE_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 PRICAT_PRODUCTLINE_GET into the relevant SAP transaction such as SE37 or SE80.
Associated Function Group:
PRICAT
Released Date:
Not Released
Processing type: Normal fucntion module
CALL FUNCTION 'PRICAT_PRODUCTLINE_GET' "PRICAT: Read All Details for a Catalog Item
EXPORTING
is_pricat_k001 = " pricat_k001 PRICAT: Catalog Header
iv_productgroup = " pricat_k003-productgroup PRICAT: PGI or assortment module from Pricat IDoc
iv_matnr = " pricat_k003-matnr Material
iv_validity_base = " pricat_k003-validity_base PRICAT: Datum, ab dem die angegebenen Änderung gültig werden
iv_check_data = C_YES " xfeld PPPPrüPrüfungen durchführen bzw. Protokollieren
IMPORTING
es_pricat_k003 = " pricat_k003 PRICAT: Transfer structure catalog header Pricat_K001
es_pricat_k003z = " pricat_k003z PRICAT: Catalog Item Basic Data Extras
TABLES
it_pricat_k00c = " tt_pricat_k00c PRICAT: Customer of a Price Catalog
* et_pricat_k003s = " tt_pricat_k003s PRICAT: Status of the Catalog Item per Customer
* et_pricat_k004 = " tt_pricat_k004 PRICAT: Catalog Item Units of Measure, Dimensions, Weights, EANs/UPCs
* et_pricat_k005 = " tt_pricat_k005 PRICAT: Catalog Item Texts
* et_pricat_k006 = " tt_pricat_k006 PRICAT: Catalog Item Characteristics
* et_pricat_k007 = " tt_pricat_k007 PRICAT: Catalog Item Bills of Material
* et_pricat_k008c = " tt_pricat_k008c PRICAT: Catalog Item Prices / Conditions / Taxes
* et_pricat_k009c = " tt_pricat_k009c PRICAT: Catalog Item Scales for the Condition for Each Customer
EXCEPTIONS
POSITION_NOT_GET = 1 " Item does not exist
PROFIL_NOT_FOUND = 2 " Profile Not Found
APPL_LOG_ERROR = 3 " Error in Log Processing
. " PRICAT_PRODUCTLINE_GET
The ABAP code below is a full code listing to execute function module PRICAT_PRODUCTLINE_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_es_pricat_k003 | TYPE PRICAT_K003 , |
| ld_es_pricat_k003z | TYPE PRICAT_K003Z , |
| it_it_pricat_k00c | TYPE STANDARD TABLE OF TT_PRICAT_K00C,"TABLES PARAM |
| wa_it_pricat_k00c | LIKE LINE OF it_it_pricat_k00c , |
| it_et_pricat_k003s | TYPE STANDARD TABLE OF TT_PRICAT_K003S,"TABLES PARAM |
| wa_et_pricat_k003s | LIKE LINE OF it_et_pricat_k003s , |
| it_et_pricat_k004 | TYPE STANDARD TABLE OF TT_PRICAT_K004,"TABLES PARAM |
| wa_et_pricat_k004 | LIKE LINE OF it_et_pricat_k004 , |
| it_et_pricat_k005 | TYPE STANDARD TABLE OF TT_PRICAT_K005,"TABLES PARAM |
| wa_et_pricat_k005 | LIKE LINE OF it_et_pricat_k005 , |
| it_et_pricat_k006 | TYPE STANDARD TABLE OF TT_PRICAT_K006,"TABLES PARAM |
| wa_et_pricat_k006 | LIKE LINE OF it_et_pricat_k006 , |
| it_et_pricat_k007 | TYPE STANDARD TABLE OF TT_PRICAT_K007,"TABLES PARAM |
| wa_et_pricat_k007 | LIKE LINE OF it_et_pricat_k007 , |
| it_et_pricat_k008c | TYPE STANDARD TABLE OF TT_PRICAT_K008C,"TABLES PARAM |
| wa_et_pricat_k008c | LIKE LINE OF it_et_pricat_k008c , |
| it_et_pricat_k009c | TYPE STANDARD TABLE OF TT_PRICAT_K009C,"TABLES PARAM |
| wa_et_pricat_k009c | LIKE LINE OF it_et_pricat_k009c . |
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_es_pricat_k003 | TYPE PRICAT_K003 , |
| ld_is_pricat_k001 | TYPE PRICAT_K001 , |
| it_it_pricat_k00c | TYPE STANDARD TABLE OF TT_PRICAT_K00C , |
| wa_it_pricat_k00c | LIKE LINE OF it_it_pricat_k00c, |
| ld_es_pricat_k003z | TYPE PRICAT_K003Z , |
| ld_iv_productgroup | TYPE PRICAT_K003-PRODUCTGROUP , |
| it_et_pricat_k003s | TYPE STANDARD TABLE OF TT_PRICAT_K003S , |
| wa_et_pricat_k003s | LIKE LINE OF it_et_pricat_k003s, |
| ld_iv_matnr | TYPE PRICAT_K003-MATNR , |
| it_et_pricat_k004 | TYPE STANDARD TABLE OF TT_PRICAT_K004 , |
| wa_et_pricat_k004 | LIKE LINE OF it_et_pricat_k004, |
| ld_iv_validity_base | TYPE PRICAT_K003-VALIDITY_BASE , |
| it_et_pricat_k005 | TYPE STANDARD TABLE OF TT_PRICAT_K005 , |
| wa_et_pricat_k005 | LIKE LINE OF it_et_pricat_k005, |
| ld_iv_check_data | TYPE XFELD , |
| it_et_pricat_k006 | TYPE STANDARD TABLE OF TT_PRICAT_K006 , |
| wa_et_pricat_k006 | LIKE LINE OF it_et_pricat_k006, |
| it_et_pricat_k007 | TYPE STANDARD TABLE OF TT_PRICAT_K007 , |
| wa_et_pricat_k007 | LIKE LINE OF it_et_pricat_k007, |
| it_et_pricat_k008c | TYPE STANDARD TABLE OF TT_PRICAT_K008C , |
| wa_et_pricat_k008c | LIKE LINE OF it_et_pricat_k008c, |
| it_et_pricat_k009c | TYPE STANDARD TABLE OF TT_PRICAT_K009C , |
| wa_et_pricat_k009c | LIKE LINE OF it_et_pricat_k009c. |
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 PRICAT_PRODUCTLINE_GET or its description.
PRICAT_PRODUCTLINE_GET - PRICAT: Read All Details for a Catalog Item PRICAT_PRODUCTLINE_DELETE - Delete a Line from the Catalog PRICAT_PRODUCTLINE_CHECK - PRICAT: Check a Catalog Item: Required Entry Fields and Plausibil. Che PRICAT_PRODUCTLINE_ADJUST - PRICAT: Read All Details for a Catalog Item PRICAT_PRODUCTLINES_SEARCH - PRICAT: Find Catalog Lines PRICAT_PRODUCTLINES_QUICKSEARC - PRICAT: Find Catalog Lines