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

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.

  • What are Parameters? How are they differenet from Variables? Why can't we use variables for passing data from one sequnece to another? What is the advantage of using Parameters instead of Variables?

    Hi All,
    I am new to TestStand. Still in the process of learning it.
    What are Parameters? How are they differenet from Variables? Why can't we use variables for passing data from one sequnece to another? What is the advantage of using Parameters instead of Variables?
    Thanks in advance,
    LaVIEWan
    Solved!
    Go to Solution.

    Hi,
    Using the Parameters is the correct method to pass data into and out of a sub sequence. You assign your data to be passed into or out of a Sequence when you are in the Edit Sequence Call dialog and in the Sequence Parameter list.
    Regards
    Ray Farmer

  • Passing data from one frame to another frame

    hello all, i am having a problem with passing data from one frame from another. I have a main frame when you click on connect button it display the second frame(class) that has 2 text fields and 2 buttons. When i click on connect it check if the data is correct. If the data is correct i want that frame to close and pass the data back to main frame. How can i do that.
    thank you

    hello all, i am having a problem with passing data
    from one frame from another. I have a main frame when
    you click on connect button it display the second
    frame(class) that has 2 text fields and 2 buttons.
    When i click on connect it check if the data is
    correct. If the data is correct i want that frame to
    close and pass the data back to main frame. How can
    i do that.
    thank you
    the original problem sounded like an ideal opportunity to use Modal Dialog. if you want one frame to display another to get user input then you need to stop the method in the main frame from executing until you recieve a valid input.
    you can use your own class and keep all of the components that you have in the connect frame but you would have to extend JDialog instead of JFrame.
    there is a way around it!
    if you must use JFrame for both, then you need to have access to the main frame in the connect frame, maybe pass the pointer to the constructor??
    anyway, when the connect frame is done with its duties, you have to use the pointer to call another method in the main frame that will continue the process. otherwise main frame doesn't know when connect frame is done and by that time, the method in main frame that instantiated the connect frame has long since died.
    also, it allows things to happen in the other window that you may not want to happen until the connect frame is done
    typically users of software start clicking around on things and you could have three or four connect frames going at the same time
    it's really best to use a Modal Dialog, it really can look just like a JFrame!!!!!!!!!!!!!!

  • Pass data from one VI to another one

    Hi,
    I try to control a event structure in a VI with a boolean command from a second VI. I have been advised to "build a connector to pass any data from one VI to another one".
    Below an simple example: my goal is MyVItwo gives the result of a 2 numbers addition only when the boolean "MyBooléen" value changes in MyVIone.
    How can I realise this?
    Thanks
    PB
    Attachments:
    Example.zip ‏10 KB

    It is not entirely clear what you are trying to do. I think that what you want is a main vi/subvi setup. The boolean control would be in the main vi and would be monitored by an event structure. When the value of the boolean changes the subvi would be activated. I have attached an example showing how this is done.
    In order to use a vi as a subvi you build a connector box. In order to do this you just right click on the vi icon at the top right of the front panel and select show connector. You then wire connections on the connector block to controls on the front panel. You insert the subvi into your main vi by choosing "Select a vi" on the functions pallette and browsing to the subvi.
    If you absolutely have to pass the data from one vi to another while running in parallel there are a number of ways to do it. Global variables will certainly work but are generally avoided by experienced LabVIEW programmers due to their potential caveats and the break in data flow. An alternative to global variables is the functional global, also called a LV2 style global. This is basically a non-reentrant subvi with an unitialized shift register which allows for data to be stored. For more information search this forum for LV2 globals.
    Another alternative is to obtain a reference to the control and operate on that reference. You could also use queues, notifiers, or occurences. Search the examples which shipped with LabVIEW for examples on using these operators.
    If you need any more information feel free to post back here.

  • Passing Parameters from One Screen to Another Screen

    Hi All,
    I need to Pass Parameters from one Module Pool Screen to Another Screen.
    I have two Parameters in First screen. I don't want to use <b>Export and Import</b>
    The first screen record should sit in the Second Screen as it is.
    Please suggest me.
    Thanks and Regards,
    Prabhakar Dharmala

    An Idea,
    Create a function group, in that define global variables. Then create two function module. Pass variable from one function module and get in the another one.
    Hope this will help you to solve. If you need further help I will create and sent you a test code.
    Darshan.
    <i><b>Pl. Reward points to the helpful answer, it motivates us to answer more </b></i>

  • Passing data from one subreport to another subreport

    Post Author: GISGuy
    CA Forum: Formula
    I have a report which is really a series of subreports with very few actually requiring a direct link to another.  What I am trying to do is compare dates between different subreports and do conditional formatting to highlight where a dependant data source has an older date than the parent data source.
    We use Crystal Reports XI release 2, and the data resides in ArcSDE & Oracle 9.
    Any suggestions would be greatly appreciated.
    Eric Andersen
    Woodlands Information Management Technician
    Canadian Forest Products Ltd.
    Prince George, BC

    Post Author: synapsevampire
    CA Forum: Formula
    When your tagline is about the size of your post, you probably didn't convey much.
    You can pass values from one subreport to the next in the order they are placed in the main report by using shared variables, as in:
    //1st subreportwhileprintingrecords;shared datevar MyDate := {table.date}
    //2nd subreportwhileprintingrecords;shared datevar MyDate;if {table.date} = MyDate thencryellowelsecrwhite
    Covers the theory, for specifics you have to be in your post.
    -k

  • Pass value from One Screen to Another

    Dear all,
    please tell me how can I pass field values of one screen to another called screen.
    Please help me.
    Regards
    H.P.

    Dear Singh,
    If it is dialog programming, then first get the values in first screen and pass those values to the second screen PBO.
    Rgds,
    Kiran

  • How to use session to passing data from one JSP to another JSP

    Dear All, I had create 2 jsp web page and want to do this:
    1. input some data into the text box and click the submit button, the jsp page
    will open another jsp page and send the text box data to the new open jsp page.
    can any one tell me how to open a new jsp web page and reciev data from another jsp page?
    thanks yu very much!
    the question.jsp got some code like:
    <html>
    <input type= 'text' name = 'txtName' size = 10 >
    <input type= 'submit' name = 'submit'>
    <% some jsp code %>
    </html>
    answer.jsp
    <html>
    <%
    some jsp code here
    %>
    </html>

    Contents of HTML forms are transmitted as name-value pairs, so you can call request.getParameter(String name) with your form field's name in order to access its value:
    String textValue=request.getParameter("txtName");Regards

  • Passing data from one transaction to another

    Hello ,
    I have internal table  as a result of user  selection on the selection screen of first transaction.
    Internal table can have any number of  lines that have to be processed in second transaction.
    How I can pass data ( list ) from first transaction to second one.
    Please advice
    Krsto

    Hi Krsto,
    Firstly i didnt understood the concept of transactions.
    U can pass the data of one views table selcted data into the other or to capture the data  .
    Try using these two methods
    1. Cal method get_selected_elements.
    2. Or else if u want whole table data to be captured then use Get_static_attributes_table
    I am sure by one of this methods yuor data will be passed.
    This methods are used for the table data selected will be captured and write the code accordingly as u wish
    regards,
    Sana.

  • Passing data from one webapplication to another

    hi all
    i have two web apps webapp1 and webapp2 deployed on weblogic server 10.3
    i want to redirect to webapp2 from webapp1 based on some condition, set some flag there and then come back to webapp1.
    now in webapp1 i want to check the value of this flag set in webapp2.
    i tried using request.sendRedirect() method and set the flag value in session attribute.
    but as per my understanding sendRedirect() method creates new request object and thus invalidates the old session because of which i am not able to retrieve the values. requestDispatcher.forward(0 method doesn't work for different applications.
    so what is the method which i should be using to pass some values from one web application to another.
    thanks in advance

    seems more like something you would fix with a webservice really. With for example XML-RPC you can very quickly setup a (simple) communication line between applications and you don't even have to worry if the applications are moved to different servers or even completely different networks.

  • Migrating data from one screen to another though Table Control

    Hi Sapgurus,
    I am woking n the scenerio where i have two screen 100 and 200 now in 100 screen i have a Table Control, now i want that when i click on the row of this table control the selected row data should  be migrated to another screen.
    I have already check the "Respond to Double click property". But i dont know how to move further.
    Please Help.

    Hi,
    In the user command Module,
    check at sy-ucomm
    if double click....call screen 200
    and then u must be having the data in the internal table, fetch the data from the table.
    Regards,
    Sonika

  • REG:How to move the data from one screen to another

    Hi Gurus,
    My requirement is .....
    in the view1 we have the communication data
        with fileds pernr voice extension, and
        the display button ...
    when the display button is pressed we have to get the fields
      pernr ,voice extension,mail, fields on the screen as pop up window for the  selected pernr on the view1 , the pop up window contains a update button ,once pressed changing the field value ,it should be updated in the infotype 0105 with the same updated details
    Thanks Regards
    Suman

    Hi Suman,
    Try going through this [tutorial |http://****************/Tutorials/WebDynproABAP/Modalbox/page1.htm]if you have any doubts regarding sharing your context data among different views. This tutorial also explains with step-by-step snapshots about how you can pass data in between your MAIN view & a popup window.
    Regards,
    Uday

  • How to pass data from one session to another?

    What does SAP memory use to pass data between sessions?
    What is the syntax of "Export to ..."? Where is it used?

    hi suman vijay,
    EXPORT obj1 ... objn TO MEMORY.
    Exports the objects obj1 ... objn (fields, structures or tables) as a data
    cluster to ABAP/4 memory .
    EXPORT obj1 ... objn TO DATABASE dbtab(ar) ID key.  Exports the objects obj1 ... objn (fields, structures or tables) as a data cluster to the database table dbtab.
    IMPORT f itab FROM MEMORY.
    Imports data objects (fields or tables) from the ABAP/4 memory . Reads in all data without an ID that was exported to memory with "EXPORT ... TO MEMORY."
    IMPORT f itab FROM DATABASE dbtab(ar) ID key. imports data objects (fields, field strings or internal tables) with the ID key from the area ar of the database dbtab .
    EXPORT obj1 ... objn TO MEMORY.
    If you call a transaction, report or dialog module (with CALL TRANSACTION , SUBMIT or CALL DIALOG ), the contents of ABAP/4 memory are retained, even across several levels. The called transaction can then retrieve the data from there using IMPORT ... FROM MEMORY .
    Each new EXPORT ... TO MEMORY statement overwrites any old data, so no data is appended.
    EXPORT obj1 ... objn TO DATABASE dbtab(ar) ID key
    The database table dbtab must have a standardized structure .
    The database table dbtab is divided into different logically related areas ( ar , 2-character name).
    You can export collections of data objects (known as data clusters ) under a freely definable key (field key ) to an area of this database.
    IMPORT allows you to import individual data objects from this cluster.
    thanks
    Sachin

  • Pass Value from one screen to another screen filter Parameter

    Hi i am developing LightSwitch HTML client using VS 2013
    need some ideas for,
    I am having one browse screen for eg please refer the below,
    BrowseEmployee 
    ID
    Name
    Age
    1
    Srikanth
    25
    2
    Ashok
    25
    when i click on any row, it will lead to another screen (Not to the same entity View screen). In the another screen i am going to show with the lot of details,
    ViewResourceAllocation
    ID
    Name
    Role
    Allocation
    1
    Srikanth
    Developer
    0.5
    1
    Srikanth
    Architect
    0.5
    2
    Ashok
    Tester
    0.6
    2
    Ashok
    Manager
    0.4
    and in this screen i am pulling from SQL view entity, this will have ID field which is common to the previous screen (BrowseEmployee)
    Now my question is,
    1. If i click the ID 1 employee in the 1st screen here i need to show only the Employee ID 1 details alone.
    2. Even i tried to pass the value as parameter to the filters in the second screen, nothing is working out.
    so it will be convenient if i pass the value as filter parameter to the other screen. 
    Can anyone please tell me how to sort out this issue ?
    thanks!

    Hi Srikanth,
    For this issue, you need pass parameter to another screen, this will help you,
    See:
    How to Open a Open Another Screen (with or without Parameters) 
    Best regards,
    Angie
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click
    HERE to participate the survey.

Maybe you are looking for

  • How Do you set up the IPod Touch to your pc home computer - when it asks for a password - what password is needed?

    I just received an IPod Touch for a gift. Have a home computer through Charter. Have wi fi with pc at home.  I am unable to get the Ipod to work with the pc and wifi.  Wi fi is on - At choose a Network - Have the option of t.dillow and other. When i

  • Mouse pointer stays rainbow

    Lately, my mouse pointer has been staying as the rainbow circle even after a process if finished. Mostly notice it after switching back to my user from another. The pointer will not change to an arrow until I open Safari and roll over a button (which

  • Is Oracle 8.0.6 client software available for installation

    Hi All, My application connects to Oracle 9i server through Orcale 8.0.6 client. Now I would like install my application in a different machine.So I need to install oracle 8.0.6 client.How do I get the software .Is it available for installation.Pleas

  • Do we have any such Report in SAP HR..???

    Dear Team, I have one sceniro it goes like.... Suppose i have project/system where many emp works on various assignments and projects and among them I want to capture/record following details from each Business Units... So, do we have any standard re

  • Zooming on a MBP?

    Hello, is there any way to zoom via the keyboard while using Photoshop for instance? the shortcut is command-+ but I don't have direct access to the + since I'm on a European keyboard and need to press shift-1 to get a +. any help would be really app