SAP Reports / Programs | Sales and Distribution | Sales Support | Sales Promotions(SD-CAS-SP) SAP SD

RVCASPDF SAP ABAP INCLUDE - documentation and ABAP source code







RVCASPDF 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 RVCASPDF 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 RVCASPDF. "Basic submit
SUBMIT RVCASPDF AND RETURN. "Return to original report after report execution complete
SUBMIT RVCASPDF 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 RVCASPDF

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:

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 = tnapr-sform 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.

ADDR_GET_NEXT_COMM_TYPE CALL FUNCTION 'ADDR_GET_NEXT_COMM_TYPE' EXPORTING strategy = nast-tcode address_type = us_address_key-addr_type address_number = us_address_key-addrnumber person_number = us_address_key-persnumber 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.

READ_TEXT CALL FUNCTION 'READ_TEXT' EXPORTING id = 'SDMD' language = uv_language name = lc_subject_text_name object = 'TEXT' TABLES lines = lt_lines EXCEPTIONS OTHERS = 1.

ADDR_COMM_GET CALL FUNCTION 'ADDR_COMM_GET' EXPORTING address_number = us_interface-tvko-adrnr language = uv_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 = us_interface-tvko-adrnr language = uv_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 = uv_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.

READ_TEXT CALL FUNCTION 'READ_TEXT' EXPORTING id = '0007' "correspondence language = uv_language name = lv_tdname object = 'VBKA' TABLES lines = lt_lines EXCEPTIONS id = 1 language = 2 name = 3 not_found = 4 object = 5 reference_check = 6 wrong_access_to_archive = 7 OTHERS = 8.

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



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