SAP Reports / Programs | Sales and Distribution | Sales | Basic Functions(SD-SLS-GF) SAP SD

RVKUSTA1 SAP ABAP Report - Customer Fact Sheet







RVKUSTA1 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 RVKUSTA1 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

CIC3 - Sales Summary
VC/2 - Customer Master Data Sheet


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 RVKUSTA1. "Basic submit
SUBMIT RVKUSTA1 AND RETURN. "Return to original report after report execution complete
SUBMIT RVKUSTA1 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: KUNNR = Customer
Selection Text: SPART = Division
Selection Text: VKORG = Sales organization
Selection Text: VTWEG = Distribution channel
Title: Customer Fact Sheet
Text Symbol: 001 = Sales Summary for Customer $ $
Text Symbol: 002 = Further Info Data
Text Symbol: D01 = $ customers determined
Text Symbol: T01 = Do you want to continue
Text Symbol: T02 = processing?
Text Symbol: T03 = Safety query
Text Symbol: U01 = Sales Area
Text Symbol: U02 = Sales Organization
Text Symbol: U03 = Distribution Channel
Text Symbol: U04 = Division
Text Symbol: U05 = Sales Probability in %


INCLUDES used within this REPORT RVKUSTA1

INCLUDE RV77ITOP.
INCLUDE RVKUSTA1_ALV.


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:

RS_REFRESH_FROM_DYNAMICAL_SEL CALL FUNCTION 'RS_REFRESH_FROM_DYNAMICAL_SEL' EXPORTING curr_report = sy-cprog mode_write_or_move = space IMPORTING p_trange = gt_rsds_trange EXCEPTIONS not_found = 1 wrong_type = 2 OTHERS = 3.

GET_ACCESSIBILITY_MODE CALL FUNCTION 'GET_ACCESSIBILITY_MODE' IMPORTING accessibility = acc_flag.

RV_CALL_DISPLAY_TRANSACTION CALL FUNCTION 'RV_CALL_DISPLAY_TRANSACTION' EXPORTING vbeln = b_vbeln vbtyp = b_vbtyp.

IQS0_CHANGE_NOTIFICATION CALL FUNCTION 'IQS0_CHANGE_NOTIFICATION' EXPORTING i_qmnum = b_qmnum i_displ = 'A' * I_INITIAL = ' ' * IMPORTING * E_VIQMEL = * E_RIWO03 = EXCEPTIONS invalid_entry = 1 notification_not_in_buffer = 2 OTHERS = 3.

RS_REFRESH_FROM_SELECTOPTIONS CALL FUNCTION 'RS_REFRESH_FROM_SELECTOPTIONS' EXPORTING curr_report = 'RVKUSTA1' TABLES selection_table = lv_rsparams EXCEPTIONS not_found = 1 no_report = 2 OTHERS = 3.

FREE_SELECTIONS_RANGE_2_EX CALL FUNCTION 'FREE_SELECTIONS_RANGE_2_EX' EXPORTING field_ranges = gt_rsds_trange IMPORTING expressions = lv_rsds_texpr.

LDB_PROCESS CALL FUNCTION 'LDB_PROCESS' EXPORTING ldbname = 'SD_KUSTA' * VARIANT = expressions = lv_rsds_texpr * FIELD_SELECTION = TABLES callback = lt_ldbcb selections = lv_rsparams EXCEPTIONS ldb_not_reentrant = 1 ldb_incorrect = 2 ldb_already_running = 3 ldb_error = 4 ldb_selections_error = 5 ldb_selections_not_accepted = 6 variant_not_existent = 7 variant_obsolete = 8 variant_error = 9 free_selections_error = 10 callback_no_event = 11 callback_node_duplicate = 12 OTHERS = 13.

RV_CALL_DISPLAY_TRANSACTION CALL FUNCTION 'RV_CALL_DISPLAY_TRANSACTION' EXPORTING vbeln = vbka-vbeln vbtyp = '1'.

AUTHORITY_CHECK_TCODE CALL FUNCTION 'AUTHORITY_CHECK_TCODE' EXPORTING TCODE = 'VDH1N' EXCEPTIONS OK = 0 NOT_OK = 2 OTHERS = 3 .

RV_CALL_DISPLAY_TRANSACTION CALL FUNCTION 'RV_CALL_DISPLAY_TRANSACTION' EXPORTING vbeln = vbak-vbeln vbtyp = 'C'.

SD_CCARD_MAINTAIN_DIALOG CALL FUNCTION 'SD_CCARD_MAINTAIN_DIALOG' EXPORTING i_kna1 = kna1 i_dyncl = 'X' i_aktyp = 'V' i_title = '' i_stand_alone = 'X' * CHANGING * E_DATALOSS = .

WWW_GET_SCRIPT_AND_HTML CALL FUNCTION 'WWW_GET_SCRIPT_AND_HTML' EXPORTING obj_name = 'SDCAS_XML_TEMPLATE' TABLES html = xml_output.

CONVERSION_EXIT_ISOLA_OUTPUT CALL FUNCTION 'CONVERSION_EXIT_ISOLA_OUTPUT' EXPORTING input = sy-langu IMPORTING output = html_line.

OWN_LOGICAL_SYSTEM_GET CALL FUNCTION 'OWN_LOGICAL_SYSTEM_GET' IMPORTING own_logical_system = lvf_logsys EXCEPTIONS * OWN_LOGICAL_SYSTEM_NOT_DEFINED = 1 OTHERS = 2 .

WWW_GET_SCRIPT_AND_HTML CALL FUNCTION 'WWW_GET_SCRIPT_AND_HTML' EXPORTING obj_name = 'SDCAS_XML_KEYLINE' TABLES html = lvt_keyline[].

WWW_GET_SCRIPT_AND_HTML CALL FUNCTION 'WWW_GET_SCRIPT_AND_HTML' EXPORTING obj_name = 'SDCAS_XML_KEYLINE' TABLES html = lvt_replacement[].

LDB_PROCESS CALL FUNCTION 'LDB_PROCESS' EXPORTING ldbname = 'SD_KUSTA' * VARIANT = * EXPRESSIONS = LV_RSDS_TEXPR * FIELD_SELECTION = TABLES callback = lt_ldbcb selections = lvt_seltab EXCEPTIONS ldb_not_reentrant = 1 ldb_incorrect = 2 ldb_already_running = 3 ldb_error = 4 ldb_selections_error = 5 ldb_selections_not_accepted = 6 variant_not_existent = 7 variant_obsolete = 8 variant_error = 9 free_selections_error = 10 callback_no_event = 11 callback_node_duplicate = 12 OTHERS = 13.

LDB_PROCESS CALL FUNCTION 'LDB_PROCESS' EXPORTING ldbname = 'SD_KUSTA' * VARIANT = * EXPRESSIONS = LV_RSDS_TEXPR * FIELD_SELECTION = TABLES callback = lt_ldbcb selections = lvt_seltab_local EXCEPTIONS ldb_not_reentrant = 1 ldb_incorrect = 2 ldb_already_running = 3 ldb_error = 4 ldb_selections_error = 5 ldb_selections_not_accepted = 6 variant_not_existent = 7 variant_obsolete = 8 variant_error = 9 free_selections_error = 10 callback_no_event = 11 callback_node_duplicate = 12 OTHERS = 13.



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