discovering-abap
discovering-abap
Untitled
104 posts
Don't wanna be here? Send us removal request.
discovering-abap · 3 months ago
Text
Working With Eclipse [8] : Create your own IDE Actions Part 2
In earlier post Working With Eclipse [7] : Create your own IDE Actions, you learned about creating own IDE actions with Text output as the demo. In this post, you will learn how to create your own IDE actions for Eclipse with result type HTML and Code Change. The IDE action framework allows you to extend the ABAP development tools for Eclipse (ADT) with additional features called IDE actions.…
0 notes
discovering-abap · 3 months ago
Text
Working With Eclipse [7] : Create your own IDE Actions
In this post, you will learn how to create your own IDE actions for Eclipse. The IDE action framework allows you to extend the ABAP development tools for Eclipse (ADT) with additional features called IDE actions. The IDE action framework offers you a toolset to build custom functionalities that are completely server-driven using ABAP. You can also use these custom functionalities for AI…
0 notes
discovering-abap · 4 months ago
Text
Exploring ABAP on HANA: CDS Table Entity
A CDS table entity defines a database table as an ABAP-managed database object. These are similar to DDIC based transparent tables. Table entities support relationship modeling with CDS associations, semantic metadata with CDS annotations, and typing with both CDS Simple Types and Enumerated Types. CDS Table Entity : Usage Read and write access is possible using ABAP…
Tumblr media
View On WordPress
0 notes
discovering-abap · 4 months ago
Text
Exploring ABAP on HANA: Enumerated Types
In the earlier post Exploring ABAP on HANA: CDS Simple Types, one of the unexplored and newer features within Core Data Services – CDS Simple Types was discussed. This post talks about a similar concept of defining a data type within CDS – Enumerated Types. CDS enumerated types are the successor of DDIC domains with fixed values. Enumerated Types CDS enumerated types make the concept of…
Tumblr media
View On WordPress
0 notes
discovering-abap · 4 months ago
Text
Exploring ABAP on HANA: CDS Simple Types
This post talks about some of the unexplored and newer features within Core Data Services – CDS Simple Types. This is available from ABAP version 7.58 CDS Simple Type CDS simple type is like a data element in the CDS world that refers to ABAP built-in types. Let us create one to understand more. Provide Name and Description, click next and provide a TR, then click Finish. Here, we are…
Tumblr media
View On WordPress
0 notes
discovering-abap · 4 months ago
Text
ABAP 7.4 and beyond [16] : Indicator Structures
This post talks about an interesting addition to the way structures are declared. Indicator Structures The new addition INDICATORS is available while a type is defined using the statement TYPES. The indicator structure is a substructure of a given type. The indicator structure has the same components as the original structure but all of the fields have type x of length 1. If this sounds…
Tumblr media
View On WordPress
0 notes
discovering-abap · 2 years ago
Text
ABAP Code Samples : Create PDF from Internal Table
This code sample explains how to create a PDF xstring from internal table. SELECT * FROM but000 INTO TABLE @DATA(lt_tab) UP TO 10 rows. DATA(lo_pdf) = NEW cl_apoc_pdf_generator( ). lo_pdf->create_pdf( EXPORTING input = lt_tab RECEIVING pdf_binary_output = DATA(rv_bin) ). The rv_bin is xstring binary content and can be displayed as pdf. To test this code, SEGW based OData service or RAP OData…
Tumblr media
View On WordPress
0 notes
discovering-abap · 2 years ago
Text
SQL Script for AMDP: Flow Control with IF and Loops
In this post, you will learn to use SQL Script in AMDP with flow control. This will cover below statements. IF LOOP Commenting the SQL Script Code The comments can be added using * or — * Example for EXISTS declare lv_result int; --data declaration Using IF and ELSE If syntax is similar to ABAP but uses additional THEN keyword. IF <condition_1> THEN <block_1> [ELSEIF <condition_2> THEN…
Tumblr media
View On WordPress
0 notes
discovering-abap · 2 years ago
Text
Important Resources for SAP ABAP Developers for working with S/4 HANA
In earlier post, Important Learning Resources for SAP Developers, the learning resources are summarized. This post talks about important links that can be useful while working on a S/4 HANA project. SAP Business Accelerator Hub : Explore Categories The Explore Categories page contains information about SAP Standard APIs, Events, Integrations, Process Automation, BAdIs, CDS Views which are…
Tumblr media
View On WordPress
0 notes
discovering-abap · 2 years ago
Text
Important Learning Resources for SAP Developers
If you are waiting for a learning opportunity, you are already too late. SAP provides great learning resources and systems where one can practice as well. This post covers links to SAP Learning content that every SAP developers should be aware of. Please add links in the comments if you feel anything is missing and I will update the article. SAP HANA Trial account Developers can use this link…
Tumblr media
View On WordPress
0 notes
discovering-abap · 2 years ago
Text
ABAP Managed Database Procedures(AMDP) : SQL Script Basics
In this post, you will learn to use SQL Script in AMDP for basic operations. Data Declaration Select Statements Data Declaration in SQL Scripts How to declare internal table in AMDP? A common requirement in AMDP is to declare and use a runtime table or internal table. Standard program demo_amdp_abap_types_access explains how to declare a table. Class Definition Class Implementation A data…
Tumblr media
View On WordPress
0 notes
discovering-abap · 2 years ago
Text
Annotations in CDS
This post summarizes the most common annotations that are required to build a RESTful Application Programming Service in ABAP. ABAP CDS are written in Data Definition Language (DDL). These annotations are broadly categorized into two types. ABAP CDS – ABAP Annotations Framework-Specific Annotations ABAP CDS – ABAP Annotations These annotations are evaluated by ABAP runtime…
View On WordPress
0 notes
discovering-abap · 2 years ago
Text
ABAP RESTful Application Programming – Naming Conventions for Development Objects
Defining and using naming conventions ensure consistency in the names used by all the developers on a project. This posts summarizes the naming conventions recommended by SAP for the RAP Development Objects. General Rules The overall object name will be split into 3 parts. [/<namespace>/][<prefix>]_<meaningful_abbreviation>_[<suffix>]. Namespace [/<namespace>/] For custom object, the…
View On WordPress
0 notes
discovering-abap · 2 years ago
Text
ABAP RESTful Application Programming Model - Behavior Implementation Class
This post explains the class where the behavior definition methods are implemented. This is covered in various posts of the ABAP RAP Series, however the methods are scattered across the posts. A business object is implemented through a specialized class pool that references its behavior definition. When the unmanaged implementation type is used, developers must implement all the behavior. This…
Tumblr media
View On WordPress
0 notes
discovering-abap · 2 years ago
Text
Determine Actions in ABAP RESTful Application Programming Model
This post talks about Determine Actions in ABAP RESTful Application Programming Model. This would be one of the most confusing concept from RAP Behavior. Determine actions allow the consumer to execute determinations and validations on request. Determinations can be usually triggered as side effects which are triggered automatically when some fields are updated on the application. For Determine…
Tumblr media
View On WordPress
0 notes
discovering-abap · 2 years ago
Text
Exploring ABAP on HANA [13] : Union in CDS
This post explores how Union can be defined in a CDS View Entity. Union merges the result sets of multiple SELECT statements of CDS view entities into one result set. Note that, Union was available in CDS Views earlier but in CDS Entities, it is allowed only from version 7.56. While extending a CDS with an Union clause in it, the extension also needs to have same number of unions. How to…
Tumblr media
View On WordPress
0 notes
discovering-abap · 2 years ago
Text
ABAP RESTful Application Programming [28] – Authorization Control
In this post, you will learn about Authorization Control in ABAP RESTful Application Programming. Authorization Control Authorization control in RAP protects the RAP BO from unauthorized access to data. The authorization for consumers is managed and maintained by the system administrator but developers would sometime need to implement the controls. Authorization checks for read operations are…
Tumblr media
View On WordPress
0 notes