Difference between Data and Create data

Hi ,
Can any one please tell me the difference between CREATE DATA and DATA statement.
What all situations we need to use the create data statement.
Thanks in advance.
Joe

Hi,
here is a quote from ABAP documentation.
Unlike the DATA statement, CREATE DATA creates the data object at execution time. DATA creates declared data objects when the corresponding program unit is loaded.
More info can be found in ABAP documentation. CREATE DATA is usually used in dynamic programming where you work with generic types.
Cheers

Similar Messages

  • Difference between 0FI_AP_30 and 0FI_AP_4 Data source

    HI,
    What is the difference between 0FI_AP_30 and 0FI_AP_4 Data source.
    Thanks in advance

    Hi,
    In addition to above differences. Below is the functional difference between 0FI_AP_30 & 0FI_AP_4:
    0FI_AP_4 gives you accounts payable line items in your report. Here GL account shows the balances of particular types of  vendors/payables to which that particular GL account is been assigned.
    And If subledger is activated in ECC, then by using 0FI_AP_30 you can get the break up of that particular GL balance according to vendors.
    To make use of datasource 0FI_AP_30, subledger accounting must be activated in ECC.
    Regards,
    Pradip

  • Difference between passive and active data connection mode for  FTP

    Hi,
    Does any body have the idea of passive and active data connection mode for the transport protocol FTP.
    I have one server with FTP, I have to pick the data from this FTP to XI.
    What is the difference between active and passive data connection? Does XI supports both the connections?
    Thanks & Regards
    Katta Mohan Reddy

    Hi
    According to SAP Note - 821267
    Q: Does the File Adapter support active data connections when connecting to an FTP server?
    A: Up to and including SP14, the File Adapter exclusively uses passive data connections. Starting with SP15, active connections will be available.
    Difference between active and passive,
    You can definitely refer to the site mentioned by Suraj
    cheers
    Sameer

  • Difference between master and transaction data

    whts the difference and relaionship between master data and transaction data?why do we need to upload or extract both type of data's?cant we have only transaction data?please clarify

    Hi ,
    <b>Master Data :</b>
    The data which do not change frequently and that is needed generally for many reporting .
    Eg : Customer Name , Customer Address Etcc..
    <b>Transaction Data :</b>
    This the data that is derived based on some master data
    Eg : Creating a sales order for a Customer . So the transaction data will be
           Customer Number , Order Quantity .
    Why we keep master data as seperate in BW ?
    Because master data is general , So we have to use that master data in many cubes for reporting purpose . Because for any report on Customer we need to give cutomer name , So we keep that master data outside of cube so that any cubes that need to use customer master can take that , So we can concentrate on other dimensions for cube ,Other wise we need to include customer name in all cubes which is reppetitive .
    So the best method is to ....
    First Load master Data
    Then load Transactio data .
    In the Bex part we combine the master data with transaction data so that we get combined data .
    Eg :
    Master Data : Customer No , Cust Name , Cust Address
    Tran Data    :  Customer No , SD No , Order Qty .
    We first load the master data into master data tables /BI0/M*
    Then we load tarnsaction data into Cubes .
    Then in BEX Reporting we create query for Transaction Cube , But fetch some master data using Bex feature , So the report output will be
    Cust No   CustName    CustomerAddress    SD no    Order Quantity
    Hope this Solves your Problem

  • Difference between SXPG_COMMAND_EXECUTE and Open data set mechanism

    Can you please help me to know the difference between moving a file using FM "SXPG_COMMAND_EXECUTE" and moving file using "open data set - transfer file- close data set" mechanism?

    Through 'SXPG_COMMAND_EXECUTE' u can execute a External command  (ie.. UNIX /Windows/OS/400) In ABAP programming..
    for Conversion Of Aplication server File/Move the file from one directory to Other...
    The Command must be present in SM69.
    Using this function module'SXPG_COMMAND_EXECUTE' , you can check the authorization of a user to execute a particular external command and run the command:
    With the arguments specified in ADDITIONAL_PARAMETERS
    On the target host system defined by OPERATINGSYSTEM and TARGETSYSTEM
    If an SAP profile parameter is inserted in the portion of the command stored in the database, then the value of this parameter is substituted into the command. If an SAP application server is active on the target system (TARGETSYSTEM), then the profile parameter values are read from the profile that is active on that system. No parameter substitution is made in ADDITIONAL_PARAMETERS.
    After substitution, the command is checked for the presence of "dangerous" characters such as the semicolon ( ; ) on UNIX systems.
    If an additional "security function module" is specified in the command definition, this function module is also called in the course of processingebenfalls. This function module can prevent execution of the command.
    If the authorization checks complete successfully, the command is run on the target host system.
    Through Open Data Set u can read and write the file in the same directory...
    Thnaks,
    SD
    Moderator message: copy/paste without credit, points removed, please do not repeat!
    http://www.google.de/search?hl=de&q=%22youcanchecktheauthorizationofauserto+execute%22&meta=&aq=f&aqi=&aql=&oq=&gs_rfai=
    http://www.google.de/search?hl=de&q=%22Aftersubstitution%2Cthecommandischeckedforthepresence%22&meta=&aq=f&aqi=&aql=&oq=&gs_rfai=
    Edited by: Thomas Zloch on Aug 17, 2010 12:47 PM

  • What si the difference between crete and create insert operations.

    Hi
    In ADF 11g,what is the difference between create and createinsert operations.
    if anyone knows plz tell me.Any document about this plz provide me.
    Any help is appreciated.
    Sailaja.

    Hi,
    CreateInsert: Creates a new row that becomes the current row, and inserts the
    new blank row into the data source.
    Create: Creates a new row that becomes the current row, but does not insert it.
    --> normaly you would use createinsert
    Doc you can find here (search for Createinsert): http://download.oracle.com/docs/cd/E12839_01/web.1111/b31974.pdf
    br
    Peter

  • Difference between "clone" and creating a new object

    Hi experts,
    What on earth is the difference between:
    1)creating a new object by using the "clone()" method and
    2) just creating a new object?
    Let me be a bit more specific:
    if there's a class called "Book" and suppose we've already created an object called "japaneseBook", any difference between "Book spanishBook = new Book();" and "Book spanishbook = japaneseBook.clone()"?
    Thank you.
    Eileen

    The purpose is very obvious. At anytime in the running application, when Objects have been changed, and you desire to make another one of the same kind, you can't use new. You would use clone. The newer Object would have the same values in the variables. Now i got a question.. an important issue.
    public class XYZ{   
      public static int t = 10;
    } // default constructor is present by default.
                     //In another portion i have the following..
    private XYZ x = new XYZ( );  // private Object!!
         // Now what about this one????
    public XYZ x1 = x.clone( );  // public !!, well
    What impact of this code can be there to break the rules of good OOP design??? Is it that a clone Object would have the same access of itself (not of its variables) or different one?????????

  • What is master data and transactional data?

    Hi abapers,
    I want to know the difference between master and transactional data?. What is the significane of both master and transactional data. At what situation master data is used, and at what situation transactional is used?. Please give me example of tables using them.

    Master Data:
    Master data is data that remains unchanged over a period of time. It contains information that is always needed in the same way. For example, all personal attributes can be stored in various SAP standard infotypes as records with specific validity which are called Master data.
    Master data are the critical nouns of a business and fall generally into four groupings: people, things, places, and concepts. Further categorizations within those groupings are called subject areas, domain areas, or entity types. For example, within people, there are customer, employee, and salesperson. Within things, there are product, part, store, and asset. Within concepts, there are things like contract, warrantee, and licenses. Finally, within places, there are office locations and geographic divisions. Some of these domain areas may be further divided. Customer may be further segmented, based on incentives and history. A company may have normal customers, as well as premiere and executive customers. Product may be further segmented by sector and industry.
    Transaction data:
    Data relating to the day-to-day transactions.
    Reward if helpful.
    Thanks.

  • Difference between 0PM_OM_OPA_1 and 0PM_PRM_PLCS_1

    Hello,
    Can you pls provide me information about difference between 0PM_OM_OPA_1 and 0PM_PRM_PLCS_1 data sources?
    Both of them extract plan data.
    Regards,
    Romano

    Hi,
    0PM_PRM_PLCS_1 - This DataSource is used to load the movement data for maintenance planned costs.
    Prerequisites
    Configure the desired extraction parameters in the TPM_C05 Customizing table (transaction SM30).
    Parameters for the Costing of Maintenance Task Lists
    ·        Reference date for the costing
    ·        Order type for the costing
    ·        Package size for the internal subdivision of the extraction
    Parameters for the Costing of Maintenance Plans
    ·        Reference time for the costing
    ·        Package size for the internal subdivision of the extraction
    whereas Only full upload for DataSource 0PM_OM_OPA_1
    -Vikram

  • Difference between Invoice created date and billing date.

    Hi Gurus,
    I opened the Billing Document in display mode(T.Code:VF03).In header data I found two tabs one is Created On and another one is Billing Date. Here in the billing document the both dates were different.
    Please let me know the difference between Created On date and Billing Date.
    your afforts are highly appriciated.
    JYothi.

    Dear Jyothisd,
    Invoice created date : Invoice created date is nothing but the date on which you have created the invoice.
    Billingdate:Billing date is the date on which you suppose to do the billing for respective customer. Tease billing dates will be proposed to invoice from sales order if it is order related  or else actual goods issue date is proposed to billing document as a Billing date if particular billing document is delivery related.
    If you want you can change the Actual billing date the result is invoice created date.
    Please revert if you want any further clarifications
    Thanks&Regards

  • Difference between document date, posting date and created on date in FI

    hi
    Would like to know in which scenario can the document date be different from posting date in case of incoming payment which reamains unallocated for a while.
    Please correct my understanding : created on date will be the date on which we enter/create in SAP which can be different in case we are uploading the documents from legacy sys.
    But will it be different from posting and document date in case this document was created in SAP itself.
    Thanks and regards,
    Sarah.

    Hi
    Document date and creation date are same ie date on which document is created but the posting date is the date on which the document is posted lets say for example a document is created on friday 5:55 as the office gets closed at 6 and sat sun is off now the posting date will be date on monday or the date after monday when the document gets all the necessary approvals
    so it can be posible that posting date and creation date are same for a document and vice versa is also true
    thanks
    puneet

  • The Difference between "Cell Data" and "Dimension Data"?

    What is the difference between the tab "Cell Data" and "Dimension Data" in SSAS?

    Article quote: " SSAS provides the way to secure analysis services database/cube data from unauthorized access. Analysis services provides secure access by creating object called "roles". After creation of role, user's windows login credential can be used
    to enroll into particular role because analysis services identifies user from their windows login credentials . You can protect your data in roles at two levels:
    1) Dimension level
    2) Cell level
    If user has been assigned more than one role, analysis services loop through all assigned roles after login. Analysis services finds all permission level for the particular user and  union all the permission levels.
    If two roles has contradictory access for user then particular access will be allowed. Suppose role1 says Australia data access and role2 denies Australia data access then access to Australia data will be allowed. "
    LINK:
    http://www.msbiconcepts.com/2010/10/ssas-data-security-dimension-and-cell.html
    Kalman Toth Database & OLAP Architect
    IPAD SELECT Query Video Tutorial 3.5 Hours
    New Book / Kindle: Exam 70-461 Bootcamp: Querying Microsoft SQL Server 2012

  • What is the Difference Between Sys Date and Effective Date ??

    Hi Gurus,
    Can any one pls let me know What is the Difference Between Sys Date and Effective Date ??
    with regards
    User600722

    EFFECTIVE DATE usually refers to a date-tracked record (although not exclusively).
    Date-tracked records in Oracle HR have an EFFECTIVE START DATE and an EFFECTIVE END DATE. The record is 'EFFECTIVE' between these dates. In reports, you often use SYSDATE to compare to these two dates to find the CURRENT effective record, e.g. SYSDATE BETWEEN EFFECTIVE START DATE AND EFFECTIVE END DATE.
    When you make changes to a HR record, you can choose between DATE TRACKING options, such as CORRECT or UPDATE (there are others too). CORRECT will overwrite the record and replace the data with your changes. This is normally used when you need to correct something that is wrong. UPDATE will create a new version of the record from the EFFECTIVE START DATE you choose. It will also set the EFFECTIVE END DATE of the previous record to the day before your new record's EFFECTIVE START DATE. That enables a history of records to be maintained so you can see what your data looked like at ay one point in time.
    Regards
    Tim
    Edited by: TimW on Sep 23, 2008 2:37 PM

  • Finding difference between Max date and Min date from single date field

    Dear Experts,
    Here I am with a scenario where i didnt find any solution in SDN and in most threads it is unanswered.
    I have 1 KF which is a date field. With reference to Serial no, I want to find out the Max and Min date from the same KF. I created 2 CKF where the same KF is used in both CKF to find the Min and Max dates,
    Ex:
    Serial No | Material | Actual Del date | Max | Min | Difference
    0123 | 300012 | 01.01.2009 | 31.01.2009 | 01.01.2009 | 30
    0123 | 300013 | 07.01.2009 | 31.01.2009 | 01.01.2009 | 30
    0123 | 300018 | 15.01.2009 | 31.01.2009 | 01.01.2009 | 30
    0123 | 300014 | 30.01.2009 | 31.01.2009 | 01.01.2009 | 30
    0124 | 300019 | 02.01.2009 | 10.01.2009 | 02.01.2009 | 8
    0124 | 300012 | 06.01.2009 | 10.01.2009 | 02.01.2009 | 8
    0124 | 300017 | 10.01.2009 | 10.01.2009 | 02.01.2009 | 8
    This is the way how I want the output where now I am able to get the values right till Max and Min and not the difference. I even created the 3rd CKF the find the difference but it is not working.
    How can I find the difference between the Max and Min dates?
    Regards,
    Chan

    Hi
    You have FM --DAYS_BETWEEN_TWO_DATES you can use this while Customer Exit.
    Try to Have 2 RKF for Min Data and Max Date and create a formula/CKF on the same ..
    Hope it helps

  • Difference between doc date,posting date and invoice date

    hi bw guys
    can someone give a brief on the difference between doc date,posting date and invoice date.and the invidual definitions
    thank you

    Hi,
    Posting Date: Date which is used when entering the document in Financial Accounting or Controlling. The posting date can differ from both the entry date and the doc date.
    Document Date: The document date is the date on which the original document was issued. Ex: Inv date, Bill date etc.,
    Invoice Date : Usually the date when goods are shipped. Payment dates are set relative to the invoice date.
    -Vikram

Maybe you are looking for

  • How to hide Actions Column in Table

    Hi All, I have a simple requirement: I am showing a table (items) - the "Actions" column (Column with Buttons to Edit and Delete a particualr row) must not be show -> no changes to the table are allowed (I need to hide/ disable this column) How can I

  • Error Message about drafts folder ("Mailbox does not exist")

    Hi, after adding a third account to my Thunderbird desktop, I keep receiving the following Error Message every 30 seconds or so: "the current operation on drafts did not succeed. the mail server for account [email protected] responded: Mailbox does n

  • Do you have an Adobe Reader for Unix/Solaris?  If so, can you provide me the URL?

    Do you have an Adobe Reader for Unix/Solaris?  If so, can you provide me the URL?

  • I need a bapi documentation

    hi all,   this is siva. i need a bapi documentation. how to create the RFC using bapi fucntion modules to extract the data from particular master tables. pls send the demo also how to create the RFC. with regards, siva. 9985774578

  • Why can't my kids get their own apple ids?

    My kids are getting an error when trying to create their own apple ids?  Why?  The error message said due to age.  What is the age minimum and is it based on age in email?