InfoObject as Attribute of another

Hi Gurus,
Could u guys please explain me some doubts in modelling-
1) When exactly a characteristic is used as an attribute of another one?
2) OR How exactly do we decide that we want an infoObject as a seperate characteristic or as an attribute of another?
3) Is it something related to how it should appear in reports?  Please clarify the doubts.
Thanks and Regards,
Sapna.

Hi Sapna,
Welcome to SDN !!
We define characteristics and attributes based on the business and reporting requirements of customers. For e.g. customers want to see material group information for individual material numbers. Then we model material group as an attribute of Material Number.
If there is a requirement for drill-down and navigation for material group then we define it as navigational attribute.
If there are certain time-dependency requirements then we model it as time-dependent attribut / nav, attributes.
To answer your question: -
1) We should logically put together all the related information as an attribute that might be requested by the business users in order to get a complete information of the master data info-object. For e.g. if its material number, then users might be interested in seeing the material group, material class, plant from which the material was produced etc. So all these will become the attribute of material number.
2) Functionally we separate out master data based on business requirements. For e.g. Material Number & customer number should be modelled as separate master data as they are not related to each other functionally.
3) As i already explained, the modelling is impacted by the reporting requirements. For e.g. no navigation / drill down for Material group, model as display attribute only. No retrospective reporting requirements, model the attributes as time-independent.
Hope it helps.
Thx,
Soumya

Similar Messages

  • Look up InfoObject's attributes in update rule

    Hello Gurus!!!
    I have an update rule that looks up for an InfoObject's attributes to update some fields of an InfoCube. Is there another way to do this look up than load all InfoObject attributes into an internal table from the start routine? I tried to read the attribute's table directly from the routine but it takes very very long time.
    Thanks for your help!!

    Hi:
    I think you made good progress with Viren's advice.
    Your statement looks fine. Now, I think you should play with some settings.
    1) Try reading a sebset without too many AND statements. I cannot tell you which ones are important.
    Look at it this way, if you get 1 million by htis complex Select, try to get 1.5 mil by simplifying the statement since you don't have memory problems anymore.
    If you are reading my Master Data table, why don't you read by KEY, Active Data and just one more FIELD (you pick the field which will give you least values).
    E.g.
    SELECT * FROM /bic/pzdocument
       INTO TABLE it_document
       FOR ALL ENTRIES IN DATA_PACKAGE
       WHERE
       /bic/zdocument = DATA_PACKAGE-ac_doc_no AND
       objvers = 'A' AND
       item_num = DATA_PACKAGE-item_num.
    Another one is that there is a good chance your DATA_PACKAGE-ac_doc_no  is there Multiple times. Now your Select Statement will read the DB table Multiple Times. So, you can do this:
    DATA_PACKAGE_1 like DATA_PACKAGE.
    DATA_PACKAGE_1 [] =DATA_PACKAGE [].
    DELETE ADJACENT DUPLICATES FROM DATA_PACKAGE_1
                 COMPARING ac_doc_no.
    Then, write your Code.
    SELECT * FROM /bic/pzdocument
       INTO TABLE it_document
       FOR ALL ENTRIES IN DATA_PACKAGE_1
       WHERE
       /bic/zdocument = DATA_PACKAGE_1-ac_doc_no AND
       objvers = 'A' AND
       item_num = DATA_PACKAGE_1-item_num.
    Its difficult to tell which one is more efficient. Your best bet is to spend soem time on these Codes and get the Statistics. Also, take an ABAPers help if available.
    Good luck,
    Forget: Its a good time now to play with your Laod Tansfer Settings (do it at the InfoPackage Level so that you don't change others' load)
    Go to InfoPackage, Sechduler from Menu, Data Transfer Settings for Max Size, no. of data packets.
    Ram C.
    Message was edited by:
            Ram Chamarty

  • Creation of new table with attributes of another ??

    how can i create a new table which has the same attributes as another ? Please note that the records/tuples in the already existing table shouldn't be copied into the new table.
    Illustration:
    Table Employee_Details with attributes/fields Name and IDno is present.
    A new table Supervisor should have the same attributes/fields Name and IDno.
    But the data in Employee_Details table shouldn't be copied into this table (Supervisor).
    Can anyone write a query in SQL that does the same i.e. use the attributes of another table during the creation of a new one?
    Also can anyone explain why the following query is erroneous ?
    sql> create table supervisor as (desc employee_details);
    Thanks for your help!

    create table new_table as select * from old_table
    where 0=1;This statement doesn't create the new_table in the same tablespace than old_table... to take for example only the tablespace, but that's right for storage clause too.
    Assuming TITI is my old table, and TOTO my new table :
    SQL> show user
    USER is "H89UCBAC"
    SQL> select default_tablespace from dba_users where username='H89UCBAC';
    DEFAULT_TABLESPACE
    PSDEFAULT
    SQL> create table titi(coltiti number) tablespace tools;
    Table created.
    SQL> create table toto as select * from titi;
    Table created.
    SQL> ed
    Wrote file afiedt.buf
      1* select table_name,tablespace_name from dba_tables where table_name in ('TITI','TOTO')
    SQL> /
    TABLE_NAME                     TABLESPACE_NAME
    TOTO                           PSDEFAULT
    TITI                           TOOLS
    SQL>   1* select replace(dbms_metadata.get_ddl('TABLE','TITI'),'TITI','TOTO') from dual
    SQL> /
    REPLACE(DBMS_METADATA.GET_DDL('TABLE','TITI'),'TITI','TOTO')
      CREATE TABLE "H89UCBAC"."TOTO"
       (    "COLTOTO" NUMBER
       ) PCTFREE 10 PCTUSED 40 INITRANS 1 MAXTRANS 255 NOCOMPRESS LOGGING
      STORAGE(INITIAL 65536 NEXT 65536 MINEXTENTS 1 MAXEXTENTS 2147483645
      PCTINCREASE 0 FREELISTS 1 FREELIST GROUPS 1 BUFFER_POOL DEFAULT)
      TABLESPACE "TOOLS"
    SQL> drop table toto;
    Table dropped.
    SQL> CREATE TABLE "H89UCBAC"."TOTO"
      2   (    "COLTOTO" NUMBER
      3   ) PCTFREE 10 PCTUSED 40 INITRANS 1 MAXTRANS 255 NOCOMPRESS LOGGING
      4  STORAGE(INITIAL 65536 NEXT 65536 MINEXTENTS 1 MAXEXTENTS 2147483645
      5  PCTINCREASE 0 FREELISTS 1 FREELIST GROUPS 1 BUFFER_POOL DEFAULT)
      6  TABLESPACE "TOOLS"
      7  /
    Table created.
    SQL> select table_name,tablespace_name from dba_tables where table_name in ('TITI','TOTO');
    TABLE_NAME                     TABLESPACE_NAME
    TITI                           TOOLS
    TOTO                           TOOLS
    SQL> HTH,
    Nicolas.
    Message was edited by:
    N. Gasparotto

  • How to Get view attribute of another VO

    HI OAF Guys,
    I have a query to get view attribute of another VO. I will explain the case:
    I created a separated region(consists of Advanced Table-in-Advanced Table) and i added it to the already existing page. I want to populate the master table content by passing the custacctid and contactid to the VO(Master table). Here contact id, we can get using party id. This party id view attribute is in another VO(This VO is already existed in the page). How to access that VO and view Attribute.
    If some one knows this, respond asap as it is urgent requirement.
    Kind&Regards
    U.Palakondaiah

    Hi tapash,
    thx for ur soon reply. I will explain a little bit more. In the existing page, there is a VO(IMCCustAccountRolesVO) having IMCAcctContactUpdateCO and
    IMCCustAccountContactAM controller and Application modules respectively.
    Now I added a region to this page(consists Advanced table-in-advanced table). This region has ContactPrivilegesCO and ContactPrivilegesAM conroller and Application modules respectively. I created a VO(EqxContPrvlVO) to populate the values in master table. For this one I have to pass contactid. we can get this contactid by using partyid which is view attribute of IMCCustAccountRolesVO.
    Now can I get this view attribute(PartyId) in ContactPrivilegesAM?
    I think you undetstand the situation. If you have any doubts let me know..
    Thanks & Regards
    U.Palakondaiah

  • Want to make one existing infoobject as reference to Another Infoobject

    Hi Friends,
    I have created one Characterstics infoobject & on top of that we have created infocube , BEx queries & transported the same to Production system.
    Now we want make the same infoobject as reference to another infoobject.
    Kindly guide me how to make an Existing characterstic infoobject as Reference infoobject to Other inobject.
    I know createing ference infoobject while creating Infobject But now now i want to change existing infoobject.
    Thanks &Regards,
    Revathi

    hi,
    this is not possible once the info object is created, you want to create it as reference to use data of the object?
    if yes then if the object which you want to change is not used in many places then create a new object and make it reference, however if it being used at multiple places and replacing at all places is too tiresome then create the data flow for the existing object from the same DS where the Main reference object is being loaded (the data flow can be created if the object has same structure). e.g. if you have created sold to party and have not made it as reference of customer still you can create data flow for sold to party from the customer DS and load it as both objects have same structure.
    hope this helps.
    regards,
    Arvind.

  • Variable based on attributes of another variable (using Exit & CMOD)

    Hello,
    Another coding question (while I get the previous one to work!)
    I have a query with amongst others, 2 variables.
    one is a require year variable in the query only ZREQYEAR
    another is a module ZMODULE
    ZMODULE have two attributes
       Year of start ZYEAR_START
       Year of end ZYEAR_END
    I need to write a enhancement in CMOD which does the following.
    When the query runs, it asks the user for a year (ZREQYEAR), lets say they those 2010 for this example.
    Based on this, the enhancement needs to populate the variable for ZMODULE with entries where
    ZMODULE-ZYEAR_START = 2010
    OR
    ZMODULE-ZYEAREND = 2010
    and then display the query for just these modules.
    is this possible? if you can think of  better way then I am open!
    I am very new to CMOD and ABAP so please keep any responses in baby language!  THANKS!!

    Hi,
    You can follow the below given steps,
    1) You will have to do all the coding in enhancement RSR00001, for using this enhancement you will have to create a project in CMOD transaction and do the coding in the available EXIT.
    2) Inside the EXIT write your code for customer exit variable created on ZMODULE (You will have to create a customer exit variable on ZMODULE infoobject).
    3) In the exit use your variable name for doing coding,
    When "ZMODULE_VARIABLE".
      IF I_STEP = 2.
        Loop at i_t_var_range into wa_var_range where vname = "ZREQYEAR_VARNAME".
        wa_data-sign = 'I'.
        wa_data-option = 'EQ'.
        wa_data-low = wa_var_range-low.
        append wa_data to e_t_data.
        EXIT.
        endloop.
        Endif.
    The value of ZREQYEAR is assigned to variable created on module. You can use following document for reference,
    [http://www.sdn.sap.com/irj/scn/index?rid=/library/uuid/f1a7e790-0201-0010-0a8d-f08a4662562d]
    Regards,
    Durgesh.

  • Copying one material attributes to another material thro' FM or BAPI

    Hi,
    My requirement is :
    To copy a material attributes from one material(old) to an another material(new). Can anybody suggest a FM or BAPI for this?
    Thanks,
    Kaarthick

    Hi,
    These answers never helped me. I can reformat my quesion : Pls. suggest a BAPI/RFC/FM used to create a new material with reference to an old material.
    Hope this is understandable one.
    Thanks,
    Kaarthick

  • Using attributes from another entry type

    Hey experts,
    use case: there are multiple departments within the company. Each department has it's own folder in Active Directory where users are stored for that department. When a new user is created in IdM and send to AD he should be created in the folder relevant for his/her department.
    I have created an entry type called Department and filled it with departments and their LDAP starting point for user creation. I have also created a reference attribute in MX_PERSON to the department name.
    problem: when the job CreateADSUser is fired it receives pending value date from MX_PERSON but I need to use the LDAP starting point which goes with the department from the department entry type.
    So my question is: how do I use the LDAP starting point value which is stored in my department entry type in a job which receives MX_PERSON data. I'm guessing a script or something but am unsure how to do this.
    Thanks in advance.

    HI Jonathan,
    We did exactly the same thing but without using a separate entry type for the department, it was just the department number. We then in the code that calculated the DN of the person, coded in to read the department number and based on that enter a text string into the DN. If you want to do it with another entry type for department, the can't you load the value on the mx_person of department, which will be the MSKEY of the department you want, and then use ISGetValue (Or something like that) to get the name of that department based on it's MSKEY?
    Hope that is helpful,
    Ian

  • Complex SQL Cursor to update tables present as attribute in another table

    I want to write a cursor that fetches the table names which are actually present in a column in another parent table then update a particular column/attribute in each table. The parent table (say ABC has a column (say x) which holds the list of all tables for an application. I want to extract all thetables (from ABC present in column x) based on a certain WHERE clause and then update each table.Can anyone help me with this?

    As Zaafran Ahmed wrote, you need to use dynamic SQL.
    Look at this example:
    Let say we have table ABC with table names:
    CREATE TABLE abc(
      x VARCHAR2(50)
    INSERT INTO ABC
    SELECT 'TABLE_NAME' || LEVEL
    FROM DUAL
    CONNECT BY LEVEL <= 5;
    SELECT * FROM ABC;
    X                                                 
    TABLE_NAME1                                       
    TABLE_NAME2                                       
    TABLE_NAME3                                       
    TABLE_NAME4                                       
    TABLE_NAME5Let say we have tables TABLE_NAME1 ... 5
    BEGIN
      FOR I IN ( SELECT X FROM ABC )
      LOOP
        EXECUTE IMMEDIATE ('CREATE TABLE ' || I.X
                        || ' ( XXX VARCHAR2( 20 ) )');
        EXECUTE IMMEDIATE 'INSERT INTO ' || I.X
                      || ' VALUES ( ''' || I.X || ''')' ;
      END LOOP;
      COMMIT;
    END;
    SELECT * FROM TABLE_NAME2;
    XXX                 
    TABLE_NAME2
    SELECT * FROM TABLE_NAME4;
    XXX                 
    TABLE_NAME4    We need to update only tables 2 and 4:
    DECLARE
       CURSOR CUR IS
            SELECT X FROM ABC
            WHERE X LIKE '%2'
               OR X LIKE '%4';
    BEGIN
      FOR I IN CUR
      LOOP
        EXECUTE IMMEDIATE
            'UPDATE ' || I.X ||
            ' SET XXX = ''' || I.X || ' UPDATED''';
      END LOOP;
      COMMIT;
    END;
    SELECT * FROM TABLE_NAME2;
    XXX                 
    TABLE_NAME2 UPDATED 
    SELECT * FROM TABLE_NAME4;
    XXX                 
    TABLE_NAME4 UPDATED 

  • VO Transient Attribute referencing the Attribute from another VO

    Hi I have an scenario where I have a VO "A" has a transient Attribute say aPeriod, (at any given point the executed VO"A" has only 12 Rows) , I have another VO "B" which when executed gives me exactly 12 Rows with attribute "bPeriod".
    I want the 12 Rows of VOA with aPeriod attribute to hold the values from VO"B" attribute bPeriod. Is there any groovy expression / or any View accessor usage which can enable me to resolve this scenario. currently I am achieving this programaticaly by iterating every row of VOA and VOB and assigning aPeriod attribute with bPeriod ( which I am not happy with ).
    Please help me if there is any better solution for the same.
    Thanks
    TK

    Thanks for your reply, but there isnt any common attribute between the two VO, I am having VO1.aPeriod attribute has a transient one and VO2 when executed gives me VO2.bPeriod, actually this is a small subset of a bigger scenario.
    both VO1 and VO2 are SQL based read only VO. both have same query but both needs two different bind variable bindPeriodVariable = 12 and 24 respectively which returns VO1.xPeriod and VO2.bPeriod, when executed.
    I Am supposed to show both VO1.xPeriod and VO2.bPeriod in a single ADF ReadOnly table.
    so I thought of having a transient attribute called aPeriod in VO1 and assign it with VO2.bPeriod individually by iterating every row of VO1 and VO2.
    I am not pleased with the way I am doing this stuff.
    Pls help me with this issue.
    Thanks
    TK.

  • Reporting Authorization - InfoObject/Navigational Attributes

    We have a custom infoobject for Vendor to which access needs to be controlled. Certain users are not supposed to have access to a number of the navigational attributes on the object however we want these users to have access to all other navigational attributes (meaning we don't want these 'fields' to be visible but everything else). We have other reporting authorization objects that prevent access to the entire 'record' if the user is not authorized for a certain value (cost center, etc.).
    Thanks.

    Hi Joerg,
    navigational attributes are treated like characteristics. You can make them authorization relevant and restrict access, e.g. by granting ":", which allows to see overall results without details on this attribute.
    Regards, Klaus

  • Error while creating InfoObject's Attribute in sandbox

    Please help me to sort out the below error message " InfoObject is not available in version M".
    Please find the attached image file below for more details.
    Thanks and Regards
    Ranendra

    HI,
    Activate that Infoobject, then it will ask you to activate all dependent attributes.
    Choose activate all dependent attributes then this infoobject will get activated.

  • Assigning stroke attribute from one shape to fill attribute of another shape using eyedropper tool?

    Unalbe to use eyedropper tool to pick up stroke attribute from one shape to use in fill of another shape. I shift click with my eyedropper tool on stroke but does not transfer that color to my fill color of other shape. Fill color shows correctly in tools panel but not in shape or control panel.

    I have through trial and error discovered as a fifth step to JamArtz instructions, if I go to the color panel flyout menu and click on CMYK, my effect will take effect: I know this to be a band aide solution not a fix. Can’t see anything in my preferences to cause the issue.
    1.Select the destination object (the one for which you want to change the fill).
    2. Make the fill swatch in the Color Panel active (important step).
    3. Select the eyedropper.
    4. Shift-click on the stroke of the source object (the one whose stroke you want to apply to the fill of the destination object).
    5. From the Color Panel fly out menu, click on CMYK (which is already toggled on) the change will take effect.

  • CRM dataSource fields dont match with BW InfoObject and attributes

    Hi
    I have installed the 0BPARTNER in the BW system and also activated and replicated the master data datasoutces -0BPARTNER_ATTR, 0BPARTNER_TEXTS in the CRM system.When i execute the datasource 0BPARTNER_ATTR via t-code: RSA3 in the CRM system, the fields of this datasource does not match with the attribute InfoObjects of 0BPARTNER in BW system.
    Please help me i am not sure if the above two datasource are to be used for attributes and texts load of 0BPARTNER.I checked this on SAP help and also on SDN.
    Thanks.

    Hi Dear,
             For CRM, Instead of using that data source use 0CRM_BPART_ATTR.
            I hope this full fill your requiement.
    thanks
    obaid

  • No Source Fields(But wants to read attributes of another master data infoob

    Hi
    Im planning to use the 2LIS_03_BF datasource. I have two master data infoobjects(0PRODVERS_ATTR, 0MAT_PLANT_ATTR).
    Im loading data from 2LIS_03_BF in DSO . But this datasource doesn't contains the source fields for master data infoobjects 0PRODVERS_ATTR, 0MAT_PLANT_ATTR.
    So hw can i read the attributes of these master data infoobjects. please let me know
    kumar

    Hi
    You can write a routine for this purpose we call it lookup in bw terms ie if the field isnt present in the source then you can take the values from the other targets may it be ods or master data and the selection is based on the keyfields in both the targets ie source field and the target from which the field has to be picked.
    lets say i want customer Number  from the MD Customer and i dont have customer number in the souce field so i will write a routine in the start routine to select customer number from customer master data put the field in the internal table and then write a update routine in the field customer number that reads the values into the work area from the internal table and then put the result in the result field from work area.
    below is the syntax.
    TYPES:BEGIN OF t_custnumber,
    ***declare the fields u will be using including the keyfileds in the souce**
    customer number type /bic/0customer number
    END OF t_custnumber.
    ........internal table to read data into......
    DATA : i_custnumber.TYPE STANDARD TABLE OF t_custnumber.
    work area to read data from internal table
    DATA : wa_custnumber   TYPE t_custnumber,
    select
    customer number
    x
    y
    from table customer
    into i_custnumber
    where
    x= x of data package ie below ods (source)
    y = y of data package ie below ods (source)
    The above routine comes in the start routine
    Now for the update routine
    read table i_custnumber into wa_custnumber with key
    x= x of comm_strucute ie below ods (source)
    y = y of comm_strucute ie below ods (source)
    Result =wa_custnumber-customer number
    in start routine the souce table is called as data package but in case of update routine the same souce table is termed as communication structure thus comm_strucuture.
    hope this is handy information assign points if applicable
    thanks
    puneet

Maybe you are looking for

  • How can i put my videos on the ipod classic

    how can i put my videos on the ipod classic

  • CD/DVD Drive is not reading any discs on Equium A100

    My cd/dvd drive is not reading any discs whatsoever, blank, written or commercially written. It opens and closes and the light to show it is working is on. Device manager says the device is working properly. Tried updating drivers, no updates availab

  • J2SE Soap Adapter

    Hello Guru's, I need to configure the SOAP adapter on the J2SE adapter plain for receiving messages. I have read the documentation about it and I need to do configure the following: version=3.0 classname=com.sap.aii.messaging.adapter.ModuleBubble Bub

  • Output of two ALV lists in background

    HI ALV experts, [Soory I just saw that I posted this yesterday with a wrong subject] I'm currently working with an existing reports which is quite complex. The report creates an ALV grid and uses a couple of write statements to create some statistics

  • Block corruption error

    Hi, We are facing block corruption error file system file. I rtied to identify the corrupted object using dba_extents but that query is also giving the block corruption error for the same block. we are running the database in noarchivelog mode and we