Ir al contenido

CS BOM EXPLOSION

De wikiSAP
  CALL FUNCTION 'CS_BOM_EXPLOSION'
*   aclas = SPACE               " tappl-applclass  Application class
*   ftrel = SPACE               " csdata-xfeld  Limited multi-level - stop explosion for items not relevant to production
*   altvo = SPACE               " csdata-xfeld  Alternative priority
*   aufsw = SPACE               " csdata-xfeld  Determine and enter order level and order path
*   aumng = 0                   " stko-bmeng    Scrap quantity
*   auskz = SPACE               " csdata-xfeld  Take scrap into account
*   amind = SPACE               " csdata-xfeld  Scrap quantity indicator_
*   bagrp = SPACE               " mara-matnr    Assembly restriction
*   beikz = SPACE               " stpo-beikz    Materials provided ID
*   bessl = SPACE               " csdata-xfeld  Selection indicator part provided
*   bgixo = SPACE               " csdata-xfeld  Load assembly information for exploded assemblies only
*   brems = SPACE               " csdata-xfeld  Limited explosion
*   capid = 'STD1'              " tc04-capid    Application identifier
*   cospr = SPACE               " csdata-xfeld  Internal: (CO) order-spec. MatPreRead
*   cuobj = 000000000000000     " marc-cuobj    Object dependencies
*   cuols = SPACE               " csdata-xfeld  Read item characteristic valuation_
*   datuv = 00000000            " stko-datuv    Valid on
*   delnl = SPACE               " csdata-xfeld  Delete items not kept in stock from list
*   ehndl = SPACE               " csdata-xfeld  Usage probability handling ' 'none, '1'mod. item quantity, '2' % req. qty_
*   emeng = 0                   " stko-bmeng    Required quantity
*   eqnrv = SPACE               " equi-equnr    Equipment
*   erskz = SPACE               " stpo-erskz    Spare part indicator
*   erssl = SPACE               " csdata-xfeld  Selection indicaor spare part
*   fbstp = SPACE               " csdata-xfeld  Limited multi-level - stop explosion at externally procured item
*   mbwls = SPACE               " csdata-xfeld  Read values for material
*   mktls = 'X'                 " csdata-xfeld  Read material short text_
*   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 assemblies (MOrder)
*   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 and Distribution
*   sanfr = SPACE               " stpo-sanfe    Production
*   sanin = SPACE               " stpo-sanin    Plant 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
*   tpnrv = SPACE               " iflo-tplnr    Functional location number
*   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 = 0                   " kdst-vbpos    Item in sales order
*   verid = SPACE               " mkal-verid    Production version (global)_
  IMPORTING
    topequi =                   " cstequi       Data on the initial object (equipment)
    topmat =                    " cstmat        Data on the initial object (material)
    toptpl =                    " csttpl        Data of start object (functional location)
    dstst =                     " csdata-xfeld  Structure destroyed by filter
  TABLES
    stbd =                      " csxdoc        Addition to the item collective table (document data)
    stbe =                      " csxequi       Addition to the item collective table (equi data)
    stbk =                      " csxkla        Supplement to collective item table (class data)
    stbm =                      " csxmat        Addition to the item collective table (material data)
    stbp =                      " csxgen        Item collective table
    stbt =                      " csxtpl        Supplement to collective item table (functional location data)
  EXCEPTIONS
    ALT_NOT_FOUND = 1           "               Alternative not found
    CALL_INVALID = 2            "               incorrect parameter combination
    MISSING_AUTHORIZATION = 3   "               No authorization (bill of material)
    NO_BOM_FOUND = 4            "               There is no bill of materials for this material
    NO_PLANT_DATA = 5           "               Material not maintained in the plant
    NO_SUITABLE_BOM_FOUND = 6   "               BOM does not exist
    OBJECT_NOT_FOUND = 7        "               Object does not exist
    .  "  CS_BOM_EXPLOSION


Funciones PP
Funciones
Página principal