Fonction SAP BAPI_KANBAN_GETLIST_ALL - Determination of Kanbans Matching Selection Criteria

Paramètre Reférence Type Long. Valeur par déf. Facultatif Description
EXPORT_CONTROLCYCLE BAPIFLAG u 1 X ID for Export of Control Cycle Table
LANGUAGE_KEY BAPILANGU-SPRSL C 1 X Language Key of Current Text Environment
MAXROWS BAPI1075_GENERAL-MAXROWS I 4 X Maximum Number of Lines of Hits
SELECT_BATCH BAPIFLAG u 1 X ID for Selection of Batches and Quantities in Kanban
SELECT_DELIV BAPIFLAG u 1 X ID for Selection of Additional Data for Kanban with Delivery
SELECT_DEV_CC_DATA BAPIFLAG u 1 X Indicator for Selection of Alternative Control Cycle Data for Kanban

Paramètre Reférence Type Long. Description
RETURN BAPIRET2 u 548 Return Parameter(s)

Paramètre Reférence Long. Facultatif Description
BATCH_LIST BAPI1075_BATCH 33 X Table for Batch Data
CALC_PROFILE_RANGE BAPI1172_KCPRF_RANGE 11 X Selection Table for Calculation Profile
CONTROLCYCLE_LIST BAPI1172_LIST_ALL 800 X Table for Control Cycle
CONTROLCYCLE_TYPE_RANGE BAPI1172_RKSTA_RANGE 5 X Selection Table for Control Cycle Category
COSTCENTER_RANGE BAPI1172_KOSTL_RANGE 23 X Selection Table for Cost Center
DELIV_LIST BAPI1075_DELIV 71 X Table of Additional Data for Kanban with Delivery
DEVDATA_LIST BAPI1075_DEV_DATA 35 X Table for Different Control Cycle Data
EXTENSIONIN BAPIPAREX 990 X Reference Structure for Customer Data
EXTENSIONOUT BAPIPAREX 990 X Reference Structure for Customer Data
EXT_PROCURE_RANGE BAPI1172_PKSTF_RANGE 11 X Selection Table for Replenishment with External Production
IN_HOUSEPROD_RANGE BAPI1172_PKSTE_RANGE 11 X Selection Table for Replenishment with In-House Production
ISSUINGPLANT_RANGE BAPI1172_PKUMW_RANGE 11 X Selection Table for Supplying Plant
ISSUINGSTGE_LOC_RANGE BAPI1172_UMLGO_RANGE 11 X Selection Table for Supplying Storage Location
JIT_PROFILE_RANGE BAPI1172_PABPRF_RANGE 11 X Selection Table for JIT Call Profile
KANBANCONTROL_CYCLE_RANGE BAPI1172_PKNUM_RANGE 17 X Selection Table for Control Cycle Number
KANBANID_RANGE BAPI1075_PKKEY_RANGE 23 X Selection Table for Kanban ID Number
KANBANNUMBER_RANGE BAPI1075_PKPOS_RANGE 9 X Selection Table for Kanban Number
KANBAN_LIST BAPI1075_LIST_ALL 563 Table for Kanban Data
MATERIAL_RANGE BAPIMATRAM 39 X Selection Table for Material Number
PLANT_RANGE BAPIMATRAW 11 X Selection Table for Plant
PURCH_ORG_RANGE BAPI1172_EKORG_RANGE 11 X Selection Table for Purchasing Organization
RESPONSIBLE_RANGE BAPI1172_QUVER_RANGE 9 X Selection Table for Person Responsible for Supply Source
STATUSDATE_RANGE BAPI1075_SAEDT_RANGE 19 X Selection Table for Date of Status Switch
STATUSTIME_RANGE BAPI1075_SAEUZ_RANGE 15 X Selection Table for Time of Status Switch
STATUS_RANGE BAPI1075_PKBST_RANGE 5 X Selection Table for Kanban Status
STGE_NUM_RANGE BAPI1172_LGNUM_RANGE 9 X Selection Table for Warehouse Number (WMS)
STGE_TYPE_RANGE BAPI1172_LGTYP_RANGE 9 X Selection Table for Storage Type (WMS)
STOCK_MOVEMNT_RANGE BAPI1172_PKSTU_RANGE 11 X Selection Table for Replenishment with Stock Transfer
SUPPLYAREA_RANGE BAPI1172_PRVBE_RANGE 23 X Selection Table for Supply Area
VENDOR_RANGE BAPI1172_LIFNR_RANGE 23 X Selection Table for Vendor

Functionality
This method provides a list with comprehensive information about thekanbans that match the transferred selection criteria.
Since the kanbans can only be created in conjunction with a controlcycle, the control cycle data that belongs to the kanban data can alsobe read.
The method can also transfer additional information about batches,different control cycles, and additional data for kanbans with delivery,for example.
Note that the individual selection parameters are linked with a logicalAND when the data is selected.
Specifying the selection parameters is optional. In the Maxrowsparameter, however, you should specify the maximum number of datarecords to be output.

Description
This table contains the confirmations from the method call.

Value range
The return parameter contains all error messages that caused a selectionto terminate.
If the selection was successful, the return parameter is empty.

Description
Indicator showing if the control cycle table is output.

Description
When you transfer a language key, the short texts are selected in thespecified language for the kanban control cycle.
The short texts for the material, plant, supply area, replenishmentstrategy, and kanban container are output in the specified language inthe table for the control cycle data (BAPI1172_LIST_ALL).

Description
To prevent too much data being read and transferred to the callingprogram when this method is used, a maximum number of data records isspecified in this parameter.
For information about the meaning of the individual parameter fields,see the relevant data element documentation in the ABAP Dictionary.

Default
The default is 500 data records.

Description
Indicator showing whether batches and quantities are selected in kanban.

Description
Indicator showing whether additional data is selected for kanban withdelivery.

Description
Indicator showing if different control cycle data is selected for thekanban.
Different control cycle data affects event-driven kanban. If you createa kanban in event-driven kanban, you can specify a different packinginstruction for this kanban than specified in the control cycle. Thedifferent packing instruction is transferred in this parameter.

Description
The batch data is transferred to the calling program in this list. Thedata is only transferred if you transferred the SELECT_BATCH parameteras an import parameter.
For information about the meaning of the individual parameter fields,see the relevant data element documentation in the ABAP Dictionary.

Description
You can use this parameter to select kanbans with a control cycle thatis assigned a specific calculation profile.
For information about the meaning of the individual parameter fields,see the relevant data element documentation in the ABAP Dictionary.

Description
The control cycles to which the read kanbans belong are transferred tothe calling program in this list.
The table is only filled if the import parameter EXPORT_CONTROLCYCLEis set.

Description
You can use this parameter to select kanbans of a specific control cyclecategory.
For information about the meaning of the individual parameter fields,see the relevant data element documentation in the ABAP Dictionary.

Description
You can use this parameter to select kanbans with material that isassigned to a specific cost center.
For information about the meaning of the individual parameter fields,see the relevant data element documentation in the ABAP Dictionary.

Description
The additional data for kanban with delivery is transferred in thislist. The data is only passed on if you transferred the SELECT_DELIVparameter as an import parameter.
For information about the meaning of the individual parameter fields,see the relevant data element documentation in the ABAP Dictionary.

Description
The different control cycle data is transferred to the calling programin this list. The data is only output if you entered theSELECT_DEV_CC_DATA parameter as an import parameter.
Different control cycle data affect event-driven kanban. If you create akanban in event-driven kanban, you can specify a packing instruction forthe kanban that is not the same as the packing instruction specified inthe control cycle. The different packing instruction is entered in thisparameter.
For information about the meaning of the individual parameter fields,see the relevant data element documentation in the ABAP Dictionary.

Description
This parameter is used as a data container. Additional data that was notprovided at interface level can be passed on to the method.
The data is transferred in a table. The format of the individual datarecords in the table is determined by the structure BAPIPAREX. Thisstructure contains several data record fields (VALUEPART1, VALUEPART2,...) and a field for the name of an auxiliary structure created by thecustomer (STRUCTURE). The data from each record is written sequentiallyto the available data record fields. An auxiliary structure is thereforerequired to interpret the data.
If a customer wishes to add fields to an SAP database table, BAPI TableExtensions can be used as auxiliary structures.
For more information about the various methods of customer enhancementand the auxiliary structures provided, see the document "CustomerEnhancement and Modification of BAPIs" in the SAP Library under CA-BFA:Further Developments, Modifications ...
You can implement the extension with the Business Add-In (BAdI)BAPI1075EXTENSION. Use the interface IF_EX_BAPI1075EXTENSION with themethod CHECK_INPUT.

Description
This parameter is used as a data container. It can be used to returnadditional data that was not provided at interface level.
The data is transferred in a table. The format of the individual datarecords in the table is determined by the structure BAPIPAREX. Thisstructure contains several data record fields (VALUEPART1, VALUEPART2,...) and a field for the name of an auxiliary structure created by thecustomer (STRUCTURE). The data from each record is written sequentiallyto the available data record fields. An auxiliary structure is thereforerequired to interpret the data.
If a customer wishes to add fields to an SAP database table, BAPI TableExtensions can be used as auxiliary structures.
For more information about the various methods of customer enhancementand the auxiliary structures provided, see the document "CustomerEnhancement and Modification of BAPIs" in the SAP Library under CA-BFA:Further Developments, Modifications ...
You can implement the extension with the Business Add-In (BAdI)BAPI1075EXTENSION. Use the interface IF_EX_BAPI1075EXTENSION with themethod CHECK_OUTPUT.

Description
You can use this parameter to select kanbans with control cycles thatuse a replenishment strategy with external procurement.
For information about the meaning of the individual parameter fields,see the relevant data element documentation in the ABAP Dictionary.

Description
You can use this parameter to select kanbans with control cycles thathave a replenishment strategy with in-house production.
For information about the meaning of the individual parameter fields,see the relevant data element documentation in the ABAP Dictionary.

Description
You can use this parameter to select kanbans via the supplying plant ifthe material is procured from another plant.
For information about the meaning of the individual parameter fields,see the relevant data element documentation in the ABAP Dictionary.

Description
You can use this parameter to restrict kanbans based on the supplyingstorage locations if the material is procured by stock transfer.
For information about the meaning of the individual parameter fields,see the relevant data element documentation in the ABAP Dictionary.

Description
You can use this parameter to select kanbans with control cycles inwhich replenishment is driven by external procurement with summarizedJIT call.
For information about the meaning of the individual parameter fields,see the relevant data element documentation in the ABAP Dictionary.

Description
Each kanban belongs to a control cyle. You can use this selectionparameter to restrict the number of kanbans read using the control cyclenumber.
For information about the meaning of the individual parameter fields,see the relevant data element documentation in the ABAP Dictionary.

Description
Each kanban has an ID number that occurs only once in the system. Youcan use this selection parameter to restrict the number of kanbans readusing the ID number.
For information about the meaning of the individual parameter fields,see the relevant data element documentation in the ABAP Dictionary.

Description

In classic kanban, each kanban has a three-digit number (as well as itskanban ID number) that is only valid in conjunction with the controlcycle number, and identifies the kanban within the control cycle. Youcan use this selection parameter to restrict the number of kanbans readusing this three-digit number.
For information about the meaning of the individual parameter fields,see the relevant data element documentation in the ABAP Dictionary.

Description
The kanbans that have been read are transferred to the calling programin this list.

Description
You can use this parameter to select kanbans for specific materials.
For information about the meaning of the individual parameter fields,see the relevant data element documentation in the ABAP Dictionary.

Description
You can use this parameter to select kanbans from specific plants.
For information about the meaning of the individual parameter fields,see the relevant data element documentation in the ABAP Dictionary.

Description
You can use this parameter to select kanbans using purchasingorganizations, if external procurement has been specified as areplenishment strategy in the control cycle.
For information about the meaning of the individual parameter fields,see the relevant data element documentation in the ABAP Dictionary.

Description
You can use this parameter to select kanbans based on specific personsresponsible for supply source, if in-house production has been specifiedas a replenishment strategy in the control cycle.
For information about the meaning of the individual parameter fields,see the relevant data element documentation in the ABAP Dictionary.

Description
The date of the last status change is stored in kanban. This selectionparameter can be used to restrict the number of kanbans read based onthis date.
For information about the meaning of the individual parameter fields,see the relevant data element documentation in the ABAP Dictionary.

Description
The time of the last status change is stored in kanban together with thedate of the last change. This selection parameter can be used torestrict the number of kanbans read based on the time of the lastchange.
For information about the meaning of the individual parameter fields,see the relevant data element documentation in the ABAP Dictionary.

Description
Each kanban has a status. This selection parameter can be used torestrict the nuber of kanbans read based on the status.
For information about the meaning of the individual parameter fields,see the relevant data element documentation in the ABAP Dictionary.

Value range
The allowed statuses are:
1 = Waiting
2 = Empty
3 = In Process
4 = In Transit
5 = Full
6 = In Use
9 = Incorrect

Description
If you use the Warehouse Management System, you can select kanbans usinga warehouse number or warehouse complex.
For information about the meaning of the individual parameter fields,see the relevant data element documentation in the ABAP Dictionary.

Description
If you use the Warehouse Management System, you can select kanbans usinga storage type. The selection table for the warehouse number should alsobe filled.
For information about the meaning of the individual parameter fields,see the relevant data element documentation in the ABAP Dictionary.

Description
You can use this parameter to select kanbans with material that isprocured using a replenishment strategy with stock transfer.
For information about the meaning of the individual parameter fields,see the relevant data element documentation in the ABAP Dictionary.

Description
You can use this parameter to select kanbans using supply areas.
For information about the meaning of the individual parameter fields,see the relevant data element documentation in the ABAP Dictionary.

Description
You can use this parameter to select kanbans using specific vendors.
For information about the meaning of the individual parameter fields,see the relevant data element documentation in the ABAP Dictionary.