on 07-20-2007 7:42 AM
I am dynamically inserting components into my main component.
The name of the component will be fetched from a config table.
Can we check if the component exists before we try to create it?
I mean something like : check_exists( name = <component_name> ) ?
I am not talking about the has_active_component( ) here. I just want to know if any component by that name exists in the workbench at all or not.
Thanks in adv.
Hi,
There are methods to get the name, meta info of components etc. But they can be called only from within the component. You can check out the methods of if_wd_rr_component, if_wd_component. All these can be called only from within components.
What exactly do you want to do? If you want to include components dynamically, you can create a component usage group, and add new usages of components dynamically. That will solve your problem I think.
Regards
Nithya
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
84 | |
23 | |
11 | |
9 | |
8 | |
5 | |
5 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.