Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Code Inspector: Object types

Former Member
0 Likes
2,738

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!

4 REPLIES 4
Read only

RaymondGiuseppi
Active Contributor
0 Likes
1,885

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

Read only

0 Likes
1,885

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!

Read only

Former Member
0 Likes
1,885

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

Read only

0 Likes
1,885

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.