Tag: sap
-
How to authorize communication users in SAP S/4HANA Cloud, Public Edition?
In SAP S/4HANA Cloud, public edition, you differ between normal application users (Anwendungsnutzer) and communications users (Kommunikationsbenutzer oder auch technische Benutzer). What we want to achieve is, to enable the API_PRODUCT_SRV interface to be able to use it to create materials from external sources. If we try to instantly use the interface without any setup,…
-
ABAP Value Optional and Default value
With the new ABAP syntax, you can use the VALUE keyword to extract an entry from an internal table. So as an example, we have defined an internal table called lt_items which should be read with id = 2. So, if an entry with the component id = 2 exists, it will be transferred to…
-
How to create an own switch with the Switch Framework from SAP?
You may have experienced the case, that you must implement something, and then you need to build a switch to simply turn on or off your implementation or a part of it. For that, SAP has implemented the Switch Framework, where you can simply define states of “functions” via switches. In this short demo, I…
-
How to create a simple Z-BAdI definition?
In this short demonstration, I have tried to create a custom Z-BAdI definition for a project. This allows you to build a product report and classes and allowing the customers to build later custom logic thanks to the enhancement spots and BAdIs. Until now, I only have always implemented standard BAdIs from SAP directly. In…
-
How to use and customize ECENV_*?
There are some various transactions with the prefix ECENV_*. Some of them are here, which are standard included: Transaction Description ECENV_CO Connection object ECENV_BP Business partner ECENV_DV Devices Table of possibile ECENV_* transactions in a SAP system. Extending objects When you want to extend an object, we need to create a new subtype from a…
-
How to import an abapGit repository with existing objects in the target system?
You may have asked yourself, how to simply transfer objects from one SAP system to another SAP system easily. For that we can use abapGit, a simple tool, which can be installed via SE38 by a standalone installation. Next that you can export the repository objects into a Github online repository, you may can also…
-
How to transport customizing requests between clients?
As a developer, mostly I create workbench requests inside an SAP system to create development objects. Sometimes you have to change something in customizing tables or you need to change or customizing within a system. The problem with customizing request is, that they are client specific by default. So if you change something in client…
-
How to use MongoDB in combination with SAP CAP?
If you know the SAP Cloud Application Programming model (short SAP CAP), you may already be familiar with the OData interface and the CDS entities, which you can create with it. This is a cool definition framework, where you simply define the properties and associations to business objects and later create from it a real…
-
How to deploy an SAP CAP project to SAP BTP Cloud Foundry without SAP HANA Cloud
In this tutorial, I would like to show case you, how to create a CAP Project and then deploy this project to an SAP BTP Cloud Foundry environment without an SAP HANA Cloud as a database. Instead, we use a simple in-memory SQLite database to store the data. There are many solutions and possibilities which…
-
How to sign in into Cloud Foundry from SAP Business Application Studio with 2FA active?
You may have experienced an error like this, when you have tried to sign in via the SAP Business Application Studio via the normal cf login command: To solve this problem, we can use another simple method which signs you in via the browser and generates a temporary authentication code. For that, we use the…