SAP Reports / Programs

RPREFXCN_DELETE_VERSION SAP ABAP Report - Delete Contract Version







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

REFXCN_DELV - Delete contract version


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 RPREFXCN_DELETE_VERSION. "Basic submit
SUBMIT RPREFXCN_DELETE_VERSION AND RETURN. "Return to original report after report execution complete
SUBMIT RPREFXCN_DELETE_VERSION 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_BUKRS = Company Code
Selection Text: P_CNNRM = Original Contract No.
Selection Text: P_CNNRV = Contract Version No.
Title: Contract Version Deletion
Text Symbol: B01 = General Selection
Text Symbol: P01 = Delete Confirmation
Text Symbol: P02 = Do you want to delete Contract version?


INCLUDES used within this REPORT RPREFXCN_DELETE_VERSION

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:

DYNP_VALUES_READ CALL FUNCTION 'DYNP_VALUES_READ' EXPORTING dyname = sy-cprog dynumb = sy-dynnr TABLES dynpfields = lt_dynpfields EXCEPTIONS invalid_abapworkarea = 1 invalid_dynprofield = 2 invalid_dynproname = 3 invalid_dynpronummer = 4 invalid_request = 5 no_fielddescription = 6 invalid_parameter = 7 undefind_error = 8 double_conversion = 9 stepl_not_found = 10 OTHERS = 11.

CONVERSION_EXIT_ALPHA_INPUT CALL FUNCTION 'CONVERSION_EXIT_ALPHA_INPUT' EXPORTING input = lv_cnnrm IMPORTING output = lv_cnnrm.

F4IF_INT_TABLE_VALUE_REQUEST CALL FUNCTION 'F4IF_INT_TABLE_VALUE_REQUEST' EXPORTING * ddic_structure = 'REFXCN_CNTRMAP' retfield = 'RECNNRFV' * PVALKEY = ' ' dynpprog = sy-cprog dynpnr = sy-dynnr dynprofield = 'P_CNNRV' * STEPL = 0 * WINDOW_TITLE = * VALUE = ' ' value_org = 'S' * MULTIPLE_CHOICE = ' ' display = 'F' * CALLBACK_PROGRAM = ' ' * CALLBACK_FORM = ' ' * CALLBACK_METHOD = * MARK_TAB = * IMPORTING * USER_RESET = TABLES value_tab = lt_version_f4 * FIELD_TAB = * return_tab = lt_return * DYNPFLD_MAPPING = EXCEPTIONS parameter_error = 1 no_values_found = 2 OTHERS = 3 .

POPUP_TO_CONFIRM CALL FUNCTION 'POPUP_TO_CONFIRM' EXPORTING titlebar = text-p01 * DIAGNOSE_OBJECT = ' ' text_question = text-p02 * TEXT_BUTTON_1 = 'Ja'(001) * ICON_BUTTON_1 = ' ' * TEXT_BUTTON_2 = 'Nein'(002) * ICON_BUTTON_2 = ' ' * DEFAULT_BUTTON = '1' display_cancel_button = '' * USERDEFINED_F1_HELP = ' ' * START_COLUMN = 25 * START_ROW = 6 * POPUP_TYPE = * IV_QUICKINFO_BUTTON_1 = ' ' * IV_QUICKINFO_BUTTON_2 = ' ' IMPORTING answer = lv_answer * TABLES * PARAMETER = EXCEPTIONS text_not_found = 1 OTHERS = 2.

REDB_REFXCN_CNTRMAP_UPDATE_S CALL FUNCTION 'REDB_REFXCN_CNTRMAP_UPDATE_S' EXPORTING is_refxcn_cntrmap = ls_mapping id_operation = 'U' EXCEPTIONS db_failure = 1 db_operation_unknown = 2 OTHERS = 3.

CONVERSION_EXIT_ALPHA_OUTPUT CALL FUNCTION 'CONVERSION_EXIT_ALPHA_OUTPUT' EXPORTING input = p_cnnrv IMPORTING output = lv_recnnrfv.

CONVERSION_EXIT_ALPHA_OUTPUT CALL FUNCTION 'CONVERSION_EXIT_ALPHA_OUTPUT' EXPORTING input = ls_mapping-recnnrfv IMPORTING output = lv_recnnrfv.



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