Copy Standard Report 

Steve wants some modifications to a standard SAP report but he is not the only person who uses it. The same report is used and enhanced by numerous stakeholders and they don’t want to change it. Bill, the developer, advises... Continue Reading →

For All Entries

ABAPers love ‘FOR ALL ENTRIES’ because it is an easy frill-free way to fetch records from one table based on data in another but surprisingly lots of them use the keyword without enough caution. Sometimes it works because driver internal table... Continue Reading →

SAP On A Date

In custom developments, occasionally, requirement demands calculation or identification of dates like – 90 days before the current date, first date of the month, months between dates etc. SAP, fortunately, provides many function modules to facilitate such calculations which at... Continue Reading →

Dial X For Dump

In a previous post we talked about putting an infinite loop in code to debug programs running in background. However, sometimes it is a little cumbersome to go into debugging mode. An alternative to see if a code is working... Continue Reading →

How To Scan ABAP

Picture this. In about 30,000 programs in system, checking on wherever word ‘Kennedy’ is hardcoded and if so, it had to be replaced with ‘Johnson’. It was done for 5 programs and nobody remembers them. To scan string (even regular... Continue Reading →

Table Without (Maintenance) View

Consider this situation - there is a custom table that is not expected to be maintained by user; only by program and in course of testing, you realize that you have used all available test data and means to create... Continue Reading →

Using Infinite Loop For Testing

Scenario – A program has to be run in background or a routine is called when an inbound idoc is getting processed through proxy. A normal debugger doesn’t work in such scenarios. An easy solution to directly hit the code... Continue Reading →

Quick Code To Send Email – Using Function Module

The best way to send email in SAP is using CL_BCS but it’s a little cumbersome code and unless an attachment – any file or XL – is required, using a function module SO_NEW_DOCUMENT_SEND_API1 is a quick smart way to... Continue Reading →

Powered by

Up ↑