09-22-2017 2:30 PM
Hello Experts,
I need to scan source code of a report.
I am using READ REPORT ZREPORT INTO LT_CONTENT.
It is working good if our report is active.
Problem is if I do some changes in the report , and save it (not activate it ). Then if I try to read this using READ REPORT , It only returns activated code.
Is there any way I can read the saved code instead on activated code ?
Thanks a lot for your help !
Harish Bhatt
09-22-2017 2:57 PM
There is an option for READ REPORT: STATE state ('A' or 'I') But seems reserved for SAP (so at your own risk...)
NB: If you are the one who last changed the report, perform some search on FM RS_WORKING_AREA_PREPARE, and call it before the READ REPORT statement...
09-22-2017 2:57 PM
There is an option for READ REPORT: STATE state ('A' or 'I') But seems reserved for SAP (so at your own risk...)
NB: If you are the one who last changed the report, perform some search on FM RS_WORKING_AREA_PREPARE, and call it before the READ REPORT statement...
09-25-2017 8:53 AM