Delete fields without names

Hi,
I am using GuiXT for the first time to enhance some of the screens in our SAP system to make them more user friendly. I am trying to delete most of the fields in the screen ME55 - Collective Release (program: RM06BF00 screen: 1000). The problem is trying to delete multiple fields on the one line from the screen eg: Document Type has 2 selection fields and a multiple selection box. I have tried using: DEL [Document Type] "-Triple" but this does not delete all of the line; it leaves 1 field and the multiple selection box. Can you advise?
Thanks,
Rathul.

Hi,
There are several ways to delete fields without names:
(1) you use direct coordinates:
// delete pushbutton in "document type" line
del #[11,78]
I would avoid this possibility, since any changes in the ABAP report could change the position of this button as well
(2) you use relative positions with respect to [Document type]:
// delete pushbutton in "document type" line
del [Document type]+(0,78)
This is much better, since the vertical position (column) of the button does not change, if more or less parameters are defined in the report.
(3) You delete the whole line
// delete line containing the "document type" selection
del [Document type] [Document type]+(0,100)
This is fine if you really want to delete the whole line.
Reward Points if found helpfull..
Cheers,
Chandra Sekhar.

Similar Messages

  • How to get the name of a field without specifying it as a string (somehow v

    Is it possible to get the name of a field (or method) somehow via the class in which it is declared?
    The reason why I ask is, that quite often the name of a field is important, because the name is the anchor for further processing, like for example when using reflection (e.g. Class.getfield(“NameOfTheField”)).
    Assume you have class FooSimple with the field “String firstName”.
    Now you would do something like this:
    Class<FooSimple> cls = FooSimple.class;
    Field f = cls.getField("firstName");
    The problem is, that the string “firstName” is kind of “hard coded”. When the name of the field in class FooSimple changes (e.g. to “theFirstName”), the invocation will not work anymore when you forget to change the string too.
    I think it would be very helpful to have access to the name of the field directly via the class by doing something like this.
    Class<FooSimple> cls = FooSimple.class;
    Field f = cls.getField(FooSimple.firstName.fieldName);
    The Java Compiler would then resolve “FooSimple.firstName.fieldName” to the string “firstName”. When later the name of the field is changed, the IDE would change the name everywhere where it is used. So if the name of the field would be changed to “theFirstName” the IDE would also change the statement to
    Class<FooSimple> cls = FooSimple.class;
    Field f = cls.getField(FooSimple.theFirstName.fieldName);
    A technique like this would be in my opinion much more safety and more generic.
    Any ideas?
    Best Regards.

    Well, I think the discussion is going in a wrong direction because the original issue was not to discuss if it is worth coding some helper classes or a framework or that like. Let me bring it back to my original point.
    Basically you can reduce my original question to this:
    Currently it is possible to use the reflection API on a class level without specifying the name of the class with a string constant.
    My issue is, that I think it would be a nice extension for Java, if the same would be possible for field variables of a Java class. Currently the only way you can do this is by specifying the field variable with a string constant.
    Let me bring some motivations which brought me to this issue.
    Assume you have an entity bean which represents a DB table and you use Java Persistence (either JPA or something like Hibernate). Then you would have a class looking like this (very simple sample to make this reply shorter).
    @Entity
    @Table(name = "PERSON")
    public class Person implements Serializable {
         @Column(name = "NAME")
         private String name;
    // … constructor, getter, setter, etc. not listed here
    }The whole issue of the design of JPA is, that such entity beans represent the mapping between the object model and the DB model, the mapping is expressed with annotations.
    Okay, now let’s assume you write a query in Query Language, e.g.
    String sql = “select p from Person p where name = :name”;“name” is the name of the field variable, “:name” is the parameter you later set with “Query.setParameter” method.
    What is not so nice is the fact, that you use the name of the class and the name of the field variables “hardcoded” to construct the query. Now you could think that basically this information is part of your entity class. First you start with the name of the class (i.e. the table name) to decouple this “hardcoding”.
    You could write instead:
    String sql = “select p from “ + Person.class.getSimpleName() + “ p where name = :name”;This is really nice, because whenever you change the name of your Person class, this change happens automatically for the sql statement as well.
    I think the next thoughts are obvious, now, since you have decoupled the “hardcoded” part of the name of the class, you would like to do the same for the names of the field variables. But now you are stuck, there is no way to do this using a similar technique like for the name of the class. Either you stay with the query as it is now, or, to make it a little bit better, you code string constants for the field variables and use them. This issue brought me to the point that I think it would be nice to have the possibility to get the name of a field variable in a similar way as you can get it for the name of the class.
    Conceptually it is just to go one level deeper, i.e.
    first level is to get the name of a class
    second level is to get the name of the field variable of a class.
    Another sample would be, if you want to code something by using reflection. You have perfectly access to the reflection API starting at the class level like Person.class.allTheNiceReflectionMethods. There is no need to specify the class first with a string constant first, you directly start with the class, you can even be generic and just work on the Class.class level and still have access to all these nice methods to get out the information you need.
    But if you need to start with a very specific field variable (like in the sample above), you must go by using a string constant like Person.class.getDeclaredField(“name”).
    So basically I think that there exist already millions of lines of Java code where a field variable is specified for further processing, especially in combination with the reflection functionality and everywhere the field variables are specified by these string constants in double quotes. I would assume, that everyone has the same problem, once changing the name of the field variable means to take care that also the content of the string which specifies the name of the field variable is changed.
    I am wondering why one of the replies commented, why the name of a field variable is changed, it sounds to me that this is something which basically never happens. I don’t know, I think that this happens actually quite often and thanks to all these nice IDEs and their “rename” feature this is usually no problem. From time to time names of classes change, name of field change, yes, they are often even completely rewritten, new field variables come in some are deleted, whatever it is. The way I currently can access the name of a class makes the code safer, because when I consequently go with Class.class.getSimpleName I always know, that when I rename the class all these statements are changed too If I delete such a class, I at least get a compile error.
    My very simple issues is, that I think it would be nice to have the same comfort not only on a class level but also on the level of field variables, nothing more, nothing less.
    To be honest, I have not browsed the forum yet if such an issue was already raised by other people (I will do this now), but somehow it is hard to imagine, that I am the first one.
    Best regards.

  • On deleting an item "Name" column of recycle bin is updating with data in one of the custom column instead of title field in SP 2013 Custom list

       On deleting an item, "Name" column of recycle bin is updating with data in one of the custom column instead of title field in SP 2013 Custom list.
    Thanks, Chinnu

    Hi,
    According to your post, my understanding is that you want to update title field in recycle bin with other field value of the item.
    We can use the ItemDeleting Event Receiver to achieve it.
    While item is deleting, replace title field value with other field value using ItemDeleting event receiver, then in the recycle bin, the title value will replace with other field value.
    However, there is an issue while restore the item from the recycle bin, the item title would be replaced.
    As an workaround, we can create a helper field in the list to store the title field value while deleting, then replace back while restoring using
    ItemAdded Event Receiver.
    I have made a simple code demo below to achieve this scenario, it works like a charm(the
    Test2 field is the helper field, you can hide it in the list), you can refer to it.
    public override void ItemDeleting(SPItemEventProperties properties)
    properties.ListItem["Test2"]=properties.ListItem["Title"];
    properties.ListItem["Title"]=properties.ListItem["Test1"];
    properties.ListItem.Update();
    base.ItemDeleting(properties);
    /// <summary>
    /// An item was added.
    /// </summary>
    public override void ItemAdded(SPItemEventProperties properties)
    base.ItemAdded(properties);
    properties.ListItem["Title"] = properties.ListItem["Test2"];
    properties.ListItem.Update();
    Thanks & Regards,
    Jason
    Jason Guo
    TechNet Community Support

  • Loading Historical data to the new field without deleting the data in cube

    Dear BI Experts,
    I have enhanced a new field to the Generic data source in BI 7.0 .
    I need to load historical data to the newly  appended field.
    As we are having very huge data it is not possible to delete and do init again.
    Is there any  other possibility to load the historical data for the new appeneded field without deleting the old requests?
    Thanks for your Kind  help.
    Kind Regards,
    Sunil

    Dear Sushant,
    Thanks for your reply.
    But I am just wondeing if there is any possibility of loading historical data for new field using Remodelling  concept
    with out deleting old requests.
    I do not know about Remodelling conept but heard that it is not recommeneded to use.
    Can you please suggest and help.
    Thanks and Regards,
    Sunil Kotne

  • How to delete tune without iTunes

    Hi,
    I have a problem, I have some old podcast which I like to keep on my harddrive. Then I got the ipod, so I want to store the podcast episodes there. But dragging direct from Finder to ipod show me it copied but didn't appear under podcast. I found out after a few trial and error that I should have added the podcast to iTunes before dragging into ipod. So...
    Good : Finder -> iTunes Podcast -> iPod
    Bad : Finder -> iPod
    So now those files I drag direct from finder into ipod are in the ipod but I can't get rid of them, cause they don't show up in the iTunes list. It shows up in Senuti and iPodDisk, but both don't allow me to delete the song. Now I can't drag those podcast episodes in to ipod from iTunes podcast anymore. It somehow recognise that the file exist on the ipod but wouldn't list it on the podcast.
    So, back to the question, How to delete tune without iTunes?? thanks

    Did you try using the Finder? I'm trying to accomplish similar management tasks. Finder seems far superior to itune management, for podcasts management. This might work-- First quit itunes.
    Use a finder window, not spotlight, search itunes and single-click on any folder by that name. Notice which of these files is in your startup disc (in case you have other bootable drives connected)-- Notice the little icons on the bottom of the Finder window. Double click on "iTunes Music" at the window bottom. A new Finder window should open. I recomend the list mode, selectable at the top left of Finder window. Now you should be able to view all your itune- contents on the computer. It seems these files can be deleted, but one must remeber to empty trash before going further. Unfortunately this approach won't allow adding new folders that will show up in itunes.

  • 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.

  • Specify database field's name dynamically in a select statement

    Hi to all!!
    I have the following problem:
    I got a paraneters statement where the user is to choose the month of the year,once i have the month, i need to make a query on a database(select field_name) of a field whose name deppend on the month that the user chose before, is it possible?
    What I need? I think i can do it using field simbols but I've never worked with field simbols and I have no time to learn it now.
    Thanks everybody

    Hi,
    <b>Below code is the Simple one:</b>
    <b>DATA: DYN_FIELD(15)
    SELECT single (DYN_FIELD)
    into corresponding fields of <IT_TABLE>
    from <TABLE> where XXX = YYY.</b>
    This is the complex program, have a look at it ...
    REPORT zdany_dynamic_select.
    * We use some parameters to dynamically control the select, this is not very
    * clever but this is just a test program !!
    PARAMETER : p_tabnam TYPE tabname DEFAULT 'SFLIGHT',
                p_selfl1 TYPE edpline DEFAULT 'CARRID',
                p_selfl2 TYPE edpline DEFAULT 'CONNID',
                p_selfl3 TYPE edpline DEFAULT 'FLDATE',
                p_selfl4 TYPE edpline DEFAULT 'PRICE',
                p_selfl5 TYPE edpline DEFAULT 'CURRENCY',
                p_where1 TYPE edpline DEFAULT 'PRICE > 300',
                p_where2 TYPE edpline DEFAULT 'AND CURRENCY = ''EUR'''.
    FIELD-SYMBOLS : <lt_outtab> TYPE ANY TABLE,
                    <ls_outtab> TYPE ANY,
                    <l_fld> TYPE ANY.
    DATA: lt_where    TYPE TABLE OF edpline,
          lt_sel_list TYPE TABLE OF edpline,
          lt_group    TYPE TABLE OF edpline,
          l_having    TYPE string,
          l_wa_name   TYPE string,
          l_sel_list  TYPE edpline,
          dref        TYPE REF TO data,
          itab_type   TYPE REF TO cl_abap_tabledescr,
          struct_type TYPE REF TO cl_abap_structdescr,
          elem_type   TYPE REF TO cl_abap_elemdescr,
          comp_tab    TYPE cl_abap_structdescr=>component_table,
          comp_fld    TYPE cl_abap_structdescr=>component.
    TYPES: f_count TYPE i.
    * Creation of the output table including a non standard field, f_count
    * see ABAP FAQ #14 for more information on this topic
    struct_type ?= cl_abap_typedescr=>describe_by_name( p_tabnam ).
    elem_type   ?= cl_abap_elemdescr=>describe_by_name( 'F_COUNT' ).
    comp_tab = struct_type->get_components( ).
    * We remove the unnecessary fields
    LOOP AT comp_tab INTO comp_fld.
       IF comp_fld-name <> p_selfl1 AND
          comp_fld-name <> p_selfl2 AND
          comp_fld-name <> p_selfl3 AND
          comp_fld-name <> p_selfl4 AND
          comp_fld-name <> p_selfl5.
             DELETE TABLE comp_tab WITH TABLE KEY name = comp_fld-name.
       ENDIF.
    ENDLOOP.
    comp_fld-name = 'F_COUNT'.
    comp_fld-type = elem_type.
    APPEND comp_fld TO comp_tab.
    struct_type = cl_abap_structdescr=>create( comp_tab ).
    itab_type   = cl_abap_tabledescr=>create( struct_type ).
    l_wa_name = 'l_WA'.
    CREATE DATA dref TYPE HANDLE itab_type.
    ASSIGN dref->* TO <lt_outtab>.
    CREATE DATA dref TYPE HANDLE struct_type.
    ASSIGN dref->* TO <ls_outtab>.
    * Creation of the selection fields and the "group by" clause
    APPEND p_selfl1 TO lt_sel_list.
    APPEND p_selfl1 TO lt_group.
    APPEND p_selfl2 TO lt_sel_list.
    APPEND p_selfl2 TO lt_group.
    APPEND p_selfl3 TO lt_sel_list.
    APPEND p_selfl3 TO lt_group.
    APPEND p_selfl4 TO lt_sel_list.
    APPEND p_selfl4 TO lt_group.
    APPEND p_selfl5 TO lt_sel_list.
    APPEND p_selfl5 TO lt_group.
    APPEND 'COUNT(*) AS F_COUNT' TO lt_sel_list.
    * creation of the "where" clause
    APPEND p_where1 TO lt_where.
    APPEND p_where2 TO lt_where.
    * Creation of the "having" clause
    l_having = 'count(*) >= 1'.
    * THE dynamic select
    SELECT          (lt_sel_list)
           FROM     (p_tabnam)
           INTO CORRESPONDING FIELDS OF TABLE <lt_outtab>
           WHERE    (lt_where)
           GROUP BY (lt_group)
           HAVING   (l_having)
           ORDER BY (lt_group).
    * display of the results
    LOOP AT <lt_outtab> ASSIGNING <ls_outtab>.
       LOOP AT comp_tab INTO comp_fld.
          ASSIGN COMPONENT comp_fld-name OF STRUCTURE <ls_outtab> TO <l_fld>.
          WRITE: <l_fld>.
       ENDLOOP.
       SKIP.
    ENDLOOP.
    Have a look at the link, this link will have lot of examples :-
    http://www.susanto.id.au/papers/DynOpenSQL.asp
    Regards
    Sudheer

  • This past month I have been having problems connecting to my home wireless connection. Previously I had no problems whatsoever. I have tried unplugging the wireless router, turning off the wirless airport, deleting the network name from my list of server

    This past month I have been having problems connecting to my home wireless connection. I have a MacBook Pro OSX Version 10.6.8. Previously I had no problems whatsoever. I have tried unplugging the wireless router, turning off the wirless airport, deleting the network name from my list of servers and trying to reconnect this way. These methods have worked temporarily, but the same problem keeps coming back. Most of the time my personal wireless connection does not even come up among the list of available networks. My fellow flatmates have PCs and both of them are able to connect to the network without problem.
    The router is a d-link model DIR-615. I am not tech savy, so if any other information need to be provided in order to better understand my situation, please let me know.
    Please help me!

    If I open the list of networks in a window it says "connection timeout," but if I just select it from the drop down it tries for awhile and then stops with no prompt. When I try to run network diagnostics it says "sorry, we can't connect to the internet" (or some solution-free variation of that)

  • Can't delete the Artist Name

    In one of my imported songs (from an LP) I decided that the Artist Name is wrong. I don't know the name, so I just deleted it from the Artist field in the Info window, and clicked Okay. But the name reappears the next time I open the information window. Same thing when I try to delete the Artist Name in list view. I highlight it and hit the delete key, but it comes back as soon as I click out of it. This is the only song on the entire album that does that. I can delete the Artist name on any other song and it stays deleted.

    I just asked a similar question, but in reading your question figured out the answer to mine.  The problem comes from the source being the LP.  Are you running windows?  If so, does the album show up in your music folder?  If so, first delete the song from iTunes. Then click on the song, then "organize," then "properties," then "details", then change whatever you want, then reimport it into iTunes.

  • Entering numeric values in CHAR field without quotes

    We are upgrading from Oracle 9i to 10g. In 9i we were able to add numeric data into a CHAR field without single quotes like
    insert into table (id, name, ...) values (1, 'some name', ....)
    When we migrated to 10g, we are getting database errors.
    Any ideas on what can be causing this and why it worked on 9i and not on 10g?
    Thanks

    Got an example, it seems to be working fine for me.
    ME_XE?create table tttttest( char_col char (5));
    Table created.
    Elapsed: 00:00:00.46
    ME_XE?insert into tttttest values (111);
    1 row created.
    Elapsed: 00:00:00.65
    ME_XE?select * from tttttest;
    CHAR_COL
    111
    1 row selected.
    Elapsed: 00:00:00.39
    ME_XE?
    ME_XE?@version
    BANNER
    Oracle Database 10g Express Edition Release 10.2.0.1.0 - Product
    PL/SQL Release 10.2.0.1.0 - Production
    CORE    10.2.0.1.0      Production
    TNS for Linux: Version 10.2.0.1.0 - Production
    NLSRTL Version 10.2.0.1.0 - Production
    5 rows selected.
    Elapsed: 00:00:00.57
    [pre[                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               

  • Delete a Profile name

    Hello,
    during the import of a Role, the CR logs reports :
    Profile xxxx for role yyy was not imported             
    Errors occurred during post-handling PRGN_AFTER_IMP_ACTGROUP_ACGR for ACGR L
    In the PFCG of destination system, the yyy Role appears without a Profile name (Authorization -> .
    But looking in the SUIM, the Profile name xxx is linked to yyy Role.
    I tried to delete the role and import again the CR, but i had the same error.
    Can i delete a Profile Name ?
    Thanks.

    Hi Giulio,
    Please refter to SAP Note : 923468
                                1008074
    Hope it helps.
    please reward points if it is useful.
    Thanks & Regards,
    Santosh
    Message was edited by:
            NAVABOTHU SANTOSH KUMAR

  • BCC Deployment without name, project id

    Hi,
    What is a BCC deployment without name and project id?
    It has only deployment id in it and it hangs indefinitely.
    How it can start in BCC production?
    Can it cause catalogue sku deletion?
    Thanks,

    Hi,
    What is a BCC deployment without name and project id?
    It has only deployment id in it and it hangs indefinitely.
    How it can start in BCC production?
    Can it cause catalogue sku deletion?
    Thanks,

  • Delete saved user name

    I accidentally saved a user name containing a capital letter instead of a small letter. Now I can't log in. How can I correct or delete the user name?

    Thanks! I can now enter the correct log in name without the incorrect name being auto filled. The incorrect name is still appearing as an optional log in name. Is there a way to delete the incorrect name so it doesn't appear when I try to log in?

  • How to get a parameter without name in JSP?

    hi everyone, My question is how to get a parameter without name in JSP? I have two pages, 1.html and 2.jsp.
    in 1.html, I embeds some Javascript codes in HTML contents like below ( changed < to ( , > to )):
    function toSubWin( obj )
    window.open('test.jsp?'+obj.firstChild.toString(),'sw');
    (a onClick='toSubWin(this)'style="background:green")focus(/a)
    How can I get the parameter in 2.jsp?
    THANK YOU IN ADVANCE!!

    Does obj.firstChild.toString() evaluate to a "name=value" type of String ?
    Or better what does obj.firstChild.toString(),'sw' evaluate to ? It has to end up in a name=value format, else its just gibberish appended to the url.
    In the jsp, you have to obviously know the name to get the parameter. There's a getParameterNames() method which returns you a Collection of parameter names as Strings, you could probably use that to retrieve the param values.
    Then there's a getParameterMap() method which returns an immutable Map containing parameter names as keys and parameter values as map values. The keys in the parameter map are of type String. The values in the parameter map are of type String array.
    However to what ends you employ them in a program which doesnt know its inputs is a different story.
    cheers,
    ram.

  • How to delete the contact name in iMessage memory on iphone5

    Please help how can I delete the contacts name under iMessage memory?
    Eg.: when I start to sent text messages to person name start with K which even contacts are already been deleted from my
            Contact list still pops up.

    After MANY , MANY blogs and discussions and failed attempts I've figured this out. When you go to write a message the contact that was deleted still shows up next to the contact is a letter I with a blue circle all you have to do is tap it then it gives you the option to delete recent contact and lord behold that contact is permanently gone no back up syncing needed or anything !!!

Maybe you are looking for