SAP: Workflow Diagnostic Tool
You can test your workflow task by executing transaction SWUD
SAP: Send an Email with executable SAP command
If you want to send an email with an attachment that can link you directly to an SAP transaction here’s how you do it:
- Create an attachment.sap file in your ABAP application
- Populate the file with the following information
[System]Name=<sysid>Description=Short DescriptionClient=<clientid>[User]Name=<userid>Language=EN[Function]Title=Display PO informationCommand=ME23 RM06E-BSTNR = <PO Number>; BDC_OKCODE=/00
When you double click on the file you’ll be redirected to the ME23 screen.
SAP: FM READ_TEXT – where to look
Reading text string can be tricky to debugg but a good start is to look at tables STXH & STXL.
SAP: ABAP: ALV grid color scheme
Here’s a list of colors that you can use to color your ALV grid.
To actually use create a field of 4 characters and use ‘CX00′ where X is the number specified above.
SAP: transport classes
If you know how to transport copies of objects then you are half way there. So a quick and easy way to figure out what to put in to your transport [Change Object List] perform the following steps:
- go to SE24
- type in your class name
- click Goto – Object Directory Entry
At this point you should see your object definition entries: R3TR – CLAS – <CLASS NAME>. Grab that and move your transport.
SAP: Generating a Class Actor – CREATE_PERSISTENT
Been playing with the persistent objects and finally figured a part that involves generating a CREATE_PERSISTENT method in the Base agent class.
To do this
- Go to Persistence Representation

- Select Utilities – Generate – Class Agent – Class
- Click the Yes button
That’s all.
SAP: BeX Exception Broadcasting
Interesting article summarizing the process of sending out email messages based on exception filters in a query.
SAP: logging table changes
When a table is configured there is an option to log the changes that are done to the information.
You can then check who mad the changes and when the change took place by running report RSVTPROT.
SAP Portal [object is currently locked by user]
If you are working with an SAP portal and get to a point that you are unable to edit an object because it is locked by a user [most likely your own user] you have the option to release the lock by performing the following action:
- Select System Administration
- Select Monitoring
- Expand Portal menu on the left hand side
- Select Object Locking
- Select the locked object and click the Unlock button
ABAP Runtime Analysis – variant setup
Runtime analysis can be used to quickly get to the bottom of which tables are referenced during a transaction/program/function-module call.
I like running SM30 over ST22 because you get a nicer presentation of what tables were hit. ST22 tends to bee too detailed in majority of my scenarios.
By default the report is initialized with the DEFAULT variant. This is limiting and will not give you as much information as you might want. Typically on a new system I set up my own variant that allows me to access more information.
Steps to set up your own variant:
Select the drop down option in the Variant selector panel- Click the green check-box on the next screen without changing the parameters of the Selection Criteria for Variants pop-up
- You will be presented with two default Variants – DEFAULT and TMP; ignore those and click on the Create button
- Type in the name and continue
Here’s the most important part of this trick. When you get to the main configuration page of the variant go to the third tab [Duratn/type] and in the Aggregation pick the None option.- Once done click Save as… button and you are ready to run your Analysis.

