Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Function module for Serial Number

Former Member
0 Likes
4,966

Hi ,

Is there any Function Module to check whether the serial Number is created or not for the material.

9 REPLIES 9
Read only

Former Member
0 Likes
2,172

check table MARA....

Read only

former_member222860
Active Contributor
0 Likes
2,172

Hi,

Check this FM

PRICAT_MATERIAL_NUMBER_CHECK

MATERIAL_NUMBER_GET

Read only

0 Likes
2,172

Hi,

This fm is not getting required output. I passed "Material No" , corresponding Serial number is not coming. Plz advise me.

Read only

0 Likes
2,172

Use SNRO transaction or NRIV table.

Read only

0 Likes
2,172

Hi,

I have gone through that tcode. but i m not getting . Is there any alternative plz let me know.

Read only

0 Likes
2,172

Hi,

Do you have any other field to pass to FM apart from material number to get the serial number....IF not then u have to go for select queries....

Regards,

Rohan.

Read only

0 Likes
2,172

Hi Thulasi

Write a small report



PARAMETERS : p_matnr TYPE mara-matnr.

DATA : gv_matnr TYPE mara-matnr.

SELECT SINGLE matnr FROM mara INTO gv_matnr WHERE matnr EQ p_matnr.

IF sy-subrc EQ 0.
WRITE : 'Material is there'.
ELSE.
WRITE : 'Material is not there'.
ENDIF.

Pushpraj

Read only

0 Likes
2,172

Hi,

i can pass Equipment Category also 'S'. please suggest me.

Read only

Former Member
0 Likes
2,172

Hi,

FM SERIALNUMBER_READ.

This will read the serial number if it exist for the material..otherwise give exceptions..

it also checks whether the serail number is locked or not if exist for a material...

Regards,

Rohan.

Edited by: Rohan on Feb 25, 2009 12:01 PM