19 - SAP ABAP New Syntax - NEW Keyword As a Replacement of CREATE OBJECT Statement

Поделиться
HTML-код
  • Опубликовано: 12 дек 2024
  • -Explanation of CREATE OBJECT Statement and NEW Keyword.
    -Practical Demonstration of CREATE OBJECT and NEW Keyword.

Комментарии • 9

  • @adkaworld9814
    @adkaworld9814 7 месяцев назад +1

    Hi sir, how this new syntax for object creation is better than the old one?

  • @ganeshsundaram1255
    @ganeshsundaram1255 5 месяцев назад +1

    What is the use of new keyword used in the object.

    • @sapabapbyrahulmehta
      @sapabapbyrahulmehta  5 месяцев назад

      Hello Ganesh - Please cross verify your question. I am providing the answer based upon my understanding. NEW keyword is used to create the object of the class, Instead of CREATE OBJECT, we can use
      NEW Keyword.

    • @ganeshsundaram1255
      @ganeshsundaram1255 5 месяцев назад +1

      @@sapabapbyrahulmehta Hi sir thanks for the information. My question is what is the difference between old and new syntax why sap provided this new syntax

    • @sapabapbyrahulmehta
      @sapabapbyrahulmehta  5 месяцев назад

      @@ganeshsundaram1255 As we can achieve the requirements by writing less number of lines of code. So new syntax are more efficient. Just refer the introductory video of SAP ABAP new syntax playlist. You will get the complete information.

    • @ganeshsundaram1255
      @ganeshsundaram1255 5 месяцев назад

      @@sapabapbyrahulmehta ok

  • @santanughosh7089
    @santanughosh7089 7 месяцев назад

    Rahul Sir, I have a requirement...
    I have to change field level of 'INVOICE DATE' to 'Document Billing Date' in MIRO screen ..... Which enhancement I use???
    What will be the CODE for change field level....
    I use CMOD also for changing field level.... but it's not working..... please suggest me Sir...

    • @sapabapbyrahulmehta
      @sapabapbyrahulmehta  7 месяцев назад

      Hello Santanu - Before ECC 4.6 , Changing the field label, we achieved through Field exit, but field exits are obsolete now. So we can achieve this by other enhancements like - Implicit and Explicit, Customer Exit, BADI etc.