Selection for (InfoObject only date) cannot be uniquely assigned in RRI
Hello,
I have created RRI using 6 queryies. When i do jump from sender to receiver, i found the warning messages for two date fields saying that Selection for ZORAPLIC cannot be uniquely assigned and Selection for ZOR_CREAT cannot be uniquely assigned. ZORAPLIC & ZOR_CREAT are two date fields. I have supressed all messages in RSRT also.
Please help me on this.
Thanks,
Ashok
I do have a user exit to fill in a text variable and even though we modified the ABAP code for it, it still doesn't work
But if you tell me that the "Selection for [variable] cannot be uniquely assigned" problem comes from the user exit problem, we'll try to fix this one first.
Thanks again
Similar Messages
-
Select FOR ALL ENTRIES statement cannot get duplicates entries
Hi all,
t_yxapy_fields consist of
inty field
0001 kostl
0002 perid
0008 ansal
0008 preas
0008 trfst
The following is the code for me to transfer the contents of t_yxapy_fields into t_pa_fields.
SELECT dbtab
FROM t777d
INTO TABLE t_pa_fields
FOR ALL ENTRIES IN t_yxapy_fields
WHERE infty = t_yxapy_fields-infty.
And t_pa_fields just ended up with
field infty
pa0001
pa0002
pa0008
Question:The first table have 3 similar infotype 0008 but the result table only have one pa0008. I need to filled up acordingly as what table 1 have. I need another 2 pa0008 in my 2nd table. What is wrng with my Select for all entries statement here?
Edited by: Siong Chao on Mar 27, 2010 10:35 AMThis has nothing to do with duplicates in t777d.
Correct, I failed to recognize that table t777d has only infty as key as pointed out by Aby. Thus in your particular case my comment was misleading. In general though FOR ALL ENTRIES removes all duplicate rows from your result set.
If you want the other 2 values just loop t_yxapy_fields this table and read t_pa_fields and if record found add the other values to t_pa_fields table. --> will trigger performance tuning issue
I'm pretty sure if you'd code this, you won't run into any performance issues, so follow Aby's recipe. To be more concrete, here's what I'd do: Define a mapping table t777d_tab, which holds the translation from infty to dbtab:
types:
begin of T_T777D_VIEW,
INFTY type T777D-INFTY,
DBTAB type T777D-DBTAB,
end of T_T777D_VIEW.
data:
T777D_TAB type hashed table of T_T777D_VIEW with unique key INFTY.
Fill table t_pa_fields, typed using t_t777d_tab from above, from table t777d. Then loop over your table t_yxapy_fields (I'd use [LOOP AT ... ASSIGNING|http://help.sap.com/abapdocu_70/en/ABAPLOOP_AT_ITAB_RESULT.htm] instead of LOOP AT ... INTO) and for each entry get the corresponding DBTAB value from t777d_tab (again use the [READ TABLE ... ASSIGNING|http://help.sap.com/abapdocu_70/en/ABAPREAD_TABLE_OUTDESC.htm] variant) and build your result table t_pa_fields.
Anyhow, I suspect that even with less optimal coding (e.g. using just standard table for lookup of DBTAB values) you'd not see much of an performance impact, because it seems that your internal tables are most likely rather small...
Cheers, harald -
Using cache for read only data
In my application I have to display some read only data (in number of drop down present on several portlets)
this data might be driven from the database or from some XML/property file.Not decided yet.
for example : Country /state/City/Zip code etc..
Kindly let me know how can I implement the same in Weblogic Portal 10.0.
Do I have to use some third party caching mechanism like Hibernate cache for this
or
Weblogic portal do support caching ??
Please suggest the all possible soultions to implement this.Cache cache = CacheFactory.getCache("yourCache"); //any name can be passed, and you can create as many as you want , perhaps by functionality, perhaps by size etc. If you want to configure statically you must use this name in the xml file. If you define it in the xml file , you can administer the cache from Portal Admin
cache.put("key","value");
cache.get("key");
There are other advanced things you can do like Time To live / flushing / auto reload the cache which is all described in the javadoc
regards
deepak -
Selection for infoobject with TEXT
Hi All,
I have an infoobject ZCustomer which is having a navigational attribute 'ZROLE' which may have concatenated text value. eg., LOC_INT or INT or LOC_PIC.
Now i have to keep selection/filter to the report where user should have a selection option/drop down with values 'LOC', 'INT' and 'PIC'. If the user select the value 'INT' then i should show the report for only 'LOC_INT' and 'INT'.
To say shortly its like contains pattern in the abap.
so for the above user selection, which ever the customer's attribute value has the string INT only should be dispalyed in the report.
Note: I can use WAD reports if needed. The list of values 'LOC', 'INT' and 'PIC' can be the static list we maintatin for the user to select. bcoz i dont have any particular infoobject with these values.
Thanks in advance
KarthikHi Karthik,
You can use the standard selection option variable and ask the users to enter the wild character before and after the input value.
For example, if the user enters 'INT' , then report output would show all values which has 'INT'.
However, the users would be seeing all the values in the master data or posted values in the transaction data ( as per the setting ) and not customised values as per your requirement.
Thanks,
Krishnan R. -
JDBC or Entity Beans for Read-Only Data?
Entity beans are way to slow on pulling the amount of data I need. What are the cons of just using JDBC? Is this bad programming?
One query pulls about 700 rows from 6 different tables taking up to 20 seconds. The same call using JDBC takes 2 seconds. What is the proper thing to do?One query pulls about 700 rows from 6 different
tables taking up to 20 seconds. The same call using
JDBC takes 2 seconds. What is the proper thing to do?JDBC. Entity beans are not really suited for data across multiple tables. This can be best done with plain SQL +JDBC. -
Wrong Lens Profile Selected for JPGs only
Today I took some pictures, mostly RAW, but a few JPGs. Lightroom 4.1RC, Windows 7 64bit
When I use the Lens Correction feature on the RAW photos, the proper lens is selected, a Nikon AF-S NIKKOR 16-85mm f/3.5-5.6G ED VR.
When I use the Lens Correction feature on the JPG photos, the proper lens is NOT selected, instead I see it has selected a Nikon AF-S DX NIKKOR 14-24 f/2.8G ED. In fact, next to "Model", I cannot even select the proper lens (the 16-85mm lens) because its not in the list.
How do I fix this?dj_paige wrote:
Where are the lens profiles located? or what is their file type?
The lens profiles in LR4 are located in "C:\Program Files\Adobe\Adobe Photoshop Lightroom 4\Resources\LensProfiles\1.0\" and have an extension of *.lcp.
If you want to tweak a Raw profile to be used by JPEGs, you need to
make a copy of the *.lcp file under a new name into folder "C:\Users\[youruser]\AppData\Roaming\Adobe\CameraRaw\LensProfiles"
(this is where downloaded/user produced profiles should live)
Edit the copied file using notepad
Replace all occurences of "<stCamera:CameraRawProfile>True</stCamera:CameraRawProfile>"
to
"<stCamera:CameraRawProfile>False</stCamera:CameraRawProfile>", then save
Restart LR
Beat -
Selection for 0ACT_DL_DTE can not be uniquely assigned
Hello,
I have created report-report interface between two querys and when i run the sender query, It goes to the receiver query and it is giving warning message as " Selection for 0ACT_DL_DTE can not be uniquely assigned".
Warning Message: Selection for 0PLD_GI_DTE cannot be uniquely assigned.
Selection for 0ACT_DL_DTE can not be uniquely assigned.
Selection for ZDLVCRDT cannot be uniquely assigned.
Selection for ZREQDT cannot be uniquely assigned.
It is giving warning message only for dates.
Please let me know how to fix this issue.
Thanks,
GangaI have used message type Z8ORDER which is newly created . The message type in message control of partner profile is ZDVS which is linked to process code. This (ZDVS) was already used in some other partner profile. Can we use same message type (Message control) again. If yes please advise how to use it again.
Regards,
Vijay. -
Error in global conversion rule for InfoObject 0INCOTERMS2
When I activate BI content 2LIS_12_VCITM with transfer rule, The transfer rule was error with the message " Error in global conversion rule for InfoObject 0INCOTERMS2" and Mgs No. 263.
The transfer rule cannot be activated.
I checked the 0INCOTERMS2 infoObject . The global conversion rule is no error.
The global conversion is in below.
============================================================
PROGRAM CONVERSION_ROUTINE.
Type pools used by conversion program
TYPE-POOLS: RSD, RSARC, RSARR.
TYPES: DE_0INCOTERMS2(000028) TYPE C.
Conversion rule for InfoObject 0INCOTERMS2
Data type = CHAR
ABAP type = C
ABAP length = 000028
FORM CONVERT_0INCOTERMS2
USING RECORD_NO LIKE SY-TABIX
SOURCE_SYSTEM TYPE RSA_LOGSYS
IOBJ_NAME TYPE RSIOBJNM
CHANGING RESULT TYPE DE_0INCOTERMS2 " InfoObject value
RETURNCODE LIKE SY-SUBRC.
$$ begin of routine - insert your code only below this line -
TRANSLATE RESULT TO UPPER CASE.
$$ end of routine - insert your code only before this line -
ENDFORM.
=================================================================
If you have any idea or face the similar problem, please suggest solution.
Thank you.Good afternoon,
If you have not done so already can you apply the SAP note 1387854 in your system and it should prevent the problem from happening again. If you also reactivate the infoobject 0INCOTERMS2 in RSD1 then it should be possible to manually activate the transfer rule.
Best Regards,
Des -
Select for update that doesn't return any rows
Are there any odd side-effects that may occur if a select for update that returns no results is never committed? I wouldn't think there are, but I'm not sure if there would be some kind of overhead or unforeseen consequences. This isn't a terribly important question, but it's come up in some coding I've done and I've not been able to find any documentation addressing it.
A select for update only locks rows that meet the predicate specified in the where clause. So, if the query returns no rows, no rows are locked.
session1> SELECT * FROM t;
ID DESCR
1 Un
5 One
2 THIS IS WA
session1> SELECT * FROM t
2 WHERE id = 11 FOR UPDATE;
no rows selectedA second session can update rows in the table
session2> UPDATE t
2 SET descr = 'One'
3 WHERE id = 1;
1 row updated.John
Edited by: John Spencer on Jan 7, 2009 1:36 PM
I just realized that, although you can do updates on the table after the select fo update that returns no rows, you cannot do DDL operations liike a truncate. Unless the session that does the select for update either ends the transaction (i.e. commit or rollback) or ends the session DDL operations will fail. -
Assignmet for infoobject not maintained
Hi all,
I am trying to create a Multiprovider with a DSO & an INFOCUBE
I have added the dimensions & the keyfigures.
The infoobjects under the UNIT dimensions(0Currency & 0Unit) are not getting added automatically.
Inspite of that I tried to activate the multiprovider.
Now its throwing the error :
Assignment for infoobject CST_ITEM not maintained --> long text
Assignment for infoobject ORD_DAT not maintained --> long text
But now I can view 0currency & 0Unit under Unit dimention. But they appear blue in color.
& I am still getting the error.
How can I resolve the issue?Hi Pallavi,
Whenever you create a multi provider, to activate it successfully, right click on each of the key figures and click on Select (assign). This helps you determine which sources you want to consider while creating the multi provider for each of the key figures.
For example, your multiprovider is taking fields from both a DSO and a CUBE. So, by assigning you can mention which values to pull into the multiprovider, from the DSO? CUBE? or both.
Once you assign the source/sources to each of the key figures in the multi provider, you will be able to activate it successfully. -
How can I upload text master data for attribute-only Charactertic?
I can't create infosource for attribute-only Charactertic via direct update from Infoobject, because attribute-only Charactertics you can't choose from available infoobject.
How can I upload text master data for attribute-only Charactertic?
Thanks!Hi roberto,
I soloved the problem. I can input the attribute-only char directly in the text box instead of choosing from list of infoobjects, but I still can't find the char in infoobject selection dialog even using search. -
Need a single point of view on date selections for Delta and Full load IP's
Hi Experts,
Every year we are facing issues on date selections for data extraction, for example the Delta or Full selections for particular IP is like 2005 to 2008 , in this situation, for the year 2009, this IP is picking 0 records as the selections are upto 2008 only.
My requirement is, I need to check the selections of all the IP's in the system and want to change on need base if the selections are getting expired instead of going and checking manually to each and every IP as the system is having around 3000 IP's, which is a tedious job.
Guys, please let us know if there exits a Table/Program or any other way to check it.
Inputs appreciated.
Regards
NanduHi
Persistent through module RSSM_SHIP_PSEUDO_DVERSION_WRI
Primary table RSLDPIOSH
RSLDPIO Links datasource to infopackages
RSLDPIOT InfoPackage Text Description
RSLDPRULE ABAP source code for InfoPackages
RSLDPSEL Hardcoded selections in InfoPackages
RSMONICDP Contains the request-id number by data target
RSPAKPOS List of InfoPackage Groups / InfoPackages
http://help.sap.com/saphelp_nw70/helpdata/en/2e/20d704d45be7458582cdfcc5487090/frameset.htm
Hope it helps -
Error message "Data cannot be maintained for set type COMM_PR_PUR_1
Hi
While replicating the material master through R3AS I am getting an error for which the details to be checked in SMW01. In SMW01 when I selected the record for error details I am getting above error message. How to resolve ? Pls guide me stepwise. For your information I has cleared SMQ1 in R3 & SMQ2 in SRM
For curioisity next I selected all such error logs & deleted. It gave me one warning (some inconstinecies error) which I ignored. After that I checked SMQ1 of R3 & SMQ2 of SRM. No log
But I observed a strange thing. Whatever material codes I am creating it is going straightway to SRM without running R3AS transaction. I checked R3AM1, selected the row and cancelled. But still going without any interferrance. Why ? How shall I stop this.
ThanksHello,
>
BNR wrote:
> Hi
> While replicating the material master through R3AS I am getting an error for which the details to be checked in SMW01. In SMW01 when I selected the record for error details I am getting above error message. How to resolve ? Pls guide me stepwise. For your information I has cleared SMQ1 in R3 & SMQ2 in SRM
>(...)
Have a look at OSS note 1049693 - Data cannot be maintained for set type COMM_PR_PUR_1.
Regards.
Laurent. -
Hot to show documents for values of infoobjects (master data)?
helly everybody,
i try again to explain what i wanna do. maybe anybody can help me? thx anyway for all other replies before!
by SEM-BPS planning functions our users can create documents for values saved in cube and infoobjects masta data. in another function they want to view all documents for an given value. I know to get the documents via functions but i dont know to show this data in web. Can anybody tell me an way?
How can i get back the result of my programmed functions back to the web interface and create a table with the data? or how can i download the data to files? I found the gui_download_services but it isnt working by web because of not knowing handler of the gui environment.
regards
FrankHi,
Did you try the WebApplication 'Document Browser' and the WebItem 'List of Documents'. For the list of documents you could create a DataProvider (Query), which contains same or similar filter as the BPS planning function and the list would then show all documents for this selection.
Regards
Beat -
GROUP BY GROUPING SETS for a selected month and for year to date
Below is a code example to demonstrate this question:
declare @test table (ID int, Quantity int, Day date);
insert into @test values
(4, 500, '1/18/2014'),
(4, 550, '1/28/2014'),
(7, 600, '1/10/2014'),
(7, 750, '1/11/2014'),
(7, 800, '1/20/2014'),
(1, 100, '1/2/2014'),
(1, 125, '1/10/2014'),
(8, 300, '1/7/2014'),
(9, 200, '1/17/2014'),
(9, 100, '1/22/2014'),
(4, 900, '2/18/2014'),
(4, 550, '2/28/2014'),
(7, 600, '2/10/2014'),
(7, 700, '2/11/2014'),
(7, 800, '2/20/2014'),
(1, 100, '2/2/2014'),
(1, 150, '2/10/2014'),
(8, 300, '2/7/2014'),
(9, 200, '2/17/2014'),
(9, 100, '2/22/2014'),
(4, 500, '3/18/2014'),
(4, 550, '3/28/2014'),
(7, 600, '3/10/2014'),
(7, 750, '3/11/2014'),
(7, 800, '3/20/2014'),
(1, 100, '3/2/2014'),
(1, 325, '3/10/2014'),
(8, 300, '3/7/2014'),
(9, 200, '3/17/2014'),
(9, 100, '3/22/2014'),
(4, 500, '4/18/2014'),
(4, 550, '4/28/2014'),
(7, 100, '4/10/2014'),
(7, 750, '4/11/2014'),
(7, 800, '4/20/2014'),
(1, 100, '4/2/2014'),
(1, 325, '4/10/2014'),
(8, 300, '4/7/2014'),
(9, 200, '4/17/2014'),
(9, 100, '4/22/2014'),
(4, 500, '5/18/2014'),
(4, 550, '5/28/2014'),
(7, 600, '5/10/2014'),
(7, 750, '5/11/2014'),
(7, 50, '5/20/2014'),
(1, 100, '5/2/2014'),
(1, 325, '5/10/2014'),
(8, 300, '5/7/2014'),
(9, 200, '5/17/2014'),
(9, 100, '5/22/2014');
--detail
select *
from @test;
--aggregation
select
TotalQuantity = sum(Quantity),
[Month] = month(Day)
from @test
group by
grouping sets
(month(Day)),
(year(Day))
go
This is the aggregation query result:
However, the desired result is to return only two rows: one row for month 3 and the other row for year to date (in the picture above YTD is the row that appears with {null} in the Month column). Is there a way to achieve this goal by modifying the
sample code above? The requirement is to only read the data once (do not want a solution that involves a UNION which implies reading the data twice).you can add required filters in having clause. Here is the query -
select
TotalQuantity = sum(Quantity),
[Month] = month(Day)
from @test
group by
grouping sets
(month(Day)),
(year(Day))
having
month(Day) = 3 or month(Day) is null;
Maybe you are looking for
-
Obiee Dashboard Filters in two different lines of Journals
Hi, Could anyone please suggest to resolve the following issues in obiee 10g; My report contains fileds called " Date", "Credit Amount", Debit Amount", "Account Number", " Line Number"; Now, if we have a "Credit Amount" (Say R50) for the date 01-12-2
-
I have a small family website that is for members only. I have a login script that matches a list of names and password and I protect every page with This works very well, however.. I am now trying to develop a family tree where I would like to inclu
-
in DPS, Is it possible (and how) to use blending modes in a scrolling box?
-
Adobe Illustrator CS5 - Missing required plugins.BrS pencil tool/will not open program
Hi! We hve downloaded a trial version of Adobe Illustrator CS5 and we are not able to open it. We followed Step 1 and Step 2 and then opened up the Zip version.I also have Windows Vista Home Premium Copyright 2007. Would anyone know how I can access
-
ATI TvPortal Green Screen After Update to Snow Leopard
Hi, Is there any solution to this problem. I left messages at Diamond Multimedia and ATI and both blame Apple for this problem. Since the OS update my TV card is a plastic brick. I would appreciate if you give me an answer to this problem.