SDMFSTRP 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 SDMFSTRP 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.
Selection Text: S_VBELN = Order
Selection Text: S_ERDAT = Created on
Title: Monitoring of quantity flow in third-party business transactions
Text Symbol: 001 = Order
Text Symbol: 002 = Order
Text Symbol: 003 = Purchase order
Text Symbol: 004 = Vendor invoice
Text Symbol: 005 = Vendor credit memo
Text Symbol: 006 = Invoice
Text Symbol: 007 = Credit memo
Text Symbol: 008 = Credit memo cancellation
Text Symbol: 009 = Invoice cancellation
Text Symbol: 010 = Document Doc.no. Item Date Material MM qty MM SD qty SD
Text Symbol: 011 = List all open quantities?
Text Symbol: 012 = VPRS update?
Text Symbol: 013 = Test
Text Symbol: 014 = Item
Text Symbol: 015 = Cost (old)
Text Symbol: 016 = Cost (new)
Text Symbol: 017 = No update possible
Text Symbol: 018 = No data exists in the system
Text Symbol: 100 = Open quantities (in basis quantity)
INCLUDE VBRKDATA.
INCLUDE VBUKDATA.
INCLUDE VBRPDATA.
INCLUDE KONVDATA.
INCLUDE VBPADATA.
INCLUDE THEADDAT.
INCLUDE VBFSDATA.
No SAP DATABASE tables are accessed within this REPORT code!
ME_READ_HISTORY CALL FUNCTION 'ME_READ_HISTORY' EXPORTING EBELN = XEKPO-EBELN EBELP = XEKPO-EBELP WEBRE = XEKPO-WEBRE TABLES XEKBE = XEKBE XEKBES = XEKBES XEKBEZ = XEKBEZ XEKBNK = XEKBNK XEKBZ = XEKBZ.
RV_INVOICE_REFRESH CALL FUNCTION 'RV_INVOICE_REFRESH' EXPORTING WITH_POSTING = 'C' TABLES XKOMFK = XKOMFK XKOMV = XKOMV XTHEAD = XTHEAD XVBFS = XVBFS XVBSS = XVBSS XVBPA = XVBPA XVBRK = XVBRK XVBRP = XVBRP.
RV_INVOICE_DOCUMENT_READ CALL FUNCTION 'RV_INVOICE_DOCUMENT_READ' EXPORTING VBRK_I = VBRK ACTIVITY = '02' "ACTVT_CHANGE KONV_READ = 'X' NO_NAST = 'X' "ALR IMPORTING VBRK_E = VBRK VBUK_E = VBUK TABLES XKOMFK = XKOMFK XVBRK = XVBRK XVBRP = XVBRP XVBPA = XVBPA XKOMV = XKOMV EXCEPTIONS ERROR_MESSAGE = 4 OTHERS = 4.
RV_INVOICE_ITEM_MAINTAIN CALL FUNCTION 'RV_INVOICE_ITEM_MAINTAIN' EXPORTING VBRP_I = VBRP REDETERMINE_WAVWR = 'X' IMPORTING VBRP_E = VBRP TABLES XKOMFK = XKOMFK XKOMV = XKOMV XTHEAD = XTHEAD XVBFS = XVBFS XVBPA = XVBPA XVBRK = XVBRK XVBRP = XVBRP XVBSS = XVBSS.
RV_ACCOUNTING_DOCUMENT_CREATE CALL FUNCTION 'RV_ACCOUNTING_DOCUMENT_CREATE' EXPORTING INVOICE_HEADER = *VBRK DOCUMENT_OLD = *VBRK-VBELN MODE = 'A' MODE_TYPES = '2' IMPORTING O_VBRK_RFBSK = VBRK-RFBSK TABLES XVBRP = OVBRP XKOMV = OKOMV EXCEPTIONS ERROR_01 = 4 NO_DOCUMENT_REQUIRED = 1.
RV_ACCOUNTING_DOCUMENT_CREATE CALL FUNCTION 'RV_ACCOUNTING_DOCUMENT_CREATE' EXPORTING INVOICE_HEADER = *VBRK DOCUMENT_OLD = *VBRK-VBELN MODE = 'B' MODE_TYPES = '2' IMPORTING O_VBRK_RFBSK = VBRK-RFBSK TABLES XVBRP = XVBRP XKOMV = XKOMV EXCEPTIONS ERROR_01 = 4 NO_DOCUMENT_REQUIRED = 1.
AC_DOCUMENT_POST CALL FUNCTION 'AC_DOCUMENT_POST' EXPORTING I_AWTYP = 'VBRK' I_AWREF = VBRK-VBELN EXCEPTIONS ERROR_MESSAGE = 01.
RV_INVOICE_DOCUMENT_ADD CALL FUNCTION 'RV_INVOICE_DOCUMENT_ADD' EXPORTING VBSK_I = VBSK WITH_POSTING = 'C' I_NO_NAST = 'X' "ALR IMPORTING VBSK_E = VBSK TABLES XKOMFK = XKOMFK XTHEAD = XTHEAD XVBFS = XVBFS XVBSS = XVBSS XVBRK = XVBRK XVBRP = XVBRP XVBPA = XVBPA XKOMV = XKOMV EXCEPTIONS ERROR_MESSAGE = 4 OTHERS = 4.
Although this basic information may have limited use it does provide an easy to find location to store any knowledge about this program/report.
SDMFSTRP - Monitoring of quantity flow in third-party business transactions SDMFSTRP - Monitoring of quantity flow in third-party business transactions SDME_ODT_PATTERN - SDMEODTPATTERN SDME_DLG_CONSTANTS - SDMEDLGCONSTANTS SDME_DETAIL_SCREEN_INCLUDE - SDMEDETAILSCREENINCLUDE SDLIPS01 - documentation and ABAP source code