<?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>hana &#8211; SAP EWM Help</title>
	<atom:link href="https://www.sapewmhelp.com/question-tag/hana/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>Tue, 05 Aug 2025 19:19:03 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	<generator>https://wordpress.org/?v=7.0.2</generator>
	<item>
		<title>RAP Architecture</title>
		<link>https://www.sapewmhelp.com/question/rap-architecture/</link>
					<comments>https://www.sapewmhelp.com/question/rap-architecture/#respond</comments>
		
		<dc:creator><![CDATA[DPM125]]></dc:creator>
		<pubDate>Tue, 05 Aug 2025 19:18:13 +0000</pubDate>
				<guid isPermaLink="false">https://www.sapewmhelp.com/?question=rap</guid>

					<description><![CDATA[RAP is structured in 3 layers: 1. Data Modeling &#38; Definition Layer Component Purpose CDS Data Model Defines entities and relationships (tables, views) CDS View Entities Provides the foundation for business objects Associations Represent relationships between entities Annotations Define metadata (UI, OData, behavior, etc.) 2. Business Service Provisioning Layer Component Purpose Behavior Definition (.behavior) Defines [&#8230;]]]></description>
										<content:encoded><![CDATA[<p>RAP is structured in <strong>3 layers</strong>: 1. <strong>Data Modeling &amp; Definition Layer</strong></p>
<table>
<thead>
<tr>
<th>Component</th>
<th>Purpose</th>
</tr>
</thead>
<tbody>
<tr>
<td><strong>CDS Data Model</strong></td>
<td>Defines entities and relationships (tables, views)</td>
</tr>
<tr>
<td><strong>CDS View Entities</strong></td>
<td>Provides the foundation for business objects</td>
</tr>
<tr>
<td><strong>Associations</strong></td>
<td>Represent relationships between entities</td>
</tr>
<tr>
<td><strong>Annotations</strong></td>
<td>Define metadata (UI, OData, behavior, etc.)</td>
</tr>
</tbody>
</table>
<p><strong>2. Business Service Provisioning Layer</strong></p>
<table>
<thead>
<tr>
<th>Component</th>
<th>Purpose</th>
</tr>
</thead>
<tbody>
<tr>
<td><strong>Behavior Definition (<code>.behavior</code>)</strong></td>
<td>Defines allowed operations like <code>create</code>, <code>update</code>, <code>delete</code>, custom <code>actions</code></td>
</tr>
<tr>
<td><strong>Behavior Implementation (<code>.abap</code> class)</strong></td>
<td>Implements the logic for those operations</td>
</tr>
<tr>
<td><strong>Validation/Determination</strong></td>
<td>Hook methods to enforce rules or calculate field values</td>
</tr>
<tr>
<td><strong>Draft Handling</strong></td>
<td>Optional support for draft versions of data</td>
</tr>
</tbody>
</table>
<p>3. <strong>Service Consumption Layer</strong></p>
<table>
<thead>
<tr>
<th>Component</th>
<th>Purpose</th>
</tr>
</thead>
<tbody>
<tr>
<td><strong>Service Definition</strong></td>
<td>Groups entities to be exposed</td>
</tr>
<tr>
<td><strong>Service Binding</strong></td>
<td>Publishes the service as an OData endpoint</td>
</tr>
<tr>
<td><strong>UI Consumption (Fiori)</strong></td>
<td>Used in Smart/Fiori Elements apps</td>
</tr>
<tr>
<td><strong>OData V2/V4 Support</strong></td>
<td>RAP supports both protocols (preferably V4)</td>
</tr>
</tbody>
</table>
<p><img decoding="async" class="content-img" src="https://www.sapewmhelp.com/wp-content/uploads/2025/08/rap2.jpg" /></p>
]]></content:encoded>
					
					<wfw:commentRss>https://www.sapewmhelp.com/question/rap-architecture/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>OLAP VS OLTP</title>
		<link>https://www.sapewmhelp.com/question/olap-vs-oltp/</link>
					<comments>https://www.sapewmhelp.com/question/olap-vs-oltp/#respond</comments>
		
		<dc:creator><![CDATA[DPM125]]></dc:creator>
		<pubDate>Tue, 05 Aug 2025 18:54:44 +0000</pubDate>
				<guid isPermaLink="false">https://www.sapewmhelp.com/?question=olap-vs-oltp</guid>

					<description><![CDATA[Feature OLTP OLAP Full Form Online Transaction Processing Online Analytical Processing Purpose Run daily operations Analyze and report on business data Operation Type Short, frequent transactions Complex queries, aggregations Data Volume Large number of small transactions Smaller number of large queries Performance Focus Speed of write operations Speed of read/analysis Data Structure Highly normalized Often [&#8230;]]]></description>
										<content:encoded><![CDATA[<table>
<thead>
<tr>
<th>Feature</th>
<th><strong>OLTP</strong></th>
<th><strong>OLAP</strong></th>
</tr>
</thead>
<tbody>
<tr>
<td><strong>Full Form</strong></td>
<td>Online Transaction Processing</td>
<td>Online Analytical Processing</td>
</tr>
<tr>
<td><strong>Purpose</strong></td>
<td>Run daily operations</td>
<td>Analyze and report on business data</td>
</tr>
<tr>
<td><strong>Operation Type</strong></td>
<td>Short, frequent transactions</td>
<td>Complex queries, aggregations</td>
</tr>
<tr>
<td><strong>Data Volume</strong></td>
<td>Large number of small transactions</td>
<td>Smaller number of large queries</td>
</tr>
<tr>
<td><strong>Performance Focus</strong></td>
<td>Speed of write operations</td>
<td>Speed of read/analysis</td>
</tr>
<tr>
<td><strong>Data Structure</strong></td>
<td>Highly normalized</td>
<td>Often denormalized (e.g., star schema)</td>
</tr>
<tr>
<td><strong>Examples</strong></td>
<td>Insert/update orders, banking</td>
<td>Sales analysis, reporting, BI dashboards</td>
</tr>
<tr>
<td><strong>Users</strong></td>
<td>Front-line staff, operational users</td>
<td>Managers, analysts, decision-makers</td>
</tr>
</tbody>
</table>
]]></content:encoded>
					
					<wfw:commentRss>https://www.sapewmhelp.com/question/olap-vs-oltp/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>Row Store VS Column Store Database ?</title>
		<link>https://www.sapewmhelp.com/question/row-store-vs-column-store-database/</link>
					<comments>https://www.sapewmhelp.com/question/row-store-vs-column-store-database/#respond</comments>
		
		<dc:creator><![CDATA[DPM125]]></dc:creator>
		<pubDate>Tue, 05 Aug 2025 18:53:21 +0000</pubDate>
				<guid isPermaLink="false">https://www.sapewmhelp.com/?question=row-store-vs-column-store-database</guid>

					<description><![CDATA[Feature Row Store Column Store Data Layout Row by row Column by column Best Use Case OLTP (transactions) OLAP (analytics, reporting) Read Performance Good for full row reads Excellent for column-specific reads Write Performance Fast for row-level writes Slower for frequent updates/inserts Compression Lower Higher Aggregations &#38; Filters Slower Much faster]]></description>
										<content:encoded><![CDATA[<table>
<thead>
<tr>
<th>Feature</th>
<th><strong>Row Store</strong></th>
<th><strong>Column Store</strong></th>
</tr>
</thead>
<tbody>
<tr>
<td>Data Layout</td>
<td>Row by row</td>
<td>Column by column</td>
</tr>
<tr>
<td>Best Use Case</td>
<td>OLTP (transactions)</td>
<td>OLAP (analytics, reporting)</td>
</tr>
<tr>
<td>Read Performance</td>
<td>Good for full row reads</td>
<td>Excellent for column-specific reads</td>
</tr>
<tr>
<td>Write Performance</td>
<td>Fast for row-level writes</td>
<td>Slower for frequent updates/inserts</td>
</tr>
<tr>
<td>Compression</td>
<td>Lower</td>
<td>Higher</td>
</tr>
<tr>
<td>Aggregations &amp; Filters</td>
<td>Slower</td>
<td>Much faster</td>
</tr>
</tbody>
</table>
]]></content:encoded>
					
					<wfw:commentRss>https://www.sapewmhelp.com/question/row-store-vs-column-store-database/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>Types of Association in CDS ?</title>
		<link>https://www.sapewmhelp.com/question/types-of-association-in-cds/</link>
					<comments>https://www.sapewmhelp.com/question/types-of-association-in-cds/#respond</comments>
		
		<dc:creator><![CDATA[DPM125]]></dc:creator>
		<pubDate>Tue, 05 Aug 2025 18:50:30 +0000</pubDate>
				<guid isPermaLink="false">https://www.sapewmhelp.com/?question=types-of-association-in-cds</guid>

					<description><![CDATA[Exposed Associations An exposed association is one that is defined in a CDS view and is made available (exposed) to consumers of the view — such as other CDS views, analytical queries, or OData services. You define the association using the association [&#8230;] to clause and then expose it using an alias (typically starting with [&#8230;]]]></description>
										<content:encoded><![CDATA[<h5><strong>Exposed Associations</strong></h5>
<p>An <strong>exposed association</strong> is one that is <strong>defined</strong> in a CDS view and is <strong>made available (exposed)</strong> to consumers of the view — such as other CDS views, analytical queries, or OData services. You define the association using the association [&#8230;] to clause and then expose it using an alias (typically starting with an underscore _) in the SELECT list.</p>
<div class="hcb_wrap">
<pre class="prism line-numbers lang-js" data-lang="JavaScript"><code><!--StartFragment --><span><span>define </span>view ZI_SalesOrder <span>as </span><span>select </span><span>from </span>ZSalesOrderHeader
{
    <span>key </span>SalesOrderID<span>,</span>
    CustomerID<span>,</span>

    association [0<span>.</span><span>.</span>1] <span>to </span>ZI_Customer <span>as </span>_Customer 
        <span>on </span>_Customer<span>.</span>CustomerID <span>= </span>ZSalesOrderHeader<span>.</span>CustomerID

    // Exposing the association
    _Customer
}</span> </code></pre>
<p><strong>Key Points:</strong></p>
<ul>
<li>You can reuse exposed associations in other views.</li>
<li>Useful in modular CDS design.</li>
<li>Can be traversed via path expressions (e.g., _Customer.Name).</li>
</ul>
<h5><strong>Ad-hoc Associations</strong></h5>
<p>Ad-hoc associations are associations that are used inline (on-the-fly) via path expressions, without needing to expose the association explicitly in the SELECT list. If an association (like _Customer) is already defined in a view (exposed or implicit), you can use it ad-hoc in the SELECT or WHERE clause without re-exposing it.</p>
<div class="hcb_wrap">
<pre class="prism line-numbers lang-python" data-lang="Python"><code><!--StartFragment --><span><span>define </span>view ZI_SalesOrder <span>as </span><span>select </span><span>from </span>ZSalesOrderHeader
{
    <span>key </span>SalesOrderID<span>,</span>
    _Customer<span>.</span>Name    // Ad<span>-</span>hoc usage <span>of </span>the association
}
</span> </code></pre>
<p>Key Points:</p>
<ul>
<li>No need to expose <code>_Customer</code> again in the select list.</li>
<li>You&#8217;re just traversing the association to access fields of the target entity.</li>
<li>Makes CDS views more compact and readable.</li>
</ul>
</div>
</div>
]]></content:encoded>
					
					<wfw:commentRss>https://www.sapewmhelp.com/question/types-of-association-in-cds/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>What is the difference between association vs Joins in CDS ?</title>
		<link>https://www.sapewmhelp.com/question/what-is-the-difference-between-association-vs-joins-in-cds/</link>
					<comments>https://www.sapewmhelp.com/question/what-is-the-difference-between-association-vs-joins-in-cds/#respond</comments>
		
		<dc:creator><![CDATA[DPM125]]></dc:creator>
		<pubDate>Tue, 05 Aug 2025 18:30:22 +0000</pubDate>
				<guid isPermaLink="false">https://www.sapewmhelp.com/?question=what-is-the-difference-between-association-vs-join-in-cds</guid>

					<description><![CDATA[Association An association is a declarative relationship between CDS entities (like foreign keys), defined using the association keyword. Key Characteristics: Lazy/Evaluated-on-demand: Data from the association is not fetched unless it is explicitly accessed using a path expression (like to_customer.name). Navigation-style access: You can access associated data using dot (.) notation. Defined once, reused many times: [&#8230;]]]></description>
										<content:encoded><![CDATA[<p><strong>Association</strong> An association is a declarative relationship between CDS entities (like foreign keys), defined using the association keyword. <strong>Key Characteristics:</strong> Lazy/Evaluated-on-demand: Data from the association is not fetched unless it is explicitly accessed using a path expression (like to_customer.name). Navigation-style access: You can access associated data using dot (.) notation. Defined once, reused many times: Associations can be defined once and used in multiple views or queries. Cardinality can be defined: e.g. [0..1], [1..*].</p>
<div class="hcb_wrap">
<pre class="prism line-numbers lang-python" data-lang="Python"><code>define view ZSalesOrder as select from sales_order
association [0..1] to customer as _Customer on $projection.customer_id = _Customer.id
{
key sales_order_id,
customer_id,
_Customer.name
}
</code></pre>
<p>Here, _Customer is an association. It won&#8217;t trigger a join unless _Customer.name is accessed.</p></div>
<div class="hcb_wrap"><strong>Join</strong></div>
<div class="hcb_wrap">A join is an explicit operation in CDS to combine two data sources based on a condition, much like in SQL. <strong>Key Characteristics:</strong> Eager execution: The join happens immediately during view evaluation. More control: You control the type of join (INNER, LEFT OUTER, etc.). Typically used when data from both tables is always needed.</p>
<div class="hcb_wrap">
<pre class="prism line-numbers lang-python" data-lang="Python"><code>define view ZSalesOrderJoin as select from sales_order
inner join customer on sales_order.customer_id = customer.id
{
sales_order.id,
customer.name
}</code></pre>
<p>Here, a real-time INNER JOIN is performed.</p></div>
<h5><strong>When to Use What?</strong></h5>
<p><strong>Use Association:</strong></p>
<ul>
<li>When modeling data relationships.</li>
<li>When you want flexibility and better performance for optional fields.</li>
<li>When the associated data isn’t always needed.</li>
</ul>
<p><strong>Use Join:</strong></p>
<ul>
<li>When you always need data from both sources.</li>
<li>When performing aggregations or filters based on joined fields.</li>
<li>When doing complex multi-joins with specific types (e.g. inner join).</li>
</ul>
</div>
]]></content:encoded>
					
					<wfw:commentRss>https://www.sapewmhelp.com/question/what-is-the-difference-between-association-vs-joins-in-cds/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>What is AMDP?</title>
		<link>https://www.sapewmhelp.com/question/what-is-amdp/</link>
					<comments>https://www.sapewmhelp.com/question/what-is-amdp/#respond</comments>
		
		<dc:creator><![CDATA[DPM125]]></dc:creator>
		<pubDate>Sun, 03 Aug 2025 08:55:23 +0000</pubDate>
				<guid isPermaLink="false">https://www.sapewmhelp.com/?question=what-is-amdp</guid>

					<description><![CDATA[AMDP (ABAP Managed Database Procedures) in CDS (Core Data Services) in SAP refers to a way to integrate native SQLScript (e.g., HANA procedures) directly within ABAP classes. It&#8217;s not a part of CDS views themselves, but is often used alongside CDS views when you need more complex or performance-critical data processing that cannot be handled [&#8230;]]]></description>
										<content:encoded><![CDATA[<p>AMDP (ABAP Managed Database Procedures) in CDS (Core Data Services) in SAP refers to a way to integrate native SQLScript (e.g., HANA procedures) directly within ABAP classes. It&#8217;s not a part of CDS views themselves, but is often used <em>alongside</em> CDS views when you need more complex or performance-critical data processing that cannot be handled by CDS alone.</p>
<table>
<thead>
<tr>
<th>Feature</th>
<th>CDS View</th>
<th>AMDP</th>
</tr>
</thead>
<tbody>
<tr>
<td>Type</td>
<td>Declarative</td>
<td>Procedural</td>
</tr>
<tr>
<td>Language</td>
<td>DDL (SQL-like)</td>
<td>SQLScript (HANA-specific)</td>
</tr>
<tr>
<td>Use Case</td>
<td>Data modeling, filtering, joins</td>
<td>Complex calculations, loops, conditional logic</td>
</tr>
<tr>
<td>Database Execution</td>
<td>Yes</td>
<td>Yes</td>
</tr>
<tr>
<td>Integration with ABAP</td>
<td>Yes (via Open SQL)</td>
<td>Yes (via ABAP classes/methods)</td>
</tr>
</tbody>
</table>
<p><img decoding="async" class="content-img" src="https://www.sapewmhelp.com/wp-content/uploads/2025/08/AMDP-procedure-implementation.png" /></p>
]]></content:encoded>
					
					<wfw:commentRss>https://www.sapewmhelp.com/question/what-is-amdp/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>What is a CDS view ?</title>
		<link>https://www.sapewmhelp.com/question/what-is-a-cds-view/</link>
					<comments>https://www.sapewmhelp.com/question/what-is-a-cds-view/#respond</comments>
		
		<dc:creator><![CDATA[DPM125]]></dc:creator>
		<pubDate>Thu, 31 Jul 2025 16:05:31 +0000</pubDate>
				<guid isPermaLink="false">https://www.sapewmhelp.com/?question=what-is-a-cds-view</guid>

					<description><![CDATA[A CDS view (Core Data Services view) is a virtual data model used in the SAP HANA database and ABAP environment to define semantic layers on top of database tables. It allows for modular, reusable, and optimized data access, especially useful for reporting and analytics in SAP S/4HANA. Key Features: Reusable views of data from [&#8230;]]]></description>
										<content:encoded><![CDATA[<p>A CDS view (Core Data Services view) is a virtual data model used in the SAP HANA database and ABAP environment to define semantic layers on top of database tables. It allows for modular, reusable, and optimized data access, especially useful for reporting and analytics in SAP S/4HANA.</p>
<h3 data-start="530" data-end="547">Key Features:</h3>
<ul>
<li>Reusable views of data from one or more database tables</li>
<li>Annotation-based metadata (e.g., for UI, analytics, OData)</li>
<li>Support for association instead of joins</li>
<li>Performance optimized (processed by SAP HANA)</li>
<li>Enables data modeling in the ABAP layer</li>
</ul>
<h3 data-start="826" data-end="850"> Types of CDS Views</h3>
<div class="_tableContainer_16hzy_1">
<div class="_tableWrapper_16hzy_14 group flex w-fit flex-col-reverse">
<table data-start="852" data-end="1212">
<thead>
<tr>
<th data-start="852" data-end="874" data-col-size="sm">Type</th>
<th data-start="874" data-end="923" data-col-size="md">Description</th>
</tr>
</thead>
<tbody>
<tr>
<td>Basic Views</td>
<td>Directly reflect database tables, no logic</td>
</tr>
<tr>
<td>Composite Views</td>
<td>Combine multiple basic views</td>
</tr>
<tr>
<td>Consumption Views</td>
<td>Used by UI or analytics apps, final layer</td>
</tr>
</tbody>
</table>
<p><img decoding="async" class="content-img" src="https://www.sapewmhelp.com/wp-content/uploads/2025/07/value-help-bookdata-1.png" /></p>
</div>
</div>
]]></content:encoded>
					
					<wfw:commentRss>https://www.sapewmhelp.com/question/what-is-a-cds-view/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
	</channel>
</rss>
