Quantity not getting sorted in CS15

When I used CS15 transaction to get where use list of material, records are displayed in ALV grid, but when I sort it ( Ascending or Descending) on quanity, Quanitty column is not getting sorted. What Could be the reason?

Hi,
You might want to check whether both your browser's language settings are identical. The browser language could also determine the date format.
As a workaround, you could add an extra attribute to your context, and set the calculated property to 'true'.
In your table, add a new column and bind to this new attribute, and hide your original date column
If you sort using the date column that's hidden now, you could use the calculated field to fixed-format your date the way you prefer (by using the SimpleDateFormatter class for instance)
Cheers,
Robin

Similar Messages

  • Sales order create/change line item with reference to contract - Open quantity not getting deducted for copied line item from the contract

    Hi friends,
    Please provide some valuable inputs for the following scenario:
    When a sales order line item is created(VA01) or changed(VA02) with reference to a Contract the open quantity is deducted in the contract which is a standard functionality. If the referenced line item is copied (custom enhancement to copy line item), then for the copied line item the open quantity is not getting deducted instead ATP quantity i.e. Available-to-promise is deducted.
    Any inputs on how we can fix this functionality i.e. deduct the open quantity from the contract for the copied line item?
    P.S. : Custom enhancement to copy line item is working fine, but open quantity is not getting deducted if the copied line item was referenced to a contract.
    Thanks,
    Sandeep
    Message was edited by: sandeep

    Sandeep,
    Yes, that was my original interpretation.  I was having a hard time believing that someone would ask such a question. 
    I guess, then, that you already know that you will have to add this logic to your enhancement. You should create your specifications and hand them off to a developer; ideally the one who created this enhanced solution in the first place.
    I do not provide advice in these forums about details of enhanced solutions.  Perhaps one of the other members will be more willing to do your work for you.
    Best Regards,
    DB49

  • Picked quantity not getting updated in ERP outbound delivery

    Hi All,
    I have an outbound delivery which is replicated from ERP to EWM. I have confirmed the Warehouse task for picking & completed PGI in EWM system. The status update has taken place in ERP delivery (i.e ERP delivery status shows that goods movement is complete and the distribution status shows processing of the delivery in the decentralized system is complete). However the picked quantity (LIPS-PIKMG) is not getting updated in the ERP delivery. How do i make this happen?
    Regards,
    Smitha Pai

    Hi Smitha
    Picked Qty in ECC will never get updated when do the PGI in EWM. I think, this field is not designed when delivery is distributed as system assume picking will be done in other system in this case it is EWM.
    But You can always refer VBFA (Document flow table) to identify the picked quantity if you are working z report or interface to send this information.
    Thanks,
    Jagdeep

  • A selected row in af:table does not get sorted.

    Hi,
    When a table supports single selection and the table contains quantity of rows gt it can fit into its viewport, then, on sorting, selected row gets out of the sorting process. But when you move to the end of the table, select a row there and then sort the table, then all rows sorted correctly. The selected row, after sorting, always set as a first row in the current viewport, doesn't matter whether it is in the order or out of it.
    Noteworthy, when number of rows is lt the viewport allows:
    1. sorting works as it should to;
    2. on sorting/PPR'ing, as it gets some time, one can see how the viewport updates in two steps and in the first step the first row is the selected one.
    JDev's version is 11.1.1.3.0.
    VO, iterator and tree bindings, af:table all the props related to data retrieving, fetching and row displaying have default values.
    What can cause that?
    Thx,
    Y.

    Hi,
    so what you are saying is that the selected table row is not sorted but added on top. I tried to reproduce this with 11.1.1.3 but can't see the issue. I tried with editable and read-only tables
    Frank

  • Files does not get sorted from Windows

    I have OSX server (7 years old) using as a file server getting connected by many Windows clients. It did not happen in the beginning, but lately, I cannot sort the files by file names or file types from Windows client computer. It was all in good order even when I looked from Windows client computer, but in the past couple of years, it can never sort in good order either by file name or file types. Does anyone have the same experience like this or know what is going on?

    Hi, I got reboot problem on W2k3 as well. Any time it came out, there were lots of java.nio exceptions. I really wonder if the NIO package will crash the OS? Btw, the JVM version is 1.4.2.008
    One more: I found that there are exceptions which tells me "the establish connection has been terminated by the program hosted in your computer". Can any of you help? Thx...

  • Date Column not getting sorted in a table in web Dynpro Java

    Hi All,
    I am facing an issue while sorting the date column in a table in my web dynpro java application.
    When the date is displayed in the sql format in tha table, I am able to sort the date column successfully but when we convert the date field from sql format to util format in our table and then sort it does not work.
    Kindly let us know the steps to be followed in this case to sort the date column of a table in Simple Date format as we do not want date in the sql format to be displayed.
    Thanks & Regards,
    Anurag

    Hi,
    You might want to check whether both your browser's language settings are identical. The browser language could also determine the date format.
    As a workaround, you could add an extra attribute to your context, and set the calculated property to 'true'.
    In your table, add a new column and bind to this new attribute, and hide your original date column
    If you sort using the date column that's hidden now, you could use the calculated field to fixed-format your date the way you prefer (by using the SimpleDateFormatter class for instance)
    Cheers,
    Robin

  • Quantity is not getting conformed in sales order

    HI SD Gurus,
    i have one issue we are not able to solve i need your help, it is very urgent,
    My issue:we created sales order but quantity was not getting conformed is sales order even though we have enough stock
    but it was consumed the stock in MD04,
    we ran the SDRQCR21 program but issue is still exist,
    1. we checked all the ATP configuration  every thing is fine,
    2.we replicated the scenario in  quality it is working fine
    3.we try simulated in production but not conformed the stock
    4. total stock is in unrestricted only
    5. no block in sales order
    6. same material working fine with different plant
    7. in same plant different materials working fine
    available stock level in MMBE and MD04 is 330 qty unrestricted
    sales order created for 165
    then stock reduced in MD04 to 165,and sales order displayed in MD04 with quantity 165
    but it was not conforming the schedules in sales order(with any dates)
    I am requesting you to reply ASAP if any one faced the same scenario
    BR,
    CS

    Hi CS,
    Please check the stock availability in CO09. If CO09 shows available quantity as zero then the sales order quantity cannot be confirmed.
    Please review SAP Note Number 89362 - No confirmation despite available quantity/stock for further information on this transaction.
    You will also find further information in this document:
    http://scn.sap.com/docs/DOC-58040
    I hope this helps.
    Kind regards,
    Catherine

  • Quantity field not getting displayed

    Hi,
    I am using Adaptived RFC Model to get Sales Order Data from SAP. The Sales Order BAPI that i am using is
    BAPI_SALESORDER_DETAIL. I have mapped the SALESORDER table(SALESOPRDER Model node) to the TABLE UI element in my WebDynpro Application.
    The problem i am facing is that while all the fields get displayed the Quantity value is not getting displayed in the appropriate column. I have checked the mapping and everything seems to be fine.
    Also when i create a separate value node for the table and fill the value node from the model node the quantity value gets displayed then.
    Please suggest what can be the possible cause for this.
    Regards
    Sidharth
    Can you please

    Hi,
    As far as I understand you display output parameters of BAPI, so check to following things:
    1. After calling BAPI model method call invalidate on context node to update the values (e.g. outputNode.invalidaet() )
    2. Check that you dispaly output parameters and not input parameters of the table. (e.g. You have Quantity and QuantityOutput node so connect you table field to QuantityOutput)
    Hope it helps.
    Victor.

  • Quantity field not getting update in PCA document for Goods Receipt

    We have the Purchase Account activated for our company code.
    For movement type 101 (Goods Receipt), I am getting the quantity field updated for GR/IR account and Stock Account (B/S item).
    But the quantity field is not getting updated for the "Purchase Account" and the "other offsetting PL A/C).
    Please advice whether I am missing something.
    Regards
    B.Mohanty

    Hi Aravind,
    Check SAP notes  1063198 and 1117587.
    FAGLL03 display quantity which is updated in FAGLFLEXA, BSEG is not
    relevant in this case. This is clearly explained in the note 1063198.
    The quantity posts through to FI on the 'goods receipt' items, but not on the
    'invoice receipt' items.
    In the FI normally the Quantity is not a 'real' important field, as it
    is more related to the MM area.
    But in the old 'Profit Center Accounting' and the old' Special Ledger'
    the field has been important.
    As the same logic of these areas to 'store' the Quantity is also used
    in the NewG/L the field get only filled in the line, where it make
    'sense' from our point of view, because only in the 'goods receipt'
    lines a 'real' Quantity is posted to the system.
    So as before in the PCA and SL, now also in the NewG/L the Quantity is
    filled in the correct and important lines and postings.
    In the BSEG ('old document segment table') the field is filled 'just'
    as it is send to the FI, but this is not completely correct from the
    business point of view.
    This can also lead to issues with the reporting and summation to this
    field. So with creating the new logic in the NewG/L the 'correct'
    standard of the 'writing' for the Quantity has also been taken over.
    So in the end, the update and display is correct according  SAP standard behavior.
    Actually,Quantities within G/L are never reliable,
    because the purpose of FI is a view on the data according to amount
    but not according to quantity.
    In the FI normally the Quantity is not a 'real' important field, as it
    is more related to the MM area.
    I hope I could be of assistance.
    Regards,
    Fernando

  • BAPI_SALESORDER_CHANGE Quantity in the sALES ORDER NOT GETTING UPDATED.

    Hi Experts,
    i am adding a new line item to the sales order with line item number and material number and QUANTITY.
    by using BAPI_SALESORDER_CHANGE bapi every thing is geeting updated but QUANTITY field is not getting updated.
    regards,
    Jay Sawant.

    I m using this code..
    Fill Line Item Details
      fl_order_itm-itm_number = line_item + 1000.
      fl_order_itm-material   = mpn.
      fl_order_itm-target_qty = qty.
       fl_order_itm-sales_unit = unit.
      APPEND fl_order_itm TO it_oditm.
    Fill the Header Order Details
    fl_order_itm_inx-itm_number = line_item + 1000.  "added
      fl_order_itm_inx-updateflag = 'U'.
      fl_order_itm_inx-material   = 'X'.
      fl_order_itm_inx-target_qty = 'X'.
    CALL FUNCTION 'BAPI_SALESORDER_CHANGE'
        EXPORTING
          salesdocument            = vbeln
      ORDER_HEADER_IN             =
          order_header_inx         = order_header
      SIMULATION                  =
      BEHAVE_WHEN_ERROR           = ' '
      INT_NUMBER_ASSIGNMENT       = ' '
      LOGIC_SWITCH                =
      NO_STATUS_BUF_INIT          = ' '
        TABLES
          return                   =  it_ret2
       order_item_in               =  it_oditm
       order_item_inx              =  it_oditx
      PARTNERS                    =
      PARTNERCHANGES              =
      PARTNERADDRESSES            =
      ORDER_CFGS_REF              =
      ORDER_CFGS_INST             =
      ORDER_CFGS_PART_OF          =
      ORDER_CFGS_VALUE            =
      ORDER_CFGS_BLOB             =
      ORDER_CFGS_VK               =
      ORDER_CFGS_REFINST          =

  • Ordered Quantity does not get copied to Invoice by  DIAPI

    Hi All,
    I am stuck with an issue in Invoice creation using  DI API by code.The field Ordered Qty (DB Filed INV1.OrderedQty) does not gets copied to Invoice line from delivery lines. But while we add invoice from delivery >Copy To> AR Invoice , it gets copied to Invoice lines. This OrderedQty field is not exposed through DI API, so we cant set that field throgh code. What I do in Invoice creation code is as follows.
    SAPbobsCOM.Documents oINV;
                        oINV = (SAPbobsCOM.Documents)
                            modups.oCompany.GetBusinessObject(SAPbobsCOM.BoObjectTypes.oInvoices);
                        oINV.CardCode = oDLN.CardCode;
                        for (int i = 0; i < oDLN.Lines.Count; i++)
                            oDLN.Lines.SetCurrentLine(i);
                            string str = oDLN.Lines.ItemCode;
                            if (i != 0)
                                oINV.Lines.Add();
                            //oINV.Lines.ItemCode = oDLN.Lines.ItemCode;
                            //oINV.Lines.Quantity = oDLN.Lines.Quantity;
                            oINV.Lines.BaseType = Convert.ToInt32(SAPbobsCOM.BoObjectTypes.oDeliveryNotes);
                            oINV.Lines.BaseEntry = oDLN.DocEntry;
                            oINV.Lines.BaseLine = oDLN.Lines.LineNum;
                            taxcode = oDLN.Lines.TaxCode;
    if (DeliveryExpenseCount > 0)
                                for (int i = 0; i < DeliveryExpenseCount; i++)
                                    oDLN.Expenses.SetCurrentLine(i);
                                    if (i != 0)
                                        oINV.Expenses.Add();
                                    //oINV.Expenses.ExpenseCode=i;
                                    oINV.Expenses.ExpenseCode = oDLN.Expenses.ExpenseCode;
                                    oINV.Expenses.LineTotal = oDLN.Expenses.LineTotal;
                                    oINV.Expenses.TaxCode = oDLN.Expenses.TaxCode;
                                    oINV.Expenses.BaseDocEntry = oDLN.DocEntry;
                                    oINV.Expenses.BaseDocLine = oDLN.Expenses.LineNum;
                                    oINV.Expenses.BaseDocType = 15;
    int retVal = oINV.Add();
                        if (retVal != 0)
                            int lErrCode; string sErrCode;
                            modups.oCompany.GetLastError(out lErrCode, out sErrCode);
    Any help will be appreciated..
    Deepesh

    Hi Gordon,
    Thank you for your reply.But it didnt fix the problem.The only change of previous code with this one was oINV.Lines.Add() method is called in the last of the loop.But it wont fix issue. 
    Updated on 20/10/2011
    I have found the issue.The issue is causing if we update the resulting invoice's expense lines.
    If we copy the expense lines from delivery and update any line with an amount it works fine and resulting invoice has "Ordered Qty" in its lines. Code is
    for (int i = 0; i < DeliveryExpenseCount; i++)
                        oDoc.Expenses.SetCurrentLine(i);
                        if (i != 0)
                            oINV.Expenses.Add();
                        string s = oDoc.Expenses.TaxCode;
                        oINV.Expenses.TaxCode = oDoc.Expenses.TaxCode;
                        oINV.Expenses.BaseDocEntry = oDoc.DocEntry;
                        oINV.Expenses.BaseDocLine = oDoc.Expenses.LineNum;
                        oINV.Expenses.BaseDocType = 15;
                        oINV.Expenses.LineTotal = oDoc.Expenses.LineTotal;
                        if (radioButton2.Checked == true && i == 0)
                            oINV.Expenses.LineTotal = oDoc.Expenses.LineTotal + Convert.ToDouble(txtExp.Text);
    But if the delivery has no expense lines or we are adding a new expense line to the invoice while invoice creation from delivery , the resulting invoice does not have "Ordered Qty " in its lines..
    Code is
    if (DeliveryExpenseCount > 0)
                            oINV.Expenses.Add();
                        oINV.Expenses.ExpenseCode = 1;
                        oINV.Expenses.TaxCode = taxcode;
                        oINV.Expenses.LineTotal = Convert.ToDouble(txtExp.Text);
    If I try to add lines
    oINV.Expenses.BaseDocEntry = oDoc.DocEntry;
      oINV.Expenses.BaseDocType = 15;
    to the above code it may show either "Internal error" or " No matching records found".
    Is this a bug in DI API?

  • I can not get my itunes to sort my library in alphabetical order by artist??  Nor can I get the listing to be numbered...ie...1...2...3...4...5 etc.....Can anyone help??  It used to alphabetize my list correctly before I downloaded the 11.0.1 or 11.0.5

    I can not get my itunes to sort my library in alphabetical order by artist??  Nor can I get the listing to be numbered...ie...1...2...3...4...5 etc.....Can anyone help??  It used to be able to alphabetize my list correctly before I downloaded the 11.0.1 or 11.0.5 version of itunes?????

    How are you viewing your library? In Song view or Album View?
    If in Album view pull down View > Show View Options and select Sort by: Artist, then: (whichever choice you want here).
    If in Song view I like to see the album artwork so pull down View > Show View Options and select "show album artwork" and close the small window. Then click on the column that contains the artwork and sort it by Artist.

  • Quantity field is not getting as an mandatory field.

    Hi all,
    when I try to add a material without quantity field it is allowing me to add in the order.
    I have Item categeory TAN for which I have assigned incompletion procedure 20 which has  KWMENG field for screen PKAU and warning indicator is set.
    Despite of this I am able to enter material without quantity.
    Is there any other setting I am missing please guide.......
    Regards,
    Rathan

    Hi Mr.Rathan Kumar
    As far as I know for Item Incomplete procedure I have added field "KWMENG" with
    Warning Indicator set but even then iam not getting error when entering material
    with out quantity.
    Pls be informed that SAP is giving the option of warning only for  Incompletion procedure not error
    This is because SAP allows you that there will be some fields which will be incomplete during creation say PO number or order reason in return order That information may not be available during creation but can be filled later in change mode in VA02 transaction on a later date
    It is not logically correct to stop with error if any data is incomplete during creation itself
    Coming to your issue how we will be doing a sales order
    We will give order type then sales area and sold to party and PO number  ( if reqd )
    Then the materail and qty
    Say you are entering material A then not entering the qty pressing enter
    System will give warning message (even without the incompletion log set as per your confiuration)
    Check that message no if V4 message type in t code OVAH you can convert the message from warning to error
    Try this (remove your incomplete config and try)
    Otherwise you need to use userexit to throw error when the qty is not entered and if anyone is trying to save the order
    My suggestion in earlier post actually does this only,  in another way
    For your exact requirement you have to use userexit
    Regards
    Raja

  • Schedule line not getting confirmed despite ATP quantity  available

    Hi friend,
    I have a created a order for which schedule line of a particular material  is not getting confirmed.
    I checked the stock in co09 ATP quantity is available, MD04 has allocated stock to my order.
    In our project specific  scenario storage loc is not determined at order level. I also tried adding storage loc at shipping tab and did re atp but no use.
    My scope of check includes reservations, sales requirement, deliveries.
    If I use another materials which is similar to my above example stcok is getting confirmed but only that particular above material is not getting confirmed.
    Am I missing any thing please suggest.

    hi,
    please check,
    STOCK IS GETTING RESERVED AGAINST THE STORAGE LOCATION or NOT.
    please check and confirm
    balajia

  • During opening Apple ID. I do not get My country region Bangladesh in given country region list and credit card from my country is not accepting apple. How could I sort it out? I cannot buy any app

    During opening Apple ID. I do not get My country region Bangladesh in given country region list and credit card from my country is not accepting apple. How could I sort it out? I cannot buy any app

    Yeap, that's what I was afraid of. I have a valid card and a valid billing address, I just don't see why they're keeping people like me from using their service, and what the actual roadblock is in getting an iTunes Store for Serbia.
    Thanks anyway!

Maybe you are looking for

  • Contacts App will not open on my Ipad

    I am unable to use the contacts app on my Ipad. The Contacts app close as soon as I try to open it. The Mail,Calendar, Contacts settings also close as soon as I try to open it. When I try to sync my Ipad Contacts with the contacts on my Laptop Outloo

  • Deleted files recovery

    Is there a way to recover a deleted files (picture) ?  It is still on my apple tv and on my iphoto library (but no possible to view the large size).

  • On-board RAID and PCI RAID controller

    Hello everybody, I am new to the forum. So, please excuse me if that topic was already covered... I have MSI MAX2-LR (MS-6398E) board. It works just fine, no problem so far. Though I have 2 problems with add-on cards: 1.  I was planning to use on-boa

  • *ERROR: failed to open file " export directory path /ABAP/DATA/SAPSTR.LST

    Hello experts, I am doing system export. as per the system copy guide I follows all steps. when I tried for export preparation. I got following error in  "/tmp/sapinst_instdir/ERPEhP4/LM/COPY/DB6/EXP/CENTRAL/AS-ABAP/PREEXP/R3ldctlExport.log" ERROR: f

  • Recipe data migration from 3rd party system to SAP Recipe Management

    Dear All, Can anybody give the steps to be followed to upload Recipe data from a 3rd party system into the SAP Recipe Management (RM). I am looking for the logical process to populate the RM tables. Thanksa lot  in advance, Regards, Achyuta