Semi-automatic custom code adaptation for SAP Cloud Platform ABAP Environment

2792

If you intend to use SAP Cloud Platform ABAP Environment and want to bring your custom code application to the Cloud the time will come, when you will need to adapt your custom code for Cloud on your brand new ABAP system running in the SAP Cloud Platform ABAP Environment.

For this purpose, you will run the proven tool ABAP Test Cockpit with the SAP_CP_READINESS check variant in ABAP Development Tools in Eclipse on your ABAP system in the SAP Cloud Platform ABAP Environment and will get a worklist of ATC findings which you will need to fix.

In order to minimize your custom code adaptation efforts for Cloud, we offer automatic code adaptations using the Quick Fixes (or Ctrl +1 shortcut) feature of ABAP Development Tools in Eclipse.

Prerequisites

Client: ABAP Development Tools (ADT) 3.4

Backend: ABAP system, running in the SAP Cloud Platform ABAP Environment 1908.

Use cases for Quick Fixes

Currently we offer Quick Fixes for the following use cases.

ABAP Language Version 5 (Cloud)
If your custom code uses ABAP language statements which are not released for Cloud (which are not contained in the ABAP Language Version 5 (Cloud)), e.g. using MOVE statement instead of assignment, then your code will run into a syntax error in the SAP Cloud Platform ABAP Environment:

The old language statements must be replaced by ABAP Language Version 5 (Cloud):

Deprecated Data Elements
If your custom code is using e.g. a data element, which is not released for Cloud but there is an alternative, which must be used in the Cloud. For example, if your code contains not released boolean data types, then it will run into a syntax error in the SAP Cloud Platform ABAP Environment:

These boolean data types must be replaced with the released data type ABAP_BOOLEAN:

API calls instead of direct access to SY fields

If your custom code is using e.g. SY fields, which are not released for Cloud, your code will run into syntax errors in the SAP Cloud Platform ABAP Environment:

Direct access to the SY fields must be replaced by the provided corresponding API calls:

Available Quick Fixes for ABAP Language Version 5 (Cloud)

Currently the following ADT Quick Fixes are available for ABAP Language Version 5 (Cloud):

Original ABAP statement ABAP statement after Quick Fix
ADD += or +
DIVIDE /= or /
MULTIPLY *= or *
SUBTRACT -= or –
COMPUTE  =
MOVE  =
DESCRIBE TABLE LINES LINES()
FREE CLEAR
REFRESH CLEAR
MESSAGE MESSAGE INTO
(only if MESSAGE is used for where-used list in IF 1 = 0. … ENDIF)
CLASS-DEFINITION-LOAD Statement deleted
INTERFACE-LOAD Statement deleted
Old Open SQL syntax New Open SQL syntax
$SY-READ  (SY-ZONLO) cl_abap_context_info=>get_user_time_zone( )
$SY-READ  (SY-DATUM) cl_abap_context_info=>get_system_date( )
$SY-READ  (SY-UZEIT) cl_abap_context_info=>get_system_time( )

 

Applying a Quick Fix

Note: ATC findings that can be fixed with a Quick Fix are displayed with a lightbulb icon
There are two possibilities for applying Quick Fixes.

You can select an ATC finding from the ATC worklist and choose Quick Fix (or Ctrl + 1 shortcut) in the context menu:

Then select the displayed Quick Fix in the popup and choose Finish:

Recommendation: If there is more than one Quick Fix available for an ATC finding, we recommend to select the first Quick Fix displayed.

Alternatively, you can jump to the affected source code line by double clicking the corresponding ATC finding and choose Quick Fix in the context menu (or Ctrl + 1 shortcut). Double click the Quick Fix in the popup to apply it to the affected source code line.

That’s it. You can activate your source code and rerun ATC.

Using mass-enabled Quick Fixes

You can use mass-enabled Quick Fixes to adapt full packages or software components in one shot and in this way drastically reduce your custom code adaptation efforts for Cloud.

Just select multiple ATC findings in your ATC result and use the context menu Recommended Quick Fixes…

The wizard with recommended Quick Fixes for your selected ATC findings starts:

On the next screen (Next button) you can see for each of your custom objects which changes are suggested by the Quick Fix in a convenient way in two editors displaying the original and refactored source side by side.

f you click Finish button, you apply the Quick Fixes at one shot for all your selected ATC findings, for which the Quick Fixes are available.

2,792 Comments

  1. I needed to post you that little bit of observation to say thanks once again for your personal marvelous principles you’ve featured in this article. It is quite seriously generous of people like you to give openly just what many individuals might have marketed as an e book to generate some dough for themselves, most notably given that you could possibly have done it if you ever decided. The guidelines also acted like a fantastic way to be sure that other individuals have similar dreams like my own to grasp good deal more in terms of this issue. I’m sure there are many more fun occasions ahead for individuals that go through your blog post. https://nujemznuedi.online/

  2. sildenafil pills on

    I happen to be writing to make you understand what a useful experience our princess went through visiting yuor web blog. She realized too many things, with the inclusion of what it is like to possess an incredible teaching style to make the others without hassle thoroughly grasp various very confusing topics. You undoubtedly surpassed visitors’ expected results. Thanks for showing those warm and friendly, trustworthy, revealing not to mention unique tips on your topic to Tanya. https://johnpisanohomeimprovements.com/

  3. Needed to write you this very small word to help thank you very much yet again with the unique tricks you have shown on this website. This is so wonderfully open-handed with you to supply without restraint what exactly some people would have supplied for an e book to earn some cash for their own end, even more so considering the fact that you could possibly have done it if you ever decided. The guidelines also acted like a fantastic way to be sure that other individuals have similar dreams like my own to grasp a whole lot more in terms of this issue. I’m sure there are many more fun occasions ahead for individuals that go through your blog post. https://nujemznuedi.online/

  4. sildenafil without a prescription on

    I’m commenting to let you be aware of of the awesome discovery my child developed browsing the blog. She came to find a good number of details, including how it is like to have a great coaching character to get a number of people clearly completely grasp a number of advanced issues. You actually did more than her desires. I appreciate you for churning out such effective, dependable, edifying and cool guidance on that topic to Emily. https://johnpisanohomeimprovements.com/

  5. buy tadalafil on

    I’m just commenting to let you be aware of of the exceptional discovery my cousin’s child enjoyed going through your blog. She discovered a wide variety of details, most notably how it is like to have a very effective coaching heart to get many more effortlessly fully understand certain extremely tough matters. You actually did more than my desires. I appreciate you for displaying such helpful, healthy, educational and also cool guidance on that topic to Evelyn. https://hillsdaledowcenter.com/

  6. viagra prices on

    Thanks for your whole work on this website. My mum takes pleasure in setting aside time for research and it is simple to grasp why. We notice all relating to the powerful ways you render very useful tips and tricks via your website and therefore strongly encourage response from website visitors on this theme while our own simple princess is without a doubt understanding so much. Take pleasure in the rest of the year. Your performing a very good job. https://habebihookahbar.com/

  7. generic cialis on

    I’m also commenting to let you be aware of of the brilliant discovery my child encountered checking the blog. She came to understand a lot of details, including how it is like to have a marvelous coaching character to get certain people completely comprehend a variety of complex issues. You actually did more than her desires. I appreciate you for coming up with such essential, dependable, edifying and cool guidance on that topic to Ethel. https://azzaroelectric.com/

  8. Thank you for your entire hard work on this web page. My aunt really likes making time for investigations and it’s really obvious why. Most of us learn all of the lively mode you offer precious suggestions through this web site and even increase participation from some other people on the matter so our favorite girl is now learning a lot of things. Take advantage of the rest of the year. You are always doing a really great job. https://lvagroupinc.com/

  9. order propecia on

    A lot of thanks for all your valuable efforts on this site. Kate loves engaging in investigation and it’s really easy to understand why. I know all concerning the dynamic medium you give important secrets on this web blog and as well as foster participation from others on that content plus our daughter is always discovering a lot. Have fun with the remaining portion of the new year. You are conducting a great job. https://harrington-service.com/

  10. kamagra kamagra on

    I wanted to post you that tiny remark to say thanks a lot over again just for the pleasant solutions you have featured in this case. It was really shockingly open-handed with you to grant publicly just what many of us might have offered for an ebook to get some dough for themselves, mostly now that you might have tried it in case you desired. These secrets as well served to be the good way to fully grasp that other people online have the identical interest much like my personal own to learn more regarding this matter. I am sure there are numerous more pleasant periods in the future for many who read your site. https://jlsmithjax.com/

  11. aripiprazole generic on

    I simply wanted to thank you so much once more. I am not sure the things that I would’ve made to happen without the type of smart ideas revealed by you over that situation. It truly was an absolute hard issue in my opinion, however , seeing the very specialised strategy you resolved that made me to leap over gladness. I am just happy for this information and then pray you realize what a great job you happen to be providing teaching people today thru your web page. More than likely you have never got to know any of us. https://abilifyaripiprazoles.com/

  12. escitalopram generic on

    I am glad for writing to make you know what a nice encounter my wife’s girl had studying your web site. She mastered several pieces, which include what it’s like to possess an awesome helping nature to let other individuals very easily know precisely some problematic subject matter. You truly exceeded people’s expectations. Thank you for presenting these practical, trusted, informative and in addition fun tips about this topic to Kate. https://lexaproescitalopram.com/

  13. nortriptyline tablets on

    I simply wished to thank you very much yet again. I do not know what I would have worked on without those tricks shown by you relating to this topic. This was the troublesome situation in my view, nevertheless witnessing your well-written way you treated the issue took me to weep with joy. Now i am thankful for your work as well as wish you recognize what an amazing job your are undertaking training the rest with the aid of your websites. Probably you haven’t met any of us. https://pamelornortriptyline.com/

  14. cheap amitriptyline on

    Thank you for every one of your labor on this web site. My daughter really loves managing investigations and it’s really simple to grasp why. We all notice all relating to the powerful ways you render worthwhile tricks via your website and therefore welcome response from website visitors on this topic while our own simple princess is without question understanding so much. Take pleasure in the rest of the year. Your performing a wonderful job. https://endepamitriptyline.com/

  15. risnia generic on

    I enjoy you because of all of your effort on this blog. Ellie enjoys conducting internet research and it’s easy to see why. All of us hear all about the compelling manner you create efficient ideas by means of the blog and as well cause contribution from other ones about this article and my child is being taught a great deal. Enjoy the remaining portion of the new year. You’re the one carrying out a fantastic job. https://risniarisperidone.com/

  16. I’m also commenting to let you be aware of of the excellent discovery my cousin’s child enjoyed checking your blog. She discovered a wide variety of details, most notably how it is like to have a marvelous coaching heart to get many more easily fully understand certain complicated matters. You actually did more than my desires. I appreciate you for delivering such great, healthy, educational and also cool guidance on that topic to Evelyn. https://paxilparoxetines.com/

  17. olanzapine cheap on

    Thanks for the suggestions about credit repair on this particular web-site. The things i would offer as advice to people is usually to give up this mentality that they buy at this point and fork out later. Being a society most of us tend to make this happen for many factors. This includes trips, furniture, in addition to items we’d like. However, it is advisable to separate one’s wants from the needs. As long as you’re working to raise your credit ranking score actually you need some trade-offs. For example you may shop online to economize or you can check out second hand outlets instead of high priced department stores intended for clothing. https://zyprexaolanzapine.com/#

  18. sinequan doxepin on

    I simply needed to thank you so much once again. I am not sure the things that I would’ve implemented without the type of secrets provided by you on such a question. It previously was a very frustrating issue in my opinion, however , observing the very specialised strategy you processed that made me to leap over gladness. I am just happy for this information and in addition hope that you know what a great job you are always getting into teaching people thru your web page. More than likely you have never got to know any of us. https://sinequandoxepin.com/#

  19. quetiapine cheap on

    I am glad for writing to make you know what a notable encounter my wife’s girl had studying your web site. She mastered several pieces, which include what it’s like to possess an awesome helping nature to let other individuals with ease know precisely some problematic subject matter. You truly exceeded people’s expectations. Thank you for producing these practical, trusted, informative and in addition fun tips about this topic to Kate. https://seroquelquetiapine.com/#

  20. seroquel no rx on

    I’m commenting to let you be aware of of the great encounter my friend’s daughter found reading your site. She figured out numerous issues, not to mention what it’s like to have a wonderful giving mindset to have men and women quite simply have an understanding of selected hard to do subject areas. You really exceeded our expectations. Many thanks for giving the insightful, safe, explanatory and as well as easy thoughts on the topic to Janet. https://seroquelquetiapine.com/#

  21. quetiapine price on

    I am only writing to make you understand what a superb experience our princess undergone viewing yuor web blog. She picked up such a lot of things, with the inclusion of what it is like to possess an ideal teaching style to make the others without hassle thoroughly grasp specified tricky topics. You undoubtedly surpassed visitors’ expected results. Thanks for showing those valuable, trustworthy, revealing not to mention unique tips on your topic to Sandra. https://seroquelquetiapine.com/#

  22. strzykawki trzyczęściowe tuberkulinowe on

    Dzięki za porad dotyczących naprawy kredytu na temat tego wspaniałego witryny. Kilka wskazówek i chciałbym powiedzieć ludziom powinno być to zrezygnować z konkretnej mentalności że mogą obecnie i wypłać później. Being a as be a} społeczeństwo {my|my wszyscy|my wszyscy|wielu z nas|większość z nas|większość ludzi} ma tendencję do {robienia tego|robienia tamtego|próbowania tego|zdarzyć się|powtórz to} dla wielu {rzeczy|problemów|czynników}. Obejmuje to {wakacje|wakacje|wypady|wyjazdy wakacyjne|wycieczki|rodzinne wakacje}, meble, {i|jak również|a także|wraz z|oprócz|plus} przedmiotów {chcemy|chcielibyśmy|życzymy|chcielibyśmy|naprawdę chcielibyśmy to mieć}. Jednak {musisz|musisz|powinieneś|powinieneś chcieć|wskazane jest, aby|musisz} oddzielić {swoje|swoje|to|twoje obecne|swoje|osoby} chcą {od wszystkich|z potrzeb|z}. {Kiedy jesteś|Kiedy jesteś|Kiedy jesteś|Jeśli jesteś|Tak długo, jak jesteś|Kiedy} pracujesz, aby {poprawić swój kredyt|poprawić swoją zdolność kredytową|zwiększyć swój kredyt|zwiększyć swój kredyt|podnieś swój ranking kredytowy|popraw swój kredyt} wynik {musisz zrobić|zrobić|faktycznie potrzebujesz|naprawdę musisz} dokonać kilku {poświęceń|kompromisów}. Na przykład {możesz|możesz|możesz|możesz|będziesz mógł|| możesz|prawdopodobnie możesz} robić zakupy online {aby zaoszczędzić pieniądze|aby zaoszczędzić pieniądze|aby zaoszczędzić} lub {możesz przejść do|może się zwrócić|może odwiedzić|może obejrzeć|może sprawdzić|może kliknąć} używane {sklepy|sklepy|detaliści|sprzedawcy|punkty sprzedaży|dostawcy} zamiast {drogie|drogie|drogie|drogie|drogie|drogich} domów towarowych {dla|w odniesieniu do|dotyczących|odnoszących się do|przeznaczonych dla|do zdobycia} odzieży {strzykawki insulinowe 1ml|strzykawki tuberkulinowe|strzykawki|strzykawka|strzykawki insulinowe|strzykawki do insuliny|strzykawki trzyczęściowe tuberkulinowe|strzykawka tuberkulinowa|strzykawka insulinowa|strzykawka do insuliny|strzykawka trzyczęściowe tuberkulinowa}. https://strzykawkin.pl/

  23. Greetings from Colorado! I’m bored to death at work so I decided to browse your site on my iphone during lunch break.

    I love the information you present here and can’t wait to
    take a look when I get home. I’m surprised at how fast your blog loaded on my phone ..
    I’m not even using WIFI, just 3G .. Anyways, very good site!

    Feel free to visit my blog post – SheLL iNDİR

  24. Hi, I do believe this is an excellent website.
    I stumbledupon it 😉 I am going to return yet again since i have saved as a favorite it.
    Money and freedom is the best way to change, may you be rich and continue to guide other people.

    Here is my website takipçi satın al

  25. Hey just wanted to give you a quick heads up.
    The words in your content seem to be running off the screen in Chrome.

    I’m not sure if this is a format issue or something to do with browser compatibility but
    I thought I’d post to let you know. The layout look great though!
    Hope you get the problem solved soon. Kudos

    Have a look at my web page – takipçi satın al

  26. I just like the helpful information you provide for your articles.
    I will bookmark your weblog and take a look at once more here
    frequently. I’m somewhat sure I’ll be informed many new
    stuff right here! Best of luck for the next!

    Feel free to visit my website – lekekremi

  27. hydroxychloroquine stock price today on

    Attractive section of content. I just stumbled upon your website
    and in accession capital to claim that I get
    in fact enjoyed account your blog posts. Any way I will be
    subscribing on your feeds and even I fulfillment you access persistently quickly. https://hydroxychloroquinew.webbfenix.com/

  28. where can i purchase cialis on

    Hello! I know this is somewhat off topic but I was
    wondering which blog platform are you using for this website?
    I’m getting tired of WordPress because I’ve had issues
    with hackers and I’m looking at alternatives for another platform.

    I would be fantastic if you could point me in the direction of a good platform. http://cleckleyfloors.com/cialis

  29. Attractive section of content. I just stumbled upon your web site and in accession capital to assert that I get in fact enjoyed
    account your blog posts. Anyway I’ll be subscribing to your augment and even I achievement you access consistently rapidly.

    Feel free to visit my webpage: antalya böcek ilaçla

  30. En kaliteli takipçi almak için hazırmısınız?

    Çok hızlı şekilde 1.000 .2000 3.000 gibi takipçiler alabilir dilerseniz 100k ya kadar
    instagram takipçiye sahip olabilirsiniz.
    O halde beklemeden hemen instagram takipçi satın al

  31. Pingback: tinder promo code 2019 Free

  32. Pingback: viagra and nitrates

  33. Pingback: free dating chat room

  34. Pingback: cialis blac

  35. Pingback: generic cialis 60 mg

  36. Pingback: 20mg cialis buy

  37. Pingback: canada pharmacy