SDREPA01 is a standard Executable ABAP Report available within your SAP system (depending on your version and release level). It is used for This report automatically generates all repair items that have been received and with deactivated inspection lot processing...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 SDREPA01 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.
Customer repair orders
Selection Text: PROTOCOL = Log
Selection Text: VBELN = Customer repair doc. number
Title: Repairs processing: Generate repair items after goods receipt
Text Symbol: 001 = Customer repair order
Text Symbol: 004 = Events generated according to repair procedure
Text Symbol: 005 = Document Notification
001 Document Output
INCLUDE RVDIREKT.
No SAP DATABASE tables are accessed within this REPORT code!
OBJECT_KEY_GET CALL FUNCTION 'OBJECT_KEY_GET' TABLES ONR_TAB = ONR_TAB.
SD_REPAIR_ORDER_CONFIRMATION CALL FUNCTION 'SD_REPAIR_ORDER_CONFIRMATION' EXPORTING I_SAVE = CHARX I_READ = CHARX I_ORDER = ONR_TAB-VBELN I_ITEM = ONR_TAB-POSNR I_START_OF_REPAIR = CHARX * TABLES * I_REPAKOM = EXCEPTIONS INCORRECT_CALL = 1 OTHERS = 2.
MESSAGE_TEXT_BUILD CALL FUNCTION 'MESSAGE_TEXT_BUILD' EXPORTING MSGID = SY-MSGID MSGNR = SY-MSGNO MSGV1 = SY-MSGV1 MSGV2 = SY-MSGV2 MSGV3 = SY-MSGV3 MSGV4 = SY-MSGV4 IMPORTING MESSAGE_TEXT_OUTPUT = NEWS-TEXT.
MESSAGE_TEXT_BUILD CALL FUNCTION 'MESSAGE_TEXT_BUILD' EXPORTING MSGID = 'V1' MSGNR = '311' MSGV1 = TEXT-001 MSGV2 = ONR_TAB-VBELN IMPORTING MESSAGE_TEXT_OUTPUT = NEWS-TEXT.
Although this basic information may have limited use it does provide an easy to find location to store any knowledge about this program/report.
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 SDREBI01ALV - Retro-Billing SDREBI01ALV - Retro-Billing