Code needed for a Navigational Attribute.

Hi Experts,
I have a requirement to update records on a Navigational Attribute of an Infobject in an DSO.
DSO A has key figures Region & 0calmonth. Data fields Price, Quantity, Place & Name. DSO B has key figures 0customer & Data Filelds Plant, Material etc. DSO B Plant's Navigational Attribute is  Region /BI0/OIREGION.
Now, I want to link the Region of DSO A with the Navigational Attribute of DSO B with Region /BI0/OIREGION and update the values of DSO A in DSO B.
For this I want to write a code in the END ROUTINE. Please provide me with the code.
Thanks in advance,
With Kind Regards,
Kannan Jagadeesan.

Hi,
  data : begin of itab1 OCCURS 0,
         Region type /BI0/OIREGION-Region,
         OBJVERS  type  RSOBJVERS,
         calmonth  type /BI0/OICALMONTH- calmonth
        END OF itab1.
select * from /bic/DSOaa00 into table itab1    * this is DSO A*
  for all entries in DATA_PACKAGE
  where /BI0/OIREGION = DATA_PACKAGE-/BI0/OIREGION..
  loop at  DATA_PACKAGE.
    select /BI0/OIREGION
        /BI0/OICALMONTH
   from /bic/DSOaa00
   into TABLE itab1
   where  /BI0/OIREGION = DATA_PACKAGE-/BI0/OIREGION
    If sy-subrc = 0.
      sort itab.
    endif.
    read table itab with key /BI0/OIREGION = DATA_PACKAGE-/BI0/OIREGION.
    if sy-subrc = 0.
      /BI0/OIREGION = ITAB1-Region.
      endif.
this is the dry draft to read the oregion navigational object.
try to correct accordingly in your system and implement it.
hope this helps you
santosh
Edited by: Santhosh Nagaraj on Sep 16, 2009 2:01 PM
Edited by: Santhosh Nagaraj on Sep 16, 2009 2:05 PM

Similar Messages

  • Need to add navigational attribute in query level

    Hi,
        Im new to bi . in dso i have  a navigational attribute  0CRM_MKTELM _ 0BPARTNER . 0CRM_MKTELM is a master data and  0BPARTNER also a master data that dso is used in infoset , 0country is the attribute of 0bpartner. i need to bring the 0country into my query . how can i do that     
    Regards,
    Senthil

    If you want to use 0COUNTRY as a navgational atttr. first go to info object 0BPARTNER and make 0COUNTRY as a navigational attr. save activate.
    The go to cube or DSO and check Navigational attr box infront of this info object,
    And then it will be available as a navigational attr in your query.
    Hope this helps,
    Assgn points if helpful.
    Regards

  • No data for some Navigational attribute of Material Master

    Hello,
    I have a Material Master 0MATERIAL & in 0MATERIAL there are certain navigational attributes like Division & Product Hierarchy...
    In my cube 0IC_C03, I'm using these navigational attibutes of 0MATERIAL
    My problem is that for certain materials I'm not getting any data against some or all navigational attributes in Material Master..although these details are maintained in ECC.
    What cud b the issue?? Pl. suggest..
    Thanks & Regards
    Shilpi Gupta

    Have you loaded the attributes for 0material ?   Have you activated the attributes after loading the data for 0material ?
    If you have attributes populated properly for 0material, you should be able to see them in 0ic_c03.
    Ravi

  • Code needed for ClickOnce

    Starting to learn ClickOnce.
    Most documentation implies that ClickOnce runs on its own, and there is no mention of code needed to support it.
    Then I find code samples in various discussions. I'm easily confused; can someone help me?
    Is code needed to support ClickOnce? If so, samples please.
    Thanks,
    RK

    Starting to learn ClickOnce.
    Most documentation implies that ClickOnce runs on its own, and there is no mention of code needed to support it.
    Then I find code samples in various discussions. I'm easily confused; can someone help me?
    Is code needed to support ClickOnce? If so, samples please.
    Thanks,
    RK
    Hello,
    In most cases, we don't need to add any code for clickonce, and it is quite simple to use the publish wizard, for example, right click on your project in solution explorer, then select Publish, next configure the settings for this deployment.
    It will help you get much clear about clickonce that you could get what clickonce is and how we could get it work for our projects from the following guidance.
    ClickOnce Deployment Overview
    Regards,
    Carl
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click
    HERE to participate the survey.

  • Code needed for "putting waveform graphs and 8bit images in the same window by Windraw"

    Hi Micheal, please sent the code example for my question:"putting waveform graphs and 8bit images in the same window by Windraw" , thanks.

    You can start from here ...
    Hope that helps,
    Michael
    Attachments:
    tester.vi ‏97 KB

  • Javascript code needed for "Add to Favorites" icon in Webhelp using RH8

    Hi,
      I have a huge problem in making the add to favorites icon click event associate with the appropriate code.
    This was the code i used in the Inline Javascript tab:
    <script type="text/javascript" language="JavaScript" src="showhide.js"></script>
    <input type="image" value="Add to Favorites" onclick="window.external.AddFavorite(location.href, document.title);return false"
    /="" name="AddTopicToFavorites_selected.gif"  src="AddTopicToFavorites_selected.gif"  
    <script type="text/javascript">var BookmarkURL="http://www.geekpedia.com"
    var BookmarkTitle="Geekpedia"
    // If the browser is Internet Explorer
    if (document.all)
      // Add to Favorites (Internet Explorer)
        window.external.AddFavorite(BookmarkURL,BookmarkTitle)
          else
                  // Add to Bookmarks (Mozilla Firefox)
                  window.sidebar.addPanel(BookmarkTitle, BookmarkURL, '');
          }</script>
    Also in the onclick in the Edit tab, i wrote: window.external.AddFavorite(BookmarkURL,BookmarkTitle)
    It loads the add to favorites window very well as in any IE..But since the static word Geekpedia is being used, it displays the same and also navigates to the static URL http://www.geekpedia.com".
    I want to make it work dynamically...Please help me with any code change if any one has tried this before.
    One other thing that got messed up with was this icon replaced all other icons in the output....but...if i viewed the whskin_tbars.htm, i could see that the default icons appeared below somwhere...and there was this Add to Favorites icon appearing at the top...I dont know why these icons have got misplaced,,,i want to align them all in the same line..
    Please help me with this.....
    -Nanditha

    Hi,
    A long story, but I will need some more time to sort this out:
    Simple solutions:
         - Change the var BookmarkURL="http://www.geekpedia.com" to your own URL, such as: var BookmarkURL="http://myhelp.com"
         - Change the var BookmarkTitle="Geekpedia" to your name, such as: var BookmarkTitle="My help system"
         - Do not insert an image trough the javascript tab, add it using the image options with the custom toolbar items popup. This will probably solve your image problem.
    If you want to the URL dynamic, you need document.location.href, such as: var BookmarkURL = document.location.href; This however will get the adress of the current frame, which is whskin_tbars.htm.
    If you want to get the Title dynamic, you will need document.getElementsByTagName('title')[0]; and then you need to retrieve the title, as: xxx.firstChild.data,: such as:
         - var BookmarkGet = document.getElementsByTagName('title')[0];
         - var BookmarkTitle = BookmarkGet.firstChild.data;
    This always gets the URL and the Title of the frame you inserted the script in, which for the button toolbar is whskin_tbar.htm. When you insert this in any give topic, your bookmark will work fine, but will only call the topic, and not your skin.
    If you only want the URL of your helpsystem, I suggest you just change the  variables BookmarkURL and BookmarkTitle.
    If you want to target the current topic from any other location, such as the title bar, you need to address the top frame and then the topic. I don't know which frame this is, but I will look into it. This may take me some time though, but perhaps someone else knows which frames to address.
    Example for getting the url of your helpsystem dynamically:
    var BookmarkURL= this.parent.document.location.href;
    //Your projects main file does not have a title, so don't get it dynamically.
    var BookmarkTitle="My help system"
    // If the browser is Internet Explorer
    if (document.all)
      // Add to Favorites (Internet Explorer)
        window.external.AddFavorite(BookmarkURL,BookmarkTitle)
          else
                  // Add to Bookmarks (Mozilla Firefox)
                  window.sidebar.addPanel(BookmarkTitle, BookmarkURL, '');
    Long story, if you have any further questions, just ask.
    Greets,
    Willam

  • Flash 8 Caption Code needed for Slide Show

    I have a Flash Slide Show done in Flash 8. There's no xml
    files attach with this file. I only use Action Scripting along with
    this project. I'm trying to have a line of text showing as a
    caption for each images. Do you know if I need to create and xml
    file along with this document? Any help would be greatly
    appreciated.
    Thanks,
    Attach Code
    _global.numOfImage = 29;
    url = "";
    temp = 7;
    check.swapDepths(20000);
    for (var i = 1; i<=numOfImage; i++) {
    mc = this.attachMovie("btn", i, i+100);
    mc._x = ((i-1)%temp)*75+30;
    mc._y = Math.floor((i-1)/temp)*46+450;
    mc.oldx = mc._x;
    mc.oldy = mc._y;
    mc.point.loadMovie(url+"image/trail/image"+i+".jpg");
    mc.onRollOver = function() {
    this.fade.play();
    check.target = this._name;
    check.onEnterFrame = function() {
    this._x += (this._parent[this.target]._x-this._x)/4;
    this._y += (this._parent[this.target]._y-this._y)/4;
    mc.onRelease = function() {
    this._parent.attachMovie("loading", "loading", 10000);
    screen.original.loadMovie(url+"image/original/image"+this._name+".jpg");
    this._parent.onEnterFrame = function() {
    if (screen.original.getBytesTotal() ==
    screen.original.getBytesLoaded()) {
    this.loading.removeMovieClip();
    screen.gotoAndPlay(2);
    delete this.onEnterFrame;
    init();
    function init() {
    this[1].pressed = 0;
    this.stopDrag();
    this.attachMovie("loading", "loading", 10000);
    screen.original.loadMovie(url+"image/original/image1.jpg");
    this.onEnterFrame = function() {
    if (screen.original.getBytesTotal() ==
    screen.original.getBytesLoaded()) {
    this.loading.removeMovieClip();
    screen.gotoAndPlay(2);
    delete this.onEnterFrame;
    check.target =1
    check.onEnterFrame = function() {
    this._x += (this._parent[this.target]._x-this._x)/4;
    this._y += (this._parent[this.target]._y-this._y)/4;
    ////////////////////////////////////////////////////////////////////////////////////////// /////////////////////////

    I have a Flash Slide Show done in Flash 8. There's no xml
    files attach with this file. I only use Action Scripting along with
    this project. I'm trying to have a line of text showing as a
    caption for each images. Do you know if I need to create and xml
    file along with this document? Any help would be greatly
    appreciated.
    Thanks,
    Attach Code
    _global.numOfImage = 29;
    url = "";
    temp = 7;
    check.swapDepths(20000);
    for (var i = 1; i<=numOfImage; i++) {
    mc = this.attachMovie("btn", i, i+100);
    mc._x = ((i-1)%temp)*75+30;
    mc._y = Math.floor((i-1)/temp)*46+450;
    mc.oldx = mc._x;
    mc.oldy = mc._y;
    mc.point.loadMovie(url+"image/trail/image"+i+".jpg");
    mc.onRollOver = function() {
    this.fade.play();
    check.target = this._name;
    check.onEnterFrame = function() {
    this._x += (this._parent[this.target]._x-this._x)/4;
    this._y += (this._parent[this.target]._y-this._y)/4;
    mc.onRelease = function() {
    this._parent.attachMovie("loading", "loading", 10000);
    screen.original.loadMovie(url+"image/original/image"+this._name+".jpg");
    this._parent.onEnterFrame = function() {
    if (screen.original.getBytesTotal() ==
    screen.original.getBytesLoaded()) {
    this.loading.removeMovieClip();
    screen.gotoAndPlay(2);
    delete this.onEnterFrame;
    init();
    function init() {
    this[1].pressed = 0;
    this.stopDrag();
    this.attachMovie("loading", "loading", 10000);
    screen.original.loadMovie(url+"image/original/image1.jpg");
    this.onEnterFrame = function() {
    if (screen.original.getBytesTotal() ==
    screen.original.getBytesLoaded()) {
    this.loading.removeMovieClip();
    screen.gotoAndPlay(2);
    delete this.onEnterFrame;
    check.target =1
    check.onEnterFrame = function() {
    this._x += (this._parent[this.target]._x-this._x)/4;
    this._y += (this._parent[this.target]._y-this._y)/4;
    ////////////////////////////////////////////////////////////////////////////////////////// /////////////////////////

  • # values for navigational attributes in report . (Urgent)

    Hi Gurus,
    I have a navigational attributes for time dependent master data. In the report I am not able to see values for that navigational attribute. I see # values for the navigational attributes. I checked the master data of main info-object. every thing looks fine.
    please help me in regarding this.
    thanks,
    Regards,
    Aarthi

    Check the following two things again just to make sure you are doing everything right. These are already mentioned by Bhanu...
    1) Go to the master data table (Q  table or the M table) and check to see if there are M version records (OBJVERS = M). If yes, you need to activate the master data using the program RSDDS_AGGREGATES_MAINTAIN (Change Run). If there are no M version records then check the second step
    2) If you do not enter any key date in the query, it takes the system date as the default key date. So check and see if any master data exists for today's date ?
    Also just curious, which version and support pack level are you on ?

  • Multi-Provider Provider-Specific Properties for Navigational Attributes

    Experts,
    I need to over-ride the naming for a navigational attribute in a multi-provider.
    For non-navigational attributes you simply use the Provider-Specific Properties.  This selection is not available for navigational attributes.
    Is there a different way to apply alternative naming to navigational attributes in a Mult-Provider without affecting the global definition in the base cube.
    Thanks in advance

    No - the users want their own verions of the name as default
    Thanks for the reply

  • Variable for navigational attribute affected fiscper input variable

    Dear Friends
    Initially, the query is having an input variable for fiscper. The query was able to run properly.
    When i add a input variable for a navigational attribute to the same query which is based on multiprovider, the fiscper input variable is no longer  seen.
    So, I removed the global filter for the navigational attribute and it is ok again.  I fixed a value for the navigational attribute at filter level is also fine.
    Please advise what could be the cause. Thank you so much.
    Best regards
    Bass

    Hi Bass,
    Again seems to be a strange issue, if you have two independent characteristic with two different input enabled variables then there is no reason for the variable to not to show up on selection screen.
    Once you add the new variable and save the query just make sure that you have earlier variable as it is and check the query properties popup and see the fiscper variable sequence in the variable list.
    Regards,
    Durgesh.

  • Data for navigational attributes # Not Assigned

    Hello friends,
    Our report is based on Multiprovider which is based on 5 cubes.
    These five cubes has one particular Characteristics which hasnavigational Attribute .
    We are using the navigational attribute directly under free characteristics Tab in Query.
    We are also using Characteristic in Query - for characateristic data is shown in report.
    In report we are able to see data as # Not Assigned for navigational attributes.
    When we checked data at info object level for that characateristic, correct data is shown for that navigation attributes.
    We have checked following settings
    At characteristic level - Uncheck Attributes only
    At cube level all navigational attributes are checked
    In Multi provider identification table - This navigational attribute is checked for all five cubes
    In Multi provider Navigational Attributes Tab - This naviagtional attributes is checked
    Activation of Master data was done once again
    we are not getting any other ideas, can any one please suggest us where the problem is?
    Thanks
    Tony.

    Hi Tony
    I have  the exact same problem. Did you find out what the problem was?
    KR Nete
    Edited by: Nete Grøn Jacobsen on Jul 14, 2008 1:51 PM
    I solved my problem
    1. Activate the navigation attribute(s) on the underlying basiscube, from which the query displays data
    2. Choose the navigation attribute(s) for all relevant basiscubes (multicube -> Change -> Button Identification)
    See also:
    KR Nete

  • Navigation attribute in the Alert Monitor

    Hi All,
    In the alert monitor in SAP APO the display table contains only characteristics and not the navigational attribute.
    Is there any way through which we can display the navigational attribute also?
    Thanks,
    Diana

    Diana ,
    This is how we handled it when we had a situation similar to yours. Since the navigational attribute was also a BW info object , we pulled the value for the navigational attribute to APO-BW  . We then put custom logic in the BAdI to pull data for the navigational attribute and display the same in the alert monitor.
    Your ABAP team should be able to help you in putting the custom logic in the BAdI . To save the value to the info object you need to have an idea about APO-BW.
    Thanks
    Saradha

  • Use of planning characteristics vs navigation attributes in APO DP

    I am using APO DP V5.
    I have a product characteristic.
    Products are grouped into 'product groups'.
    I want to be able to run stat forecasts at the 'product group' level, and also adjustments via key figures at the 'product group' level.
    For the 'product group', I could set up a planning characteristic or a navigation attribute.
    What are the pros/cons of setting up a planning characteristic or navigation attribute, bearing in mind the need to forecast and make adjustments at this level?
    Thanks in advance...

    Hi,
    The pros for using navigatyion attribute are quite easy: it will give you far more flexibility.
    For example in case of change of hierarchy, you will not need to run realignment.
    It simplify in the same way the data loading.
    Now the cons: there is still some limitations: you can without any problem run stat forecast and adjustment for a navigation attribute. The only limitations I can remember are for promotion and store the assigment of a forecast profile to a selection (see /SAPAPO/MSDP_FCST2 - Assign Forecast Profiles to a Selection ).
    this point might, or not, be the issue for you: do you plan to use the automatic forecast profile selection? If yes, then I suggest you to test it with navigation attributes; but as far I know it will fail. (note: I think there is workaround with a badi implementation, but can't remember which one now)
    I hope it helps
    Julien

  • Hi all can anyone let me know about navigational attributes?

    hi all,
    Can anyone let me know the importance of navigational attributes with examples.
    if docs pls email at [email protected]
    regds
    haritha

    HI haritha,
    Navigational attribute is used for drilling down in the report. We don't need to maintain Navigational attribute in the cube as a characteristic (that is the advantage) to drill down
    0MATERIAL has a Display attribute called MATGROUP and a Navigational attribute called MATTYPE.
    If you want your report to show MATGROUP, you need to have 0MATERIAL in the query too. A Display attribute always 'tags' along with the 'parent' characteristic.
    However you can include MATTYPE in your report without using 0MATERIAL. For reporting purposes a navigational attribute behaves just like another characteristic. This means that you can also have variables for navigational attributes.
    One drawback is that since they are stored outside your Info Cube (in master data tables), the OLAP has to perform an extra step to pull in this data and this leads to some performance impact, although in most cases this is negligible.
    When you double click on a cell in a report which contains a characteristic value, the report is filtered for this value and the entire characteristic column is removed from the results area. If you double click on material 1001, the material column goes away from the results and in the filter cells above the report, you can see value 1001 against Material.
    If you double click on a key figure value, nothing
    happens.
    If you double click on a Char column heading, the char is removed from the drill down.
    If you double click on a key figure column heading, all key figures go away, and the values that are left are for the key figure you double clicked. Again you can verify this by looking at the filter cells against the key figure structure.
    Re: Navigate Attribute
    assign points if helps,
    regards,
    yunus

  • Transports issue regarding navigational attribute

    Hi,
    I used to have some navigational attribues in somecubes and Multiprovider but as per the latest requirement from the customer again converted them as display attributes in masterdata so that automatically removed from cubes and multiprovider with out even our interventions as we know..
    So assigned to transport request and transporting into further systems then we r getting error as
    "Navigation attribute XYZ  does not (actively) exist
    Message no. R7748"
    but when i do check of cube it does not give any error but when i am transporting it is again loooking for those navigational attributes in target system..
    I am not sure why it is giving problem like this ...Just i am guessing is it because i did not remove navigational attribute flag first from cube instead of just master data directly ...but that should not be a problem as per my knowledge...
    Can any experts reply to me asap if you come accross this kind of problem ....
    Thanks & Rgards,
    BRK

    Editted as I understand the solution now.
    If you want to delete navigational attributes from a multi provider, cube and master data it needs to be done in the order:
    - remove navigational attribute from MultiProvider
    - remove navigational attribute from Cube
    - set navigational attribute to be display attribute on InfoObject
    If you don't follow this order e.g. just set navigational attribute to be a navigational attribute on master data then you get problem where every time you transport cube it says nav. attribute is inactive even though (as far as you can see) the nav. attribute does not exist.
    btw, if you have dug yourself into a hole then you need to re-create the navigational attribute on the InfoObject and then add it back to the cube and multiprovider - transport this and then follow correct order.
    Edited by: Mark Roberts on Oct 15, 2008 6:49 PM

Maybe you are looking for

  • Preview has changed?

    When I click to open a jpg file the default viewer is 'Preview'. (ver 3.0.9) Until recently it had an option to 'annotate' on the top bar. This I found extremely useful. However recently this option seems no longer available. There is still an annota

  • How to Print new line in Acrobat SDK?

    I was use "\n" in end of string in PDETextAdd, but its doesn't go for new line.Any one help me pls...

  • SQL Server access to MDB databases slow

    We had a stored procedure with one section that populates a single variable in the SP from a query to a MSAccess database MDB file via a linked server. It was running from SQL Server MSDE 2000 and it was fast on an XP system. We transferred to a SQL

  • HT1752 how do i determine what kind of computer i own?

    I need to simply find out what kind of computer I bought in 2009. How do I do that?

  • Problem with TCl script

                       Hello I need help, my Cisco Router (2921) work not correct with tcl script. Tcl script work fine on this device long time, but in one time script was not start get error(no any script changes): 005495: Aug 26 08:46:27: %HA_EM-6-LOG