Resumable exceptions
Resume code execution after an exception has been thrown can be very useful in several different scenarios (i.e. processing multiple materials and you want to process all but skip only those where...
View ArticleFirst blog post
This is my first blog post in ABAP Development! I've been developing in SAP for over 4 years now. I have published one small how to document for Web dynpro which has been viewed thousands of times......
View ArticleHave fun with system log - your debugging activity is being recorded by System
Hi developers, I guess most of you have ever changed the variable content in the debugger every day, right?Suppose you are doing some evil thing ( for example, bypass the authorization check via...
View ArticleHow to Protect Your ABAP Code Against SQL Injection Attacks
SQL injection is one of the most common code injection attack methods, in which malicious SQL statements are inserted to execute unauthorized SQL statements in the database, e.g. read data or modify...
View ArticleFour different TEST ISOLATION techniques to build your ABAP unit test
Hi friends, As far as I know test isolation is widely used in SAP internal to build unit test code, at least in my team. Test isolation in unit test means that in your production code you make use of...
View ArticleA compare tool: Download and analyze the runtime performance result from SAT
I once participated one project which needs to do benchmarking about how much performance gain we can benefit after we move the whole CRM system on top of HANA.we plan to do it via steps below: 1. Run...
View ArticleWORK AROUND: NOT AUTHORIZED TO A TRANSACTION
Many abap developers may not have authorization to use many of the transactions. E.g. There is a way to use any transaction even though you don't have access. The Function module C14Z_TRANSACTION_CALL...
View ArticleA Generic way to find the place to store SAP GUI settings in your OS Registry
Hi Friends, Rahul Mahajan has written a great document to demonstrate where does the tcode lists in your SAP gui get stored. You may wonder how does he found that place.I will show you a generic way on...
View ArticleMIGRATE USR03 TABLE
Replace use of USR03 table SELECT * FROM usr03. CLEAR w_usr03. MOVE-CORRESPONDING usr03 TO w_usr03. I start with that, and then I have the this requirement "Due usr03 table is considered...
View ArticleAntifragile software
Anti-fragile Software Before proceeding further, I have a confession to make - it has mostly nothing to do with ABAP development and it...
View ArticleWhere to find if LSMW recording exists for a Tcode
On my quest to find if any LSMW recording exits for Chart of accounts. Researching the Internet I came across two tables. /sapdmc/lsgbdca : This table stores the project,recording code and Recording:...
View Articlehow do you usually upload picture in SCN? A workaround for current SCN upload...
Hello friends,recently there is a known issue in SCN that you cannot upload pictures in your local laptops when you write blogs.( The insert image button is disabled ) Currently the SCN guys are...
View ArticleProgress Bar - avoid timeout dump
A progress bar is used to display the progress of a process. Sometimes a program can take long to execute and can result in a timeout dump. A progress bar can be used to prevent a timeout dump. Use...
View ArticlePerformance Tuning in BI Routines - ABAP Programming
This blog gives you a detailed description of Performance tuning needed in ABAP routines (transformation) and hints to write the optimized code. ABAP Routines – Deployment in Transformation...
View ArticleHow to solve the problem of different length for the same field
Scenario In table LFBK, the field BANKN is of length 18. In table TIBAN, the field BANKN is of length 35. The problem arises when we have a For All Entries like below: SELECT *FROM tibanINTO TABLE...
View ArticleTheory about online language switching (without log off/log on)
Hello,here I want to share some knowledge/hints how an online language switch can be implemented.SET LOCALE LANGUAGE <SPRAS> changes the current language of the current internal session. see...
View ArticleTroubleshooting a Trfc production issue
It's been a long time since I have written a blog. Through this blog I am going to share my understanding of Trfc's gained while handling a production issue.Last week a strange ticket came with so many...
View ArticleNew ABAP feature in 740: LET expression
A LET expression defines variables var1, var2, ... or field symbols <fs1>, <fs2>, ... as local auxiliary fields in an expression and assigned values to them. When declared, the auxiliary...
View ArticleFSCM - Adding Custom Fields to Formula Editor
This blog explains how to add the custom attributes/fields to Formula Editor from the additional custom tabs of BP General Data and BP Credit Segment Data created through Business Data Toolset (BDT)...
View ArticleABAP Mesh in 740: Connect your internal table as BO node association
ABAP Mesh is also a new feature in 740. Let's use an example to demonstrate how it works: I have defined two types for developers and managers. developer type has a field manager which points to his...
View Article