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

AD02PRCE SAP ABAP Report - Program To Compute Actual Labor Pricing







AD02PRCE 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 AD02PRCE 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 AD02PRCE. "Basic submit
SUBMIT AD02PRCE AND RETURN. "Return to original report after report execution complete
SUBMIT AD02PRCE VIA SELECTION-SCREEN. "Display selection screen of submitted report to user
    See more syntax options for the ABAP SUBMIT statement


Text pool values


ACTUAL LABOR PRICING
Selection Text: FILENAME = Input File Name
Selection Text: NEWALWAY = Alway Override With New Price
Selection Text: NEWPLLOG = Override New Price With Log
Selection Text: OLDSTAY = Existing Price Remains
Title: Program To Compute Actual Labor Pricing
Text Symbol: 001 = Actual Labor Pricing
Text Symbol: 110 = Employee ID
Text Symbol: 120 = Date
Text Symbol: 130 = Price
Text Symbol: 140 = New Price
Text Symbol: 150 = ERROR REPORT
Text Symbol: 160 = MSG
Text Symbol: 165 = Appl
Text Symbol: 170 = MSG Text
Text Symbol: 180 = Input Record
Text Symbol: 190 = Appl
Text Symbol: 900 = Processing end for program CATSPRCE
Text Symbol: 910 = Number of input record is
Text Symbol: 920 = Number of update record is


INCLUDES used within this REPORT AD02PRCE

INCLUDE AD02PTOP.


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 FILENAME = l_filename "FILENAME 02/2003 KH TABLES DATA_TAB = EMPL_REC 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' * TABLES * DATA_TAB = EMPL_REC * 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.

AD02_CATS_CALCULATE_PRICE CALL FUNCTION 'AD02_CATS_CALCULATE_PRICE' EXPORTING NEW_PRICE = NEWALWAY OLD_PRICE = OLDSTAY LOG_PRICE = NEWPLLOG IMPORTING INPUT_CNT = IN_REC PROCESS_CNT = UPD_REC TABLES EMPL_TAB = EMPL_REC T_MSGTAB = MSGTAB CATSDB_NEW = NEW_CATSDB CATSDB_OLD = OLD_CATSDB EXCEPTIONS NOT_FOUND = 1 OTHERS = 2.



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