2017 Jun 28 9:09 AM
Dear friends,
The requirement is to replace some content "ABC" with "XYZ" in all classes (or even from a list of classes taken from user input.
Is it possible to do this programatically from a report?
Thanks!
Rohan
2017 Jun 28 10:01 AM
What is "class content"? If it is source code why don't you simply read SAP's documentation and especially all the warnings there. Since it seems that you are not too experienced with that stuff, I'd say: Hands off!
2017 Jun 28 10:01 AM
What is "class content"? If it is source code why don't you simply read SAP's documentation and especially all the warnings there. Since it seems that you are not too experienced with that stuff, I'd say: Hands off!
2017 Aug 02 5:06 AM
2017 Jun 28 10:05 AM
Hello,
That seems a desperate solution but it's doable.
Please, have a look at this thread :
https://archive.sap.com/discussions/thread/90787
Whatever solution you will choose, you should really consider changing "XYZ" by a call to a static method / class constant instead of a raw value.
Best regards
2017 Aug 02 4:55 AM
2017 Jun 28 11:25 AM
I would go further and instead of modifying this value direct in code, modify the method to read from a table or something like that and then you would not need to change this in the code afterwards.
2017 Jun 29 8:15 AM
Yes. If a global change like this is required, it's an indication of poor programming to begin with.
2017 Jun 29 12:28 PM
2017 Aug 02 4:55 AM
I know, I know. This is for a poc we're working on, where we're trying to switch frameworks. Just an option that must eventually be struck off, but not before knowing the possibilities.