/BEV1/SR_BATCH_PROCESSING 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 /BEV1/SR_BATCH_PROCESSING 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.
Title: Background processing of sales returns subsequent documents
Text Symbol: C01 = Errors occurred when generating subsequent documents in background processing
Text Symbol: C02 = View logs using transaction SLG1
Text Symbol: C03 = (Object = /BEV1/SR, Subobject = BATCH)
Text Symbol: C04 = Rectify the cause and then perform manual settlement
Text Symbol: D01 = Problem in background process
Text Symbol: H01 = Error in background processing of the sales returns
Text Symbol: L01 = Sales returns background processing from
No INCLUDES are used within this REPORT code!
No SAP DATABASE tables are accessed within this REPORT code!
BAL_LOG_CREATE CALL FUNCTION 'BAL_LOG_CREATE' EXPORTING i_s_log = l_s_log_header IMPORTING e_log_handle = l_log_handle EXCEPTIONS log_header_inconsistent = 1 OTHERS = 2.
ENQUEUE_EVVBAKE CALL FUNCTION 'ENQUEUE_EVVBAKE' EXPORTING * MODE_VBAK = 'E' * MANDT = SY-MANDT vbeln = l_vbeln * X_VBELN = ' ' * _SCOPE = '2' _wait = co_char_x * _COLLECT = ' ' EXCEPTIONS foreign_lock = 1 system_failure = 2 OTHERS = 3.
/BEV1/SR_CREATE_ORDERS CALL FUNCTION '/BEV1/SR_CREATE_ORDERS' EXPORTING ip_vbak = l_s_vbak ip_throw_messages = '' ip_kna1 = l_s_kna1 TABLES tp_vbap_output = l_it_vbap_main_pos tp_bot_grid_cont = l_it_analyse_pos tp_vbap = l_it_vbap tp_vbkd = l_it_vbkd CHANGING cp_sr_badi = l_r_sr_badi EXCEPTIONS doc_flow_error = 1 badi_error = 2 create_error = 3 OTHERS = 4.
BAL_LOG_MSG_ADD CALL FUNCTION 'BAL_LOG_MSG_ADD' EXPORTING i_log_handle = l_log_handle i_s_msg = l_s_message EXCEPTIONS log_not_found = 1 msg_inconsistent = 2 log_is_full = 3 OTHERS = 4.
DEQUEUE_EVVBAKE CALL FUNCTION 'DEQUEUE_EVVBAKE' EXPORTING vbeln = l_vbeln.
BAL_DB_SAVE CALL FUNCTION 'BAL_DB_SAVE' EXPORTING i_client = sy-mandt * I_IN_UPDATE_TASK = ' ' * I_SAVE_ALL = ' ' i_t_log_handle = l_it_log_handle EXCEPTIONS log_not_found = 1 save_not_allowed = 2 numbering_error = 3 OTHERS = 4.
BAL_LOG_REFRESH CALL FUNCTION 'BAL_LOG_REFRESH' EXPORTING i_log_handle = l_log_handle EXCEPTIONS log_not_found = 1 OTHERS = 2.
SO_NEW_DOCUMENT_SEND_API1 CALL FUNCTION 'SO_NEW_DOCUMENT_SEND_API1' EXPORTING document_data = l_s_mail_doc_data * DOCUMENT_TYPE = 'RAW' * PUT_IN_OUTBOX = ' ' * IMPORTING * SENT_TO_ALL = * NEW_OBJECT_ID = tables OBJECT_HEADER = l_it_mail_doc_header OBJECT_CONTENT = l_it_mail_doc_content * CONTENTS_HEX = * OBJECT_PARA = * OBJECT_PARB = receivers = l_it_mail_receiver EXCEPTIONS TOO_MANY_RECEIVERS = 1 DOCUMENT_NOT_SENT = 2 DOCUMENT_TYPE_NOT_EXIST = 3 OPERATION_NO_AUTHORIZATION = 4 PARAMETER_ERROR = 5 X_ERROR = 6 ENQUEUE_ERROR = 7 OTHERS = 8.
Although this basic information may have limited use it does provide an easy to find location to store any knowledge about this program/report.
/BEV1/SR_BATCH_PROCESSING - Background processing of sales returns subsequent documents /BEV1/SR_BATCH_PROCESSING - Background processing of sales returns subsequent documents /BEV1/SRLST1_PBO - /BEV1/SRLST1PBO /BEV1/SRLST1_PAI - /BEV1/SRLST1PAI /BEV1/SRLST1_LCL_EVENT - /BEV1/SRLST1LCLEVENT /BEV1/SRLST1_FORMS - /BEV1/SRLST1FORMS