SAP Reports / Programs

RKUPLD07 SAP ABAP Report - Upload Tracm Tracing Libraries







RKUPLD07 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 RKUPLD07 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 RKUPLD07. "Basic submit
SUBMIT RKUPLD07 AND RETURN. "Return to original report after report execution complete
SUBMIT RKUPLD07 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: PERBI = ?...(PERBI)
Selection Text: VERSN = Version
Selection Text: RPLAN = Planning parameters
Selection Text: PERAB = ?...(PERAB)
Selection Text: MSEHI = Unit
Selection Text: ISHEX = Hex value for delimiter
Selection Text: ISASC = File type is delimited
Selection Text: GJAHR = Fiscal year
Selection Text: FCSME = Distribution key
Selection Text: DSN = Name of upload file
Selection Text: DELIMH = Delimiter Hex Value(TAB=09)
Title: Upload Tracm Tracing Libraries
Text Symbol: 206 = does not have proc. no. format:
Text Symbol: 205 = does not have cost object format:
Text Symbol: 204 = no activity type characteristic:
Text Symbol: 203 = defined for other CO area:
Text Symbol: 202 = Not type 1 (fixed values)
Text Symbol: 201 = Tracing factor
Text Symbol: 105 = To
Text Symbol: 104 = Period from
Text Symbol: 103 = Delimiter hex value(TAB=09)
Text Symbol: 102 = Tab as delimiter
Text Symbol: 101 = Type delimited
Text Symbol: 100 = Input file
Text Symbol: 021 = Node is not an end node
Text Symbol: 019 = permitted values: 1 or 2
Text Symbol: 018 = Distribution key
Text Symbol: 017 = set up for key figure planning
Text Symbol: 016 = not available.
Text Symbol: 015 = Planning Parameters
Text Symbol: 012 = Current fiscal year:
Text Symbol: 011 = DELIMITER VALUE NOT VALID
Text Symbol: 010 = Upload error
Text Symbol: 009 = UNDEFINED ERROR
Text Symbol: 008 = FIELD NOT FOUND
Text Symbol: 007 = FIELD TOO LONG
Text Symbol: 006 = WRONG TYPE
Text Symbol: 005 = Import error no





Text Symbol: 004 = Errors:
Text Symbol: 003 = Shows error code
Text Symbol: 002 = Successfully entered
Text Symbol: 001 = Backg.


INCLUDES used within this REPORT RKUPLD07

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:

GUI_UPLOAD CALL FUNCTION 'GUI_UPLOAD' EXPORTING * CODEPAGE = ' ' FILENAME = DSN_STR FILETYPE = 'ASC' * LINE_EXIT = ' ' * TRUNCLEN = ' ' * USER_FORM = 'READ_DATASET' * USER_PROG = 'RKTEST08' TABLES DATA_TAB = INT_RECORD EXCEPTIONS * CONVERSION_ERROR = 01 FILE_OPEN_ERROR = 02 FILE_READ_ERROR = 03 * INVALID_TABLE_WIDTH = 04 INVALID_TYPE = 05 NO_BATCH = 06 UNKNOWN_ERROR = 07.

K_RATIO_PLAN_INTERFACE_TOTAL CALL FUNCTION 'K_RATIO_PLAN_INTERFACE_TOTAL' EXPORTING BLTXT = ' ' COMMIT = 'X' GJAHR = GJAHR KOKRS = KOKRS MESSAGES_SHOW = 'X' PERAB = PERAB PERBI = PERBI * rplan = rplan UPDATE_VALUES = 'X' " UPD VERSN = VERSN VRGNG = VRGNG " 'RKP4' TABLES IRKU02G = IRKU02G EXCEPTIONS MESSAGES_OCCURED = 01.

S_ASCITEXT_TO_ABAP_CONVERT CALL FUNCTION 'S_ASCITEXT_TO_ABAP_CONVERT' EXPORTING ZEILE = INT_RECORD DELIM = DELIM FIELDNO = I IMPORTING LINE = LINE EXCEPTIONS WRONG_TYPE = 01 FIELD_TOO_LONG = 02 FIELD_NOT_FOUND = 03 UNDEFINED_ERROR = 04.

K_KOKRS_READ CALL FUNCTION 'K_KOKRS_READ' EXPORTING GJAHR = GJAHR KOKRS = KOKRS IMPORTING E_TKA00 = TKA00 E_TKA01 = TKA01.

G_PERIOD_GET CALL FUNCTION 'G_PERIOD_GET' EXPORTING * COMPANY = ' ' DATE = SY-DATLO * GLOBAL_COMPANY = ' ' * LEDGER = ' ' VARIANT = TKA01-LMONA IMPORTING * ANZBP = * ANZSP = * PERIOD = YEAR = AN.

K_VERSN_READ CALL FUNCTION 'K_VERSN_READ' EXPORTING I_GJAHR = GJAHR I_KOKRS = KOKRS I_VERSN = VERSN * BYPASSING_BUFFER = I_ACTVT = '72' IMPORTING E_TKA09 = TKA09 E_TKA07 = TKA07 E_TKT09 = TKT09.

G_SET_ENDNODES CALL FUNCTION 'G_SET_ENDNODES' EXPORTING CLASS = '0H' LANGU = SY-LANGU NO_AUTHORITY_CHECK = ' ' SETNR = SETNR SOURCE_CLIENT = SY-MANDT TABLE = 'CCSS' IMPORTING SET_HEADER = SET_HEADER TABLES SET_END_NODES = SETS EXCEPTIONS * NO_AUTHORITY = 01 * SET_IS_BROKEN = 02 SET_NOT_FOUND = 03 .

G_SET_FETCH CALL FUNCTION 'G_SET_FETCH' EXPORTING CLASS = '0H' LANGU = SY-LANGU NO_AUTHORITY_CHECK = ' ' SETNR = SETNR SOURCE_CLIENT = SY-MANDT TABLE = 'CCSS' IMPORTING SET_HEADER = SET_HEADER TABLES FORMULA_LINES = IRGSBF SET_LINES_BASIC = IRGSBV SET_LINES_DATA = IRGSB3 SET_LINES_MULTI = IRGSB2 SET_LINES_SINGLE = IRGSB1 EXCEPTIONS NO_AUTHORITY = 01 SET_IS_BROKEN = 02 SET_NOT_FOUND = 03.

G_SET_GENERATE CALL FUNCTION 'G_SET_GENERATE' EXPORTING LANGU = SY-LANGU SET_HEADER = SET_HEADER TABLES FORMULA_LINES = IRGSBF SET_LINES_BASIC = IRGSBV SET_LINES_DATA = IRGSB3 SET_LINES_MULTI = IRGSB2 SET_LINES_SINGLE = IRGSB1 EXCEPTIONS OTHERS = 1.

K_TKA03_UPDATE CALL FUNCTION 'K_TKA03_UPDATE' EXPORTING LANGU = SY-LANGU TABLES IRKSK1 = IRKSK1.

K_TKA03_READ CALL FUNCTION 'K_TKA03_READ' EXPORTING TEXT_FLAG = 'X' S_TKA03 = ITKA03 TABLES I_TKA03 = ITKA03 I_TKT03 = ITKT03 EXCEPTIONS NO_ENTRY_FOUND = 01.

CONVERSION_EXIT_ALPHA_INPUT CALL FUNCTION 'CONVERSION_EXIT_ALPHA_INPUT' EXPORTING INPUT = FIELD IMPORTING OUTPUT = FIELD.



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