Classical ABAP -- Is the END in sight  -- I think so

Going on again from the posts on "Persistent Objects" it seems to me it's only a matter of time before "Classical ABAP" is dead in the water.
For example take a sales order. Once it's been created why on earth should transactions like VA02 / Va03 etc have to execute  a whole lot of code to display it / manipulate it.
If its stored as a "Real Persistent Object" then it just needs to be retrieved via its instance or ("key")  and manipulations should be simple.
You'd have all the info you need encapsulated within the object such as Partners, delivery information etc etc so you would only need minimal coding to do anything with the order.
Object management would be responsible for maintining the "physical data store"'.
All you would need to do say if the delivery address changed would be to do something like this
<b>Get.Order xxxxxxxxxx
Change. delivery.address =   new  address
save object.
No more complex ABAP etc.
Just have a lok at the code in program SAPMV45A which has to be executed each time you do a VAXX transaction.
Would be much simpler to have a basic standard code Get.Object=saleorder.salesorder.num
display.object=object key.</b>
Implementation of this I agree would be difficult considering the amount of legacy code in the system but given the usefulness of Object Orientated coding this has to be the end logical outcome.
Data storage would probably need to be much greater but given the fact that disks of around 1TB can be had for less than 300 USD these days I don't think that's an issue any more.
Anyway I've just mulling around some ideas which I've been thinking about since reading an initial post on "Persistent Objects".
I'd be interested on other views on this development whatever you think.
Cheers
Jimbo

Hi Guys,
just to put in my take on some of this.
I find it interesting that SAP have "helped us out" by committing to not releasing a new ERP release for five years. They tell us that the reason for this is to give customers some certainty and minimise TCO.
My view is that the move to SOA and OO principles means they have to go back and rewrite all the old Dynpros that mix UI code and Business Logic together. Not only is this a huge job, but now they are going to be touching all the old ABAP code that hasn't changed in years. This will create a QA and support challenge for them as I suspect that some of the old code in GL and SD would have hardly been changed for a decade or more.
CRM is interesting. While there is extensive use of OO concepts, including persistent object services, it is by no means consistently implemented. Most frustratingly there is still very little documentation to help the developer. It is still a case of wandering along with the debugger to see how stuff hangs together, and this is much harder in OO code than procedural.
Of course the emerging development regime is "Model Driven". So maybe application development might involve using a BPML tool to model the process, then extend the model down to incorporate the underlying business objects. The modelling tool then assigns attributes and the standard CRUD ( create, read, update and delete) methods to each business object and describes the rules that exist between business objects. This is all done in the modelling tool, not by writing code. In theory it is all language independent.
Now we employ a developer for a few days to write the language specific pieces, which only consists of the CRUD methods. Maybe we employ two developers because we want some of our business objects on one platform and some on another. Or maybe we don't need any developers because our modelling tool is clever enough to generate the persitency layer and the defined rules take care of everything else.
Now we need a user interface ( the service interfaces are already supplied by the platform). Well that could be pretty easy if we used a tool like Visual Composer. Link a few Business Processes, or Business Objects, together and move the UI elements around the screen a bit and away we go!
If we need to change something we adjust the model and regenerate. (I'd like to see that on a production system)
Sounds easy! Now all we need is a modelling tool to generate the BPML tool - that is where the real opportunity lies.
Cheers
Graham

Similar Messages

  • My iPod Classic is cutting off the ends of songs; what's up with this?

    My iPod Classic is cutting off the ends of songs...just silence. The play indicator shows that there's more data there but it's just blank. The songs play fine on iTunes and the data on my PC (Windows 7, iTunes 11.02.26). And it's not always the same song... It's like random. So it's got to be a bug in the iPod Classic firmware. Any help from Apple? Get a Zune?

    Is it always the same songs that get cut off?  So the question is, after you do a Restore, when you re-sync songs back to the iPod, is it always the same songs that get cut off?  Or are they different songs each time?  Try doing a Restore and re-sync several times...
    If they are the same songs, that points to a problem with the song files.  Maybe there is data corruption on your computer's hard drive, that caused the song files to become corrupted in a way that iTunes on the computer can still handle, but the iPod's software cannot.  The corrupted songs stay the same.
    If they are different songs, that points to a problem on the iPod.  If a Restore does not fix the problem, then it may be data corruption caused by the iPod's hard drive becoming unreliable.  When you do a re-sync after Restore, the data is not being stored properly on the iPod due to a hardware problem.  It randomly affects different songs each time during the re-sync

  • Please bring to downgrade to iOS 6.1.3! iOS 7 seems like the macintosh ago ... the beginning of the end! Sorry, but then provides for all iPhone lovers, the classic design and unlimited use without fault love the previous version available. It's super tir

    Please bring to downgrade to iOS 6.1.3!
    iOS 7 seems like the macintosh ago ... the beginning of the end!
    Sorry, but then provides for all iPhone lovers, the classic design and unlimited use without fault love the previous version available.
    It's super tiring to work with iOS 7!

    Submit your feedback to Apple here:
    http://www.apple.com/feedback

  • When i make a classic tween in flash all the object does is appear at the start of its course then suddenly appear at the end of its course

    so i am trying to create the usual basic balll bounce and for it to follow a motion path; i have followed everything the tutorial does exactly but when i click play the ball appears at the start of the guide then in the nothing until the last frame where it appears at the end of the guide

    Without seeing anything of what you did there is not much to go on except to say that when you create a classic tween you use a library-based object and it has to exist at both ends of the tween.  When motion guides come into play you usually have to fiddle around when making the link between the object and the motion guide to get the object to lock to it.

  • My 160MB iPod Classic won't sync from iTunes.  This is a recent problem.  The error message is "The iPod cannot be synched.  An unknown error occurred (-39)." The end result is that music will sync but photos will not.  Current software on Mac and iPod.

    My iPod classic won't synch from iTunes.  This is a recent problem.  The error message reads "The iPod cannot be synched.  An unknown error occurred (-39)." The end result is that the music will sync but photos will not sync.  I am running current versions of software on the iPod and the iMac / iTunes.  HELP! J

    First try to resolve #2 by:
    See
    iOS: Device not recognized in iTunes for Windows
    - I would start with
    Removing and Reinstalling iTunes, QuickTime, and other software components for Windows XP
    or               
    Removing and reinstalling iTunes and other software components for Windows Vista, Windows 7, or Windows 8
    However, after your remove the Apple software components also remove the iCloud Control Panel via Windows Programs and Featurs appin the Window Control Panel. Then reinstall all the Apple software components
    - New cable and different USB port
    - Run this and see if the results help with determine the cause
    iTunes for Windows: Device Sync Tests
    - Try on another computer to help determine if computer or iPod problem
    If you can resolve #1 and still get same message for #1 then you have to restore the iPod like the message says.

  • How doi print Any variable at the end of page in ALV report?

    Hi,
    Anyone can tell me that How do i print Any variable at the end of page in ALV report?
    Exmale: at the ende of alv report i want to print total no of employee who has taken house loan or education loan.

    Hi,
    Go through these links
    Thread in sdn regarding FOOTER IN ALV
    [ALV  FOOTER;
    Wiki in sdn regarding HEADER AND FOOTER IN ALV
    [https://wiki.sdn.sap.com/wiki/display/Snippets/ABAP%20Objects%20-%20ALV%20Model%20-%20Using%20Header%20and%20Footer]
    Header and Footer in ALV
    [http://www.sap-img.com/abap/test-alv-display-with-header-footer.htm]
    Hope this helps.
    Thank you,
    Pavan.

  • How to add spaces at the end of record

    Hi Friends,
    i am creating a file which contains more than 100 records.
    In ABAP i have internal table with on field(135) type c.
    some time record have length 120, somtime 130 its vary on each record.
    but i would like to add space at the end of each record till 135 length.
    Can you please help me how to add speace at the end of record.
    regards
    Malik

    So why did you said that in your first posting? My glass sphere is out for cleaning...
    Instead of type c use strings and add spaces until they have the appropriate length.
    loop at outtab assigning <pout>.
      while strlen( <pout>-val ) < 135.
        concatenate <pout>-val `` into <pout>-val.
      endwhile.
    endloop.

  • Short dump while changing the end date of infotype 0167 through PA30

    Hi all,
    I am getting short dump while changing the end date of infotype 0167(Health Plans) through Tcode PA30.
    dump descript is as below
    An exception occurred that was not caught.
    Runtime Errors         UNCAUGHT_EXCEPTION
    Except.                CX_HRPA_VIOLATED_POSTCOND
    Date and Time          11.03.2010 07:06:26
    What happened?
        The exception 'CX_HRPA_VIOLATED_POSTCONDITION' was raised, but it was not
         caught anywhere along
        the call hierarchy.
        Since exceptions represent error situations and this error was not
        adequately responded to, the running ABAP program
         'CL_HRPA_SAPUP50R_ADAPTER======CP' has to be
        terminated.
    thanks
    shahid

    Search OSS Notes for that.

  • Itunes and Ipod Classic stop before song ends after transfer to new computer

    I purchased a new Windows 7 computer and transferred my library from my XP computer.
    I restored my library and all seemed well with the world.
    I synched my IPod classic 120GB with over 8000 songs.
    I was listening to the IPOD on my docking station when I started noticing that songs would just stop before the end of the song.
    I thought my 120GB Ipod was dying, so I purchased a new 160GB.
    The problem continued.
    I then listened to them on the new computer in Itunes and they did not completely stop, they just skipped to the next track at the same place as it froze on my IPOD.
    I listened to the same song on my old computer through Itunes and it played correctly.
    I have do not have the Itunes Match and the songs that I currently know that have the problem were purchased on Itunes.
    Any suggestions as how to resolve the issue?

    I would try copying over the tracks from your XP computer again as the files from the first transfer may be corrupted.
    B-rock

  • Clicking at the end of each song

    I have a new 160gb ipod classic.
    After syncing songs to it from my 1.5gig powerpc g4 laptop i get staticky pops or clicks at the end of every track that has silence for a few beats.
    What the ****?
    No pop/clicks on my deck. Tracks from a mix of iTunes store, other downloads and CDs.
    Thanks.
    Legion

    As a follow up, I went to the Genius Bar for a bowl of Mensa Stew, but only got some tepid broth. Here's what transpired:
    The girl I was speaking with suggested that the artifact was the software misinterpreting information between the cuts. It was only a theory. She had not heard of any other incidents to relay. First she suggested I rip as MP3's. I explained that wasn't an option for me. She listened to a few cuts on a CD I'd brought with, or rather the ends of the cuts and confirmed there was a problem with the rip. She went through my settings, and asked if I'd tried it with Error Correction turned off. I explained I hadn't and that I preferred to use it. She suggested attempting to rip one of the cuts with it turned off just to see how it did. We did that and no artifact was there. So her 'solution' was to either leave error-correction turned off always, or turn it off for those problem CD's that produce the artifact (I'd estimate about 5% do on my laptop). This did not explain why it was doing it, nor why my g5 tower, which is running a carbon-copied system with all the same iTunes settings, does not produce the artifact with Error-Correction turned on.
    I'd be interested to hear of anyone else who's been having problems importing hi-rez files in iTunes. I know of at least one other instance where the artifact produced (on a MacBook) is dis-similar to mine in that it takes the form of brief electronic beeps moving from channel to channel.
    Anyone else?

  • GUI_DOWNLOAD TXT file,a "?"at the end of text.

    HI experts:
        I use 'GUI_DOWNLOAD' to download a text file, the text are Chinese worlds,one word is "燊",in the end of the text file,there is "?" .like "宜州燊龙贸易有限责任公?"
        when I delete the world  "燊" ,it become right.why?
        thanks a lot.
    the code is:
    REPORT  z1807test001.
    DATA : BEGIN OF out OCCURS 0 ,
    text1(100) TYPE c,
    text2(100) TYPE c.
    DATA : END OF out .
    out-text1 = '宜州燊龙贸易有限责任公司'.
    APPEND out.
    CALL FUNCTION 'GUI_DOWNLOAD'
       EXPORTING
      BIN_FILESIZE                    =
         filename                        = 'D:\222.TXT'
        filetype                        = 'ASC'
      APPEND                          = ' '
       write_field_separator           = 'X'
      HEADER                          = '00'
       trunc_trailing_blanks           = 'X'
       write_lf                        = ''
      COL_SELECT                      = ' '
      COL_SELECT_MASK                 = ' '
      DAT_MODE                        = ' '
      CONFIRM_OVERWRITE               = ' '
      NO_AUTH_CHECK                   = ' '
       codepage                        = '8400'
      IGNORE_CERR                     = ABAP_TRUE
      REPLACEMENT                     = '#'
      WRITE_BOM                       = ' '
      TRUNC_TRAILING_BLANKS_EOL       = 'X'
      WK1_N_FORMAT                    = ' '
      WK1_N_SIZE                      = ' '
      WK1_T_FORMAT                    = ' '
      WK1_T_SIZE                      = ' '
    IMPORTING
      FILELENGTH                      =
       TABLES
         data_tab                        = out .
      FIELDNAMES                      =
    Edited by: huiqing wei on Jan 26, 2010 5:17 AM

    Hi,
    It is not a ABAP issue.
    1) Check the code page you are using?
    2) check by creating text element and translate in SE63 to confirm.
    3) May be basis guy can check regional settings.
    Manas M.

  • How do I get rid of empty space left at the end of my project?

    My first posting here - I'm glad to find this community!
    I've been working on a project . . . editing it down from its original length, but the empty space still exists at the end of my timeline. I want to remove it, since I'm posting the project online, but I can't figure out how to eliminate it.
    Please help! Thank you!
    Sara

    welcome Sara to the  boards...
    sometimes, we recognize 'stray clips' at the very end.. that is clip is often just a single frame of video...
    a) enlarge the timeline view to max. ... anything in sight?
    b) switch to 'slide view' mode.. sometimes, such a stray-clip is shown as a 'blank black' clip...

  • Line Drop Fiasco, Canceled Appointments, No End In Sight

    To Whom it May Concern: I want to thank you, Comcast Xfinity for teaching me a lot over the past 2 weeks. Let me explain.My husband, 2 year-old son, and I moved on May 27 – May 31. We were previous Comcast customers and have always been incredibly happy with the interface of the Comcast X1 platform. It seemed like a no-brainer that we would keep it at the new home, just about 4 miles down the road. On May 2, using your “Movers Edge” program I put in a request to disconnect service on May 30 and begin service at the new house on May 30. I was pleased at how easy of a process this was.May 30 comes and a person shows up… on time. However, the appointment was incredibly short. Immediately the technician asks if Comcast has already been out. We need a line drop and someone will call me. On June 1, I returned my old equipment to a Comcast Service Center. I ask the staff to check on my request. They tell me that it still has the original request open and that someone will call me. On June 3, I finally call Comcast the check on the status. I am told that the line drop will occur on Tuesday, June 9 between 1-5pm. I chatted with an agent on June 4. This agent tells me that everything will happen at the same time. They will fix my line in my yard and I will also get all of my boxes and modem. I am elated with this news! I called again on June 5 to confirm. I am told that no, they cannot do the line drop and installation in one day. However, they are doing a special request so that I can get it all in one day. I am frustrated that the story has changed, but happy at how helpful the agent was. I call again to confirm on Monday. I am once again told that the appointments cannot occur on the same date. The next installation date in Thursday, June 18. I am furious. I am thinking for a week that the line drop and installation will occur at the same time. I ask them to get me an earlier date. I am not waiting till the 18th. I am given an appointment on Friday, June 12 from 1-4pm. Tuesday June 9th! I am supposed to get the line drop. An end is in sight. I call at 1pm as I am leaving work to check on the line drop. The agent tells me that they see the special request, however, she gets an error when she tries to see more. The agent tells me to call back in a couple of hours. I call back at 3pm. The agent tells me that she is also getting an error. She tells me that she’s putting in a request and someone will call me back in the next 30 minutes. I give it an hour. No phone call. I call back. The agent now tells me that this kind of request requires 24 hours for someone to return the call. I still get no response regarding why the line drop was not complete. 24 hours goes by. No phone call from anyone at Comcast. On Wednesday, June 10, in the morning, I chat with someone via the web services and I am told that they’re waiting for a permit. I had to beg for this information. Initially they said that it was scheduled but provided no additional information. I demanded that they tell me more. They tell me that the installation should still take place on June 12. I call again Wednesday afternoon. I am told that the line drop requests actually have a 10-day window. Information I was never told until now. I ask about my installation on Friday, June 12. They tell me this will not happen. I am transferred to billing, and sales, and technical support. None of these sound like departments that can assist me. When are they going to do the line drop? When am I going to get service? Should I give up and go to FIOS, it’s more than a week later. I am finally given new dates. Line drop on Monday, June 15 and installation on Thursday, June 18th. With my new information that line drops have a 10-day window, and that they need a permit, I ask how likely this appointment will still occur. No one is able to give me an answer. And with this 10-day window will the line drop really occur on June 25? More than a month after my initial appointment? No one is able to give me an answer. I finally ask for someone in customer service. If I am going to stick with Comcast, how are they going to compensate me for all the hours I have been on the phone, being told different stories? How are they going to compensate me for missed appointments? How are they going to compensate me for going at least 3 weeks without phone/internet/cable? I am told there is nothing they can do. My bill will not be lowered. I already signed up for the multi-room DVR and all the premium channels. They cannot give them to me for free or lower price because I “already have them”. I ask them to lower the plan I signed up for and then compensate me. I and then told that it doesn’t work that way. So after (a minimum) of 3 weeks, I may finally get service but there’s no way to be compensated for all my troubles? Why am I still talking to these folks? Like most people in the 20 something age-range, I google my problems. I come across people that suggest complaining to the county and the FCC. I filed complaints with both. Since this line drop hasn’t occurred, there’s a problem with the infrastructure. The FCC responds and tells me my complaint has been forwarded on. There is a 30-day window for Comcast to respond. So, what have I learned?I have much more patience than I thought I would in this situation. For a week I have been calling Comcast or chatting with Comcast. Some days I was reaching out up to 3 times a day.I trusted Comcast much more than I should have. Every time I talked to someone the story changed. I was given different information, sometimes more information. But it was constantly changing. During the process I was so wrapped up, I didn’t think twice.On two occasions, I was promised that someone would call me back within 24 hours. I received no phone calls, no messages. Not sure what a promise means to Comcast.I learned that you can complain to your county and FCC regarding the cable infrastructure. I had no idea that this was possible. Even if nothing comes of it, it felt good to let important people know that I am struggling.There is no need to get the best package. When you get the package there is no way to compensate you for all your energy, time, and effort lost. There was no way to send me a gift card, give me free DVR or free premium channels. Apparently I already had them even without having service yet.Comcast can make you feel crazy. In addition to believing that everyone is telling me the truth. Why have appointments if no one will show? Why have appointments when it’s really a 10-day window? I ended up feeling like it was a job to make sure Comcast was working on my case. I also felt like I couldn’t just let it go. Just go to FIOS. They’re able to give you service. Just let it go.So that is where I am now. I just have to let it go. There is no need to BEG Comcast to let me be a customer. They have no problems cancelling appointments without notifying me. They have no problem giving me the run around and telling me a different story and excuse every time I call. They have no problem stringing me along for days on end making me think that I’ll get service in the next 3-days, 5-days, etc. They have no problem telling me how “sorry they are” and how they “understand my frustration” but then there is no way to fix it and no end in sight. Not expecting a response. Just be leary if they Comcast tells you that you need a line drop. There are no guarantees. I've read other people saying it took MONTHS.

    micbid6920 -
    I am so sorry for the delay! I am sending you a private message so that we can discuss your billing concerns more freely.
    At the top of each Forum page, you will see a small gray envelope icon. This icon will have a number next to it if you have any new messages waiting. To open a PM to read it, double click on the envelope. If you click on the white envelope a window will open with tabs for your Private Message Inbox, Sent Messages, Friends, Ignored Users, and Compose new Message. You can also access this area by clicking on the Username in a Thread or post. By default, Private Messages are enabled. You can disable this feature in My Settings>Preferences> Private Messenger.

  • From Classic abap FMs to ObjectOriented instance/static methods: reference

    Hi All,
    we are migrating one of our project developed using classic abap to abap objects.
    mostly we are replacing the Function modules with either instance methods or static methods.
    for e.g.
    if there are FMs like GUI_UPLOAD, SO_NEW_DOCUMENT_SEND_API1 are used, after exploring in sdn for abap objects, we realized
    we can use cl_gui_frontend_services=>gui_upload( ) instead of the GUI_UPLOAD.
    send_request = cl_bcs=>create_persistent( ). send_request->send( ).  can be used instead of SO_NEW_DOCUMENT_SEND_API1
    like that there are several FMs present, is there any easy way where we can find this reference of object oriented methods corresponding to the plain old Function modules of classic abap.
    i was thinking, after seeing the blogs of people like Thomas Jung, Horst Keller, they encouraged a lot on abap objects over procedural abap. are there any such guidlines, references present to migrate (rather upgrade) to abap objects from existing procedural abap
    thanks,
    Madhu_1980

    I don't think it makes sense to do 1:1 mapping and replacement in your code.
    It does make sense to refactor using Object oriented techniques and patterns but it is usually a non-trivial task.

  • BSP adds CR/LF marker at the end of the page even with compression options

    Hello!
    I'm creating normal BSP Page with Flow Logic and setting the contents myself:
    <%@page language="abap" %><%
      response->set_cdata( '-=-' ).
    %>
    The problem is that WebAS somehow always adds a CR/LF (new line) marker at the end of the page (even if I set compression option to "Remove leading and trailing spaces"). I also tried to set different mime-types.
    On the other side there is a BSP Application it00 (described here http://help.sap.com/saphelp_nw04/helpdata/en/eb/8c683c8de8a969e10000000a114084/content.htm ) that shows the uploaded file right.
    So I was trying to include that 'solution' setting OnInputProcessing event to this
    *         set response data to be the file content
              runtime->server->response->set_cdata( '!=!' ).
    *         set the mime-type and file size in the response
              runtime->server->response->set_header_field(
                name  = 'Content-Type'
                value = 'text/plain' ).
              runtime->server->response->set_header_field(
                name  = 'Content-Length'
                value = '3' ).
              navigation->response_complete( ).
    But nothing happens at all.
    Please, help me getting rid of these two annoying bytes ('CR/LF') at the end of page.

    Thank you, Cornelia!
    It works now.
    The following code is "must have"
    navigation->response_complete( ).

Maybe you are looking for

  • Brand New Mid-2013 MacBook Air battery only 3 hours

    I have a 13.3" MacBook Air, i7 procecessor, 8GB RAM, 256GB HD, I went from 8+ hours battery to only 3 now.  Hoping someone could help me out.. Here is my EtreCheck Hardware Information:           MacBook Air (13-inch, Mid 2013)           MacBook Air

  • My ipad wont let me buy apps its say unknown error

    My ipad wont let me buy apps itsays unknown error

  • Possible to have mouse activated slider with buttons for selection

    Hi, I was wondering if anyone has/is or if this can be dome easy enough.... For example, instead of placing a row of buttons on the bottom of the template, instead, is it possibloe to have a mouse activated slider that the buttons are on and is activ

  • Launching Portal Screen from BW Report

    Hi Experts, I want to launch an URL with Transaction number that is available in the report as a characteristics and for a Query String URL with selection of Host name and Port number. Can somebody forward me to some document or Javascript code to fo

  • Create dummy Outbound delivery order & Outbound delivery in EWM

    Dear Gurus , Please suggest if following is possible in EWM and does not have any impact on ERP system : 1. On click of a button create ODO 2. Assign multiple components to this ODO 3. Assign Wave and release the wave 4. Once task is created and conf