Is there naming conventions for variables, itabs?

Hi!
Is there an ad hoc naming convention standard for writing ABAP programs?
What prefixes, suffixes, etc. I should use when defining selection options, variables, internal tables, etc.
Thank you!

Hi,
We have to follow the naming conventions according to the client's coding standards.
For example
My present client.
I am following the conventions as follows:
Variables:   v_variablename,
Constants: c_contant,
Select-options: S_selopt,
Internal tables: T_
Work Areas: K_
Etc.
Reward me if it is useful.

Similar Messages

  • Naming Conventions for Workflow

    Hello,
    does anybody have a document for Naming Conventions for Workflow.
    I found nothing the last hour.
    Thanks in advance for any help ...
    Stefanie

    Hi,
    I am sending you naming convention which we followed in our project.
    Workflow Template & Standard Task:
    SAP/R3 Limitations:
    Workflow Template & Standard Task names are limited to 12 bytes.
    Standard:
    Bytes 1-3 of the Workflow Template & Standard Task (see following table) are intended to give an overview of general information regarding the Workflow Template & Standard Task.
    Characters 4-12 of the name should be chosen to impart some idea of the Workflow Template & Standard Tasku2019s use and/or contents.  (The portion of the Workflow Template & Standard Task name that forms the unique identifier may, or may not, contain underscores characters to enhance Workflow Template & Standard Task name readability.)
    Position     Description     Sample Values     Sample Meanings
    1     Table system life     Z/Y                Permanent/Temporary
    2     Application Type     *                    See Application Designators (Appendix B)
    3     OPCO/Region     *                    See OpCo Initial Chart (Appendix A) 
    4-12     Unique identifier     text                     Unique identifier; may include underscores
    Example: ZS7_IDEL9 (I:-Inbound, DEL: - OILDEL 9:- Original)
    Business Object:
    SAP/R3 Limitations:
    Business Object names are limited to 10 bytes.
    Standard:
    Bytes 1-3 of the Business Object (see following table) are intended to give an overview of general information regarding the Business Object.
    Characters 4-12 of the name should be chosen to impart some idea of the Business Objectu2019s use and/or contents.  (The portion of the Business Object name that forms the unique identifier may, or may not, contain underscores characters to enhance Business Object name readability.)
    Position     Description     Sample Values     Sample Meanings
    1     Table system life     Z
    Y     Permanent
    Temporary
    2     Application Type     *     See Application Designators (Appendix B)
    3     OPCO/Region     *     See OpCo Initial Chart (Appendix A) 
    4-12     Unique identifier     text     Unique identifier; may include underscores
    Example: ZS7_OILDEL (Business Object for OILDEL Message Type)
    Methods
    Method names should begin with a verb:
    Examples: GET_STATUS, CREATE_ORDER, DETERMINE_PRICE
    For Parameters:
    IMPORTING parameters     IM_<parameter name>
    EXPORTING parameters     EX_<parameter name>
    CHANGING parameters     CH_<parameter name>
    RESULT     RE_<result>
    Events
    Event names should have the form
    <noun>_<participle>:
    Examples: BUTTON_PUSHED, COMPANY_CODE_CHANGED, BUSINESS_PARTNER_PRINTED
    Note: There is no specific naming convention for Container Variables in workflow & for Key Fields & Attributes in Business Object. These variables name should be chosen to impart some idea of the variablesu2019 use and/or contents. 
    Appendix A
    ABAP Programming Standards:  OpCo/Region Initial Chart
    Old #     Company Name                               Proposed #     Accounting Location
    98     Common                                                     A              San Ramon
    95     FSC                                                     B              San Ramon
    80     Chevron Chemical Company                      C              San Ramon
    89     Chevron USA-Downstream & General     D     Walnut Creek
    75     Chevron Real Estate Management      E     San Francisco
    76     Chevron Information Technology Company      F     San Ramon
    77     Gulf Oil Great Britain                                    G     London
    85     Corporation (Acct. by Corp.)                    H     San Francisco
    83     Chevron International Oil company              J     San Ramon
    87     Chevron U. K. Limited                               K     England
    86     Corporation (Acct. - Local Office)                    L     Various
    96     P&M Coal & Mining Company                   M     Denver
    94     Corporation (New York)                   N     New York
    90     Chevron Pipeline Company                    P     San Ramon
    79     Chevron Canada Resources, Ltd.              R      Calgary
    92     Chevron Shipping Company                  S                     San Francisco
    81     Chevron Petroleum & Tech Co.                  T                     Houston
    91     Chevron USA Upstream                  U                     Concord
    78     Chevron Canada, Ltd.                              V                     Vancouver
    93     CUSA Warren Petroleum                  W     Tulsa
    84     Chevron Overseas Petroleum, Inc.            X                     San Ramon
    88     Chevron Research & Tech. Company        Y      Richmond
    -     Corp. GLX Common validations                   Z      San Ramon
    -     PCA                                                   3                     San Ramon
    -     Tax                                                   4                     San Ramon
    -     Audit                                                   5                     San Ramon
    -     Asia-Pacific                                   6                     Global
    -     Africa                                                   7                     Global
    -     Latin America                                   8                     Global
    Appendix B
    ABAP Programming Standards:  Application Designators
    A     Assets Accounting
    C     PPC
    D     DASS (control station)
    E     RIVA/IS-Oil
    F     Financial Accounting (incl. Joint Venture)
    G     General Ledger
    H     Human Resources Planning
    I     Plant Maintenance
    J     Publishing
    K     Cost Accounting
    L     Inventory Management
    M     Materials Management
    N     Hospital
    O     unassigned
    P     Human Resources
    Q     QSS (Quality assurance)
    R     PRA (Prod & Revenue Acctg)
    S     Basis
    T     Projects
    U     Enterprise Data Model
    V     Sales
    W     MMS (Merchandise mgt. System)
    X     unassigned
    Y     Customer head office
    Z     Customer branch
    <inappropriate content removed by moderator>
    Thanks
    Yogesh Sharma
    Edited by: Mike Pokraka on Jul 2, 2008 10:34 AM

  • PO Naming Convention for specific company code

    Hi experts!
    Is there any way to know this PO naming convention is belongs to which company code?
    For eg: PO naming convention starts with 600*******.
    How will i know which company code is using the naming convention for their purchase order?
    Please help.
    Thanks.
    Crystal

    Hi Crystal,
    Naming convention is based on document type not company code :
    Refer the below customsing path:
    SPROMaterials ManagementPurchasingPurchase Order--Define Document Types
    SPROMaterials ManagementPurchasingPurchase Order--Define Number Ranges
    Regards
    Ramesh Ch

  • Can anyone tell me the naming conventions for PSa tables

    hi all,
    After the data is loaded into the psa. how to look at the records that are there in psa. And can anyone tell me the naming conventions for psa tables.
    like BIC/????
    thanxs in advance
    regds
    hari

    Hi Hari,
    You want to know the naming convention of PSA table. For that there is a simple technique try this.
    Go to - T code SE11
    In the database table check box give  /BI*  and click search
    next window  in the Description Text box give the r data source name(master)  like
    YIO_ID_ATTR which is assigned to infosource. then click OK.
    then you get the psa table structure.
    You can take structure and check in the T code SE 11
    Hope this is fine.
    Regards
    Sreekanth

  • Naming convention for packages and classes

    Hi all,
    Is there any naming conventions for packages and classes which uses a design pattern ?. If yes what are the conventions used for business delegate,session facade, service locator,DAO and any other patterns.
    rgds
    Anto Paul

    Hi,
    that is a good question and one we have considered also. We dont yet cover the naming conventions for classes based on patterns but maybe will in the future. Currently, in the blueprints apps we tend to do some things like naminga class
    -AccountDAO etc for DAOs
    -For servicelocator we have a class called ServiceLocator viewable at https://adventurebuilder.dev.java.net/source/browse/adventurebuilder/ws/components/servicelocator/src/java/com/sun/j2ee/blueprints/servicelocator/web/ServiceLocator.java?rev=1.4&content-type=text/vnd.viewcvs-markup
    -for session facade, its a bit trickier since the name is so long and we cant add "SessionFacade" to the end of each facade class. I think in general we put "Facade" in the name, usually near the end
    -For Business Delegat, again it seems too long to add to each class name. So in the past we have added
    a "BD" to the names of the delegates. Some examples are at http://java.sun.com/blueprints/patterns/BusinessDelegate.html
    -For transfer objects we usually add a TO to the end of the name. Some examples at http://java.sun.com/blueprints/patterns/TransferObject.html
    Seems like something we could get a bit more consistent about.
    hope that helps,
    Sean

  • Code Inspector - Naming conventions &mExtended Naming conventions for Progs

    Hi experts,
    I had a look into the naming conventions enforced by 'DEFAULT' variant of code inspector (SCI).
    the relevant categories are: "Naming Conventions", and "Extended Naming conventions for Programs" under "Programing conventions".
    in the "Extended Naming conventions for Programs" category, for functions, (applicable while calling the functions) it says,
    importing parameter : I[:type:]_
    exporting parameter : E[:type:]_
    changing parameter  : C[:type:]_
    tables parameter    : T[:type:]_
    but in the "naming conventions" category, for functions (applicable while defining the functions), it says,
    importing parameter : P_*
    exporting parameter : P_*
    changing parameter  : P_*
    tables parameter    : P_*
    I felt, while defining the function too, its better to have beginning with  I_, E_, C_ or T_ instead of P_
    is the 'DEFAULT' variant of code inspector is provided and recommended by SAP?
    for easier maintenance and clearer understanding, which naming convention is more suitable, or is there any official guidelines released by SAP for ABAP developers.
    appreciate the opinions from experienced abap developers.
    thanks,
    Madhu_1980

    Frank,
    Thanks for your answer.
    But what about Entity Objects, View Objects, View Links, and Application Modules.
    I would like my developers to have an easy way to name them and also find them via intellisense.
    So I was thinking in naming them the following way :
    Entity Objects :
    EO_Employee
    EO_Department
    View Objects :
    VO_Employees
    VO_Departments
    View Links :
    VL_EmployeesToDepartments
    Application Module :
    AM_HRService
    However the use of "_" is not so "Java naming oriented".
    So other alternatives would be:
    1. take the "_" :
    1.1 EOEmployee (I don't like the fact of having 3 capital letters together).
    1.2 EoEmployee (I don't like the fact of having Entity Object with a lowercase "o").
    2. Use the prefix at the end, but this way I loose the intellisense feature I want:
    ex: EmployeeEO
    Which naming approach are you using for big projects ?
    Thanks,
    Claudio.

  • Naming conventions for CMS tracks

    Hello all,
    i want to setup CMS for XI transports and create some naming conventions for track id, track name and track description. I studied the howto guides, help.sap.com and searched the forum but i still have no satisfying answer for some questions.
    Repository Transports
    As i read on a blog it would be a good idea to create separate tracks for each SWCV. To think about an unique name for track id and track name it's worth knowing if one SWCV can be assigned to more than one track. If not the SWCV would be sufficient to identify the track. Otherwise i have to add some prefix/suffix to make the track unique.
    Directory Transports
    For Integration Directory track there is only one SWC on CMS available, SAP-INTDIR. Is it possible to create two tracks on one CMS with SAP-INTDIR for supplying two independent XI lines with directory content? For example one track for XD1 -> XQ1 -> XP1 and another for XD2 -> XQ2 -> XP2. If so the SWC alone is again not sufficient to identify the track.
    If anybody has already thought about naming track id and track name i would be pleased to hear about your approach.
    Kind regards,
    Frank Opitz

    Experts from the JDI forum might help you on this.
    SAP NetWeaver Development Infrastructure (NWDI)

  • Naming Conventions for EP

    Hi all,
    There some official document about Naming Conventions for EP?
    Thanks.

    Hi,
    Portal objects naming convention.
    The portal objects should utilize the following naming convention.
    Folders: com.companyname.[functional area].[sub functional area].folders.[folder name]
    Iview: com.companyname.[functional area].iviews.[Iview name]
    Pages: com.companyname.[functional area].pages.[page name]
    Transports: com.companyname.[functional area].transports.[Transport name]
    Role: com.companyname.[functional area].[sub functional area].roles.[role name]
    Worksets: com.companyname.[functional area].[sub functional area].worksets.[workset name]
    Hope it helps.
    Thanks
    Mona

  • Powershell naming conventions for functions

    There is a lot of information about the Verb-Noun naming convention for cmdlets.  I am trying to understand what the recommendation / best practice is for naming  functions.  Personally, I like the idea that if I see Verb-Noun, I know it's
    a cmdlet, and it supports the standard parameters.  However, I'm not sure I see the entire picture.
    Thanks!

    There are as many opinions around this as there are people.  TechNet has some good recommendations for naming conventions, but you should adopt whatever standard you are most comfortable with.  In the end it doesn't much matter which convention
    you adopt, as long as you stick to it and keep it consistent.  Most corporate code doesn't get outside or shared with other businesses and vendors, so the whole purpose of standards and conventions is to keep things straight for YOUR people.  As
    long as you consistently apply your conventions, it doesn't matter.
    I trust that answers your question...
    Thanks
    C
    |
    RSS |
    http://crayveon.com/blog |
    SharePoint Scripts | Twitter |
    Google+ | LinkedIn |
    Facebook | Quix Utilities for SharePoint

  • Whats most common naming convention for MP3s (what does iTunes store use?)

    Trying to organise all my tags and music.
    I am using iTunes and some other tag (tag%rename) WMP etc, as some seem to not show all the tgs of other programs)
    However what is the generalised, most common naming convention for MP3 files?
    ie. track no, Album, artist etc.
    Also Ive never bought music from iTunes store yet, only got podcasts and stuff, but when you do , what is the filename convention they use please?
    cheers
    Mac OS X (10.5) iMac 20" 2Ghz (1st ever Mac Comp)

    iTunes has no automatic tag look up function for anything other than CDs (through GraceNote). I import a lot of mp3s (legally obtained) that need tweaking. Also, GraceNote doesn't provide lyrics. If I just need to edit a couple of tracks, the iTunes interface is fine. But for bulk adding of artwork or searching for release dates or lyrics, I use MpFreaker. I find it works best if you do small batches and keep an eye on what it comes up with. Sometimes, well, rarely, it's way off base.
    There may be better utilities out there but MpFreaker was recommended to me by someone I trust who spends a lot of time reviewing such things and it works for me so I haven't looked for anything else. You might find more reviews of other software at www.ilounge.com
    Best of luck.

  • Implement a technical naming convention for queries depending on user

    Hello,
    I'd like to implement a technical naming convention for queries depending on the user, because I want to make sure that the users are taking care of the naming conventions.
    For example a user defines a query and would like to save this query.
    During the save process he should only have the possibility to save the query with the name C_Name-of-Infoprovider_Text.
    The C should be unchageable for the user.
    The Name-of-Infoprovider should set automatically (if possible).
    The Text could be defined by the user.
    Another user would have this naming convention: X_Name-of-Infoprovider_Text
    Is there a possibility to implement such a function? (or just a part of this)
    Thank you.

    Thank you for your answer!
    Your answer helped me to implement a part of the naming conventions.
    Maybe some as an idea to implement the rest of the naming convention.
    --> Technical query name depending on technical name of the InfoProvider.
    Has anyone an idea?

  • Oracle Recomanded Naming Conventions for SOA

    Hi,
    We are working on a 12i implementation project using SOA (BPEL) for interface development and Oracle Data Integrator for conversion. Could you please let us know about oracle recomanded naming conventions for
    1. Adapter Service
    2. Adapter Connection Factories
    3. Routing Services
    4. XSD Files
    5. XSL Transformation Files
    6. ...etc
    Is there any oracle corporation provided naming conventions document on these? If so please let us know. Your quick help would be highly appreciated.
    Regards

    If the names are meaningful (which will depend on what objects are in the different schemas) and the underlying architecture is reasonable, then the naming convention would be a good practice.
    - How do the objects in the ABC schema relate to the objects in the ABC_ADMIN schema?
    - What, exactly, does the _ADMIN suffix indicate?
    My unfounded guess is that you have two related schemas because you're creating one schema that owns the objects and another schema that has restricted access to those objects (ideally just via procedures, functions, and views) for applications to use to log in. If that's the case, it's not obvious to me which of ABC and ABC_ADMIN would own the objects for the ABC application. But if you're actually separating the objects for other reasons, then _ADMIN may make perfect sense.
    Justin

  • Naming convention for Swing components?

    What are the official naming conventions for Swing components such as JButton, JFileChooser and so on?
    I know that "btn" is used for JButton variables. But where is a official list for all the prefixes?

    Well, if you unpack src.jar and consult the component classes you'll find how they set up their names.
    You can also call setName yourself to set a different name.
    - David

  • New query naming convention for Queries in Prod (Y-queries)

    Hi,
    We are trying to implement a new naming convention for ad-hoc queries in production.  Currently we do not allow queries to be created in Production. Users would like to create Y-queries in production.  Using security we can allow users to create Y-queries, without being able to create or change Z-queries (z's are official queries). 
    Can we also allow users to create Y-Calculated or restricted key figures?  Is there anything else we need to be aware of?
    Thanks,
    Mike

    Hi Mike,
    When we create Y queries in production, we have trouble using Z calculated key figures in those queries.  When we try to save the Y query (containing Z calculated key figures) we receive an error "The query could not be saved due to a problem in the transport".  I believe it is due to the fact that our Z calculated key figures are transported.  To work around this, we recreate the calculated key figure and save it as a Y key figure and then save the query.  Not sure if this will happen to you as well, but it may be worth testing to determine if you will need to grant access for your users to create calculated key figures.
    Regards,
    Charla

  • Naming conventions for Members

    Hi,
    Is there any naming convention for dimension members? To be more specific, can I create a member called 'Current' or would this affect the keyword current used for reporting and hence not allowed?
    Shehzad

    Hi,
    I have an application in which there is a member called 'Current' in the Version dimension. Whenever I deploy the application this member is never created in the first iteration. If I redeploy the application and refresh the dimensions, this member is then created.
    Now in a further enhancement of the application, there are some Account members that have a reference to this member in their Member Formula's. Since in the first iteration this member isn't created, the dependent members also fail with an error and the application doesn't deploy.
    Is there a fix around for this?
    Shehzad
    Off the top of my head, I imagine that I can deploy the previous version. Redeploy it to make sure 'Current' is created. Update the dimension library with the enhanced version of the application and redeploy again. This seems like a really cumbersome process, so I would love to know how I can ensure that this member gets created in the first go!

Maybe you are looking for

  • External Hard Drives will not Mount

    I have a WD & LaCie external hard drives in my iMac G5 they have been working fine until I started using the new Time Machine program. Now the drive show up in disk utility but not on the desktop. Disk utility has been no help in repairing them and i

  • 2 Reporting services point configure

    Hi, In our environment we configured  Reporting services point in stand alone primary server and working fine. Also we migrate reports from sccm 2007. Now my question is Shall I configure one more Reporting services point in helper server. If i confi

  • Can't get login script to work - tried both prefs and tty methods ...

    Calling all you script gurus ... I'm trying to auto-mount a sparse image on login (why? I got my 17" stolen along with the data - i'm using an encrypted image as my document repository now). I can't get this simple script to run using either method (

  • Why can't I send or receive picture messages on my iPhone 4s?

    Why can't I send or receive picture messages on my iPhone 4s?

  • Mountain Lion Finder crashes

    I was having trouble with Lion so upgraded to Mountain Lion 10.8.2 on my 2008 Mac Pro Quad Core Intel, 8GB computer. The Finder doesn't work properly. Cant't "Restart" under the Apple menu, Doesn't show icon software in colume view and constantly cra