Look up on Nav Attribute

Hi Friends !
Is it possible to write a code in start routine using the look up on Nav attribute? For instance:
A = Master IO
B = Nav Attribute
C = field in source package
where A__B = SOURCE_PACKAGE-C.
With Regards
Rekha

Hi Rekha,
you have lookup the P table of the MAster data:-
in Start Routine:-
Global section declare the ITAB
data : itab type table of /BIX/PXXXXXXX,     (Mater data Table name)
          wa like line of itab.
in Start Routine Section:-
select * from /BIX/PXXXXXXX into table itab.
then Compare it either in Fields Level routine or End Routine (depending on your scenario)
where wa-B= REsult_package-C.
Best Regards
Obaid

Similar Messages

  • Tricky! Change of navi-attribute values in ABAP and use in selections

    Hi gurus,
    now I have a teaser that really keeps me busy, and which might be interesting for some of you:
    we use several statuses in our <u>Demand Planning in SCM 5.0</u>, some of which can be switched by using a user-function macro which just basically is a ABAP function module that <u>changes navigation attribute values directly on the database</u>, meaning in the master data tables of the respective characteristic.
    Now, the code works, the values are changed accordingly, leaving the data set in object status "active" - <b>BUT</b>:
    <i>when we call a selection, it still shows the old values, even after activating master data or running the attribute change run!</i>
    This is not what we expected. Our wish was, that once the table was updated with the correct field values, we would also see them in our selections.
    <u>Details:</u>
    we have two statuses as navi-attributes to an article:
    <i>DP:</i> YES/NO, and
    <i>oDP:</i> YES/NO
    Combinations originally are: <i>DP</i> YES/<i>oDP</i> NO
    After the status change macro, the table shows the following, as expected:
    <i>DP</i> NO/<i>oDP</i> YES
    As we have two selections, one on DP status "YES", the other one on oDP status "YES", we would like to see the article vanish in the first selection and show up in the other one...
    Does anybody have an idea what is wrong and what we can do to have to proper navi-attribute values from the master data table in the selection? Does the selection not read from the database but from a buffer?
    Looking forward to your answers,
    Klaus

    Hi Fabrice,
    yes indeed, I did check the object version, and it is A.
    Problem is, the function module changes the data record which is "A" anyway. So the changed data record is active - however, I just had a look at the SID master data table, and it looks that direct changes to the P-table do not affect the X-table where the SIDs are stored. So I guess I will also have to update the X-table with the correct SID-values.
    If this works, I let you know. We will be using this change by ABAP quite often, it is rather useful.
    Regards and thanks for your prompt reply,
    Klaus

  • Aggregates based on Nav Attribute Hierarchy

    Hi,
    I have naviational attribute hierarchy based on created by and enabled as navigation attribute from Infocube. So for each transaction the created by pulls up the corresponding nav attribute from master data.
    I have enabled the Created By nav attribute hierarchy in the query and the rendering of the hierarchy is really slow and the performance went down.
    What is the best way to increase performace creating aggregates at Created by level or Created by Nav attribute hierarchy level?
    Is there any document available on this topic?
    Thank you
    Arun

    Hi Arun,
    I don't know if this can be useful, but take a look to OSS Note 738098 'Performance problems with hierarchies'..
    Hope it helps!
    Bye,
    Roberto

  • Can I use Nav Attribute of a Nav Attribute for Drill Down....??

    Hello Gurur:
    I have a strange request.  We need to use 0EMPLOYEE in our Cube, whic has 'Comp. Code', 'Cost Center' 'User ID' as Nav Attributes.  "Com Pcode" has Nav attributes 'Global Divison" "Subsidiary" etc.
    We need to use the 'Global Division' ifor Selection in Dashboard and Web templates.  The only way to use it with 0EMPLOYEE" would be to use Variable on a Nav. Attribute of a Nav Attribute. ......  So involves 2 jumps.
    Is this something possible??  I have my doubts but has anyone seen done this?  Can someone please shed some light.
    Thanks a ton in advance,........
    Best  PBSW

    Hi pbsw2009:
       To answer your question, yes, that is possible, in fact that is what SAP calls "Transitive Attributes".
    In other words, Global Division is a Transitive Attribute of 0EMPLOYEE (in your scenario).
    Take a look at this document, "Understanding Transitive Attributes"
    http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/90efdd6e-c86e-2910-db9c-87da68b3fc57?quicklink=index&overridelayout=true
    Regards,
    Francisco Milán.
    Edited by: Francisco Milan on Apr 27, 2010 10:31 AM

  • Report Issue - Nav Attribute

    Hi All,
        Here is my issue...
    I've a sales report against Multi Provider to display a filed <b>'Province Ship To'</b>, it is a Nav attribute of <b>'Customer Ship To'</b>. I've verified in mastre data of <b>'Province Ship To'</b> that there are values for both text (Medium & Short) & Key and also verified values exits in MP through LISTCUBE. But when I run a query I'm getting 'Not Assigned" value for <b>'Province Ship To'</b> and I need to see full description it.
    I'd appreciate if some one could help me on this as this is urgent...
    Thanks
    BI Consultant

    Thats what I did, display as both TEXT & KEY. For KEY it is  showing up, for example OR in KEY but not showing up the description for TEXT/Name column, isntead it is showing as "Not Assigned" for all records.
    I've verified Short & Med description extits for all records in Masterdata.
    Example:
    <b>Key                                    Txt/Name Desc.</b>
    OR                                         Oregon
    CA                                          California
    CT                                           Connecticut
    Thanks

  • How to create variable in BEx on a Nav Attribute?

    Hi All,
    We are creating a report on Master data object 0MILESTONE. 0PROJECT is the navigational attribute of 0milestone.
    and ZSTATUS is the navigational attribute of 0PROJECT.
    Requirement is to create variable on ZSTATUS in BEx. How do I do that? I dont see option of creating variable on Nav attribute of a Nav attribute.
    Regards,
    Bob

    Hi,
    There is nothing as such creating variable for navigation attribute. You can only create variable directly on particular infoobject.
    In your case you are using transitivie attributes. So they can not be accesed directly in BEX query. You can only use 1st level nagivation attributes in bex query.
    [http://help.sap.com/saphelp_nw04/helpdata/en/6f/c7553bb1c0b562e10000000a11402f/content.htm]
    Regards,
    Durgesh.
    Edited by: Durgesh Gandewar on Feb 22, 2012 3:53 PM

  • Date nav attribute on filter not working on version 7

    Hi All,
    We have done an update 3.5 to 7.0. We have a query which is filtered on a date filed which is a nav attribute from delivery.  In 3.5 this works fine, but in 7 it is not working.
    Any ideas on what I can check?
    Thanks.
    Nick

    Hi,
    you can do that in copying the query using transaction code RSZC and saving it to an new name
    1. Copy your first info-provider into new info-provider
    2. Then copy structures or queries from first info-provider into new info-provider with RSZC
    3. Modify new info-provider so way that it should have identical structure with your second info-provider
    4. Then copy structures or queries from new info-provider into second info-provider with RSZC
    5. Delete new info-provider
    So you have two different info-providers with identical queries.
    try this , it will work.(try in BI 7 enviornment )
    santosh

  • Macro help: Nav Attribute Value

    Dear Macro Gurus,
    I need to realize this
    IF the value of the Navigational Attribute "NavChar2" of a POS "Char1" is = a, b, and c
    then
    do something.
    ENDIF
    I could do the something
    but couldn't get the macro function right for the IF.
    Help appreciated
    Thanks
    BS

    Is this any help?  Function ACT_IOBJNM_VALUE with a double underscore to separate the characteristic from its nav attribute.
    ACT_IOBJNM_VALUE( 'characteristic__navattr' ) = 'X'
    which could be implemented in macro similar to attachment

  • Auth for Nav Attributes

    Hi All, I have a report on a multicube which is secured by company code. I also have 2 navigational attributes on company code- Plant of origin-company code and ship plant-company code. I have an authorization variable on company code which I am using to feed the variables on the 2 navigational objects through customer exit. When I run the report, it runs fine but when I try to drill down by any of the two navigational attributes(on comapny code) then there is an authorization error. I ran a trace and see that the system does an auth check for all the 3 objects(main auth object and the nav). Is there a way to stop the auth check on the nav attibutes? Thanks
    Puneet

    Hi Emerald,
    maybe an approach to resolve some irritations.
    Let consider your scenario, one char is used as nav attribute in several chars. i.e. Char A, used in B__A, C__A and D__A.
    If you want to protect the usage of the characteristic A as navigational attribute in the characteristics B, C or D, you have to set the flag 'Authorisation relevant' in the attribute section of the respective characteristics B, C or D (which means up to 3 flags and corresponding 3 authorisations).
    If you want to use the characteristic A in its on right in an InfoProvider, you have to set the flag 'Authorisation relevant' in the InfoObject maintenance of characteristic A.
    If I have stated something different in my previous replies, please neglect them.
      Cheers
        SAP NetWeaver BI Organisation

  • New Nav attribute

    Hello Experts,
    This is the situation.
    Three Infobjects:
    Sales Ord
    System ID
    Sales Ord Rpt
    Compounded:
    Sales Ord is compounded with system ID to make it unique
    Sales Ord Rpt is a nav attribute of Sales Ord
    Sales Ord Rpt = Sales Ord
    Purpose of Sales Ord Rpt:
    In the reporting to provide rollup on Sales Ord
    Master data:
    loaded for Sales Ord
    Trx Data feed:
    Transaction data is feed into Sales Ord Infobject & system ID.
    Report:
    rollup required on the Sales Ord Rpt
    Will the report show the values of Sales Ord Rpt.
    I know that I am missing something in here. Any suggestions appreciated.
    Thanks,
    Sweatha.

    Hi Sweatha,
    I follow you up to Trx Data Feed.  Does your Trx data load into a cube or ODS?  If you are using a cube or ODS then the Trx data will roll up to the aggregated level of that object.  For example: if Sales Ord is the key then all records will be at that level or if Sales Ord and Sales Item are the key then the records will be at the Sales Item level.  If you are loading this data into a master data object then the key is the master data object, example: all data in Sales Ord master data roll up to the Sales Ord.
    Hope this helps,
    Aaron Blasi

  • Authorization for multiple nav attributes

    Hi Experts,
    I have 2 doubts that I need to confirm with you:
    Scenario :
    an aggregation level has nav attributes  A__C  and B__C.
    A__C is restricted by authorization variable in the filter section of the query.
    A__C is shown in the rows as well.
    B__C is not defined anywhere in the aggregation level and the query.
    Authorization is created for the user on  A__C   and  B__C   and assigned to user via the BI7 auth admin tcode(s).
    The requirement is to control such that user cannot  access certain values of  Both  A__C  values and  B__C values found in records. In this case,  user is set to access  only  :
    A__C  :   1111
    B__C  :   2222
    A record exist like this :
    A__C     ****     B__C   ****  KF
    1111      ****     3333    ****  $1000
    Question:
    1.  when the query is executed, authorization check is ok for  A__C  and the query should execute.
    But given that this user is not authorized to B__C  = 3333,   will the KF value of $1000  be displayed by the query at runtime assuming the query only is selecting A__C and the KF?
    If it does not show results or shows 'not authorized' , can I say its due to B__C = 2222 is granted and not B__C = 3333 was granted?
    Else if it does show the $1000, can I say that even if B__C  is set = 2222 in the user profile / authorization object assigned,  there is no effect of authorization in this case and the record having B__C = 3333 will be displayed with the KF value (B__C value still will not be shown as its not in the query definition).
    2.   Assuming char C is defined in the query and aggregation level,  must this be individually restricted (i.e set auth of  C = value1, value2 .....)  in authorization object or roles in order that the effect of A__C is achieved where authorization values for A__C is defined by  setting auth of A__C = value 1, value2 ...?
    Scenario A:  char C is in the aggregation level but not used in the query definition in the rows and filter.
    Scenario B :  char C is in the aggregation level and used in the query definition in the rows.
    What would the result be in the above 2 scenarios ?
    Hope to get enlightened about this aspects.
    Thanks in advance.
    Best regards
    PRex
    Edited by: pointes rexiproca on Apr 3, 2008 6:21 PM
    Edited by: pointes rexiproca on Apr 3, 2008 6:22 PM

    Dear Pointes,
    For management authorization by navigational attribute, I suggest the following steps:
    1.     Should check the attribute setup of “A” and “B” InfoObject in Tcode RSD1, and be sure if they are relevant of authorization. Remember, in BI2004s the attribute navigational are different component authorization.
    2.     Then, you should check your analysis authorization in Tcode RSECADMIN Authorization and verify which these attributes navigational A__C and B__C are included in analysis authorization, and what value do they have? Be careful which logical sing “<, >, =…”. Also, remember include colum “:” value in each attribute navigational for avoid problem.
    3.     Before that, you should check the queries structure and be sure if theses attribute is like a entry variable authorization.
    I hope that can help you,
    Luis

  • Transferring the Cube with activation of some Nav Attribute

    Hi , In Production system, I have a sales multicube which has data coming in from sales overview and sales history cube. Data is loaded from mARCH 2006 to Till date every day in 2 basic cubes "sales overview" and "sales history"
    Question 1:I need to now avtivate  "ship to party - postal code" which  is there in two basic cubes but not checked so I now select the check mark in nav attribute "ship to party - postal code" for both the cube in development system. and same in mULTICUBE should I Transport 2 basic Cubes, and Multicube and All effected Queries or just the query in which change is requested.  
    Question #2 : How to reload all the data which is right now there in Production, If I transport the cube with changes from DevLOPMENT to Production will the data be deleted in Production. All Data is feeding in Cube from ODS so Can I just Transport the cubes in Production and Use Update data to data target in ods. will the data be reloaded in cubes by doing that. Data loaded is delta so please let me know asap what will be best way to make the change and also save the data that is right now there in cubes in Production. since i have to transport it from dev no changes allowed in production.Hope you will reply back soon. Thanks
    alot
    seeraj

    Hardeep,
        You need to transport the Sales Overview cube, Slaes History, Multicube cube and modified Queries.
        when ever you make changes like Making Navigational there is no need to delete the data. you just do one transport.
    All the best.
    Regards,
    Nagesh Ganisetti.

  • Selection criteria with Nav Attribute

    Hello,
    I have a scenario where I added a navigational attribute in APO BW. The nav attribute is reflecting correctly in Master Planning Object Structure. But it is not reflecting in the selection criteria in interactive planning.
    Please help.
    Regards
    Steve

    Hello,
    That is great point. I tried to edit the planning book and in the characteristics tab (in the edit mode of planning book) the new attribute is not reflecting in the planning area (which is on the characteristics tab on the right hand side) to take me to the left to planning book.
    I hope I am clear.
    Please help. I need it badly.
    Regards
    Steve

  • Nav Attributes not seen during creation of RKF in Query Designer

    Hi
    SCENARIO
    I have a Char InfoObject POSTFI[POSTFI is Navigational Attr] with 3 Navigational Attributes included in the InfoCubes.
    1. ZINREPIND Reporting Indicator
    2. ZFITMCD01 Statement 01 Financial Item
    3. ZPCNR1 Profit Center Indicator
    NOTE: All the above mentioned Nav Attr are properly set as Nav Attr and Active, Check and Rechecked.
    We have 2-InfoCubes Current and Historical[both have same Structure].
    A MultiProvider is build using the above 2-InfoCubes and the Char InfoObject PostFi is included in the MultiProvider.
    Now I am trying to Create a Report using Query Designer and in that I have to Create a RKF[GrossSales1] and
    the Condition for which is KeyFigure=FINAMT, where POSTFI_ZFITMCD01 = 5010, POSTFI_ZPCNR1= Y
    PROBLEM
    I can see the Nav Attr ZINREPIND, ZFITMCD01, ZPCNR1 in the main Screen of the Query Designer's LeftHandSide Pane containing KeyFigures and Dimenions under Dimension Financial=> PostFi=> Nav Attr ZINREPIND, ZFITMCD01, ZPCNR1.
    While creating the RKF on KeyFigure FINAMT I am just able to see the InfoObject POSTFI[in its resp Dimension] in the
    Display RKF GrossSales1 Screen in the Left Hand Side Pane where we see the KeyFigures and Dimensions.
    But I am NOT able to see the Nav Attr's ZINREPIND, ZFITMCD01, ZPCNR1 anywhere in the LHS Pane of the Display RKF GrossSales1 Screen.
    Now I cant Create the RKF bcoz I cant see the 3NavAttr's of Char InfoObject PostFi it the LHS Pane and the 2-Nav Attr required for creating the RKF.
    Can anyone PLEASE let me know How can I see/bring these Nav Attr ZINREPIND, ZFITMCD01, ZPCNR1 in the LHS Pane of the RKF Creation Screen to add them to make my RKF ?
    Thanx in Advance

    Hi
    As per your explanation, below are the details
    POSTFIPOSTFI --- This is navigational attribute which has below 3 objects as navigation attrs.
    1. ZINREPIND Reporting Indicator
    2. ZFITMCD01 Statement 01 Financial Item
    3. ZPCNR1 Profit Center Indicator
    first one, could you please confirm whether POSTFIPOSTFI is main info object or it is attribute of another info object.
    If it is attribute of another info object, then the last attibutes(3) are called Transitive attribute(attributes attribute).
    Reporting on Transitive attributes is only possible with the creation Info Sets.
    If my guess is correct, then create Info Set based two info cube now create the query.
    Hope it will work
    Regards,
    Venkatesh.

  • Key Figure as Nav Attribute

    Hi,
    I'm working on BW3.5, and one puzzling requirement we've recently had is to provide a report on number of repaired assets by diameter bands.
    There are some standard diameter bands given, like "<=5in or <=90mm", ">5in to 18in or >90mm to 500mm." *
    This kind of a report is not possible by putting a KF into a cube/ODS and putting a condition on it because conditions would work at the entire report level. I could have done it by modelling the diameter as a NUMC characteristic (with the unit in another Z-characteristic) but the trouble is that diameter can be in decimals, for instance 3.75 inches. Bringing that into a NUMC characteristic will give it a nonsensical value of 375.
    So I was thinking of a Key Figure as nav attrib of the asset itself. But once you include a KF as a characteristic attribute, BW does not allow the KF (and its corresponding unit) to be used as Nav Attribs. The button to switch it on as a Nav Attrib doesn't appear at all for that particular KF.
    Maybe I'm missing something here. Can anyone give me a pointer?
    Regards,
    Suhas

    Hi,
    You cannot make a KF attr as nav attr. But you can use a formula variable processed by replacement path to pull in the value of this KF attr into the query and use it in a calculation. There is also a How To doc for this...you can find it on SDN.
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/72f4a790-0201-0010-5b89-a42a32223ffc
    -Vikram

Maybe you are looking for

  • Odd files in the Users profile

    Recently I've discovered some stramge folders and I'm not sure of their source.  They are found in the Users>Appdata>Local and LocalLow directories The folders are named: EmieBrowserModeList EmieSiteList EmieUserList These folders are all empty. Not

  • Display HTML code in WebDynpro for ABAP

    Hi, I would like to display a html page in a WebDynpro View, ie: I have the html code in a "string" variable and would now display this string now not with the html tags visible, but as a "real" html page. I found a thread in WebDynpro for ABAP but I

  • OS does not boot after 10.5.6

    I have a mid 2007 24" iMac with 4 GB of RAM. From 10.5.5 I ran the 10.5.6 from Software Update last night. The update never finished. In the reboot process, the iMac never shutdown--I saw the default desktop background and the wheel turning. I left i

  • What is the use of creating proxy services using WSDL.

    Hi Am a beginner in ALSB and i have a basic question. Business services are created using WSDL,thats sounds logical as we need to invoke the actual backend services . Proxy services are connected to business services and what is the need that it can

  • What is the function of show tab bar in safari setting?

    this tool is in setting > safari > show tab bar on/off any one know how it work