How would YOU retype these old XM08 types for use in an ABAP OO method?

The XM08 function group has the following type declarations:
TYPES: BEGIN OF mmcr_drseg_co.
        INCLUDE STRUCTURE cobl_mrm_d.
TYPES: cr LIKE drseg_cr    OCCURS 0,
       unpl_refwr TYPE refwr,
       END OF mmcr_drseg_co.
TYPES: mmcr_tdrseg TYPE mmcr_drseg OCCURS 0,
TYPES: BEGIN OF mmcr_drseg.
        INCLUDE STRUCTURE drseg.
TYPES: cr LIKE drseg_cr OCCURS 0,
       co TYPE mmcr_drseg_co OCCURS 0,
       sm LIKE drseg_sm OCCURS 0,
       charact TYPE rbcharact_instance OCCURS 3,
                                       "instances of characteristics
       uebgmat  TYPE matnr,
       uebrblgp TYPE rblgp,
       selkz_db TYPE selkz,
       rblgp_old TYPE rblgp,           "rblgp before aggregation
       END OF mmcr_drseg.
How would YOU redeclare these types so that they work in an ABAP Objects class?  
Some of the "fixes" are easy, like replacing "LIKE" with "TYPE:".
But what about the "INCLUDE STRUCTURE" and the "occurs 0" specifications?
The reason I'm asking this is that I have to call a method from ZXM08U16 and I'd like to be able to pass this method exactly what XXM08U16 gets from SAP, i.e. the table E_TDRSEG of type  MMCR_TDRSEG

David,
I wonder it can be directly in ABAP (I would like to hear opinions from others as well!), I needed to use Data Dictionary as well:
TYPES: BEGIN OF mmcr_drseg_co.
        INCLUDE STRUCTURE cobl_mrm_d.
TYPES: cr TYPE z_tt_drseg_cr,
       unpl_refwr TYPE refwr,
       END OF mmcr_drseg_co.
z_tt_drseg_cr is a table type created in SE11, based on structure drseg_cr.
the way to create internal table and work area, based on the above:
DATA : gt_... TYPE TABLE OF mmcr_drseg_co.
DATA : gw_... TYPE mmcr_drseg_co.
hope this helps some
ec
UPDATE : Rich is right, it is possible to do it only in ABAP with the DEFAULT KEY addition.

Similar Messages

  • How do you install a Digital ID Certificate for use on iPod Touch?

    On my iPod Touch there is a button to turn on s/mime under settings, mail/calender, accounts, advanced but it says there are no certificates installed.  So, if you had a certificate from a COA how would you install it on the iPod Touch?  I have heard of configuration profile utility for the iPhone but isn't that for companies or buisnesses to use?
    Thank you for any helpful information.

    Hi,
    One way is to email your cert to yourself; another is to use cloud-based storage (e.g., Dropbox) that allows you to reference files via URL. In either case, once the file is selected it will be recognized as a digital certificate and you will be asked if you want to install it.
    Hope this helps.

  • How would you assign passwords in a script for a user

    How would i assign a password in script??

    the only way to "automate" password/user additions is to use expect - to allow you to input some meaningful password - stdin doesn't work too well as you've probably seen
    Alternatively you can find the crypted value for some password and use that in a cut and paste fashion into the /etc/shadow file (as root obviously) but there are some limitations...
    i.e.
    echo "${newuserid}:x:${uid}:${gid}:${GCOS}:${homedir}:${usershell}" >> /etc/passwd
    echo "${newuserid}:${cryptedpasswd}:0:7:90::::" >> /etc/shadow
    this means that you have basically one password you're assigning to each new user, which may or may not be what you're digging after.
    If you can figure out how to crypt the password (with the appropriate salt) so it fits into the /etc/shadow crypted format, you'd have your problem solved.

  • How would you interpret these?

    okay, I don't know if someone is trying to make me feel stupid or what so could someone let me know how you would interpret these tasks:
    1. add hidden field to indicate a change
    2. add "changed" flag to feed screation.js (Javascript) This jsp will always have the flag set to falsebecause of its association with other pages.
    I thought I understood them but my partner laughed at my attempts to do them, at least I tried.
    Thanks in advance for any help.

    a hidden field is a hidden field in a form, I would guess.
    a changed flag would indicate some variable to hold a value which indicates that a change has happened or not. how that relates to your script, I have no idea.

  • How would you make the call now screen for an infomercial?

    I am making an infomercial on iMovie '09 version 8.0.6 with iOS X version 10.9.4 and need help creating a call now screen at the end.
    I want it to be able to hold text like "Call (---)--------" and "1 easy payment of $----".  Also, I would like it to have a box in the upper left hand corner that allows me to display videos like in a typical infomercial.
    Thanks!

    for adding custom graphics & titles, read my User Tipp
    How to create a pointer or a custom title
    To use a pic-in-pic effect in iM09, switch-ON the Advanced Tools in iM's prefs ...

  • How do you determine an icon's handle for use with gtoolbox?

    I'm using Gtoolbox's System Tray Icon CIN and it has an input for "hicon" (Icon Handle). It appears to be a hex value, but I can't seem to find out what any of my system icons' handles are.
    Any help would be appreciated.
    Thanks,
    Tom

    Use Load Image.vi. And set the image type to icon.
    Tom at Onset wrote:
    > I'm using Gtoolbox's System Tray Icon CIN and it has an input for
    > "hicon" (Icon Handle). It appears to be a hex value, but I can't seem
    > to find out what any of my system icons' handles are.
    >
    > Any help would be appreciated.
    >
    > Thanks,
    >
    > Tom

  • How would you use these Apple devices to create the best network?

    I have the following devices and want to create the best network for my 3 story home:
    Time Capsule 3GB, latest generation (needs to be located on middle floor in a corner room by the Comcast modem)
    Time Capsule late 2009
    Airport Express 2010
    More data, the devices that connect to this network:
    New MacBook pro (in same room with new Time Capsule)
    New iMac (in same room with Time Capsule)
    2009 iMac (on second floor)
    Iphone 5 and 5s
    ipad Minis
    ipad Airs
    Apple TV second generation
    I've done some testing and the signal is pretty good on the second floor (meaning that the download speeds on the second floor iMac are the same as those in the same room with the new Time Capsule).  But the upstairs bedrooms have speeds cut by 50%.
    There is no reasonable way to connect the new Time Capsule by ethernet to any other devices.
    Would it be helpful to extend the wireless network "wirelessly" with the old Time Capsule in an area upstairs with strong signal?  Would the old TC then "re-pump" the signal into the bedrooms which don't have line of sight with the new TC?
    How would I best do this?
    Thanks for any help you can offer.

    Time Capsule 3GB, latest generation (needs to be located on middle floor in a corner room by the Comcast modem)
    Time Capsule late 2009
    Airport Express 2010
    So, the old Time Capsule and AirPort Express are near the new Time Capsule and connected to it with an Ethernet cable.....or are the old Time Capsule and Express not even in use at all?
    Would it be helpful to extend the wireless network "wirelessly" with the old Time Capsule in an area upstairs with strong signal?
    While it would be better if you could connect the old Time Capsule to the new Time Capsule using a wired Ethernet connection, the old Time Capsule might help things out a bit in the bedroom area if it is located where it can receive a strong wireless signal from the new Time Capsule.
    This is one of those situations where performance cannot be predicted and you simply have to try it out in your home to see how well it will work. It could not hurt to use the old TC to extend the signal wirelessly to the bedroom area, if you want to give that a try.
    You did not mention the AirPort Express, but it could possibly be located downstairs if you need more wireless signal coverage in a given area. The trick again, is to find a location where the Express can both receive a strong wireless signal and also provide additional wireless coverage.
    Setting up the old Time Capsule or Express will only take a few minutes if you want to give things a try. Post back if you need more details on "how" to do this.

  • TS2755 Is there a fix to deleting already deleted address book contact, from messages search? i.e. when you type in say letter c in messages search, all contact with a c, past already deleted and current all appear?  How do you make the old deleted ones a

    Is there a fix to deleting already deleted address book contact, from messages search? i.e. when you type in say letter c in messages search, all contact with a c, past already deleted and current all appear?  How do you make the old deleted ones appear?

    only way is to restore the phone as new.  OR wait until IOS 7 comes out in the fall.

  • I need to change my apple id in my ipod (it was an old email address).  How would you do this?

    I need to change my apple ID in my ipod touch (it was an old email address).  I have changed to setting in itunes.  How would you do this? - not sure what my OS is.

    Go to Settings>Store (or Settings>iTunes and App Stores for iOS 6) and sign out and sign in with the other/updated account.

  • How would you store a primitive type?

    Hello
    How would you store a primitive type in a Collection such as a List?
    Thanks
    Bobby

    <face grin=evil> myList.add(int.class); </face>

  • In Security, clicking on the "Saved Password" button displays your current saved password for each site. It does not allow you to change a password. How would you do that?

    In Security, clicking on the "Saved Password" button displays your current saved password for each site. It only allows you to view and delete site passwords. It does not allow you to change a password. How would you do that?

    If you enter a new password Firefox should offer to change the password.
    *You may not need to delete the old password. Try "Refreshing" the page, entering the site again, you may need to let Firefox fill in the old password, then enter the new password, and Firefox should ask to save the new password. See:
    **http://kb.mozillazine.org/Deleting_autocomplete_entries
    *If you delete the old password, you may need to "Refresh" the site after deleting the old password.
    If you want to delete the password that has been saved do the following:
    #In the Tools menu select Options to open the options window
    #Go to the Security panel
    #Click the "Saved Passwords" button to open the passwords manager
    #Select the site in the list, then click Remove
    <br />
    <br />
    '''You need to update the following.''' The Plugin version(s) shown below was/were submitted with your question and is/are out of date. You should update to avoid known security issues with the version(s) you have installed. Click on "More system info..." to the right of your question to see what was included with your question.
    *Adobe PDF Plug-In For Firefox and Netscape 8.3.0 (''Note: this is a very old version and installing the current version may not delete it or overwrite it. To avoid possible problems with having 2 versions installed on your system, you may want to remove the old version in Windows Control Panel > Add or Remove Programs before installing the new version'').
    *Shockwave Flash 10.3 r181 (''this may be current but a new version was released on 2011-06-14 with a ".26" after the "181". You can use the Plugin Check below and/or look in Add-ons > Plugins for the version of Shockwave Flash that you have installed. The newest version will be shown in Add-ons > Plugins as "Shockwave Flash 10.3.181.26"'').
    *Next Generation Java Plug-in 1.6.0_24 for Mozilla browsers
    #'''''Check your plugin versions''''' on either of the following links':
    #*http://www.mozilla.com/en-US/plugincheck/
    #*https://www-trunk.stage.mozilla.com/en-US/plugincheck/
    #*'''Note: plugin check page does not have information on all plugin versions'''
    #*There are plugin specific testing links available from this page:
    #**http://kb.mozillazine.org/Testing_plugins
    #'''Update Adobe Reader (PDF plugin):'''
    #*From within your existing Adobe Reader ('''<u>if you have it already installed</u>'''):
    #**Open the Adobe Reader program from your Programs list
    #**Click Help > Check for Updates
    #**Follow the prompts for updating
    #**If this method works for you, skip the "Download complete installer" section below and proceed to "After the installation" below
    #*Download complete installer ('''if you do <u>NOT</u> have Adobe Reader installed'''):
    #**SAVE the installer to your hard drive (save to your Desktop so that you can find it after the download). Exit/Close Firefox. Run the installer you just downloaded.
    #**Use either of the links below:
    #***https://support.mozilla.com/en-US/kb/Using+the+Adobe+Reader+plugin+with+Firefox ''(click on "Installing and updating Adobe Reader")''
    #***''<u>Also see Download link</u>''': http://get.adobe.com/reader/otherversions/
    #*After the installation, start Firefox and check your version again.
    #'''Update the [[Managing the Flash plugin|Flash]] plugin''' to the latest version.
    #*Download and SAVE to your Desktop so you can find the installer later
    #*If you do not have the current version, click on the "Player Download Center" link on the "'''Download and information'''" or "'''Download Manual installers'''" below
    #*After download is complete, exit Firefox
    #*Click on the installer you just downloaded and install
    #**Windows 7 and Vista: may need to right-click the installer and choose "Run as Administrator"
    #*Start Firefox and check your version again or test the installation by going back to the download link below
    #*'''Download and information''': http://www.adobe.com/software/flash/about/
    #**Use Firefox to go to the above site to update the Firefox plugin (will also install plugin for most other browsers; except IE)
    #**Use IE to go to the above site to update the IE ActiveX
    #*'''Download Manual installers'''.
    #**http://kb2.adobe.com/cps/191/tn_19166.html#main_ManualInstaller
    #**Note separate links for:
    #***Plugin for Firefox and most other browsers
    #***ActiveX for IE
    #'''Update the [[Java]] plugin''' to the latest version.
    #*Download site: http://www.oracle.com/technetwork/java/javase/downloads/index.html (Java Platform: Download JRE)
    #**'''''Be sure to <u>un-check the Yahoo Toolbar</u> option during the install if you do not want it installed.
    #*Also see "Manual Update" in this article to update from the Java Control Panel in Windows Control Panel: http://support.mozilla.com/en-US/kb/Using+the+Java+plugin+with+Firefox#Updates
    #* Removing old versions (if needed): http://www.java.com/en/download/faq/remove_olderversions.xml
    #* Remove multiple Java Console extensions (if needed): http://kb.mozillazine.org/Firefox_:_FAQs_:_Install_Java#Multiple_Java_Console_extensions
    #*Java Test: http://www.java.com/en/download/help/testvm.xml

  • How much discount would a 12 year old kid get for MacBook Pro (13 inch)?

    How much discount would a 12 year old kid get for MacBook Pro (13 inch)?
    He needs it for school and using iMovie.
    Please answer this fast as possible.
    Thank you.

    None.
    Why would you think he would get a discount?

  • Have a question I do not use mail in my computer I use yahoo and I have all these emails and selected all and then delete then delete trash and they always come back how do I stop these old email in apple mail? I never send anything from there but I have

    have a question I do not use mail in my computer I use yahoo and I have all these emails and selected all and then delete then delete trash and they always come back how do I stop these old email in apple mail? I never send anything from there but I have the same email in yahoo but delete them and they still show up in apple mail from day one how do I get rid of these once and for all.Please help
    <Edited by Host>

    I am soooooooooooo confused now.  Ok, if you are having problems with Yahoo Mail and Gmail but you do not use Apple's Mail you need to do the following:
    1 - Post in Yahoo's Mail forums and/or contact their tech support.
    2 - Post in Gmails forums and/or contact their tech support.
    Neither of the above are Apple's products.

  • Disable the pop-up message box "How would you like to open this file" to open pdf file??

    Hi,
    is there any way i can stop the pop-up box displaying to open pdf file in sharepoint document library? Right now whenever i am trying to open pdf file, asking "how would you like to open"  Read only or edit mode. currently MIME Type is setup
    but still pop-up message box.
    Thanks in advanced!

    Hi ,
    As far as I know, This is a default feature. and is not recommended to delete or deactivate this pop up. 
    This is a feature of office and there is a dll called owssupp.dll which is responsible for getting the popup to open.
    You can go to IE tools> addon settings and deactivate the above dll (sharepoint open document class). But if you do so, then the other office office files which are word/excel/pptx etc.. would aslo gets affected and they also wont get the popup.
    Hope this helps.
    Best Regards, Ashok Yadala

  • How would you pass more than 255 args?

    I have an SFTP program that currently is only passed a single file. I am modifying it so that it will loop though an array of files to simulate an mput command. Originally I was just going to call the program with each file to be transferred as an argument but noticed the 255 argument limit. I am looking at potentially having 1500 - 2000 files to transfer at one time. I am just looking for advice on how this should be designed. One idea that was forwarded to me was to just create a listing of the files on the server and use that list file as my argument. Would this be the best approach for this issue?

    sdhalepaska wrote:
    georgemc wrote:
    sdhalepaska wrote:
    georgemc wrote:
    sdhalepaska wrote:
    georgemc wrote:
    I see no reason why you need an argument for every file.I would not necessarily need one for every file. Prior to our needing to use this for multiple files, it was easy enough to pass in one file as an argument. That is my question, how would you try to pass in a long list of files?Let's establish what you are concerned about. The 255 argument limit is on method signatures. From what you're saying here, you're talking about arguments being passed into your application from, say, the shell. Am I right?Correct, please see my clarified post. From what I have tested, the 255 argument limit appears to exist even for arguments passed to main.Ah, but arguments passed to main from the command line are passed into main as a single array of Strings, no matter how many of them there are. I have no idea what the limit on those is, but an array can hold millions of elements. I expect your shell will moan about that many, though.
    As I see it, you have a few choices. Unless these files are all in different, arbitrary directories, you can specify a list of directories for your app to search. Or you can pass them all in one at a time, and see how you go. Or you can list them in a text file, pass that to your app and have it work them out. Or write a script that invokes your app multiple times. What you don't need, is a method that takes each file as an argument.Thank you for walking me through this. Would you mind telling me which way you would lean if you were designing this? The files will all be in a single directory on the server and I would not like to invoke the app multiple times as it creates a connection during each invocation. They're all in the single directory. Ok, are all the files in that directory to be transferred? If so, I'd just pass the directory name to the app, and have it iterate over all the files. If it's only to be certain ones, how do you know which ones? Is there some regex or filtering you can do on the command line?
    If you are interested, the 255 argument limit for main that I tested was from this article:
    [http://www.javaspecialists.eu/archive/Issue059.html|http://www.javaspecialists.eu/archive/Issue059.html]
    It does die at 255 using Java 1.5.Like I said, arguments to a method are thus limited. But the args passed to an app are passed to main as one argument - an array. In short, that article is not relevant to your problem.

Maybe you are looking for

  • "Why Does The Shuffle Songs Feature Perform So Poorly?"

    How'dee, I have an iPod 160G Classic, I've spent the last 3 months taking my 2,247 "Owned" cd's (I'm a retired dj), an ripped them with identical settings and transfered them flawlessly onto my iPod. I now have a total of 26,311 tracks on my iPod. "F

  • In Premiere Elements 11 how do I delete projects & associated files & folders?

    How do I delete projects & associated files & folders once I've finished with the project in Premiere Elements 11. There is information available for Premiere Elements 7 but not for 11

  • Save as HTML - tables?

    Hello, we are trying to save the FM document as HTML using the built in save as functionality. The tables are exported, but no ruling/borders and straddling information is reflected in the output HTML. Does anybody know if there is a way to make FM t

  • Problems in customising the HRASR00_PROFILES_SHOW WDA

    Hi, I am trying to customise the search part of HRASR00_PROFILES_SHOW.Actually it uses HRASR00_EMPLOYEE_SEARCH as a component usage for search functionality and that component internally uses CL_HRASR00_WD_EMPLOYEE_SEARCH class to define the query an

  • Schema user locked

    Hello everybody My user schema keeps getting locked every time I unlocked it form sql developer it gets back to be locked. I think that tomcat is trying to access it using wrong pswd. do you have any idea of the solution where can I make sure that to