cancel
Showing results for 
Search instead for 
Did you mean: 

WD ABAP component configurations

Former Member
0 Kudos

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?

Accepted Solutions (1)

Accepted Solutions (1)

former_member215843
Active Participant
0 Kudos

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

Answers (1)

Answers (1)

mohammed_anzys
Contributor
0 Kudos

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