SAP Reports / Programs | Materials Management(MM) SAP MM

J_3R_LF_TORG13_F01 SAP ABAP INCLUDE - Include J_3R_TORG13_F01







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


Text pool values


Title: Include J_3R_TORG13_F01


INCLUDES used within this REPORT J_3R_LF_TORG13_F01

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:

MB_READ_MATERIAL_HEADER CALL FUNCTION 'MB_READ_MATERIAL_HEADER' EXPORTING mblnr = gp_mblnr mjahr = gp_mjahr trtyp = 'A' IMPORTING kopf = gs_material_header.

MB_READ_MATERIAL_POSITION CALL FUNCTION 'MB_READ_MATERIAL_POSITION' EXPORTING mblnr = gp_mblnr mjahr = gp_mjahr trtyp = 'A' TABLES seqtab = gt_material_items.

WS_LM_DATA_SELECTION CALL FUNCTION 'WS_LM_DATA_SELECTION' EXPORTING if_proctype = 'P' if_flag_inbound = 'X' if_item_add = 'X' TABLES it_vbeln = lt_vbeln ct_postab = gt_delivery_infos EXCEPTIONS OTHERS = 3.

WS_LM_DATA_SELECTION CALL FUNCTION 'WS_LM_DATA_SELECTION' EXPORTING if_proctype = 'F' if_flag_inbound = 'X' if_item_add = 'X' TABLES it_vbeln = lt_vbeln ct_postab = gt_delivery_infos EXCEPTIONS OTHERS = 3.

UNIT_CONVERSION_SIMPLE CALL FUNCTION 'UNIT_CONVERSION_SIMPLE' EXPORTING input = ls_item-gross_weight unit_in = ls_weight-gewei unit_out = lp_weight_unit IMPORTING output = ls_item-gross_weight EXCEPTIONS OTHERS = 10.

UNIT_CONVERSION_SIMPLE CALL FUNCTION 'UNIT_CONVERSION_SIMPLE' EXPORTING input = ls_item-net_weight unit_in = ls_weight-gewei unit_out = lp_weight_unit IMPORTING output = ls_item-net_weight EXCEPTIONS OTHERS = 10.

UNIT_CONVERSION_SIMPLE CALL FUNCTION 'UNIT_CONVERSION_SIMPLE' EXPORTING input = ls_delivery_info-brgew unit_in = ls_delivery_info-gewei unit_out = lp_weight_unit IMPORTING output = ls_item-gross_weight EXCEPTIONS OTHERS = 10.

UNIT_CONVERSION_SIMPLE CALL FUNCTION 'UNIT_CONVERSION_SIMPLE' EXPORTING input = ls_delivery_info-ntgew unit_in = ls_delivery_info-gewei unit_out = lp_weight_unit IMPORTING output = ls_item-net_weight EXCEPTIONS OTHERS = 10.

SPELL_AMOUNT CALL FUNCTION 'SPELL_AMOUNT' EXPORTING amount = lp_amount_c language = 'R' IMPORTING in_words = ls_spell EXCEPTIONS OTHERS = 3.

SPELL_AMOUNT CALL FUNCTION 'SPELL_AMOUNT' EXPORTING amount = lp_amount_dec language = 'R' IMPORTING in_words = ls_spell EXCEPTIONS OTHERS = 3.

SPELL_AMOUNT CALL FUNCTION 'SPELL_AMOUNT' EXPORTING amount = lp_amount_c * language = 'R' IMPORTING in_words = ls_spell EXCEPTIONS OTHERS = 3.

SPELL_AMOUNT CALL FUNCTION 'SPELL_AMOUNT' EXPORTING amount = lp_amount_dec * language = 'R' IMPORTING in_words = ls_spell EXCEPTIONS OTHERS = 3.

FP_FUNCTION_MODULE_NAME CALL FUNCTION 'FP_FUNCTION_MODULE_NAME' EXPORTING i_name = gp_form_name IMPORTING e_funcname = lp_function_module_name.

FP_JOB_OPEN CALL FUNCTION 'FP_JOB_OPEN' CHANGING ie_outputparams = ls_outputparams EXCEPTIONS OTHERS = 5.

FP_JOB_CLOSE CALL FUNCTION 'FP_JOB_CLOSE' EXCEPTIONS OTHERS = 4.

ADDR_GET CALL FUNCTION 'ADDR_GET' EXPORTING address_selection = ls_address_selection IMPORTING address_value = cs_address_value 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 = ls_address_selection IMPORTING address_value = cs_address_value EXCEPTIONS parameter_error = 1 address_not_exist = 2 version_not_exist = 3 internal_error = 4 OTHERS = 5.

CONVERSION_EXIT_CUNIT_OUTPUT CALL FUNCTION 'CONVERSION_EXIT_CUNIT_OUTPUT' EXPORTING input = ip_unit language = 'R' IMPORTING output = cp_unit_of_entry short_text = cp_unit_of_entry_descr EXCEPTIONS OTHERS = 2.

CONVERSION_EXIT_CUNIT_OUTPUT





CALL FUNCTION 'CONVERSION_EXIT_CUNIT_OUTPUT' EXPORTING input = ip_unit IMPORTING output = cp_unit_of_entry short_text = cp_unit_of_entry_descr EXCEPTIONS OTHERS = 2.

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 EXCEPTIONS OTHERS = 1.



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