Objects Tagged "abap"

SAP: So finden Sie User-Exits für Transaktionen


Als ABAP-Entwickler arbeiten wir viel mit User-Exits. Ihr großer Vorteil ist die Möglichkeit, das Verhalten von Standard-SAP-Programmen zu verändern, ohne tatsächlich eine Modifikation vorzunehmen. Folglich ist es sehr wichtig zu wissen, welche Customer Exits für bestimmte Transaktionen verfügbar sind. In diesem Beitrag werde ich Ihnen Wege zeigen, um User-Exits für Transaktionen


Kostenlosen Zugriff auf ein SAP Demo System erhalten


Wenn Sie versuchen, SAP und ABAP zu lernen, ist der Zugriff auf ein aktuelles SAP-System entscheidend. Leider ist dieser ziemlich schwer zu bekommen. In diesem Beitrag werde ich Sie auf einige Möglichkeiten hinweisen, ein kostenloses SAP Demo System mit dem Netweaver-Stack zu erhalten.


SAP-Transportauftrag zu Objekt finden


Oft müssen wir ein bestimmtes Programmierobjekt in einem SAP-Transportauftrag finden. Dabei kann es sich um ein Programm, ein Berechtigungsobjekt, eine Datenbanktabelle oder was auch immer Sie in der ABAP-Dev-Workbench anlegen können, handeln. Dieser Artikel zeigt Ihnen, wie Sie Objekte in Transportaufträgen in SAP ERP finden können.


SAP: Execute Transactions Without Authorization


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.


SAP: Difference Between Customer Exit and User Exit


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.


Change the SAP Sender Email Address in ERP


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.


Create and Download a File from ABAP


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.


How to Define View Clusters for Data Maintenance


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.


Build Custom Selection Screens for Extended Table Maintenance


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.


Implementing Additional Checks in Table Maintenance Dialogs


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.


How to Manage Table Maintenance Dialogs in SAP ERP


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.


Execute ABAP Programs Automatically After Transport Import


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.


Reset ALV Display Buffers in SAP ERP


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.


Optimize ALV Column Widths Easily


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.


How to Attach Executable SAP Transaction Links to E-Mails


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.


How to Create a PDF from a Report in ABAP


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.


Sending E-Mails with Attachments from SAP ERP


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.


How to Send E-Mails from SAP ERP


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.


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


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.


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


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.


ABAP Workbench Tricks #2: Dynamic Patterns


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.


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


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.


How to Change the User Status Profile of an Object


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.


Using the Extended Clipboard in Transaction SE80


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.


Editing SAP Tables with SE16 and SE16N


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.


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


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.


SAP Classification Explained Part 2: Classification Tables


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


Modifying a Released SAP Transport Request


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.


SAP Classification Explained Part 1: Classification Basics and Transactions


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.


Screenshots in ABAP aufnehmen und speichern


Dieser kurze Blog-Beitrag enthält ein ABAP-Snippet, mit dem Sie einen Screenshot mit der bekannten Klasse CL_GUI_FRONTEND_SERVICES auf der Festplatte des SAP-ERP-Benutzers speichern können.