Application Development 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: 

How to get Sales order number when order has been created at runtime

Former Member
0 Kudos

Hi Everyone,

How to get sales order number when order has been created through VA01 or changed through VA02 at runtime.

Thank you.

Ravinder.

1 REPLY 1

0 Kudos

HI Ravinder,

In the program MV45AFZZ - USEREXIT_NUMBER_RANGE

check the following fields from VN01

NRLEVEL          last number used

NRRANGENR   Object  ( NUMKI of TVAK table)

or

use FM "NUMBER_GET_NEXT" With  NR_RANGE_NR - "Selected from TVAK"

OBJECT - "RV_BELEG"

Sinagam