Custom Record Sort?

I have a field that is a "String" and I need to sort it a special way.  The data contains both numbers and words, and when I sort it using the record sort expert.  I get the numbers to show up, then the words show up after all the number records have displayed.
I need to be able to put the word values in A-Z to display first.  Then I will need to display the number values after all of the word values; and sort the numbers 1-9.
So restating my question: I need to see words values first, and when all of those records have been sorted.  I will need to see the numbers start to sort below the word values.  This is all in the same field.
How would I go about doing something like this?

I took some of Brian's advice and here is what I did incase someone stumbles apon this problem in the future.
I created the following formula...
//Words start now
if {PYPCL.CLCY} = "DSDGW" then
"DSDGW" else
if {PYPCL.CLCY} = "DSDRF" then
"DSDRF" else
if {PYPCL.CLCY} = "DSDRT" then
"DSDRT" else
if {PYPCL.CLCY} = "SALBW" then
"SALBW" else
//Numbers start now
if {PYPCL.CLCY} = "178WK" then
"Z1" else
if {PYPCL.CLCY} = "337WK" then
"Z2" else
if {PYPCL.CLCY} = "342WK" then
"Z3" else
if {PYPCL.CLCY} = "343WK" then
"Z4" else
if {PYPCL.CLCY} = "344WK" then
"Z5" else
if {PYPCL.CLCY} = "481WK" then
"Z6" else
if {PYPCL.CLCY} = "497WK" then
"Z7" else
if {PYPCL.CLCY} = "549WK" then
"Z8"
Then I went into the record sort expert and sorted this newly created formula in ASC order.
Then on the actual report I dragged the field from the database and NOT the formula.  The formula works with the database field for sorting purposes only and doesn't need to be on the actual report to work.

Similar Messages

  • Best Way To merge Customer Records

    Hi community,
    What is the best way to merge customer records for the same operson but may have used different email ids to correspond with BC Website

    Not in BC no. You would need to export a custom report, sort that in excel and then form that into the customer import it back in or create some API that goes through and cleans that up.

  • Custom report sorting

    Custom report sorting
    I need to display the report column header in vertical format, hence I’ve to use to use some css code along with column name for that. Also, I want this column to be sorted by clicking the column name. So, I’m embedding the following url along with css and column name to enable sorting on this column when user clicks the column header. I got the following url by looking at the standard report with sorting enabled on a column.
    http://test.com:7777/pls/htmldb/f?p=100:22:&APP_SESSION:fsp_sort_1::RP&fsp_region_id=1870116795285540
    My questions are …
    How can I toggle the url to append “_desc” to the fsp_sort_1 parameter dynamically when the user clicks the column name, as it is done when standard column sorting is selected.?
    How can pass region id dynamically in the above url (last number in the url)?
    Any ideas are appreciated
    Thanks,
    Surya

    hi pavan
    i can just tell you that i had no issues with custom column sorting in webi with Enterprise XI 3.0 and Xcelsius 2008.
    Best Regards
    Ulrich

  • FBL5N Customer Namewise Sorting Needed

    Dear Friends,
                  In FBL5n , now Customer Codewise Sorting is coming. My Requirment is Customer Namewise Sorting.
    both Customer Number and Name are in Header Level.

    HEllo!
    Please, read my explanation below:
    The field NAME1 is not included in the tables BSEG and BSID/BSAD or in     
    the structures RFPOS and RFPOSX. Therefore, you will not be able to add    
    NAME1 to the line item display in FBL5N as a standard field or as a        
    special field (note 215798).                                                                               
    But, there is a workaround for this.                                                                               
    If you need NAME1 to be shown in the Line Item Display then you need to    
    add the field to the structures RFPOS and RFPOSX.                                                                               
    When the structure has been extended with the field then you need to       
    run the reports RFPOSXEXTEND and BALVBUFDEL (in the same way as seen in    
    the solution part in note 215798).                                                                               
    After that you need to use the Open FI Exit 1650 to fill the fields. You   
    will find a function group FI_ITEMS from transaction SE80. In this func- 
    tion group you will find a function module FI_ITEMS_DISPLAY where the    
    form ITEMS_DISPLAY_INIT includes the exits 1610 to 1650. The important   
    one for your problem is 1650 (OPEN_FI_PERFORM_00001650_E).                                                                               
    This exit is used if you want to display fields in e.g. FBL5N which      
    does not exist in the tables BSID/BSAD and also not in the customer      
    line item in BSEG.                                                                               
    Through this user exit it should be possible to get the value from the   
    relevant tables e.g. from other customer tables into structure RFPOSXEXT 
    if there is a relation between the relevant tables e.g. KNA1 to RFPOSX/  
    BSID.                                                                               
    Please also have a look at notes 112312 and 217189.
    I hope this information clarifies your query ;D !
    Regards,
    REnan

  • Mass Maintenance will recognize any customer record in workflow process

    Hi gurus,
    Please help me on the Workflow process, how to handle below workflow  scenario,  is there any logic be hand this.
    please see in BOLD workflow issue.
    1.2     As-Is Business Process
    Currently Data Maintenance teams use standard SAP transaction XD07 to change Customer Account Groups. The standard transaction XD07 allows only one Customer Account Group to be changed at a time. The process is to be manually repeated for every customer. After the Account Group is changes in the request client (X07(10)), an RFC call is made to the BOR client (X07(20)) and then to the transaction client  (X08(10)) to change the Customer Account Group as the SAP ALE process does not support Account Group Changesu2026
    1.3     To-Be Business Process
    From time to time, bulk customer data updates will be needed. This can be the result of business situations that cause multiple updates to be performed for given customer fields such as Customer Account Group field. A new program must be developed to let the user mass update the Customer Account Group field (KNA1-KTOKD). The Program should be accessed on demand using a new T.Code (YMDM_ACCTGRP_CHG).
    Business users will submit a spreadsheet in the appropriate upload format to CDM along with written approval from the Food Service data owner to execute the upload in P07. CDM will execute the upload, record all documentation for the audit change log and notify the submitter when complete
    1.4     To-Be Business Process Flow Diagram
    1.5     Enhancement Functionality
    The following are the requirements:
    u2022     This tool will enable a user to perform bulk update to the customer account group field.
    u2022     The utility should let the user upload a u201CTab delimitedu201D file to mass update the Account Group field.
    u2022     The Load File will have 3 columns, Customer Number (KNA1-KUNNR), Current Account Group (KNA1-KTOKD) and New Account Group (KNA1-KTOKD).
    u2022     The Program must utilize the process behind the standard SAP transaction XD07 to change customer Account Groups in X07(10).
    u2022     The standard customer ALE (DEBMAS) process does not support Customer Account Group changes, so the mass change program must use the RFC functionality to change he Account Groups in the BOR (X07(20)) and Transaction system (X08(10)).
    u2022     Workflows for all updates performed using this T.Code are automatically approved.  No manual approval steps will be needed after data load.
    u2022     Mass Maintenance will recognize any customer record that has an open workflow. If a customer record is already in the request queue, it is u201Coff limitsu201D for any bulk update. That update request to that particular customer record must be rejected.
    u2022     Provide the option to run the process in validation mode and update mode.
    u2022     Report all hard and soft legacy field errors on a validation report.  All u201Chardu201D legacy field validations should be passed before allowing update mode to run.
    u2022     The upload process will produce an error log for all records not loaded into the system.

    see newer message. Problem appears to be related to gmail

  • How to restrict customer records being displayed using 'sales_channel_type' criteria in customer search form at 11g?

    OS: Linux
    DB: 11.2.0.3
    ERP: 11g
    Hi There,
         I would like to create a new custom responsibility, which the responsibility is having access to Standard Customer Form (ARXCUDCI.fmb) , but I would like to make a restriction in the customer search form is that, everytime the responsibility user search by customer number, customer name, party name or what ever search field, I would like to limit to restrict further of searching criteria where SALES_CHANNEL_TYPE = 'RTL' is allowed to populate the customer records, there rest of customer records are not allowed to search out.
        This SALES_CHANNEL_TYPE column is from HZ_CUST_ACCOUNTS table.
        I have tried the Form Personalization already, but the customer searching form has too many fields for user to search, therefore form personalization will be putting all over the places in the form. Therefore I saw others recommended of doing "Custom DLL"...may I know for my scenario, how to I go about Customer DLL? or any other more effective solution?
       Appreciate if anyone can share your experience related to matter above.
    Regards,
    Lygine

    Hi Lygine,
    The personalization i sent you works in this way:
    -It does not matter which field you choose to enter the query.
    -If a record is found, when the form opens and the cursor hits the Customer Name field, the personalization looks for the content of the Sales Channel field.
    -If the content of this field is different from the 'RTL' string, the form Customers form (ARXCUDCI) is cleared.
    Independently from the field you fill to perform the query, is a record is found, the Customer Name field is the first the cursor hits when the form is opened.
    Octavio

  • Customizing the sort order of a field

    Hi,
    I would like to sort the order of a group on values within a field rather than in eg. ascending order
    eg.
    I would like to sort the group by values in the Status field, so if the Status values are 'Open', 'Closed', 'Unresolvable' then I would like to order the data by
    Status: Open
    Status: Unresolveable
    Status: Closed
    How would I do this?
    Thanks

    Yes,
    We can do it
    http://winrichman.blogspot.com/2009/09/custom-dynamic-sort-in-bi-publisher.html
    <?sort:(number(status='Open') * 1) + (number(status='Unresolveable') * 2) + (number(status='Closed') * 3);'ascending';data-type='number'?>Put this after the for-each statement
    do change the status to the element name in you xml.

  • Failed to fetch a list of all custom record types

    Hi,
    I tried to fetch a list of all custom record types. I tried with below piece of code, but failed with below error message. Can anybody help me to resolve this issue:
    CustomRecordTypeReadAll_Input cusRecTypeAllIn = new CustomRecordTypeReadAll_Input();
    CustomRecordTypeServiceProxy proxy = new CustomRecordTypeServiceProxy(endpoint);
                   CustomRecordTypeReadAll_Output out = proxy.customRecordTypeReadAll(cusRecTypeAllIn);
    Detail error message:
    AxisFault
    faultCode: {http://xml.apache.org/axis/}HTTP
    faultSubcode:
    faultString: (400)Bad Request
    faultActor:
    faultNode:
    faultDetail:
         {}:return code: 400
    &lt;?xml version=&quot;1.0&quot; encoding=&quot;UTF-8&quot;?&gt;&lt;soap:Envelope xmlns:soap=&quot;http://schemas.xmlsoap.org/soap/envelope/&quot;&gt;&lt;soap:Body&gt;&lt;soap:Fault&gt;&lt;faultcode&gt;soap:Client&lt;/faultcode&gt;&lt;faultstring&gt;Client&lt;/faultstring&gt;&lt;detail&gt;&lt;ErrorCode&gt;SBL-ODU-01007&lt;/ErrorCode&gt;&lt;ErrorMessage&gt;The HTTP request did not contain a valid SOAPAction header. The value of the header was &amp;quot;document/urn:crmondemand/ws/odesabs/CustomRecordType/:CustomRecordTypeReadAll&amp;quot;&lt;/ErrorMessage&gt;&lt;/detail&gt;&lt;/soap:Fault&gt;&lt;/soap:Body&gt;&lt;/soap:Envelope&gt;
         {http://xml.apache.org/axis/}HttpErrorCode:400
    (400)Bad Request
    //////////////////////////////////////////////////////////////////////////////////

    Thank you very much for valuable reply.
    I am now using WS-Security to include credentials in request. I have also ensured that "Customization - Customize Application" setting is enable for my OCOD account. But now, i am getting following exception:
    java.lang.IllegalArgumentException: faultCode argument for createFault was passed NULL at com.sun.xml.internal.messaging.saaj.soap.ver1_1.SOAPFactory1_1Impl.createFault(SOAPFactory1_1Impl.java:55)
         at com.sun.xml.internal.ws.fault.SOAP11Fault.getProtocolException(SOAP11Fault.java:169)
         at com.sun.xml.internal.ws.fault.SOAPFaultBuilder.createException(SOAPFaultBuilder.java:111)
         at com.sun.xml.internal.ws.client.sei.SyncMethodHandler.invoke(SyncMethodHandler.java:108)
         at com.sun.xml.internal.ws.client.sei.SyncMethodHandler.invoke(SyncMethodHandler.java:78)
         at com.sun.xml.internal.ws.client.sei.SEIStub.invoke(SEIStub.java:107)
         at $Proxy28.customRecordTypeRead(Unknown Source)
         at Main.main(Main.java:75)
    I have also tried customRecordTypeReadAll API butgetting the same exception.
    Can you please suggest me what can be the reason behind above exception?
    For reference: The complete SOAP request message:
    <S:Envelope xmlns:S="http://schemas.xmlsoap.org/soap/envelope/">
    <S:Header>
    <wsse:Security xmlns:wsse="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd" S:mustUnderstand="1">
    <wsse:UsernameToken xmlns:wsu="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd" wsu:Id="XWSSGID-1298986875153522346527">
    <wsse:Username>myusername</wsse:Username>
    <wsse:Password Type="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-username-token-profile-1.0#PasswordText">mypassword</wsse:Password>
    <wsse:Nonce EncodingType="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-soap-message-security-1.0#Base64Binary">pRkWQ9ZcOrJngcGijmok0skB</wsse:Nonce><wsu:Created>2011-03-01T13:43:19.669Z</wsu:Created></wsse:UsernameToken></wsse:Security></S:Header><S:Body><ns2:CustomRecordTypeRead_Input xmlns="urn:/crmondemand/xml/customrecordtype/data" xmlns:ns2="urn:crmondemand/ws/odesabs/customrecordtype/" xmlns:ns3="urn:/crmondemand/xml/customrecordtype/query">
    <ns3:CustomRecordType>
    <ns3:Name>Custom Object 01</ns3:Name>
    <ns3:SingularName>TestCustom</ns3:SingularName>
    <ns3:PluralName>TestCustom</ns3:PluralName>
    <ns3:ShortName>TestCustom</ns3:ShortName>
    </ns3:CustomRecordType>
    </ns2:CustomRecordTypeRead_Input>
    </S:Body>
    </S:Envelope>
    Thanks
    Ravish
    Edited by: 833189 on Mar 1, 2011 6:02 AM

  • BAPI to create customer records (XD03)

    Hi
    I've seen some similar threads to this but I'm not sure the question is fully answered yet.
    Is there a single, or are there multiple BAPI's available that will fully create a customer master record, by which I mean all the company code data as well as te Sales area data?  I am aware of the BAPI_CUSTOMER_CREATEFROMDATA1, but this doesn't appear to meet the full requirement.  Also I'm slightly alarmed by the 'Only for ONLINE Store!!!' comment in the documentation.
    Previous posts on this forum and on others suggest that to fully create a customer record people have had to resort to writing their own BDC programs.  Is there anyone who can confirm that this is the case?
    Thanks for your help.
    Dominic

    Hi
    Thanks for the welcome and the advice.
    While researching this further I came across SAP note 390045 which is directing me away from using the BAPI route.  I realise now that I didn't mention in the original post that the idea we're investigating is having the data for the customer accounts created externally to SAP and then call a BAPI to create the account in SAP.
    I suspect we could achieve this but it's getting a bit messy so ALE might be the better option.
    Thanks,
    Dominic.

  • Save Custom Recording options as a set?

    I thought from reading about the features in Captivate 2 that
    I could save my own sets of custom recording options. Every time I
    change files, I have to set up my custom recording options again.
    It would save me time if I could save these as custom sets and be
    able to choose them in the Record dialog. Is this possible?
    Thanks,
    Aaron

    Well, obviously there is not an option in the recording
    dialog. I was kinda hoping there might be an XML or INI file in the
    program folder I could modify to add some custom recording sets. I
    dug around in the folder but it doesn't look like this is possible.
    I went ahead and submitted a feature request.
    Thanks,
    Aaron

  • Identifying a change in customer record

    Hi All
    Is there a way to Identify that a change was made (one or more) in customer record ?
    I know there are lots of different ways to change a customer record
    and probably a lot of User Exit that gets fired up.
    However I'm looking for a way to get an indication that a change has occured for all of the different possibilities.
    Thanks
    Ziv.

    >
    Ziv Katz wrote:
    I already know of the tables. They help a lot but it's not enough for my specific requirenments.
    And what are those specific requirements? BTW the answer from Hans covers all requirements (except the direct table changes, but those are another story...).

  • How many customer records will Business Catalyst CRM hold? Thank you!

    How many customer records will Business Catalyst CRM hold? Thank you!

    Hi,
    To what I'm aware is that there no limit set as such and never had any issues earlier with the limit for CRM customers.
    Please let us know for any issues that you face doing so submitting a ticket via Help & Support button on your Admin console.
    Kind Regards,

  • Record Sort

    I have a report with 3 groups
    Group 1
    Group 2
    Group 3
                 details
    I need the detail section to sort by a date field.
    When I open the Record Sort Expert the sort fields listed are (in order) like this:
    Group #1 mytable.myfield-A
    Group # 2 mytable.myfield-A
    Group #3 mytable.myfield-A
    A-@Ending Date
    This appears to be correct to me, but the dates do not sort in order, whether I select Ascending or Descending.
    Am I missing something, or does the 3 groups throw off the sort order in the details section?

    Thanks Graham
    For some reason, after I added the date field to the record sort expert, deleted my last group(Group 3) , then added the same group back to report, it now works.

  • Not allowing block or delete of Customer record via tcode VD02/XD02

    Hi All,
    I want to check on the process of NOT allowing block or delete of a customer record thru tcode VD02/XD02. From a business point, we would like to only use VD05/XD05 to block a customer record and VD06 to mark for deletion. This will allow users to create/change the record using VD02/XD02 and different set of users to have control block/delete.
    Any inputs are appreciated. Thanks.
    Naren

    Hi,
    You will have to discuss this with your Basis team and check if there is any authorization object for that particular functionality in the Transaction.
    As far as i know i dont think it is possible, you can only restrict the users from using particular transactions but not from using a particular functinality in a transaction.
    The best option is to assign alll the Master Data related responsibility to a limited and resposible group of users or discuss with your technical team if they can do some restricting.

  • Visibility for a particular customized record.

    We are facing an issue of visibility for a particular customized record.
    As customized record costing is created automatically using web services, so by default it is picking the name of the Administrator.How can we remove admin by default and assign its real owner by default?
    Thanks in Advance,
    Manish.

    You should be able to assign this by using post default on the Opportunity Owner ID field to be the creator of the record. If you have hard coded a WS username to complete this perhaps look at using SSO

Maybe you are looking for

  • I wnat to exit firefox sync in other drive but can't find the way to do it.This dirve is common PC,so I have to do that

    I was use firefox sync in the other drive which one is common PC and several man use it.Because it, I want to delect the data in this PC,but I know If i do that,my data will be lose in everywhere. SO I try to exit my account in this drive But I can't

  • Restoring and backing up.

    I just got a new iPhone 5sand have had it almost a week, but it won't restore or back up. I have it plugged in, locked and connected to wifi every night and it has not done either a back up or a restoration. I have pretty much everything from my old

  • DNS Configured-Best Practice on Snow Leopard Server?

    How many of you configure and run DNS on your Snow Leopard server as a best practice, even if that server is not the primary DNS server on the network, and you are not using Open Directory? Is configuring DNS a best practice if your server has a FQDN

  • Alternative for EXEC command(Native SQL)

    Hi Friends,          While Using the EXEC command in native sql it is showing the obselete Error  , Can  any one help  with giving the alternative for the commands for native SQl.        Immediate

  • Variable selection criteria in the record selection

    Variable selection criteria in the record selection with Crystal Report with SQL 2005 Server tables. In the record selection I would like to use the value of the field u201CsSQL1u201D as part of the selection criteria instead the field name {tblRepor