Application Development 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: 

ABAP 7.4 SYNTAX

atharva21k
Explorer

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

BaerbelWinkler
Active Contributor

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

FredericGirod
Active Contributor
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 ) ). 

Sandra_Rossi
Active Contributor
0 Kudos

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

Or simply the official ABAP documentation.

atharva21k
Explorer
0 Kudos

Thank you for the help

BaerbelWinkler
Active Contributor

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

thanks for the references