If you want to provide a user the possibility to select multiple values from a list then you normally have – in other programming languages – a control containing items an the possibiity to mark or unmark them. It’s called a listbox in Visual Basic for example. You eather choose …
Read More »Step by step to run Vue application in BSP
As I mentioned in my blog Is jQuery based UI Framework Obsolete, during one of my onsite support to a local Chinese customer, I discuss SAP UX strategy with their IT team. The team architect is a fan of Vue, who prefers to use Vue in their UI custom development …
Read More »Spotlight on ABAP for SAP HANA – Again
The move from the classical SAP Business Suite to the Digital Core, i.e. SAP S/4HANA, places SAP HANA at the center of the game. The same is also valid when moving from traditional databases to SAP HANA – i.e. SAP Business Suite and SAP Business Warehouse powered by SAP HANA. What …
Read More »SALV Tree(CL_SALV_TREE) Functionalities, Events and Tricks
CL_SALV_TREE is a very useful class to print information on the output screen in the form of a tree. We can view similar kind of information grouped under nodes and can have option to have limited or full access to them. The tabular view enables us to navigate through the …
Read More »Recap ABAP CodeRetreat´s in 2017
After the first attempts of the ABAP CodeRetreat (ACR) in 2016, the format got more momentum in the year 2017. We facilitated 8 free community CodeRetreats and 3 internal company CodeRetreats. In addition to the public CodeRetreat’s for the community, companies have also used this format to try a different …
Read More »R/3 Take a step back into time – ALV Interactive Cut / Paste
Please feel free to comment on a better / different way to do this. I am working with an “older” system. But it makes everything a bit more of a challenge. And I do love a challenge! Requirement: Upload data from a spreadsheet into sales order conditions and a custom …
Read More »POSTING FI DOCUMENTS USING FLAT FILE INTERFACE – SAP FI-CO
Posting FI Account documents is a vital step for any Company to manage business flow. SAP provided different ways to post FI documents. One of the way is using FLAT FILE to upload and post FI documents. Interfacing is one of the techniques used in SAP and of course in …
Read More »Optional interface methods – good or evil?
EVIL! EVIL! Just kidding, read on. I’m very open to major improvements to the ABAP language, mainly because a lot of them allow creating cleaner code – more compact, self-describing and less “crowded” with declarations. But this weapon is two-sided and used improperly can actually do the opposite – armed …
Read More »Merry chrIoTsmas and Happy Holidays!
What is more significant to happy holidays than toys, Lego, happy kids, electronics and an SAP backend? I hope this will inspire more simple innovations, starting small, thinking big. Well what you see in the video is a modified Lego Winter Holiday Train (10254) with a Lego Power Functions …
Read More »How to get ALV filter work for lower case characters
When you are using ALV screen with class CL_SALV_TABLE or CL_GUI_ALV_GRID. The filter is working for some column but not working for the others. After changing the content for this column to uppercase, the filter works again. Solution: I searched on the internet and found that most solutions point at field …
Read More »How to add value help for parameter in ABAP CDS Analytical Query
Hi, in this post I would like to share trick for adding value help to parameter in analytical query. Parameters in ABAP CDS view could be used as mandatory, single value variable, which could be used when split of calculation logic required. By default parameters don’t have value help, like …
Read More »Functional programming in ABAP – immutable variables
I know the title is confusing – of course no functional programming is possible in ABAP. But lately I read a bit about it and I try to adopt some things that seem useful to me. When I read about immutable objects or pure functions (no side effects) for the …
Read More »Extending CDS Queries with CO-PA (WW) Fields
Business Background: Extensibility for CO-PA (WW) Fields The operating concern can be extended with custom characteristics created in KEA5. These fields are also generated in journal entries in the ACDOCA table. However, for some analytical applications which are based on CDS queries, CO-PA (WW) fields can’t be added to the …
Read More »Concatenate multiple records in a single field using ABAP CDS Table Function
“Core data services (CDS) is an infrastructure that can be used to define and consume semantically rich data models in SAP HANA“. The purpose is straight forward but the technical definition can provoke confusion sometimes, especially because we can find two different types of Core Data Services: HANA CDS ABAP …
Read More »Be prepared for the new ABAP programming model in SAP S/4HANA
You’ve surely already heard about the new ABAP programming model for building state-of-the-art, intrinsically SAP HANA-optimized Fiori apps in SAP S/4HANA [If not, then get started here] and maybe even played around with it, but you are still on SAP Business Suite – optimally on SAP HANA. This is the …
Read More »Application Telemetry with Prometheus
In my last blog, I’ve explained about deployment pipeline I built for Continuous Integration and Continuous Delivery in ABAP. Another thing that our team has built was the application monitoring. For our Java Spring Boot services, it can seamlessly integrate Prometheus module in the POM file and then your application is ready …
Read More »Another approach to get the number of records stored in a table in HANA DB
Still used the old way SELECT COUNT(*) to get total number of records stored in a table? If you are using HANA database, there is another approach to achieve the same. In HANA there is a metadata table m_tables which stores the related information: You can find its definition in SAP …
Read More »ADT Feature Request – create mutliple import parameter
During the creation of one of my last methods I came accrosse the missing option to create multiple importing parameter at once. When working with other prefedined components it will be very helpfull to create all inporting parameters in just one action as this is possible with local variables …
Read More »Accessing the extra tabs added in sales order through menu
Introduction: This post will clearly explain you how to access the extra tabs added in sales order through menu bar. At first we add the additional tabs in the sales order either through BADI or in the screen of program SPMV45A directly. Next we have to display the …
Read More »ABAP debugger enhancement or how to speed up your test data creation process
Intro In this blog we would like to introduce two open source helpers to create test data for abap unit tests. Regardless of using the test first or test last approach in ABAP, we have to provide test data for our unit tests. This process can be very time consuming …
Read More »ABAP Console Output in ADT
Did you know that you can run executable programs with F9 instead of F8 in recent versions of ADT (SAP NetWeaver Application Server ABAP 7.52)? Running a program with F9 redirects WRITE outputs to an “ABAP Console” in ADT. No SAP GUI is needed any more. But hello? Who who …
Read More »Add extra tabs to the standard transaction for sales and access them through menu bar
Introduction: This post will clearly explain you how to add extra tabs in sales order or standard transactions and display the tab name as the menu item in order to access them through menu bar. In this post let us see how to add additional tabs in sales order header through BADI. …
Read More »Be prepared for the new ABAP programming model in SAP S/4HANA
You’ve surely already heard about the new ABAP programming model for building state-of-the-art, intrinsically SAP HANA-optimized Fiori apps in SAP S/4HANA [If not, then get started here] and maybe even played around with it, but you are still on SAP Business Suite – optimally on SAP HANA. This is the …
Read More »ADT Feature Request – create mutliple import parameter
During the creation of one of my last methods I came accrosse the missing option to create multiple importing parameter at once. When working with other prefedined components it will be very helpfull to create all inporting parameters in just one action as this is possible with local variables …
Read More »5 Use Cases of GROUP BY for Internal Tables
ABAP developers target a moving Netweaver platform (7.0, or 7.02 or 7.31 or 7.40 or 7.5x or the Cloud) where the state of the art method to shoot yourself in the foot is a contest between vintage idioms and idioms using recent additions to the language. * Add line to …
Read More »SAP PO Error Handling using BADI ME_PROCESS_PO_CUST
This Blog Talks about handling custom errors when creating/changing SAP Purchase orders both at header level and item level. It also tries to explain error handling using the standard Macros mmpur_context and mmcnt_context_badi. Header Level Error Handling using Method PROCESS_HEADER of the BADI Make sure you add the include which holds Macors for message …
Read More »Find your way to the BOPF
Last year I set a learning path to catch up with SAP development tools and techniques that in spite of being around for a while now, the comfort zone was just too comfortable to step out, until the breakthrough came in and I realized I didn’t want to be left …
Read More »Uploading The ZDEVELOPER Role To Your Developer Edition, 751
If you previously worked with AS ABAP 750, developer edition, you may have noticed that the Start menu in 751 looks a bit different: The ZDEVELOPER role is missing: This role is not essential – you can still develop happily without it, but it is a convenient way to access …
Read More »ABAP goes Agile – and the Business Suite?
It was a big announcement at SAP TechEd Las Vegas: ABAP will be available in SAP Cloud Platform within the next years. Looking forward to the SAP Cloud Platform, ABAP will meet there all the cool new kids on the block – Blockchain, Internet of Things, Machine Learning and Big …
Read More »Getting started – Open sourcing ABAP code
At the recent #SAPTechEd I had a few questions about how to get started open sourcing ABAP code, I’ve collected some of the questions and answers in this blog. Why If you have some cool ABAP code laying around, consider open sourcing it, it does not have to work, …
Read More »