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
Similar Messages
-
How to add Navigation attributes values via ABAP while creation of CVC
Hi,
I have a requirement like, I have to add navigational attributes to the cvc record while CVC creation ( /sapapo/mc62 transaction).
There were two scenarios: 1. Usually when they load master data from BW side those navigation attributes available and when we do CVC creation it's automatically picks those values. If NOT then i have to bring Market segment and Business unit navigational attributes values from ECC via RFC function module by passing MPN and End customer division as a input.
I am facing problem when BW side if business unit and Market segment were blank.
Do we have any Function modules available to add navigational attributes data and should update corresponding master data tables.
Please help me step by step process on this.
Thanks
Ravi
Edited by: REDDY KALLURI on Jan 22, 2011 10:30 PMMichael,
Are you intending this as a commercial solution or a work around?
To take an existing equivalent, one would build a view in the database tailored for each grid in an Oracle Forms application. Or a separate query layered over tables for each form/grid in a Delphi or Access application? Even if it is ninety nine percent the same over half a dozen forms/grids?
And now you've added a whole slew of "slightly different" rowSetInfos to maintain.
So if you wanted to add a column that needs to appear everywhere... you've just increased the workload multi-fold?
That would be a management nightmare, wouldn't it? Not to mention yet more performance cost and a slower system?
Hmmmm..... I'm not sure I like where this is headed... someone needs to do some convincing...
null -
Unable to add Navigational attribute in Qery
Hi All,
Am a beginner in Bex queries. I need to add a Navigational Attribute, in a BEx Query. I did the following:
1. Turned ON the Navigational attribute in the Infocube.
2. As my query is on Multiprovider, i had mapped the specific field as well.
3. In the query, the 'Attribute' folder is added to the particular charcteristic in the infoprovider panel. When i try to drag to the navigational attribute into the 'Free Characrteristics', its not working out.
Am not sure about the procedure for adding the Navigational attribute into the Query. please help me in resolving this.
Thanks,
Chitra.Hi Chitra,
Check if the navigational attribute is already there in Rows or filters area. it can't be in 2 places at a time.
First make sure the Attribute is navigational enabled at info object level.
Enable the object as navigational at IC level.
as you are using MP... you need to enable the navigational attribute in the MP and identify the object then you will be able to use the navigational attribute in the query.
Regards
KP -
"Error determining attribute" after adding navigational attribute to query
Hello all,
We are getting a "Error Error determining attribute, Abort System error in program SAPLRRK0 and form RSRDR;SRRK0f30-01-" error message when running a query after adding a navigational attribute. We tried adding the attribute of the characteristic directly in the query and this works ok. But when we try using the navigational attribute we get the error. We would like to use the navigational attribute so we can filter based on this attribute.
We've searched for notes regarding this problem and haven't found any. Any suggestions?
Thanks, Ronhi,
Please check if number of the fields after adding the Navigationl attribute the should not cross 50.
Check the RSRV test for the master data whose navigational attribute u r trying to add.
Thanks
Mukesh -
Need to add 2 columns in query
Hello, I have a query that I need to add 2 of the columns together, but I have been unsuccessful in my attempts to this point. I'm using Oracle SQL Developer 1.2.1
Here is the query:
WITH group_by_4_column_results AS
(SELECT m_atschunk.employee AS employee,
SUM(CASE
WHEN
M_ATSCHUNK.rolloffDaysCount = '108545043' AND m_atschunk.infractiondate BETWEEN SYSDATE - 365 AND SYSDATE THEN 1 ELSE 0 END) as rolloffs,
M_ATSCHUNK.INFRACTIONDATE + 365 as infractionDate,
M_ATSCHUNK.calculationDate as CalcDate
FROM M_ATSCHUNK
group by employee, infractionDate, rolloffDaysCount, calculationDate
SELECT g4.*,
SUM (rolloffs) OVER (PARTITION BY employee) AS total_rolloffs
FROM group_by_4_column_results g4
ORDER BY total_rolloffs desc
And it will output this:
||Employee|| ||Rolloffs|| ||InfractionDate|| ||CalcDate|| ||Total_Rolloffs||
||86707|| ||1|| ||3/8/2011|| ||(null)|| ||134||
||86707|| ||1|| ||3/9/2011|| ||(null)|| ||134||
||86707|| ||1|| ||3/10/2011|| ||(null)|| ||134||
||86707|| ||1|| ||3/11/2011|| ||(null)|| ||134||
||86707|| ||1|| ||3/12/2011|| ||(null)|| ||134||
||86707|| ||1|| ||3/13/2011|| ||(null)|| ||134||
I know need it to add the InfractionDate + Total_RollOffs columns and output intot he CalcDate column
The table was not created conventially using SQL, it was creating using a using a metabean file:
customerForm = /com/merced/datamart/repository/forms/CustomerForm,\
employee = /com/merced/datamart/repository/Person,\
filledOutBy = /com/merced/datamart/repository/Person,\
infractionDate = /com/merced/metabeans/Date,\
infractionCode = /com/merced/apps/ATS/forms/enumerations/infractionCodeType,\
WLB = /com/merced/apps/ATS/forms/enumerations/WLBType,\
rolloffDaysCount = /com/merced/apps/ATS/forms/enumerations/atsyesNoType,\
shiftInterval = /com/merced/apps/ATS/forms/enumerations/shiftIntervalType,\
premiumDays = /com/merced/apps/ATS/forms/enumerations/atsyesNoType,\
PABonusPoints = /com/merced/apps/ATS/forms/enumerations/atsyesNoType,\
comments = /com/merced/metabeans/String,\
appliedWLC = /com/merced/apps/ATS/forms/enumerations/appliedWLCType,\
calculationDate = /com/merced/metabeans/Date,\
calculationInteger = /com/merced/metabeans/IntegerIf 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 -
Reg Navigational Attribute in Query
HI
Iam having a strange problem,I wasnt to include a channel levl that is a navigable attribute to customer in my query.The query is reporting from an multi provider.I find that the navigable attribute is checked in my Infocube ,but its not appearing in my query to drag it in the columns.
Is it because it is reporting from Multiprovider should it be generated.If so how?
Thanks
BRYou need to make it as navigational in the multiprovider definition too. Navigational attr of underlying cubes are not automatically included in the multi. You need to manually include them as you do for the chars and KF's
-
Navigational attribute and query result
gurus
i have business organization under which i have various materials. my data flows through ods into cube. and in the cube i have my business org and materials ids
now the problem is some of my materials have changed Buss ORG like
Mat 1 used to be under Buss Org 1
now
Mat 1 is under Buss org 2
and when the users run the report they should be able to see mat 1 under buss org 2. (even the history should go under buss org 2)
and now i have to change my design
options i have
1) since my data is available in ods if i propose buss org as a navigation attribut and create a new cube without buss org in the cube will it work
2) i will go with the existing design and load the new data which mean i have two sets of data
one with material 1 under buss org 1 (which is history) and
material 1 under buss org 2 (from now)
now if i propose buss org as navigation attribute and use this in query will i see both history data and new data under Buss org 2.
please do reply
thanksthanks for a very useful information bhanu
lets say my records in cube are
Mid Bussorg Qty
10048 GMI 100
10048 GMR 200
now initially 10048 was under busorg GMI but its now under GMR.
if i take BusOrg char into my query i will get two BusOrg for the same Mat
i want even my history to be moved under new BusOrg
its like when i run the report it should give me
10048 GMR 300
this is how i want the result
if i propose BusOrg as navigational attr and take that into query will i get the same result? -
Unable to Restrict Navigational Attribute in Query Designer
Hi BI Experts,
I had a Requirement to restrict on navigational attribute.......
i have checked in every levels such that
1.at info object level ....checked type as navigational
2.at info cube level checked the navigational on.
still iam unable to restrict on navigational attribute................in the context menu its giving the options cut, remove and where used list .........its not giving option to restrict...........
its very urgent ...........please give any suggestions how to restrict on navigational attrDear Ram,
Dont expand the InfoObject and see the Attributes ( They r Dis Attrs )
Just expand the Dimension --- Nav Attrs are available ?
Dont put them in Filter pane..( if available )
Drop them under Rows.
But restrict them under Default values ( By clicking on Filter pane ).
Regards,
Ram. -
Need the solution in the Bex Query level for a Business Requirement.
Hi BI Experts,
I have a requirement at Bex Query level and the scenario is like this:
Business Logic.
Right now am showing the Stocks falling in to time slot like 6-9 months and 10-12 months from the date of PKD in two columns B1 and B2 respectively.
And also calculating the stock selling price of B1 with 30 % discount and B2 with 50% discount.
In the above said discounts client may change the discount % in any future Quarters
Now the requirement is, if client needs to see the history of sales according to the declared Discount selling prices of stocks falling into B1 and B2 slots, he must get the values accordingly.
( Am using the Formulas for calculating the Discount % for the Stocks fall in to B1 and B2 slots)
Business Example:
For Q4 2007 The discount for B1 Stocks is 35% and B2 Stocks is 60%.
For Q2 2008 The discount for B1 Stocks is 35% and B2 Stocks is 55%.
For Q3 2008 The discount for B1 Stocks is 30% and B2 Stocks is 50%.
For Q4 2008 The discount for B1 Stocks is 40% and B2 Stocks is 50%.
Now running report ( running in Q4 2008 at some date) if client needs to check the B1 and B2 stocks in Q4 2007 or Q3 2008 the values need to come with the calculation of repective % of disounts declared in that quarters along with the selling prices in that quarter.
This all should be done at query level nothing to do at Infoproviders level.
Is there any option like storing query data as a master data and retrive it according to the selection to get the exact values of the respective % Discounts and time lines.
If It is not clear come up with questions for still more clarifications.
Points are assured.
Thanks in Advance,
RK.Who is defining the % discounts for periods/quaters?
Is this maintained in a custom table or externally in legacy/R3 system?
There are various ways to achieve the result. Variable exits can be used or virtual KF/char can be used but all depends on actual requirements.
Cheers -
Time Dependent Navigational Attributes in Query
Hi,
Location & Job are the Time Dependent Navigational Attributes of an Emp No and
Created a Info Set (outer Join) based on Emp No and DSO....
Created a Query based on the infoset and the Location * Job are Free Chars in the report
In the query property setting entered KEYDATE as 31.12.999
When i executed report and drilldown on Job or location it is displaying me 2 records for each employee one with Blank and the other with information.....
It should display only one record..most recent record avaliable in Emp master data
Where was i doing wrongHi,
Thanks for the update.
I can't do a innerjoin as per my requirment it should be a outer join
Thanks -
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 -
Navigational attribute in query
hi,
i have 0pp_c03 cube in production planning. There is 0material as master infoobject and 0material_zmw as navigational attribute i am using it to evaluate values in my formula.
In my cube i have 0material, 0order
now if i want to see value of the formula then i have to explicity select navigation attribute
i.e
0material 0order 0matieral_mw Formula -- >
values are display correctly
but if i against 0material 0order the value
of the formula is display as X .
Actually i wanted to display as aggregrate of evaluated value in the formula is there any way we can do it against 0material 0order.For Example
0material 0order 0material_mw formula/1000
1 1 1250 1.25
1 2 1250 1.25
Result i am expecting is
0material formula/1000
1 2.50 -
Navigational Attribute data is not display in Cube level and reporting
Hello ALL
Iam facing a problem like,I created Navigational attribute and I selected that navigational attribute in cube level also but data is not display in cube level.
What will be the problem?Pl help me out.
regards
balajiHi Dinesh
You mean base characteristic means loading data after creating Navigational attribute?Is it this way,(orelse can u tell me about this base characterstic)
Yes after making that particular attribute as a navigational attribute I loaded data in master data tables.
How to run Attribute change run?can u give me steps
regards
balaji -
Navigational attribute issue-time dependent
Hi all,
I am working with 0PA_C01, I included some additional navigational attribute(time dependent )to 0employee, but when i am checking all these navigational attribute at cube level or Report , i can find only the latest values ,for eg i added Designation as a time dependent navigational attribute for 0employee, and the designation for a employee is changing after 12.2008 from VP to SVP ,at the cube and also in the report i can find only the latest designation for all the calmonth ie before 12.2008 also as SVP .
I checked the the time dependent Navigational attribute option to make designation as a time dependent navigational attribute ,and also ran the attribute change run .
Can anyone suggest some information to fix it?
Thanks
SandhyaDear Sandya,
Results correct only in your report. Time dependent attributes displyas data based on keydate. if no key date specified, system takes current date as key date and displays data.
So in your case latest data displaying. If you want to see any historic designations, you need to specify key date, which shold fall into that particular range.
Create a User entry variable for keydate and use.
Key date
Each query has a key date. For time-dependent data, the key date determines the time for which the data is selected. The default key date value is the date on which the query is executed, that is <Today>.
1. Click on the Key Date field. A dialog box with a calendar appears for you to select your key date.
2. Select a date from the calendar. If you select 01.01.1999 for example, time-dependent data is read from the 01.01.1999.
Note
The key date applies only to time-dependent data.
Check: [Query Properties|http://help.sap.com/saphelp_nw04/Helpdata/EN/07/0ab63c71f41d5ce10000000a114084/frameset.htm]
Srini -
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
BassHi 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.
Maybe you are looking for
-
Memory going bad???
My K7T266 Pro2-RU system has been running stably since I built it last November. However, yesterday I started getting frequent system lock-ups, and I couldn't find anything I had done that would have caused it. I found that I could reproduce the prob
-
MRP Indicator check box in MIGO
Dear All, While capturing Excise Invoice during Goods Receipt (T.Code: MIGO), in Excise Invoice tab of MIGO screen- there is a button for " More Data". After clicking that button and in the 'Miscellaneous' tab , there is a MRP Indicator check box. Pl
-
I am attempting to make a PDF library within one of my folios. It is a 4 page article, with the 3 and 4th pages having links to PDF's. Originally the PDF library was an HTML widget built for an iBook. But when I use a button to launch a Web Content o
-
Hi All, Please let me know how to go to display end point in XI from SAP Logon. I have to change old URL with new URL. Not sure for change URLs at EndPoint. Is it correct way or not. Please correct me if am wrong. Thanks, Subbu.
-
Hi Experts, i want to increase the invoice value after some days, which is already partially paid, and also decrease the amount because my vendor intially deliver the material for apporximate amount for our urgent requirement then he will sen