How to reference a costum controller from a View?

Hello,
I've created a costum controller and set it at the required controllers of the component.
My question is how to reference this controller from a certain view in order to put values in it?

Hi Roy
If u want to set the Values for the Context Variables inCustom Controller then u can do like this
wdThis.wdGet<<CustomControllerName>>().wdGetContext().currentContextElement().set<<ValueATTributeName>>(<<Value>>);
With Wishes
Krishna Kanth

Similar Messages

  • Reference to Custome Controller from View controller

    Hi all,
    I have created a custom controller and inside that i have a method. i need to execute that method from a view controller, similar to executing a method in the component controller. to execute a method in the component controller i use the WD_COMP_CONTROLLER attribute to refer to the component controller. similarly how to i refer my custom controller from the view, or is there any other way? it would be great if someone can help me with this.
    Malinda

    hi,
    Lets say view1 has the event ONACTIONNAVIGATE and you want to call a method 'start_navigation' in the custom controller named 'navigation'.
    Use the following code.
    METHOD onactionnavigate .
      DATA lo_navigation_controller TYPE REF TO ig_navigation.
      lo_navigation_controller = wd_this->get_navigation_ctr( ).
      CASE navigation_type.
        WHEN 'BACKWARD'.
          lo_navigation_controller->start_navigation( if_fitv_fpm_api=>gc_navigate_backward ).
        WHEN 'FORWARD'.
          lo_navigation_controller->start_navigation( if_fitv_fpm_api=>gc_navigate_forward ).
      ENDCASE.
    ENDMETHOD.
    Thanks,
    Rajkumar.S

  • How do I keep my Imessages from being viewed on other devices under my apple ID?

    How do I keep my Imessages from being viewed on other devices under my apple ID?

    No, you can authorize any number of email addresses on your Apple Id and then select one of those to use as an alternate Send and Recieve for Messages. It isn't necessary to use seperate AppleIDs. I use my phone number on my iPhone and an email address on the iPad.

  • How do I move aiff files from the viewer to the timeline-it is not working when I try to drag and click or clicking on overwrite or insert in Final Cut Pro 7. Thanks

    How do I move aiff files from the viewer to the timeline-it is not working when I click and drag or when I try to move the files to the overwrite or insert buttons-Thanks.

    hi
    You cannot move audio from the viewer
    Mark your in and out points then in the browser grab hold of the audio tracks icon and drag that to the time line
    PJ

  • How do I remove a url from "Always view this page in IE"

    How do I remove a URL from "Always view this page in IE"?

    After the new server is added to the cluster and the AG, remove the old one by first
    ALTER AVAILABILITY GROUP [YourAG]
    REMOVE REPLICA ON N'OldServer';
    Remove a Secondary Replica from an Availability Group
    Then evict the old server from the cluster with the cluster administrator or
    Remove-ClusterNode OldServer
    Remember to verify the quorum configuration after adding the new server and removing the old server.
    David
    David http://blogs.msdn.com/b/dbrowne/

  • How to call a window dynamically from a view

    Dear forum experts,
    I am developing an application where i have  4 view controllers and 2 window controllers under one component.Some times on click of a button i have to give a provision to switch to another view from one view, which i did by firing the plug to the corresponding view..
    Now i have a requirement where, on click of a button i have to navigate to the window dynamically which would contain some static views,
    Can some one please suggest me how to go about it.
    Thanks.

    Hi,
      You can raise the window as a pop-up.
    Example.
      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( ).
      lo_window         = lo_window_manager->create_window(
                         window_name            = 'ZWIN2'
                       title                  =
                       close_in_any_case      = abap_true
                         message_display_mode   = if_wd_window=>co_msg_display_mode_selected
                       close_button           = abap_true
                         button_kind            = if_wd_window=>co_buttons_ok
                         message_type           = if_wd_window=>co_msg_type_none
                         default_button         = if_wd_window=>co_button_ok
      lo_window->open( ).
    I am not sure how to navigate to a view in a different window using plugs.
    I raised the view as a pop up in my requirement.
    Cheers,
    Aditya.

  • How to override or handle print from managed viewer control

    i've recently switched from crystal XI to crystal XI R2.. in the process of doing this we've moved from the old activeX viewer to the manager viewer in crystaldecisions.windows.forms for our windows app.
    With the old ActiveX viewer you could handle the PrintButton_Click event from the viewer and then do your own print with your own settings (we force duplex printing in some scenarios, and other things).
    The managed viewer doesn't appear to expose this event.   I have tried subclassing the viewer and overriding the PrintReport method but this doesn't appear to be called when you click on the Print button in the viewer (if you run viewer.PrintReport from code it does).
    I've also tried subclassing the reportdocument itself and overriding the PrintToPrinter (sp?) method there but with the same results as above - clicking the Print button in the viewer doesn't run my override, but if i run reportdocument.PrintToPrinter from code it does.
    If i can't find a way to do this i will end up adding my own print button to the form and hiding the print button on the viewer.. not my first choice though.
    Is there any other way to override the Print button from the managed viewer?
    thanks
    Shawn

    Hi, Shawn;
    The .NET winform viewer does not have the option to over-ride the print button. The only option is to hide the print button, and have your own button for your custom code.
    Best Regards,
    Jonathan

  • How do you stop Midi controller from switching screensets?

    Yesterday i loaded some projects from logic 7 and all of the sudden when i hit certain notes on my keyboard controller it started to switch through screent sets and my pitch bend was also sending messages to my Mackie control. Does anyone know how to stop that behavior? Im assuming somehow in my enviorment something was altered.

    Hi.
    You may have forgotten about this problem, but I've run into it before in version 7, and now in version 8. I received confirmation from Apple that this is a known bug/issue. Unfortunately, they don't have a solution (yet). Did you discover a work-around or fix?

  • How to reference background image url from css?

    Hello,
    I have uploaded some images and css files to the "Shared Components > Images".
    How can I reference my images as "background-image:url('XXX.gif')" for a css element?
    Thanks,
    John

    To make what Tyler said explicit: APEX doesn't perform recursive (or indeed any) substitution on static files, Re: Use uploaded images in uploaded CSS, so images in static files can't be referenced using #APPLICATION_IMAGES# or #WORKSPACE_IMAGES# in style sheets that are themselves static files. The Re: Help with STATIC HTML file reference another STATIC HTML/CSS file..

  • How to reference all service item from Contract for PO creation

    In standard SAP cannot reference the contract service to PO automatically,
    I'm trying to develop the BADI or user exit,
    The problem is where to set_data for service tab data in  BADI ME_PROCESS_PO_CUST
    In if_services_mm only has method get_srv_data, no set_srv_data

    IF_EX_ME_PROCESS_PO_CUST~PROCESS_ITEM
      SELECT * FROM ML_ESLL APPENDING TABLE SERVICE
                          WHERE EBELN = l_item-konnr
                          AND   DEL    EQ SPACE.
      lr_po_item_handle ?= im_item.
      LOOP AT SERVICE INTO l_service.
        set the service numbers and  and other fields in the contract to l_item. 
      ENDLOOP.

  • ECC5 How to read the stored value from Team Viewer

    Hi,
    How can I pick up the stored value from the team viewer from within ECC5?
    I would normally use FM 'HR_ASR_WDA_GET_EMPLOYEE'  to read mem id MSS01 but this doesn't exist in ECC5.
    All help appreciated.
    Rob

    Hi,
    How can I pick up the stored value from the team viewer from within ECC5?
    I would normally use FM 'HR_ASR_WDA_GET_EMPLOYEE'  to read mem id MSS01 but this doesn't exist in ECC5.
    All help appreciated.
    Rob

  • How can we get the values from the view?

    Hi All,
    my scenario is i have two fields in my view .one is parameter.and another on is select-options.how can i get the user entered values into my selection screen.?
    for the select options i get the values into field-symbol.for parameter i get the value using get_attribute.
    can i use like this in select statement.
    WHERE SERVICE_ID  = ZSD_DD_AUFNRS
                       AND CRE_DT IN <FS_DATE>.
    Regards,
    Ravi.

    Hi Sravan,
    when i am using the below code to generate self defined functions i m getting a error .
    *Generate an object for self defined functions
      DATA: lo_self_functions TYPE REF TO if_salv_wd_function_settings,
    *Generate an object for button 'Confirm'
           lr_button TYPE REF TO cl_salv_wd_fe_button,
           lo_self_function TYPE REF TO cl_salv_wd_function,
                  l_text type string.
    *Set Self-defined functions
    *'Confirm' Button
      lo_self_functions ?= l_value..
      lo_self_function = lo_self_functions->create_function( 'CONFIRM'  ).
      CREATE OBJECT lr_button.
      CLEAR l_text.
      l_text = 'Confirm'.
      lr_button->set_text( l_text ).
      lr_button->set_image_source( '' ).
      lr_button->set_image_first( 'X' ).
      lo_self_function->set_editor( lr_button ).
    Error when processing your request
    What has happened?
    The URL http://cgslsvr3.cgsl.com:8020/sap/bc/webdynpro/sap/zsdr_cash_work_list/ was not called due to an error.
    Note
    The following error text was processed in the system CGD : WebDynpro Exception: IDs Can Only Contain Characters of Syntactical Character Set
    The error occurred on the application server cgslsvr3_CGD_20 and in the work process 0 .
    The termination type was: RABAX_STATE
    The ABAP call stack was:
    Method: RAISE of program CX_WD_GENERAL=================CP
    Method: CONSTRUCTOR of program CL_WDR_VIEW_ELEMENT===========CP
    Method: CONSTRUCTOR of program CL_WD_TOOLBAR_BUTTON==========CP
    Method: NEW_TOOLBAR_BUTTON of program CL_WD_TOOLBAR_BUTTON==========CP
    Method: IF_SALV_WD_COMP_TABLE_UI~CREATE_TOOLBAR_ITEM of program CL_SALV_WD_C_TABLE_V_TABLE====CP
    Method: IF_SALV_WD_COMP_TABLE_UI~CREATE_TOOLBAR_ITEMS of program CL_SALV_WD_C_TABLE_V_TABLE====CP
    Method: IF_SALV_WD_COMP_TABLE_UI~UPDATE_TOOLBAR_ITEMS of program CL_SALV_WD_C_TABLE_V_TABLE====CP
    Method: IF_SALV_WD_COMP_TABLE_UI~UPDATE_TOOLBAR of program CL_SALV_WD_C_TABLE_V_TABLE====CP
    Method: IF_SALV_WD_COMP_TABLE_UI~UPDATE of program CL_SALV_WD_C_TABLE_V_TABLE====CP
    Method: IF_SALV_WD_VIEW~MODIFY of program CL_SALV_WD_C_TABLE_V_TABLE====CP
    What can I do?
    If the termination type was RABAX_STATE, then you can find more information on the cause of the termination in the system CGD in transaction ST22.
    If the termination type was ABORT_MESSAGE_STATE, then you can find more information on the cause of the termination on the application server cgslsvr3_CGD_20 in transaction SM21.
    If the termination type was ERROR_MESSAGE_STATE, then you can search for more information in the trace file for the work process 0 in transaction ST11 on the application server cgslsvr3_CGD_20 . In some situations, you may also need to analyze the trace files of other work processes.
    If you do not yet have a user ID, contact your system administrator.
    Error code: ICF-IE-http -c: 110 -u: CT-0024 -l: E -s: CGD -i: cgslsvr3_CGD_20 -w: 0 -d: 20080414 -t: 105835 -v: RABAX_STATE -e: UNCAUGHT_EXCEPTION
    HTTP 500 - Internal Server Error
    Your SAP Internet Communication Framework Team
    How can i resolve it?
    Regards,
    Ravi

  • How to select a single day from month view

    From my ipad on IOS7 I can not select a single day from the month view? From the old versions all I had to do was double click a single date even if it had multiple appointments in it to view it. Was this feature removed?  Please help

    It appears to me as though it has indeed been removed. You can tap and hold down on a day while in month view to create or view an event, but you cannot tap on the day to open the whole day's events.

  • How to get to full screen from Browser View?

    I just upgraded to Aperture 3. In version 2, I could go full screen from the Browser View easily with just hitting "f". It appears this is no longer possible in version 3? I can get to full screen from the other views no problem.
    Any help?
    Thanks,
    Phil

    Thanks for the replies. Perhaps I should be more specific: I want a single image to be full screen. When I'm in the Browser mode with several images displayed and hit either f or the "full screen" on the tool bar, I simply get a slightly enlarged browser with a black background showing the same multiple images (essentially just eliminating the inspector on the side and the toolbar). On the other hand, if I'm in Split View or Viewer mode, the f key works fine.
    This was the same when I was in the Apple Store yesterday and my "consultant" was somewhat surprised as well. Any further explanation? This is different from my previous version and while not "bad", it is an extra click in my workflow.
    Thanks!
    Phil

  • How to generate output requests (Print) from BSP ?

    How to trigger an Print output controller from BSP ?
    i have designed certification letter in BSP page and if i trigger print button in BSP am passing the required parameters to the SAP spool,and letter is generated in SAPSCRIPT. Ans am able to trigger a print from the spool request.
    But how to trigger the ouput controller from BSP Itself .
    regards ,
    Message was edited by: J
    Solved . I have missed some Printer params .
    Message was edited by: J

    Hi,
    Refer this link.
    How to Print HU and its contents
    Vishal

Maybe you are looking for

  • MSI P45 Neo, bios option for locking ram at specifik speed?

    Hi, exploring abit I cant seem to find any way to lock the ram at a specific speed? I need the RAM to be at 800 mhz, but would like to be able to go above 400 mhz fsb, is this not possible?

  • How do you stop Midi controller from switching screensets?

    Yesterday i loaded some projects from logic 7 and all of the sudden when i hit certain notes on my keyboard controller it started to switch through screent sets and my pitch bend was also sending messages to my Mackie control. Does anyone know how to

  • Creation of an opportunity from quotation within CRM

    Hello Experts, The business requirement is asfollows: The quotations that have been created in ECC are replicated to quotations in CRM. Now they want to be able to create CRM opportunities as a follow up transaction to CRM quotation.  I know this is

  • Help to create a Report Script

    Hi everyone, I'm trying to translate this calculation script line @REMOVE( @CHILDREN("P&L"), @LIST(@UDA ("Accounts", "wo_CC"), @UDA ("Accounts", "wo_C2"), "AX70000", "C71110") ) by this Report script line : <LINK (<CHILD ("P&L") AND NOT (<UDA ("Accou

  • Photo to DVD Software

    What is the best software (not imovie) for converting photos to a DVD slideshow that will also allow you to insert video. Software needs to work with both iPhoto and Apperture. iMovie is basic and I want to be able to do more with transitions and pre