08-04-2008 2:40 PM
Hi,
Is there any function module which will do a syntax check and activate objects, and return errors and status whether object was activated or not.
Any help would be appreciated.
Thanks in advance.
Mick
08-04-2008 2:45 PM
08-04-2008 2:45 PM
08-04-2008 2:46 PM
08-04-2008 2:51 PM
Activation is a little more complex I think. Depending on the object, there would be different implementations of the actviation process. For example, there is a function RS_FUNCTION_ACTIVATE which appears to activate a function, in the underlying code you can see that it deals heavily with the INSERT REPORT statement, which writes the source code in an active state, this is basically the way that regular programs are activated as well.
What object are you referring to specifically?
Regards,
Rich Heilman
08-04-2008 3:05 PM
Thanks Rich.
I have found what I was looking for. The name of the function module is RS_WORKING_AREA_ACTIVATE, which internally calls FM RS_CHECK_SOURCE. In this FM there is class with the method longtext, which gives the error message in case of errors while activating or while doing a syntax check.
Regards,
Mick