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
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.
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
INCLUDE AD02PTOP.
No SAP DATABASE tables are accessed within this REPORT code!
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.
Although this basic information may have limited use it does provide an easy to find location to store any knowledge about this program/report.