Max Titov IV @ TechSplice

The most beautiful music of all is the music of what happens.
  • Home
  • About

Archive for the ‘Everyday stuff’ Category

You are currently browsing the archives for the Everyday stuff category.

7 Apr 2010

SAP tp: return codes

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

7 April, 2010 at 22:09 by Max

Tags: abap, code, return, sap, transports
Posted in Everyday stuff | No Comments »

28 Jan 2010

Microsoft Outlook Problem [inserted images are not displaying]

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.

28 January, 2010 at 9:27 by Max

Tags: bugs, microsoft, problems, solution
Posted in Everyday stuff | No Comments »

12 Nov 2009

SAP: set a printer to print on a Single Side

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:

  1. Execute transaction: SPAD
  2. Select your output device and enter the configuration screen
  3. On a 4.6C version you can go to the Output attributes tab and look at the “Output attributes for list drivers and Smart Forms” section
  4. Examine the drop down for the Print mode
  5. Typically by default you will see DEFAULT as the setting that is displayed, simply change the value to S SIMPLEX to allow the data to be prined on a Single Side

For more information on the matter for SAP version 7.0 you can have a look at this document.

12 November, 2009 at 9:00 by Max

Tags: configuration, printer, printing, sap, setup
Posted in Everyday stuff | No Comments »

29 Jun 2009

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

29 June, 2009 at 9:04 by Max

Tags: configuration, sap, tables
Posted in Everyday stuff | No Comments »

6 May 2009

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.

6 May, 2009 at 12:17 by Max

Tags: database, random, select, sql
Posted in Everyday stuff | No Comments »

23 Apr 2009

A scam or not a scam [phone tracking]

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].

23 April, 2009 at 8:45 by Max

Tags: call scam, phone
Posted in Everyday stuff | No Comments »

19 Mar 2009

UltraEdit Backup Files

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

UltraEdit Backup configuration

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.

19 March, 2009 at 9:20 by Max

Tags: configuration, development, setup, tool, troubleshooting, ultraedit
Posted in Everyday stuff | 1 Comment »

17 Mar 2009

SAPGUI_PROGRESS_INDICATOR

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.

17 March, 2009 at 9:36 by Max

Tags: code, sap, SAP/ABAP
Posted in Everyday stuff | No Comments »

13 Mar 2009

When was the last System Refresh done in an SAP system?

To quickly check when your DEV/QA system was refreshed from a production box perform the following steps:

  1. Execute the transaction SCCL
  2. Fill in the Source Clinet filed [ie: 001]
  3. Select <Goto> <Log display> from the main menu

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

13 March, 2009 at 9:34 by Max

Tags: client, configuration, copy, sap, system, transaction
Posted in Everyday stuff | 3 Comments »

12 Mar 2009

Workingn with AMF

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:

  • File Size – AMF objects are very small and are compressed using zlib.
  • Fast Serialization/ Deserialization – AMF is transformed using native C code in the Flash Player making it very fast. The AMF format was designed to serialize and deserialize quickly under low memory and slower CPU conditions making it perfect for the web. AMF data is parsed directly into objects, meaning there is no lag for interpretation or parsing of AMF making the creation of objects complete in a single pass.
  • Native Types and Custom classes supported – You can serialize any object in Flash Player with the only exception being a displayObject.you can also map serialized objects back to custom class instanced provided the custom class is in the Flash Player when the AMF object is deserialized.

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.

12 March, 2009 at 7:21 by Max

Tags: actionscript, amf, definition, development, flash, Flex, php, research, setup
Posted in Everyday stuff | No Comments »

« Older Entries
  • Subscribe using FeedBurner
  • Cloud

    abap adobe animation basic beautiful builder camera code configuration contribution design development digital engineering fix flash Flex friends function images interesting lesson new paypal Photography php problem problems program programmer review sap SAP/ABAP sdk setup soap software solution story system tables transaction transports user video

    WP Cumulus Flash tag cloud by Roy Tanck and Luke Morton requires Flash Player 9 or better.

  • My Links

    • Cooking
    • Gallery
    • Resume
  • Online Tools

    • Airline Ticket Search
    • Estimate Shipping Cost [from US]
    • Link your Blog
  • Software Engineering Blogs

    • Adam Goucher
    • Joel on Software
    • The Third Bit
    • Wide Awake Developers
  • Categories

    • Everyday stuff
    • Flex
    • Photography
    • SAP/ABAP
    • Short Stories
    • Software Engineering
    • Web Development
  • Gallery

    Roy Tanck's Flickr Widget requires Flash Player 9 or better.

Max Titov IV @ TechSplice is proudly powered by WordPress
Design & code by Jonk
Entries (RSS) and Comments (RSS).
Podcast Powered by podPress (v8.8)