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

RW$BTRA2 SAP ABAP INCLUDE - Export/import routines transportation plant master







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


Text pool values


Title: Export/import routines transportation plant master


INCLUDES used within this REPORT RW$BTRA2

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:

SELECT_TEXT CALL FUNCTION 'SELECT_TEXT' EXPORTING id = bstxh-tdid language = bstxh-tdspras name = bstxh-tdname object = bstxh-tdobject IMPORTING entries = t_entries TABLES selections = bthead EXCEPTIONS wrong_access_to_archive = 01.

READ_TEXT CALL FUNCTION 'READ_TEXT' EXPORTING id = bthead-tdid language = bthead-tdspras name = bthead-tdname object = bthead-tdobject IMPORTING header = bthead TABLES lines = btline EXCEPTIONS id = 01 language = 02 name = 03 not_found = 04 object = 05 reference_check = 06 wrong_access_to_archive = 07.

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

JOB_OPEN call function 'JOB_OPEN' EXPORTING delanfrep = ' ' jobgroup = ' ' jobname = jobname sdlstrtdt = sy-datum sdlstrttm = sy-uzeit IMPORTING jobcount = jobcount EXCEPTIONS cant_create_job = 01 invalid_job_data = 02 jobname_missing = 03.

JOB_CLOSE call function 'JOB_CLOSE' EXPORTING event_id = starttime-eventid event_param = starttime-eventparm event_periodic = starttime-periodic jobcount = jobcount jobname = jobname laststrtdt = starttime-laststrtdt laststrttm = starttime-laststrttm prddays = 1 prdhours = 0 prdmins = 0 prdmonths = 0 prdweeks = 0 sdlstrtdt = starttime-sdlstrtdt sdlstrttm = starttime-sdlstrttm strtimmed = starttimeimmediate targetsystem = host EXCEPTIONS cant_start_immediate = 01 invalid_startdate = 02 jobname_missing = 03 job_close_failed = 04 job_nosteps = 05 job_notex = 06 lock_failed = 07 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 RW$BTRA2 or its description.