01-16-2019 2:41 PM
Hi all
How to achieve the following :
When I enter a transaction code, it should show me the codes of the report it is calling, it should skip the selection screen if there is any.
... we can see code of report through system>status>program but I want to achieve above scenario through coding
Thank you in Advance
01-16-2019 3:33 PM
Hello Devendra,
You can write a custom program with a parameter to take the t-code as an input and then you can fetch the program name from the table TSTC using the t-code entered as the parameter. Then call the function module 'EDITOR_PROGRAM' from the custom report by passing the fetched report name to the importing parameter program and also set the importing parameter display as abap_true.
This will help you achieve the required functionality.
Let me know if this solution was the one that you were looking for.
01-16-2019 3:02 PM
01-16-2019 3:28 PM
01-16-2019 3:33 PM
Hello Devendra,
You can write a custom program with a parameter to take the t-code as an input and then you can fetch the program name from the table TSTC using the t-code entered as the parameter. Then call the function module 'EDITOR_PROGRAM' from the custom report by passing the fetched report name to the importing parameter program and also set the importing parameter display as abap_true.
This will help you achieve the required functionality.
Let me know if this solution was the one that you were looking for.
01-16-2019 4:35 PM
01-16-2019 4:38 PM
You’re most welcome Devendra. I am glad the solution provided was of use to you.