SAP: ABAP: Subroutine does not exist – bug
Scenario: you’re editing your code and when you try to double click on a previously defined subroutine you get a popup stating that it doesn’t exist. You check and confirm that the subroutine is included, the report compiles and runs properly.
Resolution: to fix the problem do the following steps:
- Click Utilities
- Click Update Navigation Index
The report will be regenerated and your problem should be solved.
Adobe Flex: smooth out the images – scaleContent
When you’re dealing with a situation that requires the use of the following image settings:
width="100%"
height="100%"
scaleContent="true"
maintainAspectRatio="true"
You can find your self in a situation where the loaded content will result in a pixelated bitmap. Simply add a complete event handler to your image component and update the contents of the event in the following way:
var lv_btmp:Bitmap = ((event.target as Image).content as Bitmap);
if ( lv_btmp != null )
lv_btmp.smoothing = true;
this will smooth out the image that you have loaded.
SAP: the basics of smart forms
TR: SMARTFORMS – sap form builder – create and edit a smart form object
TR: SE63 – translate objects – can be used to translate smart form data to a different language
SAP: transport SO10 text data
To transport text data follow these steps:
- Execute program RSTXTRAN
- Provide Text key and language
- Select desired text elements
- Click continue button [green checkbox]
- Click “Trsfr texts to corr.” button
- Create a new transport object and continue
ABAP: link company code and controlling area
Quick way to find a controlling area derived from the company code is to use the following BAPI_CONTROLLINGAREA_FIND. Examining further you will see that there is a reference to table TKA02 with parameters of company code and business area.
ABAP: how to switch to a classic screen painter [4.6C]
Simple: select Utilities and navigate to the Screen Painter tab. There you will see a check box corresponding to the desired action.
FLEX: BlackBerry SDK basic compilation error [locale]
When I tried creating a new project with the BlackBerry sdk I ran in to the following error:
Description Resource Path Type LocationUnable to resolve resource bundle "collections" for locale "en_US".Flex Problem Unknown
Although annoying I quickly found a solution:
- Go to the Project Properties
- Navigate to Flex Compiler
- And type in the following line
-library-path+="C:\Program Files\Adobe\Adobe Flash Builder 4\sdks\
blackberry-tablet-sdk-0.9.0\frameworks\locale\en_US"
FLEX: convert HTML format to RichText
If you are working with rich text editors you will run in to a situation where you have to format an HTML string to RichText value.
Following code can accomplish this:
gc_ta_bio.textFlow =
TextConverter.importToFlow( "<h1>Your String</h1>,
TextConverter.TEXT_FIELD_HTML_FORMAT )
Where the MXML control will look something like this:
<s:RichEditableText id="gc_ta_bio" />
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.
SAP: re-generate OBBH substitution rules
Sometimes its worth regenerating your substitution rules – to do this execute program RGUGBR00.
