SAP Reports / Programs

INITIAL_DATA_LOAD_R3_STOCKIND SAP ABAP Report - Initial Data Load from R/3 into LIME Stock Index







INITIAL_DATA_LOAD_R3_STOCKIND 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_STOCKIND 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_STOCKIND. "Basic submit
SUBMIT INITIAL_DATA_LOAD_R3_STOCKIND AND RETURN. "Return to original report after report execution complete
SUBMIT INITIAL_DATA_LOAD_R3_STOCKIND 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 Index
Text Symbol: M01 = Read materials from R/3 and transfer them into LIME index tables


INCLUDES used within this REPORT INITIAL_DATA_LOAD_R3_STOCKIND

INCLUDE INITIAL_DATA_LOAD_R3_STOCKINF1.
INCLUDE INITIAL_DATA_LOAD_R3_STOCKINF2.
INCLUDE INITIAL_DATA_LOAD_R3_STOCKINF3.
INCLUDE INITIAL_DATA_LOAD_R3_STOCKINF4.


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.

VB_BATCH_DEFINITION CALL FUNCTION 'VB_BATCH_DEFINITION' IMPORTING KZDCH = v_kzdch * KZDZV = * AUTBN = * KZDWS = * KZDRV = * KLART = * OBTAB = * MSGID = * MSGTY = * MSGNO = * TABLES * WERKE = .

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/STOCK_MAINTAIN CALL FUNCTION '/LIME/STOCK_MAINTAIN' DESTINATION p_destin EXPORTING is_stock_maint_doc = ls_stoc_001_m i_rfc_mode = ls_rfc_mode IMPORTING et_bapiret = lt_bapiret e_rc_severity = l_rc.

/LIME/STOCK_MAINTAIN CALL FUNCTION '/LIME/STOCK_MAINTAIN' DESTINATION p_destin EXPORTING is_stock_maint_doc = ls_stoc_001_m i_rfc_mode = ls_rfc_mode IMPORTING et_bapiret = lt_bapiret e_rc_severity = l_rc.

/LIME/STOCK_MAINTAIN CALL FUNCTION '/LIME/STOCK_MAINTAIN' DESTINATION p_destin EXPORTING is_stock_maint_doc = ls_stoc_011_m i_rfc_mode = ls_rfc_mode IMPORTING et_bapiret = lt_bapiret e_rc_severity = l_rc.

/LIME/STOCK_MAINTAIN CALL FUNCTION '/LIME/STOCK_MAINTAIN' DESTINATION p_destin EXPORTING is_stock_maint_doc = ls_stoc_021_m i_rfc_mode = ls_rfc_mode IMPORTING et_bapiret = lt_bapiret e_rc_severity = l_rc.

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 .

/LIME/STOCK_MAINTAIN CALL FUNCTION '/LIME/STOCK_MAINTAIN' DESTINATION p_destin EXPORTING is_stock_maint_doc = ls_stoc_002_m i_rfc_mode = ls_rfc_mode IMPORTING et_bapiret = lt_bapiret e_rc_severity = l_rc.

/LIME/STOCK_MAINTAIN CALL FUNCTION '/LIME/STOCK_MAINTAIN' DESTINATION p_destin EXPORTING is_stock_maint_doc = ls_stoc_002_m i_rfc_mode = ls_rfc_mode IMPORTING et_bapiret = lt_bapiret e_rc_severity = l_rc.

/LIME/STOCK_MAINTAIN CALL FUNCTION '/LIME/STOCK_MAINTAIN' DESTINATION p_destin EXPORTING is_stock_maint_doc = ls_stoc_012_m i_rfc_mode = ls_rfc_mode IMPORTING et_bapiret = lt_bapiret e_rc_severity = l_rc.

/LIME/STOCK_MAINTAIN CALL FUNCTION '/LIME/STOCK_MAINTAIN' DESTINATION p_destin EXPORTING is_stock_maint_doc = ls_stoc_022_m 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_STOCKIND or its description.