Tips and Tricks

Loop...Where & Loop...Check in ABAP/4

Loop...Where


LOOP AT itab where key = pa1.
...
...
...
ENDLOOP.

Loop...Check

LOOP AT itab.
CHECK itab-key = pa1.
...
...
...
ENDLOOP.
In above logic, Loop...Where is better than Loop...Check because Loop...Where verifys the specified condition internally.

Port Forwarding for Micronet Router

Micronet router, broadband router or ADSL router, supports customizable port forwarding through web-based administration interface. The default IP of Micronet router is 10.0.0.2. You should see a user/password dialog. If it is your first time, the username is admin and the password is epicrouter by default.

The port forwarding configuration is in Configuration / Virtual Server on the left menu. So you have to fill 5 textboxes and choose a radiobutton as follows.

  1. ID
  2. Public Port - Start

How to remove Win32:Trojan-gen detected by Avast

According to my previous experience of W32:Trojan-gen, many people seem to encounter this problem so far. If you don"t want to switch antivirus software to NOD32 like I recommended and you really love Avast, a free antivirus software, you might want to remove it from the warning list. By the way, it is not as simple as you thought. Avast may not remove it (just warn) or removed it but actually didn"t. Don"t worry too much. It is actually just a false alarm. You cannot remove it permanently because most of this false alarm appear with System Restore"s files of Win XP. That is the problem. The Win XP will try to recover the files to last known state everytime you reboot. If you really want to remove this alarm, simply turn off System Restore in System Properties. After cleaned and rebooted the machine, you can turn it on again.

Choosing a Blog Engine (Part 1)

Once you are looking for a blog engine for your site, what is the criteria to choose the right one. I did so long research before made a decision. Let me start from the beginning.

The first question in my mind is what I want to do with new blog. It"s very interesting. What I want to do is not just blog engine. It would be able to let me management contents and change layout efficiently. Actually, I am still a big fan of Google"s product so I started my first blog at Blogger.com. If you are not familiar to blog engine, web-hosting, and any adminitrating related topic, you could use this free service. Anyway, the most disadvantage of Blogger.com is that all contents are generated and published to anywhere you please. It works just fine for blog with small posts or you will never change layout anymore. If you are examining layout and oftenly change it over time, don"t use Blogger.com. The right blog engine for you must on-line generate pages at runtime so you don"t need to regenerate all pages after changing a few bytes in layout template.

Web users judge sites in the blink of an eye

After reading below article, I decided to make some change to my website.

We all know that first impressions count, but this study shows that the brain can make flash judgements almost as fast as the eye can take in the information. The discovery came as a surprise to some experts. "My colleagues believed it would be impossible to really see anything in less than 500 milliseconds," says Gitte Lindgaard of Carleton University in Ottawa, who has published the research in the journal Behaviour and Information Technology. Instead they found that impressions were made in the first 50 milliseconds of viewing.
news @ nature.com - Web users judge sites in the blink of an eye - Potential readers can make snap decisions in just 50 milliseconds.

CSS for Bar Graphs

Apples To Oranges published a blog according to using CSS for bar graphs. Below is just a simple example.

graph1