SAP Reports / Programs

RKUPLD04 SAP ABAP Report - Upload Tracm Department Library (Cost Centers)







RKUPLD04 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 RKUPLD04 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 RKUPLD04. "Basic submit
SUBMIT RKUPLD04 AND RETURN. "Return to original report after report execution complete
SUBMIT RKUPLD04 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: BKZER = Block actual revenue
Selection Text: DELIMH = Delimiter Hex Value(TAB=09)
Selection Text: DELIM = Delimiter (;)
Selection Text: DBIS = Valid to
Selection Text: BUKRS = Company code
Selection Text: BKZOB = Block commitment update
Selection Text: BKZKS = Block actual secondary costs
Selection Text: BKZKP = Block actual primary costs
Selection Text: PKZKS = Block planned secondary
Selection Text: PKZKP = Block planned primary
Selection Text: PKZER = Block planned revenue
Selection Text: ONLINE = Online parameters: ( ,A,E,N)
Selection Text: OBJWR = Object currency
Selection Text: MNAME = Batch name
Selection Text: MGEFL = Quantity update
Selection Text: WAERS = Currency
Selection Text: VNAME = Joint venture ID
Selection Text: VMETH = Allocation method
Selection Text: VERAK = Person in charge
Selection Text: VAKTR = Person in charge
Selection Text: RECID = Joint Venture recovery ind.
Selection Text: PRCTR = Profit center
Selection Text: LOEKZ = Deletion indicator
Selection Text: ISHEX = Hex value for delimiter
Selection Text: ISASC = File type is delimited
Selection Text: HDATE = Session blocking date
Selection Text: GSBER = Business area
Selection Text: ETYPE = Investment class
Selection Text: DVON = Valid from
Selection Text: JV_JIBCL = Class
Selection Text: DSN = Name of upload file
Selection Text: KTRAT = Cost object category
Selection Text: KOSAR = Cost center type
Selection Text: KOKRS = Controlling area
Selection Text: KHINR = Cost hierarchy node
Selection Text: KALSM = Costing sheet
Selection Text: JV_JIBSA = Subclass
Title: Upload Tracm Department Library (Cost Centers)





Text Symbol: 021 = not an end node for controlling area / topnode
Text Symbol: 100 = Input file
Text Symbol: 101 = Type delimited
Text Symbol: 102 = Tab as delimiter
Text Symbol: 103 = Delimiter hex value(TAB=09)
Text Symbol: 015 = controlling area
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.
Text Symbol: 014 = Company code not assigned to
Text Symbol: 013 = Controlling area currency is:
Text Symbol: 012 = Controlling area not found:
Text Symbol: 011 = DELIMITER VALUE NOT VALID
Text Symbol: 010 = Upload error
Text Symbol: 009 = UNDEFINED ERROR
Text Symbol: 008 = FIELD NOT FOUND


INCLUDES used within this REPORT RKUPLD04

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_STELLE_BATCHINPUT CALL FUNCTION 'K_STELLE_BATCHINPUT' EXPORTING CLIENT = SY-MANDT HOLDDATE = HDATE KEEP = ' ' MAPN_E = 'ERRORMAP' MAP_NR = MNAME ONLINE = ONLINE USER = USER TABLES I_LIST = ITAB EXCEPTIONS ERROR_IN_CALL_TRANSACTION = 01 NO_ENTRIES_IN_TABLE = 02 WRONG_KOKRS = 03 WRONG_ONLINE_PARAMETER = 04.

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 = E01 KOKRS = KOKRS IMPORTING E_TKA00 = TKA00 E_TKA01 = TKA01 .

CONVERT_KOKRS_TO_BUKRS CALL FUNCTION 'CONVERT_KOKRS_TO_BUKRS' EXPORTING KOKRS = KOKRS * IMPORTING * NBUKRS = ITABIX TABLES TBUKRS = IBUKRS .

K_KOKRS_READ CALL FUNCTION 'K_KOKRS_READ' EXPORTING KOKRS = KOKRS IMPORTING E_TKA01 = LS_TKA01.

G_SET_ENCRYPT_SETID CALL FUNCTION 'G_SET_ENCRYPT_SETID' EXPORTING SETCLASS = '0101' SHORTNAME = LS_TKA01-KHINR KOKRS = KOKRS IMPORTING SETID = LD_SETID.

G_SET_ENDNODES CALL FUNCTION 'G_SET_ENDNODES' EXPORTING LANGU = SY-LANGU NO_AUTHORITY_CHECK = ' ' SETNR = LD_SETID SOURCE_CLIENT = SY-MANDT TABLE = 'CCSS' TABLES SET_END_NODES = LT_SETS.






G_SET_ENCRYPT_SETID CALL FUNCTION 'G_SET_ENCRYPT_SETID' EXPORTING SETCLASS = '0101' SHORTNAME = KHINR KOKRS = KOKRS IMPORTING SETID = LD_SETID.



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