Objects Tagged "abap"

SAP: How to Find User Exits for Transactions

Feb 16, 2017

As ABAP developers, we work with user exits a lot. Their big advantage is the possibility to modify the behavior of standard SAP ERP programs without actually doing a modification. Consequently, it is very important to know which user exits are available for certain transactions. In this posting, I’ll show you a few ways to find user exits for transactions in SAP ERP.

Continue reading

How to Get a Free SAP Demo System

Feb 14, 2017

When trying to learn SAP and ABAP, having access to an actual SAP system to practice in is crucial. Unfortunately, this is quite hard to do. In this post, I’ll point you towards a few ways to acquire a free SAP demo system with the Netweaver stack.

Continue reading

Find the Transport Request for an Object in SAP

Feb 4, 2017

We often need to find a specific programming object in an SAP transport request. This could be a program, an authorization object or a database table, or whatever else you can create in the ABAP developer workbench. This article will show you how to find objects in transport requests in SAP ERP. There are several ways to accomplish this task, I will show you all of them so you can

Continue reading

SAP: Execute Transactions Without Authorization

Jan 22, 2017

Whenever we encounter that pesky “You are not authorized to use transaction XYZ” in an SAP system, it usually blocks or workflow. Quite often we are developers in need of some tool that the SAP Basis admin has unknowingly blocked for us. However, there are ways around the SAP authorization system, and I will show you some of them in this blog post.

Continue reading

SAP: Difference Between Customer Exit and User Exit

Oct 30, 2016

A question that is asked very often by beginners in the SAP ERP world, the SAP difference between customer exit and user exit is not immediately clear, especially since the terms are very often being used interchangeably. This article shines some light on the difference between the two.

Continue reading

Change the SAP Sender Email Address in ERP

Apr 24, 2015

We sometimes want to control which email address is displayed when we send an email from SAP. Unfortunately, the function module SO_NEW_DOCUMENT_SEND_API1 uses the current user’s email address by default. Here’s a way to change this behaviour and set the SAP sender email address manually.

Continue reading

Create and Download a File from ABAP

Aug 24, 2014

After yesterday’s post about uploading files into ABAP variables, let’s look at things the other way round – how to provide data for download by your users.

Continue reading

How to Define View Clusters for Data Maintenance

Aug 21, 2014

During the last few days, I discussed several features of maintenance dialogs and extended table maintenance. The extended maintenance functionality, however, has its limits at the point where multiple, hierarchical tables come into play. This is where we can use view clusters to build a clean and usable maintenance interface. Find out how in today’s post.

Continue reading

Build Custom Selection Screens for Extended Table Maintenance

Aug 19, 2014

In another post on the extended table maintenance feature of SAP ERP, I’ll explain today how to use the event AA to build a custom selection screen for extended table maintenance.

Continue reading

Implementing Additional Checks in Table Maintenance Dialogs

Aug 18, 2014

In yesterday’s post about table maintenance dialogs, I discussed how to create a simple table maintenance dialog in SAP ERP. Today, I will explain how this dialog can be enhanced with additional logic, for example to implement custom checks on data entered.

Continue reading

How to Manage Table Maintenance Dialogs in SAP ERP

Aug 17, 2014

I want to write about table maintenance dialogs in SAP ERP a bit – partly because they’re one of the most-used features of SAP development, and partly because some of their better functionality is hidden quite well. Today, I’ll discuss the basics.

Continue reading

Execute ABAP Programs Automatically After Transport Import

Aug 16, 2014

Did you know that it is possible to automatically execute an ABAP program after the import of a transport request into a target system? In this article, I’ll discuss how to do that.

Continue reading

Reset ALV Display Buffers in SAP ERP

Aug 14, 2014

Have you ever worked on an ALV list report and wondered why, after you’ve repeatedly tested and modified your program, the ALV field catalog doesn’t seem to influence the actual table anymore? Read on to find out how to fix this.

Continue reading

Optimize ALV Column Widths Easily

Aug 13, 2014

After the long posts of the last few days, today is quick tip day. Read on to find out how to easily have the SAP system optimize the column width in fields of table controls.

Continue reading

How to Attach Executable SAP Transaction Links to E-Mails

Aug 12, 2014

Today, I’ll be looking at e-mail sending features in SAP ERP for the last time and demonstrate how you can attach executable transaction links to e-mails sent from SAP. This is a very useful feature that is often used in a business workflow environment.

Continue reading

How to Create a PDF from a Report in ABAP

Aug 11, 2014

So, you know how to send e-mails, even with attachments. But how do you send out nice PDFs instead of ugly text files? In this post, I’ll explain how to programmatically convert the output of a report to PDF so that it’s available for download or to send as an e-mail attachment.

Continue reading

Sending E-Mails with Attachments from SAP ERP

Aug 10, 2014

After discussing how to send e-mails from SAP in yesterday’s post, today I want to take it a bit further and explain how to add attachments or even executable SAP transactions to these mails.

Continue reading

How to Send E-Mails from SAP ERP

Aug 9, 2014

Sending e-mails from SAP ERP is probably the most common development task (or maybe the second common, after building an ALV report). Because of that, let me show you how to do it – I would’ve appreciated it as an ABAP beginner.

Continue reading

ABAP Workbench Tricks #4: Find Out Internal Names of SAP Class Objects

Aug 8, 2014

How often have you looked at your screen and thought “darn, if only I knew which class method this error comes from”? The hidden internal naming of class objects like methods is sometimes a problem. Read in this post how you can find out the internal names of ABAP class methods.

Continue reading

ABAP Workbench Tricks #3: 10 Hidden Features for ABAP Development

Aug 7, 2014

So you’ve left behind your rookie days as an ABAP developer, and you think you know it all? Well, think again. In part 3 of this series, I’m going to show you a few well-hidden settings and features in the ABAP Development Workbench that might surprise you.

Continue reading

ABAP Workbench Tricks #2: Dynamic Patterns

Aug 6, 2014

In yesterday’s post about patterns, I discussed the basic usage of the pattern feature and showed you how to create your own patterns. Today, I’ll take it further and demonstrate how you can add dynamic elements to your patterns, making your development process even more streamlined.

Continue reading

ABAP Workbench Tricks #1: Using Patterns to Speed Up Your Coding

Aug 5, 2014

Hi folks! Today marks the start of a new series, called ABAP Workbench Tricks, which is quite close to my original idea for this entire blog. As a first post, I’ll discuss the use of patterns to significantly speed up and simplify your development process.

Continue reading

How to Change the User Status Profile of an Object

May 14, 2014

In this little article, I explain how it is possible to change the user status profile of an existing business object in SAP ERP. This is not possible normally if the object already has a user status profile assigned to it, however there is a simple way to do this.

Continue reading

Using the Extended Clipboard in Transaction SE80

Jun 24, 2013

If you want to copy multiple lines of code from once place to another, the ABAP Editor offers you a highly convenient way to do so – via the extended clipboard.

Continue reading

Editing SAP Tables with SE16 and SE16N

Apr 17, 2013

When working as developers with SAP ERP®, we sometimes need to change a value in a table – maybe just for testing purposes, maybe permanently. But in most cases, it’s not possible or not worth the effort to create a maintenance dialog or write a small program that does the job. But it is possible to do it with built-in tools such as SE16 and SE16N.

Continue reading

Getting Access to Out-of-Scope Variables with Field Symbols in ABAP

Mar 4, 2013

Recently, I came across a situation which required me to modify an internal table which was not in the scope of my program. My client wanted to take over the “System Condition” indicator from a maintenance task list into the maintenance item. A task list can be referenced in each item of a maintenance plan, but the System Condition field is not carried over automatically.

Continue reading

SAP Classification Explained Part 2: Classification Tables

Feb 12, 2013

After I introduced you to the classification system in SAP ERP® in the first part of this series, I’d like to go into more technical detail and explain the data model that is behind the classification. Why is this relevant? While it’s true that there are function modules to read and write classification data, sometimes (and by sometimes, I mean most of the times) it’s faster to re

Continue reading

Modifying a Released SAP Transport Request

Feb 6, 2013

We’ve all been in this situation: we’ve released a task or transport request, only to notice seconds later that there was still an object missing in it. In the standard SAP ERP® transport system, we’d be out of luck: once released, transport requests or tasks can’t be set to modifiable again.

Continue reading

SAP Classification Explained Part 1: Classification Basics and Transactions

Feb 5, 2013

This is the start of a several-part series in which I want to give an in-depth explanation of the classification functionality in SAP ERP®. Starting with this post, where I give an overview of the topic and mention important terms, I will go through the data model and demonstrate how to read data from classification and how to set up authorization.

Continue reading

How To Save Screenshots in SAP ABAP

Oct 19, 2020

This short blog post contains an ABAP snippet that allows saving a screenshot to the SAP ERP user's hard drive, using the well-known class CL_GUI_FRONTEND_SERVICES.

Continue reading