ABAP Develoment Guidelines

Hi Colleagues,
I am a SAP BI consultant working for a small company. I would to put in place ABAP development guidelines.
And as I am not an ABAP expert, I would like to have your input on this.
Could somebody provide me some ABAP development guidelines ?
Thanks,

In this lecture of the week you can find the guidelines
http://www.sdn.sap.com/irj/scn/index?rid=/media/uuid/80726482-3d07-2d10-009c-c5a4db525ff0

Similar Messages

  • ABAP Programming Guidelines not showing in ABAP Keyword Documentation

    We are currently in the process of upgrading to Netweaver 7.0 EhP2
    I have seen mentioned that the ABAP Keyword Documentation and ABAP Examples are now all provided in an improved ABAPDOCU transaction.  In addition, the ABAPDOCU transaction is meant to also have a section on ABAP Programming Guidelines. 
    I have seen a screen example of what the ABAPDOCU screen now looks like (as shown in the mockup below).  Our ABAPDOCU screen looks very similar except that there is no node for ABAP Programming Guidelines.
    That is an area that I would like to have a closer look at.  Have we missed something.  Is this available as part of the standard 7.0 EhP2 install or does it need to be installed separately (or perhaps is this only available in a higher EhP).  I've tried finding further information on this option but have not been able to come across anything.  Does anyone know what would be involved (or if it is possible) to make this available in EhP2 
    Greg Milici
    ABAP Developer
    ...V...ABAP Keyword Documentation
    .......>...ABAP Overview
    .......>...ABAP - Reference
    .......>...ABAP - Short Reference
    .......>...ABAP - Release-Specific Changes
    .......>...ABAP Programming Guidelines
    ............ABAP Glossary
    ............ABAP Index
    ............ABAP Subject Directory
       etc.

    Hi Greg,
    When [searching|http://help.sap.com/search/sap_trex.jsp] the [documentation for NW 7.0.2|http://help.sap.com/nw702/] for ABAP keyword there are several documents that mention how you can find more details about ABAP keywords. For example, [Data Consistency|http://help.sap.com/saphelp_nw70ehp2/helpdata/en/41/7af4b6a79e11d1950f0000e82de14a/frameset.htm] mentions a menu in the ABAP Editor, and [New Features in Web Dynpro ABAP for Enhancement Package 2 (EhP2)|http://help.sap.com/saphelp_nw70ehp2/helpdata/en/54/07ec96bd5a4764be4996fff231b4de/frameset.htm] mentions the ABAPHELP transaction.
    I suppose you could try to find if the documentation you need is installed on your system. Perhaps the [how do I Install SAP Document CD and SAP Library|how do I Install SAP Document CD and SAP Library; thread might be of help.
    Best regards,
    Rossen

  • WebDynpro ABAP Application Guidelines

    Hello All,
    I need some links to the Webdynpo ABAP Application Guidelines. I found some PDF downloads in SDN saying "Webdynpro ABAP programming Guidelines", but I am not sure, it is more like complete help of WD ABAP.
    I am looking for more details related to Guidelines like Dos and Dont's and may be development patterns for WD ABAP.
    Please provide links to any related information.
    Thanks,
    Anand

    Hi
    Following are the programming guide lines for Web dynpro for ABAP
    http://help.sap.com/erp2005_ehp_04/helpdata/EN/81/809d4e09f84eb98103c4317c9ee9a5/content.htm
    Programming Notes:
    http://help.sap.com/erp2005_ehp_04/helpdata/EN/81/809d4e09f84eb98103c4317c9ee9a5/content.htm
    Checklist for High performance WDA Programming (Dos and Dont's):
    http://help.sap.com/erp2005_ehp_04/helpdata/EN/5e/b29046859d48d68af26c16c75d4a89/content.htm
    Regards,
    Saket.

  • ABAP Standard & Guidelines  OO vs Procedural

    Hi all -
    In Blueprint phase of new SAP implementation and am creating ABAP Standard & Guidelines document.  I am split on whether to enforce use of object-oriented versus procedural programming (as per Blumenthal & Keller).  Seems to me that even on ECC 7.0, I am pressed to find reports using OO approach.  If I choose to enforce OO approach, there seems to be a general lack of real world examples that I can create templates from which to accelerate development.  There are plenty of "old style" reports to use as the basis of custom development however.  Development (as usual) will be on a very tight timeline and therefore I believe OO technics may be slower due to learning curve, etc.
    Any advice would be appreciated.
    Thanks,
    Pat

    Pat, I have to agree about the 15 pages vs 50 pages.  You would get a better response if the guidelines weren't so many and rigid.  I do agree, of course, that there should be some.  The reason why I say this is, because I am the only developer at my company, which means, I pretty much do what I want when it comes to design and how the programs are written.  That said, I have developed my own guidelines(not written, just in my head) as to how to write certain programs.  But if we had more developers, I would want them to adhere to certain guidelines(not all of mine, but some) so that our programs are consistant in design and more maintainable.
    Really, since I've said all of the previous, I really have no right giving you advice about guidelines and standards as I do not follow any but my own. 
    It also depends on the type of developers that you have in your shop.  If you have a bunch of old guys(no offense anyone) that are set in there ways, you may have some resistance,  if you got some new guys, that are just starting out in ABAP, they will be much easier to mold with standards and guidelines.
    Regards,
    Rich Heilman

  • ABAP development guidelines for BW

    Does anyone know of any paper on abap guidelines/best practises in BW ?
    Thank you,

    Hi RPD,
    I'm not sure if there are any best practices for ABAP specifically for BW. If there are any, then I suppose the guys in the BW forum will know it.
    Regards,
    Anand Mandalika.

  • Web Dynpro ABAP Naming Guideline

    In Web Dynpro Java SAP has published a guideline for Web Dynpro Naming Conventions.  Is there such a document for Web Dynpro ABAP?
    Regards,
    Diane

    Follow this thread
    [Naming Conventions|Naming Conventions]

  • ABAP RICEF Estimating Guidelines

    Hi all -
    I am looking for ABAP estimating guidelines for RICEF development.  Typically in the past I have categorized development objects as low, medium, high very high complexity and attached total days effort to each.  If anyone has formalized documentation on the approach they use or the ASAP approach, I would appreciate a copy to refine my methodology.
    Thanks,
    Pat

    Hi Pat,
    Sorry, I would never commit to any estimate - not even the "softest" one - unless I had some level of understanding. I got burnt many times in the past: once you give a rough estimate they will come back and nail you if you exceed it.
    I give you a perfect example: I worked on a project to implement R/3 at a manufacturing company - a new acquisition of our existing client who at this point was already up and running on SAP.
    Based on an assessment that some "know-it-all" director did during the first visit to the new plant, there was literally no development effort involved at all. I finally insisted to go there for one day myself to make sure that this is correct. I found out that part of the contract was to "replace an existing Inventory Management System" with SAP. What this genius did, was to assume that the IV system's functionality can be covered by SAP's IM module; what he didn't do, was to find out what this legacy system actually really did: it was a full-blown production MIS system, tailored especially to the business needs of the company. We (development team) ended up working 36 days straight over the Christmas holidays, averaging 65h a week to build dozens of interfaces, add-ons etc. to get this to work.
    I guess this is not really what you are looking for, but that's how I would and do handle estimates: get at least a high-level overview on every single development object before I come up with any number.
    Thanks,
    Guenther

  • Re:SAP-ABAP

    Hi,
      1.    Iam new to ABAP , How should  i sort out the topics in ABAP,i     mean which topics to learn step by step
    2.      How to improve my programming skills and which links or materials good for learning  ABAP
    3.    Which institutes are best in Hyderabad to learn ABAP ,SAP-BIW and SAP-HR ?
    Thanks
    Nidhi

    Hi sravanthigopal,
    Just check out the following links also ...
    ABAP tips and tricks     http://searchsap.techtarget.com/expert/Knowledgebase/0,289622,sid21,00.html?track=NL-397&ad=620158&asrc=EM_NLT_2893581&uid=2339110#marketplace_top
    ABAP Blog      http://abapprogramming.blogspot.com/
    ABAP for Newbies      http://searchsap.techtarget.com/general/0,295582,sid21_gci1263768,00.html
    All About ABAP and SAP     http://allaboutsap.blogspot.com/
    ABAP Programming guidelines     http://web.mit.edu/sapr3/dev/abap_review_check_list.htm
    ABAP free materials     http://www.esnips.com/_t_/abap
    ABAP free materials     http://www.esnips.com/web/SAPAbapCertificationDocs/
    ABAP free materials     http://www.esnips.com/web/SAPABAP
    ABAP free materials     http://www.esnips.com/web/saparun-ebooks
    ABAP free materials     "http://www.esnips.com/doc/2a4c274b-b5b9-46b7-8ab5-5af47700a6c7/Command-List
    ABAP free materials     http://www.esnips.com/doc/6bdb820f-f533-4517-a043-b64641b00490/TABC43-Data-Transfer
    ABAP free materials     http://www.esnips.com/web/om-ABAP
    http://sapmaterial.com/
    http://sapabaplive.info/
    http://www.****************/Tutorials/Tutorials.htm
    http://erpgenie.com/index.php?option=com_content&task=view&id=545&Itemid=77
    http://abaptutorial1.blogspot.com/
    https://www.sdn.sap.com/irj/sdn/wiki?path=/display/abap/code+inspector&
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/86a0b490-0201-0010-9cba-fd5c804b99a1
    /people/siegfried.boes/blog/2007/11/13/the-abap-runtime-trace-se30--quick-and-easy
    http://www.****************/Tutorials/ABAP/SearchHelp/page2.htm
    http://www.com2learn.com/
    http://sites.sap.googlepages.com/home
    http://www.sapedition.com/
    http://allaboutsap.blogspot.com/
    http://www.com2learn.com/index.php?id=177
    http://help.sap.com/saphelp_nw2004s/helpdata/en/c3/225b5654f411d194a60000e8353423/content.htm
    http://esnips.com/doc/39fdc647-1aed-4b40-a476-4d3042b6ec28/class_builder.ppt
    http://esnips.com/doc/5c65b0dd-eddf-4512-8e32-ecd26735f0f2/prefinalppt.ppt
    http://esnips.com/doc/448e8302-68b1-4046-9fef-8fa8808caee0/abap-objects-by-helen.pdf
    http://esnips.com/doc/92be4457-1b6e-4061-92e5-8e4b3a6e3239/Object-Oriented-ABAP.ppt
    http://esnips.com/doc/2c76dc57-e74a-4539-a20e-29383317e804/OO-abap.pdf
    http://esnips.com/doc/0ef39d4b-586a-4637-abbb-e4f69d2d9307/SAP-CONTROLS-WORKSHOP.pdf
    http://www.henrikfrank.dk/abapuk.html
    Hope this helps a bit ...
    You can dig through many things
    Just keep on reading and working out things .... You ;ll get it ....
    Reward if useful .
    Cheers
    Kripa Rangachari.

  • Logical Database vs Database tables

    Hi,
    To extract some information in a report program, currently we are making use of a Logical Database . But we see that the performance is very poor and we believe , a direct read from the database tables should improve the performance.
    We are looking for some supporting documents which confirms the same. (A direct read from the database tables gives better performance than reading from a Logical database). Any points will be highly appreciated.
    Thanks a lot.
    Regards,
    Suganya

    Hi,
    As per the recent ABAP Programing Guidelines, the use of the Logical Database is highly discouraged.
    You can have a look at the guidelines at the following link :
    http://www.sap-press.com/product.cfm?account=&product=H3072&shoppingcart=003
    Th official Programing Guide cna be locate at
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/com.sap.km.cm.docs/media/streamingmedia/events/sap%20teched%202006/premium%20content/cd/cd356%20state-of-the-art%20abap%20-%20a%20practical%20programming%20guide/cd356.pdf
    Hope this helps.
    Thanks,
    Samantak

  • Call Method using RFC -

    Hi,
    is it possible to call a method of a class from a remote system without using a RFC enabled function module?
    I mean without calling a class method instantiated in a function module.
    Michael

    Unfortunately no. This is one of the areas not covered by ABAP OO.
    The list of missing features (as of 7.0 ehp 2) is outlined in "Official ABAP Programming Guidelines" book:
    - remote method invocation as a replacement for rfc
    - replacement for update FMs (CALL FUNCTIOn IN UPDATE TASK)
    - replacement for call of subroutines during COMMIT WORK and ROLLBACK
    - OO handling of classic screens
    - dynamic generation of programs (GENERATE SUBROUTINE POOL)
    - direct support of background processing (SUBMIT VIA JOB)

  • PO message issue above certain PO value

    Hi,
    I am thinking about a value-related PO message issue. Is this possible by default?
    One example:
    POs are to be issued via fax, no problem. But if PO value exceeds e.g. 100.000u20AC, the PO should also be issued via e-mail or printout to another (internal) party, just as a notice that this high-value PO has been sent out.
    Is there any possibility to implement this w/o big efforts?

    by standard setting there is no possibility.
    It is possibe with help of ABAP develoment.
    No Big effort required

  • REG: Obsolete statements in SLIN ecc 5.0

    Hi all,
    When i am executing the ABAP EPC for obsolete statements.(with Also display Hidden Messages)
    I get the 2 Obsolete statements and as following :
          Program:  ZXXXXX     Row:    652                                                                               
    The current ABAP command is obsolete and problematic, especially so in ABAP                                                        
    Objects                                                                               
    An explicit work area is necessary in the OO context. Use "APPEND wa TO S_WERKS                                                    
    [SORTED BY]".                                                                               
    (The message can be hidden with "#EC *)                                                                               
    Program:  ZXXXXX     Row:   2558                                                                               
    The current ABAP command is obsolete and problematic, especially so in ABAP                                                        
    Objects                                                                               
    At "LOOP AT itab", one of the additions "INTO", "ASSIGNING", or "TRANSPORTING NO                                                   
    FIELDS" is required. in the OO context.                                                                               
    (The message can be hidden with "#EC *)                                                                               
    Though i put the  "#EC after above variable still i can see it in the SLIN overview.
    Pls help me to hide these Obsolete statements.
    Thanks and Regards
    Srikanth.P

    Lest you find yourself labelled as "out of date" or "obsolete", perhaps you could spend a little time to bring your coding practices up to the state of the product.  A LOT of things used in ABAP within my 12 years are now obsolete.  For instance, the "Official ABAP Programming Guidelines" by SAP Press, written by Drs. Thummel and Keller, describes FORM....ENDFORM and REFRESH as obsolete.
    In current versions, we loop at ...assgining <Field-symbol> or into structure.... 
    We do read table into structure or assigning <field-symbol> or (where possible) transporting no fields.
    We don't have tables with header rows, since those can't be used in OO.
    We don't use REFRESH, we use CLEAR tabname[].
    In OO, we use the SoC, software layering concepts, with GUI, Application and Persistence level Class definitions and implementations.
    We used class-based exception handling where possible to avoid abends which are, of course, detrimental to our users' experiences.
    etc.

  • Static Classes/Methods vs Objects/Instance Classes/Methods?

    Hi,
    I am reading "Official ABAP Programming Guidelines" book. And I saw the rule:
    Rule 5.3: Do Not Use Static Classes
    Preferably use objects instead of static classes. If you don't want to have a multiple instantiation, you can use singletons.
    I needed to create a global class and some methods under that. And there is no any object-oriented design idea exists. Instead of creating a function group/modules, I have decided to create a global class (even is a abstract class) and some static methods.So I directly use these static methods by using zcl_class=>method().
    But the rule above says "Don't use static classes/methods, always use instance methods if even there is no object-oriented design".
    The book listed several reasons, one for example
    1-) Static classes are implicitly loaded first time they are used, and the corresponding static constructor -of available- is executed. They remain in the memory as long as the current internal session exists. Therefore, if you use static classes, you cannot actually control the time of initialization and have no option to release the memory.
    So if I use a static class/method in a subroutine, it will be loaded into memory and it will stay in the memory till I close the program.
    But if I use instance class/method, I can CREATE OBJECT lo_object TYPE REF TO zcl_class then use method lo_object->method(), then I can FREE  lo_object to delete from the memory. Is my understanding correct?
    Any idea? What do you prefer Static Class OR Object/Instance Class?
    Thanks in advance.
    Tuncay

    @Naimesh Patel
    So you recommend to use instance class/methods even though method logic is just self-executable. Right?
    <h3>Example:</h3>
    <h4>Instance option</h4>
    CLASS zcl_class DEFINITION.
      METHODS add_1 IMPORTING i_input type i EXPORTING e_output type i.
      METHODS subtract_1 IMPORTING i_input type i EXPORTING e_output type i.
    ENDCLASS
    CLASS zcl_class IMPLEMENTATION.
      METHOD add_1.
        e_output = i_input + 1.
      ENDMETHOD.
      METHOD subtract_1.
        e_output = i_input - 1.
      ENDMETHOD.
    ENDCLASS
    CREATE OBJECT lo_object.
    lo_object->add_1(
      exporting i_input = 1
      importing e_output = lv_output ).
    lo_object->subtract_1(
      exporting i_input = 2
      importing e_output = lv_output2 ).
    <h4>Static option</h4>
    CLASS zcl_class DEFINITION.
      CLASS-METHODS add_1 IMPORTING i_input type i EXPORTING e_output type i.
      CLASS-METHODS subtract_1 IMPORTING i_input type i EXPORTING e_output type i.
    ENDCLASS
    CLASS zcl_class IMPLEMENTATION.
      METHOD add_1.
        e_output = i_input + 1.
      ENDMETHOD.
      METHOD subtract_1.
        e_output = i_input - 1.
      ENDMETHOD.
    ENDCLASS
    CREATE OBJECT lo_object.
    lo_object->add_1(
    zcl_class=>add_1(
      exporting i_input = 1
      importing e_output = lv_output ).
    lo_object->subtract_1(
    zcl_class=>subtract_1(
      exporting i_input = 2
      importing e_output = lv_output2 ).
    So which option is best? Pros and Cons?

  • BOR vs. CLASS

    Hi to everybody,
    I'm developping an application to manage authorization requests.
    I began it using BOR, for the reason that i'll manage different status creating them by SAP Workflow.
    When I started with the application, we use the BOR FORMABSENC like an example, but while I were developping I found out several problems and I decided to create it with CLASS and SAP Work.
    I would like to know what's the difference between BOR or Class, which of both options you recommend  me and why you've decided on it.
    I´m looking forward to a response soon.
    Thank you.
    Nicocer.

    hello,
    It is always good to adapt to object oriented approach for all sort of ABAP development. Using BOR is the conventional style of build. You will have better control on the program flow and design using OOABAP. Read some demo chapters available on internet of SAP press book "official abap programming guidelines" for your answer.
    Thanks

  • Has anyone written a BSP development standards document?.

    I was wondering if anyone had written any devlopement standards and was willing to share them. With so much code involved I guess there must be some standards.
    I've got to put together a standards document for BSP, but I would rather not start from the beginning, given the choice.
    Best regards
    Jas

    Hi Jas,
    have you seen this book:
    [Official ABAP Programming Guidelines  |http://www.sap-press.de/katalog/buecher/titel/gp/titelID-2093]
    It is not about BSP but lots of things in this books can be used.
    Best regrads
    Renald

Maybe you are looking for

  • Lightroom crashes every time I try to change the font color of my identity plate

    I use the LRB portfolio plugin to create my website. Every time I try to change the color of my identity plate, lightroom crashes immediately. I can change the font and size without the problem, only a color change causes the crash. I tried to trash

  • Music files online...why can't I click & listern now I've gone mac

    I am very new to macs, have swapped as am studying design ...when I had my pc I could click a music files for example on a radio stations website when looking for music ( like kiss totalkiss.com ) I could click and listern to their playlists...now I'

  • Responsive gallery and DW template

    I've been trying to find a way to add a "responsive image gallery" into my CS6 DW template. Actually, I need to create around 100 image galleries - each gallery will have around 70 images. I thought I had the answer with "JuiceBox" running the "scrip

  • Cannot open .7z file [edited by moderator - was "i" ]

    I've downloaded the files for PhotoshopElements 13 but can't open the .7z file. Any suggestions?

  • Songs not playing sequentailly

    After installing iTunes 5 upgrade, I cannot play songs sequentially, repeat songs or repeat all songs in a play list. The repeat button has not affect at all. Anyone have any idea what is wrong? Thanks