PLD sorting values

Hello
I have a question
End of the mmonth we make an invoice combining all delivery notes
On the PLD I have storted Delivery Note number on the repetitive area (sort value) but in the same group I want the date and document reference remark to appear
I have sometimes the date and the ref text but sometimes not so the solution I have is not correct
I have made a link fields as a formula for date and base ref
Field 1 = Doc Base number of the row INV1
Field 2 = Sorted value
Formula : Field1==Field2
The date and base ref are linked to Formula above...
Maybe there should be another way to have everytime date and base ref to be shown in the group 1 area

Hello gordon
No I have not tried but to me create UDF fields which have the same information as regular field makes no sense
What would be the advantage ?
What UDF you mean date and doc reference right ?

Similar Messages

  • PLD and sort value

    Dear Expert
    Happy new year to you
    One customer makes end of the month invoice with all delivery made in the month
    We use sort value and the value is Base Doc reference in INV1 and we group by, the delivery note number is selected
    At each group we can see as header the Delievrey note number
    But we also want to see on the same header the date of delivery (actdeldate) and customer ref (BaseAtCard)for each group of delivery
    How is it possible with PLD what function to use.???
    We use SAP BO 2007 SP01 PL11

    Hi,
    PLD is a very simple tool. You probably need Crystal Report to achieve your goal.
    Thanks,
    Gordon

  • How to display the sort value in the selection screen in the report title

    Dear All,
    How to display the sort value in the selection screen in the report title? I have selected a value in the selection screen for sorting , but i need that values by which i have sorted with in the report title. Can you please throw some light on this!!
    Good day,
    Thanks and regards
    Arun S

    Hi Arun,
    Try this.
    1, Set one dynamic parameter,
    2, Drag and drop that parameter into  your report title.
    3, Pass the value(sort value) dynamically from your application,
    4, Cheers..
    Other wise Try with Dataset, create a dataset and fill thev alue into that.. Then  set the data source from CR designer. and darg and drop that data column into the report.
    Hope this will work,
    Regards,
    Salah
    Edited by: salahudheen muhammed on Mar 25, 2009 11:13 AM

  • Sorting values added to an array

    Hi,
    I've written some code to sort value in an array as I add them, but I can't get it to work properly. So far I have:
    public boolean add(int next)
            int last, temp, previous;
            if (size < 1) // checks whether any values have been added to determine correct value for previous.
                previous = size;
            else
                previous = size - 1;
            if (size < arraySize) //determines whether array is full or not
                last = numberList[previous];
                if (next > last)
                    numberList[size] = next;
                    size++;
                else if (next < last)
                    temp = last;
                    numberList[previous] = next;
                    numberList[size] = temp;
                    size++;
                numberAdded = true;
                return numberAdded;
            }Which does add the numbers, but they aren't arranged into the proper order. When I look over it I can't see anything that stands out as being wrong, so I was wondering whether anybody could see anything?
    Thanks for your help,

    endasil wrote:
    nickd_101 wrote:
    I don't want a loop in this case, as i want to put the values into the correct position (with respect to the previous one) as they're added into the array. Basically, my idea is that the previous value is checked against the new value and then they are swapped if the previous value is larger than the new or kept as is if not.So you're saying that if you added
    1, 2, 4, 5, 3
    you'd want the resultant order to be
    1, 2, 4, 3, 5?
    Because by your logic that's what would happen. The most that can ever happen by your logic is that a new entry would be at most 1 away from the end of the array.
    P.S. use an SortedSet, given that your code doesn't allow duplicate values anyway.
    Edited by: endasil on Nov 19, 2007 2:15 PMThanks for the response. What I meant is that I would eventually want it in ascending order 1,2,3,4,5. What I thought I was doing was sorting the comparing the new value with the preceding everytime a number was added so that it would always go in consecutive order. So, for example say the numbers were added to the array one by one in the order 3,5,4,1,2; 3 would be compared to 5 and there would be no change in the position. As i've typed this out i've just realised the massive logical error i've made! Could you point me in the right direction to get this to work as i'm new to this. I've managed to get a pre-defined array sorting as normal, but for this i need to sort everytime I add a new value?
    Thanks again

  • Dash in sort value is skewing sort

    Hi All,
    I've noticed that having dashes in an alphanumeric sort field causes the data not to be sorted correctly:
    A-
    AA
    A-B
    AC
    A-C
    A simple Crystal formula highlights the issue:
        StrCmp ("A-B","AAA")   returns 1, i.e. "A-B" is greater than "AAA", but
        StrCmp ("A-A","AAA")   returns -1, i.e. "A-A" is less than "AAA".
    I know I can work around this by manipulating the data but with hundreds of reports containing multiple groups and sort values this is not practical. Is there some setting or collating sequence I need to set? Why is it doing this?
    I'm running CR XI R1 SP3 on Windows Vista. I also get the same result in CR 8.5.
    Thanks in advance,
    Michael.

    "Your are so right, but this is not unique to crystal. Excel sorts this values exactly the same"
    I think we're now getting to the bottom of the issue. I assume Crystal has based it's sort logic on Excel (N.B. Access does not sort this way). Why they would want to do this I don't know but maybe SAP can confirm. IMHO it would be much better to sort using the normal ASCII values, or at least have an option to do this.
    Some further research on sorting in Excel:
    Default sort orders In an ascending sort, Microsoft Office Excel uses the following order. In a descending sort, this sort order is reversed.
    Value Comment
    Numbers Numbers are sorted from the smallest negative number to the largest positive number.
    Dates Dates are sorted from the earliest date to the latest date.
    Text Alphanumeric text is sorted left to right, character by character. For example, if a cell contains the text "A100," Excel places the cell after a cell that contains the entry "A1" and before a cell that contains the entry "A11."
    Text and text that includes numbers stored as text are sorted in the following order:
    0 1 2 3 4 5 6 7 8 9 (space) ! " # $ % & ( ) * , . / : ; ? @ \ ^ _ ` { | } ~ + < = > A B C D E F G H I J K L M N O P Q R S T U V W X Y Z
    Apostrophes (') and hyphens are ignored, with one exception: If two text strings are the same except for a hyphen, the text with the hyphen is sorted last.
    Note If you have changed the default sort order to be case-sensitive through the Sort Options dialog box, then the order for alphabetic characters is the following: a A b B c C d D e E f F g G h H i I j J k K l L m M n N o O p P q Q r R s S t T u U v V w W x X y Y z Z
    Logical In logical values, FALSE is placed before TRUE.
    Error All error values, such as #NUM! and #REF!, are equal.
    Blank cells In both an ascending and descending sort, blank cells are always placed last.
    Note A blank cell is an empty cell and is different than a cell with one or more space characters.
    http://support.microsoft.com/kb/212144
    http://support.microsoft.com/kb/322067
    Edited by: micmac on Jun 30, 2010 12:35 PM

  • Pie Chart Legend - colors and sorting value

    <p>Hi,</p><p>I have a pie chart with around 20 &#39;segments&#39; representing names of people - so it looks like several of them have the same color.</p><p>So my first question is do the standard 12 colors repeat after 12 segments have been &#39;defined&#39; - can this be extended with custom colors?.  I know you can set colors for specific values but as the list is dynamic, I can&#39;t do that. </p><p>I also have a legend defined which shows the person&#39;s name and then the value - either a percentage or a count etc.    From top to bottom, the legend lists the entries alphabetically by the person&#39;s name - however, it&#39;s not always easy to tell which name is associated with which &#39;segment&#39; and using labels is not an option as they are too long and there are too many of them to be readable<br /></p><p>So what I would like to do is have the legend displayed in numerical size order - e.g. person with largest % is at the top, smallest % is at the bottom etc.</p><p>I&#39;ve been looking at the Chart Expert, CR Help and the forums but have not seen an answer to either question - I&#39;m hoping someone can tell me if it&#39;s possible or not (and if so, how do I do it!).</p><p>Thanks <br /></p>

    Hi,
    If you go to the Chart Expert, on the data tab, you can choose the Top N option. From within there you can get your legend sorted based on the highest or lowest percentage. You can also group information so that you only see the top 5 or lowest 10 or whatever you want.
    Also when I create a pie graph based on 20 plus pieces of data it isn't resusing the colors, but they are somewhat similar. I usually do a group of the top 10 or so, then have an others category for situations like this.Â
    Rody

  • Read and sort values present in .ini file

    Hi all,
    I have a .ini file in which a set of modules with there order of execution is mentioned.I want to get all these values sorted as an array so that I can proceed with the execution of each in the order mentioned.The module list in the .ini file looks like this:
    Here, digits represent the order of execution of module.
    I should get output as an array with following values:
    1 MNO
    2 DEF
    3 STU
    4 PQR
    5 GHI
    6 VWZ
    7 ABC
    8 JKL
    I know about config data and read key vis but since the module list is huge I dont know how to write an efficient code for this.All suggestions are welcome.
    Thanks.
    Solved!
    Go to Solution.

    The snippet below should be very close to what you want.

  • Sorting Values and keeping Keys

    Hi,
    I was hoping someone might be able to help me. I would like to sort some key value pairs.
    I have the following data the key is a string and the value is an int.
    "John",26
    "George",25
    "Ian",33
    "Greg",25
    I would like to sort the names by age and output them e.g
    Greg George John Ian
    I have looked at this post using the TreeMap and TreeSet to sort based on values but this seems to only work for Strings. Another problem is that I think tree set needs unique values and in my case they're not unique.
    http://forum.java.sun.com/thread.jspa?threadID=634742&messageID=3688987
    I was wondering whether someone could help me sort out this problem
    Thanks in advance
    John

    You need to create an Object to encapsulate your data and then sort a collection of those objects. Something like this:
    http://forum.java.sun.com/thread.jspa?forumID=31&threadID=598401

  • Sort values in numeric order in drop down menu

    Is there anyway to sort the values in numeric order-asending for the drop down menu of a particular field.
    Any ideas?
    G

    Add a property 'SORTED' and Boolean = true in BPE.
    G

  • Sort values of structure with arrays

    Hi
    For a shopping cart I'm using a structure with arrays to store the items in the cart. I tried to use StructSort but did not work...
    This is how I store the items in the cart:
    <cfscript>
                if (not(isdefined("session.cart"))) {                // Check to make sure that the Shopping cart structure exists.
                    session.cart = structnew();
                // The item structure we are going to use to store the items in the cart
                // is going to have four parts...
                //         1.  The item id
                //         2.  The item name
                //         3.  The price per unit
                //         4.  The quantity
                tempvalue = listtoarray('#attributes.id#,#attributes.name#,#attributes.price#,#attributes.quantity#') ;
                // if the item is not yet in the cart, simply add it to the cart
                if (not(structKeyExists(session.cart, attributes.name))) {
                    StructInsert(session.cart,attributes.name,tempvalue);
                // if the item is already in the cart, update the item quantity
                else {
                    tempvalue[4]=session.cart[attributes.name][4]+attributes.quantity;
                    StructUpdate(session.cart,attributes.name,tempvalue);
    </cfscript>
    Any help will be appreciated.
    Thank you.
    TJ

    To loop over an array one has two options:
    <cfloop index="i" from="1" to="#arrayLen(a)#">
    Or:
    <cfloop index="someVar" array="#a#">
    Personally I use the former because I think the implementation of array-looping with <cfloop> is cocked-up as it's not the index that gets put into "someVar", it's the array element itself.  So by way of pedantic protest, I don't use that syntax.
    But anyway...
    The reason why your struct is unordered is because structs are - innately, and by definition - unordered.  If you want an ordered data structure, you use an array.
    However what you are wanting to do is to sort your array by a subkey value of the structs the array contains.  If you want to do that, you will need to roll your own sorting solution.
    Personally I'd stick with using an array and just use its intrinsic ordering (the order in which items are added to it).  However if you wanted to sort on one of the inner struct keys, you could maintain a separate struct keyed on the value you wish to sort on, containing a reference to the array element in the original array.  Then you could extract a structKeyArray() from that, and use arraySort() to order those index keys in whichever order you like.
    Adam

  • Sort values in input help for variables

    Hi there,
    Users often get annoyed by the input help in our web-reports. As the data in the InfoProvider grows, the variable values in the input help screens gets over-populated.
    Often old values (eg. 0CALMONTH) are displayed first and users have to scroll trough 8 blocks of values before they get the value they are looking for.
    It is kind of a practical issue, but does any of you know how to <b>sort</b> the values in the input help screen?
    Kind regards,
    Hans de Klein

    Hi Hans,
    I can suggest you one way but i am not sure it will work in your scenario.
    Where ever you have used variables. Lets say 0CALMONTH.
    You must have restricted this with some variable.
    Goto The Property of 0CALMONTH(By right clicking) and check the sort property.Also select you want to sort on Key/Text.
    Hope it helps.
    Regards,
    Parth.

  • SORT VALUES IN AN INFO OBJECT

    Hi -
    I am on BW 3.5, wrote a query in BEX, and displayed in Webpage.
    On the webpage, there is an info object for Fiscal Year/Period that when you click on the selection button to drill down the variable, it will display values such as 001/2008, 002/2008, 003/2008, etc.
    Users wonder if we can sort these values descending so the latest period will show first?
    Appreciate any help.
    Thanks, Minh Le

    Hi
    Right click on your infoobject and select properties.
    Sorting - select the option as descending.
    Regards
    M.A

  • Sort Values of Day

    Hi All,
    i have Day column where i get day names as Mon Day to Sun Day, but when they are not in sort Order from Monday to Sunday... i am getting as in gigag saturday thursday monaday... in this order. how can i get sort these columns in Subject area so that even though i create n no.of reports i can get sot day names in all reports.
    Can some one help me...
    Thanks
    Manu!!

    Manu wrote:
    Hi All,
    i have Day column where i get day names as Mon Day to Sun Day, but when they are not in sort Order from Monday to Sunday... i am getting as in gigag saturday thursday monaday... in this order. how can i get sort these columns in Subject area so that even though i create n no.of reports i can get sot day names in all reports.
    Can some one help me...
    Thanks
    Manu!!Manu, I understand that English may not be your first language for you (and for many others as well), but that just means it is more important to make sure you proof what you write. Unfortunately, because this is a free forum, if people have a hard time understanding your question, they may just skip it. You spell "Monday" two different ways (Mon Day and monaday), you spelled "sort" correctly in the Subject line and in two different places, but then spelled it "sot" at the end of the sentence. Finally, I'm not sure your understanding of when to capitalize a word, but at the very least, capitalize the first word of a new sentence. It helps to when you have completed your thought and are starting a new one. This is not a criticism, just a way to help you get a better response from others. :) (I think one of the words you meant to write was "zigzag" not "gigag," but I may be wrong.)
    As far as your question/issue:
    Sorting all depends on the type of column you have. Since you have a CHAR column, sorting will be alphabetical, not the logical way you would do it by when the day actually occurs in the week. To sort the way you want, you basically have to "convert" the column to way that putting the "sorting" on would do it the way you expect.
    If you have a column that has values "Monday, Tuesday, Wednesday...," then get another instance of this column, click on the fx button, and create a BINS out of this.
    When the value is Monday, call it 01, if it is Tuesday, call it 02, etc.
    Now sort this column. Put it at the beginning of your Table and hide it. If you have a pivot table, put it at the beginning of the Rows section, sort it and hide it.
    This is how you can do it.

  • In ALV- Save layout is not holding sorting values..

    hello expert.
    in ALV-> Change Layout -> filter Material -> 89* and save as default.
    but not working when i execute the 2nd time from starting onwards..!
    my alv is able to save screen but not filtering values .
    my alv unable to hold filter value as default setting.
    could you please help me out.
    thank you,
    with best regards
    srinivas rathod

    Hi
    Save personalization is for saving variables not for saving layout. If you are doing any changes to layout you can directly save by clicking save button.
    http://help.sap.com/saphelp_nw70ehp1/helpdata/en/45/6f6b52f5981c91e10000000a11466f/frameset.htm
    http://help.sap.com/saphelp_nw70ehp1/helpdata/en/01/42c73c13b0ce5be10000000a114084/frameset.htm
    Regards
    Ravi
    Edited by: Ravi Naalla on Apr 3, 2009 3:47 AM
    Edited by: Ravi Naalla on Apr 3, 2009 3:49 AM

  • Sorting values by escaping the html tags

    Hi Friends,
    My problem is described below...
    I am facing an issue where I need to sort (main title/ alternate title) by escaping the html tags.
    eg 'Amex' should always be before 'Singer'
    Amex in DB is like Amex.
    Syngo in DB is like &lt;i&gt;Singer&lt;/i&gt
    something can be --- <i>hello<i>
      sql.append("SELECT DISTINCT NVL(ItemDocMeta.xMainTitle, ItemDocMeta.xAlternateTitle) AS generatedPageTitle,");
    other conditions
    // order by
                sql.append(" ORDER BY LOWER(generatedPageTitle) ASC");
    Is there any SQL function that can make it easier?
    I tried using regex in the ith order by clause, but it doesnt work until i keep it in the select part. And I am unable to use regex in the select part with distinct.
    Thanks

    For example :
    SQL> set scan off
    SQL>
    SQL>
    SQL> with sample_data as (
      2      select 'again sort a column' str from dual union all
      3      select '<i>sort</i> a column' from dual union all
      4      select '&lt;i&gt;resort&lt;i&gt;' from dual
      5  )
      6  select str
      7  from sample_data
      8  order by regexp_replace(
      9             utl_i18n.unescape_reference(str)
    10           , '</?[^>]+>'
    11           )
    12  ;
    STR
    again sort a column
    &lt;i&gt;resort&lt;i&gt;
    <i>sort</i> a column

Maybe you are looking for

  • Problem during automatic PO creation

    Hi,             I have run MRP for a certain material using MD03 .Message shows MRP run successfully.Then I checked the status of this by using transactions MD04 and it shows the PR no for that material.But when I want to create automatic PO through

  • My headphone jack on my Iphone 4s is not working.

      It seems that the sensor that detects whether or not there is something plugged into it is not working.  There is no water damage, the dot on the inside is still white.  The sound keeps switching back and forth from headphone mode to no headphones

  • Consuming web service

    Hi, i created a portal service from a wsdl. i configured in the j2ee the proxy forinternet access. Now when i'm trying to access this portal service i receive the following error: 0}#1#com.sap.engine.services.webservices.jaxm.soap.accessor.NestedSOAP

  • Networking staff is asking for infomation for FP install

    Can someone provide me with the destination IP addresses and TCP/UDP ports that my networking team needs to open on the firewall to get installation to complete 11.8.800.94? Thank You, Description: cid:[email protected] Bill Sprinkle End User Analyst

  • Full Screen but reduced image - is it possibe?

    Mac G5 Tower Panther OS. When making a PDF presentation to a client (an A4 brochure for example) I would like to use the Full Screen mode using my remote to change pages and make a smooth impression. The problem is on my Apple 20' Cinema display the