SAP Reports / Programs | Sales and Distribution | Sales(SD-SLS) SAP SD

SDREPA01 SAP ABAP Report - Repairs processing: Generate repair items after goods receipt







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


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 SDREPA01. "Basic submit
SUBMIT SDREPA01 AND RETURN. "Return to original report after report execution complete
SUBMIT SDREPA01 VIA SELECTION-SCREEN. "Display selection screen of submitted report to user
    See more syntax options for the ABAP SUBMIT statement


Text pool values


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


INCLUDES used within this REPORT SDREPA01

INCLUDE RVDIREKT.


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:

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.



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