Translate

Thursday, April 21, 2011

Assign Transaction Code to a Report

There are several advantages in assigning Transaction Codes to the Reports. One of them is that the users can access the report right from the SAP Menu screen by typing in the custom T-Code or by clicking on the favorite they may have already saved in the SAP Menu. They need not follow a 3-step SE38 procedure anymore. The second advantage is that it makes the SAP HR Security guy’s work easy as he can use this custom TCode to allow/block the access to this Report. In general, the HR Users are not allowed to access SE38 transaction.

Please follow the below procedure to create a Custom Transaction Code for an Ad-Hoc Query. This procedure assumes that you already have a saved query:

•Go to SAP Query transaction SQ01 and choose appropriate User Group (Use Shift + 7 to change the UG)
•Highlight the Query in the list below and go to Query -> More Functions. Click on Display Report Name as shown in the image below.

Displaying Report Name
•The name of the report appears in a small pop-up window. Copy the report name as shown in the image below.

Report Name
•Go to transaction SE93. Type the new Transaction Code to be assigned to the query and hit Create button.
•In the next screen, enter a Short Text for the T-Code and select Report Transaction radio button as shown below. Hit Enter

Creating a Custom TCode for a Report
•In the following screen, enter the report name you have copied from step 3 above in the Program field. You can also enter a variant to start the report with a default variant. Image shown below.

Assigning TCode to Report
•Upon clicking the Save button, you will prompted for a Package. Consult your BASIS person for the correct Package. Next, you will be prompted again to assign the report to a Transport Package. Enter appropriate Transport Package and hit Save button.
•You will receive a confirmation message that the Transaction Code was saved. Run the TCode to test it.

Thanks to contributor
http://saphron.wordpress.com/category/personnel-development/

No comments:

Post a Comment