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: 

Changes to VL01/VL02 before saving Delivery

Former Member
0 Kudos

Hi,

Any thoughts on how I can make table modifications to deliveries before the delivery before it is saved.

Cheers,

Steve

1 ACCEPTED SOLUTION

Former Member
0 Kudos

Have you searched if there is any user-exit or BADi for the same.

Regards,

Atish

2 REPLIES 2

Former Member
0 Kudos

Have you searched if there is any user-exit or BADi for the same.

Regards,

Atish

Former Member
0 Kudos

Hi,

We can achieve this by using Userexit..I dont remeber exit name but include program is MV50AFZ1

FORM inside exit is like

----


  • FORM USEREXIT_SAVE_DOCUMENT *

----


  • This userexit can be used to save data in additional tables *

  • when a document is saved. *

  • *

  • If field T180-TRTYP contents 'H', the document will be *

  • created, else it will be changed. *

  • *

  • This form is called at from form BELEG_SICHERN, before COMMIT *

  • *

----


----


  • FORM USEREXIT_SAVE_DOCUMENT_PREPARE *

----


  • This userexit can be used for changes or checks, before a *

  • document is saved. *

  • *

  • If field T180-TRTYP contents 'H', the document will be *

  • created, else it will be changed. *

  • *

  • This form is called at the beginning of form BELEG_SICHERN *

  • *

----


Check the above Include program and do the necessary code below the forms.

Regards,

Srini