INITIAL_DATA_LOAD_R3_STOCK 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 INITIAL_DATA_LOAD_R3_STOCK 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.
Selection Text: P_DESTIN = Destination
Selection Text: SO_MATKL = Material Class
Selection Text: SO_MATNR = Material
Selection Text: SO_MTART = Material Type
Title: Initial Data Load from R/3 into LIME Stock Quantities
Text Symbol: S01 = Read stock quantities from R/3 and transfer them into LIME table /lime/quan
INCLUDE INITIAL_DATA_LOAD_R3_STOC_F01.
INCLUDE INITIAL_DATA_LOAD_R3_STOC_F02.
No SAP DATABASE tables are accessed within this REPORT code!
/LIME/CORE_LOAD CALL FUNCTION '/LIME/CORE_LOAD' DESTINATION p_destin EXPORTING i_document = c_x i_query = c_x i_force_generation = '' i_commit_error = '' IMPORTING et_bapiret = et_bapiret e_rc_severity = e_rc_severity.
CJPN_INTERN_TO_EXTERN_CONV CALL FUNCTION 'CJPN_INTERN_TO_EXTERN_CONV' EXPORTING * EDIT_IMP = 'X' int_num = wa_mspr-pspnr * VSNMR_IMP = * ALWAYS_USE_VSNMR = ' ' IMPORTING ext_num = v_pspnr * PSELT = * EXCEPTIONS * NOT_FOUND = 1 * OTHERS = 2 .
CJPN_INTERN_TO_EXTERN_CONV CALL FUNCTION 'CJPN_INTERN_TO_EXTERN_CONV' EXPORTING * EDIT_IMP = 'X' int_num = wa_mssq-pspnr * VSNMR_IMP = * ALWAYS_USE_VSNMR = ' ' IMPORTING ext_num = v_pspnr * PSELT = * EXCEPTIONS * NOT_FOUND = 1 * OTHERS = 2 .
/LIME/DOCUMENT_INPUT CALL FUNCTION '/LIME/DOCUMENT_INPUT' DESTINATION p_destin EXPORTING is_doc = ls_doc i_rfc_mode = ls_rfc_mode IMPORTING et_bapiret = lt_bapiret e_rc_severity = l_rc.
Although this basic information may have limited use it does provide an easy to find location to store any knowledge about this program/report.
INITIAL_DATA_LOAD_R3_STOCK - Initial Data Load from R/3 into LIME Stock Quantities INITIAL_DATA_LOAD_R3_STOCK - Initial Data Load from R/3 into LIME Stock Quantities INITIALZATION - Include INITIALZATION INITIALIZATION_STATUS - INITIALIZATIONSTATUS INITIALIZATION - documentation and ABAP source code INITIALISE_SESSION - Include INITIALISE_SESSION