SAP Reports / Programs | Materials Management | Inventory Management | Excise Duty(MM-IM-ED) SAP MM

/BEV2/EDFSHWHP SAP ABAP Report - List Production shrinkage (actual)







/BEV2/EDFSHWHP is a standard Executable ABAP Report available within your SAP system (depending on your version and release level). Below is the basic information available for this SAP report including which OBJECTS it interacts with such as TABLES, FUNCTION MODULES, INCLUDES ETC. Also check out the submitted Comments related to this SAP report or see any standard documentation available.

If you would like to execute this report or see the full code listing simply enter /BEV2/EDFSHWHP into the relevant SAP transactions such as SE38 or SE80


Transaction Code(s):

Below is a list of transaction codes which are relevant to this SAP report

/BEV2/EDB2 - Production Shrinkage (Actual) List


ABAP code to call this SAP report using the submit statement

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.






SUBMIT /BEV2/EDFSHWHP. "Basic submit
SUBMIT /BEV2/EDFSHWHP AND RETURN. "Return to original report after report execution complete
SUBMIT /BEV2/EDFSHWHP VIA SELECTION-SCREEN. "Display selection screen of submitted report to user
    See more syntax options for the ABAP SUBMIT statement


Text pool values


Selection Text: P_VBS = D .
Selection Text: S_WERKS = D .
Selection Text: S_MATNR = D .
Selection Text: S_LGORT = D .
Selection Text: S_BUDAT = D .
Selection Text: P_STLAG = D .
Selection Text: P_PERI = D .
Selection Text: P_MEDIA = D .
Selection Text: P_WERK = Breakdown by plant
Selection Text: P_NACH = Total docs. posted subsequen.
Selection Text: P_LGORT = Breakdown by storage location
Selection Text: P_ALV = Display with ALV List
Title: List Production shrinkage (actual)
Text Symbol: 035 = Shrink.
Text Symbol: 034 = Shrink. in LA
Text Symbol: 033 = Qty
Text Symbol: 032 = Qty in LA
Text Symbol: 031 = Settlement Period: &1 - &2
Text Symbol: 030 = Tax Warehse: &1
Text Symbol: 022 = Date Material Text %-vol. in SE
Text Symbol: 021 = Sum Stor. loc.:
Text Symbol: 020 = Total:
Text Symbol: 019 = Shrinkage
Text Symbol: 018 = Plant SL Date Doc. Material Text %-vol. in SE
Text Symbol: 017 = Indiv. docs./subseque. postings:
Text Symbol: 016 = Indiv. docs for plant
Text Symbol: 015 = Sum Subse. postings:
Text Symbol: 014 = Sum Total :
Text Symbol: 013 = Sum Plant:
Text Symbol: 012 = Plant Date Material Text %-vol. in SE
Text Symbol: 011 = Plant SL Date Material Text %-vol. in SE
Text Symbol: 010 = Shrinkage
Text Symbol: 009 = Settlement Period :
Text Symbol: 008 = TWarehouse:
Text Symbol: 007 = Page:
Text Symbol: 006 = Page: &1
Text Symbol: 005 = from:&1 at: &2
Text Symbol: 004 = List PRODUCTIONSHRINKAGE (actual)





Text Symbol: 003 = Output
Text Symbol: 002 = List Evaluat.
Text Symbol: 001 = Selection Criteria


INCLUDES used within this REPORT /BEV2/EDFSHWHP

No INCLUDES are used within this REPORT code!


TABLES used within REPORT and the associated SELECT statement:

No SAP DATABASE tables are accessed within this REPORT code!


Function Modules used within report and the associated call statement:

/BEV2/ED_DEFAULT_SLAGER CALL FUNCTION '/BEV2/ED_DEFAULT_SLAGER' EXPORTING i_yhvbart = p_vbs IMPORTING o_yhslager = p_stlag * tables * t_yhslager = EXCEPTIONS notfound = 1 OTHERS = 2.

/BEV2/ED_CHK_AUTH_REPS CALL FUNCTION '/BEV2/ED_CHK_AUTH_REPS' EXPORTING * I_PROGRAM = i_tcode = '/BEV2/EDB2' i_action = '03' EXCEPTIONS access_denied = 1 tcode_not_assigned = 2 missing_parameter = 3 OTHERS = 4.

/BEV2/EDHP_PREPARE_REP_SUBST CALL FUNCTION '/BEV2/EDHP_PREPARE_REP_SUBST' EXPORTING i_vbsart_p = p_vbs i_slager_p = p_stlag IMPORTING e_vbsart = gv_subst_vbsart e_slager = gv_subst_slager * TABLES * I_VBSART_S = S_VBS * I_SLAGER_S = S_SLAGER EXCEPTIONS OTHERS = 1.

/BEV2/ED_REA_STEUERLAGER CALL FUNCTION '/BEV2/ED_REA_STEUERLAGER' EXPORTING * I_TABNAM = /BEV2/ED903 i_datab = s_budat-low i_datbi = s_budat-high TABLES * I_YH903 = i_yh902 = lv_yh902 * I_SELECT_YHVBART = * I_SELECT_YHSLAGER = EXCEPTIONS not_found = 1 OTHERS = 2.

/BEV2/ED_REA_ED_MATERIALIEN CALL FUNCTION '/BEV2/ED_REA_ED_MATERIALIEN' TABLES i_sel_yhvbart = i_vbs i_sel_matnr = s_matnr o_yhmaa = xyhmaa EXCEPTIONS yhmaa_not_found = 1 OTHERS = 2.

/BEV2/ED_REA_ALL_MATERIALTEXT CALL FUNCTION '/BEV2/ED_REA_ALL_MATERIALTEXT' EXPORTING i_spras = sy-langu TABLES i_mat_tab = gt_mattab * s_matnr = s_matnr o_makt = xmakt EXCEPTIONS makt_not_found = 1 OTHERS = 2.

/BEV2/ED_REA_STEUERLAGER CALL FUNCTION '/BEV2/ED_REA_STEUERLAGER' EXPORTING * I_TABNAM = /BEV2/ED903 i_datab = z_dat_von i_datbi = z_dat_bis TABLES i_yh903 = xyh903 i_yh902 = xyh902 * E_YH902T = i_select_yhvbart = i_vbs i_select_yhslager = i_stlag EXCEPTIONS not_found = 1 OTHERS = 2.

/BEV2/ED_REA_ED_EINHEITEN CALL FUNCTION '/BEV2/ED_REA_ED_EINHEITEN' EXPORTING i_tabnam = '/BEV2/ED915' i_yhvbart = p_vbs TABLES i_yh915 = xyh915 EXCEPTIONS not_found = 1 OTHERS = 2.

/BEV2/ED_REA_SCHWUND_PRAKT CALL FUNCTION '/BEV2/ED_REA_SCHWUND_PRAKT' EXPORTING i_yhvbart = p_vbs i_herstell = con_x i_abfuell = space i_datab = z_dat_von i_datbi = z_dat_bis TABLES o_yh927 = xyh927 EXCEPTIONS not_found = 1 OTHERS = 2.

/BEV2/ED_REA_ED_PERIODE CALL FUNCTION '/BEV2/ED_REA_ED_PERIODE' EXPORTING i_yhvbart = p_vbs i_yhslager = p_stlag i_yhstper = z_peri * I_TABNEU = 'X' TABLES o_yh909 = xyh909 EXCEPTIONS notfound = 1 OTHERS = 2.

/BEV2/ED_REA_MKPF_MSEG_BUDAT CALL FUNCTION '/BEV2/ED_REA_MKPF_MSEG_BUDAT' TABLES i_budat = s_budat i_matnr = s_matnr i_werks = s_werks i_lgort = s_lgort o_mkpf = xmkpf o_mseg = xmseg EXCEPTIONS notfound = 1 OTHERS = 2.

/BEV2/ED_REA_MKPF_BUDAT * CALL FUNCTION '/BEV2/ED_REA_MKPF_BUDAT' * TABLES * I_BUDAT = S_BUDAT * O_MKPF = XMKPF * EXCEPTIONS * MKPF_NOT_FOUND = 1 * OTHERS = 2.

/BEV2/ED_REA_MSEG_MKPF * CALL FUNCTION '/BEV2/ED_REA_MSEG_MKPF' * TABLES * I_MKPF = XMKPF * I_MATNR = S_MATNR * I_WERKS = S_WERKS * I_LGORT = S_LGORT * O_MSEG = XMSEG * EXCEPTIONS * MSEG_NOT_FOUND = 1 * OTHERS = 2.

/BEV2/ED_GET_ALKOHOL_MATERIAL CALL FUNCTION '/BEV2/ED_GET_ALKOHOL_MATERIAL' EXPORTING i_matnr = xmseg-matnr i_werks = xmseg-werks i_lgort = xmseg-lgort i_charg = xmseg-charg i_datum = xmkpf-budat IMPORTING o_yhalko = z_yhalko TABLES t_yhmaa = lt_yhmaa t_yhmac = lt_yhmac EXCEPTIONS notfound = 1 OTHERS = 2.

/BEV2/ED_MENGEN_UMRECHNEN CALL FUNCTION '/BEV2/ED_MENGEN_UMRECHNEN' EXPORTING i_vbsart = p_vbs i_bukrs = xyh902-bukrs i_menge = xmseg-menge i_meins = xmseg-meins i_erfmg = xmseg-erfmg i_erfme = xmseg-erfme i_matnr = xmseg-matnr i_alternative_umr = xyhmaa-yhkaltumr i_alko = z_yhalko * I_RUNDEN = 'X' IMPORTING e_abrmenge = z_volumla * E_ABRMEIN = * TABLES * O_YH915 = EXCEPTIONS conversion_not_found = 1 OTHERS = 2.

/BEV2/ED_GET_PRINT_PARAMETERS CALL FUNCTION '/BEV2/ED_GET_PRINT_PARAMETERS' EXPORTING i_yhvbart = p_vbs i_uname = sy-uname i_repid = z_repid i_yhslager = p_stlag i_dialog = p_dialog i_mode = p_media i_listform = con_l IMPORTING o_pri_params = params o_arc_params = arc_parameter o_fehlflag = z_fehlflag o_listtyp = lv_listtyp EXCEPTIONS fix_params_not_found = 1 arc_params_not_found = 2 listform_false = 3 not_entry_toaom = 4 printer_not_found = 5 OTHERS = 6.

/BEV2/ED_WRITE_ARCDOC_ID





CALL FUNCTION '/BEV2/ED_WRITE_ARCDOC_ID' EXPORTING i_listform = con_l i_listtyp = lv_listtyp is_params = arc_parameter i_vbart = p_vbs i_slager = p_stlag IMPORTING out_arc_params = arc_parameter TABLES it_budat = i_budat * it_vbart = * it_slager = EXCEPTIONS budat_false = 1 budat_not_find = 2 not_entry_toaom = 3 OTHERS = 4.

/BEV2/EDHP_VAR_IN_TEXTZEILE CALL FUNCTION '/BEV2/EDHP_VAR_IN_TEXTZEILE' EXPORTING var1 = lv_var_dat var2 = lv_var_zeit CHANGING textzeile = lv_text.

/BEV2/ED_REA_TITELZEILEN CALL FUNCTION '/BEV2/ED_REA_TITELZEILEN' EXPORTING i_yhvbart = p_vbs i_yhslager = p_stlag i_spras = sy-langu i_write = con_x i_linesize = sy-linsz TABLES xyh922t = xyh922t EXCEPTIONS not_found = 1 OTHERS = 2.

AUTHORITY_CHECK_TCODE CALL FUNCTION 'AUTHORITY_CHECK_TCODE' EXPORTING tcode = 'MB03' EXCEPTIONS ok = 1 not_ok = 2 OTHERS = 3.

POPUP_DISPLAY_TEXT CALL FUNCTION 'POPUP_DISPLAY_TEXT' EXPORTING * LANGUAGE = SY-LANGU popup_title = sy-title * START_COLUMN = 10 * START_ROW = 3 text_object = '/BEV2/ED_HERSTELLSCHWUND' * importing * cancelled = EXCEPTIONS text_not_found = 1 OTHERS = 2.

DYNP_VALUES_READ CALL FUNCTION 'DYNP_VALUES_READ' EXPORTING dyname = '/BEV2/EDFSHWHP' dynumb = sy-dynnr translate_to_upper = 'X' TABLES dynpfields = dynpfields EXCEPTIONS invalid_abapworkarea = 01 invalid_dynprofield = 02 invalid_dynproname = 03 invalid_dynpronummer = 04 invalid_request = 05 no_fielddescription = 06 undefind_error = 07.

/BEV2/ED_F4_SLAGER CALL FUNCTION '/BEV2/ED_F4_SLAGER' EXPORTING i_yhvbart = p_vbs * DISPLAY = ' ' IMPORTING e_yhslager = p_stlag EXCEPTIONS noselect = 1 OTHERS = 2.

DYNP_VALUES_READ CALL FUNCTION 'DYNP_VALUES_READ' EXPORTING dyname = '/BEV2/EDFSHWHP' dynumb = sy-dynnr translate_to_upper = 'X' TABLES dynpfields = dynpfields EXCEPTIONS invalid_abapworkarea = 01 invalid_dynprofield = 02 invalid_dynproname = 03 invalid_dynpronummer = 04 invalid_request = 05 no_fielddescription = 06 undefind_error = 07.

/BEV2/ED_F4_STPER CALL FUNCTION '/BEV2/ED_F4_STPER' EXPORTING i_vbsart = p_vbs i_stlager = p_stlag * display = IMPORTING e_stper = p_peri * tables * T_VBSART = * T_STLAGER = EXCEPTIONS noselect = 1 OTHERS = 2.



Contribute (Add Comments)

Although this basic information may have limited use it does provide an easy to find location to store any knowledge about this program/report.

The contribute/comments section below therefore offer's an opportunity for anyone to add additional information. This can be anything from useful hints, tips and screen shots to relevant SAP notes or anything else you feel is relevant to this report.

This will then be available for everyone to easily find by simply searching on the report name /BEV2/EDFSHWHP or its description.