SAP Reports / Programs

INITIAL_DATA_LOAD_R3_STOCK SAP ABAP Report - Initial Data Load from R/3 into LIME Stock Quantities







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


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


Text pool values


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


INCLUDES used within this REPORT INITIAL_DATA_LOAD_R3_STOCK

INCLUDE INITIAL_DATA_LOAD_R3_STOC_F01.
INCLUDE INITIAL_DATA_LOAD_R3_STOC_F02.


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:

/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.



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 INITIAL_DATA_LOAD_R3_STOCK or its description.