SAP: Enable substitution rule changes

If your substitute changes are not taking effect make sure that you have an entry in the GB01 table.  Once you mark down the column you want to change be sure to re-generate the programs. Here’s how you can do that.
Continue Reading →

SAP: re-generate OBBH substitution rules

Sometimes its worth regenerating your substitution rules – to do this execute program RGUGBR00.  
Continue Reading →

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 Descriptio
Continue Reading →

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.
Continue Reading →

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.
Continue Reading →

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 po
Continue Reading →

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
Continue Reading →

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.
Continue Reading →

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 sce
Continue Reading →

SAP: WE20 partner set up “Please enter a permitted partner number”

A new inbound IDOC failed to process with a “EDI: Partner profile not available” error. I’ve attempted to set up a new partner but failed to do so due to the “Please enter a permitted partner number” error when using WE20 transaction and setting up a new
Continue Reading →