SDREPSTAT is a standard Executable ABAP Report available within your SAP system (depending on your version and release level). It is used for Correction program for the correct deregistration of the repair status...see full standard documentation available for this report. Also check out the submitted Comments related to this SAP report and the details below to see which OBJECTS it interacts with such as TABLES, FUNCTION MODULES, INCLUDES ETC.
If you would like to execute this report or see the full code listing simply enter SDREPSTAT 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: AART = SD Order Type
Selection Text: BELEGNR = Sales Document Number
Selection Text: P_POSNR = Main Item Number
Selection Text: UPD = With Update?
Title: Correction Program to Change the Repair Status
INCLUDE RVDIREKT.
No SAP DATABASE tables are accessed within this REPORT code!
STATUS_READ call function 'STATUS_READ' exporting objnr = lv_objnr tables status = lt_status exceptions object_not_found = 1 others = 2.
STATUS_CHANGE_INTERN call function 'STATUS_CHANGE_INTERN' exporting objnr = lv_objnr tables status = set_stat.
Although this basic information may have limited use it does provide an easy to find location to store any knowledge about this program/report.
SDREPSTAT - Correction Program to Change the Repair Status SDREPSTAT - Correction Program to Change the Repair Status SDREPA01 - Repairs processing: Generate repair items after goods receipt SDREPA01 - Repairs processing: Generate repair items after goods receipt SDREBI02 - Retro-billing list: Creating the credit/debit memos SDREBI02 - Retro-billing list: Creating the credit/debit memos