SAPDBS1L is a standard Executable ABAP Report available within your SAP system (depending on your version and release level). It is used for Program
If you would like to execute this report or see the full code listing simply enter SAPDBS1L into the relevant SAP transactions such as SE38 or SE80
This report can be called from another progam/report simply by using the ABAP SUBMIT statement, see below for example ABAP code snipts of how to do this.
Selection Text: S1_LGNUM = Warehouse number
Selection Text: S1_LGPLA = Storage bin
Selection Text: S1_LGTYP = Storage type
Title: Access Routines for Database S1L
Text Symbol: 001 = Data base limits for stock figures by storage bins
Text Symbol: 100 = Only one stor.ty.
Text Symbol: 101 = W/o bin location
Text Symbol: 102 = Only one storage type, no free selection criteria
INCLUDE MLLVSKON.
No SAP DATABASE tables are accessed within this REPORT code!
RS_SELSCREEN_VERSION call function 'RS_SELSCREEN_VERSION' importing p_version = gt_version exceptions others = 1.
SELECT_OPTIONS_RESTRICT call function 'SELECT_OPTIONS_RESTRICT' exporting restriction = restrict db = con_x exceptions too_late = 1 repeated = 2 selopt_without_options = 3 selopt_without_signs = 4 invalid_sign = 5 empty_option_list = 6 invalid_kind = 7 repeated_kind_a = 8 others = 9.
MARA_ARRAY_READ call function 'MARA_ARRAY_READ' tables ipre03 = gt_matnr.
MARA_SINGLE_READ call function 'MARA_SINGLE_READ' exporting matnr = lqua-matnr importing wmara = mara.
MAKT_ARRAY_READ call function 'MAKT_ARRAY_READ' tables ipre09 = lt_pre09.
MAKT_SINGLE_READ call function 'MAKT_SINGLE_READ' exporting matnr = mara-matnr spras = sy-langu importing wmakt = makt exceptions wrong_call = 1 not_found = 2 others = 3.
MLGN_ARRAY_READ call function 'MLGN_ARRAY_READ' tables ipre12 = lt_pre12.
MLGN_SINGLE_READ call function 'MLGN_SINGLE_READ' exporting matnr = makt-matnr lgnum = lqua-lgnum importing wmlgn = mlgn.
MARC_ARRAY_READ call function 'MARC_ARRAY_READ' tables ipre01 = lt_pre01.
MARC_SINGLE_READ call function 'MARC_SINGLE_READ' exporting matnr = makt-matnr werks = lqua-werks importing wmarc = marc.
Although this basic information may have limited use it does provide an easy to find location to store any knowledge about this program/report.