SAP ABAP /h Debugging Trick

I learned this ABAP debugging trick to add, edit, delete or update a table record during my stay in my previous company. This trick will work as long as you have the authorization to force value into variables during debugging, which, usually an ABAPer will have in Development or QAS server.

Let’s go into SE16. Take Sales Order table VBAK for example.

vbak

Double click any line and goes into the details single record view, type /h and hit enter twice.

vbak2

The variable CODE was originally having a value of ‘SHOW’. You can edit the value of the variable to ‘EDIT’, ‘INSR’, ‘DELE’ and ‘ANVO’. The name of the value is quite self explanatory, ANVO is for editing the record including the keys ( which I’ve never used ).

debug

Hit F8 and there, you’re in the EDIT mode. Remember to hit the Save button when you’re done thou.

It’s useful to use this trick when you’re trying to maintain a table when you can’t use SM30 to do it. This is one of my favourite ABAP trick ;)

Posted in ABAP, Tech | Tagged , , , | 1 Comment

How to search Google’s images with color

Here’s some interesting stuff I’ve come across these few days! The Poignant Guide to Ruby is highly recommended. P/S: Ruby is a programming language.

Oh, today I just discovered that Google allows color search.
For example, you search for Fire. Your query looks like this
http://images.google.com.sg/images?q=fire

but but..I want much hotter fire I said, I want blue fire!
So you add a imgcolor=blue to the query.
http://images.google.com.sg/images?q=fire&imgcolor=blue

And there you got your blue fire.
You could also combine colors search with comma.
http://images.google.com.sg/images?q=fire&imgcolor=blue,pink

Alternatively, you can just query for blue fire :P
Anyway, my point is I discovered Google could do that today!

Ok, I find the fire option a bit lame. Let’s have another more pratical example. Say I wanted to search for a laptop with erm..pink color, rather than browsing through a whole 10 pages of search results, I specify pink color and I get what I want, I’m happy, Google is happy.

P/S: If you’re curious and interested in how Google’s image color recolonization algorithm work, visit this paper(pdf) published by Google engineers Henry Rowley, Shumeet Baluja, and Dr. Yushi Jing.

I Read, yada yada

Poignant Guide to Ruby – The most interesting programming book I’ve read
Dell’s iPhone Killer rejected by carriers as too dull – poor Dell…lol

“Visual Design Lead” leaves Google – There goes another talented people from Google
Facebook bug reveals private photos – Think twice for your putting everything online

Posted in Tech | Tagged , , , , | 4 Comments

Everyone is talking about browsers..

A lof of people have been writting review for IE8, they installed it, surf the net, and claimed “holy mad cow, it’s faster than Firefox, it renders things faster! It’s more secure!”.

Doing a few search on Google reveals a lot of things that prove IE8 still has a long way to go. But anyhow, applauds to the team IE8 in Microsoft for heating things up in the browser war :)

IE8 passes the Acid2 test, which renders CSS2.1 correctly now! Lesser head ace for web developer yes!
acid2 test

IE8 failed the Acid3 test, which focus on the ECMAScript ( Javascript is a variation of ECMAscript) and DOM level 2.
ie8 acid3 test

Microsoft is making much of its security enhancements, which Ms Barzdukas said makes IE 8 “hands down the most secure browser on the market.”

In the recent annual Pwn2Own contest, all 3 major browsers have been exploited. Safari on MAC is one of the fastest to exploit, followed by IE8 and Firefox.

Miller also added that Firefox on Windows is easily the hardest of the three browsers to crack, despite Microsoft’s claims that IE8 is “hands down the most secure browser on the market.” – Infoworld.com

I was surprised. For IE 8, I’d give him a 9 out of 10. For Safari, maybe a 2. It’s just too easy to pop Safari. For Firefox on Windows, I give him a 10. That was the most impressive of the three. It’s really hard to exploit Firefox on Windows. – blog.zdnet.com

Anyway, click on the links above to read more in details.

I am really surprise that Google Chrome was the one target left standing. Way da go Google. :)

Firefox is famous of the massive list of extensions available, and for now I can’t live without them, and moreover I’ve had really bad experience styling webpages with CSS in IE…I have had nightmares, waking up during midnight dreaming about a misaligned navigation bar in IE6. One day(years later)…who knows, IE will dominate in the browser war again. :)

Posted in Tech | Leave a comment

Online file storage

Recently, I received an email notifying me that Yahoo! Briefcase is shutting down.

Yahoo! Briefcase

If my memory serves me right, the last time I uploaded a file to Yahoo! Briefcase was like 3 years ago. Naturally, I login and browse through the files I’ve in the briefcase. I have my college diploma major project, some HTML/php pages and some image files there, quite interesting that you look back at the work you have done 3 years back, I still remembered vividly how I struggled through endless nights to deliver a VB program for my diploma’s major project. Okie, enough of traveling back to memory lane…

Anyway, Yahoo! back then offered 30MB of storage, I am kinda curious on how online storage has evolved and did some searching.

Skydrive by Microsoft – 25GB storage. One major turn down is that you can’t upload folders. Ah, one more turn down for me, in Firefox, you don’t have the ‘drag and drop’ to upload feature.

In Firefox or Chrome, you get this.
Skydrive by FF

Where else for IE.
Skydrive in IE

No, I wouldn’t browse 10 times for 10 files I want to upload and I wouldn’t switch to IE for this purpose as well. So Skydrive is not for me, but anyhow you could just zip it and upload.

I found this Firefox extension – Gspace, quite suitable for me as most of the time I’ll have my gmail opened, it utilizes your Gmail storage and upload files there. When you open up Gspace, it appears as a tab inside your Firefox, it looks much like a FTP client.

GSpace
Basically you just drag and drop, and it will appear in your Gmail inbox.

There’s load more of storage online services. There’s rumors saying that Google online storage GDrive will be launched within this year, by then it will be judgement day for all the other online storage services.

For now, let’s stick to what we have offered. Click here to see a detailed comparison chart by LifeHacker.com.  Alternately…let’s just load all the files into your 2GB pen drive  and attach it to your keychain ;)

Posted in Tech | Tagged | 1 Comment