ICWC: Passing data b/w views without using CuCo!.

Hi All,
I am using CRM 4.0, for my custom development i got many custom views, i have a requirement to pass a value from one custom view to another!.
All my custom views i developed in a custom application, also the workbench is not allowing me to create a new custom controller of my own, in this context is there any alternative for passing data b/w view without using a Custom Controller?.
or else anyway to create a new CuCo in my custom application!..
Thanks in Advance,
sudeep v d..

Hi all,
I have an application that runs in the JApplet.I have
to pass data b/w server and applet.The
datas are brought from the server using php to the
browser and passed to applet using param
tags.
1.Is it possible to set value for the param tag from
applet?Why do you ever want to do it? It sounds like setting arguments passed to a program's main method from command line after the main method has been invoked. It is possible though to dynamically set any values for any applet params using php before the applet gets loaded to the browser window as you generate an html file on the server side.
2.How to retrieve data from the param tag to the
applet in the form of an array.
In the getParameter it is required to specify the
param name.
Is it possible to retrieve data from param tag similar
to that of getting data from command
line arguments array.You can use some naming/numbering convention for your params. For example settings1, settings2 ... Then you can loop in your code retrieving the values like getParameter("settings" + i) checking to see that it is not null or empty.
However, if you don't want to reload the applet (together with the page) just to get some new data from the server, you can establish a tcp/ip connection as elchaschab recommended.
Cheers!

Similar Messages

  • Passing data to next  view

    Hi All,
    I have small doubt .I have developped an application with in that I created TextEdit UI element when I select some date and send to Next view. How can do it .
    Please suggest me . I have some idea navigating two views by using Inbound and outbound plugs.
    If I am using to pass paramaters how to send it next view how to capture the sended value in the second View.
    Thanks in Advance.
    Mandapati

    Hi,
    U can use context mapping,
    Create a context in controller, view1, view2.
    Map view1 to controller and similarly do for view2.
    set the value in the context attribute of view1 u can get
    in view2 also.
    It is possible to use the context value between two views without using a component controller.Through the fire plug methods u can easily pass the values between two views.
    while creating outbound and inbound plugs create the parameters also for them.
    in the 1 view implementation on button action:
    onAction()
    String name = wdContext.currentContextElement().get<att>();
    wdthis.wdfireplugto2view(name);
    In the second view implementation:
    onplugfrom1view(){
    wdContext.currentContextElement().setRes(name);
    regards,
    Vijayakhanna raman
    Message was edited by: Vijayakhanna Raman

  • Pass data from servlet to jsp using sendRedirect

    Hi,
    I am passing data from servlet to jsp using forward method of request dispatcher but as it doesn't change the url it is creating problems. When ever user refreshes the screen(browser refresh) it's re-loading both servlet and jsp, which i don't want to happen. I want only the jsp to be reloaded.
    Can I pass data from servlet to jsp using sendRedirect in this case. I also want to pass some values from servlet to jsp but without using query string. I want to set some attributes and send to jsp just like we do for forward method of request dispatcher.
    Is there any way i can send data using attributes(without using query string) using sendRedirect? Please let me know

    sendRedirect is meant as a true redirect. meaning
    you can use it to redirect to urls not in your
    context....with forward you couldn't pass information
    to jsps/servlets outside your own context.Actually, you can:
    getServletContext().getContext("/other").getRequestDispatcher("/path/to/servlet").forward(request, response)I think the issue here is that the OP would like to have RequestDispatcher.forward() also update the address in the client's browser. That's not possible, AFAIK. By the time the request is forwarded, the browser has already determined the URL of the servlet, and the only I know of way to have the browser change the URL to the forwarded Servlet/JSP is to send a Location: header (i.e. sendRedirect()). Remember that server-side dispatching is transparent to the client. Maybe there's some tricky stuff you can do with JavaScript to change the address in the address bar without reloading the page?
    Brian

  • Regarding reading the data from the files without using Stremas

    hai to all of u...
    here i have a problem where i have to read the data from the files without using any streams.
    please guide me how to do this one,if possible by giving with an example
    Thanks & Regard
    M.Ramakrishna

    Simply put, you can't.
    By why do you need to?

  • Pass username and password adfs without using query string

    pass username and password ADFS without using query string, Please help.
    I used query string , but it is unsecured to pass credentials over url, with simple tool like httpwatch , anyone can easily get the password and decrypt it.

    Hello MohitJainMJ,
    You're not in the right forum. Here it's for FIM topics!
    Regards,
    Sylvain

  • Pass username and password ADFS without using query string, Please help.

    pass username and password ADFS without using query string, Please help.
    I used query string , but it is unsecured to pass credentials over url, with simple tool like httpwatch , anyone can easily get the password and decrypt it.

    Hi,
    According to your post, my understanding is that you had an issue about the ADFS.
    As this issue is related to ADFS, I recommend you post your issue to the forum for ADFS.
    http://social.msdn.microsoft.com/Forums/vstudio/en-US/home?forum=Geneva
    The reason why we recommend posting appropriately is you will get the most qualified pool of respondents, and other partners who read the forums regularly can either share their knowledge or learn from your interaction with us.
    Thank you for your understanding and support.
    Thanks,
    Jason
    Forum Support
    Please remember to mark the replies as answers if they help and unmark them if they provide no help. If you have feedback for TechNet Subscriber Support, contact
    [email protected]
    Jason Guo
    TechNet Community Support

  • Pass data between two views

    Hi experts,
    i want to pass data from a view to an other one, i am filling a structure, and want get it into another view,
    is there a way to handl this.
    Best Regards
    Tomas

    Hi,
    I am not getting your exact requirement but to pass data from one view to another try the following steps.
    1. Suppose view1 is the view where you will take data from user through i/p fields and display it in view2 through text view.
    2. First create context node with required attributes in component controller then map it to context of view1.
    3. Map the attributes to the i/p fields of the view.
    4. Then if you want to go to view2 on button click then create an event in onAction property of button.
    5. Create OutBound plug in view1 and InBound plug in view2.
    6. In enent handler method of the button write the fire method.
         eg.  wd_this->fire_to_view2_plg(  ).
    7. In windows embed both the views and create navigation link for OutBound plug of view1.
    8. To display the values in view2 first map the node from component controller to context of the view2.
    9. Now map the attribues of the node to the Text Views or i/p fields where you want to diplay the values.
       Automatically values will appear in view2.

  • How to pass data between two internal sessions using ABAP memory?

    Hi,
    How to pass data between two internal sessions using ABAP memory?
    It would be fine if you could explain with an example.
    And also let me clear about the data passing between two main sessions and two external sessions with specific examples.
    Thanks.

    Hi ,
      check the example.
    Reading Data Objects from Memory
    To read data objects from ABAP memory into an ABAP program, use the following statement:
    Syntax
    IMPORT <f1> [TO <g 1>] <f 2> [TO <g 2>] ... FROM MEMORY ID <key>.
    This statement reads the data objects specified in the list from a cluster in memory. If you do not use the TO <g i > option, the data object <f i > in memory is assigned to the data object in the program with the same name. If you do use the option, the data object <f i > is read from memory into the field <g i >. The name <key> identifies the cluster in memory. It may be up to 32 characters long.
    You do not have to read all of the objects stored under a particular name <key>. You can restrict the number of objects by specifying their names. If the memory does not contain any objects under the name <key>, SY-SUBRC is set to 4. If, on the other hand, there is a data cluster in memory with the name <key>, SY-SUBRC is always 0, regardless of whether it contained the data object <f i >. If the cluster does not contain the data object <f i >, the target field remains unchanged.
    In this statement, the system does not check whether the structure of the object in memory is compatible with the structure into which you are reading it. The data is transported bit by bit. If the structures are incompatible, the data in the target field may be incorrect.
    PROGRAM SAPMZTS1.
    DATA TEXT1(10) VALUE 'Exporting'.
    DATA ITAB LIKE SBOOK OCCURS 10 WITH HEADER LINE.
    DO 5 TIMES.
      ITAB-BOOKID = 100 + SY-INDEX.
      APPEND ITAB.
    ENDDO.
    EXPORT TEXT1
           TEXT2 FROM 'Literal'
      TO MEMORY ID 'text'.
    EXPORT ITAB
      TO MEMORY ID 'table'.
    SUBMIT SAPMZTS2 AND RETURN.
    SUBMIT SAPMZTS3.
    The first part of this program is the same as the example in the section Saving Data Objects in Memory. In the example, the programs SAPMZTS1 and SAPMZTS2 are called using SUBMIT. You can create and maintain the programs called using the SUBMIT statement by double-clicking their names in the statement. For further information about the SUBMIT statement, refer to Calling Executable Programs (Reports)
    Example for SAPMZTS2:
    PROGRAM SAPMZTS2.
    DATA: TEXT1(10),
          TEXT3 LIKE TEXT1 VALUE 'Initial'.
    IMPORT TEXT3 FROM MEMORY ID 'text'.
    WRITE: / SY-SUBRC, TEXT3.
    IMPORT TEXT2 TO TEXT1 FROM MEMORY ID 'text'.
    WRITE: / SY-SUBRC, TEXT1.
    Example for SAPMZTS3:
    PROGRAM SAPMZTS3.
    DATA JTAB LIKE SBOOK OCCURS 10 WITH HEADER LINE.
    IMPORT ITAB TO JTAB FROM MEMORY ID 'table'.
    LOOP AT JTAB.
      WRITE / JTAB-BOOKID.
    ENDLOOP.
    The output is displayed on two successive screens. It looks like this:
    and
    The program SAPMZTS2 attempts to read a data object TEXT3 from the data cluster "text", which does not exist. TEXT3 therefore remains unchanged. The existing data object TEXT2 is placed in TEXT1. In both cases, SY-SUBRC is 0, since the cluster "text" contains data.
    The program SAPMZTS3 reads the internal table ITAB from the cluster "table" into the internal table JTAB. Both tables have the same structure, namely that of the ABAP Dictionary table SBOOK.
    Pls. reward if useful.....

  • How to manipulate data in multiple rows without using cursor??

    Hi all,
    I have a form in which there is a push button & 4 text fields.
    Push button : Process
    Text fields: Year, Month, Financial_To_Year, Financial_From_Date.
    In database , there are tables like, CUSTOMER_MASTER, FD_ACCOUNT_MASTER, FD_ACCOUNT_DTL, CUSTOMER_YEARLY_INTEREST, etc.
    In table FD_ACCOUNT_MASTER, there are columns, like CUST_CODE, FD_ACCT_NO, FD_AMOUNT, ACCT_OPEN_DT, ACCT_CLOSE_DATE, ACCT_TYPE, INTEREST_RATE, etc.
    There are thousands of records in the table.
    For Push button : Process , TRIGGER: When button pressed,
    I have to do all the process of FD for all the FD_ACCOUNTS at once. Process means i have to calculate Interest for all the accounts, calculate interest monthly, quarterly, yearly and make the FD_Accounts disable after the date of ACCT_CLOSE_DATE is reached, make the accounts renewed , etc all the process.
    But to do this process for multiple rows at once, we use cursor, but i don't want to use cursor as i feel its too tedious to do.
    Is there any other way , where i do process of multiple records at once without using cursor??
    Help me, Thank You.
    Oracle Forms Builder 6i.
    Oracle9i Enterprise Edition Release 9.2.0.1.0 - Production

    An Update statement certainly can update sets of data instead single row updates:
    UPDATE Statement
    if you can't do it in a single statement you can use bulk processing as well:
    PLSQL 101
    cheers

  • Passing data from one view to other in differnt window

    Hi all,
    I am developing an application in which i need to transfer some data from one view of first window to another view of 2nd window. Also first window is an modal pop up window. Can anybody help in this regard.

    Hi,
    as ayyapparaj said,
    navigate to component controller of ur application and create a node with required no of attributes.
    and map this node to window1 and window2.
    and set the required values into the context in window1 ,then these values available accross the (window2)application.
    i hope u got...
    refer this link
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/903fed0d-7be4-2a10-cd96-9136707374e1
    Regards,
    ramesh
    Edited by: Ramesh Babu V on Aug 27, 2008 3:36 PM

  • How to read data from select Options in another view without using context

    I have 2 views, one for selection screen and another for displaying result.
    In selection screen view I have define a select options with the help of webdynpro component.
    Now my object is display result in result view based on entry of selection screen.
    I don't want to do binding in context node, without that how I can read data of select option
    in result view?
    Regards,
    Rasmi Ranjan Mishra

    Solve by own.
    If I define the Select options in component controller, then it will be global in nature. so i can get the value of select options
    in another view also.
    Regards,
    Rasmi Ranjan Mishra

  • Pass Data Into Second View Controller

    *My Setup:*
    I have a tab-bar program; I'm currently focusing on one tab, which has a nav controller
    The root controller works as expected. In one of the table view selection methods (didSelectAccessoryButtonAtIndex, or something similar), I initialize one of my classes, which is a subclass of UIViewController with an alloc and custom init. Then I use the pushViewController to push an instance of that class onto the view stack.
    *My Issue:*
    I can't figure out how to pass the data from my first level controller to the second. I'm using a custom init method, which is an instance method because I have to pass an instance of a view controller to the pushViewController method. The data isn't getting to the second level controller, as verified by some NSLogs.
    *Pseudo code:*
    FirstViewController.m:
    -(void)accessoryButtonPressedAtSomeIndex {
    SecondViewController *svc = [[SecondViewController alloc] initWithString:@"Some string"];
    pushViewController: svc
    SecondViewController.m:
    @synthesize string;
    -(id)initWithString:(NSString *)someString {
    self.string = someString;
    NSLog (@"string = %@", someString);
    return self;
    The NSLog returns NULL.
    Obviously some of the code isn't valid, but I don't remember the exact methods. I can post the real code if necessary, but there are a lot of "dependencies" between files. Everything else (pertaining to this problem, although there are some other bugs in my app that I'd appreciate help on too) works. Any suggestions?

    Hello musicwind95
    Two suggestions :
    1) Didn't you forget to do
    if (self = [super init] )
    return self;
    in an init method ?
    Otherwise there is nothing to handle your string
    2) Put a breakpoint and trace ..

  • Dynamically pass subject via mail adapter without using mail package

    Hi,
    We have requirement to pass the Dynamic variable as Mail subject
    we can't use Mail Package as we need to capture the data from Dynamic SOAP header Data from incomming channel
    Dynamic SOAP Header variable (XHeaderName1) comming from Sender SOAP channel.
    Receiver side we need to capture that XHeaderName1 in Mail Adapter channel using ASMA and Variable transport binding so that value of XHeaderName1 should overwrite Subject under General/ Mail Atribute section.
    Could you please let me know, how to handle this requirement using module configuration?
    Also suggest the correct configuration to use ASMA and Variable transport binding.
    Regards
    Venky

    Hi Venky,
    Please have a look at the links below. They should help you.
    Configuring the Sender SOAP Adapter- https://help.sap.com/saphelp_nw04/helpdata/en/fc/5ad93f130f9215e10000000a155106/content.htm
    Configuring the Receiver Mail Adapter-https://help.sap.com/saphelp_nw04/helpdata/en/6b/4493404f673028e10000000a1550b0/content.htm
    Adapter-Specific Message Attributes in the Message Header  -https://help.sap.com/saphelp_nw04/helpdata/en/43/0a7d1be4e622f3e10000000a1553f7/content.htm
    Regards,
    Jannus Botha

  • How to store data in a file without using DB

    Hi all
    I want to develop a small application that could contain at most 10000 records, so if it is possible I want to store the data in a file, therefore the installation of the application can be simplified and the users don't need to add a ODBC dataSource in the control panel before running the program.
    If the above is not possible. Does anyone know how to use Java to programmatically add a ODBC dataSrouce in the control panel in the Windows Platform?
    Thank you very much !
    Kind Regards
    Edmond

    1 ) Save the records into a vector and write it to a file. You will have to load all the records when you read the file though.
    2 ) Use a dsn-less connection. You do not need to have a dsn set up and you can access a file using the bridge driver:
    url = "jdbc:odbc:Driver={Microsoft Excel Driver (*.xls)};DBQ="+file.getPath();
                   //Obtain the driver for the
                   Class.forName("sun.jdbc.odbc.JdbcOdbcDriver");
                   //Create the connection
                   con = DriverManager.getConnection(url, "", "");
                   //Ensure that the connection allows two way commands
                   if (con.isReadOnly()) con.setReadOnly(false);
                   //Create the statement to be executed
                   stmt = con.createStatement();
         //execute the select statement
                   ResultSet rs = stmt.executeQuery("SELECT * FROM \"Sheet1$\"");
    This should work, let me know if it dwosnt

  • How to use WDR_SELECT_OPTIONS in a view without using window embeding

    Hey guys,
    I want to use Select Options (via Comp. WDR_SELECT_OPTIONS ) in a Web Dynpro View - V_SUB. This subview is already embedded in a main view V_MAIN dynamically at runtime. Now it is not possible for me to implement the select option usage in V_SUB correctly because I don't have the window information for embedding at design time.
    Do you know how this problem can be solved? I already tried the window runtime interface: if_wd_rr_window->embed_view like this:
      lr_window_rr->embed_view( used_view_name     = 'WND_SELECTION_SCREEN'
                                used_component_name = 'WDR_SELECT_OPTIONS'
                                COMPONENT_USAGE_NAME = 'USE_SELECT_OPTIONS'
                                embedding_position = 'V_SUB/VC_SELOPT' ).
    "USE_SELECT_OPTIONS" is my usage name for the wd comp. wdr_select_options
    However this didn't work
    Thanks for any advice...
    Regards
    Sebastian

    can be done with prepare_dynamic_navigation( )

Maybe you are looking for