Skip to Content

Columns in my list (an advance list pane) do not sort.

Hi,

I faced a strange issue, that I cannot sort list (an advance list pane) by columns (in my custom screen in ByD).

Sometimes, in other lists, everything works properly, though some columns (usually, as I noticed, descriptions) do not sort at all.

However, I firstly faced such a case when all the list fully does not want to be sorted.

No column works in my custom interface of ByD. What could be the cause?

Thank you.

Add comment
10|10000 characters needed characters exceeded

  • Hi Aleksei,

    AFAIK, Sorting is default functionality of SAP business by design.

    If you simply click any column header in the list, you can sort by ascending/descending.

    If you want to automate the same, you can do as below

    In the sort option, you can give no sort as well and you can sort more than one column in the sort sequence. If you changed anything in the sorting option you wouldn't get the desired results.

    Regards,

    Senthil.

    byd-ui.png (33.4 kB)
    sdk-ui.png (84.8 kB)
  • Get RSS Feed

3 Answers

  • Best Answer
    Jul 04, 2017 at 01:48 PM

    Hi Aleksei

    Can you include cardinality on the node?

    node MaterialCosts [0,n]{
    }

    Regards

    Senthil

    Add comment
    10|10000 characters needed characters exceeded

  • Jul 04, 2017 at 11:35 AM

    Thank you, Senthil,

    Yes, of course, I mean standard functionality of ByD. It does not work. In my case it looks so:

    We can see nothing changes.

    Node structure:

    node MaterialCosts {
      element Item: LANGUAGEINDEPENDENT_MEDIUM_Text;
      element MaterialID: ID;
      element MaterialDescription: LANGUAGEINDEPENDENT_MEDIUM_Text;
      element BaseQuantity: Quantity;
      element NoOfPiecePerPack: Quantity;
      element ScrapRate: Percent;
      element Overhead: Percent;
      element TotalQuantity: Quantity;
      element UnitCost: Amount;
      element UoM: MeasureUnitCode;
      element Cost: Amount;
    }

    Columns "Item" and "Material description" are not sortable at all, as far as I can see.

    What can be a bug?

    Best regards,

    Aleksei

    Add comment
    10|10000 characters needed characters exceeded

  • Jul 04, 2017 at 06:10 PM

    Hello, Senthil,

    Yes. You are totally right After adding cardinality sorting started to work.

    Thank you.

    Text columns still are not sortable, though.

    Please, can you say what field type I should use for text descriptions, to do them sortable too?

    Best regards,

    Aleksei

    Add comment
    10|10000 characters needed characters exceeded