Sort sequence and sort rules

Hello friends,
In batch determination at delivery level
In strategy type SD01, if I don't maintain sort sequence
can sytem automatically determines the batch at delivery level?
Please clarify my doubt.
regards,
Sekhar_sd consultant.

Hi Harrison,
Noted. Thanks.
Best practice to achieve optimal performance also states that in all the look up tables (includes Qualified), sort index for DF must be set to Normal.
Ref:SAP Note 1258982 ; Read 'Please Note' which states the above .
Please put your thoughts on this.
Reards,
Vinay

Similar Messages

  • How to show the columns (and sequence and sort order) of an INDEX?

    Assume I have an INDEX for an existing TABLE.
    How can I find out the columns covered by this INDEX (and the sequence and sort order)?
    Which table contains this information?
    all_indexes does not.
    Peter

    user559463 wrote:
    Assume I have an INDEX for an existing TABLE.
    How can I find out the columns covered by this INDEX (and the sequence and sort order)?
    Which table contains this information?
    all_indexes does not.
    Peter--
    select table_name, index_name, column_name, column_position
    from user_ind_columns
    order by table_name, index_name, column_position;

  • Sort Artist and Sort Album tags don't update

    Having spent a lot of time over the years getting the metadata in my iTunes library just right, I've noticed a frustrating problem when it comes to iTunes Match.
    I make use of 'Sort Artist' and 'Sort Album Artist' tags so that my library is sorted by artist surname (eg. Lennon, John).
    This always worked correctly when I syncronised my music via iTunes, but since switching over to iTunes Match this has become problematic.
    When I initially signed up for iTunes Match, my Library moved over correctly - honouring the sort order tags that I had added. However, When I add NEW music to the library and subsequently change the sort tag, the change does not propegate to iTunes Match (Though it does appear correct in iTunes on my Mac). So the result is now a mixed sort order on my iOS devices - some by first name and some by second.
    Under iOS 5.0 and iTunes 10 I used to be able to get around this with a little forethought - I would turn iTunes Match OFF on the Mac before adding any new songs, then I would edit the tags and then switch Match back on. This would rescan the library and add the new tracks to the cloud complete with correct metadata.
    This workaround no longer works under iOS 6 and iTunes 11.
    I have tried switching iTunes match off on my iPhone and restarting it. This does not work either.
    Does anyone else have this issue or know of a way to 'force' the metadata to be updated?
    Any help would be appreciated.

    I also am finding it impossible to convince my iPhone that the Album Sort field exists. This is especially odd considering when I view my Home Shared music from my iPhone, it works exactly correctly. I have verified that the tags are being uploaded to iTunes Match by viewing the songs from another computer that has iTunes Match. So, for some reason, iOS 6 will not sort by the Album Sort field when using iTunes Match music.
    Does anyone have any sort of fix or workaround for this problem? I've submitted Feedback to Apple.

  • Sort up and sort Down push buttons in module pool with table control wizard

    hi,
    i have created 2 buttons for Sort up and sort Down push buttons in module pool with table control wizard
    please any one can help me.
    regards

    Hi
    Following code is to enable and disable the tbl control using two buttons. Just alter the code and for each button write the sort code.
    REPORT  YJAN27_SCREEN                                               .
    TABLES: SFLIGHT, YFLIGHT_28.
    TYPES: BEGIN OF struct1,
          carrid like sflight-carrid,
          connid like sflight-connid,
          fldate like sflight-fldate,
           END OF struct1.
    CONTROLS TBL1 TYPE TABLEVIEW USING SCREEN 2700.
    DATA: OK_CODE LIKE SY-UCOMM,
          CARRID LIKE SFLIGHT-CARRID,                                    "cols in tbl ctrl
          CONNID LIKE SFLIGHT-CONNID,
          FLDATE LIKE SFLIGHT-FLDATE,
          itab TYPE TABLE OF STRUCT1 WITH HEADER LINE,
          cols like line of TBL1-COLS,
          FLAG TYPE I.
    FLAG = 1.
    CALL SCREEN 2700.
    *&      Module  STATUS_2700  OUTPUT
    *       text
    MODULE STATUS_2700 OUTPUT.
      SET PF-STATUS 'BACK'.
    *  SET TITLEBAR 'xxx'.
    ENDMODULE.                 " STATUS_2700  OUTPUT
    *&      Module  USER_COMMAND_2700  INPUT
    *       text
    MODULE USER_COMMAND_2700 INPUT.
    OK_CODE = SY-UCOMM.
    CASE OK_CODE.
      WHEN 'BACK'.
        LEAVE PROGRAM.
      WHEN 'DIS'.                                                         "write code for sort up
        loop AT TBL1-COLS INTO COLS.
           COLS-SCREEN-INPUT = 0.
            MODIFY TBL1-COLS FROM COLS.
        ENDLOOP.
        FLAG = 2.
      WHEN 'ENA'.                                                       "write code for sort down
        loop AT TBL1-COLS INTO COLS.
            COLS-SCREEN-INPUT = 1.
            MODIFY TBL1-COLS FROM COLS.
        ENDLOOP.
        FLAG = 1.
    ENDCASE.
    ENDMODULE.                 " USER_COMMAND_2700  INPUT
    *&      Module  GET_DATA  OUTPUT
    *       text
    MODULE GET_DATA OUTPUT.
      select carrid connid fldate from SFLIGHT into table itab.
    ENDMODULE.                 " GET_DATA  OUTPUT
    *&      Module  POPULATE_TBL  OUTPUT
    *       text
    MODULE POPULATE_TBL OUTPUT.
        MOVE-CORRESPONDING ITAB TO SFLIGHT.
    ENDMODULE.                 " POPULATE_TBL  OUTPUT
    *&      Module  CHANGE_SCREEN  OUTPUT
    *       text
    MODULE CHANGE_SCREEN OUTPUT.    " use this module if you want to hide the other button
    CASE FLAG.
      WHEN 1.
        LOOP AT SCREEN.
          IF SCREEN-NAME = 'B_ENA'.
            SCREEN-INVISIBLE = 1.
             MODIFY SCREEN.
          ENDIF.
        ENDLOOP.
        LOOP AT SCREEN.
          IF SCREEN-NAME = 'B_DIS'.
            SCREEN-INVISIBLE = 0.
             MODIFY SCREEN.
          ENDIF.
       ENDLOOP.
      WHEN 2.
        LOOP AT SCREEN.
          IF SCREEN-NAME = 'B_DIS'.
            SCREEN-INVISIBLE = 1.
            MODIFY SCREEN.
          ENDIF.
        ENDLOOP.
        LOOP AT SCREEN.
          IF SCREEN-NAME = 'B_ENA'.
            SCREEN-INVISIBLE = 0.
             MODIFY SCREEN.
          ENDIF.
       ENDLOOP.
    ENDCASE.
    ENDMODULE.                 " CHANGE_SCREEN  OUTPUT
    PROCESS BEFORE OUTPUT.
    MODULE STATUS_2700.
    MODULE CHANGE_SCREEN.     " use this if you want to display one button at a time
    MODULE GET_DATA.
    loop at itab WITH control TBL1.
        MODULE POPULATE_TBL.       " populate tbl ctrl
    endloop.
    PROCESS AFTER INPUT.
    MODULE USER_COMMAND_2700.    " do the sort operations
    loop at itab.
      endloop.
    Hope this helps
    Regards,
    Jayanthi.K

  • Help with Sort sequence and reset preferences

    Hi,
    I have checked the "sort" checkboxes and the "sort sequence" in my first 5 columns of the sql report. The sequence are straight 1,2,3,4,5.
    I have also create two buttons. The first one that will trigger a pl/sql that would execute RESET_USER_PREFERENCES built-in package, and a second button that just submit. The page submit to itself by default.
    It appears that the Reset Preferences does not follow the "sort sequences". Take a look at: http://htmldb.oracle.com/pls/otn/f?p=15031:2:
    Check what happen with the second column OBJECT NAME: I expect to see CUSTOM_AUTH first and then CUSTOM_HASH second once you Reset User Preferences. Interesting is that when I just press the refresh button, then i get what I want, but i think that is just coincidence as there is not guarantee that the data are going to be displayed in that order once you start deleting and inserting in the middle.
    Any help in order to understand the "sort sequences" concept is appreciated.
    Thanks

    Anybody?

  • How to read sort sequence and other properties of a specification in Cg02 .

    hello ,
    i need to update the specification properties in CG02 basing on sort sequence  for hazards and mariane pollutant of a specification.
    do we have any standard Bapi or Fm to read the properties of Specification .
    thanks for your help
    Ananta

    well -
    specifications are rather complicated - there are many tables linked by internal keys. As most of them (and all in the folowing overview) begin with 'EST' I only use the subseqent letters - so table ESTRH is written as RH below.
    Here an -  uncomplete - overview
    Header: RH
    2nd level:
    - RR References
    - RI Identifiers
    - MJ Material Joins
    - VH Valuation Headers (containing field ESTCAT for valuation type)
    3rd level:
    - VA - Valuation (instance - containing sequence number (field ORD - non unique!)
    4th level - data of the valuation:
    - PR Data stored in class system (such as regulation, DG-Class)
    - DU Usage
    - VP Components
    - 0F Transport Classification (containing Hazard Inducers)
    In general you can determine the related table if you look at the technical info at CG02. The structure name will be like
    "RCGxxIOT" where xx stands for the last two letters of the table ESTxx. The structure of interfaces in FUGR C1F5 are defined with a similar pattern: ESPRH_APIxx_TAB_TYPE.
    To read the data, you may use FM C1F5_SPECIFICATIONS_READ  which has sufficient documentation. You may refer to the documentation of obsolete FM C1F2_SUBSTANCES_READ as well.
    A good alternative is  BAPI_BUS1077_GETDETAIL - as this is a BAPI Function it should work after an upgrade while FM of C1F5 migh make some adaption necessary.
    However - it will take some days to understand both - the data model of specifications and the related FMs. I personally would recommend a developer familar with this 1yr+ before asking for implementations that are not only reading data - but they are hard to find....
    have fun!
    hp

  • Unable to insert program lines in event sort begin and sort end

    Hello friends,
    I am developing a smartform where in I have to print subtotal for every currencies. So I am unsing the sort criteria option and giving the WAERS in 'Data' tab of the Table . And I select 'Event on Sort Begin' which creates a node in the tree under the table. And I need to clear the total variable in this event so that for every new currency, the total is reset. But I am unable to create a program lines here. When I right click and under  flow logic, only Loop and Command options are available. I am using ECC 6.0 . Kindly help me in achieving the solution.
    Thanks & regards,
    Ratheesh

    Hi Sripaleshwar,
    I tried that.. I am able to create a program lines when I right click on the table. But it always gets placed outside the table node. When I try to drag it also to under the sort begin event node, it says 'Unable to insert program lines at the selected position'. Basically for my logic to work , it has to execute this program lines when the sort begin event occurs.
    regards,
    ratheesh

  • ITunes 12 sorting artists and albums wrong/out of order

    Hi,
    So I'm using iTunes 12, though this problem occurred with 11 too...
    As you can see in the image, I'm using Mac DeMarco as an example, it happens with selected other artists too. I have two albums of his, yet they don't appear together and there are multiple instances of the artist. Even the albums don't appear together. Both of them have the same "Artist" and "Album Artist" information.
    Here you can see one instance:
    Here's the second instance. Note, the artist appears amongst the "D" artists, after Deftones for some reason, instead of "M" with the other album:
    What is going on? Please help.

    Enable the Sort Artist and Sort Album Artist columns, chances are that the fields have been set inconsistently.
    tt2

  • Artist sort order and TSOP tags

    Can someone please help me understand how tagging and sort orders behave on an iPhone in advance of my buying one.
    I like to browse my music library by artist and, for example, I prefer to have "David Bowie" sort under "B" rather than "D". I believe that the spec for ID3v2.4 tags added the TSOP (Text Sort Order Performer) to over-ride the sorting order. Does the software on the iPhone take notice of the TSOP (or any alternative) tags when browsing by artist so that I can sort in the way I want?
    - Julian

    Sort order can either be set in iTunes or, if tagging using other programs before importing into iTunes, then the correct tags names to add are "Sort Artist" and "Sort Album" which will then be recognised by iTunes.

  • How to access sort direction and filter value of columns?  Can I catch the 'filtered' or 'sorted' event?

    We have some columns being added to a table.  We have set the sortProperty and the filterProperty on each of our columns.
    This allows us to both filter and sort.
    We want to be able to access the columns filter value and sort value after the fact.  Can we access the table and then the columns and then a columns properties to find these two items?  How can I access the sort direction and filter value of columns?
    We would also like to store the filter value and the sort direction, and re-apply them to the grid if they have been set in the past.  How can we dynamically set the filter value and sort direction of a column?
    Can I catch or view the 'filtered' or 'sorted' event?  We would like to look at the event that occurs when someone sorts or filters a column.  Where can I see this event or where can i tie into it, without overwriting the base function?

    Hey everyone,
    Just wanted to share how I implemented this:
    Attach a sort event handler to table - statusReportTable.attachSort(SortEventHandler);
    In this event handler, grab the sort order and sorted column name then set cookies with this info
    function SortEventHandler(eventData)
        var sortOrder = eventData.mParameters.sortOrder;
        var columnName = eventData.mParameters.column.mProperties.sortProperty;
        SetCookie(sortDirectionCookieName, sortOrder, tenYears);
        SetCookie(sortedColumnCookieName, columnName, tenYears);
    Added sortProperty and filterProperty to each column definition:
    sortProperty: "ColName", filterProperty: "ColName",
    When i fill the grid with data, i check my cookies to see if a value exists, and if so we apply this sort:
    function FindAndSortColumnByName(columnName, sortDirection (true or false))
        var columns = sap.ui.getCore().byId('statusReportTable').getColumns();
        var columnCount = columns.length;
        for(var i = 0; i < columnCount; i ++)
            if(columns[i].mProperties.sortProperty == columnName)
                columns[i].sort(sortDirection);

  • Sort sequence changes for batch determination

    Dear pankaj
    my client already using the "batch number" acending order sort method.
    now i have to change to the FEFO concept.
    i have to create new sort sequence in CU70..........?
    because i deleted the existing one in CU71 and enter the FEFO .but it is not working.
    PLEASE GIVE THE HIGH PRIORITY
    regards

    hi pankaj again i am distrubting you
    1)The character and class are already existing for shelf life expiry so i think no need to create again.
    2)my client using class type 22 (MCH1) for FIFO method.now i am using the same class type.
    3) In CU70 i created one new sort sequence by coping the existing one and change the name.
    4) Sort rule is maintaining the plant level.already the are maintain the "0" value in the selection type in MSC1.
    5)In IMG side ,i maintained the strategy type for production and inventory.
    still i have problem.
    for normal goods issue MB1A-261 (based on the manual reservation) .If i put * in batch no column,then it will take the sort sequence.but it is not giving.if i gothough the WITH OUT BATCH view it is giving the all batches by order.
    If i check the batch details of the received batch,it has "INCOMPLETE" status.
    what i have to do?
    please reply me

  • Sort sequence functionality in Batch management

    Hi All,
    I have a doubt in batch management. I am not sure whether it is a basic doubt. But obviously confusing me a lot and I am not able to find appropriate for that.
    In our company, we have two characteristics assigned to the batch class 023. Shelf life expiration date (LOBM_VFDAT) and Manufacturing date (LOBM_HSDAT).
    Our Sort sequence is FIFO.
    Please find the following example given below.
    Material     GR date           SLED               Manufacturing date          Batch
    M1              21.05.2014     21.06.2014        21.05.2014                      0001
    M1              22.05.2014     22.06.2014        20.05.2014                      0002
    As per the above example, when SLED (LOBM_VFDAT) is concerned, batch 0001 will get selected, when Manufacturing date (LOBM_HSDAT) is concerned, batch 0002 will get selected.
    But which particular batch will be copied into the outbound delivery. I am confused how system can sort out based on multiple characteristics.
    Could someone please exlplain the logic behind this.
    Regards,
    Raja Durai

    I assume in your system
    Ascending = TO
    Descending = From
    But, strange to see no material in key combination.
    Whereas, you said
    when SLED (LOBM_VFDAT) is concerned, batch 0001 will get selected, when Manufacturing date (LOBM_HSDAT) is concerned, batch 0002 will get selected
    Frankly, based on above statement I was expecting batch of the key combination. But, that would very tedious task while maintaining individual sort for each batch & material combination. And that is reason I asked you about the key combination.
    Based on screenshot provided, system will consider sort in following sequence:
    1. LOBM_BSDAT
    2. LOBM_VFDAT
    provided you have dependency maintained for SORT in CU71.
    There in dependency editor may be you have logic to control this behaviour, for example
    Thanks, JP

  • Standard and sorted itab

    what is the diff between standard and sorted itab

    Hi Abhay,
    check the following explanation.
    <b>Standard tables</b>
    This is the most appropriate type if you are going to address the individual table entries using the index. Index access is the quickest possible access. You should fill a standard table by appending lines (ABAP APPENDstatement), and read, modify and delete entries by specifying the index (INDEX option with the relevant ABAP command). The access time for a standard table increases in a linear relationship with the number of table entries. If you need key access, standard tables are particularly useful if you can fill and process the table in separate steps. For example, you could fill the table by appending entries, and then sort it. If you use the binary search option (BINARY) with key access, the response time is logarithmically proportional to the number of table entries.
    <b>Sorted tables</b>
    This is the most appropriate type if you need a table which is sorted as you fill it. You fill sorted tables using the INSERTstatement. Entries are inserted according to the sort sequence defined through the table key. Any illegal entries are recognized as soon as you try to add them to the table. The response time for key access is logarithmically proportional to the number of table entries, since the system always uses a binary search. Sorted tables are particularly useful for partially sequential processing in a LOOP if you specify the beginning of the table key in the WHEREcondition.
    Hope this helps.
    Regards,
    kinshuk

  • Sorting sequence of custom nodes

    How can one sort a sequence of custom nodes based on an arbitrary value?
    For example:
    Say you create a custom node of a person with their favorite number:
    var myNode : CustomNode = CustomNode{
        var personName: "John Smith"
        var personFavoriteNumber: 15
    //Create a sequence of CustomNode with different names and favorite numbers
    var customNodeSequence : CustomNode[] = .....My question is, how can you sort the sequence based off 'personName' (Alphabetically) or by their favorite number 'personFavoriteNumber' sequentially?
    I was reading [this article|http://blogs.sun.com/michaelheinrichs/entry/creating_javafx_sequences_in_java] and I'm curious to know more about this when he mentions the following:
    sort - Creates a new sequence by sorting the elements of a given sequence. The order can be induced either by the natural order of the elements, if they implement java.util.Comparable, or by providing a java.util.Comparator of the elements.+
    I believe it's related to [this thread|http://forums.sun.com/thread.jspa?threadID=5330227&tstart=31] , but I'm trying to figure out how to actually compare a custom node's variable with that of another. I'm not entirely sure how the comparator illustrated in this thread works.

    Found a solution.
    Here's a reference page: click
    var sortSeq = Sequences.sort(customNodeSequence , Comparator{
            public override function compare(o1 : Object, o2 : Object) : Integer{
                (o1 as CustomNode).personName.toLowerCase().compareTo((o2 as CustomNode).toLowerCase().personName);
    var customNodeSequenceSorted = (sortSeq as CustomNode[]); //sortSeq returns as object[], so you may have to type cast if you explicitly casted the destination sequence somewhere else

  • Report not initially sorted as defined by Report Attributes "Sort Sequence"

    I have a Report Region with Type SQL Query and Source "SELECT * FROM <table>" where <table> has a primary key from a sequence. Under Report Attributes, I have Report Column "ST_NM" with Show and Sort checked and having a Sort Sequence of "1". I assume this is to set the iniital display sequence but regardless, the report rows display in Primary key order initially.
    To try it: http://apex.oracle.com/pls/apex/f?p=21997:2 with Dever/Ima9Dever
    1) How do I set the initial display sequence to be other than the primary key sequence?
    [Note: It seems to work part (or all?) of the time under our 4.1 implementation.]
    Thanks,
    Howard
    I thought this one would be easy!

    Howard (DBA in Training) wrote:
    I have a Report Region with Type SQL Query and Source "SELECT * FROM <table>" where <table> has a primary key from a sequence. Under Report Attributes, I have Report Column "ST_NM" with Show and Sort checked and having a Sort Sequence of "1". I assume this is to set the iniital display sequence but regardless, the report rows display in Primary key order initially.
    To try it: http://apex.oracle.com/pls/apex/f?p=21997:2 with Dever/Ima9Dever
    1) How do I set the initial display sequence to be other than the primary key sequence?
    [Note: It seems to work part (or all?) of the time under our 4.1 implementation.]Standard reports store sort columns persistently across sessions as user preferences. It's likely that Dever user has at some point clicked to sort on the PK column and created a persistent preference. Try it with a new user that has never viewed the page before...
    See +{thread:id=2433320}+ for more on this, including how to reset it.

Maybe you are looking for

  • Error message when trying to back up

    Just bought a new firewire drive, since it appeared my old one had less room on it than my HD, and partitioned it into two 150 gig partitions. When trying to use Retrospect to duplicate my HD, I get an error -116 (size check failed), and "scanning in

  • Crystal form for SO, Invoice, PO, AP

    Not sure where I should save the Crystal forms for SO, Invoice, PO, AP invoice ...etc for users to access it to print easily?  I will test in my B1 since I did not install Crystal 2008 to client B1 yet.

  • Where to Download WebLogic Portal Demo ?

    Can anyone give me a hint where I can download the Portal Demo for WebLogic Server. It does not come with the download of the WebLogic server. Thanks in advance. Jack

  • How do you resolve the computer error message "ipod software update server could not be contacted"

    I am trying to restore my ipod touch but when I go to restore I get the error message "ipod software update server could not be contacted"  What do i do?

  • Installing Application Express

    hi all, I followed the instructions of installing Oracle Application Express on Oracle DB 10g R2 for Windows 2003. When I reached to the following step: @htmldbins password sysaux sysaux temp /i/ it prompted me the following on the command line: ente