‎2014 Aug 01 6:43 AM
Hello Experts,
I'm stuck up with an issue.
I want to convert SAP query into a report program as the things which I need to implement is not possible with SAP Query anymore.
So I need to convert SAP query to Report program.
I'm very much aware about the SQ01--> Query --> More functions --> Display Report Program
But this Report Program generates is AQ..................... but if you see the code there will be buch of dynamic calls not as clear as ABAP code and not much flexibility to modify...
Please Provide a solution to this.
Regards,
Titiksha
‎2014 Aug 01 7:53 AM
If you want to generate program from query, then choose comand Query -> More Functions -> Display report name. Using this name you can see the generated program in SE38.
But honestly I would not recommend generating programs from SAP Queries, as you have to struggle with generated code and then maintain this program. Just imagine if user decided to add some more fields or logic to the resulting grid.
‎2014 Aug 01 7:53 AM
If you want to generate program from query, then choose comand Query -> More Functions -> Display report name. Using this name you can see the generated program in SE38.
But honestly I would not recommend generating programs from SAP Queries, as you have to struggle with generated code and then maintain this program. Just imagine if user decided to add some more fields or logic to the resulting grid.
‎2014 Aug 01 8:46 AM
‎2014 Aug 01 7:59 AM
‎2014 Aug 01 8:45 AM
Hello Vijaykrishna,
Thank you for your reply.
Regards.
Titiksha
‎2014 Aug 01 8:12 AM
I absolutely agree with Glen. We had a project many years ago and a more or less clever consultant decided to copy a code from a query and modified it. The IT department (including me) got to know about it much later, and we were not amused to see that. Two years later we had to extend it with new fields and new logic - it was nearly impossible and took a lot of time finally. Everybody thought: If only we hadn't created this damned copy and had written an own report in the beginning...
‎2014 Aug 01 8:44 AM