SAP Reports / Programs

/BEV2/ED_CHECK_TOOL_FIXSTOCK SAP ABAP Report - ED: Comparison of fixed stocks according to two calculation methods







/BEV2/ED_CHECK_TOOL_FIXSTOCK 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/ED_CHECK_TOOL_FIXSTOCK 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/ED_CHECK_TOOL - Comparison of Fixed Stocks


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/ED_CHECK_TOOL_FIXSTOCK. "Basic submit
SUBMIT /BEV2/ED_CHECK_TOOL_FIXSTOCK AND RETURN. "Return to original report after report execution complete
SUBMIT /BEV2/ED_CHECK_TOOL_FIXSTOCK 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: S_WERKS = D Plant
Selection Text: S_VBART = D Excise Duty Type
Selection Text: S_SLAGER = D Tax/Bonded Warehouse Number
Selection Text: S_MATNR = D Material
Selection Text: S_LGORT = D Storage Location
Selection Text: P_VACALV = D Layout
Selection Text: P_STDAT2 = D Start date
Selection Text: P_STDAT1 = D Start date
Selection Text: P_NULL = Output of Zero Stock
Selection Text: P_METH2 = D Determination Schema
Selection Text: P_METH1 = D Determination Schema
Selection Text: P_DATUM = D Current Date
Selection Text: P_AE_DAT = D Start/End
Title: ED: Comparison of fixed stocks according to two calculation methods
Text Symbol: 004 = Output Options
Text Symbol: 003 = Calculation Method 2
Text Symbol: 002 = Calculation Method 1
Text Symbol: 001 = Selection Options


INCLUDES used within this REPORT /BEV2/ED_CHECK_TOOL_FIXSTOCK

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:

POPUP_DISPLAY_TEXT CALL FUNCTION 'POPUP_DISPLAY_TEXT' EXPORTING popup_title = sy-title text_object = '/BEV2/ED_NULLBESTAND' EXCEPTIONS text_not_found = 0 OTHERS = 0.

LVC_VARIANT_F4 CALL FUNCTION 'LVC_VARIANT_F4' EXPORTING is_variant = variant i_save = 'A' " {'A'|'X'|'U'|' '} IMPORTING e_exit = variant_exit es_variant = variant EXCEPTIONS not_found = 1.

/BEV2/EDHP_GET_ED_WORKAREA CALL FUNCTION '/BEV2/EDHP_GET_ED_WORKAREA' IMPORTING e_yhvbart = lv_vbart e_yhslager = lv_slager EXCEPTIONS OTHERS = 1.

/BEV2/ED_REA_STEUERLAGER CALL FUNCTION '/BEV2/ED_REA_STEUERLAGER' TABLES i_yh902 = xyh902 i_select_yhvbart = s_vbart i_select_yhslager = s_slager EXCEPTIONS not_found = 1 OTHERS = 2.

/BEV2/ED_F4_HELP_AUFSETZDATUM CALL FUNCTION '/BEV2/ED_F4_HELP_AUFSETZDATUM' EXPORTING i_ae_flag = p_ae_dat IMPORTING e_startdat = p_stdat1 TABLES t_vbart = s_vbart t_slager = s_slager.

/BEV2/ED_F4_HELP_AUFSETZDATUM CALL FUNCTION '/BEV2/ED_F4_HELP_AUFSETZDATUM' EXPORTING i_ae_flag = p_ae_dat IMPORTING e_startdat = p_stdat2 TABLES t_vbart = s_vbart t_slager = s_slager.

/BEV2/ED_CALC_STOCK CALL FUNCTION '/BEV2/ED_CALC_STOCK' EXPORTING i_edart = xyh902-yhvbart i_edslager = xyh902-yhslager * I_LOSE_WARE = 'X' * I_YHBEHTYP = * I_NILO_WARE = 'X' i_nullbestand = p_null * I_BUKRS = * I_GEFINH = i_zieldat = p_datum i_ae_flag = p_ae_dat i_scheme = p_meth1 i_startdat = p_stdat1 * IMPORTING * E_RESULT_VALID = TABLES it_werks = s_werks it_lgort = s_lgort it_matnr = s_matnr * IT_CHARG = * IT_ALKO = * IT_BESKZ = * IT_MATGRP = * IT_MATGRP_S = * IT_YHSLHER = * IT_YHVBSNR = * IT_YHBRAUNR = * OT_BESTAND = ot_stock = it_stock_s EXCEPTIONS startdat_nonexist = 1 bookingbottleneck = 2 none_remaining = 3 OTHERS = 4.

/BEV2/ED_CALC_STOCK CALL FUNCTION '/BEV2/ED_CALC_STOCK' EXPORTING i_edart = xyh902-yhvbart i_edslager = xyh902-yhslager * I_LOSE_WARE = 'X' * I_YHBEHTYP = * I_NILO_WARE = 'X' i_nullbestand = p_null * I_BUKRS = * I_GEFINH = i_zieldat = p_datum i_ae_flag = p_ae_dat i_scheme = p_meth2 i_startdat = p_stdat2 * IMPORTING * E_RESULT_VALID = TABLES it_werks = s_werks it_lgort = s_lgort it_matnr = s_matnr * IT_CHARG = * IT_ALKO = * IT_BESKZ = * IT_MATGRP = * IT_MATGRP_S = * IT_YHSLHER = * IT_YHVBSNR = * IT_YHBRAUNR = * OT_BESTAND = ot_stock = it_stock_s EXCEPTIONS startdat_nonexist = 1 bookingbottleneck = 2 none_remaining = 3 OTHERS = 4.

/BEV2/ED_CHK_AUTH_ALV_LAYOUT CALL FUNCTION '/BEV2/ED_CHK_AUTH_ALV_LAYOUT' EXPORTING i_program = sy-repid i_user = sy-uname CHANGING c_save = alv_save.

REUSE_ALV_GRID_DISPLAY CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY' EXPORTING * I_INTERFACE_CHECK = ' ' * I_BYPASSING_BUFFER = ' ' * I_BUFFER_ACTIVE = ' ' i_callback_program = '/BEV2/ED_CHECK_TOOL_FIXSTOCK' * I_CALLBACK_PF_STATUS_SET = ' ' * i_callback_user_command = 'USER_COMMAND' * I_CALLBACK_TOP_OF_PAGE = ' ' * I_CALLBACK_HTML_TOP_OF_PAGE = ' ' * I_CALLBACK_HTML_END_OF_LIST = ' ' * I_STRUCTURE_NAME = * I_BACKGROUND_ID = ' ' * I_GRID_TITLE = * I_GRID_SETTINGS = is_layout = layout it_fieldcat = xfield * IT_EXCLUDING = * IT_SPECIAL_GROUPS = * IT_SORT = * IT_FILTER = * IS_SEL_HIDE = * I_DEFAULT = 'X' i_save = alv_save is_variant = variant * IT_EVENTS = * IT_EVENT_EXIT = * IS_PRINT = * IS_REPREP_ID = * I_SCREEN_START_COLUMN = 0 * I_SCREEN_START_LINE = 0 * I_SCREEN_END_COLUMN = 0 * I_SCREEN_END_LINE = 0 * IT_ALV_GRAPHICS = * IT_HYPERLINK = * IT_ADD_FIELDCAT = * IT_EXCEPT_QINFO = * I_HTML_HEIGHT_TOP = * I_HTML_HEIGHT_END = * IMPORTING * E_EXIT_CAUSED_BY_CALLER = * ES_EXIT_CAUSED_BY_USER = TABLES t_outtab = it_check_stock[] EXCEPTIONS program_error = 0 OTHERS = 0.

REUSE_ALV_FIELDCATALOG_MERGE CALL FUNCTION 'REUSE_ALV_FIELDCATALOG_MERGE' EXPORTING * I_PROGRAM_NAME = * I_INTERNAL_TABNAME = i_structure_name = '/BEV2/ED_CHECK_STOCK' * I_CLIENT_NEVER_DISPLAY = 'X' * I_INCLNAME = * I_BYPASSING_BUFFER = * I_BUFFER_ACTIVE = CHANGING ct_fieldcat = xfield EXCEPTIONS inconsistent_interface = 1 program_error = 2 OTHERS = 3.

REUSE_ALV_VARIANT_EXISTENCE CALL FUNCTION 'REUSE_ALV_VARIANT_EXISTENCE' EXPORTING i_save = 'A' CHANGING cs_variant = ls_variant EXCEPTIONS wrong_input = 1 not_found = 2 program_error = 3 OTHERS = 4.



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/ED_CHECK_TOOL_FIXSTOCK or its description.