Functionality This BAPI is used for maintaining a CU design. A CU design consist of adesign header and a hierarchy of CU instances (CUI's). This hierarchymust contain at least the top CUI which must be a virtual CUI. The CUIhierarchy must be consistent. If a new CUI is created or added it must have an internal number(INTCUNR) (CUGUID) and the internal number of te superior CUI(SUPCUNR). If an existing CUI is maintained the fields CUGUID and SUPCUGUID must befilled. All virtual CUI's must have the flag VIRTUAL. If a CUI containsa BOM-CU then all necessary items CU's must also be defined. Whencreating a new design all CUI's must have the flag VBKZ set to 'I'. Whenmaintaing a CU design the CUI's can have different update flag dependingon if a new CUI is added or is changed or should be deleted. All CUI'snot contained in the table IT_AFCU will be deleted from DB. An existingCUI must be filled with CUGUID and SUPCUGUID. While changing a design all fields in the header without the technicalfields must be filled. If one field is not filled then it will becleared in DB. The kind of maintainance will be defined in the fieldVBKZ. A design can only be deleted if the status allows it. In particular adesign can not be deleted if an order was created from it. For each CUI also the charcteristics must be filled in the tableIT_CUI_AUSP. For each virtual CUI's addittionally there must be oneentry in the table IT_VCUI. In both table the fields INTCUNR (resp.CUGUID) must be filled to get the link to the CUI. Example |