Professional Documents
Culture Documents
Day 5
New ABAP Syntax
All New Syntaxes
Basic Editor Tasks such as Syntax Check and activating ABAP objects. Ctrl + F2 And Ctrl + F3.
To open SAP GUI use the Open SAP GUI icon or Ctrl + 6.
Creating an ABAP object; Editing an ABAP object; Ctrl + Space for Code Completion along with
Code Templates.
While using Ctrl + Space for FM/ Class use Shift + Enter for playing around with the signature.
All New Syntaxes in Modern ABAP as in In-Line Data Declaration, Comma in SELECT query along with @
Escape Host Variables, Concatenation using PIPE operator, VALUE Expression, FOR Operator, TABLE
Expression, NEW Operator and so on.
DATA(ITAB) = VALUE ITAB3( ( COL1 = 3 COL2 = VALUE ITAB2( ( VALUE ITAB1( ( COL1 = 4 COL2 = 5 )
( COL1 = 6 COL2 = 7 ) ) )"END OF ITAB1
( VALUE ITAB1( ( COL1 = 8 COL2 = 9 )
( COL1 = 10 COL2 = 11 ) ) )"END OF ITAB1
) )"END OF ITAB2
( COL1 = 12 COL2 = VALUE ITAB2( ( VALUE ITAB1( ( COL1 = 13 COL2 = 14 )
( COL1 = 15 COL2 = 16 ) ) )"END OF ITAB1
( VALUE ITAB1( ( COL1 = 17 COL2 = 18 )
( COL1 = 19 COL2 = 20 ) ) )"END OF ITAB1
) )"END OF ITAB2
).
* Reading the column with value 13 with READ TABLE statements
Refer to the Program ZABAP_NEW_SYNTAX for reference and understanding of class concepts w.r.t
New Syntaxes
When you work with ADT you log on to the ABAP backend system and remain logged on for your entire
session.
• True
• False
Where can you set the preferences for working with ADT?
Which keyboard shortcut do we use to copy a FM and its signature on to our code after using Ctrl +
Space?
• Shift + Enter
• Alt + Enter
• Ctrl + Enter
• Ctrl + Shift+ Enter
How do you search for any development object in the ABAP perspective?
Exercise –
❖ If you are using Table Expression for Reading Internal Tables what is the exception that gets
raised incase table line is not found?