SAP Reports / Programs

BBPPCRECN SAP ABAP Report - Automatic Reconciliation of P-Card statements







BBPPCRECN 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 BBPPCRECN 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 BBPPCRECN. "Basic submit
SUBMIT BBPPCRECN AND RETURN. "Return to original report after report execution complete
SUBMIT BBPPCRECN 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: CCODE = Company code
Selection Text: PCINS = Proc. card company
Selection Text: PCNUM = Proc. card number
Selection Text: P_UPDATE = Update financials
Selection Text: P_VARI = Variant
Selection Text: TRDAT = Transaction date
Title: Automatic Reconciliation of Procurement Card Statements
Text Symbol: 050 = Database selections
Text Symbol: 051 = Scope of list
Text Symbol: 052 = Display options


INCLUDES used within this REPORT BBPPCRECN

INCLUDE: BBP_PCDEF, "DATA DEFINITIONS


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:

REUSE_ALV_VARIANT_F4 CALL FUNCTION 'REUSE_ALV_VARIANT_F4' EXPORTING IS_VARIANT = VARIANTE I_SAVE = VARIANT_SAVE * it_default_fieldcat = IMPORTING E_EXIT = VARIANT_EXIT ES_VARIANT = DEF_VARIANTE EXCEPTIONS NOT_FOUND = 2.

REUSE_ALV_VARIANT_DEFAULT_GET CALL FUNCTION 'REUSE_ALV_VARIANT_DEFAULT_GET' EXPORTING I_SAVE = VARIANT_SAVE CHANGING CS_VARIANT = DEF_VARIANTE EXCEPTIONS NOT_FOUND = 2.

BBP_PCSTAT_CHANGE CALL FUNCTION 'BBP_PCSTAT_CHANGE' EXPORTING PCARD_DOC = POSITION_DATA-PCARD_DOC FISC_YEAR = POSITION_DATA-FISC_YEAR PC_LINE = POSITION_DATA-PC_LINE PCSTATUS = PCSTATUS TEST_MODE = TEST_MODE TABLES PCMOD = MOD_UPDATE PCLOG = LOGGED_DATA RETURN = RETURN.

CONVERSION_EXIT_ALPHA_INPUT CALL FUNCTION 'CONVERSION_EXIT_ALPHA_INPUT' EXPORTING INPUT = logged_data-po_number IMPORTING OUTPUT = logged_data-po_number.

BBP_PD_PO_GETLIST call function 'BBP_PD_PO_GETLIST' EXPORTING i_object_id = logged_data-po_number TABLES e_pdlist = tab_transfer e_messages = e_messages.

BBP_PD_PO_GETDETAIL call function 'BBP_PD_PO_GETDETAIL' EXPORTING i_guid = tab_transfer-guid TABLES e_account = tab_account.

REUSE_ALV_HIERSEQ_LIST_DISPLAY CALL FUNCTION 'REUSE_ALV_HIERSEQ_LIST_DISPLAY' EXPORTING I_CALLBACK_PROGRAM = SY-REPID * i_structure_name = ' ' I_CALLBACK_PF_STATUS_SET = 'STATUS' I_CALLBACK_USER_COMMAND = 'USER_COMMAND' IS_LAYOUT = LAYOUT IT_FIELDCAT = FIELDCAT[] * it_excluding = extab[] IT_SPECIAL_GROUPS = GRUPPEN[] * IT_SORT = * IT_FILTER = * IS_SEL_HIDE = * I_SCREEN_START_COLUMN = 0 * I_SCREEN_START_LINE = 0 * I_SCREEN_END_COLUMN = 0 * I_SCREEN_END_LINE = 0 I_DEFAULT = 'X' I_SAVE = 'A' IS_VARIANT = VARIANTE * IT_EVENTS = * IT_EVENT_EXIT = I_TABNAME_HEADER = 'HEADER' I_TABNAME_ITEM = 'POSITION' IS_KEYINFO = KEYINFO IS_PRINT = PRINT * IMPORTING * E_EXIT_CAUSED_BY_CALLER = TABLES T_OUTTAB_HEADER = HEADER T_OUTTAB_ITEM = POSITION EXCEPTIONS PROGRAM_ERROR = 1 OTHERS = 2.

BBP_PC_CREATE_EVENT CALL FUNCTION 'BBP_PC_CREATE_EVENT' EXPORTING F_EVENT = EVENT EXCEPTIONS OTHERS = 1.



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