Display a backorder items list

Hello all,
I need help.  I am trying to do the following:
When I enter a customer code to an order I would like to see a list of item on backorder.  I am adding a matrix with data binding, but it is blank. 
Here is where I need help!
I would like to show all opem items for that customer, is there any way to do this?
'// Query the DB Data source
    Dim pConds As SAPbouiCOM.Conditions
    Dim pCond As SAPbouiCOM.Condition
    Set pConds = New Conditions
    Set pCond = pConds.Add()
    pCond.Alias = DocStatus 'FIELD NAME
    pCond.Operation = co_EQUAL
    pCond.CondVal = 0
    Call oDBDataSource.Query(pConds)
I am unsure about DocStatus because it is empty.

Hi,
I did a similar function in this way, after the user has entered a line in a delivery document
I used a matrix linked to a UserDataSource for each column, then I fill rows with fields read from a recordset.
I strongly suggest to freeze the form during this operation, as it speeds up the table filling and avoids annoying flashes of the grid itself...
Set rs = sboCompany.GetBusinessObject(BoRecordset)
rs.DoQuery "SELECT ORDR.DocEntry, NNM1.SeriesName, ORDR.DocNum, ORDR.DocDate, RDR1.ShipDate, RDR1.OpenQty, RDR1.LineNum, RDR1.Price, RDR1.Currency FROM ORDR INNER JOIN RDR1 ON ORDR.DocEntry = RDR1.DocEntry  INNER JOIN NNM1 ON ORDR.Series = NNM1.Series WHERE (ORDR.CardCode='" & LastCustomerCode & "') AND (RDR1.LineStatus <> 'C') AND (RDR1.ItemCode = '" & LastItemCode & "') ORDER BY RDR1.ShipDate"
            m.Clear
            q = 0#
            Do While Not rs.EOF
                frmSearch.DataSources.UserDataSources("_DocEntry").Value = rs.Fields(0).Value
                frmSearch.DataSources.UserDataSources("_serie").Value = rs.Fields(1).Value
                frmSearch.DataSources.UserDataSources("_numord").Value = rs.Fields(2).Value
                frmSearch.DataSources.UserDataSources("_datord").Value = rs.Fields(3).Value
                frmSearch.DataSources.UserDataSources("_datcon").Value = rs.Fields(4).Value
                frmSearch.DataSources.UserDataSources("_prezzo").Value = rs.Fields(7).Value
                frmSearch.DataSources.UserDataSources("_valuta").Value = rs.Fields(8).Value
                frmSearch.DataSources.UserDataSources("_qtaord").Value = rs.Fields(5).Value
                frmSearch.DataSources.UserDataSources("_qta").Value = 0
                frmSearch.DataSources.UserDataSources("_linenum").Value = rs.Fields(6).Value
                q = q + rs.Fields(5).Value
                m.AddRow
                rs.MoveNext
            Loop
Hope this helps
Enrico

Similar Messages

  • FI entry posting not seen in KE24 display Actual line Item list

    Dear Team ,     
    Our GL setting with FSG COPA if we posted FI entry  through Cost Center than entry shown in Report KE24 but if we posted through internal order than entry not shown in report.     
    Please provide your suggestion for above matter.     
    Thanks & regards

    Hi ,
    COPA documents will be created only when the Internal Order is settled to PSG.
    Please check wether the Internal Order is settled and the settlemen rule is to Profitability Segment ( PSG )
    Regards
    Sarada

  • Reading text file and display in the selectOnechoice list item In ADF.

    Hi,
    I have a requirement to read the text field which have list of strings and that string display in the SelectOneChoice List item component on page load.
    I am using Jdeveloper 11.1.2.3 version.
    Any suggestion will highly appreciated..
    Thanks in advance.
    Regards

    Hi,
    Google will produce you with hints on how to read content of a file from Java (ideally the file uses some delimiter). Then in a managed bean, you read the file and save its content in a list of SelectItem. So your managed bean should have the following property and setter/getter pairs
    ArrayList<SelectItem> listFromFile = new ArrayList<SelectItem>();
    public void setListFromFile(ArrayList l){ //you don't need this }
    public ArrayList<SelectItem> getListFromFile(){
       //read file content and iterate over the file list entries
      for(i=0, i < fileContent.length, ++i){
         SelectItem si = new SelectItem();
         si.setValue(... the value to update the list of value with ...);
         si.setLabel("... the label to show in the list ...");
         listFromFile.add(si);
      return listFromFile;
    }The af:selectOneChoice component should look as follows
    <af:selectOneChoice id=".." value="...attribute to update with selection ..." ...>
       <f:selectItems value="#{managedBean.listFromFile}"/>
    </af:selectOneChoice>Frank

  • Item & List tabs inside the upper ribbon is no more displayed

    I have an issue tracking list , and when  I first added the list there were two tabs named “Item” & “List” tabs inside the upper ribbon , which will be shown automatically. this applies for all the views such as “All items”, “My submissions”,
    etc. view.
    But I have edited the “All Item” view to add a Script Editor web part , and after that the “Item” & “List” tabs will no longer displayed unless the user select an item .. so can anyone advice how to force the “Item” & “List” tabs to be shown by default
    The view looks as follow, when the page loads, where no "item" or "list" tabs will be shown:-
    but when i select one item the tabs will be shown :-
    Thanks

    Hi,
    According to your description, you might want to display the “Item” & “List” tabs all the time.
    This is a by design behavior which should also be reasonable cause the tabs in ribbon will show/hide based on the focus status of a special web part in the current
    page, we might get different tabs when we focus on different web part.
    I would suggest you leave it what it is now, in most scenarios, users would be able to get used to such a scenario: click on the list view web part, ribbon and tabs
    appear, perform the operations.
    In the link provided in the previous post, applying an custom script with setTimeout() function to display the tabs forcibly will make users get confused if they are
    working on other kinds of web part the current page.
    Feel free to reply if there still any question.
    Best regards,
    Patrick
    Patrick Liang
    TechNet Community Support

  • Smartforms: Blank line is displaying in item list from page2 onwords

    Hi Guys,
    In Output messages(ME9K), using smartform to display list. First page layout and 2nd, 3rd .......pages layout is different.
    so i defind two pages. output list displaying is correct which is more then 2 pages, but from 2nd page onwords one blank line is coming in mainwindow at items list.
    2nd page i selected is mode:Page and overall page unchanged.
    can you suggest me please.
    Srinu.

    Mike,
    I'd guess that you're getting an "extra value". The tenth parameter to select_list_from_lov can be set to 'NO' to suppress this but you'll want to determine why there is an extra value if you aren't expecting one.
    Scott

  • Displaying Multiple XML Data on List Item List

    Hi there..
    Is it possible to display multiple XML Data on List Item List. I mean like the example below.
    and how to programatically load image that depends on the XML data value (0=down arrow, 1=up arrow) and also how to refresh data every 1 second.
    Thank you very much...

    Hi Ann,
    Write a Forms procedure and in that open a cursor fetching all data you want to show in the list element and populate the list within the loop using Add-List-Element built-in. Call this procedure in When-New-Form-Instance trigger. Whenver form will be opened the your list element will be populated automatically.
    Hope that helps you.

  • Display the current item in the list without advancing the iteration using

    This is my directions.
    Display the current item in the list without advancing the iteration using only iterator methods.
    I can't seem to figure this one out when the only methods available are hasNext();, next();, hasPrevious();, previous();, add();, remove();. and set();, and nextIndex();. Can someone please give me advice on this one?
    Thanks a bunch!!!!

    After thinking briefly about an ugly megillah that would detect whether or not you've ever called Iterator.next(), which is what is required for a bulletproof solution, I've decided after looking at the documenation that in fact the problem is not valid.
    It's as simple as this: the Javadoc says 'a ListIterator has no current element'.
    Tell your professor.

  • Select list return value displayed in another item

    The subject pretty much defines it. I have 3 items on a page select list, displays as text (based on LOV), and a text box. My idea is to display a control number in the select list. When the user selects the number that they want I would like the return value to fill in the displayed as text item. Then user can then use the text box to update that information.
    My question is how do I get the return value to display on the users selection?
    Thanks,
    Derek

    Try to compute that item.
    Denes Kubicek

  • Wrong numbering of elements styled with "display: list-item; list-style-type: decimal;"

    Following code :
    <!DOCTYPE html>
    <style type="text/css">
    div {
    display: block;
    margin-left: 2em;
    span {
    display: list-item;
    list-style-type: decimal;
    </style>
    &lt;div>
    &lt;span>first&lt;/span>
    &lt;span>second&lt;/span>
    &lt;span>third&lt;/span>
    &lt;/div>
    Displays as :
    0. first
    0. second
    0. third
    while looking fine in other browsers (checked IE7, chrome, opera, safari...)

    updated code snap...

  • Open Item List Report Display Branch Wise

    Hi,
    I want to restrict user from viewing Open Item List Report For All the Branch.If the user logged from One Location named Kolkata then he will be able to see the Open Item List Report For Kolkata Branch Only
    not the data for all the Branch .How to do this authentication since it is required urgently on Open Item List Report .
    Waiting For Reply ???...
    Regards,
    Amit Sharma

    Hi,
    One Database contains all the branches which is initialised in the Location Master Form .
    I am using one database only
    Regards,
    Amit Sharma

  • Web item : List of documents of an infoprovider

    I have problems to display all documents of an infoprovider in a web item "list of documents" of a web template.
    I chose as type of data provider : SELECTOR_DATA_PROVIDER and selected an infoprovider but I have the error message :
    " The referenced data provider "DP_1" is not a query view
    In the Web Application Designer, set parameter DATA_PROVIDER_REF in template TEST_COMMENTAIRE1 for Web item DOCUMENT_LIST_ITEM_1 to a valid data provider of type query view "
    And the type "query view" does not respond to my needs because it is too restrictive.
    Do you have an idea ?
    Thanks
    Catherine BELLEC

    Hi,
    Goto RSA1 --> Metadata repository  click Multiprovider , select requried MP and click again .
    System would generate a detaild report including report list in next screen.
    hope it helps..
    regards,
    Raju

  • How to get all menu items list in blackberry curve phone

    Hai all
    i am new to Blackberry application developer. I done one application in blackberry in default simulaor, I changed my simulator to Blackberry 8900 simulator. The features is more in curve phones like instant messaging. So i need to get the full menu item list from the API. Do i neddd to change the API ?..  I wanted to get the list like .. camera,maps,contacts,messages,weblin,sms,instant messaging etc. Can anyone help me in this case. My intention to get all the menu items in a list.
    Thanks in Advance

    thank you for your solution.. my aim is list all the menu items in a drop down list. In the default simulator it is fetching all the menu items in the phone through API. But in curve 8900 it is not showing all the menu items, can u give me a suggestion
    like           ^
    camera
    contacts
    maps
    clock
    calendar  like this i need to display
    Message Edited by joedfranc on 05-30-2009 10:57 AM

  • How to customize Category and Category items list while creating New Model

    Hi,
    what the most convenient way to customize the Category and Category items list while creating New Model?
    This is standard:
    Now, what we want to achieve, is to customize this menu, to:
    1. Display in the Category window only f.e. two categories:
    - EA Diagrams
    - BPM Diagrams
    2. In the EA Diagrams, we want to have f.e. four copies of City Planning diagram, each of them should have different elements available, f.e. in the first copy, only Architecture Areas shall be made available, in the second one Architecture Areas and Business Functions, in the third on f.e. only Business Functions shall be made available. Additionally, it should behave like a hierarchy ... meaning you can create the second diagram, only as child (related diagram) of the first diagram etc.
    I know, excluding the particular diagrams/diagram elements can be configured using the right/profile settings, but how to:
    1. Customize the standard New Model menu window
    2. Create copies of City Planning Diagrams with different set-ups
    3. Set the relationship between diagrams
    Is such a configuration change possible?
    Thanks a lot for your help!
    Regards,
    Rafal

    Now, what we want to achieve, is to customize this menu, to:
    Question #1. Display in the Category window only f.e. two categories:
    - EA Diagrams
    - BPM Diagrams
    Click on Tools => General Options=> Model Creation
    Click on Properties => at right of Default category set
    Note : Model template does not work as Category. We can't set. An enchancement request has been open to SAP
    In the following example I defined a new default (MyNewDefault.mcc). As you can see only BPMN models are available.
    To create a new category set with BPMN choice
    a) Copy default.mcc in MyNewDefault.mcc file.
        Go to Tools=>General Options=>Model Creation : Select your new category
        Go to Tools=>General Options=>Model Creation : Edit properties and remove all things you does not want keep
    or
    b) Go to Tools=>General options=>Model Creation : Edit properties and click on Save as button and specify the file name "MyNewDefault".
        Quit the window.
        Select you new category : Go to Tools=>General Options=>Model Creation : "MyNewDefault"
        Edit properties and remove all things you does not want keep.
        Save you new category
    Question #2. How to define copies/replicas of existing diagrams
         Wrote an extension
    Question #3. How to make sure, particular diagrams can be used (created) only on predefined "levels" and how to set the parent-child relationship, so that PD enforced it directly when creating a new diagram.
         Specify yours conditons in your extension attached to your model
         Example : When the user want create a child diagram :  You can display a list of Parent Diagrams to select from.
         You can set in your extension by VBScript parent-child relationship
    Question #4 In the EA Diagrams, we want to have f.e. four copies of City Planning diagram, each of them should have different elements available, f.e. in the first copy, only Architecture Areas shall be made available, in the second one Architecture Areas and Business Functions, in the third on f.e. only Business Functions shall be made available.
    If I understand well your question. I suggest to take a look in
    Repository=>Administration=>Objects Permission Profile
    You can specify objects to show, mask, deactivate at model level.
    You can specifiy your own metadata.
    But I'm not sure you can mask, deactivate functions following diagram selection. It seem to specific.
    Message was edited by: Benoit Le Nabec

  • Display all valid items and select multiple items

    Let us say I have valid items in table. For each purchase user can select few items from the list. I have to display all valid items from table and user should able to check items to buy. What is the best way we can implement this in forms.
    Thanks, lalitha

    For all the valid items you can create LOV as i understood then user can choose what he wants. But this sentence ti still confusing to me. Or what is the tricky things in you scanerio if only you have to show the valid item then use LOV.
    Lalitk wrote:
    and user should able to check items to buy.-Ammad

  • Is there a way of displaying  the various item in my Downloads folder as icons arranged in order of Date Created, such that the most recent items appear at the bottom, rather than the top?

    Is there a way of displaying  the various item in my Downloads folder as icons arranged in order of Date Created, such that the most recent items appear at the bottom, rather than the top? I know this can be done when they are displayed as a list, but I want icons!

    Hi geezer,
    when you open your 'Downloads' folder choose 'View'  in the Menu bar and choose:
    'as List'
    'Show View Options'
    In 'View options' window you tick:
    'Always open in list view'
    'Date Modified', or
    'Date created'
    Now inside the 'Downloads' folder click on 'Date Created' (or 'Date Modified')
    column to get items alined from oldest to newest date (or reverse)…

Maybe you are looking for