SAP Reports / Programs | Logistics - General | Logistics Basic Data | Plant Master(LO-MD-PL) SAP LO

RW$BTRA3 SAP ABAP INCLUDE - Read file







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


Text pool values


Title: Read file


INCLUDES used within this REPORT RW$BTRA3

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:

FILE_VALIDATE_NAME CALL FUNCTION 'FILE_VALIDATE_NAME' EXPORTING logical_filename = C_LOG_FILENAME CHANGING physical_filename = FILENAME EXCEPTIONS OTHERS = 1.

AIP01_T001W_EXT_READ CALL FUNCTION 'AIP01_T001W_EXT_READ' EXPORTING i_werks = temp_werks EXCEPTIONS plant_not_found = 1 OTHERS = 2.

SELECT_TEXT call function 'SELECT_TEXT' EXPORTING id = rthead-tdid language = rthead-tdspras name = oi_tdname object = rthead-tdobject TABLES SELECTIONS = zthead EXCEPTIONS wrong_access_to_archive = 01.

LOCATION_SORTIMENT_UPDATE CALL FUNCTION 'LOCATION_SORTIMENT_UPDATE' EXPORTING I_WRF1 = QWRF1 I_T001W = qT001W TABLES I_WRF6 = XWRF6 EXCEPTIONS NO_CUSTOMER_NUMBER = 1 OTHERS = 2.

NUMBER_GET_NEXT call function 'NUMBER_GET_NEXT' EXPORTING object = 'PARTNER' nr_range_nr = 'AP' quantity = pacnt IMPORTING number = lnumber returncode = retcode quantity = pacnt EXCEPTIONS interval_not_found = 01 number_range_not_intern = 02 object_not_found = 03 quantity_is_0 = 04.

SAVE_TEXT call function 'SAVE_TEXT' EXPORTING header = ithead insert = 'X' savemode_direct = 'X' TABLES lines = btline EXCEPTIONS id = 01 language = 02 name = 03 object = 04.

SAVE_TEXT call function 'SAVE_TEXT' EXPORTING header = uthead insert = ' ' savemode_direct = 'X' TABLES lines = btline EXCEPTIONS id = 01 language = 02 name = 03 object = 04.

RPL_RQGRP_SAVE CALL FUNCTION 'RPL_RQGRP_SAVE' in update task TABLES PI_FWRF6_NEW = xwrf6 PI_FWRF6_DB = ywrf6 EXCEPTIONS ERROR_OCCURRED = 1 OTHERS = 2.

SITE_ALE_DISTRIBUTION CALL FUNCTION 'SITE_ALE_DISTRIBUTION' EXPORTING I_WRF1 = iwrf1 i_t001w = it001w i_wbpro = it001k-wbpro IMPORTING O_RETURN_CODE = o_return_code TABLES I_WRF3 = iwrf3 I_WRF4 = iwrf4 I_WRF5 = iwrf5 I_WRF6 = iwrf6 I_T023W = it023w I_T023X = it023x I_WRF12 = iwrf12 I_KNVA = iknva I_KNVV = iknvv O_ERROR_TABLE = o_error_table.

SITE_START_UPDATE CALL FUNCTION 'SITE_START_UPDATE' IMPORTING O_RETURN_CODE = o_return_code TABLES O_ERROR_TABLE = o_error_table .



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 RW$BTRA3 or its description.