Skip to Content
avatar image
Former Member


Hi AlI,

Who can tell me whether the Function :

CSAP_MAT_BOM_CREATE can assign object Dependencies to BOM Item ?

IF OK, pls share parameter . Thansk !

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

1 Answer

  • Mar 21, 2017 at 08:54 AM

    Hi ,

    Yes, the CSAP_MAT_BOM_CREATE function module documentation states that Object Dependencies can be assigned to BoM items, as follows:

    Please have a look at the include LCSDSU02 (from the where-used list for the above FM), where this functionality is implemented; here the code:

    *       create new bom
            call function 'CSAP_MAT_BOM_CREATE'
                      material         = api_mbom-matnr
                      plant            = api_mbom-werks
                      bom_usage        = api_mbom-stlan
                      valid_from       = api_mbom-datuv
                      change_no        = ale_aennr
    *                 REVISION_LEVEL   =
                      i_stko           = api_stko1
    *                 FL_NO_CHANGE_DOC = ' '
                      fl_default_values = ' '            "note506312
                      fl_warning       = api_warning
                      t_stpo           = api_stpo1
                      t_dep_data       = api_dep_dat
                      t_dep_descr      = api_dep_des
                      t_dep_order      = api_dep_ord
                      t_dep_source     = api_dep_src
                      t_dep_doc        = api_dep_doc
                      t_ltx_line       = api_ltx_lin
                      t_stpu           = api_stpu        "note530922
                      error            = 1
                      others           = 2.

    Concerning the main parameters, they are:

    t_dep_data (structure csdep_dat), BOMs: Basic Data of a Dependency

    t_dep_descr (structure csdep_desc), BOMs: Object Dependency Descriptions

    t_dep_source (structure csdep_sorc), BOMs: Source Code of Object Dependencies


    t_dep_order (structure csdep_ord), BOMs: Sort Sequence of Object Dependencies

    t_dep_doc (structure csdep_doc), BOMs: Object Dependency Documentation

    Hope this could be of some help.

    With best regards,


    Add comment
    10|10000 characters needed characters exceeded