SAP Reports / Programs | Distributor-Reseller-Management | Industry Solution High Tech | Distributor-Reseller-Management(IS-HT-DRM) SAP IS

/SAPHT/RDRM_CNTCND_MSF02 SAP ABAP INCLUDE - Fetching from Database







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


Text pool values


Title: Fetching from Database


INCLUDES used within this REPORT /SAPHT/RDRM_CNTCND_MSF02

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:

RV_SALES_DOCUMENT_VIEW_3 CALL FUNCTION 'RV_SALES_DOCUMENT_VIEW_3' EXPORTING vbcom = l_vbcom * I_CONTRACT_WITH_REFSTATUS = * I_NEW_VALIND_SELECT = * KONV_FLAG = * BSTKD_FLAG = * IMPORTING * TIME = TABLES lvbmtv = lt_vbmtv1 lseltab = lt_seltab .

RV_SALES_DOCUMENT_VIEW_3 call function 'RV_SALES_DOCUMENT_VIEW_3' exporting vbcom = l_vbcom * I_CONTRACT_WITH_REFSTATUS = * I_NEW_VALIND_SELECT = * KONV_FLAG = * BSTKD_FLAG = * IMPORTING * TIME = tables lvbmtv = lt_vbmtv lseltab = lt_seltab.

GET_DOMAIN_VALUES CALL FUNCTION 'GET_DOMAIN_VALUES' EXPORTING domname = '/SAPHT/DRM_ENDCUSTTYPE' TABLES values_tab = lt_values_tab EXCEPTIONS no_values_found = 1 OTHERS = 2.

/SAPHT/DRM_AGREEMENT_DETAIL CALL FUNCTION '/SAPHT/DRM_AGREEMENT_DETAIL' EXPORTING iv_agreement_number = ls_vbmtv-vbeln * IV_LANGU = SY-LANGU * IMPORTING * ES_DRSADR = * ES_MSSADR = * EV_TIMESTAMP = TABLES et_agreement_detail = lt_agreement_detail * ET_TEXT = * ET_MSCONTACT_INFO = * ET_DRCONTACT_INFO = * ET_ERROR = .

SD_VBUK_SINGLE_READ CALL FUNCTION 'SD_VBUK_SINGLE_READ' EXPORTING i_vbeln = us_agrno IMPORTING e_vbuk = wa_vbuk EXCEPTIONS record_not_found = 1 OTHERS = 2.

SD_VBUP_SINGLE_READ CALL FUNCTION 'SD_VBUP_SINGLE_READ' EXPORTING i_vbeln = us_agrno i_posnr = us_itmno IMPORTING e_vbup = wa_vbup EXCEPTIONS record_not_found = 1 OTHERS = 2.

SD_ACTIVITY_DETERMINE CALL FUNCTION 'SD_ACTIVITY_DETERMINE' EXPORTING i_document_type = vbtyp_kont IMPORTING e_activity = l_vrgng.

SD_STATUS_VBAK_CHECK CALL FUNCTION 'SD_STATUS_VBAK_CHECK' EXPORTING * i_vbak = us_vbak i_vbeln = us_agrno i_vrgng = l_vrgng EXCEPTIONS not_allowed = 1 object_not_found = 2 OTHERS = 3.

SD_STATUS_VBAP_CHECK CALL FUNCTION 'SD_STATUS_VBAP_CHECK' EXPORTING * i_vbap = t_vbap i_posnr = us_itmno i_vbeln = us_agrno i_vrgng = l_vrgng EXCEPTIONS not_allowed = 1 object_not_found = 2 OTHERS = 3.

SD_VBAK_SINGLE_READ CALL FUNCTION 'SD_VBAK_SINGLE_READ' EXPORTING i_vbeln = iv_vbeln * I_BYPASSING_BUFFER = ' ' * I_REFRESH_BUFFER = IMPORTING e_vbak = ls_vbak * EXCEPTIONS * RECORD_NOT_FOUND = 1 * OTHERS = 2 .

STATUS_OBJECT_READ CALL FUNCTION 'STATUS_OBJECT_READ' EXPORTING objnr = ls_vbak-objnr IMPORTING e_jsto = ls_jsto EXCEPTIONS 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 /SAPHT/RDRM_CNTCND_MSF02 or its description.