MSDCA_CREATE_BATCHDATAF02 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 MSDCA_CREATE_BATCHDATAF02 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: Include MSDCA_CREATE_BATCHDATAF02
No INCLUDES are used within this REPORT code!
No SAP DATABASE tables are accessed within this REPORT code!
BAL_LOG_MSG_ADD call function 'BAL_LOG_MSG_ADD' EXPORTING i_log_handle = l_log_handle i_s_msg = l_bal_s_msg.
CONVERT_DATE_TO_EXTERNAL call function 'CONVERT_DATE_TO_EXTERNAL' EXPORTING date_internal = bkpf-budat IMPORTING date_external = l_date_ext EXCEPTIONS date_internal_is_invalid = 1 others = 2.
CONVERT_DATE_TO_EXTERNAL call function 'CONVERT_DATE_TO_EXTERNAL' EXPORTING date_internal = p_budat IMPORTING date_external = l_date_ext EXCEPTIONS date_internal_is_invalid = 1 others = 2.
FM_FIPEX_GET_FROM_FIPOS call function 'FM_FIPEX_GET_FROM_FIPOS' exporting i_fipos = lv_new_fipos importing e_fipex = lv_new_fipex.
CALCULATE_TAX_FROM_NET_AMOUNT call function 'CALCULATE_TAX_FROM_NET_AMOUNT' EXPORTING i_bukrs = bkpf-bukrs i_mwskz = l_skto_amount-mwskz i_waers = bkpf-waers i_wrbtr = l_skto_amount-wrbtr IMPORTING e_fwste = l_skto_amount-wmwst TABLES t_mwdat = l_t_mwdat EXCEPTIONS others = 0.
CALCULATE_TAX_FROM_NET_AMOUNT call function 'CALCULATE_TAX_FROM_NET_AMOUNT' EXPORTING i_bukrs = bkpf-bukrs i_mwskz = l_sum_amount-mwskz i_waers = bkpf-waers i_wrbtr = l_skto_amount-dmbtr IMPORTING e_fwste = l_skto_amount-mwsts TABLES t_mwdat = l_t_mwdat EXCEPTIONS others = 0.
BDC_OPEN_GROUP call function 'BDC_OPEN_GROUP' EXPORTING group = u_mapname user = sy-uname EXCEPTIONS client_invalid = 1 destination_invalid = 2 group_invalid = 3 group_is_locked = 4 holddate_invalid = 5 internal_error = 6 queue_error = 7 running = 8 system_lock_error = 9 user_invalid = 10 others = 11.
BAL_LOG_MSG_ADD call function 'BAL_LOG_MSG_ADD' EXPORTING i_log_handle = l_log_handle i_s_msg = l_bal_s_msg.
BDC_CLOSE_GROUP call function 'BDC_CLOSE_GROUP' EXCEPTIONS not_open = 1 queue_error = 2 others = 3.
Although this basic information may have limited use it does provide an easy to find location to store any knowledge about this program/report.
MSDCA_CREATE_BATCHDATAF02 - Include MSDCA_CREATE_BATCHDATAF02 MSDCA_CREATE_BATCHDATAF01 - MSDCACREATEBATCHDATAF01 MSD2XUDA - documentation and ABAP source code MSD2XPRO - Routines for Writing and Output for Activation Logs MSD2XINC - Global Values for All Aggregate Transactions MSD2XF01 - Common FORMs for programs SAPMSD2x (1<=x<=9)