SAP Reports / Programs | Customer Bill of Services | Industry Solution Engineering & Construction | Customer Bill of Services(IS-EC-BOS) SAP IS

BOS_SD_BILL_PRINT01 SAP ABAP Report - Billing Documents: Adobe Print Program







BOS_SD_BILL_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 BOS_SD_BILL_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 BOS_SD_BILL_PRINT01. "Basic submit
SUBMIT BOS_SD_BILL_PRINT01 AND RETURN. "Return to original report after report execution complete
SUBMIT BOS_SD_BILL_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: Billing Documents: Adobe Print Program


INCLUDES used within this REPORT BOS_SD_BILL_PRINT01

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_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_interface-head_detail-vbdkr TABLES pos = lt_vbdpr EXCEPTIONS terms_of_payment_not_in_t052 = 1 error_message = 2 OTHERS = 3.

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 = 0.

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 = gv_language 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 = gv_language 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 = gv_language 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_interface-head_detail-tvko-adrnr fif_address_type = '1' IMPORTING fes_sdpartner_address = ls_address EXCEPTIONS address_not_found = 1 address_type_not_exists = 2 no_person_number = 3 OTHERS = 4.

VC_I_GET_CONFIGURATION CALL FUNCTION 'VC_I_GET_CONFIGURATION' EXPORTING instance = cs_item_detail-vbdpr-cuobj language = gv_language 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 = gv_language IMPORTING comm_head_e = gs_komk TABLES tkomv = gt_komv tkomvd = gs_interface-head_detail-conditions.

RV_PRICE_PRINT_HEAD_BUFFER CALL FUNCTION 'RV_PRICE_PRINT_HEAD_BUFFER' EXPORTING comm_head_i = gs_komk language = gv_language IMPORTING comm_head_e = gs_komk TABLES tkomv = gt_komv tkomvd = gs_interface-head_detail-conditions.

TVKO_SINGLE_READ CALL FUNCTION 'TVKO_SINGLE_READ' EXPORTING vkorg = -vkorg IMPORTING wtvko = gs_interface-head_detail-tvko EXCEPTIONS not_found = 1 OTHERS = 2.

ADDR_COMM_GET CALL FUNCTION 'ADDR_COMM_GET' EXPORTING address_number = gs_interface-head_detail-tvko-adrnr language = gv_language table_type = 'ADSMTP' TABLES comm_table = lt_adsmtp EXCEPTIONS parameter_error = 1 address_not_exist = 2 internal_error = 3 OTHERS = 4.

ADDR_COMM_GET CALL FUNCTION 'ADDR_COMM_GET' EXPORTING address_number = gs_interface-head_detail-tvko-adrnr language = gv_language table_type = 'ADFAX' TABLES comm_table = lt_adfax EXCEPTIONS parameter_error = 1 address_not_exist = 2 internal_error = 3 OTHERS = 4.

SD_PDF_SEND_DATA





CALL FUNCTION 'SD_PDF_SEND_DATA' EXPORTING iv_device = uv_device iv_email_subject = lv_mail_subject it_email_text = lt_mail_text is_main_data = us_pdf_file iv_language = gv_language is_address = ls_address IMPORTING ev_send_to_all = lv_send_to_all EXCEPTIONS exc_document = 1 exc_send_request = 2 exc_address = 3 OTHERS = 4.

ADDR_GET_NEXT_COMM_TYPE CALL FUNCTION 'ADDR_GET_NEXT_COMM_TYPE' EXPORTING strategy = gs_nast-tcode address_type = -address_type address_number = -adrnr person_number = -adrnp IMPORTING comm_type = lv_comm_type comm_values = ls_comm_values EXCEPTIONS address_not_exist = 1 person_not_exist = 2 no_comm_type_found = 3 internal_error = 4 parameter_error = 5 OTHERS = 6.

OPEN_FORM CALL FUNCTION 'OPEN_FORM' EXPORTING dialog = ' ' form = tnapr-fonam language = gv_language OPTIONS = ls_options EXCEPTIONS canceled = 1 device = 2 form = 3 OPTIONS = 4 unclosed = 5 mail_options = 6 archive_error = 7 invalid_fax_number = 8 more_params_needed_in_batch = 9 spool_error = 10 codepage = 11 OTHERS = 12.

WRITE_FORM CALL FUNCTION 'WRITE_FORM' EXPORTING element = 'MAIL_BODY' EXCEPTIONS element = 1 function = 2 type = 3 unopened = 4 unstarted = 5 window = 6 bad_pageformat_for_print = 7 spool_error = 8 codepage = 9 OTHERS = 10.

CLOSE_FORM CALL FUNCTION 'CLOSE_FORM' TABLES otfdata = lt_otfdata EXCEPTIONS unopened = 1 bad_pageformat_for_print = 2 send_error = 3 spool_error = 4 codepage = 5 OTHERS = 6.

CONVERT_OTF CALL FUNCTION 'CONVERT_OTF' TABLES otf = lt_otfdata LINES = lt_lines EXCEPTIONS err_max_linewidth = 1 err_format = 2 err_conv_not_possible = 3 err_bad_otf = 4 OTHERS = 5.

CONVERT_ITF_TO_STREAM_TEXT CALL FUNCTION 'CONVERT_ITF_TO_STREAM_TEXT' EXPORTING language = gv_language TABLES itf_text = lt_lines text_stream = ct_mail_text.

SD_DOWNPAYMENT_READ CALL FUNCTION 'SD_DOWNPAYMENT_READ' EXPORTING i_waerk = -waerk i_bukrs = -bukrs i_kunnr = -kunrg i_vbel2 = ls_sdaccdpc_doc-vbeln i_vbeln = -vbeln i_sfakn = -sfakn i_xfilkd = lv_xfilkd i_gesanz = gc_true TABLES t_sdaccdpc = gt_sdaccdpc CHANGING c_downpay_refresh = gv_downpay_refresh EXCEPTIONS no_downpayments = 1 in_downpayments = 2 OTHERS = 3.

BILLING_SCHEDULE_READ CALL FUNCTION 'BILLING_SCHEDULE_READ' EXPORTING fplnr = -rplnr TABLES zfplt = lt_fplt EXCEPTIONS error_message = 0 OTHERS = 0.

MS_SUBDIVISION_FOR_PRINT CALL FUNCTION 'MS_SUBDIVISION_FOR_PRINT' EXPORTING packno = eslh-hpackno TABLES gliederung = toutline EXCEPTIONS packno_not_exist = 01.

MS_SERVICES_FOR_PRINT CALL FUNCTION 'MS_SERVICES_FOR_PRINT' EXPORTING packno = toutline-sub_packno TABLES leistung = tservices EXCEPTIONS no_services_found = 1.

BOS01_ENTRYSHEETTOBOS_CONVERT CALL FUNCTION 'BOS01_ENTRYSHEETTOBOS_CONVERT' EXPORTING packno = ppackno TABLES services = services bos_outlines = bos_outline bos_services = bos_services unplanned_services = unplanned_services.

/SAPBOQ/GET_SI_FLAG CALL FUNCTION '/SAPBOQ/GET_SI_FLAG' IMPORTING e_si_flag = si_enable.



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