What is meant by Defining Common Data Area ??

I have seen a code like this ....
DATA: BEGIN OF COMMON PART FM06LCS2,
        ( All the parameters /select-options are declared here)
      END   OF COMMON PART.
what is this ??? what for it is used ??????
My requirement is .....
To add one more Parameter in between this area.....
what all should i do???
Expecting your answers,
Thanks in advance
Cheers,
R.Kripa.

HI
GOOD
GO THROUGH THIS
For the sake of completeness, this section describes a technique that allows you to access the global data of the calling program from an external subroutine. To do this, you declare a common data area for the calling program and the program containing the subroutine. All interface work areas declared using TABLES and NODES behave like the common data area.
Like external subroutines themselves, you should use common data areas very sparingly. The rules for accessing common data areas can become very complicated if you call function modules from nested subroutines.
You declare a common data area in all programs concerned using the statement:
DATA: BEGIN OF COMMON PART [<name>],
      END OF COMMON PART [<name>].
Between the two DATA statements, you declare all of the data you want to include in the common data area.
The common part declaration must be exactly the same in all of the programs in which you want to use it. It is therefore a good idea to put the declaration in an include program.
You can use several common parts in one program. In this case, you must assign a name <name> to each common part. If you only have one common part in each program, you do not have to specify a name. To avoid conflicts between programs that have different common part declarations, you should always assign unique names to common parts.
Assume an include program INCOMMON contains the declaration of a common part NUMBERS. The common part comprises three numeric fields: NUM1, NUM2, and SUM:
***INCLUDE INCOMMON.
DATA: BEGIN OF COMMON PART NUMBERS,
        NUM1 TYPE I,
        NUM2 TYPE I,
        SUM  TYPE I,
      END OF COMMON PART NUMBERS.
The program FORMPOOL includes INCOMMON and contains the subroutines ADDIT and OUT:
PROGRAM FORMPOOL.
INCLUDE INCOMMON.
FORM ADDIT.
  SUM = NUM1 + NUM2.
  PERFORM OUT.
ENDFORM.
FORM OUT.
  WRITE: / 'Sum of', NUM1, 'and', NUM2, 'is', SUM.
ENDFORM.
A calling program FORM_TEST includes INCOMMON and calls the subroutine ADDIT from the program FORMPOOL.
PROGRAM FORM_TEST.
INCLUDE INCOMMON.
NUM1 = 2. NUM2 = 4.
PERFORM ADDIT(FORMPOOL).
NUM1 = 7. NUM2 = 11.
PERFORM ADDIT(FORMPOOL).
This produces the following output:
Sum of 2 and 4 is 6
Sum of 7 and 11 is 18
The subroutines in the program FORMPOOL access the global data of the shared data area.
Assume a program FORMPOOL that contains two subroutines TABTEST1 and TABTEST2 as follows:
PROGRAM FORMPOOL.
TABLES SFLIGHT.
FORM TABTEST1.
  SFLIGHT-PLANETYPE = 'A310'.
  SFLIGHT-PRICE = '150.00'.
  WRITE: / SFLIGHT-PLANETYPE, SFLIGHT-PRICE.
ENDFORM.
FORM TABTEST2.
  LOCAL SFLIGHT.
  SFLIGHT-PLANETYPE = 'B747'.
  SFLIGHT-PRICE = '500.00'.
  WRITE: / SFLIGHT-PLANETYPE, SFLIGHT-PRICE.
ENDFORM.
A program FORM_TEST calls TABTEST1 and TABTEST2 as follows:
PROGRAM FORM_TEST.
TABLES SFLIGHT.
PERFORM TABTEST1(FORMPOOL).
WRITE: / SFLIGHT-PLANETYPE, SFLIGHT-PRICE.
PERFORM TABTEST2(FORMPOOL).
WRITE: / SFLIGHT-PLANETYPE, SFLIGHT-PRICE.
THANKS
MRUTYUN

Similar Messages

  • What is meant by EDI(Electronic data excahange)

    what is meant by EDI(Electronic data excahange).my pm has given us new project on EDI based project.Iam not knowing EDI can any body tell or give any link to tutorial.

    EDI is the predecessor to XML. It is a document format that is used to pass data between disparate computer systems.
    There are many different EDI file formats (like X12) as well.
    Did you try looking up Java EDI on Google?

  • What is meant by JMX

    What is meant by JMX

    JMX[TM] Technology are the "Java Management Extensions" originally defined by JSR 3.
    More info here:
    http://java.sun.com/products/JavaManagement
    here:
    http://blogs.sun.com/roller/page/jmxetc?entry=looking_for_jmx_overview_examples
    and there:
    http://blogs.sun.com/roller/page/jmxetc?entry=where_can_i_get_my
    Note that the JMX Technology is being quite widely used - so if you're wondering
    what is JMX in, say, the context of an Application Server, then you should probably
    look at the documentation of that Application Server too in order to understand
    how and for what purposes it uses the JMX Technology.
    Hope this helps,
    -- daniel

  • Memory management - Data area

    Hi,
    I need to define a data area with 65 channels and a channel length of 10000000. With different configurations DIAdem shows up the following error messages:
    1-The defined area is too large for this computer to reboot
    2-Numeric value out of valid range (6400000000>2147483647)!
    Error occurred while installing the data matrix
    Does anyone know how to solve it? Minimum necessary memory RAM? Free space necessary on HD? I tried with DIAdem 8.1 & 9.1 with same result.
    Help will be appreciated,
    Thanks.

    Thanks for your quick answer,
    Actually I solved the problem splitting the Data files to reduce the length and after the analysis I join the results channels. I did it in this way because I didn’t want to expend much time modifying the code that I already had to analyse the data. My code performs several filters to the data and then searches all the positive peaks over zero and the negative peaks under zero in order to plot some histograms related to the peaks.
    I think that your solutions are well suitable but I thought that how I already had the code that was possible to generate that memory matrix…
    Now just for my knowledge: It’s possible to generate that data matrix with 1GB RAM memory? The problem could be that due to my company policy our HD are in FAT32? If I use a NTFS HD then it’s possible?
    Thanks for your interest,
    Marc.

  • What is meant by?

    MSB|=LSB
    and
    LSB &=oxooff
    here what is meant by '|' and '&'

    Your questions are super-basic.
    Please carefully read all of this:
    http://java.sun.com/docs/books/tutorial/java/index.html

  • What are the steps  needs to be perform to define a data model

    What are the steps  needs to be perform to define a data model
    a.     Information Gathering 
    b.     Hardware & Software
    c.     Structure the Information – MDM
    d.     Transfer into a Physical Model – BW data model
    e.     Explore use of existing model – Business Content

    Hi Siva,
         Very first activity is Proof of concept (POC), here we have to show How BW works for clients Reporting requirement during POC we as BW consultants need to creat some sample BW back end objects and also some reports based on business requirement. This is very crucial stage as Client Judge wethere BW would meet his demands. If every thing is fine then next step is Bidding.
    After Bidding the contract then actual Project intiates. from here we follow ASAP methodology.
    <u><b>
    Project Preparation</b></u>
    Here Senior Consultant would go to Client place for Business Process Transistion and to know in what way the Architectue should be set up so here Basis People will come into picture.
    <u><b>Blue Print</b></u>
    Transistion could be understood by BRD (Business Requirement Documents) BRD states what is exact requirement and it is given by End users.
               By seeeing thr BRD's we as BW consultants must prepare APPlication Design Documents . The Application Design Documents states all the Technical aspects that needs to be performed as BW backend and also as well as Frontend.
    <u><b>Realization Phase</b></u>
      Here as BW consultants we must start confuguring as mentioned in ADD's by taking care of all performance aspects, once all the configuration are done we do Unit testing. unit testing is an activity where we check all the design process wether it running correct or not. After unit testing we move the design objects to Qulaity for Integration Testing.
    <u><b>Testing</b></u>
        Here end user will check all the objects, reports on end to end basis. after integration testing is done then UAT ( User acceptance Testing) would come into picture where user check each process and sign off.
    <u><b>Go live</b></u>
    Here all the object will be moved to Production where end users and power users can start working on the system. intially for some days Development team would be taking care of all support activites there after  it will be transitoned to support team.
    Hope It helps you.
    Assign Points if it usefull
    Regards
    Sujan

  • WHAT IS MEANT BY DATA CLASS ? EXPLAIN IN DETAIL.

    HAI,
            WHAT IS MEANT BY DATA CLASS ?  TYPE OF DATA CLASS ?EXPLAIN IN DETAIL.
    THANK YOU
    ASHOK KUMAR

    Hi,
    The data class determines the tablespace that the table is assigned to. (The term "tablespace" applies to Oracle databases. For Informix, substitute the term "DB space.") A tablespace is a physical file on disk that is used to hold tables. Every table is assigned to one tablespace. Tables with similar characteristics are usually grouped into one tablespace, so tablespaces are the administrative units used by the DBA to manage the database. For example, tables that grow quickly will be grouped together in a tablespace on a disk with a lot of free space.
    Each data class has an associated tablespace. When you activate a table, it is created in the tablespace associated with that data class. If you change the data class when the table is active, nothing happens; it doesn't move to another tablespace.
    The important data classes are:
    APPL0 or master data. By choosing APPL0 (master data), you signify that the table is not updated often and grows slowly. It will be placed in a tablespace with similar tables. Vendor master and customer master tables are good examples of master data.
    APPL1 or transaction data. By choosing APPL1 (transaction data), you signify that the table is expected to be updated often and to grow quickly. Orders placed with vendors and orders received from customers are good examples of transaction data. Tables containing these orders will have a data class of APPL1.
    APPL2 or customizing data. By choosing APPL2 (customizing data), you signify that the table's contents are determined before implementation and do not change often after that. Check tables and their associated text tables, such as ztxt005 and ztxt005t, are good examples of tables that should have a data class of APPL2.
    Hope this helps.
    Reward if helpful.
    regards,
    Sipra

  • What is meant by article grouping and site grouping and how to define

    what is meant by article grouping and site grouping and how to define in SAP.

    Hi Charan,
               Article Grouping in its broader sense  means grouping of Articles for ease of maintenance and business functions, either on the basis of Hierarchy or on the basis of Merchandise Category.Article Grouping is also primarily useful in promotions,wherein you can define a set of articles(which may not necessary fall under the same MC or Hierarchy) and club them together and assign them in a promotion.Txn codes used are : VBG1/2/3 - Create/Change/Display Article Group
    For more information refer the link below
    http://help.sap.com/saphelp_47x200/helpdata/en/12/08485c470311d1894a0000e8323352/frameset.htm
    Site Grouping is used for ease of maintenance by grouping the sites.It is also used to maintain the characteristics as well.This can also be used in Allocation Tables,promotion and Listing etc
    Some of the Txn codes -
    WB50 - Site Group,Create Alloc,.table
    Wb56 - Site Group, Alloc.table,Maintain Sites in Class
    WB60 - Site Group,Create Promotions
    WB64 - Site Group,Maintain SItes to Class
    Wb80 - Create Site Group Other
    For more information,refer the link below
    http://help.sap.com/saphelp_47x200/helpdata/en/12/08485c470311d1894a0000e8323352/frameset.htm
    Hope it helps
    Rgds,
    Aram K.
    For more information refer to the link below

  • I can not install the newest version of iTunes because of a file that can not be found. This is what I am seeing:(The feature you are trying to use is on a network resource that is unavailable. C:\......\Application Data\Apple\Apple Software Update\

    I can not install the newest version of iTunes because of a file that can not be found. This is what I am seeing:(The feature you are trying to use is on a network resource that is unavailable. C:\Documents and Settings\Aubrie\Local Settings\Application Data\Apple\Apple Software Update\)

    (1) Download the Windows Installer CleanUp utility installer file (msicuu2.exe) from the following Major Geeks page (use one of the links under the "DOWNLOAD LOCATIONS" thingy on the Major Geeks page).
    http://majorgeeks.com/download.php?det=4459
    Here's a screenshot showing the particular links on the page that you should be clicking:
    After clicking one of the circled links, you should be taken to another page, and after a few seconds you should see a download dialog appear for the msicuu2.exe file. Here's a screenshot of what it looks like for me in Firefox:
    Choose to Save the file. If the dialog box does not appear for you, click the link on the page that says "CLICK HERE IF IT DOES NOT". Here's a screenshot of the page with the relevant link circled:
    When the dialog appears, choose to save the file.
    (2) Go to the Downloads area for your Web browser. Doubleclick the msicuu2.exe file and follow the prompts to install the Windows Installer CleanUp utility. (If you're on a Windows Vista or Windows 7 system and you get a Code 800A0046 error message when doubleclicking the msicuu2.exe file, try instead right-clicking on the msicuu2.exe file and selecting "Run as administrator".)
    (3) In your Start menu click All Programs and then click Windows Install Clean Up. The Windows Installer CleanUp utility window appears, listing software that is currently installed on your computer.
    (4) In the list of programs that appears in CleanUp, select any iTunes entries and click "Remove", as per the following screenshot:
    (5) Quit out of CleanUp, restart the PC and try another iTunes install. Does it go through properly this time?

  • Capacity Planner - What metrics datas are sent across to VMware

    Hi, I'm looking for some detail information of the capacity planner data that is going out of customer environment. This is needed for a migration project that I'm current working on it, where we do lot of P2V consolidation. The environment is a secure environment and the security team is concerned about the data been sent across and the performance of production servers for financial institution.
    Even though there are options to hide all the information like server names or domain information, I would like to see some sample data analysis to look at it and to know what encryption is used to transmit data over to VMware. I looked at partner central and other sources on the web, but hard to find detail information.Can anyone share some information please? Many thanks in advance, Siva

    Thanks Arthur for the document.
    Siva

  • What is the cost to terminate plans? end dates are 5/9/15, 6/17/15, and 3 plans end 10/17/15

    End dates are 5/9/15, 6/17/15, and 3 @ 10/17/15. The phones were for my kids christmas 2 yrs ago and were all stolen. No insurance, sad to say. I've been  paying each month but wish to terminate these contracts since they are of no use without a phone. I'm  not  interested in upgrading since i use a different carrier personally.

    What phones were purchased two years ago?  Smartphones - $350 less $10 for each month of contract completed; basic phones, $175 less $5 for each month completed (half the smartphone ETF).
    Contract ending May 9, $120 or $60, after April 9
    Contract ending June 17, $140 or $70 before April 17, $10 or $5 less after that date
    Contract(s) ending October 17, $180 or $90 each.
    An alternative would be to activate a loaner from a friend, or a replacement from eBay or swappa and use the service until the line is out of contract.

  • What is meant by 'Business Area'

    Hi all
    what is meant by 'Business Area' in discoverer?
    Because i have installed BI Tools Discoverer Admin and Desktop
    but unable to figure out what Business Area atcually is!!!!
    Thanks in advance
    Regards

    Hi,
    what is meant by 'Business Area' in discoverer?
    Business area is nothing but a set of folders specified to that responsibility.
    Seems your novice so to know concepts of BI and develop discoverer reports follow this user guides which can be downloaded from oracle site.
    [http://download-west.oracle.com/docs/html/B10270_01/toc.htm]
    [http://download.oracle.com/docs/cd/B14504_01/dl/bi/B10272_01/toc.htm]
    Hope this helps you,if anything more feel free to ask we are ready to help you.You will find Discoverer interesting as you go on working with it.Have a nice time working on it.
    Best Wishes,
    Kranthi.
    Edited by: Kranthi.K on Jun 16, 2009 7:29 AM

  • In What Format datas are stored in the LabView???

    Hello Friends
                    In what Format datas are stored in the Labview.Likewise Icon,Text format Etc.
    Jayavel

    Data Types : 
     http://zone.ni.com/reference/en-XX/help/371361B-01/lvexcodeconcepts/manager_data_types/
    Data Logging :
    http://zone.ni.com/reference/en-XX/help/371361B-01/lvconcepts/choosing_a_file_i_o_format/ 

  • TS3988 My credit card was charged about $100 for 8 different transactions.  Five were for 9.90.  These dates are Aug. 6, 7, 28 and 29.  I have not ordered anything and don't know what they are for.

    My credit card was charged about $100 for 8 different transactions.  Five amounts were $9.90.  These dates are Aug 6, 7, 28 and 29.  I have not ordered anything and don't know what they are for.  Please help me.  Linda Feddersen

    How to report an issue with your iTunes Store, App Store, Mac App Store, or iBooks Store purchase
    Linda.. if you have not done so, contact your credit card company so they can monitor your account.
    And change your Apple ID password ASAP >  Apple ID: Changing your password

  • What types of data are entered in the order type?...

    Hello SAP-team!
    What types of data are entered in the order type?
    - Settlement profile
    - Sample order
    - Settlement rule
    - Order category
    - Costing sheet for overhead rates
    ps: thanks to SAP-community!
    Eugene

    Hi,
    What types of data are entered in the order type?
    - Settlement profile- True
    - Sample order -True(by model order)
    - Settlement rule-True
    - Order category-True
    - Costing sheet for overhead rates-False
    Regards
    Sudhakar Reddy

Maybe you are looking for