08-10-2006 7:04 AM
Hi,
I'm looking for a userexit where I can add checks for users not to delete a item ofn a delivery note when it has a certain item catergory.
I can't find an exit on item level where I can stop the deletion. I did the same on sales orders and this was easy to find ... Can someone help me on this ?
thanks a lot!
08-10-2006 7:21 AM
check the BADI
LE_SHP_DELIVERY_PROC
or
user exits.
*-----------------------------------------------------------------------
* FORM-Routinen für Userexits
*-----------------------------------------------------------------------
include mv50afzz.
include mv50afz1.
include mv50afz2.
include mv50afz3. "Userexit neu zu Release 3.0A
include mv50afzk. "Userexit 4.6A (KOMKG/KOMPG)
include mv50afzl. "Userexit 4.6A Liefergruppen
"n_693000
include mv50afzp. "Userexit for pricing screen input
.
Regards
Prabhu
08-10-2006 7:21 AM
check the BADI
LE_SHP_DELIVERY_PROC
or
user exits.
*-----------------------------------------------------------------------
* FORM-Routinen für Userexits
*-----------------------------------------------------------------------
include mv50afzz.
include mv50afz1.
include mv50afz2.
include mv50afz3. "Userexit neu zu Release 3.0A
include mv50afzk. "Userexit 4.6A (KOMKG/KOMPG)
include mv50afzl. "Userexit 4.6A Liefergruppen
"n_693000
include mv50afzp. "Userexit for pricing screen input
.
Regards
Prabhu
08-10-2006 8:02 AM
I've put a break on all exits in the MV50AFZ1 and when I delete a line it does not come into the coding. The other exits are also not called when deleting a line ...
Do you have an other idea ?
Thanks a lot;
08-10-2006 9:55 AM
Problem solved. Thanks a lot.
I used exit "userexit_save_document_prepare" and just before saving I check if the line that is marked for deletion (UPDKZ field = 'D') and then I do my check. If the line may not have been deleted I give a message and go back the the displaying of the delivery.
Thanks a lot!
04-27-2021 1:38 PM
Please set this variable as xlips_loeschen_menge_0 = X, in any of the line item exits.