Fonction SAP BAPI_BUS1077_GET_COMP_TREE - EHS: Explode Specification Composition

Paramètre Reférence Type Long. Valeur par déf. Facultatif Description
I_FB_TREE_TO_LIST FUNCNAME C 30 SPACE X Function Module for Converting Units of Measurement
KEY_DATE RCGADDINF-VALDAT D 8 SY-DATUM X Validity date for object key
SUBCHACAT BAPI1077VH-SUBCHACAT C 30 Value assignment type
SUBSTANCEID BAPI1077RH-SUBSTANCE C 12 Specification key
USEXNAM RCGEXITPAR-USEXNAM C 10 X Name of user exit to cancel for a specification
USEXPAR BAPI1077IL-TEXT_LINE C 132 X Parameter of user exit to cancel for a specification

Paramètre Reférence Type Long. Description
RETURN BAPIRETURN u 452 Confirmations

Paramètre Reférence Long. Facultatif Description
E_COMP_LIST_FLOAT_TAB BAPI1077VF 64 X List of compositions with numeric values in floating point
E_COMP_LIST_TAB BAPI1077VP 332 X List of compositions
E_COMP_PROP_TAB BAPI1077VP 332 X Table of value assignment types
E_COMP_TREE_TAB BAPI1077VP 332 Composition tree
I_UE_PARAM_TAB TCGUEEN 185 X EHS: User Exit Parameters in User Exit Management
I_USAGE_TAB BAPI1077DU 302 X Usage table

Functionality
This method determines the composition tree with the respective numericconcentration values for the object Specification.

Description
INCLUDE BAPI_TABLE OBJECT DOKU ID TX

Description
The method expects a validity date to be specified with this parameterin order to be able to identify the time version of an object. Aninstance of a specification object is determined uniquely by theparameters KEY_DATE and SUBSTANCEID.

Default
This parameter has the system date as its default setting.

Description
This import parameter specifies the value assignment type.

Description
This import parameter specifies the specification key.

Description
This user exit allows you to cancel the calculation of the compositiontree at a particular level.

Description
This user exit parameter is necessary to cancel the calculation of thecomposition tree at a particular level.

Description
INCLUDE EHS_SAF_50A_BAPI_TREE OBJECT DOKU ID TX

Description
INCLUDE EHS_SAF_50A_BAPI_TREE OBJECT DOKU ID TX

Description
This table parameter contains the composition tree.

Description
This table parameter contains all determined direct and indirectcomponents of the specification.
If, for example, a specification has the following composition, thewhole composition tree is output with the respective numericconcentration details:
Spezi (coke and orangeade mixed drink)
|
-- Coke
| |
| -- Coke concentrate
| |
| -- Sugar
| |
| -- Carbon dioxide
| |
| -- Water
|
-- Fanta
|
-- Fanta concentrate
|
-- Sugar
|
-- Carbon dioxide
|
-- Water

951988Performance improvement for component determination
1172118No error message for missing unit of measure "1"
660273Read FM BAPI_1077_GET_COMP_TREE
581850EH&S: Exception value of components is not read