2 months ago I created a way to interact in natural language with S/4HANA systems. You can ask what is the increase rate of sales from last months compared to the same period in last year, or ask for a list of online users, post an accounting document, ask for details of a material, etc. All IA based, no hard conditions.
Would be so nice if we could feed (train) in the whole code base which is inside a system like S/4HANA, so that the AI is aware of what classes, FuBas and so on is already there because a lot of customer systems (even newer S/4HANA systems) are filled with tons of old stuff from migration/transformation projects. The AI should then be able to reuse already implemented functionality for new applications or maybe could help clean up the mess and help the customer to reach a clean code and clean core state for their systems. And all that in an easy way with a nice UI (Fiori for sure 😉). I dream of a day where we can ask the AI something like "We want to refactor dev package XYZ with all its dependencies to the latest ABAP syntax with the latest programming model and a fresh modern UI. Please compose a step-by-step guide how to achieve this."
There we see an AI halucinating and btw. this generated text is just a (bad) rewritten version of the class documentation. It's not the teasered "explanation of code". In this small example in the "explain the code" bit the AI states: "The class has protected and private sections that contain internal components" --> nope, it doesn't. There is no (real and used) protected section and neither does it contain anything. This is THE greatest problem GPT has with SAP/ABAP: It is halucinating all over the place, sometimes inventing classes that don't exist, mixing up table structures and or (even harder to spot) mixing up informations of different versions of objects. I tried many AIs (also GPT-4) for ABAP and the real-world result was devastating at best. I'm waiting for an AI that a dev can use in real-world scenarios. But to train an AI for this it has to learn all the codes of the whole system to find any semantics in them. so I cite Linus Torvalds: ""Talk is cheap. Show me the code."
that is nice. already liked the rap-generator as a booster, this even goes a step further which I would love to have as my little abap-programming assistant. no need to create the perfect code, but already give me something to start with which makes it easy to adapt. .. also would be nice to have this as a booster for the s4-code migration or converting existing code to abap-cloud :D
We need AI to help where developers are hurting: "Find me all critical code that doesn't have enough unit tests." "find all dead code that can't be reached or has not been reached based on usage of the last two years" "show me code that can be replaced by existing solutions like standard SAP APIs or proven external solutions (or open source ;-)" "refactor my class to use less and easier to test code while keeping the result the same" "add unit tests to my class using example data from xyz"
Generative AI need to look at latest version of code. As in this example it is single class it works quick. What if sams class instatiated at several places? Which versions it give summary?
Such isolated applications never exist. They always cooperate with SAP legacy code and tons of already created customer legacy code (which often is bad quality). So there is long way to go. On the other hand It would be great to see it in action "identifying and resolving coding issues". Code optimization (especially old legacy customer code) is something that AI can excel right now. Since such task is 90% repetitive patterns and 10% thinking.
Why does ABAP still exist in 2024 despite its lack advanced data structures compared to modern languages like JavaScript? SAP should update ABAP or create a new programming language that support all ABAP core functionalities.
I have never seen developers more eager to make their own obsolete, for a lot of money. Says a lot about the branch. BTW, this is a coder's nightmare. Instead of writing your own code, debugging someone else's because the AI made not a mistake, but a different outcome than what the client wanted. 2013: developers running away from maintenance tickets. 2023: developers looking forward to debug code.
Thanks for sharing your demo. It is really impressive if the program was generated the first time. Is there any plan to make the product public? What is the language model behind it? Is it something dedicated or generally available? In the meantime, I have done my tests with free models and I must say that the tools are quite useful, but imperfect. I prepared a short video about coding in ABAP with free tools - ua-cam.com/video/vkzrwIof88M/v-deo.html
This feature is planned to come in Q2 2024. We are using SAP BTP AI Core on top of GPT as the LLM. The AI Core allows us to train our own model to be better than the public model (but still leverage public model data for generic aspects like intelligent test data).
2 months ago I created a way to interact in natural language with S/4HANA systems. You can ask what is the increase rate of sales from last months compared to the same period in last year, or ask for a list of online users, post an accounting document, ask for details of a material, etc. All IA based, no hard conditions.
What API do you use to query the system?
Thx for the demo. Any news about the release ?
Would be so nice if we could feed (train) in the whole code base which is inside a system like S/4HANA, so that the AI is aware of what classes, FuBas and so on is already there because a lot of customer systems (even newer S/4HANA systems) are filled with tons of old stuff from migration/transformation projects. The AI should then be able to reuse already implemented functionality for new applications or maybe could help clean up the mess and help the customer to reach a clean code and clean core state for their systems. And all that in an easy way with a nice UI (Fiori for sure 😉). I dream of a day where we can ask the AI something like "We want to refactor dev package XYZ with all its dependencies to the latest ABAP syntax with the latest programming model and a fresh modern UI. Please compose a step-by-step guide how to achieve this."
I can feel a nice tool for learners of ABAP language!
really cool! I can hardly wait 🤗😀
There we see an AI halucinating and btw. this generated text is just a (bad) rewritten version of the class documentation. It's not the teasered "explanation of code".
In this small example in the "explain the code" bit the AI states:
"The class has protected and private sections that contain internal components" --> nope, it doesn't. There is no (real and used) protected section and neither does it contain anything.
This is THE greatest problem GPT has with SAP/ABAP: It is halucinating all over the place, sometimes inventing classes that don't exist, mixing up table structures and or (even harder to spot) mixing up informations of different versions of objects.
I tried many AIs (also GPT-4) for ABAP and the real-world result was devastating at best.
I'm waiting for an AI that a dev can use in real-world scenarios. But to train an AI for this it has to learn all the codes of the whole system to find any semantics in them.
so I cite Linus Torvalds: ""Talk is cheap. Show me the code."
Really excited to see the ability to write tests using generative AI. However would be interesting to see if generative AI could do the TDD not TAD.
that is nice.
already liked the rap-generator as a booster, this even goes a step further which I would love to have as my little abap-programming assistant.
no need to create the perfect code, but already give me something to start with which makes it easy to adapt.
..
also would be nice to have this as a booster for the s4-code migration or converting existing code to abap-cloud :D
We need AI to help where developers are hurting: "Find me all critical code that doesn't have enough unit tests." "find all dead code that can't be reached or has not been reached based on usage of the last two years" "show me code that can be replaced by existing solutions like standard SAP APIs or proven external solutions (or open source ;-)" "refactor my class to use less and easier to test code while keeping the result the same" "add unit tests to my class using example data from xyz"
every time when I read your comments, I see that you hit the point. Thanks being my idol in this field.
Generative AI need to look at latest version of code. As in this example it is single class it works quick. What if sams class instatiated at several places? Which versions it give summary?
Amazing! I am looking forward to this new ecosystem combined with Gen AI strengths.
Hi Christian, nice climbing shirt ;)
Zcm_cl_ai_demo ... How did u create that???
That's for premium users 😂 we can't know that.
This is an early, SAP-internal prototype. Tune into SAP TechEd in November for more details.
mind blowing ....!
When this class is gonna be public?
This is an early, SAP-internal prototype. Tune into SAP TechEd in November for more details.
Such isolated applications never exist. They always cooperate with SAP legacy code and tons of already created customer legacy code (which often is bad quality). So there is long way to go.
On the other hand It would be great to see it in action "identifying and resolving coding issues". Code optimization (especially old legacy customer code) is something that AI can excel right now. Since such task is 90% repetitive patterns and 10% thinking.
Are there any updates on the release date?
Not yet. Still targeting Q2 of this year.
Hi, still no updates?
Any news about the release?
At SAP TechEd it was annouced that this is planned for availability in Q2 of 2024.
Why does ABAP still exist in 2024 despite its lack advanced data structures compared to modern languages like JavaScript? SAP should update ABAP or create a new programming language that support all ABAP core functionalities.
Please provide information on AI abap class
This is an early, SAP-internal prototype. Tune into SAP TechEd in November for more details.
Great
Stone Age meets SciFi.
I have never seen developers more eager to make their own obsolete, for a lot of money. Says a lot about the branch. BTW, this is a coder's nightmare. Instead of writing your own code, debugging someone else's because the AI made not a mistake, but a different outcome than what the client wanted.
2013: developers running away from maintenance tickets.
2023: developers looking forward to debug code.
cool
Thanks for sharing your demo. It is really impressive if the program was generated the first time. Is there any plan to make the product public? What is the language model behind it? Is it something dedicated or generally available? In the meantime, I have done my tests with free models and I must say that the tools are quite useful, but imperfect. I prepared a short video about coding in ABAP with free tools - ua-cam.com/video/vkzrwIof88M/v-deo.html
This feature is planned to come in Q2 2024. We are using SAP BTP AI Core on top of GPT as the LLM. The AI Core allows us to train our own model to be better than the public model (but still leverage public model data for generic aspects like intelligent test data).