Finding 01
92%
Will SAP customers carry custom code into S/4HANA?
Yes. The research found that 92% expect to carry at least some custom code forward. Among all respondents, 64% expect to retain more than one quarter of their existing custom code.
See what the ASUG team said about custom code carryover and the barriers slowing SAP S/4HANA migration. The webcast also examines Clean Core readiness and where AI and automation fit.
Featuring Marissa Gilbert, Research Director at ASUG
2026 ASUG Research at a Glance
Source: 2026 ASUG Research, 168 qualified ASUG members in North America, April 2026.
ASUG Research surveyed 168 qualified members across North America in April 2026 to understand how SAP customers are managing custom code as they move to SAP S/4HANA.
Most respondents expect to carry some custom code forward. This webcast examines how teams decide what to retain or retire and why testing or poor documentation can slow migration. It also looks at how Clean Core requirements affect those decisions and where AI or repeatable automation may help.
The discussion focuses on preserving custom logic that still supports critical operations while removing code that no longer provides business value.
On-Demand ASUG Webcast
The webinar connects the 2026 ASUG research findings to the decisions SAP teams face when assessing custom code for SAP S/4HANA and Clean Core.
What ASUG members reported about custom-code management and SAP S/4HANA readiness.
How organizations decide what to retain, modernize, decommission or replace.
Why extensive testing and poor documentation slow projects, with integration errors adding further risk.
Where AI can assist with business context and where repeatable automation supports consistent code changes at scale.
How teams can reduce technical debt while preserving custom logic that supports critical operations.
How SAP customers handle legacy code before migration and manage retained code after go-live.
2026 ASUG Research
The research shows that custom code will remain part of most SAP environments after migration. The findings also explain why Clean Core progress remains limited and where organizations expect AI adoption to increase.
Finding 01
92%
Yes. The research found that 92% expect to carry at least some custom code forward. Among all respondents, 64% expect to retain more than one quarter of their existing custom code.
Finding 02
63%
Extensive testing was the most cited challenge at 63%. Poor documentation affected 55% of respondents, while 45% reported integration errors. Early code analysis can help teams identify these issues before remediation begins.
Finding 03
17%
Only 17% reported that their custom code was significantly optimized for Clean Core. Another 40% described their code as somewhat optimized but managed inconsistently. This suggests that many organizations still need an ongoing process for assessing retained code.
Finding 04
74%
The research found that 74% expect their use of AI to increase. The webcast explains why AI can support context-based work while repeatable automation remains better suited to controlled code changes at scale.
Source: 2026 ASUG Research based on responses from 168 qualified ASUG members in North America.
View the Full Research Report →Chief Technology Officer, smartShift
Chief Technology Officer, smartShift
Jagdish is Chief Technology Officer at smartShift. He spent more than 25 years at SAP before joining smartShift, where he leads the AI and automation behind its SAP custom code solutions.
Chief Sales Officer, smartShift
Chief Sales Officer, smartShift
Matt is Chief Sales Officer at smartShift, where he has worked for nearly six years with enterprise SAP customers on S/4HANA transformation and Clean Core programs. He previously worked at S&P and spent many years at Oracle.
Research Director, ASUG
Research Director, ASUG
Marissa is Research Director at ASUG, the Americas' SAP Users' Group, where she leads the research team. ASUG and smartShift have partnered for three years on research into how SAP customers manage custom code.
Webinar Chapters
Jump to the part of the discussion that matters most to your team. Timestamps refer to the on-demand recording.
Marissa Gilbert outlines the third year of joint research between ASUG and smartShift. ASUG surveyed 168 members in North America in April 2026, just before SAP Sapphire, on custom code, AI and automation plans, and Clean Core progress.
Reported challenges are shifting away from cost toward complexity, integration and limits on innovation. Jagdish Sahasrabudhe explains why custom code is moving from a barrier to migration to a barrier to innovation.
Most respondents have brought or plan to bring more than 25% of their custom code into SAP S/4HANA, an increase over 2024. Matt Aucella shares what smartShift sees in a typical system: about 22,000 custom objects, 2.7 million lines of code and up to 40% unused.
Most organizations have only partly optimized toward Clean Core, and practices to sustain it after go-live are inconsistent. Jagdish explains why SAP AI agents and Business Data Cloud need released APIs to reach custom business logic such as pricing.
Extensive testing, poor documentation and integration errors lead the list of migration challenges. Matt explains how outcome-based delivery and repeatable automation focus effort on the code that is actually used.
ASUG members recommend simplifying custom code, investing in upfront analysis and starting early. Jagdish explains why object counts alone miss security and performance risks, and how a Rapid Code Analysis surfaces them.
Business requirements and go-live pressure are the main constraints. Matt covers Clean Core work that can happen during the program, including safe code decommissioning, ABAP Cloud compliance and Custom Field Enablement.
Organizations are applying AI conservatively today, and those still planning their move are shifting toward a hybrid approach. Jagdish explains where deterministic automation fits, where generative AI adds value and why the use case should decide.
See how global enterprises reduced custom code complexity and moved their SAP S/4HANA programs forward with automation.
smartShift manages SAP custom code across its full lifecycle, not only during the initial SAP S/4HANA transformation. The same platform supports Clean Core programs and future upgrade cycles after go-live.
3,500+ transformation projects completed | 4 Billion+ lines of code transformed
Frequently Asked Questions About SAP Custom Code, Clean Core and AI
Clean Core helps SAP AI agents and data services access the customer-specific business logic embedded in custom code. Standard agents may understand standard SAP processes, but they do not automatically have access to custom pricing rules and other proprietary logic. Released APIs and Clean Core-compatible architecture help create the connection these innovations need.
Not exactly. SAP’s agent is already trained, but it may lack the customer- and industry-specific context embedded in your customizations. The custom logic must first be transformed and made accessible so that context can be provided to the agent. This is less about retraining the agent and more about securely connecting it to your business-specific logic.
No. Clean Core does not automatically require moving every customization to SAP BTP. It can include on-stack approaches such as converting older customizations into SAP-approved key-user extensions. More complex developments may be candidates for SAP BTP, but organizations should evaluate each use case and move code selectively.
A high-level count of custom objects will not reveal specific security risks. Identifying those risks requires a detailed code-level assessment. smartShift’s Rapid Code Analysis scans custom code for security, performance, optimization, compliance, and business-related issues, helping organizations understand their exposure before beginning transformation work.
smartShift applies agentic AI to Clean Core use cases such as CDS view transformation. For example, the technology can analyze direct table access, identify an appropriate CDS view, present available options and tradeoffs, and recommend an approach. Similar capabilities can be applied to other Clean Core and custom logic modernization needs.
smartShift provides an ABAP extractor that the customer runs within its SAP environment. The extractor creates an XML representation of the custom code repository, which smartShift uses to perform the analysis and return the findings.
smartShift can provide guidance and recommendations based on its experience working with enterprise SAP custom code. However, it does not currently provide a real-time governance solution that controls code as it is being generated. Its primary focus is analyzing, cleaning, modernizing, and governing the existing custom code landscape.
Yes. Organizations should understand which custom code is active, how it supports business processes, and whether each object should be retired, replaced, remediated, replatformed, or retained. smartShift’s Clean Core Analysis performs this assessment object by object and provides modernization recommendations. It can be delivered as a point-in-time analysis or through an ongoing subscription approach.
No single technology is appropriate for every custom code use case. Generative AI is valuable for creating new code and developing business context, while repeatable automation is better suited to work requiring consistency, security, and predictable outcomes. The webinar recommends a hybrid approach that applies the right form of AI or automation to each use case.
Whether you are preparing for SAP S/4HANA, working toward Clean Core or managing code you retained after go-live, smartShift can help you understand what to keep, what to modernize and what to retire.
Get the latest insights on S/4HANA, Clean Core, custom code, and AI delivered to your inbox.