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

Information of Function

Former Member
0 Likes
641

Hello Friends,

How to use " GET_SERNOS_OF_DOCUMENT "

function module.

What is SER01

SER02

SER03

-


in same function ?

Rahul S.

Hello Friends,

How to use " GET_SERNOS_OF_DOCUMENT "

function module.

What is SER01

SER02

SER03

-


in same function ?

Rahul S.

2 REPLIES 2
Read only

Former Member
0 Likes
561

Go thru the code ...

DATA: TRSEROB LIKE RSEROB OCCURS 20 WITH HEADER LINE.

CLEAR RSEROB. REFRESH TRSEROB.

MOVE LTAK-VBELN TO RSEROB-LIEF_NR.

MOVE 'SER01' TO RSEROB-TASER.

CALL FUNCTION 'GET_SERNOS_OF_DOCUMENT'

EXPORTING

KEY_DATA = RSEROB

TABLES

SERNOS = TRSEROB

EXCEPTIONS

KEY_PARAMETER_ERROR = 1

NO_SUPPORTED_ACCESS = 2

NO_DATA_FOUND = 3

ERROR_MESSAGE = 99.

LOOP AT TRSEROB.

MOVE: TRSEROB-LIEF_NR TO ISERNR-VBELN,

TRSEROB-POSNR TO ISERNR-POSNR,

TRSEROB-SERNR TO ISERNR-SERNR.

APPEND ISERNR.

ENDLOOP.

SER01

SER02

SER03 These are serial numbers ...

Read only

Former Member
0 Likes
561

As the name suggests it is used for Serial Number Management in Documents.

SER01 = Document Header for Serial Numbers for Delivery

SER02 = Document Header for Serial Nos for Maint.Contract (SD Order)

SER03 = Document Header for Serial Numbers for Goods Movements

Mukta