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
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.
Title: Export/import routines transportation plant master
No INCLUDES are used within this REPORT code!
No SAP DATABASE tables are accessed within this REPORT code!
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.
Although this basic information may have limited use it does provide an easy to find location to store any knowledge about this program/report.