SAP Reports / Programs | Front Office | SAP Utilities | Front Office(IS-U-CS-FO) SAP IS

RBCONTFO SAP ABAP Report - Customer Contacts







RBCONTFO 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 RBCONTFO 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 RBCONTFO. "Basic submit
SUBMIT RBCONTFO AND RETURN. "Return to original report after report execution complete
SUBMIT RBCONTFO 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: ACTIVITY = D Action
Selection Text: ADDINFO = D Addnl Docs Available
Selection Text: CDIR = D Incoming/outgoing
Selection Text: CLASS = D Contact class
Selection Text: CUSTINFO = D Customer information
Selection Text: DATE = D Date
Selection Text: MAXCOUNT = Maximum number
Selection Text: PARTNER = D Business Partner
Selection Text: PA_ARCH = Select from archive
Selection Text: PRIORITY = D Contact Priority
Selection Text: TYPE = D Contact type
Title: Customer Contacts
Text Symbol: 001 = Partner
Text Symbol: 002 = Date
Text Symbol: 003 = Time
Text Symbol: 004 = Class
Text Symbol: 005 = Action
Text Symbol: 101 = Selection Criteria
Text Symbol: 102 = Options


INCLUDES used within this REPORT RBCONTFO

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:

REUSE_ALV_GRID_DISPLAY CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY' EXPORTING i_background_id = 'ALV_BACKGROUND' i_buffer_active = 'X' i_callback_program = g_repid i_callback_pf_status_set = g_status_set i_callback_user_command = g_user_command i_structure_name = 'ISU_CS_BCONTFO_ALV_LINE_NEW' is_layout = gs_layout i_save = g_save is_variant = gs_variant it_events = gt_events[] TABLES t_outtab = gt_outtab EXCEPTIONS program_error = 1 OTHERS = 2.

DB_BCONT_SELECT_RANGE CALL FUNCTION 'DB_BCONT_SELECT_RANGE' EXPORTING x_maxcount = maxcount * x_sort = ' ' "default = descending TABLES yt_bcont = ibcont xt_partner = r_partner xt_date = r_date xt_class = r_class xt_activity = r_activity xt_ctype = r_type xt_cdir = r_cdir xt_custinfo = r_custinfo xt_priority = r_prio xt_addinfo = r_addinfo.

AS_API_READ CALL FUNCTION 'AS_API_READ' EXPORTING i_fieldcat = 'SAP_ISU_BCONT' i_selections = gt_sel IMPORTING e_result = gt_result EXCEPTIONS parameters_invalid = 1 no_infostruc_found = 2 OTHERS = 3.

BCONTACT_SELECT_FROM_ARCHIVE_2 CALL FUNCTION 'BCONTACT_SELECT_FROM_ARCHIVE_2' EXPORTING x_arkey = gs_result IMPORTING y_bcont = gs_bcont EXCEPTIONS not_found = 1 OTHERS = 2.

ISU_S_PARTNER_DISPLAY CALL FUNCTION 'ISU_S_PARTNER_DISPLAY' EXPORTING x_partner = ls_outtab-partner EXCEPTIONS not_found = 1.

BCONTACT_DISPLAY CALL FUNCTION 'BCONTACT_DISPLAY' EXPORTING x_bpcontact = lv_contact x_archive_key = ibcontw-aind_arkey * <<<< note 0000997726,, H.F., 06.02.2009

REUSE_ALV_COMMENTARY_WRITE CALL FUNCTION 'REUSE_ALV_COMMENTARY_WRITE' EXPORTING i_logo = 'ENJOYSAP_LOGO' it_list_commentary = gt_list_top_of_page.

REUSE_ALV_EVENTS_GET CALL FUNCTION 'REUSE_ALV_EVENTS_GET' EXPORTING i_list_type = 0 IMPORTING et_events = rt_events.

FKK_PARTNER_HEADER_DISPLAY CALL FUNCTION 'FKK_PARTNER_HEADER_DISPLAY' EXPORTING x_partner = l_outtab-partner * x_partner = ibcontw-partner IMPORTING y_text1 = l_outtab-text1.

DB_BCONT_SELECT_RANGE * CALL FUNCTION 'DB_BCONT_SELECT_RANGE' * EXPORTING * x_maxcount = maxcount ** x_sort = ' ' "default = descending * TABLES * yt_bcont = ibcont * xt_partner = r_partner * xt_date = r_date * xt_class = r_class * xt_activity = r_activity * xt_ctype = r_type * xt_cdir = r_cdir * xt_custinfo = r_custinfo * xt_priority = r_prio * xt_addinfo = r_addinfo.

AS_API_READ * CALL FUNCTION 'AS_API_READ' * EXPORTING * i_fieldcat = 'SAP_ISU_BCONT' * i_selections = gt_sel * IMPORTING * e_result = gt_result * EXCEPTIONS * parameters_invalid = 1 * no_infostruc_found = 2 * OTHERS = 3.

BCONTACT_SELECT_FROM_ARCHIVE_2 * CALL FUNCTION 'BCONTACT_SELECT_FROM_ARCHIVE_2' * EXPORTING * x_arkey = gs_result * IMPORTING * y_bcont = gs_bcont * EXCEPTIONS * not_found = 1 * OTHERS = 2.

FKK_BUPA_READ_SINGLE ** call function 'FKK_BUPA_READ_SINGLE' ** exporting ** i_partner = ibcontw-partner ** i_xaddr_mult = 'X' ** importing ** e_but000 = bu_ex ** tables ** t_address = ibus010 ** exceptions ** partner_not_found = 1 ** others = 2.

FKK_PARTNER_HEADER_DISPLAY * CALL FUNCTION 'FKK_PARTNER_HEADER_DISPLAY' * EXPORTING * x_partner = ibcontw-partner * IMPORTING * y_text1 = h_text.

BCONTACT_DISPLAY * CALL FUNCTION 'BCONTACT_DISPLAY' * EXPORTING * x_bpcontact = ibcontw-bpcontact * X_ARCHIVE_KEY = ibcontw-aind_arkey ** IMPORTING ** Y_DB_UPDATE = ** Y_EXIT_TYPE = ** Y_NEW_BCONT = ** TABLES ** Y_NEW_BCONTO = * EXCEPTIONS * NOT_FOUND = 1 * GENERAL_FAULT = 2 * NOT_AUTHORIZED = 3 * OTHERS = 4.

BCONTACT_DISPLAY * CALL FUNCTION 'BCONTACT_DISPLAY' * EXPORTING * x_bpcontact = ibcontw-bpcontact * X_ARCHIVE_KEY = ibcontw-aind_arkey * EXCEPTIONS * NOT_FOUND = 1 * GENERAL_FAULT = 2 * NOT_AUTHORIZED = 3 * OTHERS = 4.



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