Archive for the ‘Everyday stuff’ Category
You are currently browsing the archives for the Everyday stuff category.
You are currently browsing the archives for the Everyday stuff category.
For each step that takes place within the tp command there could be 8 different possible return codes [0, 4, 6, 8, 12, 13, 14, 16]. The meaning for each of those codes is as follows:
Transport imported successfully:
0: Transport successful
4: Warning occurred
Transport did not import successfully:
6: Post-processing is required
8: Transport carried out with an error [individual object could not be transported successfully]
ex: objects could not be overwritten
Transport termination:
12 and greater: transport was terminated
I ran in to a problem with my Microsoft Outlook application. Suddenly some [not all] embeded [not attachments] images in my inbound emails would not display.
I know the data was there for I could see the red box [representing an un-loaded image] and I could copy and paste the actual data in to a separate application like Microsoft Word [copying the image allowed me to see the whole file].
So as always I did some digging online and found a solution:
1. Locate the Outlook Temporary Items folder by opening the Registry and finding HKEY_CURRENT_USER\Software\Microsoft\Office\11.0\Outlook\Security. Double click on the OutlookSecureTempFolder key.
2. Right click the Value Data field and select Copy. It should be in the form of %USERPROFILE%\Local Settings\Temporary Internet Files\OLK6 where OLK6 is some randomly generated string that always starts with OLK.
3. Open Windows Explorer, paste in the Address field and press Enter (or select GO). You will be navigated to this folder.
4. Select All the files in this folder and Delete.
5. Launch Outlook. The images should now appear in the Email.
That fixed my problem.
By default SAP printers are set up to print pages based on printer’s default settings. To change that behaviour and control how the data is printed you can do the following:
For more information on the matter for SAP version 7.0 you can have a look at this document.
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
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.
Just got a phone call from a Police Association asking for a donation. Obviously the first thought that crossed my mind is ‘another scam’. But I did some checking and it looks like these guys are legid – though it seems that only a small percentage of the funds goes to the actual charity.
To check if you got a scam phone check with Phonebusters [applies to Canada only].
I love workign with UltraEdit though there is one thing that always annoys me. Every time I update the contents of a file the program creates a backup file in the same directory. Well for those of you who run in to the same problem here’s how you go about fixing this issue:
Go to:
Advanced -> Configuration ->File Handling -> Backup

By default the configurations are set up to create a .BAK file in the same directory. Although the functionality is annoying I still think it’s quite useful. So the best thign to do [in my oppinion] is to populate the default directory field with the a directory somewhere on your local computer.
A usefull little function that will allow you to display a status update on the bottom left corner of the screen when running your reports.
call function 'SAPGUI_PROGRESS_INDICATOR'
EXPORTING
percentage = 0
text = STATUS_TEXT.
Note: anything lower then 0 will be rounded up to 0 and anything greater then 100 will be rounded down to 100.
To quickly check when your DEV/QA system was refreshed from a production box perform the following steps:
You should see a screen with a list of dates of when the system was last refreshed.
Other useful transactions:
SCC9: client copy – copy a client
SCC8: client export
SCC7: client import
SCC1: copy as per transport request
I want to set up a more secure process than a current ActionScript POST/GET service querying. To do that I started looking at AMF.
Action Message Format(AMF) is a binary file format representing a serialized ActionScript object. The AMF file type is used throughout the Flash Player for data storage and data exchange. For example in the Flash Player AMF is used in SharedObjects, RemoteObjects, LocalConnection, ByteArray, RTMP, and all RPC operations. Some of the benefits of AMF include:
AMF existed in ActionScript 2 and was just called AMF as of ActionScript 3 the AMF protocol has been updated and is referred to as AMF3. For historical reasons the original AMF format is now referred to as AMF0. One of the main upgrades to AMF3 is that the object is now zlib compressed for faster transfer do to the smaller file size and the additional of data types that were released with ActionScript 3.
The two alternative frameworks that I am looking at are AMFPHP and Zend_AMF.