Skip to Content
0
Former Member
Jan 18, 2012 at 03:01 PM

Save Reference Number of Delivery using a UserExit in VL01N and VL02N

906 Views

Hi people !

I'm have the following problem:

I have an enhancement in the "USEREXIT_SAVE_DOCUMENT" Form process (Include Program = "MV50AFZ1" , Transactions = VL01N and VL02N).

This Exit gives the delivery number using FM "NUMBER_GET_NEXT" with the following condition:

VBUK-WBSTK = "C". (delivery good issue) when VBUK-VBELN = LIKP-VBELN.

After this, i need to assign the Reference Number (LIKP-XBLNR), but the system will not save the number !

How I can do to assign the reference number (without using a direct upgrade...) ?.

I'll be very grateful for the help.

Thank you in advance.

Fabio