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?

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

Similar Messages

  • Web Dynpro ABAP Component configuration - Invalid access Key

    Hi Friends,
    I have copied HRESS_CC_MENU_OVP to ZHRESS_CC_MENU_OVP and trying to configure it. Even after registering the object it is giving the same error Invalid access key.
    We have registered HRESS_CC_MENU_AREA_GROUP and the access key worked fine. But registration for HRESS_CC_MENU_OVP is giving error Invalid access key. We have deleted and registered the object thrice but system is giving the same error.
    Can someone please suggest me where I have gone wrong.
    Thanks,
    Ravi

    Hi,
    Each component will have different access key. you cannot use the same access key to different application.
    You can try with different access key else you have an option of enhancing the HRESS_CC_MENU_OVP.
    Regards,
    Jyothi

  • SRM7.0 Meta Data Handling or Component Configuration

    Hi Experts!
    Let's say you for some reaseon want to remove the a field in the Shopping Cart at item level. To achieve this you could e.g.
    1. Use the Component Configurator (SE80) - and use the browser-based Editor for the WDP ABAP Component Configurator
    2. Use the Meta Data Handling Concept and configure the field control there
    My guess is that one should use #2 if one need to control the behaviour of the field according to roles or authorities, but is this correct, or are there other considerations that should be taken into account when performing UI adjustments using the above mentioned methods?
    brgs Ziggy

    Check the below link, this should help you.
    http://wiki.sdn.sap.com/wiki/display/SRM/HowtoaddCustomerfieldsinSAP+SRM
    Regards,
    Jagadish

  • Component Configuration in Webdynpro ABAP

    Hello,
    I created a Webdynpro ABAP Application which works fine . Then I created a Component Configuration to hide a particular UI Element . Now how can I test it? Also I tried creating a iview on Portal and point to the Application name and Configuration name but still that UI Element shows up.
    What is the right way of doing this.?
    Thanks

    Hi,
    To test the web Dynpro Configuration
    1) Right click the web dynpro component and select the Create/Change configuration item
    2) A new application configuration window opens in that window give your Web Dynpro component name and in the Configuration id give a Name for your configuration and save it
    3) After saving a new window opens with list of created configuration find your config file and select it and click on the go to configuration button
    4) Here you will find the component name and Configuration id which we have already given
    5) Choose change button here you will see Attribute, Component Defined and Web dynpro built-in tabs
    6) select the context attribute which you have created in the custom controller with type boolean and set it to false to hide it
    save the configuration and test it.
    Note: To test the Configuration an configured application will be created under the web dynpro application right click and select test.
    You can refer [this|http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/b52e13c3-0901-0010-8fa6-d11a51821b7c?quicklink=index&overridelayout=true] link.
    Regards,
    Arun.P

  • Component Configuration in webdynpro for abap

    Hi Experts,
    I have created a component configuration for a webdyn pro component.
    When i create this configuration a tab "COMPONENT DEFINED" is not getting enabled.
    Please tell me why it is not getting enabled and what is the actual use of this tab.

    Hi Archana
    Create a context node in your custom controller which is configuration controller and activate the component.
    You will now able to see the Component-Defined tab enabled, where you can set the values to the context attributes which are defined in your configurable custom controller.
    Thanks
    Abhi

  • FPM: Error while creating component Configuration

    Hi,
    I have installed ABAP trial version (NSP), but without loopback adapter. So, now for every WebDynpro application, I have my manually change link from "http://<mymachineName>:8000" to  "http://localhost:8000".
    I create an application on FPM component: FPM_OIF_COMPONENT, then an application configuration for this application.
    I open this Appl. config. in se80 and press "Start configuration".  Now I try to create new component configuration.
    After maintaining description and transport information, I save it.
    At this point, I get a dump:
    "RFC Error while sending logon data"
    CALL_FUNCTION_CONNECT_ERROR in CL_WDR_CFG_COMP_SHBROKER======CP.
    The class: CL_WDR_CFG_COMP_SHBROKER method: INVALIDATE
    has a call:  call function 'WDR_INVALIDATE_CFG_PATTERN' starting new task l_cfg_task
            exporting client = client pattern = l_instance_name .
    where it dumps.
    could you please to resolve what could be wrong? is there some system setting which I missed.
    Regards,
    Daman

    Hi ,
    This exception is raised when a connection or communications failure occurs.
    This exception reports all failures and system problems on the remote machine . so look like there  is some porblem with your system connection .
    Could you please check in your host file , is that entry for system is maintain  or not ?
    Hope this help .
    Regards,
    Dinesh

  • Difference between component configuration and application configuration in webdynpro

    what is the difference between component configuration and application configuration in webdynpro?

    Hi Rohit,
    With the component configuration, you can control the behavior of each individual component within a Web Dynpro application or the user interface of individual views. For each component, several records of configuration data can be created.
    Using the application configuration, it is now possible to assign the configuration required in the current application to all the components used.
    In short : Component Config belongs to WDP Component and Appl'n Config. belongs to WDP Appl'n.
    Check this document for more information.
    Web Dynpro for ABAP - Component and Application Configuration
    Thanks
    KH

  • Component Configuration Problem

    Hi!
    When trying to create a new Component Configuration, I receive the following error:
    The following error text was processed in the system TS3 : Screen output without connection to user.
    The error occurred on the application server PSD1P02_TS3_01 and in the work process 0 .
    The termination type was: RABAX_STATE
    The ABAP call stack was:
    SYSTEM-EXIT of program SAPLSKEY
    Function: TADIR_OBJECT_CHECK of program SAPLSKEY
    Function: CHECK_ACCESS_KEYS of program SAPLSKEY
    Method: CHECK_TROBJ_BEFORE_EDIT of program CL_WD_CONFIGURATION_MODEL=====CP
    Method: FILL_PERS_DATA of program CL_WD_CONFIGURATION_MODEL=====CP
    Method: EDIT_COMPONENT of program /1BCWDY/5EW9TCGM8MA6AXLHVUNF==CP
    Method: IF_COMPONENTCONTROLLER~EDIT_COMPONENT of program /1BCWDY/5EW9TCGM8MA6AXLHVUNF==CP
    Method: ONACTIONACTION of program /1BCWDY/5EW9TCGM8MA6AXLHVUNF==CP
    Method: ONACTIONACTION of program /1BCWDY/5EW9TCGM8MA6AXLHVUNF==CP
    Method: IF_WDR_VIEW_DELEGATE~WD_INVOKE_EVENT_HANDLER of program /1BCWDY/5EW9TCGM8MA6AXLHVUNF==CP
    Has anybody got an idea what the problem could be?
    Regards,
    Thomas

    Hi Thomas,
    I have come accross such a error when i am trying to save the Component Configuration. I have saved the component in the $tmp/local objects and later when the object entry comes below the WebDynpro component then I changed the Object directoty entry and changed the package.
    Best regards,
    Suresh

  • Assignment of Component Configuration

    Hi,
    As you see in the screenshot, the Comp.Conf /.../GRC_GRAC_ERM_OIF is assigned to Component FPM_OIF_COMPONENT:
    But I think this is the cause for some errors in my application. The standard looks like this:
    I want to set up the configuration to the standard, but I have no idea how to assign the component configuration GRAC_ERM_OIF (which is the standard for this application) to the component FPM_OIF_COMPONENT.
    The configuration is standard:
    Any ideas how this could be configured?
    Thanks and regards
    Peter

    Hi Peter,
    the most interesting question in your case is, how this change could have happened. It doesn't seem to be a delegation enhancement - this could be detected via the technical help (and your screenshot doesn't seem having a delegation enhancement implemented).
    Probably the following documents can help to analyse your situation in more detail:
    ** TEAM FPM ** - Analyzing your FPM Application (in general, customizing, enhancements, ...)
    How to Create, Enhance, and Adapt Floorplan Manager Applications on SAP NetWeaver 7.31
    From your screenshots I would assume that someone has purely modfied the standard delivered SAP application configuration (which is dangerous and not the way we recommend to enhance standard delivered applications - for smoothly enhancing SAP delivered FPM applications we recommend the above documentation).
    What you could analyze additionaly is to have a look at your application configuration via the WD ABAP application wd_analyze_config_appl to see whether any changes to the standard can be found.
    Best regards,
    Julia
    PS.: If it is really a modification you assign the original floorplan configuration via SE80. You double-click on the affected application configuration, press "Start Configurator", enter in change mode. Then you select the affected configuration and press button "Assign Configuration Name".

  • Blank Page due to component configuration

    I was trying to create a component config for a SAP standard Webdynpro component. I did not save anything but after a short while when I execure the appication, it just shows a blank page. Whatever, I tried after that did not get me the display. I created a new 'Z' applicaion to that and now I can see the display when I run the new application. It still shows a blank page if I execute SAP standard application. 
    Did anyone experience anyhting like that?  How can I get back the original display for the standard application?
    Thanks,
    Ramesh

    hi ,
    refer this article Web Dynpro for ABAP - Component and Application Configuration
    http://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/b52e13c3-0901-0010-8fa6-d11a51821b7c;jsessionid=(J2EE3417500)ID1896731950DB11919940788314478778End
    regards,
    amit

  • Short Dump in Component Configuration during creation

    Hi ,
    While creating component configuration ,i am getting a message as:
    The following error text was processed in the system E12 : Screen output without connection to user.
    The error occurred on the application server ecc12_E12_00 and in the work process 0 .
    The termination type was: RABAX_STATE
    The ABAP call stack was:
    SYSTEM-EXIT of program SAPLSKEY
    Function: DEVELOPER_CHECK of program SAPLSKEY
    Function: CHECK_ACCESS_KEYS of program SAPLSKEY
    Method: CHECK_TROBJ_BEFORE_EDIT of program CL_WD_CONFIGURATION_MODEL=====CP
    Method: FILL_COMP_CONFIG_CONTEXT of program CL_WD_CONFIGURATION_MODEL=====CP
    Method: CREATE_CONFIG_CONTEXT of program /1BCWDY/IB48HP1E9RW91UCEZDMS==CP
    Method: RUN of program /1BCWDY/IB48HP1E9RW91UCEZDMS==CP
    Method: IWCI_IWD_CONFIGURE_COMPONENT~RUN of program /1BCWDY/IB48HP1E9RW91UCEZDMS==CP
    Method: EDIT_COMPONENT of program /1BCWDY/FB00EOBCHT1AUXABNS6J==CP
    Method: IF_COMPONENTCONTROLLER~EDIT_COMPONENT of program /1BCWDY/FB00EOBCHT1AUXABNS6J==CP
    Can any one suggest the cause of the same
    Regards
    Akshat

    hi,
    try refering the help
    http://help.sap.com/saphelp_nw04s/helpdata/EN/77/3545415ea6f523e10000000a155106/frameset.htm
    FYI ,for ur general administration data :  name of the configuration, description of the text ,name of the associated component,
    collection assignment ,original language ,user name of the creator and date created ,changed by/on.
    u2022Explicit configuration data :
    The availability of a configuration controller in the component is a prerequisite.
    On the left side there is a hierarchical list of available context nodes with associated elements, whereby each element can have attributes. The number of elements and the attribute values can be changed. The number of elements can only be changed if the nodes have been defined with 0..1, 0..n or 1..n.
    u2022Implicit Configuration data :
    On the left is a hierarchical list of views and the UI elements located in them. Next to this on the right are the changeable properties of each UI element selected on the left.
    rgds,
    amit

  • How to create application and component configuration

    Hi ,
                Can any one have Tutorial for creating application and component configuration (like tutorial available in SDN for ALV create).
    Thanks in advance

    hi varun.......
    check out these links....
    Web Dynpro for ABAP - Customization and Personalization [original link is broken] [original link is broken]
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/b52e13c3-0901-0010-8fa6-d11a51821b7c
    ---regards,
      alex b justin

  • WDA Component configuration - 'Component-Defined' is not enable?

    Hi,
    I create a web dynpro abap component and then a component configuration, but is not possible to modify
    tab 'Component-Defined'.
    Could you please tell me why 'Component-Defined' is not enable?
    Thank you.
    Best regards.
    Al
    Edited by: Alberto Baracco on Feb 15, 2011 11:30 AM

    Hi,
    my WDA implements a POWL application and uses the component POWL_UI_COMP.
    I have copied in the context of the custom controller the node CONF_DATA of the custom controller POWL_CONFIG.
    Now tab 'Component-Defined' of my component configuration is enabled and it contains the parameters of node CONF_DATA.
    Thank you.
    Best regards.
    Al

  • Error when trying to create component configuration

    Hi!
    When I try to create a component configuration, the following error occurs after pressing the <create>-button:
    Dynproausgabe ohne Verbindung zum Benutzer (<b>Dynpro output without user-connection </b>)
    Applikationsserver PSD1P02_TS3_01 und im Workprozess 0
    RABAX_STATE
    SYSTEM-EXIT of program SAPLSKEY
    Function: TADIR_OBJECT_CHECK of program SAPLSKEY
    Function: CHECK_ACCESS_KEYS of program SAPLSKEY
    Method: CHECK_TROBJ_BEFORE_EDIT of program CL_WD_CONFIGURATION_MODEL=====CP
    Method: FILL_PERS_DATA of program CL_WD_CONFIGURATION_MODEL=====CP
    Method: EDIT_COMPONENT of program /1BCWDY/5EW9TCGM8MA6AXLHVUNF==CP
    Method: IF_COMPONENTCONTROLLER~EDIT_COMPONENT of program /1BCWDY/5EW9TCGM8MA6AXLHVUNF==CP
    Method: ONACTIONACTION of program /1BCWDY/5EW9TCGM8MA6AXLHVUNF==CP
    Method: ONACTIONACTION of program /1BCWDY/5EW9TCGM8MA6AXLHVUNF==CP
    Method: IF_WDR_VIEW_DELEGATE~WD_INVOKE_EVENT_HANDLER of program /1BCWDY/5EW9TCGM8MA6AXLHVUNF==
    Has anybody come across that problem and a solution on hand?
    Regards,
    Thomas

    Hi, Koen!
    Thanks for your answer. Unfortunatly I' ve only one session open - and that should' nt be too much, should it?
    Any other ideas?
    Regards,
    Thomas

  • Setting up NWDI for E-Commerce 5.0 and getting" No component configured"

    Hi Experts,
    Our basis consultant recently installed NWDI. I am having trouble setting up a Track for our E-commerce development.
    If i try to save my track it gives the message "No component configured". When I try to setup my Runtime sytem and give the Development system name and  Message Server port, it gives the message " Message server could not be contacted".  Because of these errors it does not let me save any Track information.
    Domain  was not defined, so I defined a domain. But Please help in determining what other steps are still needed before i can create a track.
    Thanks in advance,
    Dips

    If anyone knows how to get a user-entered custom value from the item level to a custom java class, please let me know.
    I'm still looking into how to extend the quote and allow for the re-use of it, if all the quantity on the line item has not been exhausted.
    I can easily add a custom field to the header of a .jsp and access that user entered value by coding against the requestParser.
    Example: Parameter xxx = requestParser.getParameter("customerHeaderParm");
    But, when I add a customer parameter to the item level of the .jsp, I cannot leverage the same to code and get at the user entered value. The value comes back as null.
    The two files I am working with are as follows: orderstatusdetail.jsp and Z_DocumentStatusOrderQuotAction, which is an extension of the standard class, DocumentStatusOrderQuotAction.
    I am working with the requestParser within the ActionForward isaPerform() method of Z_DocumentStatusOrderQuotAction. I need to get to those item level values BEFORE the order is created from the quotation.

Maybe you are looking for

  • Xbox 360 to macbook?

    i was wondering if theres a way to use my macbook as a screen to plug my xbox 360 to it will it work? thanks

  • Sort a vector of objects by one of its attributes

    Hi all! I have created this class: public class Client { private int numero; private double tempsEntrada; private double tempsServei; private double tempsIniciSessio; private char tipus; * Creates a new instance of Client public Client(int num, doubl

  • Printing a Numbers Spreasheet in a landscape view.

    How do you get Numbers to print a spreadsheet in a landscape view? I am a new Mac user so please be gentle.

  • Combining multiple Tax Authorities onto one Mag file

    I am trying to include multiple tax authorities to one Mag File layout. I have followed the directions provided in the 2009 Year end Tax reporter configuration guide, but the individual tax authorities are still not printing on one Mag file. Briefly:

  • Having trouble with JpegImagesToMovie...

    Hiya ppl, I've developed a small program that can annotate and capture the desktop. I decided to add a recording feature by integrating  . I bundled the final classes into a jar and used an exe wrapper on it. The problem is that the recording feature