J_3R_M2_ENT 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 J_3R_M2_ENT 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 J_3R_M2_ENT
No INCLUDES are used within this REPORT code!
No SAP DATABASE tables are accessed within this REPORT code!
RV_SHIPMENT_PRINT_VIEW CALL FUNCTION 'RV_SHIPMENT_PRINT_VIEW' EXPORTING SHIPMENT_NUMBER = SHIPMENT_NUMBER OPTION_TVTK = 'X' "Shipmenttype J/N OPTION_TTDS = 'X' "Disposition J/N LANGUAGE = LANGUAGE OPTION_ITEMS = 'X' "Transport Items J/N OPTION_SEGMENTS = 'X' "Transport Segments J/N OPTION_PARTNERS = 'X' "Partners J/N OPTION_SALES_ORDERS = 'X' "Sales orders J/N OPTION_EXPORT_DATA = 'X' "Export data J/N OPTION_PACKAGES = 'X' "Packages J/N OPTION_FLOW = ' ' "Flow J/N OPTION_NO_REFRESH = ' ' "Refresh Tables J/N IMPORTING F_VTTKVB = VTTKVB "Shipment Header F_TVTK = TVTK "Shipmenttype F_TVTKT = TVTKT"Description Shipmenttype F_TTDS = TTDS "Disposition F_TTDST = TTDST"Description Disposition F_VBPLA = VBPLA"Packages TABLES F_VTTP = XVTTP"Shipment Items F_TRLK = SLK "Delivery F_TRLP = SLP "Delivery Item F_VTTS = XVTTS"Shipment Segments F_VTSP = XVTSP"Segments/Items F_VBPA = XVBPA"Partner F_VBADR = XVBADR "Address F_VTFA = XVTFA"Flow F_VBPLK = XVBPLK "Shipment Unit Header F_VBPLP = XVBPLP "Shipment Unit F_VBPLS = XVBPLS "Shipment Unit Sum EXCEPTIONS NOT_FOUND = 1.
J_3R_HR_GET_RFC_DEST_FI CALL FUNCTION 'J_3R_HR_GET_RFC_DEST_FI' EXPORTING COMPANY_CODE = gv_bukrs IMPORTING DESTINATION = gv_hrdest EXCEPTIONS ERROR_IN_FILTEROBJECTS = 1 ERROR_IN_ALE_CUSTOMIZING = 2 NOT_UNIQUE_RECEIVER = 3 NO_RFC_DESTINATION_MAINTAINED = 4 OTHERS = 5.
UNIT_CONVERSION_SIMPLE CALL FUNCTION 'UNIT_CONVERSION_SIMPLE' EXPORTING INPUT = SLK-BRGEW UNIT_IN = SLK-GEWEI UNIT_OUT = VTTKVB-DTMEG IMPORTING OUTPUT = SLK-BRGEW.
UNIT_CONVERSION_SIMPLE CALL FUNCTION 'UNIT_CONVERSION_SIMPLE' EXPORTING INPUT = SLK-BTGEW UNIT_IN = SLK-GEWEI UNIT_OUT = VTTKVB-DTMEG IMPORTING OUTPUT = SLK-BTGEW.
UNIT_CONVERSION_SIMPLE CALL FUNCTION 'UNIT_CONVERSION_SIMPLE' EXPORTING INPUT = SLK-NTGEW UNIT_IN = SLK-GEWEI UNIT_OUT = VTTKVB-DTMEG IMPORTING OUTPUT = SLK-NTGEW.
UNIT_CONVERSION_SIMPLE CALL FUNCTION 'UNIT_CONVERSION_SIMPLE' EXPORTING INPUT = SLK-VOLUM UNIT_IN = SLK-VOLEH UNIT_OUT = VTTKVB-DTMEV IMPORTING OUTPUT = SLK-VOLUM.
UNIT_CONVERSION_SIMPLE CALL FUNCTION 'UNIT_CONVERSION_SIMPLE' EXPORTING INPUT = SLP-BRGEW UNIT_IN = SLP-GEWEI UNIT_OUT = VTTKVB-DTMEG IMPORTING OUTPUT = SLP-BRGEW.
UNIT_CONVERSION_SIMPLE CALL FUNCTION 'UNIT_CONVERSION_SIMPLE' EXPORTING INPUT = SLP-NTGEW UNIT_IN = SLP-GEWEI UNIT_OUT = VTTKVB-DTMEG IMPORTING OUTPUT = SLP-NTGEW.
FI_COMPANY_CODE_DATA CALL FUNCTION 'FI_COMPANY_CODE_DATA' EXPORTING i_bukrs = gv_bukrs IMPORTING e_t001 = ls_t001 EXCEPTIONS system_error = 1 OTHERS = 2.
BP_CENTRALPERSON_GET * CALL FUNCTION 'BP_CENTRALPERSON_GET' * EXPORTING * IV_EMPLOYEE_ID = iv_pernr * IMPORTING * EV_BU_PARTNER_GUID = lv_partner_guid * EV_NAME = lv_bpname * EXCEPTIONS * NO_CENTRAL_PERSON = 1 * NO_BUSINESS_PARTNER = 2 * NO_ID = 3 * OTHERS = 4.
BUP_PARTNER_GET CALL FUNCTION 'BUP_PARTNER_GET' EXPORTING I_PARTNERGUID = lv_partner_guid I_VALDT_SEL = SY-DATLO IMPORTING e_but000 = ls_but000_prnr "N1802994 TABLES T_BUT000 = lt_but000 * T_BUT000_INT = EXCEPTIONS PARTNER_NOT_FOUND = 1 WRONG_PARAMETERS = 2 INTERNAL_ERROR = 3 OTHERS = 4.
BAPI_BUPA_ADDRESS_GETDETAIL call function 'BAPI_BUPA_ADDRESS_GETDETAIL' "<
BUP_IDNUMBERS_GET CALL FUNCTION 'BUP_IDNUMBERS_GET' EXPORTING I_PARTNERGUID = lv_partner_guid * I_TYPE = I_VALDT_SEL = SY-DATLO TABLES T_BUT0ID = lt_but0id EXCEPTIONS IDNUMBER_NOT_FOUND = 1 IDNUMBERS_NOT_FOUND = 2 WRONG_PARAMETERS = 3 INTERNAL_ERROR = 4 NOT_VALID = 5 OTHERS = 6.
HR_RU_GET_PERNR_NAME * CALL FUNCTION 'HR_RU_GET_PERNR_NAME' * EXPORTING * I_PERNR = ls_pernr * I_BEGDA = sy-datum * I_ENDDA = sy-datum * I_LANGU = SY-LANGU * I_MOLGA = '33' * IMPORTING * E_NACHN = lv_nachn * E_VORNA = lv_vorna * E_MIDNM = lv_midnm * E_INITI = ev_name_init * EXCEPTIONS * INFTY_0002_NOT_FOUND = 1 * OTHERS = 2.
CHECK_EXIST_LIMU_FUNC CALL FUNCTION 'CHECK_EXIST_LIMU_FUNC' DESTINATION gv_hrdest EXPORTING NAME = 'HR_RU_J3R_GET_PERNR_NAME' AGGNAME = ' ' IMPORTING EXIST = lv_exist EXCEPTIONS TR_INVALID_TYPE = 1 OTHERS = 2.
HR_RU_J3R_GET_PERNR_NAME * CALL FUNCTION 'HR_RU_J3R_GET_PERNR_NAME' CALL FUNCTION lv_fmname DESTINATION gv_hrdest EXPORTING I_PERNR = iv_pernr I_BEGDA = sy-datum I_ENDDA = sy-datum IMPORTING E_NACHN = lv_nachn E_VORNA = lv_vorna E_MIDNM = lv_midnm E_INITI = ev_name_init EXCEPTIONS INFTY_0002_NOT_FOUND = 1 OTHERS = 2.
CHECK_EXIST_LIMU_FUNC CALL FUNCTION 'CHECK_EXIST_LIMU_FUNC' DESTINATION gv_hrdest EXPORTING NAME = 'HR_RU_J3R_GET_POSITION' AGGNAME = ' ' IMPORTING EXIST = lv_exist EXCEPTIONS TR_INVALID_TYPE = 1 OTHERS = 2.
HR_RU_J3R_GET_POSITION * CALL FUNCTION 'HR_RU_J3R_GET_POSITION' CALL FUNCTION lv_fmname DESTINATION gv_hrdest EXPORTING I_PERNR = iv_pernr IMPORTING E_LONGPOSITION = ev_position EXCEPTIONS POSITION_NOT_MAINTAINED = 1 OTHERS = 2.
CALL FUNCTION 'FUNCTION_EXISTS' DESTINATION gv_hrdest EXPORTING FUNCNAME = 'HR_RU_J3R_GET_PASSPORT_DATA' * IMPORTING * GROUP = * INCLUDE = * NAMESPACE = * STR_AREA = EXCEPTIONS FUNCTION_NOT_EXIST = 1 OTHERS = 2 .
CHECK_EXIST_LIMU_FUNC * CALL FUNCTION 'CHECK_EXIST_LIMU_FUNC' * DESTINATION gv_hrdest * EXPORTING * NAME = 'HR_RU_J3R_GET_PASSPORT_DATA' * AGGNAME = ' ' * IMPORTING * EXIST = lv_exist * EXCEPTIONS * TR_INVALID_TYPE = 1 * OTHERS = 2.
HR_RU_J3R_GET_PASSPORT_DATA CALL FUNCTION 'HR_RU_J3R_GET_PASSPORT_DATA' DESTINATION gv_hrdest EXPORTING I_PERNR = iv_pernr I_BEGDA = '19000101' I_ENDDA = '99991231' IMPORTING E_PASSP_NUM = ev_passp_num E_PASSP_ISS_BY = ev_passp_iss_by "char100 E_PASSP_ISS_DAT = ev_passp_iss_dat E_SERIAL = ev_passp_ser EXCEPTIONS PERNR_NOT_FOUND = 1 OTHERS = 2.
HR_RU_J3R_GET_PASSPORT_DATA * CALL FUNCTION 'HR_RU_J3R_GET_PASSPORT_DATA' CALL FUNCTION lv_fmname DESTINATION gv_hrdest EXPORTING I_PERNR = iv_pernr I_BEGDA = '19000101' I_ENDDA = '99991231' IMPORTING E_PASSP_NUM = ev_passp_num E_PASSP_ISS_BY = passl "char40 E_PASSP_ISS_DAT = ev_passp_iss_dat E_SERIAL = ev_passp_ser EXCEPTIONS PERNR_NOT_FOUND = 1 OTHERS = 2.
READ_LFA1 CALL FUNCTION 'READ_LFA1' EXPORTING XLIFNR = iv_vendor IMPORTING XLFA1 = ls_xlfa1 EXCEPTIONS KEY_INCOMPLETE = 1 NOT_AUTHORIZED = 2 NOT_FOUND = 3 OTHERS = 4.
MAKT_ARRAY_READ CALL FUNCTION 'MAKT_ARRAY_READ' TABLES IPRE09 = lt_ipre09 MAKT_TAB = lt_makt EXCEPTIONS ENQUEUE_MODE_CHANGED = 1 OTHERS = 2.
SPELL_AMOUNT CALL FUNCTION 'SPELL_AMOUNT' EXPORTING AMOUNT = lv_intospell LANGUAGE = gc_ru IMPORTING IN_WORDS = ls_spell EXCEPTIONS NOT_FOUND = 1 TOO_LARGE = 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.
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 J_3R_M2_ENT or its description.
J_3R_M2_ENT - Include J_3R_M2_ENT J_3R_LF_TTAX_AT_SELSCR_OUT - Include J_3R_LF_TTAX_AT_SELSCR_OUT J_3R_LF_TORG13_TOP - Include J_3R_TORG13_TOP J_3R_LF_TORG13_OD - Print program for TORG13 outbound delivery J_3R_LF_TORG13_OD - Print program for TORG13 outbound delivery J_3R_LF_TORG13_MD - Print program for TORG13 material document