cancel
Showing results for 
Search instead for 
Did you mean: 

CSAP_MAT_BOM_CREATE - BOM Item - Unable to provide Linked Documents

0 Kudos

Experts,

Creating BOM using CSAP_MAT_BOM_CREATE, there is no issue with BOM Creation, but unable to Link Documents in the BOM Item Level in the Document Assignment tab

Below is my code, any helpful advice is appreciated

ls_stpo-item_categ = item.

ls_stpo-component = bom-mat.

ls_stpo-document = bom-doc. " Document number

ls_stpo-doc_type = dokar. " Doc Type

ls_stpo-doc_part = doktl. " Part

ls_stpo-doc_vers = dokvr. "Version

append ls_stpo to lt_stpo.

CALL FUNCTION 'CSAP_MAT_BOM_CREATE'
EXPORTING
material = matnr
bom_usage = stlan
i_stko = stko
TABLES
t_stpo = lt_stpo.

Thanks,

Kishore

Accepted Solutions (0)

Answers (0)