SAP BAPI_WRF_PPW_PRICEPLAN_GETLIST Function Module for
BAPI_WRF_PPW_PRICEPLAN_GETLIST is a standard bapi wrf ppw priceplan getlist 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 bapi wrf ppw priceplan getlist FM, simply by entering the name BAPI_WRF_PPW_PRICEPLAN_GETLIST into the relevant SAP transaction such as SE37 or SE38.
Function Group: WRF_PPW_BAPI_PRICE_PLAN
Program Name: SAPLWRF_PPW_BAPI_PRICE_PLAN
Main Program: SAPLWRF_PPW_BAPI
Appliation area:
Release date: 16-Dec-2010
Mode(Normal, Remote etc): Remote-Enabled
Update:

Function BAPI_WRF_PPW_PRICEPLAN_GETLIST 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 'BAPI_WRF_PPW_PRICEPLAN_GETLIST'".
EXPORTING
* BUDGETTYPE = "
* SALESORG = "
* DISTR_CHANNEL = "
* PRICEPLAN_VALID_FROM = "
* PRICEPLAN_VALID_TO = "
* SEASON = "
* SEASONYEAR = "
* HIERARCHY = "
TABLES
* CATEGORIES = "
* HIERARCHY_NODES = "
* MATGRP_HIER_NODES = "
* PRICELISTS = "
* PLANTS = "
* HEADERS = "
* RETURN = "
* STATUS = "
* DESCRIPTONS = "
* PROMOTIONS = "
* PRICEPLANS = "
* CREATEDBY = "
* PRICEPLANNER_GROUPS = "
* VALIDITY_START_DATES = "
* MATERIALS = "
IMPORTING Parameters details for BAPI_WRF_PPW_PRICEPLAN_GETLIST
BUDGETTYPE -
Data type: BAPI_WRF_PPW_PPD_GETL_HEAD_STY-BUDGETTYPEOptional: Yes
Call by Reference: No ( called with pass by value option)
SALESORG -
Data type: BAPI_WRF_PPW_PPD_GETL_HEAD_STY-SALESORGOptional: Yes
Call by Reference: No ( called with pass by value option)
DISTR_CHANNEL -
Data type: BAPI_WRF_PPW_PPD_GETL_HEAD_STY-DISTR_CHANNELOptional: Yes
Call by Reference: No ( called with pass by value option)
PRICEPLAN_VALID_FROM -
Data type: BAPI_WRF_PPW_PPD_GETL_HEAD_STY-VALID_FROMOptional: Yes
Call by Reference: No ( called with pass by value option)
PRICEPLAN_VALID_TO -
Data type: BAPI_WRF_PPW_PPD_GETL_HEAD_STY-VALID_TOOptional: Yes
Call by Reference: No ( called with pass by value option)
SEASON -
Data type: BAPI_WRF_PPW_PPD_DET_ITEM_STY-SEASONOptional: Yes
Call by Reference: No ( called with pass by value option)
SEASONYEAR -
Data type: BAPI_WRF_PPW_PPD_DET_ITEM_STY-SEASONYEAROptional: Yes
Call by Reference: No ( called with pass by value option)
HIERARCHY -
Data type: BAPI_WRF_PPW_PPD_DET_ITEM_STY-HIERARCHYOptional: Yes
Call by Reference: No ( called with pass by value option)
TABLES Parameters details for BAPI_WRF_PPW_PRICEPLAN_GETLIST
CATEGORIES -
Data type: BAPI_WRF_PPW_PPD_CATEGORY_RSTYOptional: Yes
Call by Reference: Yes
HIERARCHY_NODES -
Data type: BAPI_WRF_PPW_PPD_HIERNODE_RSTYOptional: Yes
Call by Reference: Yes
MATGRP_HIER_NODES -
Data type: BAPI_WRF_PPW_PPD_MATGHIER_RSTYOptional: Yes
Call by Reference: Yes
PRICELISTS -
Data type: BAPI_WRF_PPW_PPD_PRICLIST_RSTYOptional: Yes
Call by Reference: Yes
PLANTS -
Data type: BAPI_WRF_PPW_PPD_PLANT_RSTYOptional: Yes
Call by Reference: Yes
HEADERS -
Data type: BAPI_WRF_PPW_PPD_GETL_HEAD_STYOptional: Yes
Call by Reference: Yes
RETURN -
Data type: BAPIRET2Optional: Yes
Call by Reference: Yes
STATUS -
Data type: BAPI_WRF_PPW_PPD_STATUS_RSTYOptional: Yes
Call by Reference: Yes
DESCRIPTONS -
Data type: BAPI_WRF_PPW_PPD_DESCR_RSTYOptional: Yes
Call by Reference: Yes
PROMOTIONS -
Data type: BAPI_WRF_PPW_PPD_PROMO_RSTYOptional: Yes
Call by Reference: Yes
PRICEPLANS -
Data type: BAPI_WRF_PPW_PPD_PRICEPL_RSTYOptional: Yes
Call by Reference: Yes
CREATEDBY -
Data type: BAPI_WRF_PPW_PPD_CREATBY_RSTYOptional: Yes
Call by Reference: Yes
PRICEPLANNER_GROUPS -
Data type: BAPI_WRF_PPW_PPD_PPLANGR_RSTYOptional: Yes
Call by Reference: Yes
VALIDITY_START_DATES -
Data type: BAPI_WRF_PPW_PPD_VALDATE_RSTYOptional: Yes
Call by Reference: Yes
MATERIALS -
Data type: BAPI_WRF_PPW_PPD_MATERIAL_RSTYOptional: Yes
Call by Reference: Yes
Copy and paste ABAP code example for BAPI_WRF_PPW_PRICEPLAN_GETLIST 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_budgettype | TYPE BAPI_WRF_PPW_PPD_GETL_HEAD_STY-BUDGETTYPE, " | |||
| lt_categories | TYPE STANDARD TABLE OF BAPI_WRF_PPW_PPD_CATEGORY_RSTY, " | |||
| lt_hierarchy_nodes | TYPE STANDARD TABLE OF BAPI_WRF_PPW_PPD_HIERNODE_RSTY, " | |||
| lt_matgrp_hier_nodes | TYPE STANDARD TABLE OF BAPI_WRF_PPW_PPD_MATGHIER_RSTY, " | |||
| lt_pricelists | TYPE STANDARD TABLE OF BAPI_WRF_PPW_PPD_PRICLIST_RSTY, " | |||
| lt_plants | TYPE STANDARD TABLE OF BAPI_WRF_PPW_PPD_PLANT_RSTY, " | |||
| lt_headers | TYPE STANDARD TABLE OF BAPI_WRF_PPW_PPD_GETL_HEAD_STY, " | |||
| lt_return | TYPE STANDARD TABLE OF BAPIRET2, " | |||
| lt_status | TYPE STANDARD TABLE OF BAPI_WRF_PPW_PPD_STATUS_RSTY, " | |||
| lv_salesorg | TYPE BAPI_WRF_PPW_PPD_GETL_HEAD_STY-SALESORG, " | |||
| lt_descriptons | TYPE STANDARD TABLE OF BAPI_WRF_PPW_PPD_DESCR_RSTY, " | |||
| lv_distr_channel | TYPE BAPI_WRF_PPW_PPD_GETL_HEAD_STY-DISTR_CHANNEL, " | |||
| lt_promotions | TYPE STANDARD TABLE OF BAPI_WRF_PPW_PPD_PROMO_RSTY, " | |||
| lv_priceplan_valid_from | TYPE BAPI_WRF_PPW_PPD_GETL_HEAD_STY-VALID_FROM, " | |||
| lt_priceplans | TYPE STANDARD TABLE OF BAPI_WRF_PPW_PPD_PRICEPL_RSTY, " | |||
| lv_priceplan_valid_to | TYPE BAPI_WRF_PPW_PPD_GETL_HEAD_STY-VALID_TO, " | |||
| lv_season | TYPE BAPI_WRF_PPW_PPD_DET_ITEM_STY-SEASON, " | |||
| lt_createdby | TYPE STANDARD TABLE OF BAPI_WRF_PPW_PPD_CREATBY_RSTY, " | |||
| lv_seasonyear | TYPE BAPI_WRF_PPW_PPD_DET_ITEM_STY-SEASONYEAR, " | |||
| lt_priceplanner_groups | TYPE STANDARD TABLE OF BAPI_WRF_PPW_PPD_PPLANGR_RSTY, " | |||
| lv_hierarchy | TYPE BAPI_WRF_PPW_PPD_DET_ITEM_STY-HIERARCHY, " | |||
| lt_validity_start_dates | TYPE STANDARD TABLE OF BAPI_WRF_PPW_PPD_VALDATE_RSTY, " | |||
| lt_materials | TYPE STANDARD TABLE OF BAPI_WRF_PPW_PPD_MATERIAL_RSTY. " |
|   CALL FUNCTION 'BAPI_WRF_PPW_PRICEPLAN_GETLIST' " |
| EXPORTING | ||
| BUDGETTYPE | = lv_budgettype | |
| SALESORG | = lv_salesorg | |
| DISTR_CHANNEL | = lv_distr_channel | |
| PRICEPLAN_VALID_FROM | = lv_priceplan_valid_from | |
| PRICEPLAN_VALID_TO | = lv_priceplan_valid_to | |
| SEASON | = lv_season | |
| SEASONYEAR | = lv_seasonyear | |
| HIERARCHY | = lv_hierarchy | |
| TABLES | ||
| CATEGORIES | = lt_categories | |
| HIERARCHY_NODES | = lt_hierarchy_nodes | |
| MATGRP_HIER_NODES | = lt_matgrp_hier_nodes | |
| PRICELISTS | = lt_pricelists | |
| PLANTS | = lt_plants | |
| HEADERS | = lt_headers | |
| RETURN | = lt_return | |
| STATUS | = lt_status | |
| DESCRIPTONS | = lt_descriptons | |
| PROMOTIONS | = lt_promotions | |
| PRICEPLANS | = lt_priceplans | |
| CREATEDBY | = lt_createdby | |
| PRICEPLANNER_GROUPS | = lt_priceplanner_groups | |
| VALIDITY_START_DATES | = lt_validity_start_dates | |
| MATERIALS | = lt_materials | |
| . " BAPI_WRF_PPW_PRICEPLAN_GETLIST | ||
ABAP code using 7.40 inline data declarations to call FM BAPI_WRF_PPW_PRICEPLAN_GETLIST
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.| "SELECT single BUDGETTYPE FROM BAPI_WRF_PPW_PPD_GETL_HEAD_STY INTO @DATA(ld_budgettype). | ||||
| "SELECT single SALESORG FROM BAPI_WRF_PPW_PPD_GETL_HEAD_STY INTO @DATA(ld_salesorg). | ||||
| "SELECT single DISTR_CHANNEL FROM BAPI_WRF_PPW_PPD_GETL_HEAD_STY INTO @DATA(ld_distr_channel). | ||||
| "SELECT single VALID_FROM FROM BAPI_WRF_PPW_PPD_GETL_HEAD_STY INTO @DATA(ld_priceplan_valid_from). | ||||
| "SELECT single VALID_TO FROM BAPI_WRF_PPW_PPD_GETL_HEAD_STY INTO @DATA(ld_priceplan_valid_to). | ||||
| "SELECT single SEASON FROM BAPI_WRF_PPW_PPD_DET_ITEM_STY INTO @DATA(ld_season). | ||||
| "SELECT single SEASONYEAR FROM BAPI_WRF_PPW_PPD_DET_ITEM_STY INTO @DATA(ld_seasonyear). | ||||
| "SELECT single HIERARCHY FROM BAPI_WRF_PPW_PPD_DET_ITEM_STY INTO @DATA(ld_hierarchy). | ||||
Search for further information about these or an SAP related objects