We have added search box. Key in SAP issue keyword to search
TopBottom

Announcement: wanna exchange links? contact me at sapchatroom@gmail.com.

RE: [sap-abap] Delivery Delete UserExit

Posted by Admin at
Share this post:
Ma.gnolia DiggIt! Del.icio.us Yahoo Furl Technorati Reddit

Posted by TerryB (Sr. SAP Developer)
on Jan 21 at 6:14 PM
Jim,
Are you on ECC 6.0? If so, you will most likely be able to find an enhancement spot to accomplish your goal. I just did a bit of debugging, and it looks like VL02N is bristling with enhancement points. Just do your /h just before you press the delete button, and single-step through, looking for enhancement points.
If you don't find an already-defined enhancement spot, you can always use an implicit enhancement.
Cheers,
Terry

---------------Original Message---------------
From: CrazyBrave
Sent: Friday, January 21, 2011 4:46 PM
Subject: Delivery Delete UserExit

With exit MV50AFZ1 subroutine USEREXIT_DELETE_DOCUMENT I am having partial success stopping the Delivery Line or Delivery from being deleted. That is I am successful checking the delivery delete status and manipulating it (XLIPS-UPDKZ). I have not determined how to control a delete when pressing the red delete items button at the bottom of the screen. This doesn't seem to fall into a user exit. I tried to control it at save time with USEREXIT_SAVE_DOCUMENT_PREPARE but it doesn't exactly work right and besides it's really not the right time to perform that type of check. I need to check it when I press either the Trash Can or the red Delete Items button.

Thanks,
Jim

__.____._
Copyright © 2011 Toolbox.com and message author.

Toolbox.com 4343 N. Scottsdale Road Suite 280, Scottsdale, AZ 85251
Mark as helpful
View this online
  
TerryB
SAP ABAP Helper

Posted helpful replies on 5 threads in a group to earn a Bronze Achievement
Most Popular White Papers

In the Spotlight
Which response to your Toolbox.com Groups post was the most helpful? Use 'Best Answer' to mark highest quality content.
_.____.__

0 comments:

Post a Comment

T r a n s l a t e to your language