SDVBAK01 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 SDVBAK01 into the relevant SAP transactions such as SE38 or SE80
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.
Title: Program for Object Type VBAK: Sales Document
No INCLUDES are used within this REPORT code!
No SAP DATABASE tables are accessed within this REPORT code!
RV_CONFIRM_OPT_VBAK CALL FUNCTION 'RV_CONFIRM_OPT_VBAK' EXPORTING opt_vbeln = vbak-vbeln IMPORTING opt_confirm = confirmation EXCEPTIONS not_found = 1.
AUTHORITY_CHECK_TCODE CALL FUNCTION 'AUTHORITY_CHECK_TCODE' EXPORTING TCODE = t180-tcode EXCEPTIONS OK = 1 NOT_OK = 2 OTHERS = 3.
AUTHORITY_CHECK_TCODE CALL FUNCTION 'AUTHORITY_CHECK_TCODE' EXPORTING TCODE = lv_tcode EXCEPTIONS OK = 1 NOT_OK = 2 OTHERS = 3.
AUTHORITY_CHECK_TCODE CALL FUNCTION 'AUTHORITY_CHECK_TCODE' EXPORTING TCODE = lv_tcode EXCEPTIONS OK = 1 NOT_OK = 2 OTHERS = 3.
SD_WF_ORDER_REJECTION_DETERMIN CALL FUNCTION 'SD_WF_ORDER_REJECTION_DETERMIN' IMPORTING reason_for_rejection = reason_for_rejection.
SD_WF_ORDER_REJECT CALL FUNCTION 'SD_WF_ORDER_REJECT' EXPORTING reason_for_rejection = reason_for_rejection sales_order_doc_no = salesdocument.
SD_WF_ORDER_SET_BILLING_BLOCK CALL FUNCTION 'SD_WF_ORDER_SET_BILLING_BLOCK' EXPORTING sales_order_doc_no = salesdocument EXCEPTIONS error_message = 1.
SD_WF_ORDER_DEL_BILLING_BLOCK CALL FUNCTION 'SD_WF_ORDER_DEL_BILLING_BLOCK' EXPORTING sales_order_doc_no = salesdocument EXCEPTIONS error_message = 1.
SD_WF_ORDER_CONVERT_COMPCURR CALL FUNCTION 'SD_WF_ORDER_CONVERT_COMPCURR' EXPORTING compcurrency = compcurrency companycodecurrency = companycodecurrency documentcurrency = documentcurrency netvalue = netvalue exchangerate = exchangerate IMPORTING netvaluecc = netvalueincompcurr EXCEPTIONS no_rate_found = 1.
SD_SALES_DOCUMENT_COPY CALL FUNCTION 'SD_SALES_DOCUMENT_COPY' EXPORTING i_auarn = tvak-auara i_vbeln = vbak-vbeln EXCEPTIONS error_message = 01.
SD_SALES_DOCUMENT_SAVE CALL FUNCTION 'SD_SALES_DOCUMENT_SAVE' EXCEPTIONS error_message = 01.
BAPI_SALESDOCUMENT_COPY CALL FUNCTION 'BAPI_SALESDOCUMENT_COPY' EXPORTING SALESDOCUMENT = OBJECT-KEY-SALESDOCUMENT DOCUMENTTYPE = DOCUMENTTYPE TESTRUN = TESTRUN IMPORTING SALESDOCUMENT_EX = SALESDOCUMENTEX TABLES RETURN = RETURN EXCEPTIONS OTHERS = 01.
Although this basic information may have limited use it does provide an easy to find location to store any knowledge about this program/report.