SAP Reports / Programs | Financials | Financials Basis(FIN-FB) SAP FIN

RFUBCCEUPL SAP ABAP Report - Transfer Cost Event Files







RFUBCCEUPL is a standard Executable ABAP Report available within your SAP system (depending on your version and release level). It is used for This program is used for the manual or periodic transfer of cost event files...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 RFUBCCEUPL 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 RFUBCCEUPL. "Basic submit
SUBMIT RFUBCCEUPL AND RETURN. "Return to original report after report execution complete
SUBMIT RFUBCCEUPL VIA SELECTION-SCREEN. "Display selection screen of submitted report to user
    See more syntax options for the ABAP SUBMIT statement


Text pool values


Messages During Processing
Selection Text: XPC = From Presentation Server
Selection Text: XDEL = Delete Files
Selection Text: XAP = From Application Server
Selection Text: TEST = Simulate Transfer
Selection Text: P_DPC = Duplicate Processing Check
Selection Text: PATH = File Path
Selection Text: FILTER = File / Filter
Selection Text: ASPATH = File Path
Selection Text: ASFILT = File / Filter
Selection Text: APFILE = File Name (with Path)
Title: Transfer Cost Event Files
Text Symbol: 001 = Upload File


INCLUDES used within this REPORT RFUBCCEUPL

INCLUDE RCONUBCBAS.
INCLUDE RKASMAWF.


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:

UBC_ERROR_INIT CALL FUNCTION 'UBC_ERROR_INIT'.

UBC_CE_AUTH_CHECK CALL FUNCTION 'UBC_CE_AUTH_CHECK' EXPORTING I_AUTH_CODE = 'UL' EXCEPTIONS ERROR = 1 OTHERS = 2.

UBC_ERROR_COLLECT CALL FUNCTION 'UBC_ERROR_COLLECT' EXPORTING I_MESSTYPE = SY-MSGTY I_MESSID = SY-MSGID I_MESSNO = SY-MSGNO I_MESS1 = SY-MSGV1 I_MESS2 = SY-MSGV2 I_MESS3 = SY-MSGV3 I_MESS4 = SY-MSGV4.

UBC_SPLIT_FILENAME CALL FUNCTION 'UBC_SPLIT_FILENAME' EXPORTING LONG_FILENAME = l_file255 IMPORTING PURE_FILENAME = l_nam32 PURE_EXTENSION = l_ext3.

UBC_ERROR_COLLECT CALL FUNCTION 'UBC_ERROR_COLLECT' EXPORTING I_MESSTYPE = 'S' I_MESSID = 'UBC_BAS' I_MESSNO = 521 I_MESS1 = l_file36 i_PARAM = l_nam32 i_row = 1.

UBC_CE_CHECKEXIST_BY_OBJ CALL FUNCTION 'UBC_CE_CHECKEXIST_BY_OBJ' EXPORTING I_OBJ_REF = l_obj_ref IMPORTING E_CE_EXIST = l_error.

UBC_ERROR_COLLECT CALL FUNCTION 'UBC_ERROR_COLLECT' EXPORTING I_MESSTYPE = 'E' I_MESSID = 'UBC_BAS' I_MESSNO = 531 I_MESS1 = l_file36 i_PARAM = l_nam32 i_row = 1.

UBC_FILE_UPLOAD CALL FUNCTION 'UBC_FILE_UPLOAD' EXPORTING I_FILENAME = lt_filenames-filename I_ORIGIN = l_origin TABLES ET_DATA = lt_data EXCEPTIONS ERROR = 1 OTHERS = 2.

UBC_ERROR_COLLECT CALL FUNCTION 'UBC_ERROR_COLLECT' EXPORTING I_MESSTYPE = SY-MSGTY I_MESSID = SY-MSGID I_MESSNO = SY-MSGNO I_MESS1 = SY-MSGV1 I_MESS2 = SY-MSGV2 I_MESS3 = SY-MSGV3 I_MESS4 = SY-MSGV4 i_PARAM = l_nam32 i_row = 2.

UBC_ERROR_COLLECT CALL FUNCTION 'UBC_ERROR_COLLECT' EXPORTING I_MESSTYPE = 'S' I_MESSID = 'UBC_BAS' I_MESSNO = 522 i_PARAM = l_nam32 i_row = 2.

UBC_ERROR_COLLECT CALL FUNCTION 'UBC_ERROR_COLLECT' EXPORTING I_MESSTYPE = 'S' I_MESSID = 'UBC_BAS' I_MESSNO = '524' i_PARAM = l_nam32 i_row = 4.

UBC_ERROR_COLLECT CALL FUNCTION 'UBC_ERROR_COLLECT' EXPORTING I_MESSTYPE = 'E' I_MESSID = 'UBC_BAS' I_MESSNO = '510' i_PARAM = l_nam32 i_row = 4.

UBC_CE_CREATE CALL FUNCTION 'UBC_CE_CREATE' EXPORTING I_CEDATA = lt_cedata EXCEPTIONS WRONG_OBJECTTYPE = 1 WRONG_CE = 2 OTHERS = 3.

UBC_ERROR_COLLECT CALL FUNCTION 'UBC_ERROR_COLLECT' EXPORTING I_MESSTYPE = 'S' I_MESSID = 'UBC_BAS' I_MESSNO = 511 I_MESS1 = l_num.

UBC_ERROR_COLLECT CALL FUNCTION 'UBC_ERROR_COLLECT' EXPORTING I_MESSTYPE = 'S' I_MESSID = 'UBC_BAS' I_MESSNO = 515 I_MESS1 = l_num.

UBC_SPLIT_FILENAME CALL FUNCTION 'UBC_SPLIT_FILENAME' EXPORTING LONG_FILENAME = l_file255 IMPORTING PURE_FILENAME = l_nam32 PURE_EXTENSION = l_ext3.

UBC_FILE_DELETE CALL FUNCTION 'UBC_FILE_DELETE' EXPORTING I_FILENAME = lt_procfiles-filename I_ORIGIN = l_origin EXCEPTIONS ERROR = 1 OTHERS = 2.

UBC_ERROR_COLLECT CALL FUNCTION 'UBC_ERROR_COLLECT' EXPORTING I_MESSTYPE = SY-MSGTY I_MESSID = SY-MSGID I_MESSNO = SY-MSGNO I_MESS1 = SY-MSGV1 I_MESS2 = SY-MSGV2 I_MESS3 = SY-MSGV3 I_MESS4 = SY-MSGV4 i_PARAM = l_nam32 i_row = 5.

UBC_ERROR_COLLECT





CALL FUNCTION 'UBC_ERROR_COLLECT' EXPORTING I_MESSTYPE = 'S' I_MESSID = 'UBC_BAS' I_MESSNO = 523 i_PARAM = l_nam32 i_row = 5.

UBC_ERROR_COLLECT CALL FUNCTION 'UBC_ERROR_COLLECT' EXPORTING I_MESSTYPE = 'E' I_MESSID = 'UBC_BAS' I_MESSNO = '509' I_MESS1 = SY-Tabix I_MESS2 = p_file36 i_PARAM = p_nam32 i_row = 3.

UBC_CE_CONV_EXT_INT CALL FUNCTION 'UBC_CE_CONV_EXT_INT' EXPORTING I_CETYPE_EXT = l_ce I_CESTYPE_EXT = l_ces IMPORTING E_CETYPE = ct_cedata-cetype E_CESTYPE = ct_cedata-cestype E_QTY_UNIT = ct_cedata-QTY_UNIT EXCEPTIONS MISSING_DATA = 1 OTHERS = 3.

UBC_ERROR_COLLECT CALL FUNCTION 'UBC_ERROR_COLLECT' EXPORTING I_MESSTYPE = SY-MSGTY I_MESSID = SY-MSGID I_MESSNO = SY-MSGNO I_MESS1 = SY-MSGV1 I_MESS2 = SY-MSGV2 I_MESS3 = SY-MSGV3 I_MESS4 = SY-MSGV4 i_PARAM = p_nam32 i_row = 3.

SELECT_OPTIONS_RESTRICT call function 'SELECT_OPTIONS_RESTRICT' EXPORTING program = l_repid restriction = restrict EXCEPTIONS too_late = 1 repeated = 2 selopt_without_options = 3 selopt_without_signs = 4 invalid_sign = 5 empty_option_list = 6 invalid_kind = 7 repeated_kind_a = 8 others = 9.

UBC_ERROR_GET CALL FUNCTION 'UBC_ERROR_GET' TABLES E_T_RETURN = lt_return.

BAL_LOG_CREATE CALL FUNCTION 'BAL_LOG_CREATE' EXPORTING I_S_LOG = lS_LOG EXCEPTIONS OTHERS = 1.

BAL_LOG_MSG_ADD CALL FUNCTION 'BAL_LOG_MSG_ADD' EXPORTING I_S_MSG = L_S_MSG EXCEPTIONS LOG_NOT_FOUND = 0 OTHERS = 1.

BAL_DSP_PROFILE_DETLEVEL_GET CALL FUNCTION 'BAL_DSP_PROFILE_DETLEVEL_GET' IMPORTING e_s_display_profile = l_s_display_profile EXCEPTIONS OTHERS = 1.

BAL_DSP_LOG_DISPLAY CALL FUNCTION 'BAL_DSP_LOG_DISPLAY' EXPORTING i_s_display_profile = l_s_display_profile EXCEPTIONS OTHERS = 1.

SUBST_GET_FILE_LIST CALL FUNCTION 'SUBST_GET_FILE_LIST' ##EXISTS EXPORTING DIRNAME = aspath FILENM = l_dummy20 PATTERN = asfilt TABLES FILE_LIST = lt_file_list EXCEPTIONS ACCESS_ERROR = 1 OTHERS = 2.

KPEP_MONI_INIT_RECORD CALL FUNCTION 'KPEP_MONI_INIT_RECORD' EXPORTING LS_DETAIL = ls_detail LS_WITEM = ls_witem IMPORTING LS_KEY = GS_KEY.

KPEP_MONI_CLOSE_RECORD CALL FUNCTION 'KPEP_MONI_CLOSE_RECORD' EXPORTING LS_KEY = GS_KEY LS_SCMA_EVENT = LS_SCMA_EVENT CHANGING LD_APLSTAT = ld_aplstat EXCEPTIONS NO_ID_GIVEN = 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 RFUBCCEUPL or its description.