‎2010 Oct 24 10:51 AM
Hi all!
I have a problem but don't have way to resolve yet. I can active objects in abap dictionary by abap code(I call function module).
But I don't find any function module to active a program (smart form, function group,...).
Can you give me solutions please!
Thanks & Regard
huandv
‎2010 Oct 24 11:39 AM
‎2010 Oct 24 11:39 AM
‎2010 Oct 24 2:26 PM
Hi!
Thank for you answer. Your answer is so good. But It only active program that haven't got any include, screen. My program have screens, includes.
Can you give me the way to resolve this case. (I'm writing a program that active others, for example: program, smart form,...)
Thanks & Regard
Huandv
‎2010 Oct 24 2:37 PM
Hi!
don't worry: Includes are part of the program. You can not activate the include without (at least one) program where it is included.
If you activate a program, it will activate all includes of the program as well.
Called functions or used classes are NOT activated implicitly.
Regards,
Clemens
‎2010 Oct 24 12:28 PM
Hi huandy,
try transaction SGEN.
In a SAP system, objects are activated 'on demand', that is when used. The run time system determines if any used dictionary objects used in the generated code have changed since last activation and will then automatically re-generate the code when used.
Using this strategy, the system saves a lot of development time (no re-generation of all objects where a changed object is used) and disk storage space for generated objects that are never used.
Sometimes it is helpful to run SGEN in the test and/or production system after changes have been imported. This avoids lots of annoying and time-consuming generation/activation messages in status line.
Regards,
Clemens