2019 Jan 20 11:43 AM
Normally, we use SE38 and SE24 to create reports and classes.
I am wondering if there is a coding way to do that.
Normally, we use SE38 and SE24 to create reports and classes.
I am wondering if there is a coding way to do that.
2019 Jan 20 11:59 AM
Hi
How to download source code from the class builder SE24
To download the source code , go to each method and double click the method .. it opens up .. then go to the menu utlities -> more utilities->download .. you need to download individual methods like this ...i don't think is there any way to download whole class at a time.
Regards
Prashant
2019 Jan 22 5:38 AM
Not that you're answering the question, but if you use the source-code based button in SE24, or Eclipse, you get all the methods in one go.
2019 Jan 20 12:02 PM
There are several ways, like function modules SEO_CLIF_MULTI_IMPORT or SEO_CLASS_CREATE_COMPLETE for class pools, you may check in abapGit how they are used (it also creates any other kind of repository object, so just look at its code).
2019 Jan 20 2:52 PM
I believe you are talking about ABAP code generation. Yes, it is very much possible. Use class CL_CMP_COMPOSER and templates.
Check this example: https://help.sap.com/doc/saphelp_dbm800/8.0/en-US/f4/0f5f790d494ad7b101f6b04990cd5f/content.htm?no_c...
2019 Jan 20 4:17 PM
It's specific to BRF+. The question is for mimicking SE38/SE24 programmatically.
2019 Jan 22 4:42 AM
sandra.rossi
As mentioned in my post it is an example of code generation. CL_CMP_COMPOSER is the primary class for ABAP code generation (though it is SAP internal). CL_CMP_COMPOSER is used in the example link I posted. Just do a 'Where Used List' on class CL_CMP_COMPOSER and you will see all ABAP generation examples.
The link I posted though is specific to BRF+ it is an example of Code generation using templates.
2019 Jan 22 5:16 AM
Sounds like you want to generate ABAP code dynamically. I have done it multiple times, it is possible. Check the commands INSERT REPORT and INSERT TEXTPOOL.
| User | Count |
|---|---|
| 6 | |
| 2 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |