首页 > SAP > ABAP > Inline Declarations in Netweaver ABAP 7.40
2019
08-29

Inline Declarations in Netweaver ABAP 7.40

Hello everyone,

In this blog you will learn about Inline Declarations in Netweaver ABAP 7.40. There are many new features introduced in ABAP Netweaver 7.4 and the ABAP stack is optimized for SAP HANA. SAP Netweaver 7.4 is minimum requirement to move to SAP Business Suite on HANA. With these new features introduced from SAP Netweaver 7.4 SAP HANA database in-memory computing can be leveraged at ABAP level. So, let look at these features, learn it and implement them.

1.Are you working on SAP ABAP Netweaver 7.40 ?

To answer this question, log on to your SAP system. In the menu bar navigate to System → Status. In the popup window, under SAP system data section click on display button under “Product Version” field. You can see list of installed software component versions like below

Inline Declarations in Netweaver ABAP 7.40 - 第1张  | 优通SAP

From list of installed software components, look for the Release-采购向厂商下P/O之后,必须透过一定权限经由主管对此张P/O做 release后才能收料 version of SAP_BASIS and SAP_ABA components to check the SAP Netweaver version.

Below are list of main features among different sections

[su_box title=”1. Inline Declarations” style=”soft” box_color=”#f0ab00″]Now you can declare the variables and field-symbols at the same position where you are using them. Inline declarations are possible only for DATA and FIELD-SYMBOL.

2.#LEFT ASSIGNMENT

2.1.Old Syntax
2.2. New Syntax

3.#LOOP STATEMENT

2.1.Old Syntax
3.2.New Syntax

4.#READ STATEMENT

2.1.Old Syntax
4.2.New Syntax

5. #SELECT STATEMENT

2.1.Old Syntax
4.2.New Syntax
[/su_box] [su_box title=”2. Constructor Expressions” style=”soft” box_color=”#f0ab00″]A new type of expression called constructor Expressions are introduced to construct results of specified types and their contents. Below are the list of constructor expressions[su_list]

NEW creates object
VALUE creates values
REF get references
EXACT perform a lossless assignment or calculation
CONV convert values
CAST performs an up cast or down cast
COND and SWITCH enable conditional expression

[/su_list] [su_highlight]Syntax: VALUE Operator                                                              [/su_highlight]
2.1.Old Syntax
2.2. New Syntax
[/su_box]

Congrats! You have successfully created Synonym in SAP HANA. Please stay tuned for SAP HANA tutorials. Leave a comment in the below comment section and let us know your feedback.

最后编辑:
作者:yangsen
本站为个人博客网站,全由我个人维护,我从事SAP开发13年,其它ERP开发7年,基本都是零售行业。本站记录工作学习的过程, 有SAP相关询问专、兼职工作可随时联系我。 有网站相关的问题可直接在文章下方留言,或者联系我。 邮件:yan252@163.com给我。 QQ:415402519