SAP Reports / Programs | Financial Accounting | Funds Management(FI-FM) SAP FI

RBPFCPD1 SAP ABAP Report - Deactivate Availability Control for Projects







RBPFCPD1 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 RBPFCPD1 into the relevant SAP transactions such as SE38 or SE80


Transaction Code(s):

Below is a list of transaction codes which are relevant to this SAP report

CJBW - Deactivate Project Availabilty Cntrl


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


Text pool values


Title: Deactivate Availability Control for Projects
Text Symbol: 010 = Availability control was deactivated for the following projects:
Text Symbol: 020 = Availability control was not active for the following projects:
Text Symbol: 030 = The following projects were blocked (try deactivation again later):
Text Symbol: 040 = Status management errors occurred in the following projects:


INCLUDES used within this REPORT RBPFCPD1

No INCLUDES are used within this REPORT code!


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:

K_VRGNG_AUTHORITY_CHECK CALL FUNCTION 'K_VRGNG_AUTHORITY_CHECK' "P30K057385 EXPORTING actvt = '16' "Ausführen kokrs = cn_kokrs vrgng = 'KBFC'.

HFPB_FIND_LEDGER * CALL FUNCTION 'HFPB_FIND_LEDGER' * EXPORTING * KOKRS = PROJ-VKOKR * IMPORTING * LEDNR_K = LEDGER.

CJDW_ENQUEUE CALL FUNCTION 'CJDW_ENQUEUE' EXPORTING object_id = t_result-pspid otype = 'P' EXCEPTIONS foreign_lock = 01.

KBPS_ENQUEUE * CALL FUNCTION 'KBPS_ENQUEUE' "KI3K046796 * TABLES "KI3K046796 * T_ENQ_OBJ = T_ENQ_OBJ "KI3K046796 * EXCEPTIONS "KI3K046796 * FOREIGN_LOCK = 1 "KI3K046796 * OTHERS = 2. "KI3K046796

ENQUEUE_EBPTR_EX * CALL FUNCTION 'ENQUEUE_EBPTR_EX' "KI3K046796 * EXPORTING "KI3K046796 * OBJNR = T_OBJNR-LOW "KI3K046796 * POSIT = SPACE "KI3K046796 * GEBER = SPACE "KI3K046796 * TRGKZ = 'N' "KI3K046796 * WRTTP = CON_BUD_VAL "KI3K046796 * VERSN = '000' "KI3K046796 * EXCEPTIONS "KI3K046796 * FOREIGN_LOCK = 01 "KI3K046796 * OTHERS = 02. "KI3K046796

DEQUEUE_ALL CALL FUNCTION 'DEQUEUE_ALL'.

KBPS_ENQUEUE CALL FUNCTION 'KBPS_ENQUEUE' TABLES T_ENQ_OBJ = T_ENQ_OBJ EXCEPTIONS FOREIGN_LOCK = 1 OTHERS = 2.

DEQUEUE_ALL CALL FUNCTION 'DEQUEUE_ALL'.

STATUS_PROPERTIES_GET CALL FUNCTION 'STATUS_PROPERTIES_GET' EXPORTING objnr = t_objnr-low status = con_stat_i0005 IMPORTING active = gflg_active.

STATUS_PROPERTIES_GET CALL FUNCTION 'STATUS_PROPERTIES_GET' EXPORTING objnr = t_objnr-low status = con_stat_i0093 IMPORTING active = gflg_active.

STATUS_CHANGE_INTERN CALL FUNCTION 'STATUS_CHANGE_INTERN' EXPORTING objnr = t_objnr-low TABLES status = t_jstat EXCEPTIONS object_not_found = 1 status_inconsistent = 2 status_not_allowed = 3 OTHERS = 4.

STATUS_CHANGE_INTERN * CALL FUNCTION 'STATUS_CHANGE_INTERN' * EXPORTING * objnr = t_objnr-low * TABLES * status = t_jstat * EXCEPTIONS * object_not_found = 1 * status_inconsistent = 2 * status_not_allowed = 3 * OTHERS = 4.

DEQUEUE_ALL CALL FUNCTION 'DEQUEUE_ALL'.

REUSE_ALV_EVENTS_GET CALL FUNCTION 'REUSE_ALV_EVENTS_GET' EXPORTING i_list_type = 0 IMPORTING et_events = xt_eventstab EXCEPTIONS list_type_wrong = 1 OTHERS = 2.

REUSE_ALV_FIELDCATALOG_MERGE CALL FUNCTION 'REUSE_ALV_FIELDCATALOG_MERGE' EXPORTING i_program_name = gv_repid * i_internal_tabname = gc_header i_structure_name = gc_structure CHANGING ct_fieldcat = xt_fieldcatalog EXCEPTIONS inconsistent_interface = 1 program_error = 2 OTHERS = 3.

REUSE_ALV_LIST_DISPLAY CALL FUNCTION 'REUSE_ALV_LIST_DISPLAY' EXPORTING i_callback_program = gv_repid is_layout = ls_layo it_fieldcat = lt_fcat i_save = gc_x it_events = lt_eventstab TABLES t_outtab = lt_table EXCEPTIONS program_error = 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 RBPFCPD1 or its description.