on 06-12-2007 2:24 PM
We are using WD ABAP component configurations. We understand how to create and change them, but one question remains unsolved:
Can we load WD component configurations dynamically at runtime from ABAP, so in case we have scenario 1 we load configuration 1.
Any idea?
Hi Frank,
Yes, you can!
First of all you can create different application configurations. You start it from SE80 from the application using the context menu "create/change configuration".
There you can enter the ids of the component configurations for each component usage. You can create more than one application configuration, which means: for each scenario you should create one.
If this does not fit for your application, you can load the component configuration dynamically.
Variant 1: When you instantiate the component, you can pass the configuration key as an optional parameter.
Variant 2: In each component you can load the configuration with a method of the personalization interface. You can do so using the code wizard.
The configuration key is structured as follows: Create a data of type WDY_CONFIG_KEY, set the CONFIG_ID to the id you entered in the configuration editor, and keep the rest initial.
Ciao, Regina
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Frank,
I am not sure whether you could dynamic assign a component configuration , as we statically assigne these during our programming.You could go through these links , i am not sure this will be of much help.
http://help.sap.com/saphelp_nw2004s/helpdata/en/47/5e9442d644ce6ae10000000a155106/content.htm
http://help.sap.com/saphelp_nw2004s/helpdata/en/fd/2da442dc030e31e10000000a1550b0/content.htm
Thanks
Anzy
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
87 | |
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.