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: 

When push the button VL02N that is in the (post output of goods)

Former Member
0 Kudos

En inglés:

Hello, in Peru is required to account when delivery by VL02N, the document is assigned a serial tax (calculated by ranges in a table z), the point is that I have not got any user exit is activated when you push the button VL02N that is in the (post output of goods), I reviewed the user exit and is not active MV50AFZ1 the button and the methods of the badi LE_SHP_DELIVERY_PROC (transaction SE18) were not actively using the button to count the output of goods VL02N transaction delivery

Would know as one might do this?

thanks and regards

En español:

Hola, en Peru se necesita que cuando de contabilize la entrega por la VL02N, se asigne al documento un consecutivo fiscal (calculado por rangos en una tabla z), el punto es que no he conseguido ningun user exit que se active cuando presiono el boton que está en la VL02N , (contabilizar salida de mercancias), revisé el user exit MV50AFZ1 y no se activa en el botón y los métodos de la badi LE_SHP_DELIVERY_PROC ( transacción se18) tampoco se activam con el botón de contabilizar la salida de mercancia en la transacción VL02N de la entrega

Sabrian como se podria hacer esto?

gracias y saludos

6 REPLIES 6

Former Member
0 Kudos

Hi,

Create the implementation for badi "LE_SHP_GOODSMOVEMENT". This BADI gets triggered when you click on "Post goods Issue" button in VL02N.

Regards

Vinod

0 Kudos

Hi, the LE_SHP_GOODSMOVEMENT, can not change the structure LIKP, and I need to move a field to this structure. thanks

0 Kudos

Instead of modify LIKP table directly in LE_SHP_GOODSMOVEMENT BADI, trigger an event.

Associate a Z program to this event and in the program use WS_DELIVERY_UPDATE or any other FM/BAPI you find useful to modify the delivery.

A little logical flow

LE_SHP_GOODSMOVEMEN -> Trigger event and start program Z...

In program Z...-> check the delivery is unlocked (so all updates are done before your changes)

Dlivery unlocked-> make your changes.

0 Kudos

Hi,

I did what that tells me and gives me the following error:

VL 046

the user is trying to delivery

in this BADI can not call a function because the delivery is being changed

0 Kudos

Use the user exit to change - you might want to use on 'SAve_document' or save/_document_prepare form routines to do this.

You will have more options in user exit than in BADI's when it comes to sales/delivery.

0 Kudos

Hi, the problem is:

In Peru is required to account when delivery by VL02N, the document is assigned a serial tax (calculated by ranges in a table z), in the field LIKP-LIFEX the point is that I have not got any user exit is activated when you push the button VL02N that is in the (post output of goods), I reviewed the user exit and is not active MV50AFZ1 the button and the methods of the badi LE_SHP_DELIVERY_PROC (transaction SE18) were not actively using the button to count the output of goods VL02N transaction delivery .

The user exit or badi to save or modify the delivery (MV50AFZ1, LE_SHP_DELIVERY_PROC) not serve because is necesary account the delivery, and the serial tax must be assigned to account BOTTON (post output of goods) for delivery.