This discussion is locked
5 Replies Latest reply: Jan 10, 2012 7:06 AM by Sushant Tiwarekar RSS

Difference between Reference & Template

priya kodali
Currently Being Moderated

Hi,Experts...

 

 

While Creating InfoObject Charecteristics there is 2 options Reference & Template what is the exact Usase of these,

can anybody differenciate with one scenario,which one is use in which situation...........

 

 

Thans in adance,

PriyaKodali.

 

Moderator Message: Please search before posting.

 

Edited by: kishan P on Jan 10, 2012 2:27 PM

  • Re: Difference between Reference & Template
    venkatewara reddy
    Currently Being Moderated

    Hi Priya,

     

    I have to one info object i want create same info object that we have two options 1. Reference 2. Template.

     

    Reference : Ex:

     

    Main info Object

    Info object Technical Name                          Data Type                      Length

    ZEMPLOYEE                                                  Char                               10

     

    I want Create New Info object based on Reference.

     

    If you use this reference as ZEMPLOYEE in your new info object you cannot change any data type as well as lenth also . Here you have to remember this new info object does not contain any tables like Attribute or Text etc. This new info object referese ZEMPLOYEE tables only. Like ZEMPLOYEE Attribute table Etc.

     

    If you use Templeate you can can change the Data Type and Length also it is contain it's own tables.

     

     

    Hope it helps you.

     

    Regards,

    Venkat.

  • Re: Difference between Reference & Template
    Venkadesh S
    Currently Being Moderated

    Hi,

     

    While creating IO, selecting reference/template creates the same structure as that of parent IO. But, creating as reference to parent IO inherits the data from the parent. You cant load data if you create IO with reference to another IO. The data comes from the parent IO.

     

    You use template option if you just want to copy the structure say attributes, compiunding objects etc to another IO.You can maintain master data for IO created using template option.

     

    if u create IO with reference, then basic info like general details, master data & attribute details will be same as referred IO & u cannot edit it..& You cant load data if you create IO with reference. The data comes from the referred IO.

     

    if u create a IO with template, then it will use the template IO as base.. & fill in all the IO tabs with the referred IO. But u can edit this info...

     

    Diff b/n refference and template info object

    Small Doubt................in Characteristics

     

    Thanks,

    Venkat

  • Re: Difference between Reference & Template
    Sai Prasad
    Currently Being Moderated

    Hi Priya,

     

    Scenario:

    Suppose you are asked to create 100 Characteristics with same properties , then reference characteristic comes to your rescue. Using reference characteristic , you may directly copy all the properties of required characteristic without creating/adding individual details.

     

    Example:

    1. Suppose you have already created a Characteristic ZMATERIAL1 and about to create another Characteristic ZMATERIAL2.

    2. If you use a reference characteristic, the new characteristic(ZMATERIAL2) assumes all of this characteristic's(ZMATERIAL1)  technical properties (data type, length, master data, conversion routine, and number and type of compounded characteristics, for example).

    3. It also assumes its business texts (such as descriptions, display, text selection, and person responsible). Nevertheless, technical properties can only be changed in the reference characteristic.

    4. It (ZMATERIAL2) will not have any master data table and attributes of its own, it just points to the object (ZMATERIAL1) from where its copied.

    5. If you use a template characteristic, the new characteristic(ZMATERIAL2) assumes this characteristic's(ZMATERIAL1) properties, which you can then edit.

     

    Hope this helps.

     

    Regards

    Sai

  • Re: Difference between Reference & Template
    Venkateswarlu Nandimandalam
    Currently Being Moderated

    Hi Priya,

     

    This has been discussed lot of times in SDN. As we know both are used to create an object in SAp BI.

     

    When we try to create any Object, we can do this in 3 ways.

     

    1) you can create your own based on the requirements provided.

     

    2) If you know that, you have other objects with the same requirements exist in system. You can use that object to create new one in two ways.

     

      a) Template : Yopu will get all the properties. If you want you can change here(further requirements)

     

      b) Reference : You will get all the properties. You can not change this object(You need change the object which is used as reference).

     

    Regards,

    Venkatesh

  • Re: Difference between Reference & Template
    Sushant Tiwarekar
    Currently Being Moderated

    You can check easily in Dev. system,

     

    1)     Create Infoobject using Reference Infoobject e.g 0Material.

         Activate new Infoobject.

         Now click on change, Try to change length or description etc.

         You can't able to change any thing here.

         " That means when you creating any object with REFERENCE Objetct, New Object takes all the property of REFERENCE Object which you can not change in New Object. If the property of REFERENCE Object get change then it's automaticly dirct impact on new Object"

     

    NOW You delete this new InfoObject

     

    2)      Create Infoobject using Template Infoobject e.g 0Material.

          Activate new Infoobject.

          Now click on change, Try to change length or description etc.

          Now You can able to change any thing here.

         " That means when you creating any object with Template Objetct, New Object takes all the property of REFERENCE Object which you can change in New Object. If the property of Template Object get change then there is no impact on new Object"

     

    Regards,

    Sushant

Actions