Overview for Implementing Custom Logic in SAP Marketing Cloud Welcome to the blog posts of the SAP CX Services Marketing Practice. We are happy to share with you our experience around Marketing Business, Technology and Analytics. You want to see more blogs from us? Click here. In this article, you will learn about the available options....

In the fast-paced world of SAP development, buzzwords can often create confusion and uncertainty. Among these buzzwords, SAP BTP – ABAP Environment, Steampunk, ABAP Cloud, and Embedded Steampunk have emerged, leaving developers searching for clarity. In this SAP SCN blog post, we aim to demystify these concepts, providing a clear understanding of SAP BTP – ABAP Environment, Steampunk, ABAP Cloud,....

このブログ投稿では、SAP S/4HANA Cloud, public editionにおける開発者拡張の実装方法について実際の操作画面ベースにステップバイステップでご紹介します。コンセプトなどの概要情報については、わかりやすく紹介されているブログをリンクしていますので、ぜひそちらも参照ください。なお、SAP S/4HANA Cloud, private edition, SAP S/4HANA (オンプレミス)でも方法は同じです。 開発者拡張とは 開発者拡張(Developer extensibility)は、ABAP開発者によって、SAP S/4HANA Cloud システム内で SAP オブジェクトの拡張および独自のカスタムオブジェクトの作成ができる、というのものになります。 キーユーザ拡張よりも複雑な拡張・カスタム開発が可能であり、かつ SAP S/4HANA Cloud 内でデータを直接参照することができるため、SAP Business Technology Platform 上の Side-by-Side 拡張よりもより SAP オブジェクトと密結合した拡張機能を実装できます。 ただし従来のクラシック拡張とは異なり、開発者拡張(Developer extensibility)では、コアとカスタムコードを分離するために、従来の実装ルールより制限が多い新しい実装ルールへの準拠が必要となります。 更に詳しい内容はこちらのブログで紹介されていますのでご参照ください。 開発者拡張における ABAP とは 新しい実装ルールの主なポイントとしては、下記の3点が挙げられます。 更に詳しい内容はこちらのブログで紹介されていますのでご参照ください。 SAP オブジェクトの使用制限 – リリース済オブジェクト (Public API) のみ使用可能 Release contract という属性でリリースステータスが定義され、 未リリースのオブジェクトは使用できず、構文エラーになります。 SAP オブジェクトの拡張は事前に定義されリリースされている拡張ポイントのみ モディフィケーションは許可されていません。 Restricted....

Prior to the release of Developer Extensibility (Embedded Steampunk) integration scenario developers working with S/4HANA Cloud public edition were restricted to the use of released APIs. A recent blog post and tutorial published by Dennis Leslie demonstrates how it’s now quite straightforward for customers to build their own Custom APIs. In this blog post I will share some....

End of last year we launched ABAP Cloud and the new ABAP extensibility guide for SAP S/4HANA:  ABAP Cloud | SAP Blogs  How to use Embedded Steampunk in SAP S/4HANA Cloud, private edition and in on-premise – The new ABAP extensibility guide | SAP Blogs  Embedded Steampunk – Some more details for ABAP developers | SAP Blogs ....

You’ve already been introduced to ABAP Cloud by Boris’s Blog Post, if not, I highly recommend reading it. In this blog post, you’ll gain insight into the architectural idea of ABAP Cloud and its essential parts. If you are directly interested in the supported technical use cases and recommended technologies, you can find them in this complementary....

Last year SAP announced the availability of the new ABAP Cloud development model in SAP S/4HANA Cloud, private edition and SAP S/4HANA. More information about that can be found in Boris Gebhardt’s blog post (“How to use Embedded Steampunk…”). Part of the announcement is the new ABAP extensibility guide. In this guide the 3-tier model was introduced to establish ABAP Cloud in SAP....

Below details to add the new field in TC ME91F as per the business requirment . and it’s very easy to process we follow the below steps .   Program name : SAPDBENM structure : MEREP_OUTTAB_MESSAGES   Append the structure: MEREP_OUTTAB_MESSAGES with new fields like below Create the enhancement spot in program SAPDBENM in the FORM put_ekko.....

有客户提出需求,在为采购订单预制发票时,进行检查,对于采购订单行项目 Account Assignment Category (科目分配类别) 是 Y(3rd Party W/O SN), 如果 Deliv. Compl. (交货已完成) 未被勾选,此时用 MIRO 开票需要提示报错:收货未完成,不能开票。 本文即对该需求展开分析,探索解决方案。 如果没有果 Deliv. Compl. 未被勾选,此时用 MIRO 开票需要提示报错 解决方案: 尝试通过自定义逻辑,写一个 BAdI 来满足需求。 分析步骤: 1. 以前也帮助处理过客户的一个关于开票的需求,因此我们这次需要用到的增强逻辑和之前的一样。参见这篇 Blog :在 SAP S/4HANA Cloud 中通过自定义逻辑检查预制发票的付款条件与供应商主数据中的付款条件是否一致 | SAP Blogs 首先,我们需要在 SAP S/4HANA Cloud 系统的应用 – 自定义逻辑里,新增增强实施。根据业务场景,选择下图中的业务上下文以及业务加载项描述,填写好实施描述以及实施标识。 新增增强措施 2. 在自定义逻辑里新增增强实施完成后,我们需要找到一个字段来获取采购订单的 Account Assignment Category 和 Deliv. Compl. ,我们需要在 CDS Views 里进行查找和检索。I_PURCHASEORDERITEMAPI01 这个 CDS View 里有助于检索采购订单行项目的详细信息,其中我们可以找到字段 ACCOUNTASSIGNMENTCATEGORY ,这个字段即 Account Assignment Category ,我们要判断这个字段是不是 Y 。字段 ISCOMPLETELYDELIVERD ,这个字段就代表了 MIRO 中的 Deliv. Compl. 字段。 3. 目前需要作为判断条件的字段都已经找到了,但我们还需要作一个主数据和....

Hi and welcome to my next SAP Community blog post. This time I come to you with an easy to implement enhancement, which will forever change your lives as ABAP developers. 😉 How many times have you struggled with the ToCs cluttering your list of transports in the Versions Management view? Now there is a solution....

The world of SAP extensibility can seem complex and challenging, especially for those new to the topic. To help break down the concepts and make them more digestible, I’ve created a fun and relatable analogy involving a coffee shop. In this article, we’ll explore the different types of SAP extensibility and provide examples of how....

Experts, before getting into the topic, let’s understand the motivation and purpose of the new modern extensibility options defined by the SAP for SAP S/4HANA Public, On-premise, and PCE editions. Motivation SAP S/4HANA extensibility strategy update comes with lots of benefits for traditional ABAPers and overall benefits for operating in a cloud-first environment. There is....

In this blog, you will learn how to use the Cloud BAdIs in sales order inbound and outbound EDI processing. Background I’m working on the SD-SLS-EDI component for SAP S/4HANA Cloud. Our most important topic is about EDI Integration Between Buyers and Suppliers. In this blog, I’d like to share some information with our community about....

During ABAP coding in many occasion we need to create dynamic table. Similar situation can be handled during creation of custom entity by using annotation @ObjectModel.dynamic Use case: In SAP S/4HANA create a custom entity that selects data from a dynamic table based on a parameter using the ABAP CDS framework Steps: Define a data type....

As you for sure already know, ABAP Cloud was announced at SAP TechEd 2022 and was part of the Juergen Mueller’s day 1 and Philipp Herzig’s day 2  keynotes. ABAP Cloud is the ABAP development model to build cloud-ready business apps, services, and extensions on the SAP products SAP BTP ABAP Environment, SAP S/4HANA Cloud, public edition, and SAP....

As we all know by now, SAP S/4HANA Cloud ABAP Environment is the official name for embedded Steampunk and is now can be used to do cloud ready developments in S/4HANA On-Premise also. Development of custom object can be made cloud compatible by changing the ABAP language version to “ABAP for Cloud Development” in the....

There are many FM’s to get tax details from external system. Few of them are below and what are details to pass to get exact tax details CALCULATE_TAX_FROM_GROSSAMOUNT Parameters to pass: I_BUKRS – Company Code I_MWSKZ – Tax Code I_TXJCD – Tax Jurisdiction Code I_WAERS – Currency I_WRBTR – Amount CALCULATE_TAX_FROM_NET_AMOUNT Parameters to pass: I_BUKRS....

In this post blog, I will show you how change to line items in asset document for the asset accounting system that allows you to differentiate accounts based on fixed asset type and cost center. This method can be applied to SAP S/4HANA version 1909 and later. In order to make necessary changes we need....

When sometimes, we want to get inside the debug screen but ‘/h’ is not always work, for example in the pop-up screen. SAP do not allow you to write the t-code ‘/h’ so for this kind of situations..   Drag&Drop Debugger is the best way to solve !! Let’s talk how can we use it.....

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....

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....

SAP S/4HANA を拡張する方法として新たに登場した「開発者拡張 (Developer extensibility)」が、SAP S/4HANA Cloud, private editionおよび SAP S/4HANA (オンプレミスを意味します)でも利用可能になったことをご存じでしょうか? SAP S/4HANA Cloud, public edition: 2208 リリースから使用可能 SAP S/4HANA Cloud, private edition および SAP S/4HANA: SAP S/4HANA 2022 リリースから使用可能 これで SAP S/4HANA 全てのABAPプラットフォームで開発者拡張が使用できるようになり、SAP S/4HANA Cloud, public editionと同じ拡張手法を使用することができます。 このブログ投稿では、SAP S/4HANA (オンプレミス)における開発者拡張とその使いどころについてご紹介します。なお、SAP S/4HANA Cloud, private editionでも状況は同じです。 開発者拡張の概要についてはこちらのブログ投稿で紹介していますので、ご参照ください。   オンプレミスにおける開発者拡張の実装ルール ABAPクラウド開発モデルとは? SAP S/4HANA で開発者拡張が一般リリースとなりましたが、開発者拡張の実装ルールは SAP S/4HANA....

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....

RAP Extensibility has been released with ABAP release 7.57 (OP). SAP-delivered RAP BOs can be extended by customers. Customers can add extension fields (field extensibility), behavior (behavior extensibility) and extension nodes (node extensibility) to RAP BOs by means of developer extensibility. This blog post is about C0 developer extensibility for CDS behavior definitions (BDEFs). It....

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 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....

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....

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....

This blog post will provide the steps to implement an OData service using SADL framework and how to reference an SAP ABAP CDS view in SEGW Gateway Builder. Introduction As a developer, we are already familiar with the Gateway Service Builder (SEGW) tool, also we know the different ways to create and model an OData....

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....

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....

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....

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....

In this blog post, I want to provide some answers for frequently asked questions on ABAP Language Versions. 1. What is an ABAP language version? An ABAP language version is a subset of the full ABAP language set. It provides: Restricted syntax: only a well-defined part of the ABAP syntax tree is allowed in a....

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....

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....

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....

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....

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....

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.....

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....

When discussing the extensibility options (e.g. of SAP S/4HANA Cloud, but also of other standard business software) you may hear the terms loosely and tightly coupled extensions. When you have a closer look, these terms have (at least) four different aspects: Lifecycle: how is the lifecycle of the extension coupled to the lifecycle of the....

SAP S/4HANA Cloud の登場とともに、SAP S/4HANA を拡張する方法としてキーユーザ拡張・Side-by-Side extensibility が使われてきました。今後、もう一つの選択肢として Developer extensibility が使えるようになることをご存じでしょうか? このブログ投稿では、SAP S/4HANA 拡張手法の一つとして今後提供が予定されている Developer extensibility (通称 Embedded steampunk) の概要についてご紹介します。   Developer extensibility とは? いま提供されている拡張手法 2022年6月現在、SAP S/4HANA Cloud の拡張手法としては、以下の2つが提供されています。 ・In-app extensibility のキーユーザ拡張 ・Side-by-Side extensibility SAP S/4HANA Cloud での拡張性 In-app extensibility は、SAP S/4HANA Cloud システム内での拡張となります。 こちらは別名キーユーザ拡張とも呼ばれ、キーユーザとなるビジネスユーザや導入コンサルがローコード/ノーコードツールで比較的容易に拡張していくことを想定した拡張手法です。標準アプリケーションの拡張・一部カスタムオブジェクトの作成が可能で、拡張の場合は事前に定義された拡張ポイントのみを使用できます。 SAP S/4HANA Cloud システム内部での拡張となるため、システム内のデータを直接参照することができ、SAPオブジェクトと密に結合した拡張を実装できます。 一方、Side-by-Side extensibility は、SAP S/4HANA Cloud システム外での拡張となります。 SAP Business Technology Platform....

I’ve created a plugin to ADT, that runs a few proprietry function modules on a back end system. These function modules perform security specific code scans. Obviously, you can’t actually run this back end without that software being installed, however, I think it could be useful to see how I’ve achieved certain functionality. The plugin....

Purpose of this blog This blog intends to provide the initial guide for functional experts to play with SAP Fiori and new apps in S/4HANA. SAP Fiori and new apps in S/4HANA are the same positionings as SAPGUI Transaction. SAP Fiori launchpad is the alternative to SAPGUI easy menu from which SAP Fiori and other apps are....

Customer fields in process order transactions (COR1/COR2/COR3) : PPCO0020 Screen Exit Objective In this blog post we are going to create a custom tab for Process Order transactions (COR1/COR2/COR3) with below 3 additional fields: Reason for Schedule Variance (Drop down options) Schedule End Date (Non-editable) Schedule End Time (Non-editable) Step-by-step procedure: Part 1: Custom field....

This blog post is relevant to scenario wherein standard service is not available as a SEGW project, Standard service does not highlight the Consumption CDS view.   Select the SAP Fiori Application. Get the OData service details. Go to Service Implementation. Go to DPC class. Put breakpoint in GetEntitySet Method Run Get Call. Under _get_data_table_container....

Introduction In Every Projects you go there will be requirement to enhance the Standard Screen to add some new Custom Fields. The general approach you do use Append Structure and add your Custom Fields. Sometime while analysing it may happen that you have the Append Structure name but you cannot find the Actual Structure it....

Integrate the ABAP environment of the SAP Business Technology Platform with SAP S/4HANA Cloud in a few clicks and some oldskool copy ‘n paste. In this blog post you will find the tutorial video embedded with references and additional information. For the related blog posts, visit Getting Started with ABAP in the Cloud – Update....

Introduction. Using below steps you can add additional URL parameters with dynamic values to your Hyperlink which was created in Content Studio Form. Also you can define a custom field on the campaign level from which you can influence the behavior of few parameters which you set in BADI, or also you can add new....

Introduction Using below steps you can add Longitude and Latitude to any contact before it is created in system. The logic is ignored if the incoming payload already has longitude/latitude information in it. the BAdI logic will read the Geo Location from the available free database openstreetmap.org based on the contact’s City and Country and will....

If you observed closely, you might have recognized that we hit the next iteration for a new release upgrade of SAP BTP ABAP Environment again. Given the variety of different areas in which we have released features, I want to share this quick condensed overview with you. As always, please refer to our official release notes page for the....

At the time of discussing client’s pain points and challenges which they are facing or reviewing the ABAP codes we have noticed that many variables are hardcoded or many Z-tables are present in the SAP system for maintenance of data to use in user exits, BADI’s, Reports, Forms, etc. Due to Hardcode, code changes is....

Introduction:In this blog post, I would like to introduce you to the important things that you have to know for using key user extensibility in SAP S/4HANA Cloud, extended edition. Here, I will also compare to a limited extent the features of SAP S/4HANA Cloud, essentials edition with SAP S/4HANA Cloud, extended edition. SAP has....

Introduction As we are moving to SAP S/4HANA the use of SAP Fiori Apps is going to be very popular and mandatory. SAP has delivered over 3000 standard Fiori Apps so it is very evident you might get lost with so many Fiori Apps and which one to choose from. The Blog covers all the....

Introduction Every SAP Customers are using a lot of Satellite system hence Integration is very Important. SAP has understood this demand and hence in SAP S/4 HANA we have Standard Webservice related to some BAPIs also. Hence the Technical Consultant will not have build custom Webservice for the Requirements.   Solution How to Find the....