In this beginner blog post we are going to see how we can use #ISOLATED (Isolated Processing) in ABAP Restful Application Programming Model. Previous Blog Posts ABAP RAP – Instance Authorization ABAP RAP – Global Authorization ABAP RAP – #CHANGE_SET Thanks you Ramjee Korada for your help and guidance. Use Case: Isolated processing can be....
Introduction: With SAP’s built-in standard function modules, such as “CONVERT OTF 2 PDF” or equivalent, we may convert OTF data to PDF format. However, despite extensive internet searches, I was unable to locate any FMs, blogs, or articles that addressed the reverse conversion—from PDF to OTF format. I therefore considered sharing some code that will ultimately....
Introduction: In my previous blog, I have demonstrated how to enable Adobe Form printing/preview in SAP CRM actions by creating a proxy to Smart Form. Requirement: In this blog, I’ll explain how to deal with printing multiple copies of an Adobe form in CRM actions and turn on the functionality to preview and print from the CRM....
Clean Code – From Contribution to Decision Clean code is a term used to describe software that is easy to read, understand, maintain and test. With the adoption of the clean code style guide by thousands of teams, changes to the style guide can have a large potential impact on developers (e.g. through new static code checks for new rules). While there is....
Clean Code: Wartbar, Lesbar und Testbar Clean Code ist ein Begriff, der Software beschreibt, die einfach zu lesen, zu verstehen, zu warten und zu testen ist. In diesem Blog möchte ich einige wichtige Prinzipien zusammenfassen, um Anfängern einen Einstieg in das Thema zu ermöglichen. Außerdem soll der Blog eine Verbindung zum Style Guide Repository, den....
During a workshop, I asked the contestants to refactor the sources of the Ski Lift Price Kata by Dominik Panzer. We made three rounds with about 45 minutes per round and 15 skilled and experienced developers tried to identify, what the code does, write sensible unit tests and refactor the code to make it better to read and....
In this article, I provide an overview of debugging in SAP systems. I discuss the importance of the skills, tools, and intuition needed as well as provide tips for analyzing and collecting relevant information. In essence, I cover all the things I do before setting the first breakpoint in code. Solving the Complex Puzzle of ERP....
I have just published a new version of my openSource project called the RAP Generator. The main new features are that I have added an option that allows you to delete the objects that have been generated using the RAP Generator. This option becomes handy when you have generated your objects in a package that....
We are familiar with getting data from a table using AMDP procedure or AMDP table function. But, how about CDS View, I tried a case and got the following error Basically, AMDP will get data from database, and it will get all client (assume your system have several clients), that is a reason why you....
In previous article, we have experienced by using CDS View inside CDS Table function. And now, we will try with AMDP procedure Like as CDS table function, with AMDP Procedure, we will also catch an error Because this CDS View which we used in this article is a client specific. But AMDP is not. Basically, AMDP....
This blog describes the differences between classic ABAP programming and ABAP Cloud programming with regards to the SAP Logical Unit of Work (SAP LUW) [1] and the ABAP RESTful application programming model (RAP). It helps to understand how database updates work and what developers must consider avoiding data inconsistencies during database updates. Classic ABAP Programming In typical....
This blog outlines Configuring Legal ID in Cloud Application Studio at detailed level over the existing model in SAP Business ByDesign. Configuration of Legal ID in SAP Business ByDesign solution is outlined as following. The Fine-Tuning activity to maintain “Document Numbering Formats for Customer Invoicing” is accessible in the SAP Business ByDesign, Business Configuration WorkCentre....
Recently checked a few remediations of ancient SAP Script forms, and encounter the command line being too long that even 2 lines are not enough to accommodate. Seniors could think ‘/=’ or ‘=’ for wrapped lines will do but actually, it will not. Please find below my testing results for various approaches to deal with....
In pursuit of making ABAP Unit Test less dependent and more independent 😊, today I have decided to write on an interesting but less explored topic which is removing function module dependency in ABAP Unit Test using TDF. This is one of the less discussed topics in abap unit test double framework.After implementing some of them....
There‘s a popular internet meme out there: “One does not simply …”. It comes from the statement “One does not simply walk into Mordor” made by Boromir, a member of the fellowship in the first Lord of the Rings movie, who is doubtful about the mission‘s prospects of success regarding the destruction of the one ring in Mount Doom –....
In this beginner blog post we are going to see how we can use Authorizations (Instance Authorization) in ABAP Restful Application Programming Model. Ref: https://help.sap.com/docs/BTP/923180ddb98240829d935862025004d6/2f888de9d96e44acbfde2936d2c8bf24.html Instance Authorization Instance authorization is used for all authorization checks, in addition to the user role. With instance authorization, you can define authorization on a field or operation....
This topic demonstrates how you can extend the original CDS view with a view extension to provide some additional fields. Problem: Our customer asked us to add some fields that are in the “EBAN” table but not in the Manage Purchase Requisition Professional Fiori application(F2229). Solution: I created this example to show how those who....
In previous blog posts, we showed you how you can access CDS view entities in an ABAP system using SQL via Open Database Connectivity (ODBC). The ODBC interface has the advantage that it allows unrestricted SQL access to all exposed ABAP CDS view entities. Data from different entities can be joined in an ad-hoc fashion....
Recently I got a request for getting multiple PDFs from the service that was already in use , and I was already using ‘ GET_STREAM ‘ method to return a single PDF. Facing this request , the most quick and usable solution I thought was why not I am adding multiple PDFs into a single ZIP File....
I posted this blog back in 2005 in SDN (earlier to SCN) & it is missing now ! Hence I am reposting the same content as this concept is very useful & used widely in ABAP development world. Introduction – Test Data Container A Test Data Container (hence its is referred as TDC) is....
Just imagine you have implemented a new ATC check in your ABAP cloud system (SAP BTP ABAP Environment or SAP S/4HANA Public Cloud) and bundled it into your custom ATC check variant. Since this new ATC check variant fully covers your special testing requirements, you would like to reuse this check variant also in your....
In this post blog, I will show you how to change screen field properties and how to hide screen fields/tabs on purchase requisitions screens.(ME51N, ME52N, ME53N) This blog post specifically will cover showing, hiding fields which can not be customized by using SPRO customizing settings. In additional, it works on S/4HANA Cloud too. In our....
This blog is a step-by-step guide to get started with Forms service by Adobe API. In the end of the blog, we will test the Form service API by calling them from ABAP environment in BTP. This is also a blog part 1 for my blog series “Create No-Code PDF generation app in SAP Build....
In the previous blog, we went through the steps to get started with Forms service by Adobe REST API. We tested by calling the API from ABAP environment and generated a sample invoice document. In this blog, we will wrap the logic of calling the Forms service API to render PDF into our own HTTP....
Hi everyone. As we know, with the development of technology, CDS views have started to be used frequently. One of the biggest reasons for their frequent use is that they can get data quickly with the push-down method and can work in harmony with many different technologies of SAP. In this blog, I will create....
In this blog, I would like to show you how to download a ZIP package stored on an application server via Odata call in very simple steps. I have tried not to add any additional logic apart from downloading the ZIP package from the Odata service. Steps 1. Table creation. 2. Create an oData service.....
The purpose of this blog is to show you how to create/modify/delete google sheets via background programs from SAP. Since these are background jobs run by the SAP system, it is not up to a user to authenticate to google since there is no human action. So we cannot choose the methods where the user....
As most of you probably already know, there is the famous Ctrl+Shift+A search in ABAP Development Tools (ADT) to search for development objects in an ABAP system. So, you might wonder, why am I writing about the topic of searching for development objects if there’s a perfectly functioning solution already available? I’m glad you asked!....
Beside the option to start and schedule application jobs from within the Application Job App there might be the need to start an application job from within an application based on a RAP business object. Scheduling an application job using the API’s provided by the underlying ABAP platform framework can be tricky when doing so....
Updated 6th January 2023. For all those who are more visually stimulated, I have updated the blog post with a video posted on the SAP Developers YouTube channel on how to use the app. Updated 23 February 2023. Release 2302 What it is, in a nutshell Are you a newbie in the world of ABAP CDS, SAP....
Please note that this post was first published at https://medium.com/@yagubovafatima/enhancement-for-fiori-finding-the-places-for-enhancement-getting-custom-error-message-4a6272fb7daa. I am working as a SAP ABAP Developer in a Consulting company and during the worktime we face different kind of problems especially in adding custom functionalties to SAP standards. In this blog, I am going to explain one these problems and its solution. The problem:....
This is part of the Easy way to write algorithms in ABAP: Series 01. For more algorithms, please check the main blog-post. Problem Given an integer array nums, find the subarray which has the largest sum and return its sum. Example 1: Input: nums = [-2,1,-3,4,-1,2,1,-5,4] Output: 6 Explanation: [4,-1,2,1] has the largest sum =....
For a long time, I didn’t find many blog posts regarding writing algorithms in ABAP where as in case of GPLs it is quite popular. So, I am starting a series on this topic for practice & education purposes. Please feel free to comment & have a happy learning experience. 🙂 Algorithms Easy way....
Those of you who have attended the SAP BC400 training course, which is the introduction to ABAP development, will start by writing a program that acts as a simple calculator. It is based on ABAP PARAMETERS for inputs, ABAP WRITE statements for outputs , and is designed to show the basic constructs of most programming....
Clean code is a term used to describe software that is easy to read, understand, maintain and test. In this blog I want to summarize some important principles and provide an entry into the topic for beginners. Besides, the blog shall connect to the style guide repository, the books and current initiatives where experts can....
Recently I was working on multiple conversion projects where we had a requirement from the client that he is unable to get the select screen parameters after selecting Z variants. After system conversion or upgrade, if we do not get select screen parameters in existing Z variants. we can adjust the invalidated report variants. In....
I’m sure you often have the situation that you are implementing a method in ABAP with ADT and you need information about the signature and the types that are used in the signature. The standard answer for this is the Element info (Shortcut F2) on the method name. Unfortunately, the element info is displayed in....
ABAP Cloud has been announced at SAP TechEd 2022 and was part of Juergen Mueller’s day 1 and Philipp Herzig’s day 2 keynote. After SAP TechEd, we provided more details regarding ABAP Cloud in an SAP developer community session and in the keynote of the ABAPConf (in German). In this blog post, we summarize the basics of ABAP Cloud. At the....
ABAP 7.4- Use of VALUE & FOR statements instead of LOOP also to avoid using Conversion Exit Alpha FM
The ABAPers journey is incomplete without where we need to process Excel file data for further processing. In my experience, it is mostly for BAPI development i.e. getting the data from an Excel file and converting it to a suitable form. Earlier I was using Loop, Endloop statements, and CONVERSION_EXIT_ALPHA_INPUT function module for the same.....
This is part of the Easy way to write algorithms in ABAP: Series 01. For more algorithms, please check the main blog-post. Problem You are given an array prices where prices[i] is the price of a given stock on the ith day. You want to maximize your profit by choosing a single day to buy one stock and choosing a different day in the future to....
To send ‘.XLSX’ file type with multiple sheets in single excel file as attachment via E-mail Context Using OLE logic, we can achieve this requirement and the attachment will be an ‘.XLS’ file. But our client system has some trust center setting enabled in their system which exempts them from opening .XLS file. So, we....
Summary: This blog post will demonstrate how to handle incoming email with PDF attachments and save them against any transaction in SAP. We will use GOS functionality to save the document but same kind of logiccan be used to save/process the attachments in the SAP system. I am taking an example of CRM billing document here.....
I am writing this blog post to demonstrate how we can structure an ABAP report in a OOP way that helps us solve a real life problem. I want to state firstly that I don’t think that my example entails all the OOP best practices, but it’s a honest attempt of a procedural ABAPer to....
Summary : In my previous blog I have covered, how to process/save pdf documents (can have multiple) which are received in e-mail into SAP. In this blog, we will see how we can enable auto print functionality for PDF documents on dedicated physical printer or on local printer (LP01) in spool. Additional Business requirement : All the PDF....
In a recent assignment I needed to securely store a secret key that we had received from a third party for HMAC calculation. As it was of utmost importance that the secret key would never be retrieved even by individuals with debug authorization on the system it was not an option to save it in a table....
Spend reporting is an important AP requirement that helps companies better understand and control their expenses. Traditionally, companies that run SAP approach Spend reporting with BW solutions. When it comes to Spend reporting BW gives little to no advantage compared to S/4HANA Embedded Analytics due to rigid extraction process and need of complex transformations and....
In this Blog we are going to see How to create CDS view In Rise with SAP Public Cloud 2208 Introduction- SAP Create Custom CDS View SAP Create Custom CDS View can be used to generate the user’s own data access, in case they require access to data in the ERP system which is either....
This blog explains the typical issues developers have trying enable Time Variance charts in SAP Analytics Cloud (SAC) based on CDS-Views and how to solve this by adding additional fields and annotations to the Cube and Query Baseline CDS View: Every CDS which is built to do reporting in SAC, will have at least....
Let’s start with three questions about the existing ABAP code: Features: Can I add them easily without breaking anything? Bugs: can I fix them without breaking anything? Users ask a query on custom development: can I explain the functionality after reading the code? Businesses/SI/AMS partners who are in multiple ongoing SAP projects focus on....
Symptom: Message no. SO865 (An error occurred during transmission – return code: <NF_ADR>) popups when using BCS to send emails. Reason: All the errors during BCS processing will be caught by cx_bcs and collected into BCS exceptions like the below: data bcs_exception type ref to cx_bcs. Try. catch cx_bcs into bcs_exception. message i865(so) with bcs_exception->error_type. endtry.....
During my daily work I’ve got a task to implement a call of another Fiori App from my Fiori Elements App. In order to achieve that I have found three possible ways to implement it (but only one of them was working for me): Intent-based Navigation as RAP CDS Association Intent-based Navigation as ABAP Call....
In this blog post, I will describe the steps I have followed to create an extension for the basic type INVOIC01. I will also illustrate the actual business requirement and what was requested. First, I know that there are a lot of materials out there for how to create an IDoc extension and I won’t....
Over the years SAP have introduced a number of different frameworks to support transactional processing, for example Business Object Layer(BOL), Business Object Processing Framework(BOPF) and the ABAP Restful Application Framework(RAP). While the new frameworks have introduced enhanced capabilities and greater flexibility to integrate with newer technologies they share some of the basic fundamental design principles....
This blog is about an important principle for improving the quality of documentation. It can also help to improve decision making, collaboration and more effectively use meeting time by leveraging written asynchronous communication. Documentation (e.g. Architecture Documentation, Good Practices and Product Documentation) should be treated as code, which means that it is: placed under version control very simple syntax changes undergo reviews....
After 2 days, I have my SAP NetWeaver AS ABAP Developer Edition 7.52 SP04 on Ubuntu Oracle Virtual box. Don’t get scared, it is really easy. But took 2 days of mine. I have tried to install it on Ubuntu a few times, all failed, then on openSuse those failed too. That is because I....
Why migrate ESR proxies? In order to work with ABAP proxies with SAP Process Orchestration we only had to define them in ESR and generate with transaction SPROXY on the SAP Backend system. If we are in a process of migrating from SAP Process Orchestration to SAP Integration Suite we need to consider that working....
With SAP TechEd 2022 few days away and surely many of you have registered for virtual workshop session that requires installing Eclipse and ADT beforehand as a prerequisites. This is a breeze when you do it on Windows PC. However, that may not be the case for you if you are on MacOS on any....
In this beginner blog post we are going to see how we can use Prechecks in ABAP Restful Application Programming Model. Ref: https://help.sap.com/docs/BTP/923180ddb98240829d935862025004d6/5a24e181eb994fffb59a186a2fdb3ef2.html?q=Authorization What is Prechecks Prechecks is used to validate data before it can reach to Transactional Buffer. You can prevent invalid changes from reaching the transactional buffer by prechecking modify operations. ....
In this post, I would like to show how to connect Eclipse ADT to SAP NetWeaver AS ABAP Developer Edition 7.52 SP04 on Ubuntu, which is running on Oracle Virtual box. For Eclipse ADT installation you check that link. And for Abap Developer Edition installation have a look at that blog post. With steps below you can connect....
BUSINESS REQUIRNMENT Read Exel file from Application Server(T Code – AL11) put it to internal table , Move file from one folder to other folder and delete file from folder. EXCEL UPLOAD FORMAT DEMO EXCEL FORMAT DEMO APPLICATION SERVER DIRECTORY TO UPLOAD AL11 PATH This path provided by SAP-BASIS team . It can vary as....
In this blog post, I would like show how to create Rest api and how to apply MVC1 routing to handle different request simply from a controller class. For that, first we will create handler and controller class for rest structure. Then we will add mvc1 controller class and model class to process business logic.....
In this blog i am going to talk about Git-enabled CTS which is a fiori app and available since S/4Hana 1909 onwards. I am using S/4Hana 2021 for showing gCTS Capabilities. And how it is helping to automate ABAP objects testing and deployments. What is Git-enabled CTS? SAP aims to support continuous integration in an....
It’s well known that the <Print Immediately> check box of the SmartForm POPUP screen is controlled by SSFCOMPOP-TDIMMED. Every time I just copy those parameters from the previous one until one day I find out it’s un-ticked at the POPUP window even with precisely the identical copy~ Cost one-hour checking, I realize that the root....
In this blog post i want to show how to connect Microsoft Power BI to SAP data using OData services. Mircosoft Power BI In the Microsoft Power BI desktop app an OData-Feed must be added as a datasource. The app will ask for the URL. The URL should include the entityset-name and filter-options when necessary....
An agile approach involves cross-functional teams where individual team members complement each other’s skills. With the move to cloud-based development, teams must often deal with increasing complexity and must learn quickly. Both aspects bring up new challenges when it comes to growing the necessary skills. This blog introduces some problems in empowering the teams to....
Normally there’re three methods to print out one Smartforms: Print out directly without preview and no print setting popup window; Print out with the Print button at the print setting popup window; Print preview button at the print setting popup window, then Print button at the print preview screen. For point 3, the standard program....
In this blog I will discuss one error which I face during creation of screen in tcode SE51 Screen Painter. When clicking on layout button following dump was coming with short text “RFC callback call rejected by whitelist”. By analyzing this error it clearly indicates that call back function module is missing in destination “EU_SCRP_WN32”.....
With SAP S/4HANA releases 2208 (public cloud) and 2022 (on-premise and private cloud), it is now possible to create custom fields with developer tools (ADT) for additional use cases, so that customer now have the option to create custom fields either in the Custom Fields key user app, or with developer tools (ADT). In this....
In this blog I am going to explain how to modify the payment method workbench (PMW) File name. Usually, In the standard program the filename will be generated as like the below format, Sometimes, we may need to add DATE and TIMESTAMP Values for the filename. Let’s see how we can achieve that using simple steps. Disclaimer: The Program....
As a “heavy user” for food delivery apps, i always wondered how would SAPUI5/FIORI feels like for this type or requirement…as most of the “app usage” today is around: food delivery apps, communication/social network apps and shopping apps. Nowadays we can find SAPUI5 (specially on BTP public Apps) been used in all sorts of scenarios,....
In this beginner blog post we are going to see how we can use Authorizations (Global Authorization) in ABAP Restful Application Programming Model. Ref: https://help.sap.com/docs/BTP/923180ddb98240829d935862025004d6/730ef0457d064ffe97478fa1f0c04550.html What is Authorization in RAP Authorization control in RAP protects your business object against unauthorized access and operations (Create, Update, Delete). Authorization control is always relevant when....
This article will explore how an action(trigger) which is associated with an action profile can be controlled programmatically. This paper will explore how an action can be established as repeatable and how a workflow container can be utilised to control the scheduling and processing of an action. In a previous article we explored how the RAP....
Once IDOC has not been generated correctly for message types like FIDCC2, especially for new company code at rollout project. The quickest way to check this: 1, EXIT_SAPLF050_005 controls whether FIDCC2 Outgoing IDoc should be sent out or not. Here setting parameter NO_DISTRIBUTION as ‘1’ will prevent IDOC generation for FIDCC2. *Include ZX050U04 CASE message_type. WHEN 'FIDCC2'.....
Hello, In this blog I am going to show you Adapt Ui feature for S/4Hana cloud, Private-Cloud and how outbound delivery classical application screen will be turn into simple informative one. Let’s start.. With respective to Screen Personas, SAP S/4HANA and SAP S/4HANA Cloud are different solutions to address different customer needs, in the context....
SAP S/4HANA 2022 was released to the SAP customer base on October 12th, 2022. ABAP Platform 2022 is the technology platform underlying SAP S/4HANA 2022 and is shipped as part of SAP S/4HANA 2022. In addition, ABAP Platform 2022 is part of SAP S/4HANA Foundation 2022 for SAP HANA-only Add-Ons. ABAP Platform 2022 is not....
Custom Business Configuration Apps in SAP S/4HANA Cloud, On-premise, and in SAP BTP ABAP Environment
In previous blog posts (Business Configuration in SAP BTP ABAP Environment (1): Overview and BC Maintenance Apps | SAP Blogs , Business Configuration in SAP BTP ABAP Environment (2): BC Content Transport | SAP Blogs), I provided information on how to create RAP/Fiori-based custom business configuration objects in SAP BTP ABAP Environment. RAP/Fiori-based custom business configuration....
Have you ever asked yourself what Embedded Analytics is all about and how your company can benefit from it? In this blog post I, want to give you an insight into Embedded Analytics done with the lately announced ABAP Cloud. Conceptual Basics Alright, first I need to admit: Yes – there are numerous different....
In this beginner blog post we are going to see how to work with Virtual Elements in ABAP Restful Application Programming Model. Ref: https://help.sap.com/docs/BTP/923180ddb98240829d935862025004d6/c65942c284dd490a9c3791630d4d4e41.html What is Virtual Element : Virtual Elements are as name suggests “Virtual” which does not exists. Virtual Elements does not exists in actual Data Base table or Persistent Table used....
Hello SAP Community Members, My Name is Zeshan Shafaqat. I’m Expert in SAP BI/BW and SAP Analytics Cloud. I found many peoples having trouble that how can we create a CDS view. In this Blog, I show you screenshots and code of how can you create a CDS View with joins using eclipse. If you....
Some shortcomings of the SAP standard sequence diagram generation from ABAP run-time measurements are addressed: a secondary internal table index speeds up parsing a custom filter displays calls from standard to custom code loop compaction produces smaller diagrams the sequence diagram output in PlantUML Format is editable plain text . Local installation of PlantUML is....
One of the short comings of ABAP is the ability to find and reuse class methods. It is easy to find functions from within the ABAP editor by clicking the [Pattern] button. But to find a method you first need to know what class it is in. One way to overcome this is to search....
This blog is the third and the last post from a blog series of enterprise event enablement, and the possible ways to produce and consume an event in SAP BTP ABAP Environment and S/4 HANA Cloud. In the first post, I gave you a rough introduction on the basics of event-based communication. In the second one,....
In this short post, I will try to explain “friend class” in Abap. Normally in object oriented programing, visibility of properties of a class is limited with three scopes, Public, protected and private. Public is open to all from anywhere. Protected is open only to subclasses. Private is only for classes itself. Normally can not be reached....
Overview: This blog post intends to show how to use an RFC adapter in an integration flow (iflow as we would be referring to in this blog) for fetching data from the SAP ERP system. We have various adapters provided by SAP which can be leveraged based on a particular requirement. In this blog, I....
Let’s see how you can automate your processes easily by leveraging the powerful iRPA and a very strong backend technology like SAP OData. Problem Statement: Send your Excel data to SAP System – Just Store it somewhere in custom table Simple Solution Proposed: Develop one RPA bot and integrate OData Endpoint and Make a POST Call....
I’m starting the SAP blog page with a report. In this report, we will try to show the characteristic values entered under the material class in the material master data to the user in the form of a report. I am working as an ABAP developer in a company that uses SAP. The reason why....
Hi everybody, In S/4 HANA systems SAP recommends to use the API class CL_MD_BP_MAINTAIN to maintain business partners instead of using the old BAPIs. The usage of the class differs quite a lot from the existing BAPIs, because there’s only one importing parameter I_DATA for the main method CL_MD_ BP_MAINTAIN=>MAINTAIN. With BAPIs there are normally several....
In order to enable multiple odata services for fiori apps in S4 Hana. There is a requirement to activate multiple odata service in a single step instead of doing it one by one. In this blog I will explain steps to activate multiple ODATA services in single transaction. Step 1: Go to tcode STC01. Enter task....
Introduction: As an abapper most of us might be new to calling external APIs from the ABAP environment. There are lots of APIs on cloud foundry or deployed elsewhere which we can use as per as our need. Most of them use the OAuth 2.0 authentication and other authentication processes. You must have heard about....
Continuing the innovation series, i wanted to bring back an “old” topic but that is not really explored in the “SAP World” so far… Gamification! What if SAP applications (Mobile, FIORI, UI5, etc) could bring more of a “gaming UX” for some functionalities and scenarios, improving the overall experience with SAP (that was knowned in the....
Hello, I found many of people to face a trouble on quick one to split rows based on Quantity. In this blog I will discussed how to split row based on Quantity. Requirement Let’s begin with our learning. Step 1. Create a structure using SE11 Or Create in Program For full fill your requirement....
As announced last month in the blog Devtoberfest 2022: Return of the Developer by Thomas Jung, the Devtoberfest from SAP is back again. The Devtoberfest in 2022 is a four-week virtual event for developers with many interesting, interactive, and educational content sessions on various SAP Technologies. The event is broadcast live on the SAP Developers’ channel on YouTube throughout October. This year, Monday....
In this blog post, I would like to share a few thoughts on how to write better code in SAP Abap by applying MVC to code structure. I work as an Expert Abap consultant and sometimes fellow developers are asking advices on writing better code. There are many patterns, rules in coding world to help....
This is a small game, Gobang, you can play with an AI(not very smart). Just write it for learning abap oo and new Syntax. If any question, please leave a message. looks like a ALV? haa, yes, this is a ALV. Code: First we define a type for char4. TYPES c4(4) TYPE c. And then....
This post is in continuation of the initial blog post – Using RFC adapter in the SAP integration suite. If you didn’t get a chance to go through it, you can find it at the below-given link. https://blogs.sap.com/2022/10/11/using-rfc-adapter-in-the-sap-integration-suite/?preview_id=1621769 In the first part of the blog post, we concentrated on the development of RFC on the....
I am a SAP ABAP consultant and recently I have been requested to make enhancements to QA11 screen. After some research, I could manage to put things together. And I thought, it is worth creating a complete tutorial on that topic. Therefore, in this article, I would to share with you how to add the....
ABAP Object Services In this blog you are going to read some information about ABAP Object Services and how to create persistent class object with single-table using mapping assistant tool, create object instance with class agent, consumer perspective and record converted into database table. #1. Creating Persistent Object with single-table SAP Community has introduced excellent Professionals to SAP....
Purpose Help developers to find CDS annotation examples, especially when this error message appears in ADT: Text search services are not supported, because it is not available / not configured in the backend. I created it to help my students to find samples and for myself when dealing with the many possible annotations listed on the SAP Help....
This page offers an overview of all available CDS DDL features. It can be used like a cheat sheet to look up features and their release dates. It also offers links to data sources with further information on each feature. It will be updated regularly to always reflect the current ABAP CDS DDL feature scope.....
There’s one Dump of ‘MESSAGE_TYPE_X’ for the program SAPLCOKO1 when the user tries to modify one particular production order. The dump point is the return of the function module ‘STATUS_TEXT_EDIT’, and the root error message is BS(001) which is “No status object is available for ORD XXXXXX” when the program fetches the status object from....
This Blog is about to display the employee pay slip in Fiori Application. When user click on hyperlink in frontend we need to display the employee pay slip. Generally for PDF we use the Adobe forms/ SMART FORMS to prepare a layout, but here we don’t need any layout creation. We have standard pay slips....
This blog post shares my experience about a particular issue I encountered working with an OData service created using ABAP Restful Application Programming model and one possible resolution. The case is associated with an amount field in an CDS entity was exposed as an entity in the service definition. Amount and currency fields in CDS....
Yep, we already spilled the beans in our last blog which introduced the language element STEP for ABAP internal tables (SAP BTP ABAP Environment 2202). Nonetheless, if you haven’t heard of it yet… Here’s another new ABAP language element: It’s FINAL! Available with ABAP Release 7.89, SAP BTP ABAP Environment 2208. Basics While writing code in ABAP, we often would....
I am happy to share with you the new ABAP extensibility guide for SAP S/4HANA in the cloud and on premise with you that was released today! Extend SAP S/4HANA in the cloud and on premise with ABAP based extensions Read the guide and find out how to create ABAP-based extension on SAP BTP ABAP....
Hopefully you have already heard the news that the SAP S/4HANA 2022 release is out now for on premise and private cloud customers including the new ABAP cloud development approach for ABAP custom extensions. As the Chief Product Owner of the ABAP Platform Boris Gebhardt outlined in the blog post How to use Embedded Steampunk in SAP S/4HANA....
Continuing with the innovation series, and going a little deeper on UX with SAPUI5… also adding the news that the 2022 Football World cup is coming up, why could’t we create a SAP application that could help the teams in realtime on the field, like the one in NHL league? Focusing on the Animated UX, it....
In this post, I would like to share with you, how we can enhance a standard adobe or smart forms’ output by applying MVC. As business requirements may differ from SAP standard form format, we may require to enhance an existing form. What usually happens is, functional consultant tells the name of output program and....
tldr; Install https://github.com/timostark/abap-json-serialization and enjoy the fastest possible JSON serialization. The result will be a 10x faster JSON serialization and deserialization compared to /UI2/CL_JSON at the same quality. Be warned though: Read the limitation section first. Oh no – another JSON Serialization Blog Post? Hey – At least no blog about excel exports 🙂 So why....
We are almost there: the SAP TechEd in 2022 is just around the corner! SAP TechEd is THE premier tech conference for all developers, IT practitioners, professionals, tech visionaries, innovators, and leaders who are interested in gaining a detailed understanding of SAP’s portfolio of solutions, platforms, and technologies, as well as insights into their future direction. This year,....
Block the user if the user not logged more than 90 days using BAPI_USER_CHANGE and validity date will updated with current date. 1.Give the import parameters as number of days and test flag 2.Create the structure as per output pass into the export parameters ET_RETURN. Structure as per your output. DATA: lv_last_logon_date TYPE xuldate,....
Delete the user if the user was not logged in more than 360 days using BAPI_USER_DELETE 1..Give the import parameters as number of days and test flag 2.Create the structure as per output pass into the export parameters ET_RETURN. 3.Structure as per your output. Now click on Source code write the below code FUNCTION zuser_login_check360.....
As promised in my previous blog Reusing Class Methods Should Be Easier, I am going to show how this object lookup program can be added to the ABAP editor pattern options. I have organised this blog so that, if you are an expert, you only need to read the overview and drill down to the details for....
The year 2022 is quite remarkable for SAP’s history since a couple of anniversaries coincide that are of great relevance for the evolution of ABAP. First and foremost, SAP is now 50 years old and without any exaggeration this period stands for 50 years of ongoing success in enterprise software. Another important milestone was the....
C0 developer extensibility is a new extensibility option on ABAP Platform. It’s an attempt for upgrade-stable cloud extensibility with maximum flexibility. One use case for developer extensibility is the ABAP RESTful Application Programming Model (RAP). With C0 developer extensibility, you can extend your RAP application from the database to the service definition directly in ADT....
This blog post is about a new scenario enabled by SAP Continuous Integration and Delivery service: Running continuous integration pipelines to deploy SAP Fiori applications to on-premises ABAP systems. Scale up development of Fiori extension for the ABAP platform One of the most common extension scenarios in the ABAP world is to deploy SAPUI5 and Fiori....
Most knew „mesh“ as a surface material used for sneakers: A mesh is made of fibers woven together. In an ABAP Mesh, the fibers are the records of internal tables, and these are woven together by relations. An ABAP Mesh makes it possible to easily navigate through these relations, e.g. get all items of a....
Did you know that CL_SALV_TABLE is not officially editable? And also that making changes to existing programs is often quite difficult? You can find out how to can address both problems be reading this long rambling incoherent blog. Grid GRID IRON For many years now I have been posting an annual blog bemoaning the fact....
In this blog post we are going to see how we can Extend CDS View Entity, for demo purpose a custom View Entity is created (SAP Standard View Entity is not used): Extension to ABAP CDS View Entity is needed when there are some changes needed which are part of custom requirements… In this....
Through SAP ADT or Hana Studio, we can load the CSVFlat file without the need to use SAP S/4, facilitating the process and gaining speed in execution. Let’s see how to do this procedure. Imagine performing the following task: Import some CSVFlat files to Z tables in the S/4 Hana environment. The most common possibilities....
1. Introduction This simple tutorial should give you an idea of how to consume SAC APIs in ABAP and post the result to BW ADSO. SAP exposes a few data-export APIs. API documentation can be found in the following links; https://api.sap.com/package/SAPAnalyticsCloud/rest https://help.sap.com/docs/…SAP Analytics Cloud REST API 2. Use-case Store changelog for SAC metadata Enhance existing....
This blog post is about automatic documentation of OData entities. As I already explain in my previous blogs, I don’t like wasting time on tasks that can be done automatically (and in a more efficient way) by some tools. On another side, I really like, when I use some OData entities, to see a nice....
Introduction In my previous blog post, I have provided a detailed guide on how to add custom Date/Time Field in your FPM Application. In this blog post, you will learn how to enhance the Overview screen and add custom field as well as Standard hidden fields in your active Query in the Overview Screen. POWL....
Deploying Fiori List Report and Object Page application to Cloud Foundry account. We have created Fiori List Report and Object Page Application as MTA Project using Business Application Studio. Below video shows step by step detailed process of deployment. Step By Step Guide Create and Deploy MTA Project What is MTA Project MTA....
In JAVA, we have FINAL for making sure, a variable is assigned only once. This blog is about how to emulate this concept with ABAP After reading, have a look at part two of this blog! Motivation Often, when I decide to extract a complex method into a new class, I struggle with the fact, that importing....
Part 02 – ECC / Abap flavor This blog post is the second par of this one: Previous blog (part 01) In this part, I’ll show you how to get the PlantUml schema definition of an OData entity defined on the Abap stack (on-premise system for example). Thanks to the transaction SEGW, you can define and....
Dear Techies, In the recent past, I have come across a few customer requirements for appointment scheduling and vehicle management. Though our team is happy that all the requirements are met using standard EWM DAS or Dock Appointment Scheduling, our Customers identified a few fields that are irrelevant to their business and that makes the....
Hello, In this beginner blog post we are going to see how to perform field Validation in ABAP Restful Application Programming Model. Ref: https://help.sap.com/doc/abapdocu_cp_index_htm/CLOUD/en-US/index.htm?file=abenbdl_validations.htm Field validation is used almost in all of the applications, used to validate Objects to keep data consistent or we can say for data consistency. Once the validation is....
Over past years SAP customers have heavily extended and modified SAP solutions. There are SAP ERP systems with a few million lines of custom code. During a system conversion to SAP S/4HANA or a migration to SAP BTP ABAP Environment customers want to reuse the existing custom code. Simplified the custom code migration process looks....
This year the ABAP Development Tools in Eclipse (ADT) is celebrating its 10 years jubilee. One successful decade is over and the path to the future is still with the Eclipse-based ABAP IDE! Congratulations! Meanwhile the ABAP Development Tools in Eclipse has made its way to become a very efficient, mature and feature rich development....
Holla, In this blog series i would like to share how to create Custom Tile for any Custom Analytical Queries. Below is the apps involved Custom Catalog Extension View Browser PART 1: Get the Query Information 1. Go to View Browser Apps 2. Search for the Query name here we are....
In part one of this post, I described, how to build a class containing public read-only attributes so we can imitate the FINAL attribute concept of JAVA. Applying this in my daily development work, I came to a slight modification of this approach that uses one class per attribute. To keep the effort low, I use a....
This article is the successor of my previous blog ‘about System error at Adobe form processing‘ to deal with adobe form processing exceptions during a “Render” operation. The detail of this error message could be like below: com.adobe.ProcessingException: com.adobe.ProcessingException: 0 : InvalidDataException: Xml parsing error: not well-formed (invalid token) (error code 4), line 1, column....
In this beginner blog post we are going to see how to add Determination Functionality in ABAP Restful Application Programming Model. Ref : https://help.sap.com/docs/BTP/923180ddb98240829d935862025004d6/6edb0438d3e14d18b3c403c406fbe209.html Determination in ABAP Restful Application Programming Model is used to determine something at runtime, when Trigger condition matches. Determination is always invoked by Business Object Framework. Determination always defined....
Introduction Hello Guys, I myself Vivek with 16+ years of rich experience in SAP and specialized in SAP Fiori/UI5 Development. My major focus will be in the digital transformation projects. Eligible Readers SAPUI5 developers, Consultants, Solution Architects and basically anyone is working on Digital Transformation Projects. When the readers need this blog? One of the....
This blog is the follow up blog for part 1 on downloading the GOS attachments and now we will be uploading and attaching a file to a specific document. This is like the reverse process of the downloading GOS attachments. Flow is as below. Choose the file from the desktop and this can be done by some....
Hi SAP Community This Article explains code about how to download Report output in Excel through Program directly. In case ALV report Display is not required only Excel download is required. Excel Output will be similar as we download through List >> Export >> Spreadsheet options Shown as below. After Report Execution File gets....
The world today witnesses a massive digital transformation, impacting organizations globally through fast-evolving business models. Likewise at SAP, key products and solutions are advancing with all the more flexibility and robustness. To enable this agility within the foundations of ERP, has repositioned its flagship product offering to a new ‘digital-core’ in the form of S/4HANA.....
Introduction In most Projects you will work in SAP there will be a requirement to find the following Find SAP User id from Email address Find Email Address from SAP User id. Find Full name of a SAP User Id Find Full name of Email address Solution With the introduction of out of the....
Ever wondered how to get out your inline created dynamic table out of your method / sub procedure? As known, only references can be passed through a method interface. But I failed always, because the referred table was empty outside of the method (freed stack) because it is created on stack memory which is only....
In this beginner blog post we are going to see how to work with Feature Control – Action in ABAP Restful Application Programming Model. Dynamic Feature Control with Action Ref : https://help.sap.com/docs/BTP/923180ddb98240829d935862025004d6/a5055eef86fa492d99a29b3a9c7c2b88.html Feature Control : Feature Control is used to control the Fiori UI. Feature Control is used to send information to....
In SAP R/3 system, customer master data/vender master data transactions such as FK01/FK02/FK03/XK01/XK02/XK03/FD01/FD02/FD03/XD01/XD02/XD03 are enhanced with country specific / localization requirements with the help of Business Add-In (BAdI) technology. In the customer/vendor master record dialog the fields are admitted via country-specific sub-screens into the maintenance of the customer/vendor master. The Standard customer/vendor master is informed....
In this blog post I will showcase a simple example on Developer Extensibility in S/4 Cloud System along with the setup. Problem Statement I will extend the standard Manage Purchase Requisition App using released BADIs to add validations checks. In our example I will add validation to check and throw an error if the quantity....
Introduction With the introduction of Three System Landscape(3SL) in SAP S/4HANA Cloud, developers will now be able to create development projects via Eclipse IDE with the help of ABAP Development Tools (ADT) In this blog, I will take you through a simple example of how to add a screen validation to a Custom field created....
Introduction: This Blog is about to how to change the approver change if an employee submit his Leave Request using standard Fiori Leave Request Application. In my requirement, we need to change the approver when employee request his leave request. Below are the steps we followed and able to achieve the requirement as required. First....
Introduction SAP TM optimizer uses the Planning Profile to plan the Freight Units into Freight Order using the best possible way on available Vehicles via available routes. Planning profiles are created to check how system needs to do the planning and what we do in planning profile that system use to get the desired result....
Hope you are doing great!! And wishing you a very happy read. We see that AI is touching almost every corner and helping people in getting their job done easily. Yeah AI is trying to fill the gap of repetitive activities easily and providing helping hands to the users by giving them the exact....
I’d like to share again a tool with You – contributing back – from whom I received many times help in the past 2 decades. One of my colleagues needed help in release management few days ago. I remembered something from the past I developed to support such work, what I did previously as well.....
In this blog post, I propose a little program to detect all DDIC structures and tables with invalid Enhancement Categories. It’s largely inspired by the SAP program Z_CHECK_ENH_CAT provided in the note 2205573 – Checking enhancement category for data dictionary objects with SAP tool, but this SAP program is to analyze just one given DDIC structure or....
I am writing this post how we can combine AppGyver and SAP CAI together to achieve business goals. Let’s see how AppGyver can help in increasing the productivity in your day-2-day business activities – you can be so close to your relevant information which can improve decision making and off-course a fast way to take....
Hello SAP Community Members, My Name is Zeshan Shafaqat Expert in SAP BI/BW and SAP Analytics Cloud. I found many peoples that having trouble that how can we install Eclipse and HANA Tools on their PC. In this Blog, I show you screenshots of how can you install Eclipse and HANA Tools on your PC.....
Co-Authored with Prashant Sharma Extensibility covers a broad spectrum of topics that allow customers and partners to adapt standard business software to their business needs. This includes business configuration, integration, custom fields, and logic, layout adaptation of user interface (UI), forms, and reports. It also covers custom terminology and translation for customer-specific applications. (SAP, 2022) Extensibility in....
Introduction: The purpose of this blog is to create a smartform with both English and Arabic Scripts. Prerequisites: The logon language to create the smartform should be AR. If the form is created in AR no need to reverse the text implicitly. The system will take care to reverse the string automatically. T015Z table should....
One requirement for the MRP run is: When the scheduling agreement quantity runs out, prevent MRP from using the scheduling agreement to meet the new requirements, but by generating new purchase requisites instead. Few key quantities here: Target quantity from the scheduling agreement (EKPO-KTMNG) which is the total quantity agreed with the vendor. And MRP will....
Introduction: A common requirement while coding in SAP TM can be to fetch the document flow of a Freight Order. The document flow tab in the Freight Order screen shows the documents related to a Freight Order, like the Freight Unit, Sales Order, Delivery, Invoice, Freight Settlement Document, etc. While coding in ABAP, fetching the....
In this post ,I would like to share with you, how to use dynamic SO10 text elements on standard Adobe form that you maintain with SFP tcode and also show you, how to achieve same thing with BRF+ Adobe form outputs those need to be maintained in Adobe Live Cycle application. SFP PART For....
Hello, my fellow ABAPers, In this blog, we are going to learn about what is Customer/ User exists for any transaction in sap. So it is the place or area where we can add our custom logic which will get executed along with the Standard SAP code. In this case, we are taking the example....
In the last blog we covered “Introduction – Custom Fields and Logic App capability”. Here we will see – “How to prepare and enable your existing custom fields in tables EBAN and EKPO and show on GUI ? “ Here in our case, we have custom fields in EBAN and EKPO. Let’s start with Table: EBAN. Below....
In this blog I am going to explain how to add additional tab and print preview button in MIGO Transaction. Normally in MIGO Transaction there is no standard print preview button available to preview the forms. Only way to preview the Form layout is by using another transaction MB90 only, But there is an way to achieve....
In the last blog we covered “How to prepare and enable your existing custom fields in tables EBAN and EKPO and show on GUI” Here we will learn – “How to publish the PR custom fields on Standard Fiori App – “Manage Purchase Requisition – Professional”“ Here we go by the Adapt UI option. This approach....
Ever since the CL_SALV_TABLE class was released, one question was ever present – how to make it editable? For years the answer lied in taking advantage of the inheritance of the CL_SALV_TABLE, as presented in this post: http://zevolving.com/2008/12/salv-table-10-editable-salv-model-overcome-the-restriction-of-salv-model/. I was among those using this method. But then the Release 756 came. And suddenly, all ALVs using....
Hello, In this blog post we are going to see how we can read Domain values using CDS Views. Scenario : When we have limited number of values which are not going to change (not dynamic), in that case we can use SAP Standard CDS View which will return all the values available in Domain. ....
With the activation of ADS Font Trace by referring to Note 1717189, we can get the font processing log following the steps provided by 2216427 – How to generate a PDF with Additional Information – ABAP Scenario. We can find a few files as attachments in generated PDF file below: SAP Interactive Forms by Adobe Render Error....
Use Case – As a maintenance technician, I want to be able to see all the open , Closed , In progress , Completed and Archive notifications on a functional location so that I can check if the malfunction has already been reported. Inputs : • Plant (single value) • Functional location (single value) •....
Custom fields can be enabled at GUI or FIORI launchpad either using CFL (Custom Fields Logic) or transaction code SCFD_EUI. In this blog I will be demonstrating the prominence of SCFD_EUI in enabling the custom fields with F4 help at the backend (SAP GUI). Why to use SCFD_EUI instead of CFL? There are few advantages....
One ALV with headers and a second with details of selected row – quite a common use-case. And won’t it be practical to have all this in one screen, so users can check details quickly without constant back and forth between screens? This was indeed what users wanted and what I implemented for them. ....
Welcome to the technical series of the SAP Transportation Management where we are aiming to learn basic codes that are used in SAP TM. In this blog post, we will see how to update data in Freight order document through enhancement. Our requirement here is to update the means of transport in freight order document....
Hello Everyone, Welcome to the technical series of the SAP Transportation Management . With this blog post, we will learn how to assign the BRFPlus application which can be used to determine the PPF action profiles dynamically. We had the requirement where PPF profiles need to be determined based on TOR Type. Lets get started....
Unfortunately the ABAP Platform, Developer Edition for Docker is currently not available for installation. But for everyone who still uses it I will quickly describe how you can update the ABAP and HANA License. The blog post by Andre Fischer on How to install a new license in your SAP ABAP Platform Developer Edition isn’t helping anymore as the license that....
We keep getting requirements from businesses to create a Z Process to perform Order , Delivery and Invoicing in the background. Although there are other option like BDC’s, here I am making attempt to do the same using FM/BAPI’s, this might be useful specially for Consultant who have just started working on Developments. The Usage....
SAP has a very interesting feature in S/4 HANA (cloud and on premise both) – E-Mail Templates. In this blog post, we will learn how to embed table with multiple records in SE80 email template. Example: Requirement is to send an email by end of the month to all employees who has pending hours in....
Hello, in this blog, I will talk about the necessary methods and definitions for the use of dynamic tables in a program, dynamic select and how to perform operations on dynamic table. I hope it will be an example for you to create a dynamic table. Before start, dynamic internal table is an internal table....
わけあって、パラメータありCDS Viewが HANA上でどう生成されるかを確認しました。 パラメータありCDS Viewを定義します。DDICが生成される少し古いやり方です。 @AbapCatalog.sqlViewName: 'YSAPTEST00' @AbapCatalog.compiler.compareFilter: true @AbapCatalog.preserveKey: true @AccessControl.authorizationCheck: #NOT_REQUIRED @EndUserText.label: 'Test CDS View with parameter' define view YSAP_Test00 with parameters aaa:abap.dats as select from t000 { $parameters.aaa as TEST } HANAのレイヤではこんなTable Functionが作られています。t-cd:SE11 からDDIC View詳細画面でユーティリティ -> データベースオブジェクト -> 照会で 確認。 CREATE FUNCTION "YSAPTEST00" ( "AAA" NVARCHAR(000008) ) RETURNS TABLE ( "TEST"....
IDOC data extraction method for multiple segments using an RFC Function Module. Introduction In this document, we will discuss the process of extracting the IDOC data from multiple segments and sending it to a target system using an RFC function module. The RFC Function Module is a custom interface to send the IDOC data to....
This blog post explains how to enable CDS data models for C0 developer extensibility, how to find extensible models, and how to extend such a model by means of developer extensibility. It answers the following questions: What is developer extensibility? What is the C0 release contract? How do you design a CDS data model as....
The article described author’s approach for fast and consistent database update. The approach is speeding up development without decreasing of application robustness. About SAP LUW As a rule data of business transactions are updated in several tables (not only in one). It is very important to update all tables or do not update any (it....
Symptom You need AES-GCM (Galois/Counter Mode) or one of the other modes (ECB, OFB, CFB) Encryption/Decryption in ABAP. Problems SAP offers neither solution nor support for this. See 2972991 and 3074516. For GCM you cannot use OpenSSL either. Standard ABAP. Monalisa Biswal has written a blog about AES Encryption. But the standard cl_sec_sxml_writer methods { decrypt / encrypt } support only Cipher Block Chaining CBC. In encrypt you cannot even supply....
In this blog post, we will learn how to expose Standard SAP GUI Transaction in FIORI Launchpad. Here we want to create Tile for standard SAP GUI Transaction i.e. ME42 in Fiori Launchpad First check, if standard Fiori App is available for Transaction ME42, in this case, no standard Fiori app is available, so follow....
There is an old requirement from functional side and end users for having MB5B in ALV grid display format. “Is it possible to display the result of transaction MB5B as ALV gird ?” In this blog I will discuss the steps needed to enable ALV grid display format for tcode MB5B in S4 HANA. Output....
I have not blogged in a good while and figured if I came back, I better drop a banger (that’s what the “kids” call it, right?). Well, I guarantee you, this one is quite a doozy! (that’s what the “old folks” call it, right?). I will worry about which crowd I most appeal to later.....
The SOMIX suite is designed to give developers an overview of complex software landscapes. The suite contains extractors that create a model of the software in the SOMIX metamodel format. The SOMIX model is then used by special tools to create visualizations. Software diagrams can become outdated very quickly if they are maintained manually. In....
I don’t know why but batch verification does not exists on WM mobile screens. I have checked Google and noticed many people are asking same question. Therefore I decided to share my solution with you. If you worked with WM, you would know, WM provides RF Screens to be used by mobile devices with tcodes....
In this blog I will discuss one issue in S4 HANA in PFCG during role creation. Users successfully create Launchpad Group and Launchpad Catalog in S4 Hana launchpad designer. Both catalog and launchpad are available and visible in launchpad designer. But still in PFCG when users are trying to assign Launchpad group following error comes....
Introduction: SAP has provided an extensive set of APIs to integrate and extend its products. APIs would be the way going forward, both in cloud and on-premise environment. As a Developer, we should get familiar with the APIs and start using them for Integration or side-by-side extensions. We can search for all the standard APIs on SAP API Business Hub.....
I think in WM or EWM, if you think “singleton” it often is not right, as we don’t want “one instance per system” but “one instance per LGNUM per system” -> Multiton! Here is an example: CLASS zcl_example DEFINITION PUBLIC FINAL CREATE PRIVATE. PUBLIC SECTION. CLASS-METHODS: get_instance IMPORTING iv_lgnum TYPE /scwm/lgnum RETURNING VALUE(rref_instance) TYPE REF....
I wrote at https://blogs.sap.com/2022/07/01/multiton-example-using-a-singleton-in-wm-oder-ewm-what-about-lgnum/ how – in EWM – I often want to use multiton classes. And as I don’t want to type a lot, I made myself a AdT template. This is it: Spoiler: the variable ${enclosing_object} is what makes it so god! CLASS ${enclosing_object} DEFINITION PUBLIC FINAL CREATE PRIVATE. PUBLIC SECTION. CLASS-METHODS: get_instance IMPORTING iv_lgnum....
Requirement – We need to design the table in sap adobe forms in below format (assume) Header – HEAD1 | HEAD2| HEAD3|HEAD4|HEAD5|HEAD6|HEAD7|HEAD8 with body design as Body – ROW1 | ROW2 ROW3 | ROW4 | ROW5 | ROW6 | ROW7 | ROW8 with the table approach (wizard. Table creation from palette) above is not feasible.....
SAP Vistex Introduction:- Vistex is a third-party tool developed by Vistex Inc. Which was founded in early 1999 and headquartered in Chicago, USA, Vistex solutions have been developed to cater special business needs based on different Industry. It is an embedded SAP Add-On; it is NOT an external application. In other words, it sits on....
Technology evolves in a rapid pace in this modern era. ECP is a niche skill in the world of Human capital management. In ECP, we need to password protect attachments while sending the sensitive data .Otherwise It will create privacy related non compliance issues. This blog will explain the process to send password protected PDF....
Hi i.s.h.med developers Recently I worked with i.s.h.med APIs and discovered that they are well documented in the system, also with some sample programs. There are some available APIs and they are developed under the interface IF_ISHMED_API. The APIs are well documented and with sample programs, but you need to go to the class to....
Since kernel release 7.83, CDS projection views are available in different flavors, specified using the syntax statement PROVIDER CONTRACT. Each flavor has a different feature set and different syntax checks. This blog post describes the available types of CDS projection views and where to find further details. Types of CDS projection views CDS projection view: definition and purpose....
Are you tired of taking the secondary road to your destination? You might feel like this if you’re writing DO or WHILE statements with a READ ... INDEX to loop backwards across the lines of an internal table in ABAP. And if your internal table is a hashed table… you’re almost good to go to turn around. The good thing in....
I faced lots of issues while developing code for PS Module. So as to help ABAP’er as well as Functional I am writing this blog. Introduction In this blog post, we are going to learn about various function modules that are helpful for the Project system. But before going into the list of function modules,....
The ITS mobile application is a vital part of SAP when it comes to accessing SAP from remote locations, especially for scanning data from different types of handheld devices (HHD) using one application. Major challenges in developing ITS applications are related to the shape and size of application screens when we execute them from different....
Life is forcing you sometimes to change the context of composite provider. Many times I had a situation when I have to replace the ADSO to CalcView. But what if somethings goes wrong and you have to recreate assignments for all object once again ? It is not simple, in perfect world there should be....
In ABAP CDS, a special handling for amounts and quantities is implemented. If differs from DDIC amount and quantity handling and it has recently been overhauled. Read this blog post and learn about ABAP CDS amount and quantity fields, conversion functions, and handling of amounts and quantities in expressions. Contents: CDS Amount Field CDS Quantity....
In some cases, we require to maintain the texts related to the products maintained in the warehouse. These texts can be any such as the how the product maintained, customer feedback, quality/inspection notes, vendor feedback etc. Using this simple but powerful functionality, the long text can be maintained in EWM product master by enhancing the....
Function Module ‘WS_DELIVERY_UPDATE_2’ can be used to make changes in Deliveries. Here are just a few examples for reference purposes. 1. Update specific field for delivery Take update the bill of lading as an example. (Check the parameter NICHT_SPERREN_1 which is Flag: Do not block delivery. Passing a ‘Y’ to this parameter prevents locking of the preceding....
Hello everyone, I want to share with you some information (hopefully useful) about exporting a table to a .csv file in ABAP. While debugging, I noticed that many people don’t use the standard SAP_CONVERT_TO_CSV_FORMAT Function Module to export tables to a .csv file. Investigating the reason I saw that in the versions of SAP I use there....
Calling all ABAP Developers! 📢 As SAP celebrate its 50 year anniversary we invite you to join us by creating a fun video to let us know what you love the most about ABAP! It’s very simple! So be part of it and tell us what you love about ABAP! Send us a short self-recorded video....
Users now demand information in real-time. If you have to refresh the page to get new information, it’s already too late. Luckily, a protocol supported by all modern browsers to allows for direct data exchange: WebSockets. Using ABAP Websockets, my colleague Basant Singh and I have explored and created a basic application in UI5. So let’s get....