RPRCCC00 is a standard Executable ABAP Report available within your SAP system (depending on your version and release level). It is used for This program imports credit card transaction data into the SAP system for use in the Travel Expenses application...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 RPRCCC00 into the relevant SAP transactions such as SE38 or SE80
Below is a list of transaction codes which are relevant to this SAP report
PRCC - Import Credit Card Files
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.
Selection Text: TESTLAUF = Test run (no data transfer)
Selection Text: NOT_LOKL = File is not local
Selection Text: FIRMENNR = Company ID
Selection Text: FILE_IN = File Path and Name
Selection Text: BEL_NONE = Documents to empty trips only
Selection Text: BEL_EINF = Import documents also, if any.
Selection Text: BEL_CLUS = All documents to DocuBuffer
Title: Import of Credit Card Data (Credit Card Clearing)
Text Symbol: U06 = PerNo TripNo ExpTyp Amount Curr ExchRate Document number
Text Symbol: U05 = Following receipts were entered in trips.
Text Symbol: U04 = PerNo DocuDate ExpTyp Amount Curr ExchRate Document number
Text Symbol: U03 = Following documents transferred to document buffer
Text Symbol: U02 = TransDat PerNo Error
Text Symbol: U01 = Errors occurred during assignment of transactions:
Text Symbol: T03 = Test file - data was not transferred!
Text Symbol: T02 = Test run - data was not transferred!
Text Symbol: S02 = Read Parameters
Text Symbol: S01 = Accounting and Processing Parameters
Text Symbol: H12 = Accounting number :
Text Symbol: H11 = Credit card company :
Text Symbol: F02 = Selection of credit card file
Text Symbol: F01 = Credit card data
Text Symbol: E08 = You did not enter a path or file name for the file
Text Symbol: E07 = This file does not correspond with file format wanted.
Text Symbol: E06 = File read error
Text Symbol: E05 = File open error
Text Symbol: E04 = Error during upload, try again.
Text Symbol: E02 = Frontend function can not be executed in batch mode.
Text Symbol: E01 = File upload is not possible in this client
Text Symbol: 902 = *BLR Error
Text Symbol: 901 = *BLR Amount
INCLUDE RPRCCD00_ALV.
No SAP DATABASE tables are accessed within this REPORT code!
WS_FILENAME_GET * CALL FUNCTION 'WS_FILENAME_GET' * EXPORTING * DEF_FILENAME = FILENAME * DEF_PATH = FILEPATH * MASK = MASK * MODE = 'O' * TITLE = TEXT-F02 * IMPORTING * FILENAME = FILENAME * EXCEPTIONS * INV_WINSYS = 01 * NO_BATCH = 02 * SELECTION_CANCEL = 03 * SELECTION_ERROR = 04.
WS_MSG * CALL FUNCTION 'WS_MSG' "inv_winsys * EXPORTING * MSG_TYPE = 'A' * TEXT = TEXT-E01 * TITL = TEXT-T01.
WS_MSG * CALL FUNCTION 'WS_MSG' * EXPORTING * MSG_TYPE = 'E' * TEXT = TEXT-E02 * TITL = TEXT-T01.
WS_MSG * CALL FUNCTION 'WS_MSG' * EXPORTING * MSG_TYPE = 'I' * TEXT = TEXT-E03 * TITL = TEXT-T01.
WS_MSG * CALL FUNCTION 'WS_MSG' * EXPORTING * MSG_TYPE = 'A' * TEXT = TEXT-E04 * TITL = TEXT-T01.
WS_UPLOAD * CALL FUNCTION 'WS_UPLOAD' * EXPORTING " CODEPAGE = ' ' * FILENAME = FILENAME * FILETYPE = 'ASC' * TABLES * DATA_TAB = TEXTTAB * 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.
WS_MSG * CALL FUNCTION 'WS_MSG' * EXPORTING * MSG_TYPE = 'A' * TEXT = TEXT-E04 * TITL = TEXT-T01.
WS_MSG * CALL FUNCTION 'WS_MSG' * EXPORTING * MSG_TYPE = 'A' * TEXT = TEXT-E05 * TITL = TEXT-T01.
WS_MSG * CALL FUNCTION 'WS_MSG' * EXPORTING * MSG_TYPE = 'A' * TEXT = TEXT-E06 * TITL = TEXT-T01.
WS_MSG * CALL FUNCTION 'WS_MSG' * EXPORTING * MSG_TYPE = 'A' * TEXT = TEXT-E99 * TITL = TEXT-T01.
WS_MSG * CALL FUNCTION 'WS_MSG' * EXPORTING * MSG_TYPE = 'A' * TEXT = TEXT-E07 * TITL = TEXT-T01.
WS_MSG * CALL FUNCTION 'WS_MSG' * EXPORTING * MSG_TYPE = 'E' * TEXT = TEXT-E02 * TITL = TEXT-T01.
WS_MSG * CALL FUNCTION 'WS_MSG' * EXPORTING * MSG_TYPE = 'A' * TEXT = TEXT-E99 * TITL = TEXT-T01.
HR_TRV_CREDIT_CARD_CLEARING CALL FUNCTION 'HR_TRV_CREDIT_CARD_CLEARING' EXPORTING compcode = firmennr proceed_flag = proceed testrun = testlauf IMPORTING * return = return return = return "QHKN1427966 fileheader = headdata TABLES dataset = dataset errors = errors rec_buffer = buffer rec_trips = trips.
REUSE_ALV_FIELDCATALOG_MERGE CALL FUNCTION 'REUSE_ALV_FIELDCATALOG_MERGE' EXPORTING i_structure_name = i_struc CHANGING ct_fieldcat = x_fcat EXCEPTIONS inconsistent_interface = 1 program_error = 2 OTHERS = 3.
REUSE_ALV_EVENTS_GET CALL FUNCTION 'REUSE_ALV_EVENTS_GET' EXPORTING i_list_type = 0 IMPORTING et_events = x_event EXCEPTIONS list_type_wrong = 1 OTHERS = 2.
REUSE_ALV_HIERSEQ_LIST_DISPLAY CALL FUNCTION 'REUSE_ALV_HIERSEQ_LIST_DISPLAY' EXPORTING i_callback_program = gv_repid i_callback_pf_status_set = lv_pfstatus is_layout = i_layout it_fieldcat = i_fcat it_events = lt_event i_tabname_header = i_header i_tabname_item = i_item is_keyinfo = i_keyinfo is_print = gs_print TABLES t_outtab_header =
t_outtab_item = EXCEPTIONS program_error = 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.