Subtring and grouping field

I need to know how to group by the last four position of field such as 02 1604 430 5015. I would like group by 5015 and sum by 5015. I new to crystal reports and trying to create a report for a end-user.

50160
01   1042 540  5160   Con Workshop   10.00  45,000.00        01   1042 540  5160   Con Workshop     0.00  30,000.00       
      Total                                            10.00  75,000.00      
This what I am tyring to do get  the substring and sum to do. Now  the substring and grouping works but I need totals of the amounts by that subcode.(5160) as shown above.

Similar Messages

  • How to update a People and group field using a sandbox solution

    Hi,
    I am creating a sandbox solution for office 365 and creating a custom form using visual web part, which will allow users to enter data in a custom list.
    And that list also have a user field. I am able to get SharePoint user field on the form (using javascript) which is searching for the user and get a value (working fine).
    Issue: But I am not able to save the user value. Because to save user value I require web, UserID and login name, to construct SPFieldUserValue object or string in "111;#TestUser" format. Moreover that user should be present in
    SiteUserInfoList. 
    I tried web.EnsureUser() but did not work under sanbox solution.
    Can you please provide any pointer or workaround to the problem? I may be missing something here.
    Thanks,
    Himanshu

    Hi,
    According to your description, my understanding is that you want to update the people and group field in Sandbox solution.
    In the sandbox solution, you can still use the web.EnsureUser() function to get the user information, see the thread below:
    EnsureUser in sandboxed solution
    In additional, there is a demo with your similiar requirement for your reference:
    Using the People Picker Control in Sandbox Solutions / Office 365
    Thanks
    Best Regards,
    Jerry Guo
    TechNet Community Support
    Please remember to mark the replies as answers if they help, and unmark the answers if they provide no help. If you have feedback for TechNet Support, contact
    [email protected]

  • User and group field values not propagating in Sharepoint 2013 variation

    Hi,
    I have a issue, we have a User and group field in my Content type and this content type is attach to Pages library.
    I created one Page in source variation site and fill User and Group field with two user one is domain user and another is sharepoint\system account user.
    After variation work and page propagate to target variation , there is only sharepoint\system account and no domain user in user and group field.
    *****The main issue is domain user are not propagating in target variation site's fields.
    Thanks,
    dinesh

    can any one hep me on this

  • Add, delete and group fields in Application Area of transaction CIC0

    Hi,
    In the transaction of CIC0, I have the requirements of:
    - Delete the field "Function" corresponding to the Business Partner 1, all the fields corresponding to Business Partner 2, all the fields corresp. to IBase, and the fields: "Address type" and "Fax" for Address.
    - Change the title of "Business Partner 1" to "Third-Party".
    - Add fields of: ZIP Code, Mobile Phone in the Adress.
    - Group the fields of ***: Masculin, Femenin or Unknown, now in 3 different fields, in a combo.
    So, I searched info in this forum, and it said to go to the trans. SMW0, copy the Object Web "CRM_CIC_SEARCH_DISPLAY", to a Z. So I copied it to: "Z_CRM_CIC_SEARCH_DISPLAY". 
    I downloaded the .htm from Z_CRM_CIC_SEARCH_DISPLAY from this transaction, and I edited it to delete the fields not required.
    So I opened the .htm in IE and Mozilla, and it showed good.
    But, now it's the problem. I've read that in trans. CRM_CIC_SEARCH_RULE (or going from SPRO to this trans.), it should be linked the BPSEARCH Attributes, when appears "CRM_CIC_SEARCH_DISPLAY", put "Z_CRM_SEARCH_DISPLAY" (my Z).
    BUT IT DOESN'T WORK.
    So how should it be done?.
    (I found this info here: CRM  IC Winclient - How to add new fields in the BP Search of TRX CIC0 ):
    And for adding fields, should I editing the HTML, or should I add fields in these structures: CCMBP1FIELDS, CCMBP2FIELDS, and then editing the HTML and adding these Z fields, then editing the function module used for searching (it's found in SPRO, in Search Strategies)
    To change the title of "Business Partner 1" to "Third-Party", I think it should be done in the HTML too, right?.
    To group the *** in a combo, how should it be done?.
    Thanks.

    Hi,
    I also need to add custom fields to Basic data view. After copying & changing the screen sequence in Config, I could able to see the custom fields in Basic Data view.
    I have appended structure with custom fields to MARA table.
    But the values I enter in the screen is not getting updated to the table MARA.
    Can you please let me know the code, I should have have in PAI (Process After Input) module in the Sub Screen to update the values?
    Thanks,
    Dasa

  • MAJOR Open Directory issue: Can't assign Users and Groups that DO exist!

    Just noticed the following today:
    When doing Get Info -> Permsissions on files/folders located on my File Server share, Owner and Group show as (unknown).
    When I go into WGM -> Sharing, and look at files/folders on File Server share this way, the Owner and Group fields are blank.
    When I attempt to (re)assign an Owner or Group by dragging them from Users and Groups section of WGM, error tells me User or Group no longer exists. These Users and Groups clearly do exist in WGM -> Accounts.
    When I look at files on File Server share via CLI, instead of actual names for Users and Groups, I see their uid and gid's. Chowning via CLI fails as well.
    I've noticed all Users and Groups with this issue are OD.
    Server is xServe G4 DP 1.0 GNz/1 GB RAM/Mac OS X Server 10.4.7 Unlimited. This servers been running fine as an OD Master for months now. ACL's are enabled on this File Server share point. I've always had weird permissions issues, but NEVER the inability to assign OD Users and Groups to files/folders.
    I'm at a loss here, not to mention my wits end.
    Did my OD become corrupted?
    Any and all help would greatly appreciated.
    PowerMac G4 733 MHz   Mac OS X (10.4.6)   512 MB RAM

    When doing Get Info -> Permsissions on files/folders located on my File Server share, Owner and Group show as (unknown).
    This means that the Finder can't find a match in the accounts/groups database for the numeric UID assigned to those files. Either the records associated to those accounts have been deleted, or the database is corrupt. In either case, you should restore a copy of it from backup.
    (15686)

  • Group managers and Contributors fields are randomly cleared out in Terms Store Management Tool

    Is there any explanation or how to solve this problem?
    Group managers and Contributors fields are randomly cleared out in Terms Store Management Tool in SharePoint 2010.
    Any ideas? Thanks!

    Hi arevsun, 
    For this issue, I'm trying to involve someone familiar with this topic to further
    look at it. 
    Thanks,
    Eric Tao
    TechNet Community Support

  • Add field group and Logical field group for ANLU

    Hi all,
    On my project, the table ANLU is containing many specifics fields.
    I would like to know how I could add a field group and logical field group corresponding to this specifics fields on ANLU, in order to be taking into account on my validation rule ?
    On the GGB0, Asset Accounting / master data, the check point includes the ANLU on the table fields. But, once my rule created, when I want to activate it on the TCODE OACV, the field group proposed don't include data from ANLU (only ANLA and ANLB)
    I found out the TCODE OAVM listing all different field linked to the field group. Does it possible to manage this view ?
    please help me !!

    Hi Rob,
    Can you tell me how can i solve this issue.
    Runtime Errors         MOVE_TO_LIT_NOTALLOWED
    Date and Time          09/11/2007 18:11:01
    Short text
        Assignment error: A constant was meant to be overwritten.
    Error analysis
        The field "<S1>" is to be assigned a new value although the field
        is partially or entirely protected against modifications.
        The following are protected against changes:
        - Character literals or numeric literals
        - Constants (CONSTANTS)
        - Parameters of the category IMPORTING REFERENCE for functions and
        methods
        - Untyped field symbols not yet assigned a field using ASSIGN
        - TABLES parameters if the actual parameter is protected against changes
        - USING reference parameters and CHANGING parameters for FORMs, if the
        actual parameter is protected against changes and
        - Accesses using field symbols if the field assigned using ASSIGN is
        protected (or partially protected, e.g. key components of an internal
        table with the type SORTED or HASHED TABLE) against changes
        - Accesses using references, if the field bound to the reference is
        protected (or partially protected) against changes
        - External write accesses to READ-ONLY attributes,
        - Content of a shared object area instance accessed using a shared lock
        (ATTACH_FOR_READ).
    Thanks
    Ashraf

  • Sorting and filtering by select-multi person or group field in the list in SharePoint 2013

    Hi everybody,
    In SharePoint 2013, I have defined a column as "Person or Group" field, which you allow for multiple selections. when I try to sort/filter it by this field in the list. The field doesn't show up in the dropdown. If I changed "Allow multiple
    selections" option to "No" by clicking the column name to edit it in "List Settings", the field can show up sort in the dropdown.
    How about support sorting and filter by select-multiple "Person or Group" field in sharepoint 2013?
    BTW, in SharePoint 2010, it can support this issue no matter what the "Allow multiple selections" option the request is.
    Any help would be great!
    Thanks,
    Jodie

    Hi Jodie,
    Can you please give this as a try.
    To fix the Filter Issue on Assigned To Column. We need to run the following scripts.
    The field which allows more than one values or which allows multiple selections. The multi-valued fileds are non-sortable,
    non-filterable. Multi-valued fields cannot be indexed
    $web=Get-SPWeb
    $list=$web.Lists[] $field=$list.Fields[ColumnName] $strSchema=$field.SchemaXml $str=Schema$strSchema.Replace("Sortable=`"FALSE`"","Sortable=`"true`"")
    $field.SchemaXml = $strSchema
    Krishana Kumar http://www.mosstechnet-kk.com
    Thanks for your reply, I have tried to run the scripts, but it still cannot work. The following is my scripts:
    $web=Get-SPWeb 'http://cst-server-01'
    $list=$.web.Lists["Product Request"]
    $field=$list.Fields["Applicant"]
    $strSchema=$field.SchemaXml
    $str=Schema$strSchema.Replace("Sortable='"FALSE'"", "Sortable='"True'"")
    $field.SchemaXml = $strSchema

  • Group Description in Drill down and grouping on field

    I want to put a formula field for grouping, but I want to display some text(description) in group drill down.
    My group field is numeric and I want to display text on right side of drill down report.

    Hi Seema,
    In order to display a different group name you may try the below steps:
    -  Right click on the group and click on change Group option and then click on Options taband then check the box which says 'Customize Group Name Field'.
    - Now either 'choose from existing field' or 'use a formula as group name' to display the group description.
    This would help you to display the appropriate description for that field.
    Regards,
    Komal Prasad

  • Hiding sales office and sales group fields in VA01

    Hi all,
            I want to hide sales office and sales group fields in VA01 initial screen. How can i do it?
    When i enter VA01 Tcode it should ask for Order Type, Sales Organization, Distribution Channel and
    Division only.
    Thanks in Advance,
    Kiran.

    Create  a transaction variant for the sales order T.code VA01
    using the T.Code:SHD0.
    For further steps chk the following thread:
    https://forums.sdn.sap.com/click.jspa?searchID=13577625&messageID=5413014
    Regards
    AK

  • Known limit for how many characters can be entered in the To field when adding People and Groups ?

    I am running MOSS 2007 SP1. I browse to site settings > People and groups and a group which has more than 60 members. I select all > Click Actions > Email Users. Nothing happens. I select less users, new outlook window comes up as it should. I am running outlook 2007. I first thought that the limit was 50 users, but different user selections let me select 51 users as well. I then concentrated on the character limit and I noticed that there were about 1580 characters in the To field when I selected 50/51 users.
    Is there a known limit in sharepoint/outlook client for this function on how many characters can be entered in the To field?

    Hello Amar,
    This is a by-design behavior, not from SharePoint side, but Internet Explorer. The limitation by the 2083 characters in IE for the Max URL length is described in the following KB article:
    (KB208427) Maximum URL length is 2,083 characters in Internet Explorer
    http://support.microsoft.com/default.aspx?scid=kb;EN-US;208427
    As a workaround, you may need to divide the list up and not send all the email at the same time. Hope it helps!
    Best Regards,
    Lionel

  • Bulk Edit for Metadata Group, Field, Lookup, Responses and Subscriptions

    Hello,
    Has anyone been able to bulk edit custom configurations in FCSrv Administration window (of course not IN administration window, but as it was editing there).
    In other words: Let say that I have a custom configuration of Metadata Groups, Fields, Lookups, Subscriptions and Responses and I want to implement that in lots of FCSrv systems.
    Another situation: I`ll upgrade my hardware and want to re-install FCSrv but I don`t want to loose all my configurations.
    I`ll have to manually input each configuration? It`s possible to update just a file(s)?
    I know that the backup from FCsvr does this, but its used for DB Backup and not Preferences. I do not want to restore or backup the DB.
    Replacing this files (or some of them): com.apple.FinalCutServer.profile.plist and postgresql.conf do the trick?
    Regards

    As is usual with the world of programing the answer turned out to be ridiculously simple! In the Elements.xml file for the button the javascript that launches the dialog with SP.UI.ModalDialog.showModalDialog was always using the top level site to get the
    custom ASPX page. Doh! Adding the _spPageContextInfo.webServerRelativeUrl in front of the path to my custom ASPX page did the trick. None of this was noticeable to me since the code was loading fine in debugger and I could see that it had the correct SPWeb
    because I was passing in the webURL as a parameter in the URL for opening the dialog. But when the ASPX was loaded I just got the labels.
    var url = webUrl + '/_layouts/15/Generic.BulkEdit/BulkEdit.aspx?selectedItems=' + selectedItemIds + '&amp;ListId=' + listId + '&amp;WebURL=' + webUrl;

  • Group and Owner fields blank when viewing Service Request results via UWQ

    When looking at a row that represents a service request in either the UWQ or View Service Requests (search form) the group and owner columns are blank only for some of my users.
    If you look at the detail for the SR, there is a owner and group.
    Not sure what the issue is..? Inherited this role.
    -JP

    Which release is this occuring? At the first glance it looks like an issue that cropped up in 11.5.3. and has been fixed since.

  • MRP group field can not be displayed in MRP1 view

    Hi all
    MRP group field can not be displayed in MRP1 view
    please guide me
    thx

    Hi avinash
    consulte your MM guy material master screen group and selection is done by MM guys in general. There they can do setting for this.
    Also why you need MRP group. If it is maintained. It should be done properly otherwise it will create lot of problems.
    Regards
    J . Saravan

  • Start Routine to Populate Account Group Field from Master data of 0Customer

    Hello Friends. Please help me edit this ABAP code to make it work. I am putting this code in start routine in between two DSO. where I am using the
    Start Routine to Populate Account Group Field from Master data of 0Customer. I do not want to use read from master data functionality since that field 0customer is not there in dso but similar field 0debitor is there. so i want to put this code
    during the load from source DSO to Target DSO.
    Error Explicit length specifications are necessary with types C, P, X, N und
    DATA: L_S_DP_LINE TYPE DATA_PACKAGE_sTRUCTURE.
        types: begin of comp,
         CUSTOMER       type  /BI0/OICUSTOMER,
         ACCNT_GRP          type /BI0/OIACCNT_GRP,
       end of comp.
        DATA: l_S_comp type comp.
        DATA: L_th_COMP TYPE HASHED TABLE OF COMP WITH UNIQUE KEY customer INITIAL SIZE 0.
    IF  L_th_COMP[] IS INITIAL.
    SELECT CUSTOMER ACCNT_GRP FROM /BI0/PCUSTOMER APPENDING CORRESPONDING FIELDS OF TABLE L_th_COMP.
    ENDIF.
    LOOP AT SOURCE_PACKAGE INTO L_S_DP_LINE.
    READ TABLE L_TH_COMP INTO L_S_COMP WITH TABLE KEY CUSTOMER = L_s_DP_LINE-CUSTOMER
    IF SY-SUBRC = 0.
    L_S_DP_LINE-/BIC/ACCNT_GRP = L_S_COMP-/BIC/ACCNT_GRP.
    MODIFY SOURCE_PACKAGE FROM L_S_DP_LINE.
    ENDIF.
    ENDLOOP.
    soniya kapoor
    Message was edited by:
            soniya kapoor

    Hello Wond Thanks for Good Answer and good option, But Client does not like this option and does not like Nav Attribute so he does not want to turn on any Nav Attribute, In general also We hav requirement to read a third table while uploading 1 dso table to 2 dso table,
    so  Please help me edit this ABAP code to make it work. I am putting this code in start routine in between two DSO. where I am using the
    Start Routine to Populate Account Group Field from Master data of 0Customer.
    No syntax Error But during the load it is updating the source table and not the target table. how to define now target table.
    ***SOURCE DSO Table
    types: begin of typ_tgl1.
        include type /BIC/AZDAFIAR000.
        types: end of typ_tgl1.
        types: begin of comp,
         CUSTOMER       type  /BI0/OICUSTOMER,
         ACCNT_GRP          type /BI0/OIACCNT_GRP,
       end of comp.
    DATA: L_th_COMP TYPE HASHED TABLE OF COMP WITH UNIQUE KEY customer
    INITIAL SIZE 0.
      data: wa_itab type COMP.
        data: wa_zdtg type typ_tgl1.
    IF  L_th_COMP[] IS INITIAL.
    ***Master Data Table
    SELECT CUSTOMER ACCNT_GRP FROM /BI0/PCUSTOMER APPENDING CORRESPONDING
    FIELDS OF TABLE L_th_COMP.
    sort L_th_COMP by CUSTOMER.
    ENDIF.
    LOOP AT L_th_COMP into wa_itab.
    select * from /BIC/AZDAFIAR000 into wa_zdtg
                        where DEBITOR  eq wa_itab-CUSTOMER.  *** SOURCE DSO Table
    IF SY-SUBRC = 0.
    wa_zdtg-ACCNT_GRP = wa_itab-ACCNT_GRP.
    MODIFY /BIC/AZDAFIAR000 from wa_zdtg. *** modify SOURCE DSO Table
    ENDIF.
      endselect.
        endloop.
    soniya kapoor

Maybe you are looking for