SAP Reports / Programs

J_3RV_TRN SAP ABAP dialog Program - Waybilll printing (Russia)







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


Text pool values


Title: Waybilll printing (Russia)
Text Symbol: 001 = places
Text Symbol: 002 = net mass
Text Symbol: 003 = (gross
Text Symbol: 004 = )
Text Symbol: 005 = kg
Text Symbol: 006 = volume
Text Symbol: 007 = m3
Text Symbol: 008 = inventory holdings
Text Symbol: 009 = Goods delivery note N
Text Symbol: 010 = Invoice N
Text Symbol: 011 = of
Text Symbol: 012 = kop.


INCLUDES used within this REPORT J_3RV_TRN

No INCLUDES are used within this REPORT code!


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:

ADDR_GET_NEXT_COMM_TYPE CALL FUNCTION 'ADDR_GET_NEXT_COMM_TYPE' EXPORTING STRATEGY = NAST-TCODE ADDRESS_TYPE = xvbadr-ADDRESS_TYPE * ADDRESS_NUMBER = VBDKA-ADRNR * PERSON_NUMBER = VBDKA-ADRNP ADDRESS_NUMBER = xvbadr-ADRNR PERSON_NUMBER = xvbadr-ADRNP IMPORTING COMM_TYPE = LVS_COMM_TYPE COMM_VALUES = LVS_COMM_VALUES * TABLES * STRATEGY_TABLE = EXCEPTIONS ADDRESS_NOT_EXIST = 1 PERSON_NOT_EXIST = 2 NO_COMM_TYPE_FOUND = 3 INTERNAL_ERROR = 4 PARAMETER_ERROR = 5 OTHERS = 6.

CONVERT_COMM_TYPE_DATA CALL FUNCTION 'CONVERT_COMM_TYPE_DATA' EXPORTING PI_COMM_TYPE = LVS_COMM_TYPE PI_COMM_VALUES = LVS_COMM_VALUES PI_SCREEN = US_SCREEN * PI_NEWID = PI_COUNTRY = US_COUNTRY PI_REPID = LVF_PROGRAM PI_SNAST = LVS_SNAST IMPORTING PE_ITCPO = ITCPO PE_DEVICE = LVF_DEVICE PE_MAIL_RECIPIENT = LVS_RECIPIENT PE_MAIL_SENDER = LVS_SENDER EXCEPTIONS COMM_TYPE_NOT_SUPPORTED = 1 RECIPIENT_CREATION_FAILED = 2 SENDER_CREATION_FAILED = 3 OTHERS = 4.

NAST_PROTOCOL_UPDATE CALL FUNCTION 'NAST_PROTOCOL_UPDATE' EXPORTING MSG_ARBGB = SYST-MSGID MSG_NR = SYST-MSGNO MSG_TY = SYST-MSGTY MSG_V1 = SYST-MSGV1 MSG_V2 = SYST-MSGV2 MSG_V3 = SYST-MSGV3 MSG_V4 = SYST-MSGV4.

RV_SHIPMENT_PRINT_VIEW CALL FUNCTION 'RV_SHIPMENT_PRINT_VIEW' EXPORTING SHIPMENT_NUMBER = SHIPMENT_NUM OPTION_TVTK = TRUE "Shipmenttype Y/N OPTION_TTDS = TRUE "Disposition Y/N LANGUAGE = LANGUAGE OPTION_ITEMS = TRUE "Transport Items Y/N OPTION_SALES_ORDERS = TRUE "Transport Segments Y/N OPTION_EXPORT_DATA = TRUE "Partners Y/N OPTION_SEGMENTS = TRUE "Sales orders Y/N OPTION_PARTNERS = TRUE "Export data Y/N OPTION_PACKAGES = TRUE "Packages Y/N OPTION_FLOW = TRUE "Flow Y/N OPTION_NO_REFRESH = FALSE "Refresh Tables Y/N IMPORTING F_VTTKVB = VTTKVB "Shipment Head F_TVTK = TVTK "Shipmenttype F_TVTKT = TVTKT "Description Shipmenttye 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 OTHERS = 2.

ADDR_GET CALL FUNCTION 'ADDR_GET' EXPORTING ADDRESS_SELECTION = SEL IMPORTING ADDRESS_VALUE = ADDR1_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 = ADDR1_VAL EXCEPTIONS PARAMETER_ERROR = 1 ADDRESS_NOT_EXIST = 2 VERSION_NOT_EXIST = 3 INTERNAL_ERROR = 4 OTHERS = 5.

SUSR_USER_ADDRESS_READ CALL FUNCTION 'SUSR_USER_ADDRESS_READ' EXPORTING USER_NAME = VTTKVB-ERNAM IMPORTING * USER_ADDRESS = USER_ADDRESS USER_USR03 = USR03 EXCEPTIONS USER_ADDRESS_NOT_FOUND = 1 OTHERS = 2."USR0340A

ADDR_GET CALL FUNCTION 'ADDR_GET' EXPORTING ADDRESS_SELECTION = SEL IMPORTING ADDRESS_VALUE = ADDR1_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 = ADDR1_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 = ADDR1_VAL * SADR = SADR 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 = ADDR1_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 = ADDR1_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 = ADDR1_VAL EXCEPTIONS PARAMETER_ERROR = 1 ADDRESS_NOT_EXIST = 2 VERSION_NOT_EXIST = 3 INTERNAL_ERROR = 4 OTHERS = 5.

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

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

FP_GET_LAST_ADS_ERRSTR CALL FUNCTION 'FP_GET_LAST_ADS_ERRSTR' IMPORTING E_ADSERRSTR = l_errstr.

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

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

SPELL_AMOUNT





CALL FUNCTION 'SPELL_AMOUNT' EXPORTING AMOUNT = ztrn-TOTSUM CURRENCY = ztrn-waers FILLER = ' ' LANGUAGE = language IMPORTING IN_WORDS = SPELL EXCEPTIONS NOT_FOUND = 1 TOO_LARGE = 2 OTHERS = 3.

TH_IN_UPDATE_TASK CALL FUNCTION 'TH_IN_UPDATE_TASK' IMPORTING in_update_task = l_in_update_task.

GET_ARCHIVE_PARAMETERS CALL FUNCTION 'GET_ARCHIVE_PARAMETERS' EXPORTING ARCHIVE_ID = ARC_PARAMS-ARCHIV_ID archive_info = '000' archive_text = arc_report AR_OBJECT = ls_daratab-AR_OBJECT IN_PARAMETERS = ARC_PARAMS * LAYOUT = ' ' mode = iv_out_params-arcmode no_dialog = no_dialog printer = iv_out_params-dest report = arc_report SAP_OBJECT = ls_daratab-SAP_OBJECT abap_list = space * PO_FAX_STORE = ' ' IMPORTING out_parameters = arc_params EXCEPTIONS archive_info_not_found = 2 * NO_AUTHORITY = 2 * NOT_VALID = 3 OTHERS = 99.



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