SAP – ABAP – gui – hiding selection components
If you want to make your reports more functional you can start controling the properties of different components based on selections that are performed by the user.
For instance in this post I’ll show you a quick example of how to hide a on-screen component based on user selection.
PARAMETER: cb_a AS CHECKBOX DEFAULT 'X'
USER-COMMAND batch MODIF ID ida,
cb_bAS CHECKBOX DEFAULT 'X'
USER-COMMAND batch MODIF ID idb.
AT SELECTION-SCREEN OUTPUT.
LOOP AT SCREEN.
IF screen-group1 = 'IDA' AND cb_b NE 'X'.
screen-active = 0.
MODIFY SCREEN.
ENDIF.
IF screen-group1 = 'IDB' AND cb_a NE 'X'.
screen-active = 0.
MODIFY SCREEN.
ENDIF.
ENDLOOP.
This example will hide each of the check boxes depending on the selection of the other check-box. If both are selected then both are visible, if one is un-checked then the other is hidden.
The active attribute controls the visibility of a particular screen component. Explicitly: 0 = hidden, 1 = visible.
SAP: transporting program variants
If you have a variant that you want to transport across the system try running program ‘RSTRANSP’.
SAP: List of tables pertaining to Transport Requests
| TABNAME | Description | |
| E070 | Change & Transport System: Header of Requests/Tasks | |
| E070A | Change & Transport System: Attributes of a Request | |
| E070C | CTS: Source/Target Client of Requests/Tasks | |
| E070CREATE | Change & Transport System: Creation Date of Request | |
| E070CTV | Generated Table for View E070CTV | |
| E070DEP | Change & Transport System: Dependencies of Requests | |
| E070L | CTS: Index for Assigning Numbers to Requests/Tasks | |
| E070M | CTS: Target Package/Layer for Requests | |
| E070TC | Help Table for E070 for Client-Specific Imports | |
| E070USE | Use of Current Requests by Users | |
| E070V | Generated Table for View E070V | |
| E071 | Change & Transport System: Object Entries of Requests/Tasks | |
| E071C | Change & Transport System: Client-Specific Lock Flag | |
| E071E | Lang. Transport: Positive List for Generic Object Selection | |
| E071K | Change & Transport System: Key Entries of Requests/Tasks | |
| E071KC | Change & Transport System: Key Entries of Requests/Tasks | |
| E071KF | Change & Transport System: Nametab Info. on (CHAR)Key Fields | |
| E071KFINI | Change & Transport System: Nametab Info. on (CHAR)Key Fields | |
| E071K_30 | Change & Transport System: Key Entries of Requests/Tasks | |
| E071K_KEY | E071K Key Fields | |
| E071S | System-Specific Import Status of Objects | |
| E071V | Generated Table for View E071V | |
| E07T | Change & Transport System: Short Texts for Requests/Tasks | |
| E07T_OLD | E07T Before TRKORR Extension |
Useful transport tables [listed above].
THE NIKON LENS ALPHABET
A great post by DtownTV
D: Stands for Distance. These lenses take the distance between the subject and camera into account for metering. They have a physical aperture ring which needs to be locked.
G: These lenses have the same technology as D lenses, but they do not have an aperture ring. The G doesn’t stand for anything. It’s just a D lens without a physical aperture ring.
VR: Stands for Vibration Reduction. These lenses minimize blur caused by camera shake.
ED: Stands for Extra Low Dispersion Glass. This is the best glass Nikon makes, giving you better color, contrast, and sharpness. ED doesn’t just mean pro, though, as it’s in many Nikon lenses.
N: Stands for Nano Crystal Coat. This is a new type of lens element designed to reduce ghosting and flare, especially off really bright specular highlights. The 105 micro was the first lens to have this element.
AF-S or SWM: Stands for Auto Focus Silent Wave Motor. These lenses are quiet and fast, and the AF motors are built into these lenses.
IF: Stand for Internal Focusing. This is usually on higher-end lenses that have constant aperture (typically f/2.8) where the barrel doesn’t extend, and the front element doesn’t rotate.
Aspherical: These lenses have a certain amount of wide-angle correction built in.
DX: Stands for the DX Format. There are no FX lenses, only DX or not. If it doesn’t say DX, it’s a full frame lens. DX will work on FX camera, but only uses a portion of the sensor and makes it ~5MP.
SAP: Favorites and Links
All information about user set up – like favorites and links – are stored in system tables.
So if you want to take a look how the information is layed out just hit se16 and take a look at the following tables.
SMEN_BUFFC: stores favorites informatoin
COLUMN-UNAME will display user name
COLUMN-REPORT will display transaction code
SMEN_BUFFI: stores user associated links
COLUMN-UNAME will display user name
COLUMN-URL will display the link of the address
Upgrading your Nikon firmware
If you are a proud oowner of a Nikon camera and want to know a little more about what version of firmware is installed oon your system and ify ou need to upgrade have a look here.
Free Tickets: Henry’s Photo Show 2009
Find your free tickets for The Photographic, Video, & Digital Imaging Show right here. All you need to do is print it and show it at the entrance.
Have fun and enjoy!
Thoughtful approach to photography by Andrew Kornylak
A great article about a leap and following what you love. Andrew talks about his journey in becoming a pro photographer while working as a Software Developer.
The article talks aobut taking your time and loosing your self in the moment. I absoltuely agree with the statement “it’s not enough to just snap away wildly”; I find my self more often taking my time with the subjects that I shoot.
It’s true, it’s not what you see it’s how you see it.
SQL: SELECT random number of rows
Here’s a quick way of requesting a random number of rows from a MySQL database:
SELECT * FROM <tablename> order by rand() limit <n>;
tablename: is the name of the table you wish to access
n: is thenumber of rows you wish to return
Be careful though, don’t use this logic on a database with a large record, the performance will be unpleasant.
SAP who has access to what?
To quickly check who has access to a particular object in an SAP system try executing program RSUSR002.
I needed to find out who has access to transaction SMQ1 and managed to accomplish that by filling in the following parameters in the first screen:

RSUSR002
