<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>modification &#8211; SAP EWM Help</title>
	<atom:link href="https://www.sapewmhelp.com/question-tag/modification/feed/" rel="self" type="application/rss+xml" />
	<link>https://www.sapewmhelp.com</link>
	<description>SAP EWM questions answered by experts — ABAP, S/4HANA, warehouse management</description>
	<lastBuildDate>Fri, 12 Sep 2025 20:09:17 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	<generator>https://wordpress.org/?v=7.0.4</generator>
	<item>
		<title>Enhancement vs Modification in SAP</title>
		<link>https://www.sapewmhelp.com/question/enhancement-vs-modification-in-sap/</link>
					<comments>https://www.sapewmhelp.com/question/enhancement-vs-modification-in-sap/#respond</comments>
		
		<dc:creator><![CDATA[DPM125]]></dc:creator>
		<pubDate>Fri, 12 Sep 2025 20:09:17 +0000</pubDate>
				<guid isPermaLink="false">https://www.sapewmhelp.com/?question=enhancement-vs-modification-in-sap</guid>

					<description><![CDATA[Aspect Enhancement 🚀 (Safe) Modification ⚠️ (Risky) Definition Extend standard SAP without changing its code Change SAP standard code directly Upgrade Impact Upgrade-safe ✅ Upgrade issues ❌ (need rework) Where Used User Exits, BAdIs, Enhancements Direct changes in SAP standard objects Maintainability Easy to maintain Hard to maintain Example Add custom field validation Change standard [&#8230;]]]></description>
										<content:encoded><![CDATA[<table>
<thead>
<tr>
<th>Aspect</th>
<th>Enhancement 🚀 (Safe)</th>
<th>Modification ⚠️ (Risky)</th>
</tr>
</thead>
<tbody>
<tr>
<td><strong>Definition</strong></td>
<td>Extend standard SAP without changing its code</td>
<td>Change SAP standard code directly</td>
</tr>
<tr>
<td><strong>Upgrade Impact</strong></td>
<td>Upgrade-safe ✅</td>
<td>Upgrade issues ❌ (need rework)</td>
</tr>
<tr>
<td><strong>Where Used</strong></td>
<td>User Exits, BAdIs, Enhancements</td>
<td>Direct changes in SAP standard objects</td>
</tr>
<tr>
<td><strong>Maintainability</strong></td>
<td>Easy to maintain</td>
<td>Hard to maintain</td>
</tr>
<tr>
<td><strong>Example</strong></td>
<td>Add custom field validation</td>
<td>Change standard pricing logic inside SAP program</td>
</tr>
</tbody>
</table>
<p>&nbsp;</p>
<h3 data-start="130" data-end="177"><strong>Scenario: Sales Order Creation (VA01)</strong></h3>
<p><strong>Business Requirement:</strong><br />When creating a <strong>Sales Order</strong>, the company wants to <strong>block the order if the customer has overdue invoices</strong>.</p>
<hr />
<h3 data-start="330" data-end="379"><strong>Solution with Enhancement (Recommended)</strong></h3>
<ul>
<li>
<p>Use a <strong>User Exit</strong> or <strong>BAdI</strong> (e.g., <code>USEREXIT_SAVE_DOCUMENT</code> in program <strong>MV45AFZZ</strong>).</p>
</li>
<li>
<p>In the exit, add custom logic to check customer overdue status from <strong>tables BSID/BSAD</strong>.</p>
</li>
<li>
<p>If overdue invoices are found → issue an error message and stop the save.</p>
</li>
</ul>
<p><strong>Result:</strong> Standard SAP program stays intact. Upgrade-safe.</p>
</p>
<p>IF lv_overdue = &#8216;X&#8217;.<br />MESSAGE e001(zmsg) WITH &#8216;Customer has overdue invoices. Sales Order cannot be saved.&#8217;.<br />ENDIF.</p>
</p>
<h3 data-start="849" data-end="903"><strong>Solution with Modification (Not Recommended)</strong></h3>
<ul>
<li>
<p>Directly change the standard SAP program <strong>SAPMV45A</strong>.</p>
</li>
<li>
<p>Insert custom code inside the <code>SAVE_DOCUMENT</code> routine itself to check overdue invoices.</p>
</li>
<li>
<p>This alters SAP’s original code.</p>
</li>
</ul>
<p><strong>Risk:</strong></p>
<ul>
<li>
<p>After a system upgrade, SAP may overwrite your changes.</p>
</li>
<li>
<p>You’ll need to re-implement modifications manually, increasing maintenance cost.</p>
</li>
</ul>
<h5><strong>Key Difference in This Example</strong></h5>
<ul>
<li>
<p><strong>Enhancement:</strong> Code added in a <strong>user exit (safe extension point)</strong> → future upgrades won’t break it.</p>
</li>
<li>
<p><strong>Modification:</strong> Code inserted directly into SAP standard program → risky during upgrades.</p>
</li>
</ul>
]]></content:encoded>
					
					<wfw:commentRss>https://www.sapewmhelp.com/question/enhancement-vs-modification-in-sap/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
	</channel>
</rss>
