SAP Reports / Programs

J_1HSPIR SAP ABAP Report - Free Spare Part Issue Report for Warranty Product







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


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


Text pool values


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





Text Symbol: 015 = Order no.
Text Symbol: 016 = Customer
Text Symbol: 017 = Name
Text Symbol: 018 = Val.Type
Text Symbol: 019 = Serial number
Text Symbol: 020 = Warranty date
Text Symbol: 021 = Warranty no.
Text Symbol: 022 = Equip.no.
Text Symbol: 023 = +/-


INCLUDES used within this REPORT J_1HSPIR

No INCLUDES are used within this REPORT code!


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:

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.



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