Select only items from a vendor on PO

Hello,
When I create a Purchase Order from B1 2005, for a certain vendor, I'd like to see only the list with the items bought from that vendor when I select an item, instead of the entire list of items. Is there a configuration for that, or do I have to configure it on my own, by script?
Thank you,
Irina

Thanks. I've understood the method, but I have a problem with queries.
I have the following query for what i'm searching:
SELECT T0.ItemCode FROM OITM T0 INNER JOIN OPOR T2 ON T0.ItemCode = T2.ItemCode WHERE T2.CardCode = $[OPOR.CardCode]
but I get the following error:
[SQL Server]"Incorect syntax near OPOR.CardCode".
Also I get errors when I try to run the queries from the SBO_Help.chm samples.
Do you have any idea why?
Thank you,
Irina

Similar Messages

  • Transfering items from one Vendor to another vendor.

    Dears,
    I am a FI consultant.  Here we have a requirement to close a particular vendor and transfer all the items from this vendor to a new vendor.  We dont want to post further items into that vendor. For this,please advise me on the following:
    a) whether we can block the vendor for further transactions and at the same time keep this account active till all the open items in the vendor are processed ? viz. can we allow both these scenario at the same time to a vendor account ?
    b) How I can take a list of open PRs, POs, GR not invoiced, IRs for which GR not done from the MM side ?
    c) How can I transfer all the open PRs, POs, GRs, IRs from the old vendor to a new Vendor ? (I am looking for Tcodes for these)
    d) I also want that a payment term defaulted from the Vendor Master record in the transactions like PRs, POs, should not be able to be changed by the user.  Is it possible to make the payment term field in the POs, PRs as display only ?
    Since this is very critical for me, please offer your comments.
    Note : Please follow forum rules,search forum before posting,one post one question.
    Edited by: Jeyakanthan A on Jun 8, 2011 3:20 PM

    you can block a venor for a purchasing organisation in MK05, so new purchasing activities cannot be performed.
    once all business is done, you can block the vendor at company code level too in FK05.
    Purchasing dcoument lists can be pulled per vendor using ME2L transaction.
    Based on the selection parameter you can retrieve open POs.
    PRs list can be created with ME5A.
    How can I transfer all the open PRs, POs, GRs, IRs from the old vendor to a new Vendor ? (I am looking for Tcodes for these)
    Usually there is no need to transfer PRs, it is enough to assign a new source if there is a source assignment to the unwanted vendor.  This can be done in ME52N and ME56 and ME57.
    Open POs can be deleted (ME22N) and recreated with the new vendor (ME21N).
    You should not delete POs which have already a receipt but not yet an invoice, or have an invoice but not yet a GR. If you want delete such POs, then you you should first cancel the receipt/invoice. But this can be very work intensive, as the goods may already been consumed (which requires that you cancel the consummtion first .....)
    if a field is open for maintenance is defined in customizing OLME > purchase order > Define Screen Layout at Document Level

  • Standard program to transfer open items from one vendor to another

    Hello to you all,
    Does anyone know of a standard program to transfer open items from one vendor to another,
    Thanks
    Yoav

    Hi,
    i dont know whether there is any program but there is one t.code which is meant for one of this purpose.
    We can do the same through F-51 also. First specify the document header information. for the first line item specify the customer debit or credit posting key, vendor number, and special gl if you want (Here you have to give vendor number to whom you want to transfer) press enter
    in this screen specify the amount. and go to Choose open items new screen will come
    Specify the vendor number and in additional selections choose document number and then click enter. the one line item only appear here then go for simulate. if required specify the narration by double clicking on the line item.
    hope this is clear,
    Regards,
    Sankar

  • [ADF-UIX] updating some fields after selecting an item from messageChoice

    Hi,
    I'll try and keep it short and simple.
    How do I do the following: I have 2 ViewObjects: department - employees, they
    have a 1 - many relationship. But there's no master-detail in my ViewObjects
    (no link between my view objects)
    On my UIX page I have a input form for Employees, with a messageChoice for
    choosing a department. And I show an extra label department_description, which
    comes from Department view. How can I update this label after selecting an item
    from the messageChoice?
    Is is possible?
    I tried searching this forum, but didnt find anything, hard define search
    parameters for this :)
    kind regards
    Ido

    Hi,
    I tried it in another page, one with a read-only form for courses.
    There it kinda works for the first 2 out of 3 items in the messageChoice,
    but not the last option.
    It does give me an error in JDev during runtime though
    05/10/20 15:13:57 editCourseV2DP.uix:line 60,col 95: Illegal HTML: cannot put a <td> element in a <form> element.
    which points to <messageTextInput model="${bindings.Longname1}" id="longname1"/>
    Dont see a relation between the error and my xml source...
    and it states: 05/10/20 15:25:48 Parameter partialTargets=_uixState longname1
    so that should be ok
    Can it be because CourseView has 2 EntityObjects, course and course_codes.
    and I have a course_codeView, with just 1 EntityObject, course_codes
    So when im building the uix page I have 2 options where to pull the longname
    from, CourseView and course_codeView. I tried both btw, and only the longname
    from CourseView changes. I would expect the other one to change.
    Oh well, im kinda lost now, perhaps I'll drop this feature and think of an
    otherway to implement my screen.
    Thanks for the replies
    kind regards
    Ido

  • [WPF] AutoCompleteBox: oblige the user to select only items in list

    Hi,
    I'm using AutoCompleteBox from Codeplex.com
    Is there a way for oblige the user to select only items shown in list?
    I would avoid that user can to insert custom words in database.
    Thanks.

    Hi robertino_salemi ,
    In my experience, if you want to "avoid custom words and insert into database", I suggest that you could check these words before user inserts into database.
    I have made a code sample , suppose there is a button, it will check the value when click the button. you can refer to code below.
    You can also use the other event ,such as LostFocus,MouseLeave etc.
    <toolkit:AutoCompleteBox x:Name="autoTextbox" Width="150" Height="30" SelectedItem="{Binding}"></toolkit:AutoCompleteBox>
    <Button Width="100" Height="30" Content="submit" Click="Button_Click"></Button>
    List<string> ls = new List<string>();
    public MainWindow()
    InitializeComponent();
    ls.Add("abc" );
    ls.Add( "acc" );
    ls.Add("affc" );
    autoTextbox.ItemsSource = ls;
    private void Button_Click(object sender, RoutedEventArgs e)
    if(!ls.Contains(autoTextbox.Text.Trim()))
    MessageBox.Show("Error data!");
    return;
    Best Regards,
    Eoro

  • How do I select a item from a drop down list on a web in Safari On An. IPad 2.  The list apears and disapears só QuickClips I cannot TAP anything On The list Quickly enough.

    I tried to select an item from a drop down list on a web page in safari and discovered that the list disapeared to quickly for me to make a selection.  Has anyone else found this and solved the problem.  Many thanks.

    Demo wrote:
    I tried it on my iPad and I see what you mean. From what I can see when I go to the site on my Mac, it is Flash based and that will not work anyway.
    Actually, it is Javascript and uses the 'onmouseover' event.

  • I have a table with info and would like to select an item from that table

    Hi
    I have a table with info (course info that I searched for) and would like to select an item from that table to use for further use in my application.
    It must work more or less like the tree structure where I can use an On Action select.
    In other words; let say I am looking for all courses with "Advisor" it its descriptin / name, I want to click on one of the names and use it lets say to book people on.
    Could some please assist me with this.
    Regards
    Debbie

    Hi
    The datasource for my table is the node searchcatalog.  Under this node there is an attribute calles description where the items found are displayed.
    I changed my code as follow:
    data: ls_table type wd_This->Elements_searchcatalog,
          lr_element type ref to if_wd_context_element.
      DATA lo_nd_searchcatalog TYPE REF TO if_wd_context_node.
      DATA lo_el_searchcatalog TYPE REF TO if_wd_context_element.
      DATA ls_searchcatalog TYPE wd_this->element_searchcatalog.
    navigate from <CONTEXT> to <SEARCHCATALOG> via lead selection
      lo_nd_searchcatalog = wd_context->get_child_node( name = wd_this->wdctx_searchcatalog ).
    @TODO handle not set lead selection
      IF lo_nd_searchcatalog IS INITIAL.
      ENDIF.
    get element via lead selection
      lo_el_searchcatalog = lo_nd_searchcatalog->get_element(  ).
    @TODO handle not set lead selection
      IF lo_el_searchcatalog IS INITIAL.
      ENDIF.
    get all declared attributes
      lo_el_searchcatalog->get_static_attributes(
        IMPORTING
          static_attributes = ls_searchcatalog ).
    lo_nd_searchcatalog->get_lead_selection->( exporting index = wdevent->index importing
    element = lr_element ).
    lr_element->get_static_attributes->( importing static_attributes = ls_table ).
    wd_context->set_attribute( exporting name = 'SELECTED' value = ls_table-description ).
    When I try to activate it errors with: List elements that take up more than one line is not allowed.  This error at the sentence: lo_el_searchcatalog->get_static_attributes(
    If you cannot assist me further I will understand.  Thank you.

  • How do you select individual items from within a group?

    Hi, All.
    New poster. Forgive me if I miss any forum etiquette.
    Currently using Indesing CS6 on Mac Osx 10.7.4
    I'm a relatively recent convert to Indesign from Quark, and one thing I seem to have continual problems with is selecting individual items from within a group.
    For example I will have a grouped item, such as price marker that is comprised of several individual items, some text boxes, some rectangles.
    I find there is no way to select a rectangle that is currently placed behind a transparent text box without ungrouping the entire item - which isn't really an option.
    The select options (slect next item below etc. just don't work)
    For any Quark users out there, the equivalent command I'm looking for is the cmd+opt+shift click through, which just worked absolutely perfectly.
    I have scoured the internet and forums looking for an answer for this, as I assumed it must be my own lack of knowledge, but I can't find an answer.
    Any help much appreciated.
    Thanks

    Hi, winterm.
    Thanks for the super quick repsonse. Unfortunately that hasn't seemed to have helped me.
    That works fine as long as the grouped items are overlapping or apart, but not when items are entirely behind another item (ie, no part protruding from the group)
    The problem is that if I double click to try and get through a text box to an item that is entirely behind it, then it just switches into text edit mode for the top text box.
    If it helps, could you imagine a transparent text box that is 20x20 with red rectangle centred beneath it that is 10x10. If the 2 items are grouped I cant find any way to select through to the red rectangle without first ungrouping the two.
    Am I going mad?

  • Help with this sql. Select only employees from a distinct Org??

    Hi guys, simple query.
    create table balancetest(emp_id number, balance_id number, balance number, org number);
    insert into balancetest values (111, 1, 1, 0);
    insert into balancetest values (111, 1, 1, 0);
    insert into balancetest values (111, 2, 1, 1);
    insert into balancetest values (222, 1, 2, 1);
    insert into balancetest values (333, 3, 4, 3);
    insert into balancetest values (333, 3, 4, 2);
    commit;
    SQL> select * from balancetest;
        EMP_ID BALANCE_ID    BALANCE        ORG
           111          1          1          0
           111          1          1          0
           111          2          1          1
           222          1          2          1
           333          3          4          3
           333          3          4          2
    6 rows selected.As you can see, emp_id 111 appears on different Org (0 and 1). I need to calculate the balance but the requirement says that I need to retrieve employees appearing only in 1 org.. It won't matter which org is selected (the business rules ensure balance will be the same), as long as if an employee is in multiple org, this employee is selected only once for an org. So, my result will be something like:
        EMP_ID BALANCE_ID    BALANCE        ORG
           111          1          1          0
           111          1          1          0
           222          1          2          1
           333          3          4          3
           333          3          4          2or,
        EMP_ID BALANCE_ID    BALANCE        ORG
           111          2          1          1
           222          1          2          1
           333          3          4          3
           333          3          4          2In other words, an employee must appear only in 1 org in my result.
    any ideas? I tried:
    select * from balancetest bal1
    where not exists ( select bal2.emp_id from
                               balancetest bal2
                               where bal2.emp_id = bal1.emp_id
                               and bal2.org <> bal1.org
                               );But I guess it won't be that simple!!

    Hi,
    You can find the lowest-numbered org for each employee like this:
    SELECT    emp_id
    ,         MIN (org)  AS min_org
    FROM      balancetest
    GROUP BY  emp_id;You can get the results you want by selecting only rows from balancetest that match a row in this the result set above. There are many ways to do that, such as a join:
    WITH  g  AS
        SELECT    emp_id
        ,         MIN (org)  AS min_org
        FROM      balancetest
        GROUP BY  emp_id
    SELECT  b.*
    FROM    balancetest  b
    JOIN                 g  ON  b.emp_id = g.emp_id
                            AND b.org    = g.min_org;

  • Focus lost  after selecting an item from combobox

    After I select an item from combobox first component is focused even though it is invisible. But if I press tab or enter without selecting any item, next component is focused as expected.
    How can I solve the problem?

    If you need further help then you need to create a [Short, Self Contained, Compilable and Executable, Example Program (SSCCE)|http://homepage1.nifty.com/algafield/sscce.html], that demonstrates the incorrect behaviour.
    Don't forget to use the Code Formatting Tags so the posted code retains its original formatting. That is done by selecting the code and then clicking on the "Code" button above the question input area.

  • Since upgrading to Firefox 4 I've been unable to select search items from the google drop down box in the toolbar. Instead, I have to retype my search item completely as I also unable to select 'auto-complete' items as they appear.

    Since upgrading to Firefox 4 I've been unable to select search items from the google drop down box in the toolbar. Instead, I have to retype my search item completely as I also unable to select 'auto-complete' items as they appear.

    Known problem with the Google Toolbar extension. <br />
    http://www.google.com/support/toolbar/bin/static.py?page=known_issues.cs

  • How can I select an item from a list component with a seperate button

    This is a repost, I decided it'd probably be better here than
    in the general discussion board. I will try to delete the other
    one.
    Hello Everyone,
    This is my first post here. I am trying to figure out how to
    select an item within a list component with a button. This button
    is calling a function. I have searched for the past 3 hours online
    and I can't find anything about it. I thought perhaps I could set
    the selectedItem parameter, but that is read only, and I believe it
    returns an object reference rather than something like a number so
    even if i could set it, it would be pointless. I also found a get
    focus button, thought that may lead me somewhere, but I think that
    is for setting which component has focus currently as far as typing
    in and things like that. I am lost.
    Basically I am looking for a way to type this
    myList.setSelected(5); where 5 is the 5th item in the list.
    Any help would be much appreciated.

    Never mind found it. It is the property called selectedIndex
    and it is writable

  • Pool vendor items from several vendors in automatic payment program / F110

    Hello everyone,
    I am wondering if you could help me with an issue about invoices and credit notes for several vendors in the APP/F110. We use ECC 6.0.
    This is the situation: there is a group of vendors. Some vendors within this group have only credit notes posted to.
    When running the APP/F110 for the group of vendors, there is a debit balance for the "credit note" vendors.
    So far normal behaviour in SAP. But what I would like to do, is offsetting these credit notes with invoices posted on the other vendors (via the APP/F110).
    In other words, pool together the open items of several vendors so they would be regarded as belonging to one vendor. This way, the credit notes will be cleared via APP/F110.
    Does anyone know if this can be achieved in SAP? I have already searched on the forum and in SAP Notes, but no luck there.
    Many thanks!
    Kind regards
    Becky

    Hi
    Assign the Vendor for which Credit memos are passed as (Partners/ Branch office functionality) for Vendors for which Invoices are booked. Than try running F110
    Regards
    Sanil

  • How to select an item from a dropdown menu using Enter key

    A website I frequently use opens with a dropdown menu. Using my former browser, I was able to select the an item from the dropdown list by hitting the first letter with my keyboard and then hitting Enter. (Think of entering an address and selecting TX from a dropdown menu of states. Often you can hit T twice to get to TX and then the Enter key will advance the cursor to the zip code field.) Since converting to Firefox, the Enter key no longer works to advance to the next screen...I now have to move the mouse to a "Go" button and click it after selecting the desired item from the downdown menu. It's a small thing, but constantly switching back and forth between mouse and keyboard is becoming annoying. Is there an option in Firefox to select items simply by highlighting them in the dropdown menu and hitting the Enter key, instead of having to use the mouse to click a "Go" button? Thanks

    Start Firefox in <u>[[Safe Mode]]</u> to check if one of the extensions is causing the problem (switch to the DEFAULT theme: Firefox (Tools) > Add-ons > Appearance/Themes).
    * Don't make any changes on the Safe mode start window.
    * https://support.mozilla.com/kb/Safe+Mode
    If it does work in Safe-mode then disable all extensions and then try to find which is causing it by enabling one at a time until the problem reappears.
    * Use "Disable all add-ons" on the [[Safe mode]] start window to disable all extensions.
    * Close and restart Firefox after each change via "File > Exit" (Mac: "Firefox > Quit"; Linux: "File > Quit")
    In Firefox 4 you can use one of these to start in <u>[[Safe mode]]</u>:
    * Help > Restart with Add-ons Disabled
    * Hold down the Shift key while double clicking the Firefox desktop shortcut (Windows)
    * https://support.mozilla.com/kb/Troubleshooting+extensions+and+themes

  • How to select an item from dropdownbox

    Hi all
    I have two dropdownlistbox. When I select an item in the first box,according to the selection, I have to add items in the second dropdownlistbox. I want the implementation of the onClientSelect="javascript:Sample();" of the first dropdownbox "drop1" using
    <script>
    function Sample(){
    //I want the implementation to be done here
    </script>
    in my jsp.
    How do I additem to the second dropdownbox "drop2" inside the script tag?Please help me with this.
    Thanks in advance
    Regards
    Harini S

    If you want to populate the second box in the javascript, iam giving you a working sample that might get you started.
    If you are playing with htmlb and want the second dropdown to be populated with values from database, then you shud pass the selected value to Dynpage and process it!
    <b>SAMPLE Javascript for multiple dropdown boxes:</b>
    <HEAD>
    <script type="text/javascript">
    var arrItems1 = new Array();
    var arrItemsGrp1 = new Array();
    arrItems1[3] = "Truck";
    arrItemsGrp1[3] = 1;
    arrItems1[4] = "Train";
    arrItemsGrp1[4] = 1;
    arrItems1[5] = "Car";
    arrItemsGrp1[5] = 1;
    arrItems1[6] = "Boat";
    arrItemsGrp1[6] = 2;
    arrItems1[7] = "Submarine";
    arrItemsGrp1[7] = 2;
    arrItems1[0] = "Planes";
    arrItemsGrp1[0] = 3;
    arrItems1[1] = "Ultralight";
    arrItemsGrp1[1] = 3;
    arrItems1[2] = "Glider";
    arrItemsGrp1[2] = 3;
    var arrItems2 = new Array();
    var arrItemsGrp2 = new Array();
    arrItems2[21] = "747";
    arrItemsGrp2[21] = 0
    arrItems2[22] = "Cessna";
    arrItemsGrp2[22] = 0
    arrItems2[31] = "Kolb Flyer";
    arrItemsGrp2[31] = 1
    arrItems2[34] = "Kitfox";
    arrItemsGrp2[34] = 1
    arrItems2[35] = "Schwietzer Glider";
    arrItemsGrp2[35] = 2
    arrItems2[99] = "Chevy Malibu";
    arrItemsGrp2[99] = 5
    arrItems2[100] = "Lincoln LS";
    arrItemsGrp2[100] = 5
    arrItems2[57] = "BMW Z3";
    arrItemsGrp2[57] = 5
    arrItems2[101] = "F-150";
    arrItemsGrp2[101] = 3
    arrItems2[102] = "Tahoe";
    arrItemsGrp2[102] = 3
    arrItems2[103] = "Freight Train";
    arrItemsGrp2[103] = 4
    arrItems2[104] = "Passenger Train";
    arrItemsGrp2[104] = 4
    arrItems2[105] = "Oil Tanker";
    arrItemsGrp2[105] = 6
    arrItems2[106] = "Fishing Boat";
    arrItemsGrp2[106] = 6
    arrItems2[200] = "Los Angelas Class";
    arrItemsGrp2[200] = 7
    arrItems2[201] = "Kilo Class";
    arrItemsGrp2[201] = 7
    arrItems2[203] = "Seawolf Class";
    arrItemsGrp2[203] = 7
    function selectChange(control, controlToPopulate, ItemArray, GroupArray) {
      var myEle ;
      var x ;
      // Empty the second drop down box of any choices
      for (var q=controlToPopulate.options.length;q>=0;q--) controlToPopulate.options[q]=null;
      if (control.name == "firstChoice") {
        // Empty the third drop down box of any choices
        for (var q=form.thirdChoice.options.length;q>=0;q--) form.thirdChoice.options[q] = null;
      // ADD Default Choice - in case there are no values
      myEle = document.createElement("option") ;
      myEle.value = 0 ;
      myEle.text = "[SELECT]" ;
      // controlToPopulate.add(myEle) ;
      controlToPopulate.appendChild(myEle)
      // Now loop through the array of individual items
      // Any containing the same child id are added to
      // the second dropdown box
      for ( x = 0 ; x < ItemArray.length  ; x++ ) {
        if ( GroupArray[x] == control.value ) {
          myEle = document.createElement("option") ;
          //myEle.value = x ;
          myEle.setAttribute('value',x);
          // myEle.text = ItemArray[x] ;
          var txt = document.createTextNode(ItemArray[x]);
          myEle.appendChild(txt)
          // controlToPopulate.add(myEle) ;
          controlToPopulate.appendChild(myEle)
    function selectChange(control, controlToPopulate, ItemArray, GroupArray) {
      var myEle ;
      var x ;
      // Empty the second drop down box of any choices
      for (var q=controlToPopulate.options.length;q>=0;q--) controlToPopulate.options[q]=null;
      if (control.name == "firstChoice") {
        // Empty the third drop down box of any choices
        for (var q=form.thirdChoice.options.length;q>=0;q--) form.thirdChoice.options[q] = null;
      // ADD Default Choice - in case there are no values
      myEle=document.createElement("option");
      theText=document.createTextNode("[SELECT]");
      myEle.appendChild(theText);
      myEle.setAttribute("value","0");
      controlToPopulate.appendChild(myEle);
      // Now loop through the array of individual items
      // Any containing the same child id are added to
      // the second dropdown box
      for ( x = 0 ; x < ItemArray.length  ; x++ ) {
        if ( GroupArray[x] == control.value ) {
          myEle = document.createElement("option") ;
          //myEle.value = x ;
          myEle.setAttribute("value",x);
          // myEle.text = ItemArray[x] ;
          var txt = document.createTextNode(ItemArray[x]);
          myEle.appendChild(txt)
          // controlToPopulate.add(myEle) ;
          controlToPopulate.appendChild(myEle)
    </script>
    </HEAD>
    <BODY>
    <form name=form>
    <table align="center">
      <tr>
        <td>
          <select id="firstChoice" name="firstChoice" onchange="selectChange(this, form.secondChoice, arrItems1, arrItemsGrp1);">
            <option value="0" selected>[SELECT]</option>
            <option value="1">Land</option>
            <option value="2">Sea</option>
            <option value="3">Air</option>
          </select>
        </td><td>
          <select id="secondChoice" name="secondChoice" onchange="selectChange(this, form.thirdChoice, arrItems2, arrItemsGrp2);">
          </select>
          <select id="thirdChoice" name="thirdChoice">
          </select>
        </td>
      </tr>
    </table>
    </form>

Maybe you are looking for