Fonction SAP WSTN3_COMPONENT_CHECK - Check if the component can be assigned

Paramètre Reférence Type Long. Valeur par déf. Facultatif Description
IS_COMP_MARA MARA u 1340 X General Material Data
IS_HEAD_MARA MARA u 1340 X General Material Data
IS_REFERENCE_MARA MARA u 1340 X General Material Data
IS_TMGW2 TMGW2 u 7 X Control for Maintaining Structured Materials
IV_ACCEPT_ZERO_QUANTITY XFELD C 1 'X' X Checkbox
IV_COMP_MAT MATNR C 18 X Material Number
IV_COMP_QUANTITY WSTN_CPQTY N 10 X Quantity of the Component
IV_COMP_UNIT KMPME C 3 X Component unit of measure
IV_EXPORT_DATA_ONLY XFELD C 1 SPACE X Checkbox
IV_HEAD_MAT MATNR C 18 X Material Number
IV_HEAD_REFERENCE MATNR C 18 X Material Number

Paramètre Reférence Type Long. Description
ES_WSTR_DYNP WSTR_DYNP u 304 Screen Fields for Maintaining Components of Structured Matls
ES_WSTR_IN WSTR_IN u 228 Interface Structure for Maintaining Components Struct. Matls
EV_POSTP POSTP C 1 Item Category (Bill of Material)
EV_STLAN STLAN C 1 BOM usage
EV_STRTP MGW2TYP C 2 Category of structured material

Exception Description
COMP_NOT_ALLOWED Component is not allowed
COMP_WARNING Component is allowed, but warnings exist
WRONG_PARAMETERS The input of the function module is not correct