Skip to Content
avatar image
Former Member

VA01 Help required

Hi all,

I have attached a SMARTFORM in V/30. It will automatically print out the Order automatically when new order is made.

Now the thing is that i dont know what the number system has generated and how to fetch it automatically and get data from VBAK and VBAP according to that vbeln.

Is there any function module to fetch the last order number generated? or is there any other way i should do it?

thanks.

Add comment
10|10000 characters needed characters exceeded

  • Follow
  • Get RSS Feed

1 Answer

  • avatar image
    Former Member
    Aug 16, 2007 at 10:28 AM

    Hi!

    Try using GET PARAMETER ID 'AUN' FIELD my_last_vbeln.

    AUN is the parameter ID, which contains the last used customer order number.

    Regards

    Tamá

    Add comment
    10|10000 characters needed characters exceeded