Search This Blog...

Sunday, January 23, 2011

How to activate debugger for a Popup screen - Client Independent debuger shortcut

One of my previous posts was on “How to activate debugger for a Popup screen”. (Thursday, September 30, 2010)

But the main disadvantage in that method was; you have to create client specific debugger shortcuts.
Eg: Separate debugger shortcuts for development, quality and production client

Therefore today I’m going to discuss on how to create a client independent debugger shortcut in your desktop.

Just copy and paste below coding in a notepad file and save it as a “.txt” file in the desktop. You can save it under any name you want.

[FUNCTION]
Command=/H
Title=Debugger
Type=SystemCommand

Whenever you want to start the debugger from a popup, drag and drop the notepad file on to the popup. The debugger will start.

Happy Reading!!

Please feel free to post your suggestions, feedback and comments!

Sunday, January 16, 2011

Authorization Check for Delivery Document Deletion

Requirement:

Requirement is to check user authorization at delivery document deletion.

Eg: Only selected user ID’s should be able to delete delivery documents in the system.
(Transaction VL02N)

This functionality is not directly available in the standard SAP with authorization objects.

Please refer OSS note: 580226.

Therefore we have to go for below 2 step process.

1. Enable delete activity to the relevant authorization object
2. Code a user exit to check the activity status of the authorization object and to popup a error message


Happy Reading!!

Please feel free to post your suggestions, feedback and comments!