Add a new key field in an InfoObject

Hi all,
I have to add a new key field in a standard InfoObject (0vendor) in order to extract data correctly from a table in R3 which has both the vendor and the plant as keys.
Doubts:
1. the 0vendor InfoObject is already used in several InfoCubes
2. it contains data
3. we have another object built with reference to 0vendor
Any problem with the existent InfoCubes and queries if I change the structure of this InfoObject?
Have I got to delete data on it first?
any problem on the object built with reference to 0vendor?
I have just thought of updating the object 0vendor (this would avoid lots of substitutions and lot of work) instead of developing a brand new object..
Do you agree with this kind of solution or would you do something different?
Thanks
Elisa

Hi Elisa,
"In R/3 the vendor sub-range is blank and we use only one Purch Org, so no matter."
This is OK but remind that it shall remain like this ALWAYS; because if you design your model with these assumptions and later you start getting sub ranges and/or a second P.O then you can forget your model...
Replacing 0VENDOR by ZVENDOR completely will depend on your requirement; I don't know which content you are using but you should try to keep 0VENDOR as such because ZVENDOR will be compounded with 0PLANT and that's not the same... (e.g. the key will be displayed like "PLANT/VENDOR" in reports unless you drilldown the PLANT in front of ZVENDOR... your users may perhaps not appreciate...)
In this matter, how are you going to proceed?
- fill the vendor ID in ZVENDOR and have 0PLANT as compounding key? In this case you'll have to add 0VENDOR attributes in ZVENDOR as well. With this scenario you will end with redundant data since attributes for 0VENDOR will be the same for each combination 0PLANT/ZVENDOR.
- wiser: have 0VENDOR and 0PLANT both in the compounding key. This way you could have ZVENDOR key CHAR1 and leave it empty (it would be a "dummy" key you wouldn't use in reports)
The good thing here is that you don't have to replicate your 0VENDOR design in the ZVENDOR. the bad thing for you is that you NEED to keep both IObjs; thus manage your DIM issue.
Your approach to fill the cubes is absolutely right! What are the sizes of your cubes?
You should take this opportunity to check you cubes datamodel:
- are the dimension well deisgned? (run report SAP_INFOCUBE_DESIGNS in order to see the cardinality of your DIMs). I am sure this can be improved.
- are the cubes partitioned? Every cube should be partitioned for performance reasons.
- if the cubes are huge, wouldn't it be good to do a logical partitioning? E.g have one cube per year and a multicube on top...
Finally use dimension number range buffering when loading data into an empty cube and other techniques like dropping all indexes in order to speed up your load process and minimize reporting downtime. If your reports are based on multicubes and your model is not too complex you could even keep the copy cube instead of moving your data back to the original; you would then just have your multicube transport to make the switch of the new model available for reporting...
hoping this help you to go with the right path...
regards,
Olviier.

Similar Messages

  • New Key field in DSO

    Hi BI Experts,
    I want to add a new key field in a DSO.This infoobject is in Data field now.
    The DSO contains data now.
    Can the new key field be added without deleting data from the DSO?
    Thanks

    Hi ,
    If you want to take datafield as keyfield,firstly you have to delete the data.
    Before deleting the data use datamart and upload it into different data target.
    After wards you can change the infoobject from data fields to keyfields.
    But be aware of that transformation will also be disturbed with these changes.
    Regards,
    Praveena.

  • New key field creation in between of the 2 existing key fields?

    Hello,
    I have a custom table with 3 key fields.
    Now because of business requirements, we need to add one more key field IN BETWEEN the 2nd key field and 3rd key field of that table, if we create a new key field in the middle of existing 2 key fields, do we loose the data in the table, pls. let me know.
    And also do we need to take any precautionary steps to go smoothly?
    Thank you

    Think about it logically, if you add a key field, how would you lose data, since the primary key is now longer than before? Only if you remove key fields, you might lose data during table adjustment due to duplicate primary keys.
    Make sure all other field names remain unchanged.
    Try it in dev system first, check the results. For even more confidence, why not download the data first as a backup, "just in case".
    Thomas

  • Implications of adding new key fields to existing table

    Hi All,
    I have searched forum regarding this. But didn't find exact answer.
    We are planning to add new key fields to existing Ztable. I want to know the implications of this.
    I have checked the where used list of table and found no impact. Only one point is making me to think again and again.
    If we add key fields to existing table then we have to adjust the table from SE14 to activate it. But this adjustment doesn't ask for TR.
    So if i release my TR, entries in other systems will also be adjusted accordingly??? Business is OK with the new fields values to be blank for existing entries.
    Thanks,
    Vinod.

    Yes the data in transported  systems will also be adjusted. If this table contains too much data make transport at late hours because it will take long and table can't be used while it's adjusted. In this adjustment process data is copied to a temporary table and moved back to original table using move-corresponding command after key added. There will data loss if you remove a key or key fields field length but in your case it shouldn't be a problem.
    Edited by: Gungor Ozcelebi on Jul 2, 2009 9:18 AM

  • How to add a new metadata field to iPhoto where new field is calculated as age in years and month based on a specific date and the date photo was taken ? I want to calculate and display the age of my two kids on every photo.

    Hi
    How can I add 2 new metadata-fields to every photo in iPhoto ?
    The new fields should state the age of my kids in years and months based on the date that they were born and the date that photo is taken.
    Exampel:
    My son is born 01.01.2010
    My daughter is born 01.01.2012
    Photo taken by data
    Aage of son
    Aage of daughter
    01.07.2011
    1 year 6 month
    not born yet
    01.01.2014
    4 year 0 month
    2 year 0 month
    I would like to be able to search by kids age and get the info displayed when doing slideshows.
    How to do this in iPhoto ?
    Any alternatives to accomplish the same ?
    Kind regards

    It can't be done with iPhoto.  There are some DAM (digital asset management) applications that can write to other IPTC fields that iPhoto can't read. One such app is Media Pro 1.
    However you would have to calculate the age for each date and add it to one of the fields. There are online age calculators that can do that for you: Age Calculators
    If you go thru that much trouble then use iPhoto, make the calculations and add the age to the Description field.  Then you can use Smart Albums to search for 1year 6 month text.
    OT

  • When I attempt to add a new key frame into the timeline it adds several frames to my animation

    I am trying to edit an FLV file with flash professiona.  Right now every frame is on long frame sequence, meaning that right now there is only one key fram in the entire 40 second animation.  I am trying to add put key frames at various points in my animation but when I attempt to add a new key frame into the timeline it copies ever frame up to the selected and adds it to the front of my timeline.  Any Idea how to fix this?  I want to break my video up so I can add some shape tweens in between some of the frames

    Extensions like IE View and IE Tab use IE and the IE rendering engine, so you are running IE.
    Clear the cache and the cookies from sites that cause problems.
    "Clear the Cache":
    *Tools > Options > Advanced > Network > Cached Web Content: "Clear Now"
    "Remove Cookies" from sites causing problems:
    *Tools > Options > Privacy > Cookies: "Show Cookies"
    Start Firefox in <u>[[Safe Mode|Safe Mode]]</u> to check if one of the extensions (Firefox/Tools > Add-ons > Extensions) or if hardware acceleration is causing the problem (switch to the DEFAULT theme: Firefox/Tools > Add-ons > Appearance).
    *Do not click the Reset button on the Safe mode start window or otherwise make changes.
    *https://support.mozilla.org/kb/Safe+Mode
    *https://support.mozilla.org/kb/Troubleshooting+extensions+and+themes

  • How can i add a new characteristic to Sap standard InfoObject?

    Hi Experts,
    Please anyone let me know how can I add a new characteristic or a key figure into an SAP standard InfoObject in order to add it to the standard InfoCube? The situation is I would like to add region and business unit to the characteristics of the Industrial Hygiene and Safety. After that, I would like to add them to the InfoCube called Accidents: Person Involved [0EIH_C02] that is located in the MultiProvider called Accidents: Complete View [0EIH_MC01]. Is it feasible to do this way?
    I just learned the BW/BI, so please help me with this. I would really appreciate your responses.
    Thanks,
    -Napadol

    Hi Napadol,
    To add a attribute in a char:
    1) Go to info object/char in change mode and add the additional attribute you want and select navigational attribute in attribute tab if you want. (Create these additional attribute first in info object catalouge)
    2) Activate the Object/Char
    3) open info cube in change mode and pick the characteristic from left panel to info cube dimension.
    4) Activate infocube.
    5) Go to multi provider add the char in one of the dimension and do identification for this char and activate.
    Regards,
    Kams

  • How to Add a new Selection Field in COPA Report

    Hi Gurus
    I'm new on SAP COPA reporting and I don't know how to solve this problem.
    I need add a new Selection-screen field (char1), not connected with any characteristic.
    This is necessary becuase if the user flag this field, when teh report is running I'll replace some key-figure values using the EXIT  
    ZXYEXF05. I don't find any instruction how to define this simple kinfd of variable, and use it into a Report.
    Thank-you in advance for your help.
    Claudio

    Hi
    I'll try to explain better my need.
    I've 10 CO-PA Key-Figures used to Split in the Cost of a material in different Cost Items.
    Using the customizing I fill these key-figures using some rules.
    The new requirement is use SOMETIME the same KF, by displaying different Costs overwritting the original values using the exit ZXYEXF05. But I need to know when the user wants consider the original value of KF, and when he wants overwrite these values (when I have to run teh exit). So I thought to create a new Selection-screen field (Char1), to permit to the user to pass to some report this user request. I thought to define a global variable, and add it to several reports when this feature is required.
    Can you suggest a better solution ???
    I could create some empty KF and fill them using teh exit, but I would prefer not expand the CO-PA structure.
    Thanks for help.
    Claudio

  • OIM: how to add a new search field in the Manage users page

    Hi,
    I want to add a new field to the menu of available searchable.
    I have changed the
    Lookup.WebClient.Users.Search and now I see my new field, but the search fails:
    16:28:19,406 ERROR [WEBAPP] Class/Method: tcSearchUserAction/searchUsers encount
    er some problems: Error executing procedure XL_SP_FindUsersFiltered
    Thor.API.Exceptions.tcAPIException: Error executing procedure XL_SP_FindUsersFil
    tered
    at com.thortech.xl.ejb.beansimpl.tcUserOperationsBean.findUsersFiltered(
    Unknown Source)
    at com.thortech.xl.ejb.beans.tcUserOperationsSession.findUsersFiltered(U
    nknown Source)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
    java:39)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
    sorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:597)
    at org.jboss.invocation.Invocation.performCall(Invocation.java:359)
    at org.jboss.ejb.StatelessSessionContainer$ContainerInterceptor.invoke(S
    tatelessSessionContainer.java:237)
    at org.jboss.resource.connectionmanager.CachedConnectionInterceptor.invo
    What else I have to change to have an attribute of the user profile searchable?
    Thanks a lot.

    Hi Dost,
    thanks for the quick answer.
    I added this row to the mentioned lookup:
    (code key) (decode)
    Users.Personalcode Personalcode
    Personal code is a custom attribute defined I added to user defined fields form.
    Is that wrong?
    Thanks again.

  • How to add a new additional field in MIGO

    Dear Sir,
    As a business requirement , we are required to capture some additional information related to Material packing /sizes  at the time of MIGO . This information need to be captured /input at the Item level during the MIGO .
    We request sap gurus , to kindly guide as what steps need to be followed for adding a new field and also will it require a Z-table also to save the data pertaining to new added field .
    Regards
    B Mittal

    Hi ,
    Create a BADI implementation for MB_MIGO_BADI  .
    Create a program with the screen type sub-screen in SE80 and design the layout for the custom fields.
    Declare the custom fields in a Z**TOP include.
    Under the PBO method declare the program name and screen number as shown below: 
    gf_class_id = 'MIGO_BADI_IMPLEMENTATION_CIN'
    e_cprog = <program name>
    e_dynnr = <screen number>.
    e_heading = <heading>
    Under PAI method declare the field to u2018Xu2019. 
    e_force_change = 'X'.
    Under the line modify method declare a flag and set to u2018Xu2019 checking for material document number by which we can set the fields to be in display mode when we open MIGO for display of material document created after doing goods receipt.
    Under the POST_DOCUMENT method write the code for appending the value to Z table along with the values of the line item .For these values to be available here in this method use the memory concept u201CExport to memory idu201D in the method LINE_MODIFY. 
    In order to do any validations to the custom fields, go to transaction SE80 and mention the program Name created and in PROCESS ON VALUE_REQUEST create a module and provide the validations required for those custom Fields. 
    order to make the fields to be in display mode during the display of material document, create a module under PBO and import the flag value in the method LINE_MODIFY and if that flag = u2018Xu2019, use  
    LOOP AT SCREEN.
    IF SCREEN-NAME = <NAME>.
    SCREEN-INPUT = '0'.
    MODIFY SCREEN.
    ENDIF.
    ENDLOOP.
       Retrieve the values from the Z table matching the key field (production order number) and pass the value of the custom field on to the screen.
    Thanks,
    Shailaja Ainala.

  • How to add a new custom field to one set of employees within one country?

    Hi,
    I am thinking of a scenario where a new custom field is dispayed in PA30 for IT0006
    only for one set of employees in US (such as for a employee group or employee sub group).
    Other employees should not have this custom field.
    All employees in this scenario is for US country only.
    Is this possible? Do we need ABAP for this or only IMG will do?
    Any details on how to implement this etc..
    Thanks for any help.

    Thanks for everyone for the responses.
    I really liked the decoupling infotype solution.
    However, since some work has been done in the old way, I will try to describe the problem in detail.
    Our ABAPer already created a new screen 0200 as a sub-screen in ZP000600 module (I am assuming it is a module pool) using PM01 and assigned to 2010 screen; an alternate screen specified in IMG for country 10 as key (instead of standard screen 2000 for IT0006).
    This new screen 0200 is assigned to 2010 in PM01 transaction.
    These steps displays the 0200 sub-screen with added fields to all the US employees hiring in the respective personal action.
    I want to create a new scenario to suppress these additional fields for some US employees (say company code BKUS)
    I placed a new entry in T588M for module pool as ZP000600 , key is 10, alternate screen as 0200 and hide all the fields
    But, these additional fields are still displayed always for US employees for whom I want to hide.
    Did I miss any thing?
    I do not want to hard code in ABAP whom to display and who not to.
    Is there a IMG way to do this so that I can change the criteria later as we go.
    Thanks

  • Add of new key figure.

    Hi..
    is it possible to add new key figure in the planning table of the ICH.
    for ex. there are key fig like demand, planned receipt, firm order in the SMI Monitor (Supplier view of ICH) i want to add new key fig in that grid...is it possible..
    Plz suggest...
    Thanks in advance..

    Hi Rupesh,
    Were you able to achieve this? I would be really thankful if you could jot down the steps you followed towards achieving this.
    Thanks,
    Puja.

  • Add  a new user field

    Hi
    As per my clients requirement I need an extra field in FI.
    Could you tell me how to add a new field and maintain values for the same.
    And also how is dat field available on the entry screen in FI as well as for integration with SD
    Regards
    Ram

    hi
    if u want an extra field then u ask for ABAPer to do that extra field.
    Subbu

  • Add a new date field

    Hi,
    I have a requirment to add a non existing field to my query
    My actual query is like this..
    select Date ,count(*) from tablename where date is between dt1 and dt2;
    The output will be displayed for all the dates where some transactions are there..
    eg:
    Date                     Count
    25.12.2005 12:02:00 PM          1
    25.12.2005 12:16:00 PM          1
    25.12.2005 12:20:00 PM          3
    25.12.2005 12:51:00 PM          1
    25.12.2005 12:52:00 PM          5
    but the business wanted me to add an additional column which is a date field..
    ie to display all the dates between dt1 and dt2 and the other 2 fileds from the query
    if Dt1=25.12.2005 12:00:00 and Dt2=25.12.2005 12:59:00 then my output should look like this :
    Column1                Date                    count
    25.12.2005 12:00:00 PM
    25.12.2005 12:01:00 PM
    25.12.2005 12:02:00 PM     25.12.2005 12:02:00 PM          1
    25.12.2005 12:03:00 PM
    25.12.2005 12:04:00 PM
    25.12.2005 12:05:00 PM
    25.12.2005 12:06:00 PM
    25.12.2005 12:07:00 PM
    25.12.2005 12:08:00 PM
    25.12.2005 12:09:00 PM
    25.12.2005 12:10:00 PM
    25.12.2005 12:11:00 PM
    25.12.2005 12:12:00 PM
    25.12.2005 12:13:00 PM
    25.12.2005 12:14:00 PM
    25.12.2005 12:15:00 PM
    25.12.2005 12:16:00 PM     25.12.2005 12:16:00 PM          1
    25.12.2005 12:17:00 PM
    25.12.2005 12:18:00 PM
    25.12.2005 12:19:00 PM
    25.12.2005 12:20:00 PM     25.12.2005 12:20:00 PM          3
    25.12.2005 12:21:00 PM
    25.12.2005 12:22:00 PM
    25.12.2005 12:23:00 PM
    25.12.2005 12:24:00 PM
    25.12.2005 12:25:00 PM
    25.12.2005 12:26:00 PM     25.12.2005 12:26:00 PM          1
    25.12.2005 12:27:00 PM
    25.12.2005 12:28:00 PM
    25.12.2005 12:29:00 PM
    25.12.2005 12:30:00 PM
    25.12.2005 12:31:00 PM
    25.12.2005 12:32:00 PM
    25.12.2005 12:33:00 PM
    25.12.2005 12:34:00 PM
    25.12.2005 12:35:00 PM
    25.12.2005 12:36:00 PM
    25.12.2005 12:37:00 PM
    25.12.2005 12:38:00 PM
    25.12.2005 12:39:00 PM
    25.12.2005 12:40:00 PM
    25.12.2005 12:41:00 PM
    25.12.2005 12:42:00 PM
    25.12.2005 12:43:00 PM
    25.12.2005 12:44:00 PM
    25.12.2005 12:45:00 PM
    25.12.2005 12:46:00 PM
    25.12.2005 12:47:00 PM
    25.12.2005 12:48:00 PM
    25.12.2005 12:49:00 PM
    25.12.2005 12:50:00 PM               
    25.12.2005 12:51:00 PM
    25.12.2005 12:52:00 PM     25.12.2005 12:52:00 PM          5
    25.12.2005 12:53:00 PM
    25.12.2005 12:54:00 PM
    25.12.2005 12:55:00 PM
    25.12.2005 12:56:00 PM
    25.12.2005 12:57:00 PM
    Thanks
    Vamsi

    You can do it with the SQL Model clause:
      1  with t1 as
      2  (select to_date('07/02/2007 12:02:00', 'DD/MM/YYYY HH24:MI:SS') mydate from dual UNION ALL
      3   select to_date('07/02/2007 12:26:00', 'DD/MM/YYYY HH24:MI:SS') mydate from dual)
      4  select newdate, mydate
      5  from t1,
      6      (select newdate
      7       from dual
      8       model
      9       dimension by (to_number(null) as myid)
    10       measures (to_date(null) as newdate)
    11       rules upsert iterate(1000) until (&startdate+((iteration_number-1)*((1/24)/60)) >= &enddate)
    12             (newdate[0]=to_date(&startdate),
    13              newdate[iteration_number+1]=newdate[cv()-1]+((1/24)/60))) t2
    14  where t1.mydate(+)=t2.newdate
    15* order by newdate
    SQL> /
    Enter value for startdate: to_date('07/02/2007 12:00:00', 'DD/MM/YYYY HH24:MI:SS')
    Enter value for enddate: to_date('07/02/2007 12:30:00', 'DD/MM/YYYY HH24:MI:SS')
    NEWDATE              MYDATE
    07-FEB-2007 12:00:00
    07-FEB-2007 12:01:00
    07-FEB-2007 12:02:00 07-FEB-2007 12:02:00
    07-FEB-2007 12:03:00
    07-FEB-2007 12:04:00
    07-FEB-2007 12:05:00
    07-FEB-2007 12:06:00
    07-FEB-2007 12:07:00
    07-FEB-2007 12:08:00
    07-FEB-2007 12:09:00
    07-FEB-2007 12:10:00
    07-FEB-2007 12:11:00
    07-FEB-2007 12:12:00
    07-FEB-2007 12:13:00
    07-FEB-2007 12:14:00
    07-FEB-2007 12:15:00
    07-FEB-2007 12:16:00
    07-FEB-2007 12:17:00
    07-FEB-2007 12:18:00
    07-FEB-2007 12:19:00
    07-FEB-2007 12:20:00
    07-FEB-2007 12:21:00
    07-FEB-2007 12:22:00
    07-FEB-2007 12:23:00
    07-FEB-2007 12:24:00
    07-FEB-2007 12:25:00
    07-FEB-2007 12:26:00 07-FEB-2007 12:26:00
    07-FEB-2007 12:27:00
    07-FEB-2007 12:28:00
    07-FEB-2007 12:29:00
    07-FEB-2007 12:30:00
    07-FEB-2007 12:31:00
    07-FEB-2007 12:32:00
    34 rows selected.Have a look at the Oracle documentation to see exactly how this works, but basically my inner query:
    select newdate
    from dual
    model
    dimension by (to_number(null) as myid)
    measures (to_date(null) as newdate)
    rules upsert iterate(1000) until (&startdate+((iteration_number-1)*((1/24)/60)) >= &enddate)
          (newdate[0]=to_date(&startdate),
           newdate[iteration_number+1]=newdate[cv()-1]+((1/24)/60))is building a dummy table containing values 1 minute apart between startdate and enddate. You can then join to the original table. Not sure how clear that is so ask away if you're confused (but I would advise you go to the Oracle doc's first and search for info on the model clause).
    Martyn

  • How to add a new tab(field ) in selecting ranked list(cj20n)

    Hi,
    I want to add a tab/field  for position of employee while selecting ranked list.As i have to select employees on the basis of their skills  and positions  .I have used requirement profile but it is selecting on the basis of skils and not on the basis of position.
    If I select Item tab it selects on the basis of Positions But i want to select on the combination of both skills and positions.
    So i want to add field (position ) when it shows ranked  list of employees.
    Thanks

    Hi
    I'll try to explain better my need.
    I've 10 CO-PA Key-Figures used to Split in the Cost of a material in different Cost Items.
    Using the customizing I fill these key-figures using some rules.
    The new requirement is use SOMETIME the same KF, by displaying different Costs overwritting the original values using the exit ZXYEXF05. But I need to know when the user wants consider the original value of KF, and when he wants overwrite these values (when I have to run teh exit). So I thought to create a new Selection-screen field (Char1), to permit to the user to pass to some report this user request. I thought to define a global variable, and add it to several reports when this feature is required.
    Can you suggest a better solution ???
    I could create some empty KF and fill them using teh exit, but I would prefer not expand the CO-PA structure.
    Thanks for help.
    Claudio

Maybe you are looking for