Skip to Content
0
Former Member
Jul 07, 2009 at 10:13 AM

Pre-defined number of sales order / external number range

444 Views

Hello all,

my customer wants to create sales documents with reference to another sales documents, with external numbering. For example:

from document 123456 - first reference will have nr D01-123456, second reference D02-123456 etc.

I created new document type with external number range. When user create document with reference, it is necessary to enter its number (D01-xxxxxx) manually. Is any way to automatic filling of this field /vbak-vbeln/?

I have required code which generate right document number but I don't know where to use it.

Regards,

Marian M.