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 to get material serial number status

muthusamy_sankaran
Active Contributor
0 Likes
4,207

Hi Gurus,

How to get get material serial number status? Is there any function module?

TCode IQ03 to display the serial number staus, but where i can find the status (AVLB / ESTO / ECUS) of these serial number ?

Pls help.

Regards,

Sankaran

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
2,162

Hi,

Make use of FM STATUS_READ.

From EQUI table get the OBJNR for the material and serial number.

Use this OBJNR in the FM to get the status.

Regards,

Ankur Parab

3 REPLIES 3
Read only

Former Member
0 Likes
2,163

Hi,

Make use of FM STATUS_READ.

From EQUI table get the OBJNR for the material and serial number.

Use this OBJNR in the FM to get the status.

Regards,

Ankur Parab

Read only

Former Member
0 Likes
2,162

hi,

SELECT SINGLE equnr objnr FROM

equi INTO (equnr1 , objnr1)

WHERE sernr = wa_final-sernr

AND matnr = wa_final-matnr.

CALL FUNCTION 'STATUS_TEXT_EDIT'

EXPORTING

client = sy-mandt

flg_user_stat = 'X'

objnr = objnr1

spras = sy-langu

bypass_buffer = 'X'

IMPORTING

line = sttxt

EXCEPTIONS

object_not_found = 1

OTHERS = 2.

IF sy-subrc <> 0.

  • MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO

  • WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.

ENDIF.

Regards

siva

Read only

muthusamy_sankaran
Active Contributor
0 Likes
2,162

Thanks