SAP Reports / Programs

J_3RM_TORG1_2 SAP ABAP dialog Program - TORG-1 and TORG-2 forms printing (Russia)







J_3RM_TORG1_2 is a standard Module pool for a dialog screen ABAP Program 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_3RM_TORG1_2 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 J_3RM_TORG1_2. "Basic submit
SUBMIT J_3RM_TORG1_2 AND RETURN. "Return to original report after report execution complete
SUBMIT J_3RM_TORG1_2 VIA SELECTION-SCREEN. "Display selection screen of submitted report to user
    See more syntax options for the ABAP SUBMIT statement


Text pool values


Title: TORG-1 and TORG-2 forms printing (Russia)
Text Symbol: 002 = t.
Text Symbol: 003 = f.
Text Symbol: 004 = delivery note
Text Symbol: 005 = of


INCLUDES used within this REPORT J_3RM_TORG1_2

INCLUDE J_3RM07DRPDF.


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:

SUSR_USER_ADDRESS_READ CALL FUNCTION 'SUSR_USER_ADDRESS_READ' EXPORTING USER_NAME = SY-UNAME IMPORTING USER_ADDRESS = USR EXCEPTIONS OTHERS = 2.

ADDR_GET CALL FUNCTION 'ADDR_GET' EXPORTING ADDRESS_SELECTION = SEL IMPORTING ADDRESS_VALUE = ADDR_VAL EXCEPTIONS PARAMETER_ERROR = 1 ADDRESS_NOT_EXIST = 2 VERSION_NOT_EXIST = 3 INTERNAL_ERROR = 4 OTHERS = 5.

ADDR_GET CALL FUNCTION 'ADDR_GET' EXPORTING ADDRESS_SELECTION = SEL IMPORTING ADDRESS_VALUE = ADDR_VAL EXCEPTIONS PARAMETER_ERROR = 1 ADDRESS_NOT_EXIST = 2 VERSION_NOT_EXIST = 3 INTERNAL_ERROR = 4 OTHERS = 5.

FP_JOB_OPEN call function 'FP_JOB_OPEN' CHANGING ie_outputparams = fp_outputparams EXCEPTIONS cancel = 1 usage_error = 2 system_error = 3 internal_error = 4 others = 5.

MM_ADDRESS_GET CALL FUNCTION 'MM_ADDRESS_GET' EXPORTING I_EKKO = EKKO IMPORTING E_NAME1 = NAME1 EXCEPTIONS OTHERS = 1.

MM_ADDRESS_GET CALL FUNCTION 'MM_ADDRESS_GET' EXPORTING I_EKKO = EKKO IMPORTING E_NAME1 = NAME1 EXCEPTIONS OTHERS = 1.

READ_TEXT CALL FUNCTION 'READ_TEXT' EXPORTING ID = THEADER-TDID LANGUAGE = THEADER-TDSPRAS NAME = THEADER-TDNAME OBJECT = THEADER-TDOBJECT IMPORTING HEADER = THEAD TABLES LINES = DTEXT EXCEPTIONS ID = 1 LANGUAGE = 2 NAME = 3 NOT_FOUND = 4 OBJECT = 5.

MATERIAL_LESEN CALL FUNCTION 'MATERIAL_LESEN' EXPORTING SCHLUESSEL = MTCOM IMPORTING MATDATEN = MABDR RETURN = MTCOR TABLES SEQMAT01 = DUMMY.

ADDR_GET CALL FUNCTION 'ADDR_GET' EXPORTING ADDRESS_SELECTION = addr_sel IMPORTING ADDRESS_VALUE = ladr EXCEPTIONS PARAMETER_ERROR = 1 ADDRESS_NOT_EXIST = 2 VERSION_NOT_EXIST = 3 INTERNAL_ERROR = 4 OTHERS = 5.

ADDR_GET CALL FUNCTION 'ADDR_GET' EXPORTING address_selection = addr_sel IMPORTING ADDRESS_VALUE = ladr EXCEPTIONS PARAMETER_ERROR = 1 ADDRESS_NOT_EXIST = 2 VERSION_NOT_EXIST = 3 INTERNAL_ERROR = 4 OTHERS = 5.

ADDR_GET CALL FUNCTION 'ADDR_GET' EXPORTING ADDRESS_SELECTION = SEL IMPORTING ADDRESS_VALUE = ADDR_VAL EXCEPTIONS ADDRESS_NOT_EXIST = 1 OTHERS = 2.

ADDR_GET CALL FUNCTION 'ADDR_GET' EXPORTING ADDRESS_SELECTION = SEL IMPORTING ADDRESS_VALUE = ADDR_VAL EXCEPTIONS ADDRESS_NOT_EXIST = 1 OTHERS = 2.

FP_JOB_CLOSE call function 'FP_JOB_CLOSE' * IMPORTING * E_RESULT = exceptions usage_error = 1 system_error = 2 internal_error = 3 others = 4 .

FP_GET_LAST_ADS_ERRSTR CALL FUNCTION 'FP_GET_LAST_ADS_ERRSTR' IMPORTING E_ADSERRSTR = l_errstr.

ADDR_GET CALL FUNCTION 'ADDR_GET' EXPORTING ADDRESS_SELECTION = SEL IMPORTING ADDRESS_VALUE = ADDR_VAL EXCEPTIONS ADDRESS_NOT_EXIST = 1 OTHERS = 2.

ADDR_GET CALL FUNCTION 'ADDR_GET' EXPORTING ADDRESS_SELECTION = SEL IMPORTING ADDRESS_VALUE = ADDR_VAL EXCEPTIONS ADDRESS_NOT_EXIST = 1 OTHERS = 2.

FP_FUNCTION_MODULE_NAME CALL FUNCTION 'FP_FUNCTION_MODULE_NAME' EXPORTING i_name = P_TNAPR_SFORM IMPORTING e_funcname = P_FM_NAME.

UNIT_CONVERSION_SIMPLE CALL FUNCTION 'UNIT_CONVERSION_SIMPLE' EXPORTING INPUT = INPUT UNIT_IN = UNIT_IN UNIT_OUT = UNIT_OUT IMPORTING OUTPUT = INPUT.



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