Using JDO from webdynpro component.

Hi,
I am using JDO to access the database.I have created the persistance layer, businees layer following the tutorial "getting started with JDO".  they are using Servlets and html as front end. But i need to use webdynpro as front end.can we acess the methods in the business logic from the webdynpro component?
If yes, can you please let me know how to access Database form webdynpro components?
Thanks in Advance,
Lakshmi.

Hallo Lakshmi,
It is technically possible to wrap JDO classes/interfaces using the new JavaBean ModelImport (read WebLog /people/david.beisert/blog/2004/10/26/webdynpro-importing-java-classes-as-model)
But this is usually not desirable to achieve optimal scalability and performance.
Why? JDO objects generally require holding locks of the persistent objects they represent. By binding these objects directly in Web Dynpro contexts, locks would remain attained as long as the user interaction is taking place. JDO theoretically could better adress this, but SAP's implementation currently does not allow attaching/detaching JDO objects from the transaction.
=> the best way of doing this, is by using JDO objects only as DataTransport objects. Someone familiar with JDO should know how this design pattern works. This means, that these JDO objects are not themselves persistent, but are only used to hold transient data. These JDO classes can be imported into Web Dynpro (using the JavaBean model) and bound to Web Dynpro contexts. But persisting the data means to hand the DTOs over to a service layer, which then copies the data, acquires the locks, and saves and commits the data to the persistent storage.
No tutorials for such a scenario exist at the moment.
Greetings, Bertram

Similar Messages

  • Calling Adobe form from Webdynpro component?

    Hi All,
    I have a WD Component which displays all the personel nos and by selecting one personel no and clicking on a button  it has to show the Adobe form which gets the data from BADI.and this is working fine.
    but here my question is in the below code what is" Process"?
    where we find this? please explain me  this statement concatenate l_url '&process=ZORG_CHANGE' '&pernr_mem_id=' L_TEXT5 into l_url.
    my code is:
    method ONACTIONACT_FORM .
    wd_this->fire_from_main_plg(
      DATA lo_nd_pernr_tab TYPE REF TO if_wd_context_node.
      DATA lo_el_pernr_tab TYPE REF TO if_wd_context_element.
      DATA ls_pernr_tab TYPE wd_this->element_pernr_tab.
      DATA lv_objid LIKE ls_pernr_tab-objid.
      DATA L_TEXT5 TYPE TEXT5.
    navigate from <CONTEXT> to <PERNR_TAB> via lead selection
      lo_nd_pernr_tab = wd_context->get_child_node( name = wd_this->wdctx_pernr_tab ).
      IF lo_nd_pernr_tab IS INITIAL.
      ENDIF.
      lo_el_pernr_tab = lo_nd_pernr_tab->get_element(  ).
      IF lo_el_pernr_tab IS INITIAL.
      ENDIF.
      lo_el_pernr_tab->get_attribute(
        EXPORTING
          name =  `OBJID`
        IMPORTING
          value = lv_objid ).
      data l_pernr type p_pernr.
      move lv_objid to l_pernr.
      MOVE SY-UNAME TO L_TEXT5.
      CALL FUNCTION 'HR_ASR_WDA_SET_EMPLOYEE'
        EXPORTING
          PERNR = l_pernr
          ENAME = 'Rajak'
          ID    = L_TEXT5.
      data lo_window_manager type ref to if_wd_window_manager.
      data lo_api_component  type ref to if_wd_component.
      data lo_window         type ref to if_wd_window.
      data l_url             type string.
      data lt_parameters      type tihttpnvp.
      data ls_parameters      type IHTTPNVP.
    Generate the url to be called.
      call method cl_hrrcf_wd_services=>construct_wd_url
        EXPORTING
          iv_application_name = 'asr_process_execute'
          it_parameters       = lt_parameters
        RECEIVING
          rv_url              = l_url.
    Pass the data using Application Parameters
      concatenate l_url '&process=ZORG_CHANGE' '&pernr_mem_id=' L_TEXT5 into l_url.
      lo_api_component  = wd_comp_controller->wd_get_api( ).
      lo_window_manager = lo_api_component->get_window_manager( ).
      lo_window         = lo_window_manager->CREATE_EXTERNAL_WINDOW(
            url          = l_url
            title        = 'Submitted candidate'
            has_menubar  = abap_false
            has_toolbar  = abap_false
            has_location = abap_false                   ).
      lo_window->open( ).
    Regards,
    Lakshmi.

    Hi,
    in my scanario ,adobe form is updated or getting values from  BADI. How to find the BADI's name ?and how it triggers?where do i find the exit handler etc?
    Can you explain me this?
    Regards,
    Lakshmi.

  • Using skin from mediaplayback component on flvplayback component ?

    Hi.
    Is it possible to use the skin from the mediaplayback
    component on the flvplayback component ?
    (I've been checking online for this but can't find answer
    anywhere.)
    I want to use the flvplayback so as I can keep the movie
    controls within the area of my flv movie.
    The flvplayback is too large with the boarders and the fact
    that the progress/control bar is placed outside of the movie area.
    Any advice would be great. Thanks. Joey

    Hi.
    Is it possible to use the skin from the mediaplayback
    component on the flvplayback component ?
    (I've been checking online for this but can't find answer
    anywhere.)
    I want to use the flvplayback so as I can keep the movie
    controls within the area of my flv movie.
    The flvplayback is too large with the boarders and the fact
    that the progress/control bar is placed outside of the movie area.
    Any advice would be great. Thanks. Joey

  • Call WebDynpro component interface

    Hi experts
    We have developed a WebDynpro component to export context data node to excel file using jakarta poi libs.
    This component have all logic to generate the excel file, and have only one method in component interface controller, this method is called with other WebDynpro components and work fine.
    Now we have new requeriments, we need to generate the same excel file with one scheduled task in KM.
    Anyone know if is possible to call our WebDynpro component interface method from scheduled task?
    Best regards

    Hi Xavier
    If I were you I'd just separate the logic to generate the excel from the WebDynpro component. If the logic is isolated in Java lib it can be invoked from WebDynpro component and also from the KM Scheduler. There is no necessity to invoke the whole WebDynpro component from KM scheduler. Moreover, I think that it's not possible.
    BR, Siarhei

  • How to get the floor plan in Webdynpro component ?

    Hi,
    How to get the floor plan in Webdynpro component ?
    Best Regards,
    Tripathi

    Hi,
    Just copy the templates from Webdynpro Component by choosing OIF or GAF or QAF template.
    Regards,
    Bansidahr

  • Update data in r/3 from webdynpro using bapi

    Hi ,
    i am new to webdynpro.
    i want to update data say sales order in r/3 backend from webdynpro.
    can i have some links for the same.
    i have seen previous forums in following link, but couldn't open.do i need to register to have some extra rights.
    /thread/12846 [original link is broken]
    thanks in advance

    Hi Satya
    In order to update data in R/3 from web dynpro you need to use RFC or BAPI
    The Adaptive Remote Function Call (Adaptive RFC) is a technology that enables the Web Dynpro application developer to use the business functions encapsulated in Business APIs (BAPIs) even after a structure modification, without having to provide the new data using a second back end or a new structure with subsequent regeneration of the proxies.
    Procedure for Importing Adaptive RFC model is as follows
      1. Choose the context menu entry Create Model on the Models node of the relevant Web Dynpro component.
    2. In the model wizard, choose Import Adaptive RFC Model followed by Next.
    3. Make the required entries – for example, to specify where the generated RFC model instances and RFC metadata are to be stored.
    4. In the next wizard window, you enter your user data for the SAP System that contains the BAPIs from which you want to generate the proxies. You use it to log on to the SAP System online.
    To be able to log on to the SAP System, it must be entered in the logon group.
    5.  Next select the BAPIs for which you want to create Java proxies in a generation process. Then choose Next to proceed to the next wizard window.
    6.The import log provides information about the generated model classes, properties, and model relations. Choose Finish to start the generation process.
    Now add this model in "Used Model" for your application
    Now for graphic display you create view,for the progarm control create controller and used this model to retrieve & update data.
    For more information about web dynpro for Java refer
    http://help.sap.com/saphelp_nw2004s/helpdata/en/14/c897427f18d06ae10000000a155106/frameset.htm
    For information about RFC & BAPI
    http://help.sap.com/saphelp_nw2004s/helpdata/en/22/042860488911d189490000e829fbbd/frameset.htm
    Regards
    Gauri

  • How to call a RFC of a remote system from an ABAP webdynpro component

    Dear Experts,
    I am a newbie in ABAP Webdynpro.
    I am working on a requirement where I have a webdynpro component on ECC system.I need to call a RFC located on CRM system from my webdynpro component on the ECC system.
    How do I do that ?? Please help.
    Regards,
    Mamai.

    Calling RFC from some other system is same as local except the difference is that you have to give destination name while calling.
    And the regarding the method of calling it depends on your FM.
    if it is big RFC with complex structure, you can create the service call for it with destination given as RFC desitination.
    if it is simple straight forward RFC you can directly call it.
    for creating RFC service call call use this method
    1. Starting the Wizard
    To start the wizard, position the cursor on the Web Dynpro component to be edited in the object list at the left margin of the
    workbench window. Open its context menu and choose the entry Create->Service Call. The wizard is started and leads you
    through the creation process.
    Press Continue.
    2. Choice of Controller
    On the second dialog window of the wizard, you can choose whether the service call is to be embedded in an existing
    controller or whether a new controller is to be created for this purpose. Service calls can only always be embedded in
    global controllers u2013 that is, in the component controller or in additionally created custom controllers. It is not possible, to
    embed service calls in view controllers.
    a. Select radio button Use Existent Controller
    b. Do not change the default entry for component: <CC name>
    c. Enter for controller COMPONENTCONTROLLER
    d. Press Continue.
    3. Service Type and Service Selection
    a. You now select, which service type should be used for this service call. Select radio button Function Module. Fill the
    destination here. Press Continue.
    b. Select the service: for Function Module enter <RFC name>. Press Continue.
    4. The Required Methods and Context Elements
    On the two subsequent dialog windows, default values are listed for giving names to the context nodes and attributes
    required by the service call as well as to the required methods. The proposed names are based on the names of the
    embedded service, but you can change them as required. However, heed the respective notes in the corresponding dialog
    box.
    a. Adapt Context: Select from Nodes/Attributes . Press Continue.
    b. Specify Method Name: leave all entries as provided: Component:  Controller: COMPONENTCONTROLLER Method: EXCUTE_ Press Continue.
    5. Completing the Choice
    When you have confirmed the last dialog box, the generation is triggered. Afterwards you now have the required methods
    and contexts at your disposal for using them within your Web Dynpro component.
    or if you want to call directly the use the call statement with destination

  • Using JDO in a portal component.

    Hi!
    I've tried using JDO in a portal component (DynPage), but it just won't work for me (WAS 6.40).
    What I've tried is this:
    - Looking up a PersistenceManagerFactory using the name "java:comp/env/jdo/defaultPMF"
    This does not work ... I get a NameNotFoundException: Path to object does not exist at java:comp, the whole lookup name is java:comp/env/jdo/defaultPMF
    - After reading this forum I tried with the name "deployedAdapters/jdo/defaultPMF/shareable/jdo/defaultPMF" although this is probably not the correct way
    This did return a PersistenceManagerFactory object, however I wasn't able to cast to the PersistenceManagerFactory interface that I had. It must have been different versions of the interface - I tried downloading the jdo.jar from Sun and compiling the portal component against that, but still the ClassCastException occured. I used the reflection API to determine that the object returned did in fact implement the interface named javax.jdo.PersistenceManagerFactory. I even tried using the jdo.jar libraries from the server, but to no luck.
    So ... my question is: Is JDO not available from a portal component? Must I develop a J2EE application to make it work? If so, I'd rather use Hibernate in my portal components, but it seems stupid when JDO is available?
    Thanks,
    Thomas

    Hi Thomas,
    In order to be able to use JDO in a Portal component, you have to add a Private Sharing Reference to the application sap.com/com.sap.jdo. This is a standard application provided with the SAP WebAS Java installation.
    For more info on how to do that, please refer to <a href="https://www.sdn.sap.comhttp://www.sdn.sap.comhttp://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/library/ep/g-i/how%20to%20access%20an%20ejb%20from%20a%20portal%20component.mht">this</a> tutorial -> Accessing the EJB -> New Portal Component -> scroll to the section "Add PrivateSharingReference".
    Hope that helps!
    Vladimir

  • Launch webdynpro component from a assignment block

    Hi,
    I am trying to launch a webdynpro component on click of a hyperlink from a assignment block.
    This works fine but, on click of hyper link i set a global attribute GV_url = 'X'.
    based on this, i call the webdynpro link in the .htm page of the view.
    <%
    if ZL_BT116IT__BSPWDCOMPONEN_IMPL=>gv_url is not initial.
    %>
    <a href="<%= ZL_BT116IT__BSPWDCOMPONEN_IMPL=>gv_url %>" target="_blank"> Sample URL to launch Web Dynpro Application</a>
    <%
    clear: ZL_BT116IT__BSPWDCOMPONEN_IMPL=>gv_url.
    endif.
    %>
    using this i get an additional hyperlink in the assignment block which on click gets the webdynpro page.
    This is an additionaluser click which is not required.
    How can we skip this , instead directly navigate on click of the attribute in the assignment block?

    have solved this using the script window.open
    <%
    if ZL_BT116IT__BSPWDCOMPONEN_IMPL=>gv_url is not initial.
    %>
    window.open("<%= ZL_BT116IT__BSPWDCOMPONEN_IMPL=>gv_url %>).focus();
    <%
    clear: ZL_BT116IT__BSPWDCOMPONEN_IMPL=>gv_url.
    endif.
    %>
    This helped me open the link directly but have a new problem with this.
    I am able to navigate to the link in a new window only the first time i click the hyperlink.
    once i close the new window and if i try to click the hyperlink again, i am not able to open this again.
    Have tried to debug but, everything is in place.
    Pointers on this scripting would be very helpful.
    Should i clear the link before exceuting again or do any additional scripting?.

  • WI_ID parameter in Application Parameter in webdynpro component using class

    Hi All,
    I want to use WI_ID parameter in Application Parameter in my webdynpro component.
    And i am using class instead of BOR.
    I used this with BOR earlier, but can any one let me know that how to do the same if i am using class.
    Currently i created one parameter as WI_ID in my application parameter, and try to read that in my HANDLEDEFAULT method of windows, i created importing parameter as WI_ID also in HANDLEDEFAULT method.
    but still not getting any value in this parameter.
    How to set this parameter.
    Thanks,
    Amar.

    Hi,
    What is actually your question? Are you trying to get the WD application to work with UWL?
    If this is the case, then just make sure first that the wd application parameter works without the UWL. This should work just like you are doing - importing parameters of the handle default method. Make sure that the parameter works. Test it with launching the WD application with browser <application_url>&wd_id=12345. If you are not getting this working, u should ask it from the WDA forum.
    Then if the question is about how to configure the parameter with UWL, you need to configure it a bit differently with BOR. But maybe you should post your XML here to see what is wrong.
    Regards,
    Karri

  • Calling a WebDynpro Component from other

    I have a WebDynpro Component. When i click on a button , i need to call another WD Component. How can i do this ?

    Hi Manju,
    You can proceed as shown below. You need to just get the URL of the component which you want to call from your component using the static method construct_wd_url of class cl_wd_utilities. You then just have to pass this URL to the create_external_window method of if_wd_window_manager. (This part can be done by using the code wizard itself.)
    Regards,
    Uday
    METHOD onactioncall .
      DATA : lv_url TYPE string.
      CALL METHOD cl_wd_utilities=>construct_wd_url
        EXPORTING
          application_name = 'Z187442_ALV1'
        IMPORTING
          out_absolute_url = lv_url.
      DATA lo_window_manager TYPE REF TO if_wd_window_manager.
      DATA lo_api_component  TYPE REF TO if_wd_component.
      DATA lo_window         TYPE REF TO if_wd_window.
      lo_api_component  = wd_comp_controller->wd_get_api( ).
      lo_window_manager = lo_api_component->get_window_manager( ).
      CALL METHOD lo_window_manager->create_external_window
        EXPORTING
          url    = lv_url
        RECEIVING
          window = lo_window.
      lo_window->open( ).
    ENDMETHOD.

  • Parameter Passing from UWL to WebDynpro Component

    Hi Everyone,
    I m having a small problem in parameter passing from the UWL to the Webdynpro component(EP6 SP16).
    The UWL shows a list of shopping carts and I ve configured it such that the Shopping carts open in the webdynpro application. Now the requirement is that I want to pass the shopping cart number from the workitem container and retrieve it in the webdynpro component.
    The only thing that i m able to retrieve is the work-item ID. I ve followed the documentation on help.sap.com but I m not able to figure out how to move ahead with this.The code which i m using to retrive the dynamic parameter is
    String text = WDWebContextAdapter.getWebContextAdapter().getRequestParameter("DynamicParameter");
    Can somebody please help me with this..
    Regards,
    Prathamesh

    Have you looked at this weblog by Ginger Gatling?
    Create new UI's for existing workflow tasks with ABAP Web Dynpro and Universal Worklist!
    Hope this helps.
    Sudha

  • Passing Parameters from Par component to WebDynpro Application

    Hi all,
    We have a created a WebDynPro and par application. Also we want to pass the parameters from Par component to WebDynPro Application. ( not in query string as application parameters property of webdynpro iView).
    Is it possible to do so? if yes then how?
    Please help us......
    Thanks and regards,
    Prath.

    Hi ,
    If the iviews are on the same page you can use portal eventing for that
    see the documents on portal eventing
    <a href="https://www.sdn.sap.comhttp://www.sdn.sap.comhttp://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/library/ep/_d-f/enterprise%20portal%20client.pdf">EPCF pdf</a>
    <a href="http://help.sap.com/saphelp_nw04/helpdata/en/d3/3857422d095542e10000000a1550b0/frameset.htm">EPCF</a>
    Hope this helps you
    Regards
    Rohit

  • How to get the complete data from Webdynpro using a RFC

    hi guys,
    A form is created in the webdynpro, when that pdf form is called the user have to provide the key field ie the employee number in the form and then when he press the 'go' button a rfc is called and it gives all the details of the employee in the form. Then the user have to input some fields in the form and he have press the submit button. My problem is here, when the user is going to press the submit button that form will be converted to a stream (binary) of data and it is sent to one of the import parameter used in the RFC.
    I have created a RFC and created a import parameter of data type XSTRING, since i want to see what exactly R3 is receiving from web dynpro i am writing this contant in the sever as a text file. When i saw that text file i cant see the complete data.
    And when i searched in R3 the capacity of xstring is 1024 CHAR, so i dont know how to capture the entire data from webdynpro into my R3.
    I give the code what i worte please tell me am i missing anything in my code, or is there any data type which can hold more than 500kb of data which is coming from webdynpro.
    FUNCTION ZSEND_MAIL_ATTACHMENT.
    ""Local Interface:
    *"  IMPORTING
    *"     VALUE(OUT_PLACE_LEVEL) TYPE  XSTRING OPTIONAL
    *"     VALUE(BIN_DATA) TYPE  INDX_CLUST OPTIONAL
    *"  TABLES
    *"      IT_MESSAGE STRUCTURE  SOLISTI1
    Data Declaration
      DATA: gd_cnt TYPE i,
          gd_sent_all(1) TYPE c,
          gd_error TYPE sy-subrc,
          tab_lines LIKE sy-tabix.
    Structure Declaration
      DATA : BEGIN OF it_file OCCURS 0,
              row(255),
             END OF it_file.
      DATA : BEGIN OF i_split OCCURS 0,
      row(50),
      END OF i_split.
    Internal Table Declaration
      data : it_receivers like table of SOMLRECI1 with header line."occurs 0.
      DATA : objbin LIKE SOLISTI1 OCCURS 0 WITH HEADER LINE. "sOLIX
      DATA : it_packing_list LIKE sopcklsti1 OCCURS 0 WITH HEADER LINE.
      data : wa_receiver like table of SOMLRECI1 with header line.
      data : it_receiver like table of SOMLRECI1 with header line.
      data : v_bin_data like SOLISTI1 occurs 0 with header line.
      DATA : gd_doc_data LIKE sodocchgi1 OCCURS 0 WITH HEADER LINE.
    *data bin_data1 like table of solix with header line.
      REFRESH : objbin, it_packing_list, it_receivers, wa_receiver.
      CLEAR   : objbin, it_packing_list, wa_receiver, it_receivers.
      DATA V_SUBJECT(255) VALUE 'HI'.
      gd_doc_data-doc_size = ( tab_lines - 1 ) * 255 + STRLEN( it_message ).
      gd_doc_data-obj_langu = sy-langu.
      gd_doc_data-obj_name = 'SENDFILE'.
      gd_doc_data-obj_descr = v_subject.
      gd_doc_data-sensitivty = 'O'.
      APPEND GD_DOC_DATA.
    Appending The Internal Table it_packing_list
      it_packing_list-head_start = 1.
      it_packing_list-head_num = 0.
      it_packing_list-body_start = 1.
      it_packing_list-doc_type = 'RAW'.
      it_packing_list-body_num = tab_lines.
      APPEND it_packing_list.
    *CALL FUNCTION 'GUI_UPLOAD'
    *EXPORTING
    *filename = V_FILE_PATH
    *filetype = 'BIN'
    *TABLES
    *data_tab = BIN_DATA.
      move bin_data to v_bin_data.
      append v_bin_data.
    *move soli to bin_data.
      LOOP AT V_BIN_DATA into objbin.
    MOVE v_bin_data TO objbin-line.
        APPEND objbin.
      ENDLOOP.
      CLEAR it_packing_list.
      DESCRIBE TABLE objbin LINES tab_lines.
      it_packing_list-transf_bin = 'X'.
      it_packing_list-head_start = 1.
      it_packing_list-head_num = 1.
      it_packing_list-body_start = 1.
      it_packing_list-doc_type = 'PDF'.
      it_packing_list-body_num = tab_lines.
      it_packing_list-doc_size = tab_lines * 255.
      APPEND it_packing_list.
    data file(255) value '/tmp/bali.txt'.
    *Appending The Internal Table it_receivers
    close dataset '/tmp/bali.txt'.
    open dataset '/tmp/bali.txt' for output in text mode encoding default.
    if sy-subrc = 0.
    loop at objbin.
    transfer objbin to '/tmp/bali.txt'.
    endloop.
    else.
    write 'hi'.
    close dataset '/tmp/bali.txt'.
    endif.
      it_receiver-receiver = '[email protected]'.
      it_receiver-rec_type = 'U'.
      it_receiver-com_type = 'INT'.
    APPEND wa_receiver.
    move wa_receiver[] to it_receiver[].
      append it_receiver.
    *Move wa_receiver[] to it_receivers[].
    Clear it_receivers.
    if i_OUT_PLACE_LEVEL NE 0.
    loop at it_receivers into wa_receiver.
       loop at it_receivers into wa_receiver.
    **Function Module To Post The Message To Externa Mail
         CALL FUNCTION 'SO_NEW_DOCUMENT_ATT_SEND_API1'
           EXPORTING
             document_data              = gd_doc_data
             put_in_outbox              = 'X'
             commit_work                = 'X'
           TABLES
             packing_list               = it_packing_list
             CONTENTS_TXT               = objbin
             receivers                  = it_receivers
           EXCEPTIONS
             too_many_receivers         = 1
             document_not_sent          = 2
             document_type_not_exist    = 3
             operation_no_authorization = 4
             parameter_error            = 5
             x_error                    = 6
             enqueue_error              = 7
             OTHERS                     = 8.
         clear wa_receiver.
    ENDFUNCTION.

    You have to convert your long string to a table of shorter strings.
    There may be other ways, but one possibility is to use a loop to process you string.
    while (there is something left)
       put the next e.g. 1024 characters in a new row of your table
    endwhile
    If you need to reconstruct your string from the table, don't use simple concatenation since it will remove blanks at the end of lines. Believe me (from experience) sooner or later this will happen.
    Instead you need to either set the subsections of your long string, or insert from the end of your table and keep shifting the contents (probably less efficient) right

  • Use of multiple Applications for single webdynpro component in ABAP WEB DYNPRO

    I am working on a object which have multiple webdynpro applications for single webdynnpro component.How to assign a different functionality to each application bcoz when we right click on webdynnpro component and select create webdynpro applications ,it just creates a application how so we assign diff functionality to each of them .Also in the parameter tab of the webdynpro applications ,there is a diff config id mentioned for each application.what is its relavance

    Hi Sam,
    Different functionalities for a single webdynpro component can be achieved by many ways. Among them is the use of multiple applications. Say for example if you want different views/windows to be displayed at the start up, you can achieve it by specifying at the default window, for each every webdynpro application.
    And if you want control the fields, say for example you want to display input fields as editable for one application and read only for other application, you can achieve it through application parameters. Based on parameters, in HANDLEDEFAULT method of window controller , you can specify the type of behaviour , whether it has to editable or not based on parameters and same can be used at context binding of UI properties. 
    Application configuration can be used for personalization.Web Dynpro ABAP Application Configuration. This tutorial would help you understanding the concept much better. There can be multiple application configurations for a single application.
    Regards,
    Harsha

Maybe you are looking for