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

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 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

  • 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

  • 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.

  • 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.

  • 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

  • Cannot get pass the "Setting date and time" screen

    Hi, I am faced with a very serious problem... someone please help!
    I bought home an Apple TV (2nd generation) for my parent overseas, but when I switched on - it got stuck on "Setting date and time" screen and cannot continue. Pressing "menu" button (or hold on for many seconds) does not work at all! I am stuck in that screen. Restart the Apple TV does not helped.
    I thought it is the issue of the remote control (maybe "menu" key has failed), so I bought another one (the aluminum model) and the same issue persists! I tested the remote control on Mac (boot up and press menu key, using Better Touch Tool... both shows the menu key is working).
    What shall I do? Thanks!

    is it connected to the internet either wired or wirelessly

  • 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 call routine and pass data to routine in vofm

    Hi Experts,
    I need to update KBETR and KWERT values present in 'Conditions Tab' in Purchase Order (ME21N/ME22N).
    I have created a new customer tab in which we enter amount field and  percentage filed. When user enters some value in this and clicks on 'Conditions Tab', calculation has to be done and the calculated value has to be appeared across a specific condition type.as i am new to abap  i dont know how to create routine and pass data to routine in vofm from customised tab in me21n .
                                                                                                                                                                          Thank's in advance

    Hello Rajendra,
    You can get plenty of forums in SCN related to it. Follow below steps to create VOFM routine.
    Go to VOFM Transaction Code
    1. On the Menu Select required Application i.e Pricing
    2. Enter any Number in between 600 to 999 for Custom Developments.
    3. On entering Pop Screen appears ask for Access Key(We have to remember that Every New Routine needs an Access Key)
    4. Once the Access Key is received we can do modification.
    5. Enter the Routine Number ,description and insert the Access Key
    6. Now the ABAP Editor will open and required code can be copied from Standard SAP Routine and Custom Code Can be developed.
    7. Once the coding is completed we have to Activate the Routine
    8. Select the Routine and Go to Edit – Activate
    9. Ensure that Active check box is ticked upon Activation of the Routine.
    10. Double click on the routine will enter into ABAP Editor, we have to generate the Routine
    11. Go to Program and select Generate
    12.A screen pops up with the related Main Programs  and select all required main programs wherever the Routine is being called.
    13. Once the Routine is Generated and Activated, We need to configure the Routine in the config.
    ** Important SAP note: 156230.
    Check the below document too.
    http://www.scribd.com/doc/35056841/How-to-create-Requirement-Routines
    Regards,
    Thanga

  • Incoming IDOC Error "No batch input data from the screen SAPMV45A 4001"

    Hello ,
    The Incoming IDOC with Message type 'ORDERS' is triggering the error message "No batch input data from the screen SAPMV45A 4001" with message no 00344 . There is an SAP note 785000 to handle this type of error message which has been already implemented. Still we are encountering few IDOC error's  at the time of sales order creation. The IDOC reaches status 51 throwing the error which is again reprocessed through BD87 .
    We are unable to replicate the similar scenerio in Development & Testing systems as it works fine.
    Can any one kindly advise how to eliminate the error "No batch input data from the screen SAPMV45A 4001" message at the time of Incoming IDOC processing.
    Thanks in advance.
    Best Regards
    Sateesh

    Dear Sateesh
    Check this link where the same topic was discussed
    [ VA01/VA02: batch-input error in IDoc processing|http://www.sapfans.com/forums/viewtopic.php?f=21&t=313032]
    thanks
    G. Lakshmipathi

Maybe you are looking for