Category: SAP
-
Counting chars or entries in new ABAP syntax
May you wanted to count the length of a simple string or the total rows of an internal table. With the new ABAP syntax, it is possible to get these counts and lengths within the same line. Counting characters in a string With this method you can easily check the length of the string at…
-
How to make an App-To-App Navigation with a specific route in SAP Fiori Launchpad?
If you want to open a specific route from your SAPUI5 application to open another application within the Fiori Launchpad (FLP), you might wonder how to do this with the CrossApplicationNavigation service? Well, the parameters, which can be sent through the method toExternal, are not clearly documented. Although there are possibilities to set the route…
-
Notes for classification data in SAP systems
Since I got recently a few times to this case, where I had to do something with classification data in SAP ECC, I had to wrote down some of the important tables and transactions. Tables Technical name Description Important fields CABNCABNT (Text) Characteristics names (Merkmalenamen) ATNAM (CABN)ATBEZ (CABN) CAWNCAWNT (Text) Characteristcs values (Merkmalwerte)– ATWRT ATWRT…
-
Fetch an empty structure of an entity in an OData service
Did you asked yourself, how to get an empty structure, with empty strings and booleans set to false from your OData service to use it later in a local JSON model. To achieve this, we need here again the service metadata from our OData model. Test case To test our code from above, we have…
-
Fetch a JSON meta structure from an entity of an OData service in SAPUI5
I recently had to fetch a complete structure of an entity in my OData service to get the labels and attribute type like Edm.DateTime etc. Please note that this tutorial only has been tested with an OData V2 service. This allows you to works with large entities for example to handle an Excel export function,…
-
Resize an image with ABAP to create a thumbnail
In this small tutorial, you will see how to turn your image for example from a DMS in a SAP ECC system to a new image size. This allows you to simply publish a smaller image size to your client for example via an OData service and improves therefore the load speed. To be able…
-
How to setup an SAP BTP Free tier account with Cloud Foundry?
First of all, we need some prerequisites to ensure we run on the same BTP. What we want is to run an environment, that lasts longer than just the 90-day trial of the BTP Trial. Therefore, we need to use a BTP Free Tier Account, which can be “purchased” here on the SAP Store. There…