SAP Reports / Programs

REMIG050 SAP ABAP Report - Migration: Generate Table Description for Programming Language







REMIG050 is a standard Executable ABAP Report available within your SAP system (depending on your version and release level). It is used for This program generates source descriptions of tables from the ABAP/4 Dictionary...see full standard documentation available for this report. Also check out the submitted Comments related to this SAP report and the details below to see which OBJECTS it interacts with such as TABLES, FUNCTION MODULES, INCLUDES ETC.

If you would like to execute this report or see the full code listing simply enter REMIG050 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 REMIG050. "Basic submit
SUBMIT REMIG050 AND RETURN. "Return to original report after report execution complete
SUBMIT REMIG050 VIA SELECTION-SCREEN. "Display selection screen of submitted report to user
    See more syntax options for the ABAP SUBMIT statement


Text pool values


Selection Text: S_OBJECT = Migration Object
Selection Text: P_RPG = RPG
Selection Text: P_PL1 = PL/1
Selection Text: P_FIRMA = Migration company
Selection Text: P_COBOL = COBOL
Selection Text: P_CH = ABAP
Selection Text: P_C = C
Selection Text: P_ASS = Assembler
Selection Text: P_ABAP = ABAP
Selection Text: OUT_DATA = Name of the output dataset....
Selection Text: LOC_FILE = Local file system
Title: Migration: Generate Table Description for Programming Language
Text Symbol: H07 = *& System..:
Text Symbol: H06 = *& Date...:
Text Symbol: H05 = at:
Text Symbol: H04 = *& Name....:
Text Symbol: H03 = *& Generation data:
Text Symbol: H02 = *& ==> Manual changes not permissible!
Text Symbol: H01 = *& This include was created automatically!
Text Symbol: D02 = Assignment routines
Text Symbol: D01 = Data Definitions
Text Symbol: 902 = Output
Text Symbol: 901 = Table Selection
Text Symbol: 900 = Programming lang.
Text Symbol: 100 = Alignment balance
Text Symbol: 010 = Definition of & written to &
Text Symbol: 009 = No output to a dataset as several programming languages specified
Text Symbol: 007 = Directory does not exist or SAP user has no write authorization
Text Symbol: 006 = Error opening dataset
Text Symbol: 005 = The table fields could not be read by the database
Text Symbol: 004 = No tables were found for specified name selection
Text Symbol: 003 = Specified command file does not exist or cannot be read


INCLUDES used within this REPORT REMIG050

INCLUDE: REMIGDEF.
INCLUDE: REMIGCON.
INCLUDE REMIG050F00.


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:

TR_READ_COMM CALL FUNCTION 'TR_READ_COMM' EXPORTING wi_trkorr = cmd_file wi_sel_e071 = 'X' * WI_DIALOG = 'X' * WI_LANGU = SY-LANGU TABLES wt_e071 = e071_tab EXCEPTIONS not_exist_e070 = 1 no_authorization = 2 OTHERS = 3.

GUI_DOWNLOAD CALL FUNCTION 'GUI_DOWNLOAD' EXPORTING filename = filename filetype = 'ASC' TABLES data_tab = s EXCEPTIONS OTHERS = 8.

FILE_VALIDATE_NAME CALL FUNCTION 'FILE_VALIDATE_NAME' EXPORTING logical_filename = c_log_filename CHANGING physical_filename = filename EXCEPTIONS OTHERS = 1.

DD_GET_DD03P CALL FUNCTION 'DD_GET_DD03P' EXPORTING
langu = sy-langu noincl = 'X' status = 'A' refresh = 'X' tabname = tabname * IMPORTING * NODEF = NODEF * NOTEXT = NOTEXT TABLES dd03p_tab = dd03p_tab
EXCEPTIONS illegal_value = 03.

DD_GET_NAMETAB CALL FUNCTION 'DD_GET_NAMETAB' EXPORTING status = 'A' tabname = tabname TABLES x031l_tab = x031l_tab EXCEPTIONS not_found = 01 no_fields = 02.



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