Fonction SAP BAPI_CUSTOMER_GET_ROOT_LIST - BAPI Customer Hierarchy getRootList() Implementation

Paramètre Reférence Type Long. Valeur par déf. Facultatif Description
CUSTHITYP BAPIKNA1_KNVH-CUSTHITYP C 1 X Hierarchy Type of Customer Hierarchy
VALID_ON BAPIKNA1_KNVH-VALID_FROM D 8 SY-DATUM X Validity Date

Paramètre Reférence Type Long. Description
RETURN BAPIRET2 u 548 Return Code

Paramètre Reférence Long. Facultatif Description
NODE_LIST BAPIKNA1_KNVH 80 X Nodes
SALES_AREA BAPI_SDVTBER 8 X Sales Area


Implementation of the Customer.getAllRoots() Instance Method
The highest-level customer is determined for a certain time and aspecified hierarchy type.
This parameter returns error, warning and informatio messages thatoccured during processing.
The user can create different hierarchy types in Customizing. Thisparameter can restrict the hierarchy types.
The customer hierarchy depends on time. Use this parameter to read thehierarchy for the specified time.
If this parameter does not contain a value, the system date isproposed. You can also enter a SPACE. This causes the system toselect the nodes unrestricted by the validity date.
The nodes of a customer hierarchy are always assigned to a sales area.This parameter restricts the nodes of the current customer instance.The higher-level nodes could always be assigned to another sales area.This parameter does not influence the selection of these nodes.
The customer object not detailed enough for this point becausethe nodes were formed from the sales customer instance.