What is the new coding for types ??

I do when I change one of my programms a check to see if all coding is still valid
now I have
types: BEGIN OF ty_zcs_operatielijst_alv.
       include structure zcs_operatielijst_alv.
types: cellcolors TYPE lvc_t_scol.
types: END OF ty_zcs_operatielijst_alv.
but the check says
The current ABAP command is obsolete                                                 
Within classes and interfaces, you can only use "TYPE" to refer to ABAP Dictionary  
types, not "LIKE" or "STRUCTURE".                                                   
Internal Message Code: MESSAGE G/B                                                   
(The message cannot be hidden using pseudo-comment "#EC .., bzw. durch SET          
but when I change it to type it is also not good ??
and when I press F1 on types I don't get the message that include structure is obsolete coding in types ?
where can I found out how to code this correctly ?
kind regards
arthur

>
Rich Heilman wrote:
> In the ABAP OO Context, you can not use the STRUCTURE.  Instead use TYPE.
>
>    
TYPES: BEGIN OF ty_zcs_operatielijst_alv.
>             INCLUDE TYPE zcs_operatielijst_alv.
>     TYPES: cellcolors TYPE lvc_t_scol.
>     TYPES: END OF ty_zcs_operatielijst_alv.
>
>
> Regards,
> Rich Heilman
thanks, I only tried below coding and haven't thought of combining include with type
TYPES: BEGIN OF ty_zcs_operatielijst_alv.
            TYPE zcs_operatielijst_alv.
    TYPES: cellcolors TYPE lvc_t_scol.
    TYPES: END OF ty_zcs_operatielijst_alv.
kind regards
arthur
Edited by: A. de Smidt on Mar 26, 2010 9:02 AM

Similar Messages

  • What would the syntax be for type "select"?

    This onload function works great for type "text" - what would the syntax be for type "select"? or is there an example?
    (Vikas' example pg 227)
    window.onload=function () {
    var text=document.getElementsByTagName('input');
    for (var j=0;j<text.length;j++) {
    var ip=text[j];
    if (ip.type=="text") {
    ip.onchange=function () {
         var td=html_CascadeUpTill(this,'TD');
         var tr=html_CascadeUpTill(this,'TR');
         // Getting the value of the PK
         var pk=tr.lastChild.getElementsByTagName('input')[1].value;
         alert(pk);
         var l_cellindex=td.cellIndex;
         var l_column=g_headers[l_cellindex].id;
         var app=html_GetElement('pFlowId').value;
         var pg=html_GetElement('pFlowStepId').value;
         var get=new htmldb_Get(null,app,'APPLICATION_PROCESS=session_auto_update',pg);
         get.add('G_ITEM1',l_column);
         get.add('G_ITEM2',this.value);
         get.add('G_ITEM3',pk);
         alert('column='+l_column+',value='+this.value+',pk='+pk);
         gReturn=get.get();
         if (gReturn) { alert(gReturn); this.focus();}
         get=null;
    </script>

    Here it is... Do I need any adjustments?
    var selectlist=document.getElementsByTagName('select');
    for (var k=0;k<selectlist.length;k++) {
    var select_ip=selectlist[k];
    //alert(select_ip.type);
    if (select_ip.type=="select-one") {
    //alert(select_ip.type);
    select_ip.onchange=function () {
    var td=html_CascadeUpTill(this,'TD');
    var tr=html_CascadeUpTill(this,'TR');
    // Getting the value of the PK
    var pk=tr.lastChild.getElementsByTagName('input')[1].value;
    //alert('PK='+pk);
    var l_cellindex=td.cellIndex;
    var l_column=g_headers[l_cellindex].id;
    var app=html_GetElement('pFlowId').value;
    var pg=html_GetElement('pFlowStepId').value;
    var get=new htmldb_Get(null,app,'APPLICATION_PROCESS=session_auto_update',pg);
    get.add('G_ITEM1',l_column);
    get.add('G_ITEM2',this[this.selectedIndex].value);
    get.add('G_ITEM3',pk);
    //alert('COLUMN='+l_column+',VALUE='+ this[this.selectedIndex].value+',PK='+pk);
    gReturn=get.get();
    if (gReturn) { alert(gReturn); this.focus();}
    get=null;
    }

  • What are the new terms for renewal of payment for converting pdf to word?

    What are the new terms for renewal of payment for converting pdf to word?

    Hi joannep59572680,
    The terms haven't changed recently. ExportPDF subscriptions renew annually, unless your turn off Auto Renewal before your renewal date.
    Do you have a specific concern about your subscription?
    Best,
    Sara

  • What are the new features for the latest version ...

    what are the new features for the latest version of N6300? can you cite me the newest features?

    The latest update was just bug fixes and improved stability, no new features. That is nearly always the case with series 40 phones like the 6300.
    Nokia do not make the changelogs available publicly but often they do appear on unofficial sites. Searching google may provide you with more detailed info that cannot be posted here.

  • I just got iTunes 11.0. I'm used to being able to return to the beginning of a song by hitting 'enter'. What's the new command for skipping to the head of a song?

    I just got iTunes 11.0. From all the previous versions I'm used to being able to return to the beginning of a song by hitting 'enter'. What's the new command for skipping to the head of a song?

    Mmmmmm. Works OK for me. I've tried every variation I can think of. Play from playlist, play from library, shuffle on, shuffle off, single song repeat on/off, playlist repeat on/off.
    WAIT !!   Now I've found it  !!  It happens when I have the sidebar hidden and play a playlist from the PLAYLIST pane. Hitting Enter then takes me to the FIRST song in the playlist.
    WAIT AGAIN !!! In the time it took to write the above, it changed again and works properly. Well properly is not really true. It works if I stay in the PLAYLIST pane. If I switch to the SONGS, ALBUMS or ARTISTS pane, enter does nothing. BUT, if I switch to the GENRES pane, enter starts the first song there. AND, if I've switched away from the PLAYLIST pane and switch back, enter then starts the first song in the playlist.
    WOW !! That was a crazy ride. I think we can safely say that there is something awry.

  • What does the new update for the ipod do?

    I keep looking. I have an Ipod from 2003 20gb. Iv'e never updated the software so I found the updates but I cant find anywhere that states what the updates do for my Ipod Im tired of looking. Please help!

    Hi Jeff,
    I also have an old 20GB i-Pod and I too wanted to know what was in the new version, but like you I couldn't find a list of features or bug fixes or whatever.
    I was happy with the i-Pod and I believe in the old saying "if it ain't broke, don't fix it", however, I also heard that the new i-Pods have on-the-go playlists, which is a feature I would really like. So, long story short, I used the new updater, the i-Pod now runs ver1.5 but there is no on-the-go feature. I'm guessing it's not supported for my old Hardware. As a compensation, though, I swear it sounds a bit better than before - dunno if there is a new decoder algorithm in the update. Haven't really answered your question, I just want to warn you that if you want to update for a particular feature, it might not be there. Apple really should publish a feature list for all versions. Good luck Jeff.
    Shane

  • What are the new defaults for JavaScript?

    Quote: "Enable JavaScript" preference checkbox has been removed and user-set values will be reset to the default
    That is a very vague statement. The checkbox has been removed, but
    (1) What are the "values" which are now the defaults?
    (2) Where do I find them in about:config?
    (3) Has this change affected the NoScript extension?
    If the devs cannot think of anything better to do than to fix features that are not broken, then they should be fixing the known bugs and investigating the reported ones.

    @jscher200: Why is my bullshift meter reading 99%?
    Whether JavaScript was enabled was not a problem. It was enabled by default and anyone who disabled it should have had no problem finding it again. The three actions which were blocked unless the user also enabled them respectively were what mattered. Cor-El's answer does not give enough info as to how to prevent those "features" of JavaScript from being used.
    For what it is worth, I'm not looking forward to another change:
    "Simplified interface for notifications of plugin installation"
    My guess is that whoever decided to "simplify" the interface sacrificed security for convenience -- as if the Internet is safer now than it was when that interface was created. If that interface was too complicated for you -- or just too slow for your Red Bull brain -- then you have neither the wit nor the wisdom to be using the Internet, regardless of the "simplicity" of the browser.

  • What are the new gestures for touch screens?

    According to the help file with the Windows 10 Technical Preview for Enterprise build 9879 the same gestures that work on Windows 8.1 are supposed to work on Windows 10.
    I cannot get swiping down from the top of the screen or the bottom of the screen to function in Modern apps. It worked fine on the same computer (Dell Venue 11 Pro Core-i5) in Windows 8.1. The touch screen works for other gestures such as swiping in from
    the left or right, selecting, etc.
    So to close an app, I can no longer swipe down from the top. I have to tap the X in the upper corner, or bring up the new switcher and  close it from there. It's also difficult to bring up the additional menus in Modern apps. For instance, the Mail
    app has menu options to move a message to a folder. I used to be able to swipe up from the bottom to bring up the menu items. Now I have to try to tap the ... in the lower right corner. On a smaller display, this is difficult. 
    I also noticed that ALL apps run on the desktop now. When launching a Modern app such as the included Mail app or the Facebook app from the store, they run on the desktop in a windowed mode with the taskbar visible. You can maximize them, but they are just
    full screen windows on the desktop. They don't run in full screen mode like in Windows 8.
    Windows 10 was supposed to add back features from Windows 7 to make it easier to navigate with a keyboard and mouse while retaining the existing Windows 8 functionality for touch screen devices like tablets. The current build is much harder to use on a tablet
    than Windows 8.

    The latest update was just bug fixes and improved stability, no new features. That is nearly always the case with series 40 phones like the 6300.
    Nokia do not make the changelogs available publicly but often they do appear on unofficial sites. Searching google may provide you with more detailed info that cannot be posted here.

  • What is the new features for LabVIEW7.1​(Spring,20​05)?

    Hi,
    I am using LabVIEW7.1 Professional (Fall,2004) and we just ordered LabVIEW7.1 Professional (Spring,2005). I am wondering what are the difference between Fall and Spring versions and do I need to update my current one? Thanks for your answer.
    Tbird

    Good Morning,
    As was mentioned in the previous post there doesn't seem to be any additional changes since the 7.1.1 patch. On that note, it appears that the quarterly CD's just sent out don't include that patch, as we just installed LabVIEW on a machine Friday (tried to anyway!) and LabVIEW came up with version 7.1, even though I had the IT folks use the cd we had just received (the Quartely one). I said "tried to" as when they were done with the install there was a problem booting the machine, WindowsXP Pro SP2 giving a set of error messages, the first two claiming that the NI licensing executable (I don't remember the exact name at the moment) was trying to write to memory that it couldn't, and then when clicking past the two instances of that a message stating the Windows was having a problem. They were able to get the machine to start in "Safe Mode", and LabVIEW appears to be installed at that point (loads, runs apparently ok), so we don't know what went wrong. They are going to look into it more this morning and then probably scrub and reinstall everything. :-( So I guess my question is, has anyone used the quarterly update to install LabVIEW (the cd set really is to send out the NIDAQ 7.4 update)? If so, did it go ok? I've been installing LabVIEW for 13 years, since the days of bunches of blue floppy disks, and don't recall having anything like this happen. Thankfully, due to my customer's internal policies, the IT group was doing the install rather than me!
    Putnam Monroe
    Putnam
    Certified LabVIEW Developer
    Senior Test Engineer
    Currently using LV 6.1-LabVIEW 2012, RT8.5
    LabVIEW Champion

  • What is the new link for EJB known issues for OC4J 903

    This link does not work
    http://otn.oracle.com/tech/java/oc4j/htdocs/oc4j-known-issues.html ?
    can anyone point me to the right link?

    The release notes for 9.0.3 production version can be found at http://otn.oracle.com/docs/products/ias/doc_library/903doc_otn/sol.903/relnotes/oc4j.htm#1002341
    regards
    Debu

  • What is the new command for "Save As" in iWork?

    How do I start a new file from an old file?

    If you have inside knowledge of anything going on at Apple, you can't share it here.
    If you don't, you are engaging in speculation.
    I encourage EVERYONE to file feedback the more who file the more likely something will be done.

  • What is the new sap note for Ptax slabs of FY 2011-12.

    Dear Experts,
                       we are currently using  ECC  6.0, release 604, patch level 0035 and support package SAPKE60435. professional tax slabs not updated in table V_T7INP4.
    what is the new sap note for Ptax slabs of FY 2011-12.

    Hi,
    The Profession Tax tables T7INP3 & T7INP4 are customizing tables in which the entries are to be modified. SAP provides the initial entries and, if there is any change in slab rates, then you would need to update these slabs manually.
    Please delimit the slab code in table T7INP3 and then create a new slab code entry from the date of delimition for the new rates in table T7INP4.
    Regards,
    Nishtha

  • The LCD for my macbook air model number MC965LL/A (purchased 2011) is broken , where  can I get new one and what is the part number for it ?

    The LCD for my macbook air model number MC965LL/A (purchased 2011) is broken , where  can I get new one and what is the part number for it ?

    You can find them at vendors like ifixit and instructions to install.
    http://www.ifixit.com/Mac-Parts/MacBook-Air-13%22-Mid-2011

  • Is the new model number for iPad MC706B? What was the model number for iPad 2?

    Is the new model number for ipad MC706B? What was the model number for ipad 2?

    iPad 2 Model No: A1395, A1396, A1397
    iPad 3 Model No: A1403, A1430, A1416,
    iPad 4(current model) Model No: A1458, A1459, A1460
    You can learn about serial numbers, model no's about iPad, iPhone, iPod and Mac from: http://www.everymac.com/ultimate-mac-lookup/

  • What is the best skin for new Macbook Air 13"?

    What is the best skin for new Macbook Air 13"?
    I have a new Air and want to protect it from scratches and such.
    Thanks in advance

    Sorry, I don't like "skins". They inhibit the heat transfer necessary to keep your MBA cool. Get a soft or hard case to store it when not in use. I like Speck products.
    Just take care of it. Battle scars make it uniquely yours.

Maybe you are looking for