How to get Component Controller getter function

I have made a mehtod in a component controller (I am trying to make a web dynpro which uses a webservice). Now I want to use it from my View but I cannot find out how.
According to some examples I've seen there should be a function like wdThis.wdGet<comp> in the View, but I don't have such a function....:-(

Hi Jan,
I think that you must not have made the <b>Delta link</b> of the component Controller with the View. if you would have made the link then definately you would have got the access from the View to teh controller.
<b>Just go to the Component -> (Select you component)-> (Right Click) -> Open data Moduler.</b>
A Data Moduler Screen will come. Select the <b>Create Delta Link</b>. And and drag the link from the view to the component controller.
This should definately solve your problem.
Regards
Pravesh
PS: Please consider rewarding points if helpful or solved.

Similar Messages

  • How to get function code of enter button in bdc manually

    hi
    i need to know how to get function code of enter button in bdc manually like in screen i want to capture techincal infor of enter buttion and itd fucntion cod ehow can i get it i mean what is the key in keyboard to display that
    i want to capture enter button and for eg status button etc funtion code
    pls suggest
    arora

    Hi,
    Want you need to do is go to transaction SHDB and record the bdc for the transaction you want, during transaction press the buttons for which you want the bdc code. And after this go press the back button and check the list of all the things recorded in Recorder.
    And for SHDB help check this link:
    http://abaplovers.blogspot.com/2008/02/recording-bdc-using-transaction-shdb.html
    Hope this helps.
    Regards,
    Qamar.

  • How to get Functional Location of a Workcenter?

    Hi there,
    I am looking for a function that brings me the functional location to a given workcenter of an operation (production order).
    In our case this is a one-to-one relation. In transaction IL03 I can see the workcenter on Location-tab. But how to get this functional location only with a work center that I know?
    How is this possible?
    Kind regards
    JetGum

    check if this [works>>>|http://www.sap-img.com/abap/customized-work-center-list.htm]

  • How to get Function Area (or Cost Center) from COSP ?

    Dear experts,
    I am new to FICO and here is one question need your help:
    Now I have table COSP, can anybody let me know how can I get Function Area through joining some other table?
    Or how to get the cost center from COSP, since I know then I can go to CSKS to find the function area.
    Any post would be appreciated and thank you all in advance!
    Tim
    Edited by: ctsiszidane on Feb 12, 2011 4:07 AM

    Ajay,
    Thanks for your reply.
    Actually this is a requirement for our BW system. I checked all the records to find their OBJNR start with "OR", but we need to get the function area information. Do you know how can I get that?
    The link below listed all the fields we have on BW side, actually it has function area, but it returns blank, we tried to apply one OSS note in the source ECC system, but still no value returned for this field. So we have to find another way to get the function area.
    http://help.sap.com/saphelp_em70/helpdata/en/29/5f4cf98c9141488cda37e173549834/content.htm
    Point has been assigned to you and thanks for your time in advance!
    Tim
    Edited by: ctsiszidane on Feb 12, 2011 6:39 AM

  • How I can call controller's functions from another component?

    Hi again!
    I make a few web Dynpro components, for example first for user-data processing, second - for project-data processing. In the controller of 1-st controller there is a function getUserById(). In the controller of 2-nd component I need such function. And I don't want to make a dublicate for this function in the controller of 2-nd component. Is there a way to call function in one component from another?

    Hi,
         Yes, you can reuse the component. There are two basic types of component communication. 1. Intra Component communication 2.Inter Component communication.
    1. Intra Component  communication: The two components must be in same DC(project).
    Procedure:Say there are C1,C2 components in a DC.
    Open C2, Open interface controller, create a similar (_parameters and return type_) method to the method C2. Call C2's method in this Interface method.   
    Open C1, select and right click  Used Web Dynpro Components -> Add Used Component. In the wizard, you can browse and select the C2 component,and enter a name to the usage. Then the usage of the interface <b>must </b>be added in properties required controllers of a view/component controller.
    Now we can use the method that is available in the C1 interface controller.     
    You must define method before declaring usage
    <b>2.Inter Component  communication:</b> The two components are in different DCs
    Open DC metadata of C2. Right click on Public part-> create new Public Part.Enter name-> Next -> Select entity type as Web Dynpro Component in wizard,in Select Entities  select the component ,Finish.
    A structure for public part is created.
    Open C1, Open DC metadata of C1. Right click on Used Dcs-> AddUsed DC. Browse to C2's public part.
    Select Finish.
    regards,
    Siva
    Edited by: Siva Rama Krushna on Dec 19, 2007 10:07 AM

  • Anybody know how to get function to work on an imac

    anybody know how to get funshion to work on an imac

    I just clicked the link to see if the site came up, which it clearly did. As far as Google Translate you can try to use it once you get the site to read. Because I do not read Chinese I have no idea if the site has a translator built in. You will need to contact the webmaster of the site to find that out or work with a translator.
    I think before you worry about translating it  you need to get access to the site first. Then you can work on the translation.
    Good luck.

  • CallableStatement,  how to get function result ?

    Hello all,
    I know that this issue more relevant to JDBC, but it seems that their forum is more "sleepy" than that one therefor i trying my luck here with you...
    I've a pl/sql function which get 2 int arguments, and return float result
    I use CallableStatement in order to execute pl/sql function.
    with CallableStatement.setInt i transfer argument to the function,
    but i dont know how to "catch" function result (as i said earlier, function results is float)
    any help here...
    Thanks
    Edited by: igalep132 on Nov 21, 2009 4:47 AM

    igalep132 wrote:
    If you do have a PL/SQL function (specific syntax in PL/SQL) then you use the following form from the javadocs.
    {?= call <procedure-name>[(<arg1>,<arg2>, ...)]}
    [http://java.sun.com/javase/6/docs/api/java/sql/CallableStatement.html]
    that's exactly what i did, but my teacher assistant told me that it's wrong, because CallableStatement uses for stored Procedures, but I have here a function (because it returns a value...) therefor i need to use PrepareStatment/Statement...Third person accounts are always hard to judge, but what you are claiming is wrong (whether the TA said it or not.)
    First a prepared statement can in fact be used to run either a proc or function. So can statement for that matter.
    However callable statement is provided as a convenience to run procs and functions.
    There can however be reasons why a driver doesn't allow that - I have used a driver that didn't support callable statements at all (procs or functions.)
    That said the the format I gave you is specifically modeled for functions.

  • VPN to office PC - How to get function keys to work???

    I have an application on my PC at work that requires the use of function keys to navigate around (F1 thru F12). How can I make my function keys on my iMac to perform appropriate functions when I VPN to my PC at work? E.g. F10 in that app would be "submit" but when I do that it turns the speaker on my iMac off. Basically it doesn't send function keys commands over VPN. Using the PC's on-screen keyboard works but it's annoying - like using a stylus pen to type on some old palm pilot screen without real keyboard. Any input would be appreciated.

    I received an answer off line... go to Keyboard preference and select using F1,F2,F3 Keys as standard function keys.

  • Hook methods in component controller vs hook methods in view controller

    Hi,
    I want to know how WDDoInit in component controller differs from the same in view controller.
    How the lifecycle flows in both controllers?
    Eg. if i create a method intialize() in both component  & view controllers and if i called initalize method in view, which one will be called?
    Need to know how the flow works.
    Regards,
    Manoj

    Dear Manoj,
    Please check if it is helpful.
    The order of execution of standard hook methods when a WDJ application is called the first time is as follows:
    1. Component Controller DoInIt()
    2. View Controller DoInIt()
    3. Interface Window Controller
    4. Component Controller DoBeforeNavigation()
    5. Component Controller DoModify()
    6. Component Controller DoPostProcessing()
    After this, if you navigate to some other view, then the order of execution of methods of that New view will be:
    1. Component Controller DoBeforeNavigation()
    2. New View DoInIt()
    3. New View onPlugfromFirstView
    4. Component Controller DoModify()
    5. Component Controller DoPostProcessing()
    Then, if you again navigate back to the first view, then the order of execution of methods is:
    1. Component Controller DoBeforeNavigation()
    2. New View onPlugfromNewView
    3. Component Controller DoModify()
    4. Component Controller DoPostProcessing()
    Webdynpro - Sequence of Execution
    Thanks & Regards,
    Patralekha

  • Accessing component controller node

    Hi..Experts,
    How to access component controller node from  WINDOW (please give me a sample code ) .
    I want to set data to component controller node.
    please help me.
    Regards,
    Siva

    Hi siva,
       Its very easy u need not to do any extra coding to share data between window context and component controller context.
    Step 1) u create the node in component controller and map this node with window context.
    step 2) Now in any method of window u write the set_attribute or bind_table statement ,your data will automatically transported to component controller .
    So u dont need to do any extra coding for this.
    Hope this will help your requirement.
    regards
    Pankaj Giri

  • How to get the function name in controller class

    Hi experts ,
    I am new to the OAF framework.
    i have created the two functions and bot he the function have the same controller class .i want to capture the function name or function id in the controller class.
    can you please let me know how to get the function id or function name in the controller class.

    Hi apurba,
    Thanks for the quick reply.
    i am trying to get the function name from the FunctionSecurity class,
    However in FunctionSecurity class there is no such method defined as getFunctionName();
    my requirement is ,i have two functions functionA and functionB defined.
    both the function has the same controller class.in controller class ,i need to get the function name ,based on the function name
    i will redirect the page to respective page.
    looking forward for you response.
    appreciate your help
    Thanks,
    KT

  • Web Dynpro - How to set and get info from Component Controller

    Hi Gurus!!!
    Im having some problems getting and setting info in component controller of my Web Dynpro.
    I can't see the difference between View Context and Global Context.
    How can i create a Global Context Between two views?
    Thanks!
    Regards.
    Polakinho.-

    hii
    difference between view context and global context is we can use the same component controller for all the views in the same application.but when when we create node in view context then it will be available for that view only not for any other view...so if we want to use the same node for all the views we need to create that view in the component controller.so it will become global for that application.
    for using global node you need to map that context in view controller.for that you need to go to that view then click on context tab and drag and drop node from component controller.so it will be available for that view.i hope it helps you.
    regards
    twinkal

  • How to get a value of attribute/field From another Component/bol

    Hello
    I have to write some code in Component GS_CM/DocList.
    From 'GS_CM' I have to get a value of field attribute-STATUS_CURRENT
    From BT115QH_SLSQ/Details
    Context Node = BTSTATUSH
    Attributes = STATUS_CURRENT
    In order to check and enable some other functions.
    I know how to do it when I'm in the BT115QH_SLSQ/Details
    lr_status ?= typed_context->btstatush->collection_wrapper->get_current( ).
    lv_statush = lr_status->get_property_as_string( iv_attr_name = 'STATUS_CURRENT' ).
    But, in my Componenet GS_CM/DocList  the field  "BTSTATUSH->COLLECTION_WRAPPER->GET_CURRENT" is unknown. It is not contained in one of the specified tables nor is it defined .
    would be very grateful if you could help to solve this issue.
    Thanks In Advance
    Sima

    Hi Sima,
    then another short hint to the WD_USAGE_INITIALIZE.
    Go to the component workbench, open the component BT115QH_SLSQ. Go now to the component controller class, go to it's methods. You will see that in the coding of the Method WD_USAGE_INITIALIZE, on the class CL_BT115QH__BSPWDCOMPONEN_IMPL:
    WHEN 'CUGSCM' OR 'CUGSCM_DET'.
          CALL METHOD iv_usage->bind_context_node
            EXPORTING
              iv_controller_type  = cl_bsp_wd_controller=>co_type_custom
    "          iv_name             = 'ContentManagementCuCo'     "Custom Controller Name
              iv_name             = 'BT115QH_SLSQ/CUGSCMGenCuCo'     "Custom Controller Name
              iv_target_node_name = 'CMBO'      "Name of Node in this Custom Controller
              iv_node_2_bind      = 'CMBUSOBJ'. "Name of Node in used component GS_CM
          CALL METHOD iv_usage->bind_context_node
            EXPORTING
              iv_controller_type  = cl_bsp_wd_controller=>co_type_custom
              iv_name             = 'BT115QH_SLSQ/CUGSCMGenCuCo'"#EC NOTEXT
              iv_target_node_name = 'ATTRIBUTES'                "#EC NOTEXT
              iv_node_2_bind      = 'ATTRIBUTES'.               "#EC NOTEXT
    Now I checked the context on the component controller and it contains the statusH, the node which you want to use in the component GS_CM. So make sure to prepare the GS_CM component by adding the Status context, and afterwards just add the binding in the code I pointed out above.
    Best regards,
    Erika

  • How to get a reference for custom controller

    Hi All,
         I am working with the custom controller but i dont know how to call the functionality of custom controller into a view controller.For accessing component controller functionality we have a attribute wd_comp_controller in view controller.Like this how to get a refernce for the custom controller.
    Thanks in Advance.

    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 to get the parent of a component in fx?

    Here is an example:
    Index.fx:
    Stage {
        title: "Online book library";
        width: 1024
        height: 768
        scene:Scene {
        fill: Color.WHITE
        content: [
           banner ,
           login = Login{translateX:715 translateY:135}
    };Login.fx:
    var logOn : Button = Button {
            translateX:25 translateY: 170
            text: "Log On"
            font: Font {size:11 name: "Verdana Bold"}
            action: function() {
                showHello();
    function showHello(){
       // add a label in index.fx whose text is "welcome!";
        }I want to show something on the index.fx but I don't know how to get the parent from the child component?
    In Flex, we use parent or parentApplication, Is there a similar function in JavaFX?

    Reusing the same Tile example, I had no problems, I suppose I was doing wrong the first time:
    def IMAGES_WIDTH = 100;
    def IMAGES_HEIGHT = 100;
    var COLUMN_NB = 3;
    var ROW_NB = 3;
    var scene: Scene;
    var previews: Container;
    Stage
      title: "Test of Tile layout"
      scene: scene = Scene
        width: 500
        height: 500
        fill: Color.LAVENDER
        content:
          previews = Tile
            hgap: 10
            vgap: 10
            layoutX: bind (scene.width - previews.width) / 2
            layoutY: bind (scene.height - previews.height) / 2
            columns: COLUMN_NB
            content: for (i in [ 1 .. COLUMN_NB * ROW_NB ])
              ImageView
                id: "IV{i}"
                image: Image
                  url: "{__DIR__}clock.gif"
                  width: IMAGES_WIDTH
                  preserveRatio: true
                onMousePressed: Hide
    function Hide(evt: MouseEvent): Void
      println("{evt.node} ({evt.node.id}) - {evt.node.parent}");
      var nm: Node = evt.node.parent.lookup("IV5"); // Middle node
      nm.visible = false;
      var ntl: Node = evt.node.parent.lookup("IV1"); //Top left node
      (ntl as ImageView).viewport = Rectangle2D { height: IMAGES_WIDTH/2, width: IMAGES_WIDTH/2 };
      (evt.node.parent as Tile).hgap = 20; // Strange effect, but works
    }

Maybe you are looking for

  • Connect a windows xp professions SP2

    trying to connect my PC with windows xp professional SP2 to my time capsule. Must I install xp SP3 before trying to install the airport utility?

  • Background Cover Flow Ipod Classic 80G

    Hello, I've got a question about de background of the Cover Flow on my Black Ipod Classic 80 G. Now i see the covers on a white background. On promotion stuff of Apple is see a black backround and that's much better Does anyone know if I can change t

  • HP printer spitting out extra pages

    Anyone else experience this: When printing from the web, my HP printer spits out a bunch (say 3-4) of blank pages and then prints the page(s) that are specified. (Apparently I'm full of printing issues lately...) Any suggestions? It does it regardles

  • BI Content for EHP4

    Hi All, We are going to implement SAP BI Content for Financial reporting for EHP4.  we are planning to activate all the SAP BI Content for GL, AP, AR, and AA for our reporting needs available in SAP BI for EHP4 Support Pack. I need your input any iss

  • Problem when activate SAP Inbound IDOC Project

    hello, We are using the Fusion 11g and the SAP Adapter is the 11g P2 using the SAP JCO 3.0. I am getting the following error in the OSB server log when I import a project then activate it. I will send an IDOC from SAP and the SAP Adapter will except