0% found this document useful (0 votes)
1K views15 pages

RISERNR1 SAP Report - Serial Number History: Includes Used Within Report

RISERNR1 is a standard ABAP report available within your SAP system. It enables you to create a history for serial numbers within your system. Below is the standard documentation available for this report. There is also an opportunity for anyone to be able to add useful hints and information specific to this SAP object.

Uploaded by

mangeshbh
Copyright
© Attribution Non-Commercial (BY-NC)
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
1K views15 pages

RISERNR1 SAP Report - Serial Number History: Includes Used Within Report

RISERNR1 is a standard ABAP report available within your SAP system. It enables you to create a history for serial numbers within your system. Below is the standard documentation available for this report. There is also an opportunity for anyone to be able to add useful hints and information specific to this SAP object.

Uploaded by

mangeshbh
Copyright
© Attribution Non-Commercial (BY-NC)
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 15

Share |

Comments (0)

RISERNR1 SAP Report - Serial


Number History
RISERNR1 is a standard ABAP report available within your SAP system (depending on your
version and release level). Below is the standard documentation available for this report
and a few details of other objects it interacts with such as tables, function modules,
includes etc. If you would like to see the full code listing simply enter the object
name( RISERNR1 ) into the relevant SAP transaction such as SE38 or SE80

Within the comments section below there is also an opportunity for anyone to be able add
useful hints and information specific to this SAP object. This means that you and other
users will be able to find these details quickly by simply searching on the object name.

SAP Documentation for program RISERNR1

DESCRIPTION

This executable program enables you to create a history for serial numbers.
Documentation extract taken from SAP system, Copyright (c) SAP AG

Includes used within report:

INCLUDE MIOLXTOP.
INCLUDE RVVBTYP.

Tables used within report and the associated select statement:

T377X

SELECT * FROM t377x INTO TABLE h_t377x.

EQUI

select single equnr from equi into list_head-equnr "P6BK191920

where matnr = list_head-matnr and sernr = list_head-sernr. "P6BK

SER03

SELECT * FROM ser03 INTO TABLE h_tab_matbel


WHERE obknr IN h_obknr03.

SER03

SELECT * FROM ser03 INTO TABLE h_tab_matbel

FOR ALL ENTRIES IN h_obknr03

WHERE obknr = h_obknr03-low.

SER01

SELECT * FROM ser01 INTO TABLE h_tab_lief_ret

WHERE obknr IN h_obknr01.

SER01

SELECT * FROM ser01 INTO TABLE h_tab_lief_ret

FOR ALL ENTRIES IN h_obknr01

WHERE obknr = h_obknr01-low.

SER04

SELECT * FROM ser04 INTO TABLE h_tab_pflos

WHERE obknr IN h_obknr04.

SER04

SELECT * FROM ser04 INTO TABLE h_tab_pflos

FOR ALL ENTRIES IN h_obknr04

WHERE obknr = h_obknr04-low.

SER02

SELECT * FROM ser02 INTO TABLE h_tab_sdauf

WHERE obknr IN h_obknr02.

SER02

SELECT * FROM ser02 INTO TABLE h_tab_sdauf

FOR ALL ENTRIES IN h_obknr02


WHERE obknr = h_obknr02-low.

SER05

SELECT * FROM ser05 INTO TABLE h_tab_pmppauf

WHERE obknr IN h_obknr05.

SER05

SELECT * FROM ser05 INTO TABLE h_tab_pmppauf

FOR ALL ENTRIES IN h_obknr05

WHERE obknr = h_obknr05-low.

SER06

SELECT * FROM ser06 INTO TABLE h_tab_hndunit

WHERE obknr IN h_obknr06.

SER06

SELECT * FROM ser06 INTO TABLE h_tab_hndunit

FOR ALL ENTRIES IN h_obknr06

WHERE obknr = h_obknr06-low.

SER07

SELECT * FROM ser07 INTO TABLE h_tab_iblnr

WHERE obknr IN h_obknr07.

SER07

SELECT * FROM ser07 INTO TABLE h_tab_iblnr

FOR ALL ENTRIES IN h_obknr07

WHERE obknr = h_obknr07-low.

VIAUFKST

SELECT * FROM viaufkst FOR ALL ENTRIES IN h_aufnr

WHERE aufnr = h_aufnr-aufnr.


HIKOLA

SELECT * FROM hikola FOR ALL ENTRIES IN h_aufnr

WHERE aufnr = h_aufnr-aufnr.

VIQMEL

SELECT * FROM viqmel

FOR ALL ENTRIES IN h_pmmel

WHERE qmnum = h_pmmel-ihnum.

OBJK

SELECT * FROM objk INTO TABLE intobjk

WHERE equnr = equi_nr.

SER01

SELECT * FROM ser01

WHERE obknr = obknr.

SER02

SELECT * FROM ser02

WHERE obknr = obknr.

SER03

SELECT * FROM ser03

WHERE obknr = obknr.

SER04

SELECT * FROM ser04

WHERE obknr = obknr.

SER07

SELECT * FROM ser07

WHERE obknr = obknr.


VIAUFKST

SELECT * FROM viaufkst

WHERE obknr = obknr.

MPOS

SELECT * FROM mpos

WHERE obknr = obknr.

MPOS

SELECT * FROM mpos

WHERE equnr = equi.

VIAUFKST

SELECT * FROM viaufkst "#EC CI_NOFIRST

WHERE equnr = equi.

VIQMEL

SELECT * FROM viqmel

WHERE equnr = equi.

TIH01

SELECT SINGLE * FROM tih01 WHERE tabname = h_tabarg

AND uname = sy-uname.

TIH01

SELECT SINGLE * FROM tih01 WHERE tabname = h_tabarg

AND uname = space.

MAKT

SELECT SINGLE * FROM makt WHERE matnr = list_head-matnr

AND spras = sy-langu.


Function Modules used within report and the associated call
statement:

EQUIPMENT_TEXT_READ

CALL FUNCTION 'EQUIPMENT_TEXT_READ'

EXPORTING

equi_no = list_head-equnr

text_language = sy-langu

IMPORTING

equi_text = list_head-eqktx

TABLES

text_table = lt_text

EXCEPTIONS

OTHERS = 01.

CR_WORKSTATION_READ

CALL FUNCTION 'CR_WORKSTATION_READ'

EXPORTING

id = viaufkst-ppsid

msgty = 'S'

IMPORTING

arbpl = h_tab_pmauf-arbpl

EXCEPTIONS

not_found = 01.

CR_WORKSTATION_READ

CALL FUNCTION 'CR_WORKSTATION_READ'

EXPORTING
id = viaufkst-gewrk

msgty = 'S'

IMPORTING

arbpl = h_tab_pmauf-gewrk

EXCEPTIONS

not_found = 01.

STATUS_TEXT_EDIT

CALL FUNCTION 'STATUS_TEXT_EDIT'

EXPORTING

objnr = viaufkst-objnr

spras = sy-langu

flg_user_stat = 'X'

IMPORTING

line = h_tab_pmauf-sttxt

user_line = h_tab_pmauf-ustxt

EXCEPTIONS

object_not_found = 01.

CR_WORKSTATION_READ

CALL FUNCTION 'CR_WORKSTATION_READ'

EXPORTING

id = hikola-ppsid

msgty = 'S'

IMPORTING

arbpl = h_tab_pmauf-arbpl

EXCEPTIONS
not_found = 01.

CR_WORKSTATION_READ

CALL FUNCTION 'CR_WORKSTATION_READ'

EXPORTING

id = hikola-gewrk

msgty = 'S'

IMPORTING

arbpl = h_tab_pmauf-gewrk

EXCEPTIONS

not_found = 01.

STATUS_TEXT_EDIT

CALL FUNCTION 'STATUS_TEXT_EDIT'

EXPORTING

objnr = hikola-objnr

spras = sy-langu

flg_user_stat = 'X'

IMPORTING

line = h_tab_pmauf-sttxt

user_line = h_tab_pmauf-ustxt

EXCEPTIONS

object_not_found = 01.

PM_WORKORDER_COSTS_LIST

CALL FUNCTION 'PM_WORKORDER_COSTS_LIST'

EXPORTING

external_call = 'X'
TABLES

list_aufk = h_tab_pmauf

EXCEPTIONS

no_orders = 01

no_currency = 02

no_costs_found = 03.

CR_WORKSTATION_READ

CALL FUNCTION 'CR_WORKSTATION_READ'

EXPORTING

id = viqmel-arbpl

msgty = 'S'

IMPORTING

arbpl = h_tab_pmmel-arbpl

EXCEPTIONS

not_found = 01.

STATUS_TEXT_EDIT

CALL FUNCTION 'STATUS_TEXT_EDIT'

EXPORTING

objnr = viqmel-objnr

spras = sy-langu

flg_user_stat = 'X'

IMPORTING

line = h_tab_pmmel-sttxt

user_line = h_tab_pmmel-ustxt

EXCEPTIONS
object_not_found = 01.

MASTER_DATA

CALL FUNCTION 'MASTER_DATA'

EXPORTING

datenfeld = i_datafield.

SERIAL_NOT_UNIQUE

CALL FUNCTION 'SERIAL_NOT_UNIQUE'

EXPORTING

material = matnr

serial = sernr

IMPORTING

serial = sernr

equipment = equi_nr

EXCEPTIONS

not_found = 01.

GET_FIELDTAB

CALL FUNCTION 'GET_FIELDTAB'

EXPORTING

langu = h_langu

tabname = h_tabname

withtext = 'X'

TABLES

fieldtab = h_fieldtab

EXCEPTIONS

no_texts_found = 01.
PM_CHANGE_TIH01

CALL FUNCTION 'PM_CHANGE_TIH01'

EXPORTING

tabarg = h_tabarg

tabname = h_tabname

uname = sy-uname

IMPORTING

e_field_changed = l_changed.

HU_DISPLAY

CALL FUNCTION 'HU_DISPLAY'

EXPORTING

it_venum = h_venum_tab

EXCEPTIONS

OTHERS = 1.

FIND_BASE_DIMENSION

CALL FUNCTION 'FIND_BASE_DIMENSION'

EXPORTING

timex = h_ltimex

IMPORTING

dimid = h_dimid.

FIND_BASE_UNIT

CALL FUNCTION 'FIND_BASE_UNIT'

EXPORTING

dimid = h_dimid

nennr = h_lnennr
zaehl = h_lzaehl

IMPORTING

msehi = g_imaueh

EXCEPTIONS

unit_not_found = 4.

FIND_BASE_UNIT

CALL FUNCTION 'FIND_BASE_UNIT'

EXPORTING

dimid = h_dimid

nennr = h_lnennr

zaehl = h_lzaehl

IMPORTING

msehi = g_emaueh

EXCEPTIONS

unit_not_found = 4.

UNIT_CONVERSION_SIMPLE

CALL FUNCTION 'UNIT_CONVERSION_SIMPLE'

EXPORTING

input = h_liauszt

unit_in = g_imaueh

unit_out = g_emaueh

IMPORTING

output = h_loauszt.

EQUIPMENT_ONLY

CALL FUNCTION 'EQUIPMENT_ONLY'


EXPORTING

* I_HANDLE =

* EQUNR =

matnr = p_matnr

sernr = p_sernr

* CHECK_EQUI =

IMPORTING

uequi = ls_equi

* FULL_EQUI =

* TABLES

* TEQUI =

EXCEPTIONS

equi_not_found = 1

err_handle = 2

OTHERS = 3

SHOW_CHANGE_DOC_NOTIFICATIONS

CALL FUNCTION 'SHOW_CHANGE_DOC_NOTIFICATIONS'

EXPORTING

object_number = ls_equi-objnr

object_class = 'EQUI'

* VIQMEL_WA =

* CAUFVD_WA =

equi_wa = ls_equi "P6BK094618

* IFLO_WA =
* FENUM =

* MANUM =

* URNUM =

* AKNUM =

* OBJECT_SEGMENT =

* TABLES

* WQMFE_TAB =

* WQMMA_TAB =

* WQMSM_TAB =

* WQMUR_TAB =

EQUIPMENT_GET_INSTALL_HISTORY

CALL FUNCTION 'EQUIPMENT_GET_INSTALL_HISTORY'

EXPORTING

id_equnr = p_equnr

TABLES

et_history = lt_install_data

EXCEPTIONS

equi_not_found = 1

OTHERS = 2.

Text pool values

Selection Text: SERNR = Serial number


Selection Text: MATNR = Material number
Title: Serial Number History
Text Symbol: 120 = Quotat.
Text Symbol: 121 = Split
Text Symbol: 201 = Material:
Text Symbol: 202 = Serial number:
Text Symbol: 203 = Equipment:
Text Symbol: 204 = Maint.contract:
Text Symbol: 205 = Maintenance item:
Text Symbol: 501 = Purchase Order
Text Symbol: HIS = Serial Number History
Text Symbol: T01 = Serial number selection
Text Symbol: T02 = Filter
Text Symbol: 101 = Goods receipt
Text Symbol: 102 = Goods issue
Text Symbol: 103 = Inspection lot
Text Symbol: 104 = Sales Order
Text Symbol: 106 = Delivery
Text Symbol: 107 = Returns
Text Symbol: 109 = PM order
Text Symbol: 110 = Notification
Text Symbol: 111 = Refurbishment order
Text Symbol: 112 = Production order
Text Symbol: 113 = Handling unit
Text Symbol: 114 = Inventory
Text Symbol: 115 = Installation
Text Symbol: 116 = Dismantling

RISCD_COPA_T
RISERNR9

You might also like