SAP Reports / Programs | Cross-Application Components | Financial Services | Business Partner Enhancements for Financial Services(CA-FS-BP) SAP CA

RFTBPCD2 SAP ABAP Report - Business Partner: Change Documents - Addresses







RFTBPCD2 is a standard Executable ABAP Report available within your SAP system (depending on your version and release level). It is used for This report determines all addresses that were assigned once for one or several business partners and outputs all change documents of these addresses...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 RFTBPCD2 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

BPCG - TRGP: Change Documents Addresses


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 RFTBPCD2. "Basic submit
SUBMIT RFTBPCD2 AND RETURN. "Return to original report after report execution complete
SUBMIT RFTBPCD2 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: P_DATE = D Date
Selection Text: P_PARTNR = D Partner
Selection Text: P_USER = User
Title: Business Partner: Change Documents - Addresses
Text Symbol: 001 = Address ID
Text Symbol: 002 = Eff. from
Text Symbol: BPN = Business Partner
Text Symbol: CDC = Change


INCLUDES used within this REPORT RFTBPCD2

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:

TB_CD_MINIMAL_DATE_DETERMINE CALL FUNCTION 'TB_CD_MINIMAL_DATE_DETERMINE' EXPORTING date = p_date-low option = p_date-option sign = p_date-sign IMPORTING minimal_date = hlp_date EXCEPTIONS OTHERS = 1.

TB_CD_NOT_FOUND_MESSAGE CALL FUNCTION 'TB_CD_NOT_FOUND_MESSAGE'.

CHANGEDOCUMENT_READ_HEADERS CALL FUNCTION 'CHANGEDOCUMENT_READ_HEADERS' EXPORTING objectclass = cd_objectclass_bp objectid = gt_hlp-hlp_objectid username = gt_hlp-hlp_user date_of_change = gt_hlp-hlp_date TABLES i_cdhdr = lt_tcdhdr EXCEPTIONS OTHERS = 1.

BPAR_R_ADDRESS_REFERENCES CALL FUNCTION 'BPAR_R_ADDRESS_REFERENCES' EXPORTING partner = hlp_partnr TABLES t_bpdadref = t_bpdadref EXCEPTIONS OTHERS = 1.

CHANGEDOCUMENT_READ_POSITIONS CALL FUNCTION 'CHANGEDOCUMENT_READ_POSITIONS' EXPORTING * ARCHIVE_HANDLE = 0 changenumber = cdhdr-changenr * TABLEKEY = ' ' tablename = 'BP030' * IMPORTING * HEADER = TABLES editpos = tcdshw EXCEPTIONS no_position_found = 1 wrong_access_to_archive = 2 OTHERS = 3.

CHANGEDOCUMENT_READ_HEADERS CALL FUNCTION 'CHANGEDOCUMENT_READ_HEADERS' EXPORTING date_of_change = hlp_date objectclass = cd_objectclass_adr objectid = hlp_objectid_a username = hlp_user TABLES i_cdhdr = tcdhdr_a EXCEPTIONS OTHERS = 1.

TB_CD_POSITIONS_WRITE CALL FUNCTION 'TB_CD_POSITIONS_WRITE' EXPORTING header = tcdhdr_a EXCEPTIONS OTHERS = 1.

TB_CD_TOP_OF_PAGE CALL FUNCTION 'TB_CD_TOP_OF_PAGE' EXPORTING header = tcdhdr_a 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 RFTBPCD2 or its description.