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

Why DO....VARYING is obsolete?

ralf_wenzel_heuristika
Active Participant
0 Kudos
1,757

Subject contains the question, I‘m interested in the technical reason for marking the command as obsolete.

Ralf

1 ACCEPTED SOLUTION
Read only

retired_member
Product and Topic Expert
Product and Topic Expert
1,125

I guess you know the documentation.

https://help.sap.com/http.svc/rc/abapdocu_752_index_htm/7.52/en-US/index.htm?file=abapdo_varying.htm

Do you think that kind of programming, that depends on internal memory layout, is still appropriate nowadays?

Just mentioning alignment gaps ...

5 REPLIES 5
Read only

retired_member
Product and Topic Expert
Product and Topic Expert
1,126

I guess you know the documentation.

https://help.sap.com/http.svc/rc/abapdocu_752_index_htm/7.52/en-US/index.htm?file=abapdo_varying.htm

Do you think that kind of programming, that depends on internal memory layout, is still appropriate nowadays?

Just mentioning alignment gaps ...

Read only

0 Kudos
1,125

I hoped, YOU will read this question, Horst 😉


Of course, I know it‘s documentation and I never used this command (in fact, I never understood it *lol*), but in another (german) forum this question has been posted and I didn‘t know the answer.


What do you mean with „alignment gaps“?

Ralf

Read only

matt
Active Contributor
0 Kudos
1,125

I had an issue with alignment gaps years ago. In order to test for equality quickly, I converted my key values to a hex string. It didn't work, because of the undefined values in the alignment gap.

Read only

ralf_wenzel_heuristika
Active Participant
0 Kudos
1,125

Thank you very much! Developers might be potientally interested in facts like this, so the docu should give these informations.

Ralf