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

RV77S018 SAP ABAP INCLUDE - documentation and ABAP source code







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


INCLUDES used within this REPORT RV77S018

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:

UKM_IS_ACTIVE CALL FUNCTION 'UKM_IS_ACTIVE' IMPORTING e_active = sv_ukm_active e_erp2005 = sv_ukm_erp2005.

TVTA_SINGLE_READ CALL FUNCTION 'TVTA_SINGLE_READ' EXPORTING i_vkorg = xknvv-vkorg i_vtweg = xknvv-vtweg i_spart = xknvv-spart IMPORTING o_tvta = ls_tvta EXCEPTIONS not_found = 1 parameter_error = 2 OTHERS = 3.

SD_DETERMINE_KKBER CALL FUNCTION 'SD_DETERMINE_KKBER' EXPORTING i_kkber_tvta = lvf_dummy_tvta i_kkber_knvv = lvf_dummy_knvv i_kkber_t001 = lvf_dummy_t001 i_vkorg = xknvv-vkorg i_vtweg = xknvv-vtweg i_spart = xknvv-spart xvbak = lvs_dummy_vbak * IMPORTING * RC = * E_KNVV_FLG = TABLES xvbpa = lvt_vbpa CHANGING i_kkber = gvt_kkber_salesarea_kunnr-kkber.

SD_CREDIT_MASTER_DATA CALL FUNCTION 'SD_CREDIT_MASTER_DATA' EXPORTING i_kkber = gvt_kkber_salesarea_kunnr-kkber i_kunrg = lvt_vbpa-kunnr CHANGING e_kurgv = lvs_kurgv.

CREDITCONTROL_AUTHORITY_KNKK CALL FUNCTION 'CREDITCONTROL_AUTHORITY_KNKK' EXPORTING i_actvt = '03' i_kkber = gvt_kkber_salesarea_kunnr-kkber EXCEPTIONS input_missing = 1 no_authority = 2 OTHERS = 3.

CREDITCONTROL_REFRESH_KNKK CALL FUNCTION 'CREDITCONTROL_REFRESH_KNKK' EXPORTING i_xrefresh = 'X'.

SD_CREDIT_REFRESH CALL FUNCTION 'SD_CREDIT_REFRESH' EXPORTING check_no_refresh = ' '.

CREDIT_EXPOSURE CALL FUNCTION 'CREDIT_EXPOSURE' EXPORTING kkber = gvt_credit_exposure-kkber kunnr = gvt_kkber_salesarea_kunnr-knkli IMPORTING creditlimit = gvt_credit_exposure-creditlimit delta_to_limit = gvt_credit_exposure-delta_to_limit e_knkk = gvt_credit_exposure-e_knkk knkli = gvt_credit_exposure-knkli open_delivery = gvt_credit_exposure-open_delivery open_invoice = gvt_credit_exposure-open_invoice * OPEN_ITEMS = open_order = gvt_credit_exposure-open_order * OPEN_SPECIALS = percentage = gvt_credit_exposure-percentage sum_opens = gvt_credit_exposure-sum_opens open_order_secure = gvt_credit_exposure-open_order_secure open_delivery_secure = gvt_credit_exposure-open_delivery_secure open_invoice_secure = gvt_credit_exposure-open_invoice_secure cmwae = gvt_credit_exposure-cmwae.

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

WWW_GET_SCRIPT_AND_HTML CALL FUNCTION 'WWW_GET_SCRIPT_AND_HTML' EXPORTING obj_name = 'SDCAS_XML_CREDITINFO' TABLES html = lvt_creditinfo[].

WWW_GET_SCRIPT_AND_HTML CALL FUNCTION 'WWW_GET_SCRIPT_AND_HTML' EXPORTING obj_name = 'SDCAS_XML_SALESAREALINE' TABLES html = lvt_salesarealine[].



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