Sorting functionality for originals checked-in through cv01n

Hello All,
I would like to know whether there is a possiblity of sorting descriptions of multiple original files check-in to the same DIR using CV01n.

Hi,
unfortunatly there is not such sorting functionality in CV01N or CV02N for the attached originals.
The sequence of the originals depends on the sequence in which they were added. So if you add an originals it receives a special application number (ORIGINALTYPE). According to this number the originals are sorted.
Maybe you can try to edit this 'ORIGINALTYPE' number by using BAPI_DOCUMENT_CHANGE2. First you should execute BAPI_DOCUMENT_GETDETAIL2 to receive all document related information. In table 'DOCUMENTFILES' you will also find the field 'ORIGINALTYPE' and its values.
This data can then be handed over to CHANGE2 BAPI and you should be able to modify the application numbers and so the way of sorting.
After this change please use the BAPI_TRANSACTION_COMMIT to realise the changes also on the database.
However please note that this is just a proposal and I have no confirmation if this will work.
Best regards,
Christoph

Similar Messages

  • Implementing sort functionality for Z fields in inbox items

    Hi all,
    i have a requirement where i got to add a Z-field in the "Sort by" as well as "Then Sort by" dropdown in the inbox search. I have managed to add the item, nevertheless, i am unable to implement the sort functionality for the same.
    Can someone help?
    Is there anyways of making this simple?
    Thanks in advance,
    Nisha

    Hi  Jason,
    thank you very much with the note 1388298 our
    Z-fields on the web-dynpro for "Item Basic Data"  are visible now.
    We have also Z-fields for "Account Assignment".
    This fields are still not available.
    Is it also possible to add these fields with component configuration?
    I haven't found anything in the oss.
    You will get 10 points because my original question has been answered.
    Thanks in advance for your help!!
    Kind Regards
    Stefan

  • Sort function for Iphone??

    I was so glad today when I received the latest update containing the function to sort playlists only to find out it only applied to Ipad.
    Why is it so hard to get this function for Iphone? 
    Has anybody heard of when the sorting function will be released for Iphone?

    I saw that! Amazing!
    I can't believe it took so long. Kind of disrespecfulnto call it a "small change" in the change notes. If it was that small, why irritate a whole community by not applying it sooner?
    Now you/they just have to work on it remembering the chosen sorting when leaving and reselecting a playlist. As of now sorting goes back to default if you leave a playlist.

  • Function for syntax check on the repository objects

    Hi Experts,
         Can anyone help me in finding out the function module used to do syntax check on Repository objects(PRograms/Smartforms/FUnction Modules...etc.,)
    Regards
    Arif Shaik

    >
    a.shaik wrote:
    > I hope I have sent the query on the ABAP forum itself
    You have posted the query on SAP PI/ XI forum....ABAP forum is different: ABAP Development
    Regards,
    Abhishek.

  • SORT functionality for list of fields

    Hi all,
    I dont have a table control in which I have the custom fields.The custom fields are placed in a subscreen within acustom tab in standard screen in tcode VL31N. as shown below:
    Plant:
    Carrier:
    Bill of lading:
    Packaging list:
    Damage
    Now below these 5 fields ,I need to display the 2 SORT buttons/icons to change the display in ASCENDING OR DESCENDING order.
    How do i do this???Is there any std FM ?

    I Dont think its possible dynamically, but you can have 2 normal screens which will be called to subscreen based on the user action (button 1 - First screen & Button 2 - Second screen). you can try with MODIF ID too.

  • Sort up down icon missing after implementing sort functionality

    Hi,
    I have implemented sort functionality for a table, and it is working fine, but there is no sortable icon available on the table column.
    The icon with the up/down arrow is missing. Once the sorting is over, the sorted icon apears on the screen. But the up/down sort icon should appear on the column header so that it is intutive and people know that the table columns are sortable.
    What am i doing wrong ? How can I get the icon ?
    Thank you.
    Warm regards,
    Ashish

    This is really important, The sort functionality is working fine but the up and down arrow icon is missing on the table.
    Does anyone know how I can enable this icon ?

  • Dreamweaver - Search et sort function

    I would like to know howcréeate a simple search and sort
    function : for example, I would like customers to find
    "Appartements" in "Rome" "price beetween 100 000 and 200 000
    €" ? I would like the list of answers to be sort
    automatically. Could somebody help me ? Thanks.
    Bonjour, je cherche comment créer, sur Dreamweaver, un
    menu de recherche mutli-critères qui permette à
    l'utilisateur de sélectionner via des menus déroulants
    et/ou des cases à cocher, des requêtes telles que
    "Appartements" à "Rome" "prix entre 100 000 et 200 000
    €". Je souhaite que le résultat (en liste par ex.) soit
    trié automatiquement. Merci pour votre réponse.

    You would have to do this with your server scripting. While
    DW can help you
    establish your data connection, and place that data on the
    page once you
    have retrieved it from the database, the searching and
    sorting would need to
    be handled in the SQL query that retrieves this data.
    Murray --- ICQ 71997575
    Adobe Community Expert
    (If you *MUST* email me, don't LAUGH when you do so!)
    ==================
    http://www.projectseven.com/go
    - DW FAQs, Tutorials & Resources
    http://www.dwfaq.com - DW FAQs,
    Tutorials & Resources
    ==================
    "bledH" <[email protected]> wrote in message
    news:g8mbgk$ism$[email protected]..
    >I would like to know howcr?eate a simple search and sort
    function : for
    > example, I would like customers to find "Appartements"
    in "Rome" "price
    > beetween 100 000 and 200 000 ?" ? I would like the list
    of answers to be
    > sort
    > automatically. Could somebody help me ? Thanks.
    >
    > Bonjour, je cherche comment cr?er, sur Dreamweaver, un
    menu de recherche
    > mutli-crit?res qui permette ? l'utilisateur de
    s?lectionner via des menus
    > d?roulants et/ou des cases ? cocher, des requ?tes telles
    que
    > "Appartements" ?
    > "Rome" "prix entre 100 000 et 200 000 ?". Je souhaite
    que le r?sultat (en
    > liste
    > par ex.) soit tri? automatiquement. Merci pour votre
    r?ponse.
    >

  • MM-Check Double Invoice functionality for Vendor Invoices

    Dear All,
    How Check Double Invoice functionality for Vendor Invoices can be implemented in SAP?
    We have implemented Check double invoice with the standara sttings for it however if i give my referenece text differently it will aloow me to post double invoices and against vendor open items are shown for payment?
    Is there any other efficient way to do it?
    Thanks and Regards
    Shrinivas

    dear SAPian friend,
    go through the below link and you will find the solution with the screenshots.
    http://sapfunctional.com/MM/Duplicate/Invoices.htm
    U can also do the setting using the SPRO t-code:-
    path is
    >>SPRO
    >>SAP Reference IMG
    >>Materials Management
    >>Logistics Invoice Verification
    >>Incoming Invoice
    >>Set check for duplicate invoices

  • Function module for Budget check?

    Hi,
    I'm wondering if there is a BAPI/function module to check if budget is available on the WBS for a PO item whose price/quantity is changed through a custom transaction.
    I've tried BAPI_ACC_PURCHASE_ORDER_CHECK, but it doesnt seem to work.
    Thanks,
    Sudha

    Hi Aveek,
    Method check of BUS6008 is BAPI_ACC_PURCHASE_ORDER_CHECK, the one I mention above. It seems to check all components of the PO, except for the WBS.
    Thanks for your help.
    Sudha

  • Lower_bound(), upper_bound() functions for sorted containers

    I can't find lower_bound(), upper_bound() functions for sorted containers in the java library. It doesn't seem to be there in the apache commons either.
    i'm referring here to the meaning as defined in STL (C++) as in:
    http://www.cplusplus.com/reference/algorithm/lower_bound/
    http://www.cplusplus.com/reference/algorithm/upper_bound/
    These functions are extremely useful for range lookups. Why is this not readily available in the java libraries?

    How I would write the Java code for the problem you stated on the blog:
    import java.util.Arrays;
    import java.util.NavigableMap;
    import java.util.TreeMap;
    import java.util.Map.Entry;
    public class TestNavigable {
        public static void main(String[] args) {
            NavigableMap<Integer, Integer> map = new TreeMap<Integer, Integer>();
            map.put(10, 100);
            map.put(25, 212);
            map.put(30, 212);
            map.put(200, 400);
            for (int check : new int[] { -1, 0, 5, 11, 26, 30, 100, 400 }) {
                Entry<Integer, Integer> upper = map.ceilingEntry(check);
                if (upper != null) {
                    Integer lower = map.lowerKey(upper.getKey());
                    if(lower == null) {
                        System.out.println(check + " falls into range up to "
                                + upper.getKey() + " and maps to " + upper.getValue());
                    else {
                        System.out.println(check + " falls into range <" + lower + ", "
                                + upper.getKey() + "] and maps to " + upper.getValue());
                else {
                    System.out.println(check + " is out of range!");
            // if you want to use arrays for other reasons
            // note: would require to keep keys/values in sync if not sorted
            int[] keys = { 10, 25, 30, 200 };
            int[] values = { 100, 212, 212, 400 };
            for (int check : new int[] { -1, 0, 5, 11, 26, 30, 100, 400 }) {
                int index = Arrays.binarySearch(keys, check);
                if(index < 0) {
                    index = -(index + 1);
                // good enough if no duplicate elements in keys
                // see binarySearch javadoc
                int lower = index - 1;
                int upper = index;
                if (upper < values.length) {
                    if(lower == -1) {
                        System.out.println(check + " falls into range up to "
                                + keys[upper] + " and maps to " + values[upper]);
                    else {
                        System.out.println(check + " falls into range <" + keys[lower] + ", "
                                + keys[upper] + "] and maps to " + values[upper]);
                else {
                    System.out.println(check + " is out of range!");
    }I'm too spoiled to write a binary search like you did ;-).

  • Configuring double invoice check for vendor invoices posted through FB60

    Dear all
    Can anyone tell me how to configure double invoice check for vendor invoices posted through FB60.
    for miro documents..we can use Tcode OMRDC
    Is there any such tcode which can be used for configuring fi invoices for double checking..
    regards
    Expertia

    Dear Expertia,
    In FI,when checking for duplicated invoices, the system compares the
    following :Vendor, currency, company code, gross amount of the invoice,
    reference document number and Invoice document date.
    SAP Note 305201 clarifies this in a more details; please read it.
    The following fields must be identical for Duplicate invoice check
         Company code                              (BUKRS)
         Vendor number                             (LIFNR)
         Currency                                  (WAERS)
         Reference number                          (XBLNR)
         Amount in document currency               (WRBTR)
         Document date                             (BLDAT)
    If the document is having any one of the above filed different then the
    system does not consider it as a duplicate invoice.
    Also It will check duplicate invoice check in vendor master data and
    in posting key is there check box selected for sales related
    The setting you making in OMRDC i.e Materials management->Logistics
    Invoice Verification->Incoming Invoice ->Set Check for Duplicate
    Invoices is only valid for MM and not  FI invoices posted via FB60/FB65
    You should check the F1 help on field "Chk double inv." (LFB1-REPRF)
    in the relevant vendor master record (transaction FK03).
    Please also check, that message F5 117 has been set correctly in the
    IMG using this path:
    Financial Accounting -> Financial Accounting Global Settings ->
    Document -> Default Values for Document Processing -> Change Message
    Control for Document Control For Document Processing
    Finally & mainly, go to the relevant posting key is defined as sales
    related in transaction OB41. You have to flag this field if the
    duplicate invoice check should work.
    I hope this helps You.
    mauri

  • How to use Spell-check functionality for textbox (like Orkut, gtalk)

    How to use Spell-check functionality for tex Hello Friends,
    I am working on a JSP application. I wanted to add Spell check for text box like we have here, when we post a message. It automatically shows red line under the word, when ever spelling is wrong. Please tell me how I can do this. If possible, the code too.
    Thanks.

    I believe the spell checking you see here, or on any other site, is the spell checking built into Firefox. At least that's what I see. Are you using Firefox?

  • Sorting a Collection with dynamic columns using a custom compare function for multiple columns

    I need help and ideas on how to sort a ListCollectionView.  My problem is complicated by 3 requirements-
         1. The column values contain HTML tags that needs to be removed before sorting (use custom compareFunction to strip HTML)
         2. The columns are dynamic, so dataField names are not known at compile time (need a single compareFunction for all columns)
         3. The data is used in an AdvancedDataGrid so multi-column sorting is required
    I have figured out how to solve any 2 of the 3 requirements.  However, I am having difficulties supporting all 3 requirements.
    Any help or ideas would be greatly appreciated.  Thanks.

    After playing with this some more I think I've figured out a solution.  This seems to work in initial testing.  Also, there is not a need to capture the current sort column in the headerRelease event which many offered solutions suggested.  Another benefit to this solution is that keyboard initiated sorting is handled also.  Whereas the headerRelease event is only triggered by a mouse click on the column header and special handling is required if the user uses the keyboard to access the column header.
    One point that I don't understand is how ascending/decending order is determined.  Behavior seems to be different between a single SortField versus multiple SortFields.  Notice how the compareResults are handled for the different situations.  Anyone out there know why???
     private function colSortCompareFunction(obj1:Object, obj2:Object, fields:Array = null):int{
         var compareResults:int = 0; 
         var newObj1:Object = new Object(); 
         var newObj2:Object = new Object();
          // should not be a condition that is met   
         if (_dataProviderDetails.sort.fields == null)     {
              var s:Sort = new Sort(); 
              var f:Function = s.compareFunction; 
              return f.call(null, obj1, obj2, fields);     }
         // when a single column is selected for sorting   
         else if (_dataProviderDetails.sort.fields.length == 1)     {
              var firstFld:SortField = _dataProviderDetails.sort.fields[0];
              newObj1[firstFld.name] = stripHTML(obj1[firstFld.name]as String);          newObj2[firstFld.name] = stripHTML(obj2[firstFld.name]
    as String);
              compareResults = ObjectUtil.compare(newObj1[firstFld.name], newObj2[firstFld.name]);
               return compareResults;     }
         // when multiple columns are selected for sorting   
         else       {
              for each (var fld:SortField in _dataProviderDetails.sort.fields)          {
                   newObj1[fld.name] = stripHTML(obj1[fld.name]
    as String);               newObj2[fld.name] = stripHTML(obj2[fld.name]
    as String);
                   compareResults = ObjectUtil.compare(newObj1[fld.name], newObj2[fld.name]);
                    if (compareResults != 0)               {
                        if (fld.descending)                    {
                             return compareResults * -1;                    }
                        else                      {
                             return compareResults;                    }
               return compareResults;     }
    Does anyone see any problems with this solution?
    NOTE:  stripHTML(String) is a simple function using regular expression to remove HTML tags.
    Thx

  • Cannon 8800F not working with OS X yosemite 10.10.1  . I have downloaded the latest drivers and firmware from Canon. I called Canon for support and went through all the checks , but, still my iMac did not see the scanner. Any new ideas?

    cannon 8800F not working with OS X yosemite 10.10.1  . I have downloaded the latest drivers and firmware from Canon. I called Canon for support and went through all the checks , but, still my iMac did not see the scanner. Any new ideas?

    Have you done any of the following?
    http://support.apple.com/kb/PH18614 OS X Yosemite: Reset the printing system
    Repaired permissions & restarted your comp after the installations of the drivers?
    Sometimes, installing the GIMP drivers help with printing issues: http://gimp-print.sourceforge.net/MacOSX.php
    What to do when you can't print
    =============
    not working with OS X yosemite 10.10.1
    Per your profile
    Mac OS X (10.7.3)
    Conflicting info:  Please update/correct your profile so that you can receive the correct troubleshooting suggestions.  This will assist the users in trying to help you.  Thank you.

  • [svn] 2260: Fix for version checking code not always detecting calls to newer functions .

    Revision: 2260
    Author: [email protected]
    Date: 2008-06-26 12:42:39 -0700 (Thu, 26 Jun 2008)
    Log Message:
    Fix for version checking code not always detecting calls to newer functions.
    flex checkintests pass
    Modified Paths:
    flex/sdk/trunk/modules/asc/src/java/macromedia/asc/semantics/ConstantEvaluator.java
    flex/sdk/trunk/modules/asc/src/java/macromedia/asc/semantics/ReferenceValue.java

    Revision: 2260
    Author: [email protected]
    Date: 2008-06-26 12:42:39 -0700 (Thu, 26 Jun 2008)
    Log Message:
    Fix for version checking code not always detecting calls to newer functions.
    flex checkintests pass
    Modified Paths:
    flex/sdk/trunk/modules/asc/src/java/macromedia/asc/semantics/ConstantEvaluator.java
    flex/sdk/trunk/modules/asc/src/java/macromedia/asc/semantics/ReferenceValue.java

Maybe you are looking for