Infoset - Query with navigational attribute as filter
Dear all,
We have created an InfoSet linking an InfoObject 0COORDER to an Info InfoCube containing order data.
We have used a Left outer join to link 0COORDER tol 0COORDER in the InfoCube. The purpose is to be able to report on all 0COORDER even if they have no transaction data.
When creating a query we get a list of all 0COORDER as expected. The problem arises when we try to use the navigational attribute "Status" from the InfoObect 0COORDER as a filter in the query. This does not work at all.
Does anyone know what we are doing wrong here ? We are using BEx Query Designer 7.0.
Kind Regards,
Mikkel
Hi Mikkel
When you say that your Status field does not work at all, what is the error you are getting? Are you able to see this field in the query designer. If that is not the case that means your "status" is not chosen in the infoset design.
If you are able to see it in the designer then please let us know what is the exact error you are getting.
Thanks.
Similar Messages
-
Inconsistencies with Navigation Attributes
Hello all,
We are experiencing some inconsistencies with navigation attributes. Attributes are flagged as navigational on the InfoObject Level and also selected in the InfoProvider's Navigation Attributes folder. However some of them are showing in the Query as Navigation Attributes while other's don't. The same process was followed for all of them. Any ideas why this might happen?
Thank you so much!Take the "Company", "Area" and "Department" out from the attribute list of the Org Unit !!
then delete "Company", "Area" and "Department" one by one ..
And then try deleting orgunit ..
Regards. -
Infoset query with KNB1 customer's ADRC information
Hello,
An explanation into the problem:
I'm trying to create an infoset query with KNA1, KNB1 and ADRC which would do the following:
In KNA1-SORTL we hold customer numbers which can be found from KNB1. This query should:
Display KNA1-KUNNR and relevant address data for this customer via connection KNA1-ADRNR and ADRC-ADDRNUMBER. Then it should check KNA1-SORTL- field and if it corresponds to KNB1-KUNNR, it should go back to KNA1 with this KUNNR and display all this customer's relevant address data via this customer's KNA1-ADRNR to ADRC-ADDRNUMBER.
I'm relatively new to infoset coding and ABAP in general, plus I'm self- taught so please bear that in mind.
I'll give an example as to what I've managed to do so far. In SQ02 I joined tables KNA1(left outer join)KNB1 and KNA1(join)ADRC and created an extra field ZADRNR to see if I could display the ADRNR for the customer number found in KNB1.
Something along the lines of:
IF KNB1-KUNNR = KNA1-SORTL.
SELECT SINGLE ADDRNUMBER FROM ADRC INTO ZADRNR
WHERE ADDRNUMBER = KNA1-ADRNR.
ENDIF.
Obviously this doesn't work. Pseudocode would look like this:
Check field KNA1-SORTL
IF KNA1-SORTL = KNB1-KUNNR THEN
GO BACK TO KNA1 with this KUNNR and display it's ADRC.
KNB1 sadly doesn't maintain an ADRNR of it's own, or this would be much simpler.
Any help or advice is much appreciated, so far I've only been coding a few lines in infosets with ABAP so I'm not all that familiar with it. I've managed to create several queries through trial and error, mostly, and this forum and it's articles have helped a great deal.
Please let me know if I should provide any additional information, and my apologies if I posted this in the wrong forum area.Hi Lalit, and thank you very much for your reply.
Unfortunately excluding space entries in selection screen wouldn't solve the issue, since we have KNA1-ADRNR for each entry, it's just that it would be different for customers found in KNB1.
I could probably solve this by making two separate queries and working on them in excel and that way we would have the necessary information.
But in order to do this in SAP seems to mean that I have to write a custom report. For that, it seems I'll be spending New Year's eve learning how to ABAP
Thank you for your help, at least we don't have to struggle with finding out a way to do this via queries so we'll just find alternative means for this.
Thanks again and have a happy new year! -
Infoset query with cero values
Hi
I have an infoset query that reads the information from an infoset. The infoset query is able to read the values, because it shows me values, but everything is cero, although I have values different from 0.
But if it didn`t find values it would tell me a different message as "No application data found" or something like this.
Then the problem is, my infoset read values, but everything that shows me is cero, and that´s not true.
Thanks and regards
SEM SEMHi,
What do you mean with the join condition ?
I have an infoset query with only one ODS inside. I didn´t want to build a query directly to the ODS as I did´t want to mark the flag available for reporting in the ODS, as it already had very importat data and I didn´t want to damage the ODS data. That´s why I have built and infoset query with one ODS inside, and in this case I don´t understand the join condition....
Regards
SEM SEM
Does anybody know something ????
Regards
SEM SEM
Message was edited by:
SEM SEM -
Selection generated with Navigational Attribute and store forecast profile
Hi,
Our business has a requirement that will require for the solution a Forecast Profile to be stored against a selection which was generated with a navigational attribute in the selection. I have found two SAP Notes 329707 and 394076 shown below which point to BAdi /SAPAPO/SDP_FCST5 method SEL_CHANGE to do the job. Can anyone help me in understanding what coding we need to do within the BAdi to get this to work. Does anyone have an example?
SAP Note 329707
Method:
SEL_CHANGE (as of SCM 4.1)
This method can be used to change the selection to be stored in
in the generated selection table. Navigation attributes can be
removed, such as the function of assigning a forecast
profile to the selection can also be allowed for selections with
navigation attribute without a basic characteristic.
Parameter
IV_PAREAID Importing Type /SAPAPO/TS_PAREAID
CT_SELECTION Changing Type /SAPAPO/TS_IOBJ_SELECTION_TAB
Sample code:
DATA: lv_tabix TYPE sytabix.
DATA: lt_chars TYPE /sapapo/dm_int_chars_tab.
DATA: ls_chars TYPE /sapapo/dm_int_chars.
DATA: ls_selection Type /SAPAPO/TS_IOBJ_SELECTION.
IF iv_pareaid = 'PAREA1'.
CALL FUNCTION '/SAPAPO/TS_PAREA_SINGLE_GET'
EXPORTING
iv_pareaid = iv_pareaid
IMPORTING
et_chars = lt_chars
EXCEPTIONS
not_found = 1
OTHERS = 2.
CHECK sy-subrc EQ 0.
LOOP AT ct_selection INTO ls_selection
WHERE iobjnm NE '9AVERSION'.
lv_tabix = sy-tabix.
READ TABLE lt_chars INTO ls_chars
WITH KEY iobjnm = ls_selection-iobjnm.
IF sy-subrc EQ 0 AND NOT ls_chars-atrnavfl IS INITIAL.
DELETE ct_selection INDEX lv_tabix.
ENDIF.
ENDLOOP.
ENDIF.
SAP Note 394076
As of Release SCM 4.1, you can use the method SEL_CHANGE of the BadI /SAPAPO/SDP_FCST5 to process the selection before saving it to the generated selection tables. This allows you to save selections with navigation attributes, for example, where the selections do not have a specified basis characteristic. You simply need to delete the navigation attributes from the selection.Is all the Navigational attribute checked for display during cube creatiion?
Prathish -
#MULTIVALUE on ratios with navigation attributes
Dear All,
I have some problem with table where I put only navigation attributes and ratios... the colomns ratio is "MULTIVALUE" value..
I would like aggregate ratio on the table...
Workaround ? Solution ?
Thanks
Cédric
BO edge 3.1 SP3
SAP BW EHP4Hi Igno,
I agree that it still says that in the best practise (dated back in 2009!), but in my experience in the past years it doesn't work that well. Unless you tailor your BEX query one to one with a report that is... Not the intention of a universe i.m.h.o.
For standard aggregation keyfigures I always set the aggregation to sum. So I only use database delegation if I really need it because it would not be possible for WebI (for example counts like number of stores with sales).
Note that I also make sure that I retrieve data on the level that I need (by checking the number of rows retrieved for instance and comparing that with the number of lines in the report. So the database will do all of the aggregation it can do already!
So you do NOT get the sum a second time! You get it only once, only who handles the summing within the results is different, with database delegated, it is BW, with sum it is WebI. For a plain sum it is Webi and summing within the retrieved results can be handled by WebI perfectly fine (and will match with sums by BEX where you have them) !!!
Letting BW handle the aggregations means it will retrieve all the extra aggregation points it can find in the report, but only if it can!
In this particular case the attribute country of the customer is not a known aggregation level for BEX, so it cannot calculate it.
Also if you create webi based groupings of dimension objects, or even want to re-format one (like month) it does not work.
Furthermore, if you read my post correctly I do not mention "GROUP BY" but I do say grouping.
For totals you will always have a certain grouping/combination of dimensions (whether you call them dimension objects (in WebI) or characteristics (in BEX)). I state that to calculate an aggregation for that combination the BEX query needs to have knowledge about it. If it has not, it cannot calculate...
So I say it should be the preferred way to let WebI handle the aggregation,
unless it cannot do this correctly, not the other way around.
Thanks,
Marianne -
Filtering in query through navigational attribute.
Hi all,
I want to restrict my query on the basis of navigational attribute (Material Type) of my info object (0Material) in query designer but when i drag material attribute in Filter tab page it doest work and does not appear in filter tab.
Please help me how can i restrict this in this manner.if it is selected, then in query, drag drop 0material___type infoobject.. do not use attribute under 0material.. you can find this in the same dimension as of 0material.
-
Data issue with Navigational Attribute in the report
Hi Experts,
We have a report which has Material and Material Group in the report. Material Group is a navigational attribute of 0Material. We have some 31 material groups in the ODS. However, the report is diaplaying only 3 material Groups. If I use Material Group directly( not as an attribute of material) then it is displaying all the 31 material groups correctly.
We have a hierarchy which is loaded through Flat file on Material Group. We need the hierarchy to be displayed for all the material groups in the ODS. Please let me know what could be causing this issue?
Thanks and Regards,
Kavitha JagannathHello Kavitha,
Check if the Material Masterdata is having these Material groups. If not then load this Material masterdata and activate it.
As your query is using Material group as Navigational attribute then the data should come from this Material Masterdata.
If your Material has only 3 of th eMat Groups then report will show only 3. Better update this Material masterdata.
Regards,
Pratap Sone -
Problem with Navigation Attributes when upgrading from BI 3.1 to BI 7.0
Hello,
I have the following problem that occured regarding queries during the upgrade from BI 3.1 to BI 7.0:
As far as the queries are concerned it is not possible in the 7.0 system to completely rebuild them according to the queries in 3.1. More specifically this refers to a certain number of navigation attributes that cannot be integrated into the query. In this case the following error message appears: "Error in BW: Missing mapping partprov cha <-> multiprov cha". Moreover, this error message only appears when you try to include navigation attributes into the query that are all attributes of the same specific InfoObject.
I have already checked in the 7.0 system if the relevant objects have the status 'active' and if the identification between the Multiprovider and the InfoObjects used is correct. So, is there anybody who may has another idea why this error message appears respectively who experienced the same/similar problem?
Thanks in advance & RegardsHello Martin,
yes, I've also checked the identification in the MultiProvider for the navigational attributes. There is nothing missing.
I've also reactivated the objects.
Do you may have another idea?
Thanks and regards, Ines -
Question about infoset query with code
Hi experts.
I always appreciate your help. Today, I have some problem. I made infoset query using SQ01 and got some data. Those data include WBS no but some of them didn't. So I tried to put some code into the infoset query that any data has not WBS has some value, for example 'X', in WBS no field.
I needed to know what field or table I should control to display value 'X' in WBS no field in case that WBS field has no value.
I tried to put code at "END-OF-SELECTION(before display)" and control %dtab. But I met error message there is no such table %dtab. So, I define %dtab then during runtime, I also met error message %dtab has already been defiend.
How can I do? Is it impossible thing?? I'm wating for your answer.
regards.Hi, if you just want to fill the field if it is blank, you can do this in the Record Processing Section.
I'm not familar with the WBS number, so for this example, I will fill the BISMT in MARA during the "Recording Processing" Section.
if mara-bismt is initial.
mara-bismt = 'X'.
endif.
Regards,
Rich Heilman -
Create restricted key figure with navigation attributes
Hi,
I need to create a restricted key figure using attributes of 0BP_COMPET.
On my report is :
Competitors (0BP_COMPET)
Quantity
Active Competitors = Expiry Date of Minority Status greater than or equal to system date
Inactive Competitors = Expiry Date of Minority Status less than to system date
Note : Expiry Date of Minority Status is a navigation attribute of 0BP_COMPET and system date is generate by variable 0DAT - Current Calendar Day (SAP Exit).
How can i apply the formula?
ThanksHere's a good How to Document that explains what you are trying to do ....
https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/72f4a790-0201-0010-5b89-a42a32223ffc
It is called How to.... Calculate with Attributes.
Brian -
Query on Navigational attribute of navigation attribute
Hello,
we work on BW 7.0 but use still the 3.5 BEX. Is it possible to navigate
on a navigational attribute of a navigational attribute? If yes, is
this only possible in the the next version of BEX? Because in the
version 3.5 I didn't find a possibility to do that.
Thanks.
Regards, Lars.Hello Lars,
This isn't possible; you can also refer to below thread -
Navigational Attr of Navigational Attr in cube -
Problem extracting, query with display attributes, in RSCRM_BAPI.
Has anybody experienced that problem?
When I execute the extract, the job cancels itself after 2 minutes. Sometimes even shuts down the DEV server.
There is no Dump in ST22.
The only error I get is:
TRUNCATE TABLE "/BIC/0CZTEST" where ZTEST is the extractor
But when I execute the extract with the same query without the display attributes it runs just fine.
Help please...Check Table("/BIC/0CZTEST") using T-code "SE14".
If necessary, drop and creat, again.
Good luck. -
Can i filter a report based on a value of a navigational attribute?
Hi all,
i need to filter a report and the characteristic i need it's a navigational attribute that is already present in the infocube, can i use it as a filter or i need to add a new characteristic to the ic?
thank youHi
You can use navigational attributes to filter your report. When you switch on the navigational attributes at the cube level, the X table or Y table will be connected to the star schema of cube.
Navgational attributes behave like a characteristic in the report. You can create variables, filter etc on navgational attributes.
Hope it helps.
Regards
Sadeesh -
Hi,
I have a problem with navigational attribute in BEx reporting. Product hierarchy 1 to 4 (0PRODH1 to 0PRODH4 referencing 0PROD_HIER) is a navigational attribute in 0MATERIAL. In query from an ODS I am able to include them and able to filter on it using a variables, but I am not able to get subtotal on the basis of PRODH3, but able to subtotal on the basis of PRODH1 & PRODH2.
I run RSRV on 0MATERIAL & 0PROD_HIER and there is no error on it.
If anybody know how to rectify this issue pls reply.
Thanks
EVTry this:
My experience is that the property of showing subtotals in bex, is pointing at the characteristic to the left in your report of the one you are changinin .
If you have
Fiscal year, profit Center , Customer , Product,
And want subtotals on the two first. BUT NOT Customer and product..
The property show subtotals should be choosen for the first three.
Fiscal year, profitcenter AND customer.
Hope this helps.
Maybe you are looking for
-
Windows doesn't recognize iPod Touch 8gb 3g
I'm running Windows 7 Ultimate x64, and after I upgraded my iPod Touch to iOS4, it got stuck in DFU mode and is stuck in a continuous DFU mode loop. My computer won't recognize the device and I've done everything to try to reinstall the mobile device
-
If not with Finder, is there some other way to do it simply with Mountain Lion OS?
-
Forwarding mail from my .Mac accout to Yahoo
Hi there, Is there any reason why I can't forward my .mac mail to my yahoo account..? I've changed preferences in .mac redirecting it to my yahoo account but nothing happens..? Confusing but I'm trying to get replies from my website to go through my
-
In Vacany requisition-error "Recruiter is missing" appear after all are set
Hi, When a the Line Manager or Supervisor is trying to complete a VR form in portal it is saying " Recruiter is missing " in. I have checked the Account assignment feature (which is defined correctly) and also the recruiter maintianed for that PSA (
-
My understanding is that the concept of local interfaces (i.e. direct invocation in lieu of an IPC) exist in EJB 2.0. Does OC4J support this today? If not, will there be support for it in 9i AS 2.0? Thanks.