Deleting fields from a standard view

Hello,
     I want to delete fields form standard view which are appended by me accidentally . I have written a delete statement to delete the fields from the standard view . but i got an error at declaration part . I have declared it as shown below
Tables : V_MMIM_REP_CUST
V_MMIM_REP_CUST----
> is the view name
So, guide me how to declare this view .
Regards,
mnarar.
Edited by: mnarar on Nov 30, 2011 1:12 PM

Hi,
This is just an idea to delete the records from the Table. But ideally you should not use this approach in any development.
The table for this view is MMIM_REP_CUST. You can write a Custom Report Program where you need to create a work area with the values which you would like to delete. And then write a Delete statement and delete the table entry from that work area.
I guess you are doing this in the development environment and have all the necessary authorizations. And you should not transport any report like the above to other environments. Also double check if that entry will not effect other business scenarios.
Hope this helps.
Best Regards,
Samantak.

Similar Messages

  • Deleting entries from a Standard View

    Hi,
         How do I delete duplicate entries from an Standard View in an Abap Code?
    Thanks,
    Pravs

    Then it becomes complicated. Are you trying to delete the duplicates from a view? Then look at your view definition and see if you can avoid duplicates by changing its selection criteria. Also take note of Rob's comment.
    If you are trying to delete from a database table as opposed to a view, then I don't know how you achieved the feat of having duplicate entries as any duplicate inserts with same key fields would have resulted in dump. Can you please clarify?

  • How to hide a field from table maintenance view?

    Hi,
    How to hide a field from table maintenance view? 
    The field is used for data created date. I need to hide it from display.
    Thanks

    Chk this link.
    http://help.sap.com/saphelp_nw04/helpdata/en/66/33f52010dd11d6999300508b5d5211/frameset.htm
    Maintenance Attributes
    You can assign a maintenance attribute P to individual fields in the maintenance view definition in the Dictionary (SE11). It can be  H (hidden)
    H (hidden)
    A field flagged H is not displayed on the screen. This field must also be filled in the background by a routine at an event.
    The system writes R and H fields to the database like all other fields when a new data record is saved.

  • Hide/delete fields from standard Adobe Form FITP_REQUEST_FORM

    All dear gurus,
    I am new to adobe form. I am working on ess mss. In travel request we are getting the adobe form fitp_request_form.
    We have some unwanted fields in the form. Its not interactive .
    Either I want to hide or delete those fields from the form. thats it.
    How I should start. guide me pls.
    Regards,
    Namsheed.

    Hi Namsheed,
    You might need to copy the standard as customized form and you are free to hide / delete any field in the form .
    http://scn.sap.com/thread/3578272
    Also, you need functional to configure to use this customized form instead.
    Thanks.
    regards,
    Xiang Li

  • How to update address fields from a different view?

    Hello Everyone,
    I have created a context node(Model Attribute) of standard address fields using BuilAddress in a view that doesn't have it and successfully displayed them. This is contacts view where the original address of the contact is not available. Now our requirement is to update the standard address if needed from the contacts view itself. How can I do this?  The address fields are available for display only, even if I want to update them using code based on some condtions if not manual entry how can I achieve that?
    Did anyone ever use CRM_BP_UIU_SAVE Badi? I see no posts related to this in forum. Can anyone give me a sample code on what can be done in here and what data of BP is accessible in this BADI and how?
    Thanks,
    Sunil

    Hi Murali,
    Are you sure I can update the address fields using BAPI's from WEBUI? I have tried this already and the BAPI or Function just woudn't call, always return with error message.   I was thinking that BAPI's and Functions for updating just wouldn't work from WEBUI.
    To give you more details, I am in the BP_DATA/AccountContactEF view. I added the context node Address and brought in all the fields from BUILADDRESS structure, it generated the get, set methods for me. I want to update a couple of fields like telephone info, street, city etc. In this view I just redefined Create_Contact method and I tried to update the address using BUPA_ADDRESS_CHANGE for the contact person and it never works. I also tried BUPA_ADDRESS_REMOVE to delete and add the new address using BUPA_ADDRESS_ADD, but that wouldn't work either.
    So that is why I am exploring the option of using BADI, which I found out is very similar. I was able to access pretty much everything of BP data and Contact data. but there also the functions or Bapi's wont work.
    Let me know if you did anything similar. Also as you mentioned the GET_I method, Context node creation  Wizard generated it for me and I have the field editable, its just that when I save it , it wont save and the old values are read back and populated. Meaning if I have  'NY' for region and I change it to 'CA' , after save 'NY' comes back.
    Thanks for you help.
    Sunil

  • How we remove some fields from SAP standard one's

    Hi,
    i am very new to SAP SD .if the client do not want some fields from standard one's how we can remove those fields.(example u take Standard sales order).

    HI, you cannot hice many fields in SAP, since they all need for something.
    try to explain this to your customer; furthermore many fields are filled form the master data so the users don't have do mind of them.
    Anyway you can alter the screens using the transaction variants: go to IMG
    Spro: SAPNetwaever->general settings->Field Display Characteristics->Configure Application Transaction Fields
    Reward if helpful
    Regards
    Roberto

  • Unable to show all fields from a table\view within a SSRS Report Model for user selection

    I recently added a new view with a simple SELECT (with 3 fields) statement to our existing Report Model DSV. I then went ahead to the report model (.smdl) file proceeded with the auto-generation of the new attributes which of course ran with no issues.
    I was seeing the three new fields as attributes. But when I went within the existing Perspective to add the newly added fields so that the users see them, one of the field is missing. It is just a VARCHAR field. What would it cause this field to not show up
    within a Perspective?
    Any help is greatly appreciated.Thanks,
    Nimesh
    NM

    Hi NM,
    I am trying to involve someone more familiar with this topic for a further look at this issue. Sometime delay might be expected from the job transferring. Your patience is greatly appreciated.
    Thank you for your understanding and support.
    Regards,
    Katherine Xiong
    Katherine Xiong
    TechNet Community Support

  • ADF UIX - Deleting records from expert-query view

    Hi gang
    Does anybody have any suggestions how to do this?
    I'll use the HR schema as an example.
    We have default EOs defined against the departments and employees tables. Those familiar with the HR schema know there is fk between departments and employees, as well as employees to itself (eg. employees to managers).
    We have created a complex VO, with a hierarchical join between employee records, as well as a join to the departments table. To create such a complex VO we have no choice but to create the VO with an "expert-query" as the standard wizard doesn't support hierarchical joins.
    One important fact to note that in the VO create wizard, when you use an "expert-query" you do not select the entities used by the VO; you go straight to the query page and enter the "expert-query". As such no EOs are defined against this type of complex VO.
    The VO output looks something like the following:
    Department Level Employee
    Finance    1     Alexandar Hunold
    Finance    2     Bruce Ernst
    Finance    2     David Austin
    Finance    2     Valli Patabella
    Purchasing 1     Den Rapaely
    Purchasing 2     Alexandar Khoo....and so on.
    We have created a UIX web page displaying this VO as a read-only-table.
    We wish to provide a delete button such that when the user selects a record, we may delete that employee AND all relating employees in a "cascade-delete" fashion. Note that we don’t wish to delete the associated department.
    In implementing this delete button the delete functionality works correctly in the UIX web page by removing the record from the UIX table (assume I've also commited my changes). However a forced requery of the VO shows that the record hasn't really been deleted. I assume this is because the complex VO has no explicitly stated underlying EOs.
    Does somebody have a suggestion on how I can catch the delete operation on the VO, and tell my application to instead delete a particular employee and perform a cascading delete on all other employees?
    Should I create a custom method in the VO row class, to perform the deletes on the database? Or can I force the VO to perform a cascade delete on the employees EO? I just don't know what to do.....?
    Any help greatly appreciated!
    My environment is JDev 9.0.5.2.
    Thanks!
    CM.

    I came across the help topic in JDeveloper 'Making an Association into a Composition' that talks about modifying an association to trigger cascade-delete. Does this help ?
    - Udupa

  • To add z field in the standard view of UI Framework of CRM 2007

    Hi Guys,
    Is it possible to add a z field in the SAP standard UI Frame work. Like If I take a example of Interaction Centre in UI Framework.
    In the BuPasearch view is possible to add z field if so then how it can be achieved.
    Thanks in advance,
    Rgds
    Sandeep.

    >

  • What Breaks iPhoto - Comm-Op-Deleting Video From Video Play View

    So I've been suffering through iPhoto since it came out. I say "suffering" because it frequently crashes, behaves poorly, uses 95% of one CPU, and corrupts its library. Version after version, from 1 through 11, it's been having issues. It totally corrupted my wife's library on two occasions (luckily after many weeks of work each time, we were able to recover it), and mine as well.
    After using iPhoto Library Manager to recreate my wife's library, she stopped having issues (iPhoto's "rebuild" option didn't do the trick). After my corruption got particularly bad, I did the same with mine. It took about 3 days to rebuild, and though it still uses 50-95% of one CPU all the time, I noticed something that was working correctly again.
    One of the many problems was that when I rotated a photo from what I'll call the "many photo" view, the photo would disappear completely for about 2 seconds before reappearing rotated. Then, often times clicking it would show the rotated image in the wrong dimensions or such for the first few attempts before sorting itself out about 5-6 seconds later. After rebuilding the library from scratch, this problem disappeared! If you rotate an image from the "many photo" view, it instantly rotated - no disappearing and reappearing.
    It also took up 45GB less size after rebuilding.
    So everything was great for like 3 days, and then I was watching a video I didn't want to keep in "single photo" view, and so I hit command-option-delete to remove it from my library. It gave me the ERROR BEEP and didn't remove the video. At the top it says 0 of 460. I went to "multiple photo" view and deleted it in the same way there, and it deleted it this time, BUT the rotation issue started up and has stayed with it since.
    So that might just be the source of the recurring corruption in the iPhoto Library. I post this in a vain attempt to get the word out to an Apple programmer to finally fix this (and other) eternal iPhoto bugs.
    And yes, I've tried all the command-option-launch iPhoto utilities. If anyone has any ideas on how to fix this without recreating my library each time with iPhoto Library Manager, I'd be happy to hear it.

    1
    So that might just be the source of the recurring corruption in the iPhoto Library. I post this in a vain attempt to get the word out to an Apple programmer to finally fix this (and other) eternal iPhoto bugs.
    this accomplishes nothing since this is streictlhy a user to user volenteer forum as described in the TOU - it is NOT a place Apple monitors for bug reports - to report to Apple  iPhoto menu ==> provide iPhoto feedback
    2 -
    I've been suffering through iPhoto since it came out.
    The soluiton to this is to fix the iPhoto library and lear how to use iPhoto correctly or to use a different program that you do like - use of iPhoto is not madated
    LN

  • Deleting Field from CRM Field Catalog

    I added a custom field to Item level of the CRM Field Catalog by mistake. Now I want to delete it and then add it to the header structure.
    When I try to delete the field, its giving error message "Condition tables already exist for field 2". I understand the field is already being used as we did do the download.
    How do I tackle this scenario..How to I delete this field?
    Ravi

    Easwar - Thanks for your suggestion.
    I deleted the condition tables(which was using the field) with the help of basis people as I was not able to delete.
    What do you mean by conditions? You want me to delete condition type? Can you give me more information.
    What i tried in the mean time was, I asked ther R/3 pricing guy to remove the access sequence using this field. Then I did a download from R/3to CRM...So with this step and the deletion of the condition table, it didn;t solve my problem. It still gave me the same error when I tried to delete the field.
    Appreciate your help.
    Ravi

  • Deleting fields from field group in Infoset

    Hi Geeks,
    I have created an infoset query. Based on tables
    VBAK - Sales order header data
    VBAP - Sales order item data
    VBUP - Sales document item status
    VBPA - Parnter function table.
    I created a custom BW data-source in RSO2 based on this infoset query.
    Now I want to delete tables (VBPA) or entries (VBPA-KUNNR) in field groups from infoset query.
    & system is not allowing me to do this saying
    System says "VBPA-KUNNR" is used in queries.
    Can anybody please suggest me any way to change the infoset & inturn datasource created over it.
    Thanx in advance.
    Monica

    Go to SQ02. Enter your infoset. Click on 'Role/User Group Assignment'. Make a note of all the user group that this infoset is assigned to (checkbox is checked means it is assigned to that group).
    Now go to SQ01. In the menu, 'Edit-->Other user group', enter the user group (repeat this process if you have more than one user group assigned) that you determined before. Now you will see all(if any) the queries. Select the query and delete it by clicking the trash can icon.

  • Deleting data from a table view

    I have a data source that is in dictionary form (for why, see here). I have the following code that gets called in the commitEditing method for the table view:
    - (void)removeObjectFromListAtIndex:(NSIndexPath *)indexPath {
    NSMutableDictionary *mutableDataDictionary = [[NSMutableDictionary alloc] initWithDictionary:[listContent mutableCopy]];
    dNSLog (@"listContent: %@, mutableDataDictionary: %@", listContent, mutableDataDictionary);
    dNSLog (@"indexPath.section is %d", indexPath.section);
    NSString *section = [[NSString alloc] init];
    switch (indexPath.section) {
    case 0:
    dNSLog (@"Case Zero");
    section = @"A";
    break;
    case 1:
    dNSLog (@"Case One");
    section = @"B";
    break;
    case 2:
    section = @"C";
    break;
    case 3:
    section = @"D";
    break;
    case 4:
    section = @"E";
    break;
    case 5:
    section = @"F";
    break;
    case 6:
    section = @"G";
    break;
    case 7:
    section = @"H";
    break;
    case 8:
    section = @"I";
    break;
    case 9:
    section = @"J";
    break;
    case 10:
    section = @"K";
    break;
    case 11:
    section = @"L";
    break;
    case 12:
    section = @"M";
    break;
    case 13:
    section = @"N";
    break;
    case 14:
    section = @"O";
    break;
    case 15:
    section = @"P";
    break;
    case 16:
    section = @"Q";
    break;
    case 17:
    section = @"R";
    break;
    case 18:
    section = @"S";
    break;
    case 19:
    section = @"T";
    break;
    case 20:
    section = @"U";
    break;
    case 21:
    section = @"V";
    break;
    case 22:
    section = @"W";
    break;
    case 23:
    section = @"X";
    break;
    case 24:
    section = @"Y";
    break;
    case 25:
    section = @"Z";
    break;
    default:
    dNSLog (@"Default");
    section = nil;
    break;
    if (mutableDataDictionary) {
    NSMutableArray *arrayForNameSection = [[[NSMutableArray alloc] initWithArray:[mutableDataDictionary objectForKey:section]] mutableCopy];
    [arrayForNameSection removeObjectAtIndex:indexPath.row];
    NSArray *array = [[NSArray alloc] initWithArray:arrayForNameSection];
    [mutableDataDictionary setObject:array forKey:section];
    listContent = [NSDictionary dictionaryWithDictionary:mutableDataDictionary];
    [array release];
    [arrayForNameSection release];
    [section release];
    [mutableDataDictionary release];
    The code works flawlessly the first time through, but when I try to delete a second item, it crashes with a CALayer exception involving copyWithZone. The analyzer in Xcode (3.2) is telling me something's going on with the NSString section, but I'm not sure what...I'd appreciate any help!
    BTW, Ray if you happen to get this, the code is identical to what I emailed you, except that I added this code. The method name is the same.

    I have a data source that is in dictionary form (for why, see here). I have the following code that gets called in the commitEditing method for the table view:
    - (void)removeObjectFromListAtIndex:(NSIndexPath *)indexPath {
    NSMutableDictionary *mutableDataDictionary = [[NSMutableDictionary alloc] initWithDictionary:[listContent mutableCopy]];
    // What happens to the mutableCopy? Looks like a leak.
    dNSLog (@"listContent: %@, mutableDataDictionary: %@", listContent, mutableDataDictionary);
    dNSLog (@"indexPath.section is %d", indexPath.section);
    NSString *section = [[NSString alloc] init];
    // Memory leak because in all cases you re-assign the variable.
    // Arrrgggg!
    NSString * section = nil;
    if((indexPath.section >= 0) || (indexPath.section < 26))
    section = [NSString stringWithFormat: @"%c", 'A' + indexPath.section];
    switch (indexPath.section) {
    case 0:
    dNSLog (@"Case Zero");
    section = @"A";
    break;
    case 1:
    dNSLog (@"Case One");
    section = @"B";
    break;
    case 2:
    section = @"C";
    break;
    case 3:
    section = @"D";
    break;
    case 4:
    section = @"E";
    break;
    case 5:
    section = @"F";
    break;
    case 6:
    section = @"G";
    break;
    case 7:
    section = @"H";
    break;
    case 8:
    section = @"I";
    break;
    case 9:
    section = @"J";
    break;
    case 10:
    section = @"K";
    break;
    case 11:
    section = @"L";
    break;
    case 12:
    section = @"M";
    break;
    case 13:
    section = @"N";
    break;
    case 14:
    section = @"O";
    break;
    case 15:
    section = @"P";
    break;
    case 16:
    section = @"Q";
    break;
    case 17:
    section = @"R";
    break;
    case 18:
    section = @"S";
    break;
    case 19:
    section = @"T";
    break;
    case 20:
    section = @"U";
    break;
    case 21:
    section = @"V";
    break;
    case 22:
    section = @"W";
    break;
    case 23:
    section = @"X";
    break;
    case 24:
    section = @"Y";
    break;
    case 25:
    section = @"Z";
    break;
    default:
    dNSLog (@"Default");
    section = nil;
    break;
    if (mutableDataDictionary) {
    NSMutableArray *arrayForNameSection = [[[NSMutableArray alloc] initWithArray:[mutableDataDictionary objectForKey:section]] mutableCopy];
    // Get rid of this copy too.
    [arrayForNameSection removeObjectAtIndex:indexPath.row];
    NSArray *array = [[NSArray alloc] initWithArray:arrayForNameSection];
    [mutableDataDictionary setObject:array forKey:section];
    listContent = [NSDictionary dictionaryWithDictionary:mutableDataDictionary];
    // This is autoreleased. You might want to retain it.
    [array release];
    [arrayForNameSection release];
    [section release];
    [mutableDataDictionary release];

  • Delete fields in Address Book view

    I imported my Outlook contacts into AB via .txt file. Now all of the address cards that I have just imported have bithdays and anniversaries with the same date. These fields do not appear on my template in preferences. Is there a way to delete these 2 fields on all of my cards?
    Thanks

    Hi Rob,
    What I meant to post was:
    set HitDate to (date "Sunday, November 21, 1999 00:00:00") + 12 * hours
    tell application "Address Book"
    -- Loop through people
    repeat with thisPerson in people
    -- Loop through element
    repeat with thisDate in (custom dates of thisPerson)
    -- Take action
    if value of thisDate is equal to HitDate then
    delete thisDate
    end if
    end repeat
    end repeat
    end tell
    This doesn't work (the items are not deleted), but doesn't error.
    It seems to me to be a bug in Address Book.
    John M

  • Adding fields to a standard view.

    Hi All,
    I have added an 'append structure' with some new fields to table TVSTZ. Now i want to add corresponding fields to a view V_TVSTZ.
    I am not able to find anything like append structure to the view in SE11.
    Is there a method to add fields or do we have to re-generate the view?
    Regards,
    Sameer

    Hello Sameer
    If you really want to add the fields to view V_TVSTZ then you need to modify this view which I do not recommend. Instead, create your own view (e.g. ZV_TVSTZ) and define a z-parameter transaction for calling this view.
    Regards
      Uwe

Maybe you are looking for

  • Have a transaction propagated to two remote machines!!!(URGENT!!!)

              Can we have a transaction propagated to two ejb's in different machines if we have database interaction in both?           I tested it out with Account beans (examples)           deployed on two different(remote) servers both servers having

  • How do I implement this in BI Integrated Planning

    Hi All, I need to capture data in the following format I have data of Deliveries Qty by Plant & Material Type in DeliveredQty. The DeliveredQty is the delivqty as of a given date. I need to based on the DeliveredQty calculate the DelivQtyMonth. So if

  • JSP debugging plugin for eclipse 3.2

    Hi, I was looking for a plugin for eclipse 3.2 which can be used for JSP debugging purpose(not myeclipse). If any thing of such sort exists?

  • Need my questions cleared up and they treated me in a rude way

    Hello! I have had a very frustrating experience with Comcast customer service and billing department and my service hasn't started yet!! I am afraid I will have to cancel or opt out of your services.On Monday I contracted an online offer. Here's the

  • Setting Preferences--Structured Authoring cause FM11 to crash

    Hello, I changed Preferences setting to Structured Authoring.  I was prompted to restart FrameMaker 11.x. When I tried to open a file, I got this error message: Any suggestions on what I might have done wrong?  If there is a bug or workaround for thi