Dynamic switch of component configuration

Hello all,
In my webdynpro application i select a list of addresses. Dependent on selected address i would like to show an address with predefined component configuration.
Selection of addresses and show of an address are implemented in two components but in one application. I have definied configurations for each adress type.
Is it possible to switch the component configuration at runtime?
Or i must create two applications and after selection of an address start the second application with an application configuration?
Thanks
Regards
Paul

hi
good
go through this link
https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/b0446f5c-fcb9-2910-e082-88becbe3ddc9
thanks
mrutyun^

Similar Messages

  • Changes in enhancement to the component configuration not reflected

    Hi,
    I have created a Z enhancement to a standard OIF component configuration. In the enhancement I have added a button.
    When I run the application I am not able to see the button I added. When I select More Field Help on the context menu of the WD application, I see the Z enhancement name in the Configuration ID. This means that the enhancement configuration is getting called but the button is not displayed. The button's visibility and final properties are set to true.
    Can anyone help? To my knowledge I do not have to do any other configuration after creating an enhancement. Let me know if I have missed something.
    Thanks,
    Reena

    The issue is resolved. I noticed that there are 2 variants set for the componont configuration (OIF conf). And the variants are set dynamically at runtime. I was making enhancements to a wrong variant earlier. That was the reason why the changes were not reflected.
    Edited by: reenaSDN on Sep 26, 2011 8:09 AM

  • Dynamically switch printer tray from concurrent program in Oracle Apps 11i

    Hi All,
    We have a requirement to dynamically switch printer tray from concurrent program .
    In the application we had a printer "*Printer1*" defined ,the printer (physical) printer have two trays and it always pick paper from Lower tray
    To test the functionality I created one more defination " *Printer2*" in the application .
    For this second printer created one more PPd files Printer2PPD2 . In this Printer2PPD2 the value of DefaultInputSlot i gave as Upper,so that printer will pick paper from upper tray
    As we are having the PASTA configuration hence in the "uiprint.txt" entered the definations for Printer2 and also mentioned the PPD file.
    So in the concurrent program i selected Printer2 and executed the program.But instead of picking from upper tray it picked from lower tray.
    I could know this because in upper tray I had counted the number of papers so if the paper would have been picked ,the count would have reduced by 1.
    Please let me know the solution for this issue.
    Thanks and Regards
    Jaydeep

    Please refer following notes:
    Dynamically Switching Printer Trays [ID 66402.1]
    How to Specify a Printer Paper Tray With Pasta [ID 241086.1]     
    thanks

  • 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

  • Dynamic(Switch Independent) NIC Teaming Mode Problem

    Hi,
    We are using Switch Independent Dynamic distribution NIC Teaming configuration on Hyper-V 2012 R2 cluster. In the following graphs between 19:48 - 19:58 you can see clearly how dynamic NIC teaming mode badly affected the web servers response times.
    We have encountered this problem on the different cluster nodes that use different NIC chipsets Intel or Broadcom and configured with dynamic NIC teaming for VM Network connection.
    If we change the teaming mode as Hyper-V Port or remove NIC teaming for VM network as you can see from the graphic, response times are back to normal.
    Any ideas?
    Regards

    Hi,
    In the heavy inbound and outbound network load, If you are using the “Switch Dependent” 
    mode, you must configure your switch have the same teaming support mode.
    There have two scenario.
    “Switch Dependent” with LACP if your switch supports the aka 802.1ax.
    “Switch Dependent” mode with Static.
    Example of  Cisco® switch configuration when you using the “Switch Dependent” mode with “Static” mode:
    CiscoSwitch(config)# int port-channel1
    CiscoSwitch(config-if)# description NIC team for Windows Server 2012
    CiscoSwitch(config-if)# int gi0/23
    CiscoSwitch(config-if)# channel-group 1 mode on
    CiscoSwitch(config-if)# int gi0/24
    CiscoSwitch(config-if)# channel-group 1 mode on
    CiscoSwitch(config)# port-channel load-balance src-dst-ip
    Hope this helps.
    We
    are trying to better understand customer views on social support experience, so your participation in this
    interview project would be greatly appreciated if you have time.
    Thanks for helping make community forums a great place.

  • Dynamic switching of keyboard during application

    All,
    I am looking for a solution which will enable the dynamically switching of the keyboard configuration. For example switching the Keyboard from English to Korean and then back to English.
    I am using Solaris 5.8 and have a TYPE 6 USB keyboard.

    All,
    I am looking for a solution which will enable the dynamically switching of the keyboard configuration. For example switching the Keyboard from English to Korean and then back to English.
    I am using Solaris 5.8 and have a TYPE 6 USB keyboard.

  • Multiple application Configurations /Component Configurations.

    Hi,
    I want to know in which scenario we  have to create multiple application Configurations and multiple Component Configurations.
    Plz explain With examples...
    Best Regards,
    dev

    A component config controls the component it self. All views.
    eg a Component when called with config SALES, hides all PRODUCTIN fields.
    Or a Component called with config EXTERNAL automatically switches fields to DISPLAY only. whatever...
    You can see why many configs of 1 component make sense.
    Now you also know   a component can embed other components.
    SO how to you string these all together.
    When you configure an application:
        You simple choose one of the configurations for all embedded components
    that should be used.
    The APPL config tool, looks inside components to find other embedded components.
    You can have a deep selection of component configuration until you reach the lowest level.
    Hence why APPLICATION configuration is required and not just component configuration.
    The application config can have many component config selections inside it.
    Cheers
    Phil

  • 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

  • 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.

  • 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

  • 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

  • No component configuration possible for some web dynpros?

    Hi experts,
    I want to configure buttons for a view. Display of technical information (right click) for UI element
    says:
    Application: /SAPSRM/WDA_L_FPM_OIF
    Web-Dynpro Component: /SAPSRM/WDC_UI_DO_ACC
    Window-Info: IV_L_FPC_CA_DETAILS
    View-Info: V_DO_ACCOUNTING
    Configuration Id: A56B0481584E314F46F1C5E908E8819E
    In SE80 no such configuration id (looks like a GUID) is found. What is
    the name of the configuration ID? How can I configure this strange WD?
    Other views have normal config. id's.
    Any ideas?
    Thanx.
    Joe

    Right click on the application name - in context menu chose create\change configuration, and then create application configuration.
    While creating your application configuration you will be prompted with a component configuration, click on create and then navigate to component configuration and then you can make settings for visiblity of ur reqd button.
    Regards
    Manas Dua

  • How to use custom component configuration

    Hi Experts,
    For a standard webdynpro object I have created a new z component configuration by copying from existing one. In the standard there are already 2 existing component configuration.
    This webdynpro does not have any application created so I am not able to directly assign this component configuration.
    During run time in portal when I view the properties I can see a application for this webdynpro component and the standard component configuration being used.
    My question is how to use the z component configuration I have created in the webdynpro?

    Hi Srinivas
    I researched your problem. I hope the below code helps you. You could add the below code to wddoinit.
    DATA:  lo_api_controller       TYPE REF TO if_wd_component,
              lo_pers_manager      TYPE REF TO if_wd_personalization,
              ls_config_key           TYPE wdy_config_key.
               lo_api_controller = wd_comp_controller->wd_get_api( ).
               lo_pers_manager = lo_api_controller->get_personalization_manager( ).
                     ls_config_key-config_id = 'ZTEST' .
                     lo_pers_manager->load_config_by_key( ls_config_key ).
    Regards
    Lorraine

  • New field not appearing in component configuration for standard web dypro

    I'm trying to add a new column to a table in an sap web dynpro component. I've enhanced the view to add in the new column but also noticed that it's using component configuration. When I go into the approriate configuration, however, all of the existing columns are there but my new column does not appear. Is there something else I need to do to pull the new field into the configuration?
    thanks,
    Malcolm.

    Hi Olivier
    Standard object 0020 gives fields only available in standard tables MARA , MARC , MBEW, MAKT . I too faced this problem for ML based fields in accounting & costing views ( as these fields are not in MBEW they are in CKMLHD). The said Z field if it does not exist in MARC it cannot be seen through std object. U need to do a saperate recording to upload this field. I dont see any other option to my knowledge.U can up load remaing fields through the std object 0020 & create a saperate recorded LSMW only for this Z field.
    regards
    prasad
    reward if useful

Maybe you are looking for

  • How to get additional field from the second list base on lookup information column ?

    Hi everyone, Currently I created a SharePoint hosted Apps project and I need to know how can I get additional field from the second list base on lookup information column. example List1 Have 2 columns column1 and column2(Lookup Information from list2

  • Screen recently started flickering a blue colour on Satellite Pro L

    Hi , My satellite Pro screen has recently started flickering a blue colour.Its happening a few times a day now,and will stay like that until I reboot. However I notice sometimes if I tap the screen it will resolve itself!!Any ideas.Cheers

  • Artboard 2 of 2 prints upside down - Windows 7

    I use Windows 7 - when printing two artboards meant to be two sides on one sheet, the second prints upside down. When printing pdfs for distribution and print-out, I am forced to turn the second artboard upside down, so that it prints normally. I hav

  • Benefit plan - rule issue

    Hello experts, We have an issue that I need your help with.  I am new to benefits so any help would be most appreciated. When an employee tries to enroll their spouse in the Spouse Life benefit plan, he/she cannot enroll them unless they themselves a

  • Why i can not restore my Backup from IPhone 5 to IPhone 3GS?

    Dear All Why I cannot restore my Backup from IPhone 5 to IPhone 3GS? I have Massage inform that my version in my iPhone is old. When I check for updates I received a massage that I have a last updates for this phone. For your kind information the las