SAP KD

Archives

Archive for June, 2009

June 22, 2009 @ 1:28 pm

Avoid Deletion of Sales Order and Delivery (VA02 and VL02N )

If you want to block these document deletion option by user exit the is a solution.

You can simply get to MV45AFZZ (sales order) and MV50AFZ1 (delivery) and place the following code in the FORM userexit_delete_document:

 MESSAGE ‘Document delete not allowed’ TYPE ‘I’.

CALL TRANSACTION ‘Va01′ AND SKIP FIRST SCREEN.

Change the transaction to what you want system do redirect to!

Any questions just comment!

VN:F [1.9.3_1094]
Rating: 0.0/5 (0 votes cast)
VN:F [1.9.3_1094]
Rating: +1 (from 1 vote)

Filed under BC - ABAP, SD · No Comments »

About

The absolute best damn Wordpress Gallery on the net. ArenaWP is the sandbox for various designs by Terry Ng of Kineda.
Read More

Social

Subscribe by email:

Delivered by FeedBurner

Pages

  • Loading...


    Loading...

    Login






    Register | Lost password?



    Register





    A password will be mailed to you.
    Log in | Lost password?

    Retrieve password





    A confirmation mail will be sent to your e-mail address.
    Log in | Register
  • Calendar

    June 2009
    M T W T F S S
    « May   Jul »
    1234567
    891011121314
    15161718192021
    22232425262728
    2930  

    Sap Websites

    Recent Posts

    Categories

    Disclaimer

    SAP and the SAP logo are registered trademarks of SAP AG. SAPKD.com is a personal blog and is not affiliated with SAP or other companies mentioned here. I capture the things I learn that might be helpful to others here. No warranties on the information provided are offered or implied. Please feel free to use at your own risk