Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

ABAP 7.4 SYNTAX

atharva21k51
Explorer
6,244

I have this particular code and i want to write this is in new abap syntax 7.4 can someone help and also give me reference sites or blogs where i can learn this new syntax

DATA : ls_aedat LIKE LINE OF s_aedat,
l_nb_annee TYPE tvarv_val,
l_nb_mois TYPE tvarv_val.


DATA : ls_bewtp LIKE LINE OF r_bewtp.


REFRESH : s_aedat.
CLEAR : ls_aedat,
l_nb_mois,
l_nb_annee.

ls_aedat-sign = 'I'.
ls_aedat-option = 'BT'.
ls_aedat-high = sy-datum.

1 ACCEPTED SOLUTION
Read only

BaerbelWinkler
SAP Champion
SAP Champion
3,431

atharva21k

Frederic and Sandra already provided some information abvoe. In addition, here are links which I point to in our internal development guidelines as I find them helpful to go from "old" to "new" ABAP code:

ABAP 7.40 Quick Reference - Jeffrey Towell - Oct. 25, 2015

Old and new ABAP syntax – overview sheet - Thomas Krügl - March 2, 2016

New ABAP Table Sum - Jonathan Capps - June 15, 2018

Hope these help!

Cheers

Bärbel

5 REPLIES 5
Read only

FredericGirod
Active Contributor
3,431
ls_aedat = value #( sign = 'I'  option = 'BT'  high = sy-datum ).

if you want to add directly to the S_AEDAT ranges.

s_aedat = value #( ( sign = 'I'  option = 'BT'  high = sy-datum ) ). 
Read only

Sandra_Rossi
Active Contributor
0 Likes
3,431

I think you will find good reference with Search Engines like Google, etc.

Or simply the official ABAP documentation.

Read only

atharva21k51
Explorer
0 Likes
3,431

Thank you for the help

Read only

BaerbelWinkler
SAP Champion
SAP Champion
3,432

atharva21k

Frederic and Sandra already provided some information abvoe. In addition, here are links which I point to in our internal development guidelines as I find them helpful to go from "old" to "new" ABAP code:

ABAP 7.40 Quick Reference - Jeffrey Towell - Oct. 25, 2015

Old and new ABAP syntax – overview sheet - Thomas Krügl - March 2, 2016

New ABAP Table Sum - Jonathan Capps - June 15, 2018

Hope these help!

Cheers

Bärbel

Read only

3,431

thanks for the references