Delete adjcacent fields!

Hi experts
I have three columns on an internal table that goes into an ALV report.
A   B      C
1   100    590
1   100     10
2   52      350
2   55      120
2   55      180
And i want this...
A   B      C
1   100    590
               10
2   52      350
2   55      120
              180
I want to delete adjacent duplicates but not deleting the whole row... just one field of the row..
how can i do it? thanks

types: begin of this_type,
a(3),
b(3),
c(3),
end of this_type.
data: itab type table of this_type with header line,
      prev type this_type.
itab-a = 2. itab-b = 52. itab-c = 350. append itab.
itab-a = 1. itab-b = 100. itab-c = 590. append itab.
itab-a = 2. itab-b = 55. itab-c = 120. append itab.
itab-a = 1. itab-b = 100. itab-c = 10. append itab.
itab-a = 2. itab-b = 55. itab-c = 180. append itab.
sort itab by a b c descending.
loop at itab.
if prev-a = itab-a and prev-b = itab-b.
clear: itab-a, itab-b.
modify itab index sy-tabix.
endif.
prev = itab.
write:/ itab-a, space, itab-b, space, itab-c.
endloop.
Check this, altough you need to have some sort, I can't see how you sorted that table

Similar Messages

  • Getting Error while deleting a field from the 'Z' Structure

    Hi All,
    I have created a 'z' structure in which i have 5 fields, now i want to delete one field from the structure, but it is giving me error like Invalid Change.
    Its a structure so i cant activate and adjust as we do for Tables.(se14)
    So pls help me out asap.
    thanks & Regards,
    Dhruv Shah

    Thanks for Quick Reply.
    I have not used this field in any FM/ Report.
    I have tried log off and then log on. but it make no difference.
    Now the Other scenario is that i want to change the datatype of this field to TEXT25.
    But it is also not allowing me to change because currently datatype is TEXT20.
    So now how can i change the length from 20 to 25.
    Regards,
    Dhruv Shah

  • One or more field types are not installed properly. Go to the list settings page to delete these fields.

    Hi Team,
    I have created Administrator -approved Infopath form template to my site and activated same template in CA.
    I have used this template in one of my Form library and i can able to submit the Form with success to the library.
    when i click "View Item" or "Edit Item" of the form it throws , "One or more field types are not installed properly. Go to the list settings page to delete these fields." error message.
    I have refered my log files also but there is no useful information in that, please find my logs for your reference.
    w3wp.exe (0x2D7C)                       
    0x3790
    SharePoint Foundation         
    Logging Correlation Data      
    xmnv
    Medium  
    Site=/sites/Prototypes
    w3wp.exe (0x2D7C)                       
    0x3790
    SharePoint Foundation         
    Monitoring                    
    b4ly
    High    
    Leaving Monitored Scope (PostResolveRequestCacheHandler). Execution Time=8.51588679566816
    w3wp.exe (0x2D7C)                       
    0x3790
    SharePoint Foundation         
    General                       
    8kh7
    High    
    One or more field types are not installed properly. Go to the list settings page to delete these fields.
    w3wp.exe (0x2D7C)                       
    0x3790
    SharePoint Foundation         
    General                       
    8sl1
    High    
    DelegateControl: Exception thrown while adding control 'ASP._controltemplates_publishingconsole_ascx': One or more field types are not installed properly. Go to the list settings page to delete these fields.
    w3wp.exe (0x2D7C)                       
    0x3790
    SharePoint Foundation         
    General                       
    8kh7
    High    
    One or more field types are not installed properly. Go to the list settings page to delete these fields.
    w3wp.exe (0x2D7C)                       
    0x3790
    SharePoint Foundation         
    Runtime                       
    tkau
    Unexpected
    System.Runtime.InteropServices.COMException: One or more field types are not installed properly. Go to the list settings page to delete these fields.   
    at Microsoft.SharePoint.Library.SPRequestInternalClass.GetListItemDataWithCallback2(IListItemSqlClient pSqlClient, String bstrUrl, String bstrListName, String bstrViewName, String bstrViewXml, SAFEARRAYFLAGS fSafeArrayFlags, ISP2DSafeArrayWriter pSACallback,
    ISPDataCallback pPagingCallback, ISPDataCallback pPagingPrevCallback, ISPDataCallback pFilterLinkCallback, ISPDataCallback pSchemaCallback, ISPDataCallback pRowCountCallback, Boolean& pbMaximalView)    
    at Microsoft.SharePoint.Library.SPRequest.GetListItemDataWithCallback2(IListItemSqlClient pSqlClient, String bstrUrl, String bstrListName, String bstrViewName, String bstrViewXml, SAFEA...
    w3wp.exe (0x2D7C)                       
    0x3790
    SharePoint Foundation         
    Runtime                       
    tkau
    Unexpected
    ...RRAYFLAGS fSafeArrayFlags, ISP2DSafeArrayWriter pSACallback, ISPDataCallback pPagingCallback, ISPDataCallback pPagingPrevCallback, ISPDataCallback pFilterLinkCallback, ISPDataCallback pSchemaCallback, ISPDataCallback pRowCountCallback, Boolean& pbMaximalView)
    w3wp.exe (0x2D7C)                       
    0x3790
    SharePoint Foundation         
    Monitoring                    
    b4ly
    Medium  
    Leaving Monitored Scope (Request (GET:http://test-sharepoint:80/sites/Prototypes/TRT/TRTLibrary/Forms/EditForm.aspx?ID=47&Source=http%3A%2F%2Ftest%2Dsharepoint%2Fsites%2FPrototypes%2FTRT%2FTRTLibrary%2FForms%2FAllItems%2Easpx&RootFolder=%2Fsites%2FPrototypes%2FTRT%2FTRTLibrary&ContentTypeId=0x01010100E7EE25E5A6898C4587A6B52C808EF03300FD54861D587A7E43BA3E2E6D392A3526&IsDlg=1)).
    Execution Time=32.443369199158
    w3wp.exe (0x08E4)                       
    0x2C58
    Access Services               
    Data Layer                    
    8jg2
    Medium  
    ResourceManager.PerformCleanup: Disk Manager: CurrentSize=0.
    w3wp.exe (0x08E4)                       
    0x2C58
    Access Services               
    Data Layer                    
    5pbr
    Medium  
    ResourceManager.EvictUnusedItems: Disk Manager: Going to evict unused items. CurrentSize: 0.
    w3wp.exe (0x08E4)                       
    0x2C58
    Access Services               
    Data Layer                    
    5pbs
    Medium  
    ResourceManager.EvictUnusedItems: Disk Manager: After unused items eviction. CurrentSize: 0 
    Diff:0.
    w3wp.exe (0x2D7C)                       
    0x0774
    SharePoint Foundation         
    Topology                      
    e5mc
    Medium  
    WcfSendRequest: RemoteAddress: 'http://test-sharepoint:32843/4ac2daef5ffe4850be08bd7bbebb5ac2/MetadataWebService.svc' Channel: 'Microsoft.SharePoint.Taxonomy.IMetadataWebServiceApplication' Action: 'http://schemas.microsoft.com/sharepoint/taxonomy/soap/IDataAccessReadOnly/GetChanges'
    MessageId: 'urn:uuid:dcba94c3-2764-428c-b44f-60e703328ceb'
    w3wp.exe (0x08E4)                       
    0x2E24
    SharePoint Foundation         
    Topology                      
    e5mb
    Medium  
    WcfReceiveRequest: LocalAddress: 'http://test-sharepoint.anca.com.au:32843/4ac2daef5ffe4850be08bd7bbebb5ac2/MetadataWebService.svc' Channel: 'System.ServiceModel.Channels.ServiceChannel' Action: 'http://schemas.microsoft.com/sharepoint/taxonomy/soap/IDataAccessReadOnly/GetChanges'
    MessageId: 'urn:uuid:dcba94c3-2764-428c-b44f-60e703328ceb'
    Jeeva

    Hello,
    Is there any other content type on library or check if there is any duplicate column? Could you please also show us your library columns detail? (pic is also fine of lib settings page)
    If you have any ""Property Promotion" column then SP create those columns as site column and associate them with this template so check "Allow management of content types" for that form library as well.
    Hemendra:Yesterday is just a memory,Tomorrow we may never see
    Please remember to mark the replies as answers if they help and unmark them if they provide no help

  • One or more field types are not installed properly. Go to the list settings page to delete these fields. nativehr 0x81020014 /nativehr nativestack /nativestack

    Hi ,
    I am working in sharepoint 2013, This is a custom timer timer Execute method where i am moving a document item from one library to other once its expired,it was running fine and suddenly giving following error:-
    One or more field types are not installed properly. Go to the list settings page to delete these fields.<nativehr>0x81020014</nativehr><nativestack></nativestack>
    StackTrace = "   at Microsoft.SharePoint.SPGlobal.HandleComException(COMException comEx)\r\n   at Microsoft.SharePoint.Library.SPRequest.GetListItemDataWithCallback2(IListItemSqlClient pSqlClient, String bstrUrl, String bstrListName,
    String bstrViewName, String bstrView...
    I have filled all the meta data(site column) for the item but still same error, Please help me out as i have no clue why it is giving this error
    public override void Execute(Guid targetInstanceId)
    SPSecurity.RunWithElevatedPrivileges(delegate()
    using (SPSite site = new SPSite(sourceUrl))
    using (SPWeb web = site.OpenWeb())
    //gets the document lib
    SPList listFrom = web.Lists[sourceList];
    //gets the expired documents items
    SPQuery query = new SPQuery();
    query.ViewFields = "<FieldRef Name='Expiration_x0020_Date'/>";
    query.Query = @"<Where><Leq><FieldRef Name='Expiration_x0020_Date'/><Value Type='DateTime' ><Today /></Value></Leq></Where>";
    SPListItemCollection items = listFrom.GetItems(query);
    //if expired items found
    if (items.Count > 0)
    SPFile oFile = null;
    foreach (SPListItem item in items)
    string strfile = item.File.Name;
    oFile = web.GetFile(sourceList + "/" + strfile);
    //oFile.CopyTo("Archive/" + strfile);
    oFile.MoveTo(destinationList + "/" + strfile);

    Hi,
    I think the issue is related to the internal name of the Expiration Day.
    In the caml query code lines, we should use the right internal field name to retrieve and filter the list items.
    To avoid such mistake, we can use the CAML Designer tool to generate the caml query code.
    We can download the tool here: http://www.camldesigner.com/?p=594
    Thanks & Regards,
    Jason
    Jason Guo
    TechNet Community Support

  • "One or more field types are not installed properly. Go to the list settings page to delete these fields" while accessing website pages

    We have a publishing website in SharePoint 2010. There are total 4 environments - Development, Test, Stage and Production. For some enhancements, we had to create some new lists and libraries. When we moved changes from Development to Test environment, everything
    worked fine. Relevant lists and libraries in lower environments were saved as templates (in .stp format) including content, imported to higher environment, lists/libraries were created in higher environment using imported templates. 
    Things worked fine from Development to Test. We did similar exercise from Test to Stage environment. Now in Stage, when we access some pages, we get error message - "One or more field types are not installed
    properly. Go to the list settings page to delete these fields.". ULS logs don't tell which exact list has got problems. 
    On searching for this error, I got many articles that explain how this could happen when we migrate from SharePoint 2007 (MOSS) to 2010. Though our case different (as all our environments are in 2010), we still tried following steps. 
    De-activate 'SharePoint Server Publishing Infrastructure' Site Collection feature
    Go to https://site-name/relationships%20list/allitems.aspx. This is a hidden list. Delete this list. 
    Re-activate 'SharePoint Server Publishing Infrastructure' Site Collection feature.
    Make sure that new hidden list with one item is created at https://site-name/relationships%20list/allitems.aspx
    However, this didn't help as we are still getting same error message. Appreciate if someone can suggest how this issue can be resolved. 
    Following are ULS logs:
    Unable to execute query: Error 0x81020014
    One or more field types are not installed properly. Go to the list settings page to delete these fields.
    System.Runtime.InteropServices.COMException: One or more field types are not installed properly. Go to the list settings page to delete these fields.   
     at Microsoft.SharePoint.Library.SPRequestInternalClass.GetListItemDataWithCallback2(IListItemSqlClient pSqlClient, String bstrUrl, String bstrListName, String bstrViewName, String bstrViewXml, SAFEARRAYFLAGS fSafeArrayFlags, ISP2DSafeArrayWriter pSACallback,
    ISPDataCallback pPagingCallback, ISPDataCallback pPagingPrevCallback, ISPDataCallback pFilterLinkCallback, ISPDataCallback pSchemaCallback, ISPDataCallback pRowCountCallback, Boolean& pbMaximalView)    
     at Microsoft.SharePoint.Library.SPRequest.GetListItemDataWithCallback2(IListItemSqlClient pSqlClient, String bstrUrl, String bstrListName, String bstrViewName, String bstrViewXml, SAFEARRAYFLAGS fSafeArrayFlags, ISP2DSafeArrayWriter pSACallback, ISPDataCallback
    pPagingCallback, ISPDataCallback pPagingPrevCallback, ISPDataCallback pFilterLinkCallback, ISPDataCallback pSchemaCallback, ISPDataCallback pRowCountCallback, Boolean& pbMaximalView)
    Thanks!

    Hi Shrishail ,
    Some time this issue occurs if you have any custom filed types in the list or library and that field type is not installed on server .
    Can you please check that if you are having any custom field types column on the list and library and if that is the case you need to install that field type on the server. sometimes it happens if field types are not properly deployed / Installed then
    you have to uninstall that field types (retract solution) and deploy it again.
    Thanks,
    Ujjwal

  • Is there a way to get rid of the space left when I delete a field?

    I have a document that I am editing and I have deleted some fields but that leaves big white spaces in the document.  Is there some way that I can get rid of those spaces without having to manually move up all the subsequent fields one by one?

    Not really. There are things you can do to make the process easier, but you can't just highlight the white space and hit 'delete' to bump everything up.
    You can select all of the items below what you removed on the heirarchy tree (that are on the same page) and move them all up at once.
    You could make the document flowed and enclose the whole area in a subform, but that presents its own set of challenges if the fields and such do not already take up entire lines (or close to it). It does make the process easier in the future if you have to add/remove more items again.

  • Error_42_Error occurred in deployment step 'Activate Features': Field type MyCustomField is not installed properly. Go to the list settings page to delete this field.

    Has anyone encountered this error.
    I am developing on SP 2010 with VS 2010.
    I was following an online tutorial: How to use custom form templates in NewForm.aspx/EditForm.aspx  located at:
    http://sharepointbox.blogspot.co.at/2010/11/how-to-use-custom-form-templates-in.html
    The tutorial was a little lacking on some of the direction, but it included the working source code, and I managed to complete it.
    Every time I try to deploy my version I get the error: Error 42 Error occurred in deployment step 'Activate Features': Field type MyCustomField is not installed properly. Go to the list settings page to delete this field.
    I have gone through my code line by line and matched it to the working code from the tutorial, so I can only assume that I am missing something in the Procedure to properly deploy.
    Any help is greatly Appreciated! 

    It seems that something went wrong with your custom field type installation. Check below line in .xml file of your custom field type and correct it if needed.
    <Field Name="FieldTypeClass">DocumentFieldType.DocumentFieldTypeClassName, DocumentFieldType, Version=1.0.0.0, Culture=neutral, PublicKeyToken=379382f3e8928835</Field>
    Please recheck respective values of namespace.classname , dllname. and publickeytoken in your code
    Thanks. Please mark it as an answer if it helps.

  • Error in EEWB deleting a field

    Hello,
    I was supposed to add a new customer field in a tab of CRMD order using EEWB.
    When I looked at the extension already created i saw that my field had already been created but it wasn't available in CRMD_ORDER transaction.
    So as to get what I wanted, I tried to delete the field from the existing task to create a clean new one.
    The problem is that when I deleted the old field (using wizard) and tried to activate the former extension I had and error telling that table had to be adapted. So I went to se14 to adapt it and tried to activate again my extension. But there was no way, it said something like "Project could not be read".
    As a result my extension appears red and broken and the wizard is not available any more.
    Reading some posts of these forums I arrived to think I had to delete that broken extension and create it again from 0.
    I fear I might loose my existing data. What about it?
    I tried to delete the extension but it told me that "The order/task XXXX did not exists".
    What can I do to go back to the previous version of my extension and to add my new field in my screen.
    thanks, I am about to despair...

    HI Nirmit,
       Yes you are right. EEWB will not support the deletion of a project if any errors are found. for your serino (1) u revert back to previous version and when that project is fine u can delete the complete project.
    Regard point (2) if PE(1) was fine ( i.e without errors) then u can use start wizard and at the place where u ad fileds u can deelte the fileds . this works fine in CRM 4.0.
    Point (3) is the way to overcome but always u can delete ur PE1 if it does not have errors

  • Unable to delete Reconciliation Field

    Hi
    I have a field in Reconciliation Field mapping of my Resource Object. For some reason I want to delete this field. So I removed mapping for this field in Recon Mapping of Process Definition for this Resource Object. But when I try to delete the same from Recon Fields in Resource Object it says "Field cannot be deleted as it is used in Reconciliation Event Data".
    In Reconciliation Manager, there are some 10 events which are in "Event Received" state. I closed all the events and then tried to delete the field but still I get same error.
    Any workarounds to resolve this error?

    You can't delete fields from resource objects which were used even once in mapping. You can leave them as it is, as said above it won't make any harm.
    Regards,
    GP

  • How to delete a field's name in the form of 2014.1

    In the 2014 version, you can delete the field's email in html and online everything worked. In version 2014.1 so you can do. Necessary to create a form with the name and telephone. Help!

    I would like to know how to delete the email field in the Muse Web Form. I need to create a form which does not require an email field.

  • How to delete a field in Infotype.

    Hi All,
    Can anyone suggest me how to delete a field in infotype.
    Thanks,
    Chakradhar.

    Hi Chakradhar!
    Check these links for your taste:
    <a href="http://help.sap.com/erp2005_ehp_02/helpdata/en/bb/bdb6c8575911d189240000e8323d3a/frameset.htm">Delete infotype record - OM</a>
    <a href="http://help.sap.com/erp2005_ehp_02/helpdata/en/48/35c7414abf11d18a0f0000e816ae6e/frameset.htm">Delete infotype record - PA</a>
    Best regards,
    Zsolt

  • How to delete a field from search help which is delivered

    hi
    I got a requirement to delete a field from search help which is delivered long back
    Regards
    krishna

    Hi
    Whether it exists in DEV system or not?
    Take the name of that Search Help from PRD/Quality(if it is not there in DEV system) and modify/change it by removing that field from the search help in DEV system and create a Transport request and transport the same request to Quality/PRD systems
    Now the New changes (in which the field was removed) will be over written on the old search help in the PRD system, since it is the same Name (search help)
    Regards
    Anji

  • Batch input: help to  delete a field

    Hi, I have a little problem with my program, My program have a field PLMKB-QMTB_WERKS, I need to clear this field but I can´t, I dont Know why I can´t to delete this field, If I put another value like '9999' the program take this value, but If I put '     ' or SPACE, it dont do it anything.
    I appreciate your help.
    Thanks

    Hi,
    Check if you are clearing the work area at the end of the loop. Once the record is processed from the work area , you should clear it before starting the processing of next transaction.
    Regards,
    Siddhesh

  • Deleted one field in phone section of contact list can it be restored

    By mistake i deleted one field in the phone section under contact list can it be restored. I do not see add another field for phone number.

    Try reproducing the issue in Windows safe mode with Networking.... I think the guess of a synchronization issue was correct. I just think the blame finger went to the wrong place. Windows safe mode should confirm my guess... Or prove me wrong
    Note that i can move messages in imap to live from junk to inbox and they are not corrupt.

  • Adobe 9.0 Pro deleting signature field

    How do you delete a signature field in adobe 9.0 pro or standard? I can clear the signature, but not delete it entirely. I need to show engineers how to do this in case they create it the wrong size or in the wrong place.
    In adobe 7.0 pro and standard you get the "delete signature field" option when you right click over the block.
    Please help.

    tom van haesebroeck said:
    same problem here, since i installed the 9.2 update...
    when i launch acrobat 9.2 pro it opens all the last used pdf's and then it crashes!
    please help
    tom
    this seems to work:
    open acrobat by holding the shift key
    clear history
    close acrobat
    open acrobat again
    Thanks Tom for this!  I am glad I found this thread. 
    I installed Acrobat Pro 9 two weeks ago, and used it fine. 
    This morning, logged in, automatically started installing updates. 
    Then, opening a file in Acrobat, it opened the four I used yesterday.
    Some of them are pretty big, and when I tried to close then, it crashed. 
    I tried to delete history, and then open them. 
    But, following your advice, I:
    Opened Acrobat
    Deleted history
    Closed Acrobat
    Opened Acrobat
    Opened file in Acrobat
    Seems to be working okay now.  Thanks! 
    Still, seems to me that the latest update installment may have a bug. 

Maybe you are looking for

  • Request for Quote IN SAP SCRIPTs

    Request for quote in SAP Scripts Do any one was modified MEDRUCK layout?? Please let me know ,which elements do they people used?? thank you

  • RFC_ABAP_INSTALL_AND_RUN

    Hi Experts,    I have a program "XXX". i want to display the output of Program "XXX" in Tables parameter "WRITES" of FM RFC_ABAP_INSTALL_AND RUN.   Can anyone explain me detaily with some example. Thanks, Silviya T

  • Java to check USB HD

    Have anyone ever used java to check if a USB HD is connected? Where can I get reference or lib? Is it possible to check if the USB HD is connected as D: or E: or F:? Thanks in advance for any information!! Dino

  • Video out Ipad interface screen

    How can I use the iPad to project out the interface screen with the video out cable ? Is there an app I can use to do so ?

  • Phone Keeps Syncing Birthdays Back To Computer

    I have a birthday calendar set up in iCal, which pulls birthdays from Address Book. I'm syncing a Samsung Propel to my computer via iSync. However, the second I get a contact on my phone, the phone seems to automatically assign a birthday of 1/1/1900