Skip to Content
avatar image
Former Member

CSAP_MAT_BOM_CREATE - BOM Item - Unable to provide Linked Documents

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

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

0 Answers