SAP Reports / Programs | Environment, Health and Safety | Industrial Hygiene and Safety(EHS-IHS) SAP EHS

REHS_HAZ_AMNT_DETF99 SAP ABAP INCLUDE - REHSHAZAMNTDETF99







REHS_HAZ_AMNT_DETF99 is a standard ABAP INCLUDE 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 REHS_HAZ_AMNT_DETF99 into the relevant SAP transactions such as SE38 or SE80


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 REHS_HAZ_AMNT_DETF99. "Basic submit
SUBMIT REHS_HAZ_AMNT_DETF99 AND RETURN. "Return to original report after report execution complete
SUBMIT REHS_HAZ_AMNT_DETF99 VIA SELECTION-SCREEN. "Display selection screen of submitted report to user
    See more syntax options for the ABAP SUBMIT statement


INCLUDES used within this REPORT REHS_HAZ_AMNT_DETF99

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:

BAL_LOG_CREATE CALL FUNCTION 'BAL_LOG_CREATE' EXPORTING i_s_log = l_s_log IMPORTING e_log_handle = e_log_handle EXCEPTIONS log_header_inconsistent = 1 OTHERS = 2.

BAL_LOG_MSG_CUMULATE CALL FUNCTION 'BAL_LOG_MSG_CUMULATE' EXPORTING i_log_handle = i_log_handle i_s_msg = l_s_msg i_compare_attributes = 'X' i_compare_context = 'X' EXCEPTIONS log_not_found = 1 msg_inconsistent = 2 log_is_full = 3 OTHERS = 4.

BAL_LOG_HDR_READ CALL FUNCTION 'BAL_LOG_HDR_READ' EXPORTING i_log_handle = i_log_handle IMPORTING e_s_log = l_s_log EXCEPTIONS log_not_found = 1 OTHERS = 2.

BAL_DB_SAVE CALL FUNCTION 'BAL_DB_SAVE' EXPORTING i_save_all = 'X' EXCEPTIONS log_not_found = 1 save_not_allowed = 2 numbering_error = 3 OTHERS = 4.

BAL_LOG_HDR_READ CALL FUNCTION 'BAL_LOG_HDR_READ' EXPORTING i_log_handle = i_log_handle IMPORTING e_s_log = l_s_log EXCEPTIONS log_not_found = 1 OTHERS = 2.

BAL_LOG_REFRESH CALL FUNCTION 'BAL_LOG_REFRESH' EXPORTING i_log_handle = i_log_handle EXCEPTIONS log_not_found = 1 OTHERS = 2.

MESSAGES_INITIALIZE CALL FUNCTION 'MESSAGES_INITIALIZE' EXPORTING reset = 'X' EXCEPTIONS log_not_active = 1 wrong_identification = 2 OTHERS = 3.

MESSAGE_STORE CALL FUNCTION 'MESSAGE_STORE' EXPORTING arbgb = i_message_tab-msgid msgty = i_message_tab-msgty msgv1 = i_message_tab-msgv1 msgv2 = i_message_tab-msgv2 msgv3 = i_message_tab-msgv3 msgv4 = i_message_tab-msgv4 txtnr = i_message_tab-msgno EXCEPTIONS message_type_not_valid = 1 not_active = 2 OTHERS = 3.

MESSAGES_SHOW CALL FUNCTION 'MESSAGES_SHOW' EXPORTING i_use_grid = 'X' EXCEPTIONS inconsistent_range = 1 no_messages = 2 OTHERS = 3.

CBIH_LB01_GET_INFOBJ_TYPENAM CALL FUNCTION 'CBIH_LB01_GET_INFOBJ_TYPENAM' EXPORTING i_wadotype = i_api_wado_wa-wadotype IMPORTING e_wadotypenam = l_wadotypenam EXCEPTIONS not_found = 1 OTHERS = 2.

CBIH_LB01_GET_INFOBJ_TYPENAM CALL FUNCTION 'CBIH_LB01_GET_INFOBJ_TYPENAM' EXPORTING i_wadotype = i_api_wado_wa-wadotype IMPORTING e_wadotypenam = l_wadotypenam EXCEPTIONS not_found = 1 OTHERS = 2.

CBIH_LB10_GET_WAID_WANAME CALL FUNCTION 'CBIH_LB10_GET_WAID_WANAME' EXPORTING i_addinf = l_addinf i_wa_recn = i_er_header_wa-recntwah IMPORTING e_waid = l_waid EXCEPTIONS missing_parameter = 1 wka_not_found = 2 internal_error = 3 OTHERS = 4.

CBIH_LB10_GET_WAID_WANAME CALL FUNCTION 'CBIH_LB10_GET_WAID_WANAME' EXPORTING i_addinf = l_addinf i_wa_recn = i_er_header_wa-recntwah IMPORTING e_waid = l_waid EXCEPTIONS missing_parameter = 1 wka_not_found = 2 internal_error = 3 OTHERS = 4.

C148_TRANSLATE_RECN_TO_SUBID CALL FUNCTION 'C148_TRANSLATE_RECN_TO_SUBID' EXPORTING i_recn = i_recn IMPORTING e_subid = l_subid EXCEPTIONS import_error = 1 buf_init_error = 2 translation_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 REHS_HAZ_AMNT_DETF99 or its description.