CRM_IC: Passing Attribute values between classes

Hi,
I'm working on CRM_IC Inbox Enhancements module and facing a problem passing values from one class to another.
Can any one let me know how can i access the value of an attribute declared and changed in one class can be used and accessed in another class.
Thanks in advance
Ajay Yeluguri

Hi Thirumala,
Thanks for the answer.
I'm new to this CRM development and trying what you said but getting errors when executed
Please check the code and let me know if any changes
<b>In the first class:</b>
  DATA: lr_bdc TYPE REF TO cl_crm_ic_cucobdc_impl.
   lr_bdc ?= lr_bdc->get_custom_controller( 'CuCoBDC' ).
   lr_bdc->set_navigation_data(
                iv_source_view_name  = 'testdata' ).
<b>In the next class:</b>
DATA: lr_bdc             TYPE REF TO cl_crm_ic_cucobdc_impl,
      lv_bp_number       TYPE string,
      lr_selected_object TYPE REF TO if_bol_bo_property_access.
  lr_bdc ?= lr_bdc->get_custom_controller( 'CuCoBDC' ).
    CALL METHOD lr_bdc->get_navigation_data
      IMPORTING
        ev_selected_object = lr_selected_object.
Thanks
Ajay

Similar Messages

  • How Do I Pass A Value Between two Spry Tabs?

    I am using the Adobe Spry framework to develop an webpage
    with 3 tabs. I want to be able to pass a value between tabs.
    More specifically...
    In Tab1, the user will click on a link that declares a
    variable called "groupID" with a value of "999"
    Tab 2 Should then open up and have "groupID" available for
    use. It will be used as a hidden form field.

    I think I get what your talking about.
    Thing to remember is that all the data is loaded on the same
    page still so you can just pass it over like you would using JS.
    I did a little example let me know if this is what you are
    looking for.
    You will see that I added a function at the bottom that will
    tell spry what panal to open as well as pass your "groupID" the
    function is call on the onclick even.
    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0
    Transitional//EN" "
    http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
    <html xmlns="
    http://www.w3.org/1999/xhtml">
    <head>
    <meta http-equiv="Content-Type" content="text/html;
    charset=utf-8" />
    <title>Untitled Document</title>
    <script language="JavaScript" type="text/javascript"
    src="js/SpryTabbedPanels.js"></script>
    <style>
    .TabbedPanels {
    clear:none;
    float:left;
    width:100%;
    padding-top: 0px;
    padding-right: 0px;
    padding-bottom: 0px;
    padding-left: 0px;
    margin-top: 0px;
    margin-right: 0px;
    margin-bottom: 0px;
    margin-left: 0px;
    .TabbedPanelsTabGroup {
    margin:0px;
    padding:0px;
    .TabbedPanelsTab {
    -moz-user-select:none;
    cursor:pointer;
    float:left;
    font-family:Verdana, Arial, Helvetica, sans-serif;
    font-size:11pt;
    font-size-adjust:none;
    font-stretch:normal;
    font-style:normal;
    font-variant:normal;
    font-weight:normal;
    line-height:normal;
    list-style-image:none;
    list-style-position:outside;
    list-style-type:none;
    position:relative;
    top:0px;
    background-color:#FFEEEE;
    height: 25px;
    width: 161px;
    margin-top: 2px;
    margin-right: 15px;
    margin-bottom: -2px;
    margin-left: 0px;
    padding-top: 8px;
    padding-right: 10px;
    padding-bottom: 4px;
    padding-left: 10px;
    color: #ebe3cb;
    background-repeat: no-repeat;
    vertical-align: bottom;
    text-align: center;
    .TabbedPanelsTabHover {
    .TabbedPanelsTabSelected {
    background-color:#EEEEEE;
    height: 25px;
    margin-top: 2px;
    margin-right: 15px;
    margin-bottom: -2px;
    margin-left: 0px;
    padding-top: 2px;
    padding-right: 10px;
    padding-bottom: 9px;
    color: #46483c;
    .TabbedPanelsTab a {
    color:black;
    text-decoration:none;
    .TabbedPanelsContentGroup {
    background-color:#EEEEEE;
    clear:both;
    .TabbedPanelsContent {
    padding:4px;
    border: 1px solid #000000;
    text-align: left;
    background-color: #FFFFFF;
    .TabbedPanelsContentVisible {
    .VTabbedPanels .TabbedPanelsTabGroup {
    background-color:#EEEEEE;
    border-color:#999999 rgb(153, 153, 153) rgb(204, 204, 204)
    rgb(204, 204, 204);
    border-style:solid;
    border-width:1px;
    float:left;
    height:20em;
    position:relative;
    width:10em;
    .VTabbedPanels .TabbedPanelsTab {
    border-left:medium none;
    border-right:medium none;
    border-top:medium none;
    float:none;
    margin:0px;
    .VTabbedPanels .TabbedPanelsTabSelected {
    background-color:#EEEEEE;
    border-bottom:1px solid #999999;
    .VTabbedPanels .TabbedPanelsContentGroup {
    clear:none;
    float:left;
    height:20em;
    padding:0px;
    width:30em;
    </style>
    </head>
    <body>
    <div class="TabbedPanels" id="tp1">
    <ul class="TabbedPanelsTabGroup">
    <li class="TabbedPanelsTab" tabindex="0"
    >Tab1</li>
    <li class="TabbedPanelsTab" tabindex="0"
    >Tab2</li>
    <li class="TabbedPanelsTab"
    tabindex="0">Tab3</li>
    <li class="TabbedPanelsTab"
    tabindex="0">Tab4</li>
    </ul>
    <div class="TabbedPanelsContentGroup">
    <!---We include the 4 tabs--->
    <div class="TabbedPanelsContent" >
    tab1
    </div>
    <div class="TabbedPanelsContent1" >
    <a href="#" onclick="tabtest(3,999);">test</a>
    </div>
    <div class="TabbedPanelsContent" >
    </div>
    <div class="TabbedPanelsContent" >
    <form name="myform">
    This number was passed from tab 1 <input name="mystuff"
    /></form>
    </form>
    </div>
    </div>
    </div>
    </body>
    </html>
    <!---we add this so the tabs will work--->
    <script language="JavaScript" type="text/javascript">
    var tp1 = new Spry.Widget.TabbedPanels("tp1", { defaultTab: 0
    function tabtest(tab,groupID)
    var tp1 = new Spry.Widget.TabbedPanels("tp1", { defaultTab:
    tab });
    document.myform.mystuff.value = groupID ;
    </script>

  • In BADi , How to pass the values between two Method

    Hi Experts,
    We have two methods in BADis. How to pass the value  between two Methods. Can you guys explain me out with one example...
    Thanks & Regards,
    Sivakumar S

    Hi Sivakumar!
    Create a function group.
    Define global data (there is a similiar menu point to jump to the top include).
    Create one or two function modules, with which you can read and write the global data.
    In your BADI methods you can access the global data with help of your function modules. It will stay in memory through the whole transaction.
    Regards,
    Christian

  • How to pass attribute values through variables in JSP  Custom TagLib

    Hi,
    Can anybody help me how to pass values through varuables in the jsp custom tag.
    i am using JSP custom tag. I am unable to pass attribute values through variables.
    <invitation:invdetails invid="<%=invid%>"/> The value is passing as <%=invid%> ,not value of the invid.
    But i am getting throuh the fllowing
    <invitation:invdetails invid='1' />
    Please anybody suggest me how to pass value by using the variable.

    Hi,
    It sounds like you need to set the <rtexprvalue> tag to true in the TLD for your tag. If you do this the tag will read in the value you are trying to pass to it.
    dapanther...

  • Pass parameter values between BEX and exctractor

    Hi All,
    I create virtual cube which report from ECC
    I create Extractor Transformation and DTP which load the data from ECC
    In the BEX I create parameter (Week day) which can get few values (E.g. 1,3,5)
    In the extractor I define field for week day and need to consider the week days parameter
    My question is how I pass the value between the BEX and extractor?
    Thanks in advance
    Itzik

    Hi Itzik,
    One simple solution,
    Create a new IOB with Texts. In the Variable exit, write the variable values to this text IOB using FM RSNDI_MD_TEXTS_UPDATE.
    Read the values from the IOB text using routine while selection.
    Sankar Kumar

  • Passing attribute value in session variable

    Hi All
    I need to store one field value from my SIM form as a session variable and pass them to the next page along with my session, using some jscript stuff or else. Does this make sense?
    If it is possible or anyone have any prior experience please reply.
    Thanks in advance

    We have tested a code-snippet that 'gets' attribute-values from the session:
    <invoke name='getAttribute'>
        <invoke name='getHttpSession'>
            <ref>:display.state</ref>
        </invoke>
        <s>attribute_name</s>
    </invoke>You can try 'setAttribute' in the similar way.
    Thanks,
    Adi

  • Passing Selected Values between drop downs

    I am trying to pass values between three different dropdowns.
    For eg:-  Once I select a Category on the "Product Category" Drop down , it should pass the selected Value to the NEXT Drop down, which is "product family" drop down and it should bring all the related product Families, and then the selected product Family should in turn bring all the "Products" belonging to that Family.
    I have tried using the "entry list" for all the dropdowns, the first dropdown works fine as there is no "input" to the "entry list" but the second and third would not work as the selected value is not passed, instead the query returns all the values.
    Any help on this would be appreciated.
    Thanks,
    Naseer

    Hi,
    Yes you can do itin the following way.
    You have DropDown1 ,DropDown2.
    First creat the dropdwon1 using any type of Entry list.
    Now when you are creating the Dropdown2  after the Dataservice selection ,you should assain the @DropDown1 as Input for the Value and Text fields in the output/input section .
    it means when evere you select the value in DroDown1 then that value becomes the input for the data service in the DroDwon2 and it will returns the required output what you had defined in it.
    Thanks,
    Govindu

  • Help: I am trying to pass a variable between classes

    I am trying to pass data in a variable inbetween two classes is there any suggestions as to how to do this? Here is a example of the code I am trying to pass MqMessage to the class MqLog.
    if(MqMessage.equals("END"))               
                                       finalize();
                                       System.exit( 0 );
                             else //else build flat file and launch docusolve
                                       MqLog tempMqLog = new MqLog();
                                       tempMqLog.levelThreeDiagnostic();
                                       aRuntime = null;
                                       aProcess = null;                                   
                                  }

    I don't really undestand what you are asking specifically. If you only want to transfer a value from one Object to another Object, then you should just use a set method:
    if (objectOne.getValue().equals("END"))
    end();
    else
    objectTwo.setValue(objectOne.getValue())

  • Problem in passing multiple values between reports

    Can anyone help me in passing multiple values in prompts between reports in CRYSTAL REPORTS 2008  using opendoc or any method. I am able to pass single value from main report to second report. but not able to pass multiple values. Plz help me . Thanks in advance

    Hi Ramy,
    How you are passing your prompt values ? where you have created these prompts ? i.e. created these prompts in report level or stored procedure or Add command ?
    Thanks,
    Sastry

  • Passing the values between two pages

    hi all,
    I am trying to pass the value from one page to another page. by referring the Link
    http://www.youtube.com/watch?v=4eyzBiIf5MM&feature=related
    I have created the code based on the demo. it is deployed without any issues. but when i press the hyperlink from the first page it is not moving to the second page.
    Regards
    C.Karukkuvel

    Hi john,
    My Requirement is to create a ADF page based on the Human Task with the Default payload. In that page when the user presses the empid link field, It will show all the information related to the employee id in a separate page.
    so ,
    1. i have created the View Object based on the Query with where clause
    2. Create a bind variable for the where clause
    3.Created s new page for displaying the employee details
    4.drag and drop the both the pages (employee details, default page created by human task) into the adfcconfig file.
    5.drag and drop the Execute with params into the adfcconfig file
    6.wire it from human task page --> execute with params--> Employee details page
    7.change the employee field in that human task page to a link field.
    8.drag and drop the set property listener to that employee field.
    Testing
    Enter the input values for the Web service, logging to the BPM worklist, double click that task .it is showing the details when I press the employee id it is not navigating to the employee details page.
    Thanks in advance
    C.Karukkuvel

  • How do I pass a value between two selectOneChoice fields

    I have two selectOneChoice (LOV fields) on the same JSF page (trinidad form). How do I pass the value from the first field to the second one?
    AutoSubmit=true;PartialTriggers doesn't work.
    I used SetActionListener to copy the value from the first LOV to a pageflow variable ( #{pageFlowScope.x} ) but that didn't work either. I wasn't sure how to reference it in the second LOV ...
    thanks
    John

    <af:selectonechoice value="#{bindings.select1.inputValue}" id="select1" autoSubmit="true">
    <af:setPropertyListener from="#{row}"
    to="#{pageFlowScope.detail}"
    type="valueChange"/>
    </af:selectonechoice>
    <af:selectonechoice value="#{pageFloScope.detail}" id="select2" partialTriggers="select1"/>
    The above code is a rough example. you can do the same using the valuechangelistener for the first lov and set the value for the second one..
    you can refer this
    How to set value for selectOneChoice

  • Passing attribute values to custom SOA

    Hi All
    I created a custom SOA wokflow based upon the the auto approval workflow but I noticed the basic fields like "first name" and "last name" is not passed over to the SOA composite.
    can you please let me know how can we pass those values ?
    Thanks

    Hi,
    What you mean by based on auto approval workflow.. can you tell me what is your requirement??
    Regards,
    Raghav.

  • Pass variable values between Applications,but not through URL.

    Greetings,
    My objective is to pass a value from one page in one application to another page in a diferent application.
    I am aware through some posts i ahve read in the forum that it is possible to pass the value through URL,
    however besides being unable to do so i don't want the user to be able to see the value in the url.
    Also it may be a big value and there are URL size limitations as well as not looking pleasant.
    I have considered keeping the value in a database field, but i would like to use this only as a last resort since the value is temporary and when it gets to destination page it will disapear.
    Anyone is aware of a solution for my problem?
    My Homepage
    Best Regards

    Hi Igor,
    I don't know if the APEX_UTIL. [SAVEKEY_NUM|http://download.oracle.com/docs/cd/B28359_01/appdev.111/b32258/api.htm#sthref2583] / SAVEKEY_VC2 functions work across apps, but you could try. The other thing you could try is setting a cookie using the [OWA_COOKIE|http://download.oracle.com/docs/cd/B28359_01/appdev.111/b28419/w_cook.htm] package.
    --Jennifer                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           

  • How to pass values between classes

    I have a login class and a DBUpdater class name tbl. I have declared username and string variable in both classes and two getfunctions in the DBUpdater class. But the values are not being passed.
    What am I doing wrong?
    The following code is from the login class.
    private void jButton1MouseClicked(java.awt.event.MouseEventevt)
    String username;
    String password;
    TSTT_Bill_Loader tbl = new TSTT_Bill_Loader();
    tbl.doLayout();
    username = this.jUsername.getText();
    password = this.jPassword.getText();
    tbl.setUsername(username);
    tbl.setPassword(password);
    tbl.main(null);
    setVisible(false);
    }

    Hello, please use code tags next time you post code. You can do so by adding [code] [[b]code] round blocks of code. So
    [code]
    class Code {
    private static final String codeHere = "code here";
    [[b]code]
    will be rendered as
    class Code {
      private static final String codeHere = "code here";
    You need to explain what is going wrong I don't think we will be able to offer much help.

  • How to pass attribute values after ExecuteWithParam to method call

    Hi,
    I am using Jdev 11.1.1.6.
    My use case is that I have mainPage BTF which has ExecuteWithParam as the default activity. This filters the VO using params. I have a requirement to store some of the attributes from current row to pageFlowScope which needs to be passed to multiple child taskflows.
    I can introduce a method call after ExecuteWithParam activity and before the page renders but not sure how should I pass the current row (or something) to this method call to store the values on pageFlowScope.
    What should I pass to this managed bean to store the values on pageFlowScope? Is there any alternative?
    Thanks,
    Jai

    I see two possible ways to get to the attributes. First you can get the iterator current row and get the attributes from there. Second you add attribute bindings to the methods pageDef file for all attributes you are interested in. Then you access them using the attribute binding. I never tested the 2nd method but I guess the framework will fill the attribute bindings like it does in a normal page.
    Sorry, can't give you sample code on this add I'm not in front of a PC.
    Timo

Maybe you are looking for

  • Video doesn't keep up with scrubber

    I've just moved from PPro 1.5 to PPro CS4. I installed CS4 on a new Gateway Laptop with 4Gigs RAM and P8400 Intel CPU on Vista 64-bit. As I move the scrubber across the timeline or in the Project Source window, the video isn't able to keep up with th

  • Copying multiple layers at once

    I have a multi-page document. On page 1 I have a rectangle on one layer, a text frame on a second layer, and a polygon on a third layer. I want to copy these three objects to each of the other pages in the document. I want each object to be in exactl

  • Use Front Row on a second screen

    Hi, I've just bought a MacBook and connected it to an apple monitor which I'm about to use just for TV, music and movies. How can I play Front Row only on that screen and not on the MacBook? Thanks for any advice.

  • Arguments in shell script

    HI all, I have a shell script test.sh it contains the following A=$1 B=$2 C=$3 D=$4 sqlplus usr/pwd<<eof a varchar2(10); b varchar2(10); c date; d date; a:='$A'; b:='$B'; c:='$C'; d:='$D'; func(a,b,c,d(; eof func() defbn func(name varchar2,trc varcha

  • PDF Comments Disappear Upon Placing into InDesign CS5

    I am creating an InDesign document in which I need to pull information from several files. One such file is a PDF with comments inserted via the typewriter tool. Upon placing into InDesign, the comments do not appear, although the original text withi