CS_BOM_EXPLOSION_EQUI is a standard SAP function module available within R/3 SAP systems depending on your version and release level. Below is the pattern details for this FM showing its interface including any import and export parameters, exceptions etc as well as any documentation contributions (Comments) specific to the object.
See here to view full function module documentation and code listing, simply by entering the name CS_BOM_EXPLOSION_EQUI into the relevant SAP transaction such as SE37 or SE80.
Associated Function Group:
CSS4
Released Date:
Not Released
Processing type: Normal fucntion module
CALL FUNCTION 'CS_BOM_EXPLOSION_EQUI' "BOM explosion - initial screen: equipment
* EXPORTING
* aclas = SPACE " tappl-applclass Application Class
* altvo = SPACE " csdata-xfeld Alternative priority
* aufsw = SPACE " csdata-xfeld Determine and enter order level and order path
* auskz = SPACE " csdata-xfeld Take scrap into account
* bagrp = SPACE " mara-matnr Assembly restriction
* beikz = SPACE " stpo-beikz Material Provision Indicator
* 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 ID
* cospr = SPACE " csdata-xfeld Internal: (CO) order-spec. MatPreRead
* datuv = 00000000 " stko-datuv Valid On
* delnl = SPACE " csdata-xfeld Delete items not kept in stock from list
* emeng = 0 " stko-bmeng Required Quantity
* eqnrv = SPACE " equi-equnr Euipment no.
* erskz = SPACE " stpo-erskz Spare part indicator
* erssl = SPACE " csdata-xfeld Selection indicator spare
* 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 Multilevel Explosion
* mkmat = SPACE " csdata-xfeld Limited multi-level; explode KMAT
* postp = SPACE " stpo-postp Item category
* rvrel = SPACE " stpo-rvrel RV-relevant
* 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 Maintenance Assembly
* stlal = SPACE " stko-stlal Alternative BOM
* stlan = SPACE " stzu-stlan BOM usage
* werks = SPACE " marc-werks Plant
IMPORTING
topequi = " cstequi Daten zum Einstiegsobjekt (Equipment)
TABLES
stb = " stpol Positionsdatensammeltabelle
EXCEPTIONS
ALT_NOT_FOUND = 1 " Alternative not found
CALL_INVALID = 2 " Incorrect parameter combination
EQUIPMENT_NOT_FOUND = 3 " Equipment Not Found
MISSING_AUTHORIZATION = 4 " No authorization (bill of material)
NO_BOM_FOUND = 5 " There is no bill of materials for this material
NO_PLANT_DATA = 6 " Material not maintained in plant
NO_SUITABLE_BOM_FOUND = 7 " Bill of material does not exist
. " CS_BOM_EXPLOSION_EQUI
The ABAP code below is a full code listing to execute function module CS_BOM_EXPLOSION_EQUI including all data declarations. The code uses the latest in-line data DECLARATION SYNTAX but I have included an ABAP code snippet at the end to show how declarations would look using the original method of declaring data variables up front. This will allow you to compare and fully understand the new inline method. Please note some of the newer syntax such as the @DATA is not available until a later 4.70 service pack (SP8).
| ld_topequi | TYPE CSTEQUI , |
| it_stb | TYPE STANDARD TABLE OF STPOL,"TABLES PARAM |
| wa_stb | LIKE LINE OF it_stb . |
The below ABAP code uses the older none in-line data declarations. This allows you to see the coding differences/benefits of the later inline syntax. It may also be useful if you are using an older version of SAP as some of the newer syntax above, such as the @DATA is not available until 4.70 EHP 8.
DATA:
| ld_topequi | TYPE CSTEQUI , |
| ld_aclas | TYPE TAPPL-APPLCLASS , |
| it_stb | TYPE STANDARD TABLE OF STPOL , |
| wa_stb | LIKE LINE OF it_stb, |
| ld_altvo | TYPE CSDATA-XFELD , |
| ld_aufsw | TYPE CSDATA-XFELD , |
| ld_auskz | TYPE CSDATA-XFELD , |
| ld_bagrp | TYPE MARA-MATNR , |
| ld_beikz | TYPE STPO-BEIKZ , |
| ld_bessl | TYPE CSDATA-XFELD , |
| ld_bgixo | TYPE CSDATA-XFELD , |
| ld_brems | TYPE CSDATA-XFELD , |
| ld_capid | TYPE TC04-CAPID , |
| ld_cospr | TYPE CSDATA-XFELD , |
| ld_datuv | TYPE STKO-DATUV , |
| ld_delnl | TYPE CSDATA-XFELD , |
| ld_emeng | TYPE STKO-BMENG , |
| ld_eqnrv | TYPE EQUI-EQUNR , |
| ld_erskz | TYPE STPO-ERSKZ , |
| ld_erssl | TYPE CSDATA-XFELD , |
| ld_fbstp | TYPE CSDATA-XFELD , |
| ld_mbwls | TYPE CSDATA-XFELD , |
| ld_mdmps | TYPE CSDATA-XFELD , |
| ld_mehrs | TYPE CSDATA-XFELD , |
| ld_mkmat | TYPE CSDATA-XFELD , |
| ld_postp | TYPE STPO-POSTP , |
| ld_rvrel | TYPE STPO-RVREL , |
| ld_sanfr | TYPE STPO-SANFE , |
| ld_sanin | TYPE STPO-SANIN , |
| ld_sanka | TYPE STPO-SANKA , |
| ld_sanko | TYPE STPO-SANKO , |
| ld_sanvs | TYPE STPO-SANVS , |
| ld_schgt | TYPE STPO-SCHGT , |
| ld_stkkz | TYPE STPO-STKKZ , |
| ld_stlal | TYPE STKO-STLAL , |
| ld_stlan | TYPE STZU-STLAN , |
| ld_werks | TYPE MARC-WERKS . |
Please help keep this info upto date and use the comments section below to add useful hints, tips and information specific to this SAP function. This will then be available for you and other users to easily find by simply searching on the object name CS_BOM_EXPLOSION_EQUI or its description.