Thursday, January 03, 2013

I wish I knew these before.... but its NEVER too late!

This is going to be an ever expanding post. I come across a lot of technical tips to do something more efficiently , compared to what I was doing before to achieve the same results. This post is a documentation of these technical tid bits, primarily for my own documentation & reference.

Reference Websites

http://divulgesap.com


SAP ABAP Programming Language

Deleting Leading 0s from a variable

While SAP stores data in transparent tables with leading 0s (eg: Purchase Order is 10 chars long, but most customers use a number range which puts the PO in 7-8 char length), when it comes to presentation, esp in HTML 5 web applications, these leading 0s become a sore spot. 

Before:
Using function module : CONVERSION_EXIT_ALPHA_OUTPUT

After:
 SHIFT LEFT DELETING LEADING '0'.