CS_RT_BOM_READ 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_RT_BOM_READ into the relevant SAP transaction such as SE37 or SE80.
Associated Function Group:
CSRT
Released Date:
Not Released
Processing type: Normal fucntion module
CALL FUNCTION 'CS_RT_BOM_READ' "Import and test reference
EXPORTING
* eaennr = " csin-aennr
* eclass = SPACE " csin-class
* eclint = SPACE " csin-clint
* edatub = SPACE " csin-datub
* edatuv = SPACE " csin-datuv
* edokar = SPACE " csin-dokar
* edoknr = SPACE " csin-doknr
* edoktl = SPACE " csin-doktl
* edokvr = SPACE " csin-dokvr
* eequnr = SPACE " csin-equnr
* eklart = SPACE " csin-klart
* ematnr = SPACE " csin-matnr
* epspnr = SPACE " csin-pspnr
* estlal = SPACE " csin-stlal
* estlan = SPACE " csin-stlan
* estlty = SPACE " csin-stlty
* estobj = SPACE " csin-stobj
* etplnr = SPACE " csin-tplnr
* evbeln = SPACE " csin-vbeln
* evbpos = SPACE " csin-vbpos
* ewerks = SPACE " csin-werks
flg_copy = "
* e_eff_clint = " cc_clint
IMPORTING
abmein = " stko-bmein
akbaus = " stzu-kbaus
astlal = " stko-stlal
astlbe = " stzu-stlbe
asubrc = " sy-subrc
. " CS_RT_BOM_READ
The ABAP code below is a full code listing to execute function module CS_RT_BOM_READ 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_abmein | TYPE STKO-BMEIN , |
| ld_akbaus | TYPE STZU-KBAUS , |
| ld_astlal | TYPE STKO-STLAL , |
| ld_astlbe | TYPE STZU-STLBE , |
| ld_asubrc | TYPE SY-SUBRC . |
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_abmein | TYPE STKO-BMEIN , |
| ld_eaennr | TYPE CSIN-AENNR , |
| ld_akbaus | TYPE STZU-KBAUS , |
| ld_eclass | TYPE CSIN-CLASS , |
| ld_astlal | TYPE STKO-STLAL , |
| ld_eclint | TYPE CSIN-CLINT , |
| ld_astlbe | TYPE STZU-STLBE , |
| ld_edatub | TYPE CSIN-DATUB , |
| ld_asubrc | TYPE SY-SUBRC , |
| ld_edatuv | TYPE CSIN-DATUV , |
| ld_edokar | TYPE CSIN-DOKAR , |
| ld_edoknr | TYPE CSIN-DOKNR , |
| ld_edoktl | TYPE CSIN-DOKTL , |
| ld_edokvr | TYPE CSIN-DOKVR , |
| ld_eequnr | TYPE CSIN-EQUNR , |
| ld_eklart | TYPE CSIN-KLART , |
| ld_ematnr | TYPE CSIN-MATNR , |
| ld_epspnr | TYPE CSIN-PSPNR , |
| ld_estlal | TYPE CSIN-STLAL , |
| ld_estlan | TYPE CSIN-STLAN , |
| ld_estlty | TYPE CSIN-STLTY , |
| ld_estobj | TYPE CSIN-STOBJ , |
| ld_etplnr | TYPE CSIN-TPLNR , |
| ld_evbeln | TYPE CSIN-VBELN , |
| ld_evbpos | TYPE CSIN-VBPOS , |
| ld_ewerks | TYPE CSIN-WERKS , |
| ld_flg_copy | TYPE STRING , |
| ld_e_eff_clint | TYPE CC_CLINT . |
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_RT_BOM_READ or its description.