Hello SAP EhP7 !!

As per SAP news, SAP Upgrade Bundle 7 for SAP ERP 6.0 contains in excess of 750 business capabilities. The key new elements are SAP Fiori, MRP runs, and information maturing objects. SAP EhP7 is the main improvement bundle to be upgraded for both the SAP HANA data set and the conventional affirmed data sets.

As a no-nonsense ABAP engineer, I was interested to be aware, how is an ABAPer impacted by this overhaul 7.4. In the wake of investigating the framework and going through the sap discharge reports, I have attempted to write down the progressions which ABAPers like me would be keen on.

Also, NEW and Worth Administrators are the main elements in SAP EhP7 which the ABAPer would utilize routinely.

NEW – Instance Operator
i)   NEW – Initial Value for All Types
ii)  NEW – Single Value for All Data Types
iii) NEW – Structures
iv) NEW – Internal Tables
v)  NEW – Classes

VALUE – Value Operator
i)   VALUE – Initial Value for All Types
ii)  VALUE – Structures
iii) VALUE – Internal Tables

In this post, I would like to show some usage of NEW Operators for Initial Value for All Types.

* Type declaration
TYPES: BEGIN OF ty_marc,
          matnr TYPE matnr,
          werks TYPE werks_d,
       END OF ty_marc.
 
* Type Ref To
DATA o_ref  TYPE REF TO ty_marc.
* Example 1
* Instantiate the object
 o_ref = NEW ty_marc( ).
 
 * Usage demo
 SELECT SINGLE matnr werks FROM marc INTO o_ref->*.
 IF sy-subrc EQ 0.
 * Displaying the fields as we used to do earlier
   WRITE:/ o_ref->*-matnr, o_ref->*-werks.
 ENDIF.

Please note NEW <TYPE>( ) is the syntax to instantiate any object.

* Example 2
* Instantiate the object using #
 o_ref = NEW #( ).
 
* Usage demo
 SELECT SINGLE matnr werks FROM marc INTO o_ref->*.
 IF sy-subrc EQ 0.
* Displaying the fields as we used to do earlier
   WRITE:/ o_ref->*-matnr, o_ref->*-werks.
 ENDIF.

If it’s not too much trouble, note NEW # ( ). When “#” succeeds NEW, it implies the article ref in the Left Hand Side decides the sort.

This is a little post to make you mindful of the new linguistic structure. Both above constructor articulations have a similar capability. I will post more on NEW and Worth administrators in ensuing posts.

Uh oh!! Before I close down, are you considering the way that the result would seem to be.. .. The same old thing. Yield is same as before SAP EhP7.. No redesign in yield show..

If you liked it, please share it! Thanks!

YOU MAY BE INTERESTED IN

SAP PP Jobs: Unlocking Opportunities in PP

What is the demand for the SAP PP module?

SAP ABAP Interview Questions Real time Expectations

  • Related Posts

    SAP ABAP Best Coding Practices for Freshers

    Many freshers start learning SAP ABAP by writing small reports and programs.But when they join real projects, they quickly realize that companies do not only look for working code. They…

    Most Common SAP ABAP Mistakes Beginners Make

    Starting a career as an SAP ABAP developer is exciting, but the early phase is also full of hidden risks. Many beginners focus only on learning syntax and writing programs…

    Leave a Reply

    Your email address will not be published. Required fields are marked *

    You Missed

    SAP ABAP Best Coding Practices for Freshers

    • By Varad
    • April 27, 2026
    • 267 views
    SAP ABAP Best Coding Practices for Freshers

    Most Common SAP ABAP Mistakes Beginners Make

    • By Varad
    • April 26, 2026
    • 233 views
    Most Common SAP ABAP Mistakes Beginners Make

    SAP Automation vs Manual Testing: Career Comparison

    • By Varad
    • April 25, 2026
    • 255 views
    SAP Automation vs Manual Testing: Career Comparison

    Can ChatGPT Help in Learning SAP ABAP

    • By Varad
    • April 24, 2026
    • 167 views
    Can ChatGPT Help in Learning SAP ABAP

    How to Build a Business Case for SAP Automation ROI

    • By Varad
    • April 23, 2026
    • 428 views
    How to Build a Business Case for SAP Automation ROI

    External Debugging of an Application of another SAP User in another Location in another Machine/System

    • By Varad
    • April 12, 2026
    • 96 views
    External Debugging of an Application of another SAP User in another Location in another Machine/System