SAP Reports / Programs | Add-ons for Actual Costs / Time Recording | Aerospace & Defence Industry Solution | Add-ons for Actual Costs / Time Recording(IS-AD-ALC) SAP IS

AD02ACTV SAP ABAP Report - Activity Allocation Conversion







AD02ACTV is a standard Executable ABAP Report available within your SAP system (depending on your version and release level). It is used for Program to allocate actual activity costs from historical data...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 AD02ACTV into the relevant SAP transactions such as SE38 or SE80


Transaction Code(s):

Below is a list of transaction codes which are relevant to this SAP report

ADAA - Activity Allocation Conversion


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 AD02ACTV. "Basic submit
SUBMIT AD02ACTV AND RETURN. "Return to original report after report execution complete
SUBMIT AD02ACTV 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: SQFILE = Sequential file
Selection Text: FILENAME = Input Filename
Selection Text: EXCEL = Excel file
Title: Activity Allocation Conversion
Text Symbol: 920 = Number of update
Text Symbol: 910 = Number of input record is
Text Symbol: 900 = Processing end for program AD02ACTV
Text Symbol: 180 = Message Text
Text Symbol: 170 = Input
Text Symbol: 165 = Class
Text Symbol: 160 = Number
Text Symbol: 150 = Error Report
Text Symbol: 140 = File read error, return code:
Text Symbol: 032 = Posted CO Document
Text Symbol: 030 = Message
Text Symbol: 028 = Receiving Object
Text Symbol: 026 = Doc Date
Text Symbol: 024 = Personnel
Text Symbol: 022 = Activity
Text Symbol: 020 = Send CCTR
Text Symbol: 016 = Following records were transferred sucessfully to CO
Text Symbol: 015 = and will have to be reprocessed
Text Symbol: 014 = Following records could not transfer to CO
Text Symbol: 010 = Batch run, cannot use EXCEL file
Text Symbol: 003 = Read file from a Sequential data
Text Symbol: 002 = Read file from EXCEL spread sheet
Text Symbol: 001 = Activity Allocation Conversion


INCLUDES used within this REPORT AD02ACTV

INCLUDE AD02ATOP.
INCLUDE AD02ACHK.
INCLUDE AD02AMSG.
INCLUDE AD02APOS.
INCLUDE AD02AWRT.


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:

MESSAGES_GIVE CALL FUNCTION 'MESSAGES_GIVE' TABLES T_MESG = MSGTAB.

FILE_VALIDATE_NAME CALL FUNCTION 'FILE_VALIDATE_NAME' EXPORTING logical_filename = gc_filename CHANGING physical_filename = FILENAME EXCEPTIONS OTHERS = 1.

GUI_UPLOAD CALL FUNCTION 'GUI_UPLOAD' EXPORTING FILENAME = l_filename "FILENAME 02/2003 KH TABLES DATA_TAB = actv_tab EXCEPTIONS FILE_OPEN_ERROR = 1 FILE_READ_ERROR = 2 NO_BATCH = 3 * GUI_REFUSE_FILETRANSFER = 4 INVALID_TYPE = 5 * NO_AUTHORITY = 6 * UNKNOWN_ERROR = 7 BAD_DATA_FORMAT = 8 * HEADER_NOT_ALLOWED = 9 * SEPARATOR_NOT_ALLOWED = 10 * HEADER_TOO_LONG = 11 * UNKNOWN_DP_ERROR = 12 * ACCESS_DENIED = 13 * DP_OUT_OF_MEMORY = 14 * DISK_FULL = 15 * DP_TIMEOUT = 16 OTHERS = 17.

WS_UPLOAD * CALL FUNCTION 'WS_UPLOAD' * EXPORTING * FILENAME = FILENAME * FILETYPE = 'DAT' * IMPORTING * FILELENGTH = UP_FILELENGTH * TABLES * DATA_TAB = ACTV_TAB * EXCEPTIONS * CONVERSION_ERROR = 1 * FILE_OPEN_ERROR = 2 * FILE_READ_ERROR = 3 * INVALID_TABLE_WIDTH = 4 * INVALID_TYPE = 5 * NO_BATCH = 6 * UNKNOWN_ERROR = 7.



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