SAP Reports / Programs

RATPONTC SAP ABAP Report - Adaption of VARDATA field for table pools







RATPONTC is a standard Executable ABAP Report 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 RATPONTC 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 RATPONTC. "Basic submit
SUBMIT RATPONTC AND RETURN. "Return to original report after report execution complete
SUBMIT RATPONTC 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: UC = Length is from Unicode system
Selection Text: SQLTAB = Name of Table Pool
Selection Text: SETTMST = Set Time Stamps
Selection Text: LOG_SHOW = Display Log
Selection Text: LOGNAME = Log Name
Selection Text: LENGTH = Length
Selection Text: FILE = Output to File
Selection Text: DATABASE = Output to Database
Title: Adaption of VARDATA field for table pools
Text Symbol: 013 = Control entry in DDTPOOLCNV could not be deleted or was already deleted
Text Symbol: 012 = Control entry in DDTPOOLCNV deleted
Text Symbol: 011 = System is non-Unicode. Change of table pool not necessary
Text Symbol: 010 = Handling of Table Pool &
Text Symbol: 009 = VARDATA field length & written
Text Symbol: 008 = Time stamp will be reset
Text Symbol: 007 = Runtime object could not be written - Action terminated
Text Symbol: 006 = Sources could not be written - Action terminated
Text Symbol: 005 = Table pool & cound not be read
Text Symbol: 004 = Selection Object + Actions
Text Symbol: 003 = Parameters for Table Pool Length Correction
Text Symbol: 002 = No Technical Defaults Exist
Text Symbol: 001 = Field VARDATA does not exist: Table pool & defined incorrectly


INCLUDES used within this REPORT RATPONTC

INCLUDE RADBTMAC.
INCLUDE RADBTOUM.
INCLUDE RADBTLOM.


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:

DD_SQLT_GET call function 'DD_SQLT_GET' EXPORTING * GET_STATE = 'M' * LANGU = SY-LANGU NAME = sqltab * PRID = 0 * WITHTEXT = ' ' * TRACELEVEL = 0 IMPORTING DD06V_WA_N = dd06v_wa DD06V_WA_A = dd06v_wa_a GOT_STATE = got_state tables dd16v_tab_n = dd16v_tab dd16v_tab_A = dd16v_tab_a EXCEPTIONS ACCESS_FAILURE = 1 ILLEGAL_VALUE = 2 OTHERS = 3.

DD_TABT_GET call function 'DD_TABT_GET' EXPORTING GET_STATE = 'M' * PRID = 0 TABL_NAME = tabtname * TRACELEVEL = 0 IMPORTING * DD09L_WA_A = DD09L_WA_N = dd09l_wa GOT_STATE = tabt_got_state EXCEPTIONS ILLEGAL_VALUE = 1 OP_FAILURE = 2 OTHERS = 3.

DD_NTAB_GEN call function 'DD_NTAB_GEN' exporting dd02v_wa = dd02v_wa dd09l_wa = dd09l_wa * INCL_ALIGN = 'X' * DBSYSTEM = ' ' * UC_LEN = '00' * NO_INCL_NAMED = ' ' IMPORTING X030L_WA = X030L_wa tables dd03p_tab = dd03p_tab dd08v_tab = dd08v_tab x031l_tab = x031l_tab EXCEPTIONS WRONG_DATATYPE = 1 WRONG_TABTYPE = 2 OTHERS = 3.

DD_GET_NAMETAB_HEADER call function 'DD_GET_NAMETAB_HEADER' exporting * STATUS = 'A' tabname = tabname IMPORTING * R_MODEFLAG = * R_STATUS = X030L_WA = x030l_wa_old EXCEPTIONS NOT_FOUND = 1 OTHERS = 2.

SYSTEM_UUID_CREATE call function 'SYSTEM_UUID_CREATE' importing uuid = uuid exceptions others = 0.

DD_PUT_NAMETAB call function 'DD_PUT_NAMETAB' exporting * MODEFLAG = ' ' status = 'A' x030l_wa = x030l_wa * TRTYPE = ' ' * NO_INACT_DEL = ' ' IMPORTING R_SUBRC = ntab_rc tables x031l_tab = x031l_tab EXCEPTIONS WRITE_ERROR = 1 OTHERS = 2.

DD_SQLT_PUT call function 'DD_SQLT_PUT' EXPORTING DD06V_WA = dd06v_wa PRID = prid PUT_STATE = 'A' SQLT_NAME = sqltab * CTRL_SQLT_PUT = 'XX' * TRACELEVEL = 0 tables dd16v_tab = dd16v_tab EXCEPTIONS DB_ACCESS_FAILURE = 1 ILLEGAL_VALUE = 2 OBJECT_INCONSISTENT = 3 OTHERS = 4.



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