SAP BAPI_KANBANCC_GETLIST Function Module for Determine Kanban Control Cycles That Satisfy Selection Criteria
BAPI_KANBANCC_GETLIST is a standard bapi kanbancc getlist SAP function module available within SAP R/3 or S/4 Hana systems, depending on your version and release level. It is used for Determine Kanban Control Cycles That Satisfy Selection Criteria 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 bapi kanbancc getlist FM, simply by entering the name BAPI_KANBANCC_GETLIST into the relevant SAP transaction such as SE37 or SE38.
Function Group: MPKV
Program Name: SAPLMPKV
Main Program: SAPLMPKV
Appliation area: M
Release date: 26-Oct-2009
Mode(Normal, Remote etc): Remote-Enabled
Update:

Function BAPI_KANBANCC_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_KANBANCC_GETLIST'"Determine Kanban Control Cycles That Satisfy Selection Criteria.
EXPORTING
* MAXROWS = 500 "Maximum Number of Data Records Read
IMPORTING
RETURN = "Message if Function not Possible
TABLES
* KANBANCONTROLCYCLERANGE = "Selection Table for Control Cycle Number
* LIFECYCLERANGE = "Selection Table for Lifecycle Status
KANBANCONTROLCYCLELIST = "List of Control Cycles
* MATERIALRANGE = "Selection Table for Material
* PLANTRANGE = "Selection Table for Plant
* SUPPLYAREARANGE = "Selection Table for Supply Area
* RESP_SUPPLYSOURCERANGE = "Selection Table for Person Responsible for Supply Source
* PURCH_ORGRANGE = "Selection Table for Purchasing Organization
* VENDORRANGE = "Selection Table for Vendor
* ISSUINGPLANTRANGE = "Selection Table for Supplying Plant
* ISSUINGSTGE_LOCRANGE = "Selection Table for Supplying Storage Location
IMPORTING Parameters details for BAPI_KANBANCC_GETLIST
MAXROWS - Maximum Number of Data Records Read
Data type: BAPI1075_GENERAL-MAXROWSDefault: 500
Optional: Yes
Call by Reference: No ( called with pass by value option)
EXPORTING Parameters details for BAPI_KANBANCC_GETLIST
RETURN - Message if Function not Possible
Data type: BAPIRET2Optional: No
Call by Reference: No ( called with pass by value option)
TABLES Parameters details for BAPI_KANBANCC_GETLIST
KANBANCONTROLCYCLERANGE - Selection Table for Control Cycle Number
Data type: BAPI1172_PKNUM_RANGEOptional: Yes
Call by Reference: No ( called with pass by value option)
LIFECYCLERANGE - Selection Table for Lifecycle Status
Data type: BAPI1172_LIFECYCLE_RANGEOptional: Yes
Call by Reference: Yes
KANBANCONTROLCYCLELIST - List of Control Cycles
Data type: BAPI1172_LISTOptional: No
Call by Reference: No ( called with pass by value option)
MATERIALRANGE - Selection Table for Material
Data type: BAPIMATRAMOptional: Yes
Call by Reference: No ( called with pass by value option)
PLANTRANGE - Selection Table for Plant
Data type: BAPIMATRAWOptional: Yes
Call by Reference: No ( called with pass by value option)
SUPPLYAREARANGE - Selection Table for Supply Area
Data type: BAPI1172_PRVBE_RANGEOptional: Yes
Call by Reference: No ( called with pass by value option)
RESP_SUPPLYSOURCERANGE - Selection Table for Person Responsible for Supply Source
Data type: BAPI1172_QUVER_RANGEOptional: Yes
Call by Reference: No ( called with pass by value option)
PURCH_ORGRANGE - Selection Table for Purchasing Organization
Data type: BAPI1172_EKORG_RANGEOptional: Yes
Call by Reference: No ( called with pass by value option)
VENDORRANGE - Selection Table for Vendor
Data type: BAPI1172_LIFNR_RANGEOptional: Yes
Call by Reference: No ( called with pass by value option)
ISSUINGPLANTRANGE - Selection Table for Supplying Plant
Data type: BAPI1172_PKUMW_RANGEOptional: Yes
Call by Reference: No ( called with pass by value option)
ISSUINGSTGE_LOCRANGE - Selection Table for Supplying Storage Location
Data type: BAPI1172_UMLGO_RANGEOptional: Yes
Call by Reference: No ( called with pass by value option)
Copy and paste ABAP code example for BAPI_KANBANCC_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_return | TYPE BAPIRET2, " | |||
| lv_maxrows | TYPE BAPI1075_GENERAL-MAXROWS, " 500 | |||
| lt_kanbancontrolcyclerange | TYPE STANDARD TABLE OF BAPI1172_PKNUM_RANGE, " | |||
| lt_lifecyclerange | TYPE STANDARD TABLE OF BAPI1172_LIFECYCLE_RANGE, " | |||
| lt_kanbancontrolcyclelist | TYPE STANDARD TABLE OF BAPI1172_LIST, " | |||
| lt_materialrange | TYPE STANDARD TABLE OF BAPIMATRAM, " | |||
| lt_plantrange | TYPE STANDARD TABLE OF BAPIMATRAW, " | |||
| lt_supplyarearange | TYPE STANDARD TABLE OF BAPI1172_PRVBE_RANGE, " | |||
| lt_resp_supplysourcerange | TYPE STANDARD TABLE OF BAPI1172_QUVER_RANGE, " | |||
| lt_purch_orgrange | TYPE STANDARD TABLE OF BAPI1172_EKORG_RANGE, " | |||
| lt_vendorrange | TYPE STANDARD TABLE OF BAPI1172_LIFNR_RANGE, " | |||
| lt_issuingplantrange | TYPE STANDARD TABLE OF BAPI1172_PKUMW_RANGE, " | |||
| lt_issuingstge_locrange | TYPE STANDARD TABLE OF BAPI1172_UMLGO_RANGE. " |
|   CALL FUNCTION 'BAPI_KANBANCC_GETLIST' "Determine Kanban Control Cycles That Satisfy Selection Criteria |
| EXPORTING | ||
| MAXROWS | = lv_maxrows | |
| IMPORTING | ||
| RETURN | = lv_return | |
| TABLES | ||
| KANBANCONTROLCYCLERANGE | = lt_kanbancontrolcyclerange | |
| LIFECYCLERANGE | = lt_lifecyclerange | |
| KANBANCONTROLCYCLELIST | = lt_kanbancontrolcyclelist | |
| MATERIALRANGE | = lt_materialrange | |
| PLANTRANGE | = lt_plantrange | |
| SUPPLYAREARANGE | = lt_supplyarearange | |
| RESP_SUPPLYSOURCERANGE | = lt_resp_supplysourcerange | |
| PURCH_ORGRANGE | = lt_purch_orgrange | |
| VENDORRANGE | = lt_vendorrange | |
| ISSUINGPLANTRANGE | = lt_issuingplantrange | |
| ISSUINGSTGE_LOCRANGE | = lt_issuingstge_locrange | |
| . " BAPI_KANBANCC_GETLIST | ||
ABAP code using 7.40 inline data declarations to call FM BAPI_KANBANCC_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 MAXROWS FROM BAPI1075_GENERAL INTO @DATA(ld_maxrows). | ||||
| DATA(ld_maxrows) | = 500. | |||
Search for further information about these or an SAP related objects