Passing data to new screen

I'm running a standalone tomcat 4.0.4. When the user logs in his information is retrieved from the database and placed in a vector. I go through two seperate screen before I am to have the fields on the screen prepoplulated with the data retrieved from the user login. But nothing is showing up. What am I doing wrong. This is a HTML screen because I can not get the JSP to work.

you may move the data from one screen to another in different ways:
create a session object of HttpSession and add the data you have to the session
session.setAttribute("name",object);
pay some attention to how managing and retrieving the session from different page.
or you may add the data to the request object i.e
request.setAttribute("name", Object) ;
and then obtain requestdispatcher
then forward or include the request to any other resource
requestdispatcher.forward(request,response) ;
regards

Similar Messages

  • Problem in passing data from 1 screen to another using BBP_DOC_CHANGE_BADI.

    Hi Experts,
    i am new to the SRM, i am facing problem in passing data from one screen to another.
    my requirement is that when we select one shopping cart and press the PROPOSE SOURCES OF SUPPLY button, we will fetch all the contracts that are attached to the shopping cart.
    we have implemented a BADI implementation of BBP_SOS_BADI (method BBP_SOS_CHECK) for passing some changed values to the contracts of the shopping cart into the popup screen that is displayed when we press PROPOSE SOURCES OF SUPPLY button and when we select any contract and press ASSIGN ONLY button in the popup screen the badi BBP_DOC_CHANGE_BADI is triggered.
    i have implemented another BADI implementation of BBP_DOC_CHANGE_BADI for fetching the selected contract and pass the values to another screen, but the problem is that when we select one contract and press the assign only button we are fetching the wrong contract number ( that is in the BADI method BB_SC_CHANGE parameter IT_ITEM we are fetching the wrong contract), if we again do the same procedure for the second time we are getting the correct contract.
    i am unable to understand why we are getting the wrong contract in the first time( that is we are getting contract other than the selected one).
    as per my understanding i think when we are passing data to the popup screen using BBP_DOC_CHANGE_BADI we are not updating the shopping cart with the changed data.
    can anyone tell me how we can update the SHOPPING CART with the changed contracts data, i have used BBP_PD_SC_UPDATE, BBP_PD_SC_SAVE and other shopping cart FM but nothing is happening.
    Thanks
    Tanveer

    Hello,
    What version of SRM are you on?  Have you check for OSS Notes?  I have had trouble with BBP_DOC_CHANGE_BADI but it was because of other issues.  The BADI works pretty well and it is called almost every time something happens to the shopping cart.
    I have noticed that sometimes that values are not changed til the second calling of the BADI.  I have yet understand why but I think it has to do with prompt processing. Usually, we train our requisitioners to click the 'Check'  button to flush things out.
    I don't know if I was helpful.... another thought.... could there be an error caught by BBP_DOC_CHECK_BADI that is preventing change in BBP_DOC_CHANGE_BADI?
    Regards, Dean.

  • Passing data to multiple screens through SAP webgui;

    Hello, I'm working on building an application that requires me to pass data to multiple screens of a SAP transaction (IW31) through SAP webgui.  The requirement is to enter the required information in the initial screen, "Header data" screen and in the "Object Data" screen. I'm using the below URL to launch the webgui:
    http://myserver:8001/sap/bc/gui/sap/its/webgui/!?sap-client=800&sap-user=xxx&sap-password=yyy&sap-language=EN&transaction=iw31%20CAUFVD-EQUNR=20006001&AUFPAR-PM_AUFART=PM01&CAUFVD-GSBER=0001&OKCODE=/00&CAUFVD-ILART=103&~OKCODE==IOLU
    This is failing with the following error message:
    *Flow control: Entry SAPLCOIH, IOLU, A0, *   , *   , * is missing in T185*
    I also noticed that if I stop at the point where I enter information in the initial screen and enter into the header data page using the below URL, it is working fine. The URL used is
    http://myserver:8001/sap/bc/gui/sap/its/webgui/!?sap-client=800&sap-user=xxx&sap-password=yyy&sap-language=EN&transaction=iw31%20CAUFVD-EQUNR=20006001&AUFPAR-PM_AUFART=PM01&CAUFVD-GSBER=0001&OKCODE=/00
    Can anyone please explain what is incorrect in the URL I'm passing?
    Thanks in advance

    Hi Vijay,
    Thank you for your prompt response but I do not understand your answer or perhaps I am not makig myself clear.
    Let me explain the current process:
    1) Z program collects data and exports to Memory ID 'TEST01'.
    2) Z program calls SAP program
    3) SAP program calls User Exit '001' and data is read from Memory ID 'TEST01'.
    4) SAP program collects some of the data and then executes SAP FM to continue processing.
    5) SAP FM Executes User Exit for FM and data is read from Memory ID 'TEST01'.
    6) SAP FM returns completed data back to SAP main program.
    7) Z Program collects results from SAP program.
    New process:
    1) Z program collects data and exports to Memory ID 'TEST01'. Data now includes filter for CC.
    2) Z program calls SAP program
    3) SAP program calls User Exit '001' and data is read from Memory ID 'TEST01'.
    4) SAP program collects some of the data and then executes SAP FM IN PARALLEL PROCESSING to continue processing.
    5) SAP FM Executes User Exit for FM and an attempt to read data is read from Memory ID 'TEST01' fails.
    6) SAP FM returns completed data back to SAP main program.
    7) Z Program collects results from SAP program.
    The dilemma is how to capture the proper CC filter in the FM exit when SAP is unable to read the data from memory ID 'TEST01'. I guess I can understand this since the tasks are executed in separate sessions and servers from the one that started the program since we are using a server group.
    Perhaps I am missing something with respect to exporting to memory IDs?
    Thanks.

  • Passing data from one screen to another(web-dynpro) in SRM sourcing cockpit

    HI Experts,
    i am facing problem in passing data from one web-dynpro screen and assigning the data it to another web-dynpro screen.
    my requirement is that when ever user selects a contract in PROPOSE SOURCES OF SUPPLY screen popup and press only assign only button, the data of the contract should be copied to the shopping cart.
    i have already used the BADI BBP_DOC_CHANGE_BADI, but unfortunately it was not working.
    so i tried to use the context, element and other web-dynpro fields to pass the data, i am able to pass the data from the popup to the second screen and able to assign it.
    but when ever i deselect the shoppping cart which has been assigned with the data of the popup and select another shopping cart the data of the above shopping cart is cgetting changed.
    i am unable to figure out the exact reason why this is happeing.i have written code in the ASSIGN ONLY button method to fetch the popup data and in the WDONMODIFYVIEW method of the second screen to assign the popup data to the shopping cart.
    i have tried to bind the elements using the BIND_TABLE, BIND_STRUCTURE, BIND_ELEMENT, BIND_ELEMENTS methods, but nothing is working.
    can anyone suggest me where i am making mistake and try to solve the issue.
    Thanks
    Tanveer

    Dear Poster
    Your thread has had no response since it's creation over
    2 weeks ago, therefore, I recommend that you either:
    - Rephrase the question.
    - Provide additional Information to prompt a response.
    - Close the thread if the answer is already known.
    Thank you for your compliance in this regard.
    Jason Boggans
    SAP SRM SDN Moderator

  • Passing data to BD87 screen

    hi,
    i want to pass idoc number to bd87 screen through my program .
    i tried using the submit statement as there is no parameter id for sx_docnu field like this:
    lv_docnum =(having idoc number)
            r_docnum2-sign = 'I'.
            r_docnum2-option = 'EQ'.
            r_docnum2-low = lv_docnum.
            append r_docnum2.
       SUBMIT rbdmon00
      WITH sx_docnu in r_docnum2
      via selection-screen
      AND RETURN.
    but this is not working.can anybody tell me how to do this????

    Hi
    Try this
    DATA: rspar_tab  TYPE TABLE OF rsparams.
    rspar_line-selname = 'SX_DOCNU'.
    rspar_line-kind    = 'S'.
    rspar_line-sign    = 'I'.
    rspar_line-option  = 'EQ'.
    rspar_line-low     = '002'.  "Idoc number
    APPEND rspar_line TO rspar_tab.
    SUBMIT rbdmon00
    WITH selection-table rspar_tab
    via selection-screen
    AND RETURN.
    Cheers
    Joginder

  • Error while passing data to custom screen. Entry MUM doesn't exist in T001P

    Dear All,
    I have created a custom screen for PB10. I am getting below error while executing the screen.
    Entry MUM doesn't exist in T001P (Check Entry) .
    The detail error is
    Entry  MUM  does not exist in T001P (check entry)
    Message no. 00058
    Diagnosis
    Input values must be defined in Table T001P. The value or values ' MUM ' are not specified in this table.
    Procedure
    Check whether the input is correct and correct if necessary.
    Procedure for System Administration
    If this is not an incorrect entry, check the system settings and change them if necessary.
    If there is a connection to the Customizing system, you can maintain the system settings by choosing Customizing in the Performance Assistant or Maintain Entries (F5) when displaying the help in a modal dialog box.
    I've checked the table and data is available. But still i am getting this error.
    I've come across this error earlier while copying standard screen to custom screen.

    The solution to this problem is you have to set your SET and GET parameter in the properties tab of the field.
    regards,
    sandeep

  • Passing data to MIGO screen using BAPI

    Hi Friends
          I have PO header and item details data in Ztables seperately. now I want fetch these data and should display in MIGO transaction screen to do the GR by using BAPI function module.
    Please help me how to solve this problem.
    Thanks & Regards.
    Rajsekhar
    Edited by: Sekhar on Mar 4, 2008 7:16 AM

    Hi
    Try this
    DATA: rspar_tab  TYPE TABLE OF rsparams.
    rspar_line-selname = 'SX_DOCNU'.
    rspar_line-kind    = 'S'.
    rspar_line-sign    = 'I'.
    rspar_line-option  = 'EQ'.
    rspar_line-low     = '002'.  "Idoc number
    APPEND rspar_line TO rspar_tab.
    SUBMIT rbdmon00
    WITH selection-table rspar_tab
    via selection-screen
    AND RETURN.
    Cheers
    Joginder

  • When i click the listview items I have to call two odata webservice and pass that data to next screen ?

    Hi All,
                I Have two odata webservices When i click the listview items I have to call that two odata webservice and pass that data to next screen ?

    You don't have to pass the data to any page.
    onInit method of controller set your oData model like this.
                  onInit: function() {
                  //var oModel = sap.ui.model.json.JSONModel();
                  var oModel = sap.ui.model.json.JSONModel("http://services.odata.org/V3/Northwind/Northwind.svc/Customers?$format=json");
                  sap.ui.getCore().setModel(oModel,"oDataId");
    After this you can access your model from any views by just binding the elements with your odata. Suppose i have a table in a view of my application then i can write like this.
                  var oTable = sap.ui.table.Table({
                         tableId: "myTable",
                         visibleRowCount: 5,
                         editable: false
                  oControl = new sap.ui.commons.TextView({text: "{CustomerID}"});
                  oTable.addColumn(
                               new sap.ui.table.Column({                             
                               label: new sap.ui.commons.Label({text: "Customer ID"}),
                               visible:true,
                               template: oControl  
                  oControl = new sap.ui.commons.TextView({text: "{ContactName}"});
                  oTable.addColumn(
                               new sap.ui.table.Column({                             
                               label: new sap.ui.commons.Label({text: "Contact Name"}),
                               visible:true,
                               template: oControl  
                  oControl = new sap.ui.commons.TextView({text: "{ContactTitle}"});
                  oTable.addColumn(
                               new sap.ui.table.Column({                             
                               label: new sap.ui.commons.Label({text: "Contact Title"}),
                               visible:true,
                               template: oControl  
                  oControl = new sap.ui.commons.TextView({text: "{CompanyName}"});
                  oTable.addColumn(
                               new sap.ui.table.Column({                             
                               label: new sap.ui.commons.Label({text: "Company Name"}),
                               visible:true,
                               template: oControl  
                  oTable.bindRows("oDataId>/value");
    Here you can see i have binded the oData with table.
    Just what i am seeing that you are trying to pass this model to a page. You don't have to do so. Just bind your oData with relevant elements lite table or anything by writing like this.
    oTable.bindRows("oDataId>/value");
    these functions are different for different elements.
    for listItem you may write like this.
                  var oList = new sap.m.List({
                  inset: true,
                  items : [
                                        new sap.m.DisplayListItem({ label :"Category ID", value : "{oDataId>/CategoryID}"}),
    {oDataId>/CategoryID} this has been used for binding.
    Regards
    Dhananjay

  • I just got  new screen put on my 13in macbook pro when i opend it up there is no data on it? how do i get my data back

    I just got to school after getting a new screen put on my 13in macbook pro. when i opend up my macbook there was only a apple simble and the loading sing with a bar at the botton it took fovere to load, one it loaded and opend up there was a few options to pic from saying i could get all my datata back, i got confused and called the tec support where they wanted me to spend 90$ to back up my data, i feel as if they fixed my screen my data should be there when i go on it. I am a broke colage studend and need to get my work done. To sum it all up How do i get all my data back that happend to get lost while my screen was being repaird at the apple store?

    Apple has a 90 warranty warranty on all of their repairs.  You should take your computer back to the repair shop.  Or call Apple Customer Relations (800) 767-2775.  Wait for a human to come on the line and ask politely and firmly that you want to be transferred over to the Customer Relations department.  Tell them your issue.
    pakoning wrote:
    I am a broke colage studend
    Hard to believe with all the typos in your post!

  • HOW TO PASS THE DATA FROM SELECTION SCREEN TO STANDARD TRANSACTION?

    HI,
    HOW TO PASS THE DATA FROM SELECTION SCREEN TO STANDARD TRANSACTION?
    thanks,
    samba.

    By selection screen, what do you mean?   There is no selection screen in WDA as there was in classic dynpro. Do you mean you are using the Select-Options reusable component?  Are you wanting to call a standard transaction via ITS - SAPGUI for HTML?  Please provide more details to your question.

  • Calling a new browser window with WD Abap and passing data via POST

    Hi there,
    does anybody know whether passing data via POST method is possible when opening a new browser window from within a Web Dynpro Component? In my case I use method IF_WD_WINDOW_MANAGER->CREATE_EXTERNAL_WINDOW for opening a new browser window. Now I want to pass a big amount of data which is only possible via POST method. How can I achieve that or is it not considered inside the Web Dynpro Framework?
    Kind regards,
    Albert

    Hi Priya,
    can you please explain a little bit more what you mean? I didn't get it..
    Kind regards,
    Albert

  • Function of HOLD DATA in the settings for creation of a new screen.

    Hi,
    Since i'm new to ABAP and still learning my way through, i would really appreciate if somebody can help me out with the exact functioning of selecting the check box 'HOLD DATA' under the settings option while creation of a new screen.
    Thanks for any help extended.

    Take simple scenario of SE38. The Screen for the transaction has the Flag "HOLD DATA" as Ticked.
    Now enter some program name on the field and Click - Utilities-> User Profile -> Hold data.
    Now come out of the transaction, go back to the same transaction. The name of the Program that you entered earlier will appear on the input field.
    So if the screen doesn't have "Hold Data" set the functions of HOLD data, SET DATA, DELETE data will not work.
    Also try using SET DATA For the Program input field.
    SAP Help :
    If you activate this option, the following functions are supported for the screen at runtime:
    System -> User profile -> Hold data
    -> Set data
    -> Delete data
    The Hold data function allows you to hold onto any entries you have made on the screen. When the screen is next processed (even in a different mode), the system then automatically redisplays the data in the input fields.
    If the option is not activated, these functions are ineffective at screen runtime.

  • Passing Data to Webdynpro from normal module pool screen

    Hi,
    I am working on a requireent, where I have a normal screen with some fields and a button. When I click on the button I want to navigate to the webdynpro screen and also pass the data from the screen to web dynpro.
    Any suggestion is really appriciated.
    Thanks
    Sanjaya

    Hi Sanjaya,
      DATA lv_app TYPE swfvtv-vval.
      DATA lv_url TYPE string.
      DATA lv_url_pre TYPE string.
      DATA lv_url_suff TYPE string.
      DATA lv_task TYPE swfvtv-task.
      DATA lv_memid TYPE string.
      DATA lt_param TYPE tihttpnvp.
      DATA ls_param TYPE LINE OF tihttpnvp.
      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.
    Get Application Name.
      lv_task = sworklist-external_type.
      DATA lt_swfvtv TYPE TABLE OF swfvtv.
      DATA ls_swfvtv TYPE swfvtv.
    Get WD parameters
      SELECT *
      FROM   swfvtv
      INTO   CORRESPONDING FIELDS OF TABLE lt_swfvtv
      WHERE  task EQ lv_task
      AND    vtyp EQ 'WD_ABAP'.
      IF sy-subrc NE 0.
        RAISE not_found.
      ENDIF.
    Create application name in PAPPL
    Get namespace
      READ TABLE lt_swfvtv INTO ls_swfvtv WITH KEY vpar = 'NAMESPACE' .
      IF sy-subrc EQ 0.
        CONCATENATE pappl ls_swfvtv-vval INTO pappl SEPARATED BY '/'.
      ENDIF.
    Get application name
      READ TABLE lt_swfvtv INTO ls_swfvtv WITH KEY vpar = 'APPLICATION' .
      IF sy-subrc EQ 0.
        CONCATENATE pappl ls_swfvtv-vval INTO pappl SEPARATED BY '/'.
      ENDIF.
    Construct URL for application name.
      lv_url = pappl.
      CALL METHOD cl_wd_utilities=>construct_wd_url
        EXPORTING
          application_name = lv_url
          in_parameters    = lt_param
        IMPORTING
          out_absolute_url = lv_url.
      SPLIT lv_url AT '?' INTO lv_url_pre lv_url_suff.
      IF lv_url_suff IS NOT INITIAL.
        CONCATENATE '&' lv_url_suff INTO lv_url_suff.
      ENDIF.
      CONCATENATE lv_url_pre '?sap-client=' sy-mandt '&sap-language=' sy-langu lv_url_suff '&WI_ID=' sworklist-external_id
    INTO   lv_url.
    Create window for application.
      lo_api_component  = wd_this->wd_get_api( ).
      lo_window_manager = lo_api_component->get_window_manager( ).
      lo_window         = lo_window_manager->create_external_window(
                            url = lv_url
                            has_menubar = abap_false
                            has_toolbar = abap_false
                            has_location = abap_false ).
      lo_window->set_window_size( width = '700' height = '500' ).
      lo_window->open( ).
    This is the code to generate the URL for a Web Dynpro Application.
    modify the code according to need.
    Hope this will help you.
    Thanks &Regards,
    Arvind
    Hey i dont know why is this coming like this when posted.
    Copy-paste this in modify in editor.
    Edited by: Arvind Patel on Jun 16, 2010 2:35 PM

  • HT200197 my apple tv won't pass the setting date and time screen?

    why won't my apple tv pass the setting date and time screen?

    That indicates a network issue.
    Check the DNS settings, they should be set to automatic.

  • I'm new to the LabView. How do I pass data from VI configured using Serial (CMTS using CLI commands to set Parameters ) to VI configured using GPIB(vecto​r signal analyzer ) to measure such as RF frequency or power on the instrument​? Thanks

    I'm new to the LabView. How do I pass data from VI configured using Serial (CMTS using CLI commands to set Parameters ) to VI configured using GPIB(vector signal analyzer ) to measure such as RF frequency or power on the instrument?
    I just want to set something on the front panel that will execute the Serial parameters first and then pass these settings to vector signal analyzer
    Thanks
    Phong

    You transfer data with wires.
    Frankly, I'm a little confused by your question. I can't think of any reason why you would want to pass serial parameters (i.e. baud rate, parity) to a GPIB instrument. Please explain with further detail and attach the code.

Maybe you are looking for