SAP Reports / Programs | Sales and Distribution | Basic Functions | Output Determination(SD-BF-OC) SAP SD

SD_BIL_PRINT01 SAP ABAP Report - Sales: Adobe Print Program







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


Text pool values


Title: Sales: Adobe Print Program


INCLUDES used within this REPORT SD_BIL_PRINT01

INCLUDE: RVDIREKT.


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_PRICE_PRINT_REFRESH CALL FUNCTION 'RV_PRICE_PRINT_REFRESH' TABLES tkomv = gt_komv.

RV_BILLING_PRINT_VIEW CALL FUNCTION 'RV_BILLING_PRINT_VIEW' EXPORTING comwa = ls_comwa IMPORTING kopf = gs_bil_print-head_detail-vbdkr TABLES pos = lt_vbdpr EXCEPTIONS terms_of_payment_not_in_t052 = 1 error_message = 5 OTHERS = 4.

SD_VEDA_GET_PRINT_DATA * CALL FUNCTION 'SD_VEDA_GET_PRINT_DATA' * EXPORTING * i_document_number = gs_sls_print-head_detail-vbdka-vbeln * i_language = nast-spras * i_posnr_low = '000000' * TABLES * print_data_pos = gt_vedpa * print_data_head = lt_vedka * print_notice_pos = gt_item_cancellation_dates * print_notice_head = gs_sls_print-head_detail-cancellation_dates.

NAST_PROTOCOL_UPDATE CALL FUNCTION 'NAST_PROTOCOL_UPDATE' EXPORTING msg_arbgb = sy-msgid msg_nr = sy-msgno msg_ty = sy-msgty msg_v1 = sy-msgv1 msg_v2 = sy-msgv2 msg_v3 = sy-msgv3 msg_v4 = sy-msgv4 EXCEPTIONS OTHERS = 1.

FP_JOB_OPEN CALL FUNCTION 'FP_JOB_OPEN' CHANGING ie_outputparams = ls_outputparams EXCEPTIONS cancel = 1 usage_error = 2 system_error = 3 internal_error = 4 OTHERS = 5.

FP_FUNCTION_MODULE_NAME CALL FUNCTION 'FP_FUNCTION_MODULE_NAME' EXPORTING i_name = lv_form IMPORTING e_funcname = lv_fm_name.

FP_JOB_CLOSE CALL FUNCTION 'FP_JOB_CLOSE' EXCEPTIONS usage_error = 1 system_error = 2 internal_error = 3 OTHERS = 4.

DD_DOMVALUES_GET CALL FUNCTION 'DD_DOMVALUES_GET' EXPORTING domname = 'VBTYP' text = gc_true langu = nast-spras TABLES dd07v_tab = gt_vbtyp_fix_values EXCEPTIONS wrong_textflag = 1 OTHERS = 2.

RV_PRICE_PRINT_ITEM CALL FUNCTION 'RV_PRICE_PRINT_ITEM' EXPORTING comm_head_i = gs_komk comm_item_i = ls_komp language = nast-spras IMPORTING comm_head_e = gs_komk comm_item_e = ls_komp TABLES tkomv = gt_komv tkomvd = cs_item_detail-conditions.

RV_PRICE_PRINT_ITEM_BUFFER CALL FUNCTION 'RV_PRICE_PRINT_ITEM_BUFFER' EXPORTING comm_head_i = gs_komk comm_item_i = ls_komp language = nast-spras IMPORTING comm_head_e = gs_komk comm_item_e = ls_komp TABLES tkomv = gt_komv tkomvd = cs_item_detail-conditions.

SD_TAX_CODE_MAINTAIN CALL FUNCTION 'SD_TAX_CODE_MAINTAIN' EXPORTING key_knumv = gs_komk-knumv key_kposn = ls_komp-kposn i_application = ' ' i_pricing_procedure = gs_komk-kalsm TABLES xkomv = gt_komv.

SD_ADDRESS_GET CALL FUNCTION 'SD_ADDRESS_GET' EXPORTING fif_address_number = gs_bil_print-head_detail-tvko-adrnr fif_address_type = char1 IMPORTING fes_sdpartner_address = ls_address EXCEPTIONS address_not_found = 1 address_type_not_exists = 2 no_person_number = 3 OTHERS = 4.

BILLING_SCHED_PRINTVIEW_READ * CALL FUNCTION 'BILLING_SCHED_PRINTVIEW_READ' * EXPORTING * i_fplnr = cs_item_detail-vbdpr-fplnr * i_language = nast-spras * i_vbeln = gs_bil_print-head_detail-vbdkr-vbeln * TABLES * zfpltdr = cs_item_detail-bill_plan.

VC_I_GET_CONFIGURATION CALL FUNCTION 'VC_I_GET_CONFIGURATION' EXPORTING instance = cs_item_detail-vbdpr-cuobj language = nast-spras print_sales = gc_true TABLES configuration = lt_conf EXCEPTIONS OTHERS = 4.

CLSE_SELECT_CABN CALL FUNCTION 'CLSE_SELECT_CABN' TABLES in_cabn = lr_cabn t_cabn = lt_cabn EXCEPTIONS no_entry_found = 1 OTHERS = 2.

RV_PRICE_PRINT_HEAD CALL FUNCTION 'RV_PRICE_PRINT_HEAD' EXPORTING comm_head_i = gs_komk language = nast-spras IMPORTING comm_head_e = gs_komk TABLES tkomv = gt_komv tkomvd = gs_bil_print-head_detail-conditions.

RV_PRICE_PRINT_HEAD_BUFFER CALL FUNCTION 'RV_PRICE_PRINT_HEAD_BUFFER' EXPORTING comm_head_i = gs_komk language = nast-spras IMPORTING comm_head_e = gs_komk TABLES tkomv = gt_komv tkomvd = gs_bil_print-head_detail-conditions.

TVKO_SINGLE_READ CALL FUNCTION 'TVKO_SINGLE_READ' EXPORTING vkorg = uv_vkorg IMPORTING wtvko = gs_bil_print-head_detail-tvko EXCEPTIONS not_found = 1 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 SD_BIL_PRINT01 or its description.