Skip to Content
avatar image
Former Member

WD ABAP component configurations

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?

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

2 Answers

  • Best Answer
    Jun 12, 2007 at 03:10 PM

    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

    Add comment
    10|10000 characters needed characters exceeded

  • Jun 12, 2007 at 03:08 PM

    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.



    Add comment
    10|10000 characters needed characters exceeded