‎2013 Feb 14 12:55 PM
Hi,
I am working on new checks for the code inspector.
From tcode SCI, checking all objects in a Transport Request will ignore SmartForms (type SSFO). For example, if I have a smartform and a report, it will only check the report.
So my question is: is there a way to check ALL objects of any type in a transport request? I've seen that you can define an object set to look for some specific object type, but not in a specific transport request.
Thanks!
‎2013 Feb 14 1:58 PM
I don't know if SCI "Source Code Inspector" can do anything with code sources included in Smartforms, do you already get SCI working on Smartforms, there is no option in my version to call SCI from transaction Smatforms, what is yours ?
Nevertheless, in global customizing of transport (one of the last options of transaction SE03) you can force control of objects when the transport request is released, not only sci as written in the documentation :
various object checks are performed
Regards,
Raymond
‎2013 Feb 14 5:19 PM
You can define an Object Set, and there choose only SSFO objects (smartforms). I haven't tried it yet, but anyway, it won't let me choose the request to look at, only the object type.
Anyway, if you want to check a smartform with SCI, you have to get it's associated FM, with that FM, go to table TFDIR and get the associated program. With that program name , go run SCI for object type "Program".
Debugging, I saw that, for a request with a report and a smartform, a table L_OBJECTS has both objects, and then filters the SSFO, leaving only the PROG object. The object's type are checked against a types list range, which doesn't have the SSFO type. I thought somehow I could add this entry with some SCI options, but so far I couldn't.
Thanks anyway!
‎2013 Feb 14 2:14 PM
Hello,
As far as I know I did not see the smartforms object in the transaction SCI.
If you are looking specific to smartforms you can do the following -
Go to smartforms transaction and get the FM name. Then in SE37 for this FM you can do Sytax check (Ctrl F2), Extended Program check and Code Inspector.
Best regards,
swanand
‎2013 Feb 14 5:28 PM
I haven't tried it yet, but as I said to Raymond, you can define an Object set, where you can choose the object types to check (there choose SSFO).
My objective is to group every checks to be run on a transport request, so we can check all of its objects in a single step, right before releasing the request.
Thanks anyway Swanand!
If I find a way, I'll update this post.