How Attributes declared in Component level can be used in All the views

How Attributes declared in Component level can be used in All the views
For Example :
say :             context type ref to if_wd_context_node.
is declared at component controller level and check box public is checked !!
How can we use this any view in same WDP Component..
For suppose : in this case
We want to get the ref of child node using above declared attribute..
How is it possible?
Say in detail

You can do this by doing the exact same like you did with the if_wd_context_node.
1. Define attribute in Comp Controller and set it PUBLIC.
2. Access the attribute over the reference of the comp controller, i.e. wd_this within the comp controller itself or wd_comp_controller within somewhere else in the component.
So if you have, lets say, this defined as attribute in your comp controller:
Z_MY_TABLE_REF  [X] TYPE REF TO [X] PUBLIC   CL_WD_TABLE.
And then you want to catch the reference into a local variable within a method or the like within a view:
DATA: lo_my_table_ref TYPE REF TO CL_WD_TABLE.
lo_my_table_ref = wd_comp_controller->z_my_table_ref.
Lekha has already said so as well, I don't really understand where the problem is
Cheers, Lukas

Similar Messages

  • What exactly IS Creative Cloud? Can i use Photoshop * all the other programs Adobe offers, by purchasing a membership?

    What is Creative cloud? I Have Elements 11, but want Photoshop. Do I purchase the large membership to gain access to all programs?

    It is Adobe’s largest software release since CS6 and it includes all-new versions of 14 CC desktop applications, 4 new mobile apps, the immediate availability of creative hardware and new offerings for Enterprise, education and photography customers.
    There are hundreds of new features that are performance boosters, that make everyday workflow better, support for chanign hardware and formats, as well as some Adobe magic that customers have come to expect, like the new Blur Gallery motion effects in Photoshop

  • How can i use AME for the new OAF page.

    Dear all,
    I have developed a new OAF page and registered under Employee Self Service.
    How can i use AME for the approval process.
    Appreciate your ideas?
    zamora

    I will try to answer based on my experience of working with iProcurement and AME. It depends on how you want to make a call to AME , directly from OAF Page or from Workflow and your requirement. You didn't specify what you want to show the users on OAF Page and your business requirement.
    Before calling AME Engine from the OAF page or workflow, I guess you did already setup AME Transaction Type and it's Approval Groups, Conditions, Action Types and Rules. Do some testing from AME Business Analyst Test Workbench. Please note that, AME provides lot of PL/SQL API's that you have to call from your programs (java or workflow pl/sql)
    Let's look at the workflow and putting an OAF Page as notification.
    As Sameer said, you have kick-off workflow process from PR of CO and with in the workflow function, you make a call to AME Engine API's with the AME Transaction ID. This transactionId belongs to the AME Transsaction Type that you setup. Based on the rules setup, AME Engine generates list of approvers/approver and stores them AME Tables for that transactionId. Then, it sends a notification to the approver.
    In the workflow, where that notification is defined, in the message body you have to put an attribute(&XX_WF_FWK_RN) of type document/send. And this attribute will have the constant JSP:/OA_HTML/OA.jsp?OAFunc=XX_FUNC&paramId=-&DOCUMENT_ID-. This function is SSWA Jsp function that makes a web html call to your OAF Region.
    If your requirement is to just show the list of approvers on the OAF Page, you may have to call AME API diectly passing your AME TrasnactionId with other parameters. Then AME generates list of approvers and stores them in AME tables with each approver status. You can pickup those approvers using VO and show them on OAF Page.
    Hope this gives some idea.

  • How can I use Method in the bean

    Hi every one
    please I made a method in for example employees entity "EmployeesImpl"
    the name of method getmax() it return number
    how can I use it at the bean
    for eaxmple when I want to press button give me the value from this method
    sorry Iam still beginner
    thanks in advance

    Thanks sir for your response
    my version
    oracle jdeveloper reales 1 (11,1,1,4,0)
    I use business component
    I make method
    this metod wrote at enitity "EmployeesImpl"
    public Number getMax() throws JboException
    PreparedStatement stat=null;
    ResultSet rs=null;
    try {
    String sql="select max(EMPLOYEE_ID)+1 from EMPLOYEES";
    stat=getDBTransaction().createPreparedStatement(sql, 1);
    rs=stat.executeQuery();
    if (rs.next()) {
    return new Number (rs.getInt(1));
    } catch (Exception e) {
    // TODO: Add catch code
    //e.printStackTrace();
    throw new JboException("error");
    } finally {
    try {
    rs.close();
    stat.close();
    } catch (Exception e) {
    // TODO: Add catch code
    //e.printStackTrace();
    // oracle.jbo.domain.Number
    return new Number (1);
    I made a jsf page
    and I put button at the page
    I want when press the button give me message contain the number which come from previous metod
    thanks my dear

  • I have an itunes account in Euro. I received iTunes and AppStore Gift Cards in $US. How can I use these on the same iWhatever?

    I have an itunes account in Euro. I received iTunes and AppStore Gift Cards in $US. How can I use these on the same iWhatever and keep together music/apps bought in the 2 currencies?
    Thx

    Barbara Hunt wrote:
    Would it be possible for me to download iTunes in Parallels and get the files into that and then onto my iPod?
    Yes, you can download iTunes for Windows using Parallels. If planning on making purchases here and/or authorizing already purchased tracks (from your Mac iTunes library), you are permitted to authorize five (5) computers as per iTunes Store terms of use, regardless of computing platform. No need to create a separate new iTunes Store account.
    However, judging from what you would like to do, your best bet would be to convert the WMAs to AAC/MP3 in iTunes-Windows (iTunes-Mac cannot import WMA files), and drag the files from the Parallels window to your desktop to add to the iTunes-Mac library. (as the iPod itself is currently linked to your iTunes-Mac library)
    Hope this helps,
    Steve

  • How can I retrieve my password when the retrials email was not recoverable? I also can't use or pass the othere menace of recovery? Not being able to pass or answer the security questions?

    How can I retrieve my password when the retrials email was not recoverable either? I also can't use or pass the othere means of recovery? Not being able to pass or answer the security questions?
    I created a new ID but never being able to update the iTunes that were purchased/saved using the old id?
    I can't also delete.

    Hi Kazmania89,
    Welcome to the Support Communities!
    If you require additional assistance with this, click on the link below for guidance:
    Apple ID: Contacting Apple for help with Apple ID account security
    http://support.apple.com/kb/HT5699
    Once you are able to gain access to the old Apple ID, this article may be helpful:
    Using your Apple ID for Apple services
    http://support.apple.com/kb/HT4895
    I have purchased music, apps, or books with multiple Apple IDs. How can I get all of this content onto my iOS device?

    First, you need to copy all of your purchased content so it is on the same Mac or PC with iTunes. This computer should be the one you sync your device with. For more information on how to move your content, see these articles:
    Mac:  iTunes for Mac: How to copy purchases between computers
    PC:  iTunes for Windows: How to copy purchases between computers
    Next, authorize your computer to play content with each Apple ID in iTunes. Once your computer is authorized for all your content, it can be synced to your iPhone, iPad, or iPod touch. 
    Cheers,
    - Judy

  • How can I use some of the image i am working on to paint with? like if I wanted to give someone an extra eye in the forehead, ow could i then paint their own i in the forehead? I know there is a paint tool for that, i just can't find it ... :/

    How can I use some of the image i am working on to paint with? like if I wanted to give someone an extra eye in the forehead, ow could i then paint their own i in the forehead? I know there is a paint tool for that, i just can't find it ... :/

    It sounds like you are talking about the cloning tool?
    Tool looks like this:
    Then when selected you can change the size of the brush and using Alt (windows) and Command (Mac) to select your region you want to copy then start to create you cloned image.
    Hope this helps?

  • After upgrading to firefox 7, I can't use many of the features on my schools secure website. So, how do I install a previous version of firefox?

    After upgrading to firefox 8, I can't use many of the functions on my schools website like opening the textbook and sending emails. I spoke the school's tech. support & they informed me that my version of firefox was not compatible with their system. So, how do I install a previous version of firefox (firefox 6 to be exact)?

    You can download Firefox 6.0.2 for Mac OS X 10.5 from ftp://ftp.mozilla.org/pub/firefox/releases/6.0.2/
    Backup your '''Profiles''' folder before new installation.
    edit: replaced random third-party download site link.

  • I lost my iPhone. i got a new one, how can i back up all the contacts i had in the old one (iPhone 4S).

    i lost my iPhone. i got a new one, how can i back up all the contacts i had in the old one (iPhone 4S). When i go to Itunes it start as a new iphone.

    Contacts are not a part of back up.
    Contacts are sync with a compatible programme on your computer depending on your operating system (Windows or Mac). For example, Microsoft Outlook (for both Windows and Mac), Windows Contacts (for Windows) and Addressbook (for Mac).
    Or contacts are also backed up in iCloud (depending if you chose to do so).
    So, sync back the contacts from any of these programmes. If you have not made a backup of your contacts in any of these progammes, then they are gone.
    http://support.apple.com/kb/HT1296

  • I have version 10.6.8 and want to get icloud.  How do I do that? Can I also upgrade to the lion?

    I have version 10.6.8 and want to get icloud.  How do I do that? Can I also upgrade to the lion?

    Open the Mac App Store and try purchasing Mountain Lion 10.8. If you get told it's incompatible, choose About this Mac from the Apple menu, check if the computer has at least a Core 2 Duo(not Core Duo) or better CPU with at least 2GB of RAM, and if it does, phone the online Apple Store and order a download code for Lion 10.7.
    (89791)

  • I have installed the latest version of iOS in my ipad but forgot to backup the content, what should i do!!! I don't want my media and other data erased, how can i find back all the data in my ipad? I haven't restore ipad yet, so any others way can be use?

    I have installed the latest version of iOS in my ipad but forgot to backup the content, what should i do!!! I don't want my media and other data erased, how can i find back all the data in my ipad? I haven't restore ipad yet, so any others way can be use? Now my ipad is in recovery mode.

    Once you are in Recovery Mode, it's too late to do any backup. I am afraid you are going to lose your data.

  • If you are buying a creative suite from a personal person how does that work? Or can someone just put in the product key and get a download fro adobe creative suite??

    If you are buying a creative suite from a personal person how does that work? Or can someone just put in the product key and get a download fro adobe creative suite??

    deactivate your installation on your old computer (help>deactivate).
    Downloads available:
    Suites and Programs:  CC 2014 | CC | CS6 | CS5.5 | CS5 | CS4 | CS3
    Acrobat:  XI, X | 9,8 | 9 standard
    Premiere Elements:  13 | 12 | 11, 10 | 9, 8, 7 win | 8 mac | 7 mac
    Photoshop Elements:  13 |12 | 11, 10 | 9,8,7 win | 8 mac | 7 mac
    Lightroom:  5.6| 5 | 4 | 3
    Captivate:  8 | 7 | 6 | 5
    Contribute:  CS5 | CS4, CS3
    Download and installation help for Adobe links
    Download and installation help for Prodesigntools links are listed on most linked pages.  They are critical; especially steps 1, 2 and 3.  If you click a link that does not have those steps listed, open a second window using the Lightroom 3 link to see those 'Important Instructions'.

  • I just clean installed maverick on my computer and I have nothing in my iTunes library, how can I get back all the music I have bought?

    I just clean installed maverick on my computer and I have nothing in my iTunes library, how can I get back all the music I have bought?

    From your backups. By doing a clean install you erased your startup volume. You may have installed OS X, but your personal software was erased. You can restore from backups if your have them. If not, then you've lost it all, permanently.

  • How can i find out all the different meanings of  User ID Paramtrs (USR05)?

    Dear Gurus
    How can i find out all the different meanings of  User ID Parameters (table USR05)?
    Thanks
    Nuno Natividade

    hi,
       the values are stored in the table tpara and they are used to put the landscape of the system,and to know the log of the system.
      FORM DETERMINE_LANDSCAPE .
        SELECT SINGLE * FROM USR05
                        WHERE BNAME = SY-UNAME
                            AND PARID = 'ZLANDSCAPE'.
        IF SY-SUBRC = 0.
          IF NOT USR05-PARVA IS INITIAL.
       REPLACE
          ELSE.
            PERFORM DETERMINE_FROM_CENTRAL_SYSTEM.
          ENDIF.
        ELSE.
          PERFORM DETERMINE_FROM_CENTRAL_SYSTEM.
        ENDIF.
      ENDFORM.                    " determine_landscape
      FORM DETERMINE_LOG_PARAMETER.
        SELECT SINGLE * FROM USR05 WHERE BNAME = SY-UNAME
                            AND PARID = 'ZLOG_USER'
                            AND PARVA = 'X'.
        IF SY-SUBRC = 0.
          WITH_LOG = 'X'.
        ENDIF.
    <REMOVED BY MODERATOR>
    venkat.
    Edited by: Alvaro Tejada Galindo on Mar 4, 2008 12:47 PM

  • I deleted the font section but everything in Photoshop CS5 works.  How can I fixed this because I use fonts all the time? I don't want to purchase another one since this cost me $699:(

    I purchased PhotoshopCS5 Sept 2010 and still use the same MAC. I invertly deleted the font section but everything else works.  How can I fixed this because I use fonts all the time? I don't want to purchase another one since this cost me $699:(

    Which version of mac os x are you using?
    Could you clarify what you mean by "I invertly deleted the font section"

Maybe you are looking for

  • Error M8-688 - Creation of several vendor line items is not possible for document type RN.

    Hello All, We are using the Net Invoice Posting with document type RN(Invoice- Net). We are generating different vendor line items in the accounting document based on the withholding tax codes involved in the invoice posting. When it comes to net inv

  • HT4667 Disabling IPv6 in OS X Lion

    This article says I should have an "Off" option under the IPv6 pop-up menu. In OS X Lion (10.7.3) that option does not exist, "Automatically", "Manually" and "Link-local only". My corp. IT tells me IPv6 is messing up the network and I have to disable

  • Error while login as sysdba

    Hello all, i was not getting this error before but just got this error as i installed oracle 10g developer kit when i try to connect from report builder i get an error of TNS and when i tried connecting my orcl database i got an error as *"the proced

  • HR Position Structure

    All, I am looking to bring in the Position structure in R/3 to BW.  Currently, we have our standard org unit hierarchy master data coming in, however we are wanting to report based on the Position structure.  Is there standard content that contains t

  • Why is the customer service poor!?

    I can't even get to a REAL person using your customer service line! The in-store reps are worse! I will be leaving Verizon soon!