CS_BOM_EXPL_KND_V1 SAP Function module - BOM explosion for material

CALL FUNCTION 'CS_BOM_EXPL_KND_V1' "BOM explosion for material
* EXPORTING
*   ftrel = SPACE               " csdata-xfeld  Limited multi-level - stop explosion at items not relevant to production
*   aufsw = SPACE               " csdata-xfeld  Determine and enter order level and channel
*   aumgb = SPACE               " csdata-xfeld  Calculate scrap quantity
*   aumng =                     " stko-bmeng    Scrap quantity
*   auskz = SPACE               " csdata-xfeld  Scrap
*   bagrp = SPACE               " mara-matnr    Assembly restriction
*   beikz = SPACE               " stpo-beikz    Material provision indicator
*   bessl = SPACE               " csdata-xfeld  Material provision selection indicator
*   bgixo = SPACE               " csdata-xfeld  Load assembly information for exploded assemblies only
*   brems = SPACE               " csdata-xfeld  Limited explosion
*   capid = 'STD1'              " tc04-capid    Application ID
*   cospr = SPACE               " csdata-xfeld  Internal: (CO) order-spec. MatPreRead
*   cuobj = 000000000000000     " marc-cuobj    Configuration
*   datuv = 00000000            " stko-datuv    Validity date
*   delnl = SPACE               " csdata-xfeld  Delete items not kept in stock from list
*   emeng = 0                   " stko-bmeng    Required quantity
*   erskz = SPACE               " stpo-erskz    Spare part indicator
*   erssl = SPACE               " csdata-xfeld  Spare part selection indicator
*   fbstp = SPACE               " csdata-xfeld  Limited multi-level - stop explosion at externally procured item
*   mbwls = SPACE               " csdata-xfeld  Read material valuation
*   mdmps = SPACE               " csdata-xfeld  Limited multi-level - explode phantom assemblies at least
*   mehrs = SPACE               " csdata-xfeld  Multi-level explosion
*   mkmat = SPACE               " csdata-xfeld  Limited multi-level; explode KMAT
*   mmaps = SPACE               " csdata-xfeld  Limited multi-level - explode at least M assembly (M order)
*   mmory = SPACE               " csdata-xfeld  Memory use ('1'=on;'0'=off;' '=no reaction)
*   mtnrv = SPACE               " mara-matnr    Material
*   postp = SPACE               " stpo-postp    Item category
*   rndkz = SPACE               " csdata-xfeld  Round off: ' '=always, '1'=never, '2'=only levels > 1
*   rvrel = SPACE               " stpo-rvrel    Relevant to sales
*   sanfr = SPACE               " stpo-sanfe    Production
*   sanin = SPACE               " stpo-sanin    Maintenance
*   sanka = SPACE               " stpo-sanka    Costing
*   sanko = SPACE               " stpo-sanko    Engineering/design
*   sanvs = SPACE               " stpo-sanvs    Shipping
*   schgt = SPACE               " stpo-schgt    Bulk material
*   stkkz = SPACE               " stpo-stkkz    PM assembly
*   stlal = SPACE               " stko-stlal    Alternative BOM
*   stlan = SPACE               " stzu-stlan    BOM usage
*   werks = SPACE               " marc-werks    Plant
*   mdnot = SPACE               " csdata-xfeld  Restriction on MDMPS: do not explode M phantom
*   panot = SPACE               " csdata-xfeld  Restriction on MDMPS: no parallel discontinue
*   vbeln = SPACE               " kdst-vbeln    Sales order number
*   vbpos =                     " kdst-vbpos    Item in sales order
  IMPORTING
    topmat =                    " cstmat        Data for start material
    dstst =                     " csdata-xfeld  Structure destroyed by filter
  TABLES
    stb =                       " stpox         Collective item data table
*   matcat =                    " cscmat        Material catalog (sub-assemblies)
  EXCEPTIONS
    ALT_NOT_FOUND = 1           "               Alternative not found
    CALL_INVALID = 2            "               Incorrect parameter combination
    MATERIAL_NOT_FOUND = 3      "               Material not found
    MISSING_AUTHORIZATION = 4   "               No authorization (bill of material)
    NO_BOM_FOUND = 5            "               No BOM for this material
    NO_PLANT_DATA = 6           "               Material not maintained in plant
    NO_SUITABLE_BOM_FOUND = 7   "               BOM does not exist
    .  "  CS_BOM_EXPL_KND_V1
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值