05-07-2010 7:43 PM
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
05-10-2010 6:18 AM
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
05-12-2010 3:52 PM
Hi, the LE_SHP_GOODSMOVEMENT, can not change the structure LIKP, and I need to move a field to this structure. thanks
05-12-2010 4:29 PM
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.
05-12-2010 6:13 PM
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
05-12-2010 7:46 PM
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.
05-12-2010 8:40 PM
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.