J_1HSPIR is a standard Executable ABAP Report available within your SAP system (depending on your version and release level). It is used for J_1HSPIR According to Thai requirements, a registrant who sold goods and provides service with warranty against defects or any similar cause shall prepare a record of changes of spare parts or repairs under warranty separately from a goods and raw material record...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 J_1HSPIR 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 = Sale order number
Selection Text: S_PSTYV = Item catergory
Selection Text: S_MBLNR = Material document number
Selection Text: S_MATNR = Material number
Selection Text: S_BWART = Moement type
Selection Text: S_BUPLA = Plant
Selection Text: S_BUKRS = Company
Selection Text: S_BUDAT = Posting date
Selection Text: S_AUART = Sale order type
Title: Free Spare Part Issue Report for Warranty Product
Text Symbol: 025 = Amount
Text Symbol: 026 = QMNUM
Text Symbol: 027 = Type
Text Symbol: 028 = Address
Text Symbol: 029 = UOM
Text Symbol: 030 = Tax Id
Text Symbol: 031 = Head office
Text Symbol: 032 = Branch no.
Text Symbol: 901 = As at
Text Symbol: 902 = From
Text Symbol: 903 = to
Text Symbol: B01 = Sale order
Text Symbol: B02 = Material document
Text Symbol: 024 = Quantity
Text Symbol: 001 = Comapny
Text Symbol: 002 = Business place
Text Symbol: 003 = Fiscal year
Text Symbol: 004 = Month
Text Symbol: 005 = Material
Text Symbol: 006 = Post.date
Text Symbol: 007 = Branch
Text Symbol: 008 = Plant
Text Symbol: 009 = Stloc.
Text Symbol: 010 = Year
Text Symbol: 011 = Mat.doc.
Text Symbol: 012 = Item
Text Symbol: 013 = Sale ord.no.
Text Symbol: 014 = Item
No INCLUDES are used within this REPORT code!
No SAP DATABASE tables are accessed within this REPORT code!
REUSE_ALV_EVENTS_GET CALL FUNCTION 'REUSE_ALV_EVENTS_GET' EXPORTING I_LIST_TYPE = 0 IMPORTING ET_EVENTS = ALV_EVENTS.
REUSE_ALV_LIST_DISPLAY CALL FUNCTION 'REUSE_ALV_LIST_DISPLAY' EXPORTING I_CALLBACK_PROGRAM = XREPID I_CALLBACK_USER_COMMAND = 'LIST_ACTION' IS_LAYOUT = ALV_LAYOUT IT_FIELDCAT = ALV_FIELDCAT IT_SPECIAL_GROUPS = ALV_SPECIAL_GROUPS IT_SORT = ALV_SORT I_DEFAULT = 'X' I_SAVE = 'A' IT_EVENTS = ALV_EVENTS TABLES T_OUTTAB = TDOC EXCEPTIONS PROGRAM_ERROR = 1 OTHERS = 2.
ADDR_GET CALL FUNCTION 'ADDR_GET' EXPORTING ADDRESS_SELECTION = ADDR1_SEL IMPORTING ADDRESS_VALUE = ADDR1_VAL EXCEPTIONS PARAMETER_ERROR = 1 ADDRESS_NOT_EXIST = 2 VERSION_NOT_EXIST = 3 INTERNAL_ERROR = 4 OTHERS = 5.
Although this basic information may have limited use it does provide an easy to find location to store any knowledge about this program/report.