SAP Reports / Programs | Invoicing | SAP Utilities | Invoicing(IS-U-IN) SAP IS

MEAPROT0 SAP ABAP INCLUDE - Forms for log processing: bill/partial bill/cancellation/printout







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


Text pool values


Title: Forms for log processing: bill/partial bill/cancellation/printout


INCLUDES used within this REPORT MEAPROT0

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:

MSG_PREPARE_CLOSE CALL FUNCTION 'MSG_PREPARE_CLOSE' EXPORTING x_msg_handle = ph_handle IMPORTING y_changed = changed EXCEPTIONS not_found = 1 handle_invalid = 2 OTHERS = 3.

MSG_ACTION CALL FUNCTION 'MSG_ACTION' EXPORTING x_msg_handle = ph_handle x_action = co_msg_save IMPORTING yt_lognumbers = lt_lognumbers EXCEPTIONS action_not_supported = 1 handle_invalid = 2 not_found = 3 OTHERS = 4.

BAL_LOG_HDR_CHANGE CALL FUNCTION 'BAL_LOG_HDR_CHANGE' EXPORTING i_log_handle = ls_loghandle i_s_log = lt_log_st EXCEPTIONS log_not_found = 1 log_header_inconsistent = 2 OTHERS = 3.

BAL_DB_SAVE CALL FUNCTION 'BAL_DB_SAVE' EXPORTING i_t_log_handle = lt_loghandle IMPORTING e_new_lognumbers = lt_lgnm.

MSG_CLOSE CALL FUNCTION 'MSG_CLOSE' EXPORTING x_msg_handle = ph_handle EXCEPTIONS not_found = 1 handle_invalid = 2 OTHERS = 3.

MSG_STATUS_APPL_LOG CALL FUNCTION 'MSG_STATUS_APPL_LOG' EXPORTING x_appl_log = p_appl_log IMPORTING y_exist = exist y_msg_handle = p_handle EXCEPTIONS OTHERS = 1.

MSG_CLOSE CALL FUNCTION 'MSG_CLOSE' EXPORTING x_msg_handle = p_handle EXCEPTIONS not_found = 1 handle_invalid = 2 OTHERS = 3.

EMMA_LOG_GET_CURRENT_PROCESS CALL FUNCTION 'EMMA_LOG_GET_CURRENT_PROCESS' IMPORTING es_proc = l_proc.

BAL_LOG_HDR_READ CALL FUNCTION 'BAL_LOG_HDR_READ' EXPORTING i_log_handle = l_proc-loghandle IMPORTING e_s_log = l_openlog.

GUID_CREATE CALL FUNCTION 'GUID_CREATE' IMPORTING ev_guid_32 = l_guid.

MSG_OPEN CALL FUNCTION 'MSG_OPEN' EXPORTING x_no_dialog = 'X' x_log = 'X' x_next_msg = 'X' IMPORTING y_msg_handle = p_handle CHANGING xy_parm = xy_param EXCEPTIONS failed = 1 subs_invalid = 2 log_invalid = 3 OTHERS = 4.

MSG_ACTION CALL FUNCTION 'MSG_ACTION' EXPORTING x_msg_handle = ph_handle x_action = co_msg_save EXCEPTIONS action_not_supported = 1 handle_invalid = 2 not_found = 3 OTHERS = 4.

MSG_ACTION CALL FUNCTION 'MSG_ACTION' EXPORTING x_msg_handle = p_handle x_action = co_msg_save EXCEPTIONS action_not_supported = 1 handle_invalid = 2 not_found = 3 OTHERS = 4.

BP_SET_MSG_HANDLING CALL FUNCTION 'BP_SET_MSG_HANDLING' EXPORTING handlingtype = btc_suppress_msgs_on_handler EXCEPTIONS invalid_handlingtype = 1 setting_failed = 2 OTHERS = 3.

BP_SET_MSG_HANDLING CALL FUNCTION 'BP_SET_MSG_HANDLING' EXPORTING handlingtype = btc_show_msgs_on_handler EXCEPTIONS invalid_handlingtype = 1 setting_failed = 2 OTHERS = 3.

MSG_ACTION CALL FUNCTION 'MSG_ACTION' EXPORTING x_msg_handle = ph_handle x_action = co_msg_dlt_all EXCEPTIONS action_not_supported = 1 handle_invalid = 2 not_found = 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 MEAPROT0 or its description.