Table based on one data service but filtered by a second data service
Hi,
I'm fairly new to VC and have got comfortable with a few simple scenarios. However, I'm trying to apply some fundamental logic that must be possible and I'm guessing straight forward.
I have a data service that contains document type master data that comes from system A. I have a second data service that supplies a list of the document types that a particular user is able to view. This comes from system B. I want to be able to display the document type master data in a table but only the document types the user is allowed to see. Both data services contain a document type code.
If anyone can point me in the right direction I would really appreciate it. We want to use VC on my current project and this is the last piece of functionality I'm trying to prototype.
Many Thanks
Gary
Hi,
I am not sure whether you have tried to achieve your requirement using intersect operator or no. I haven't tried it before but you can give it a shot.
Regards,
Murtuza
Similar Messages
-
We want to update our second iPhone 4 on one single iMac, but are afraid that the data of the 1st phone will be overwritten when syncing the 2nd phone. What to do?
Create a separate user account for the second phone. See http://support.apple.com/kb/HT1495 (and http://support.apple.com/kb/HT2542).
-
In case any Wi-FI is available and if I choose not to join wi-fi, on iPhone 5 it does not connect to my 3G cellular data network but it connects to 2G data network forcing me to lower speeds in Wi-Fi enabled areas.
This might help
http://support.apple.com/kb/ht3406 -
I'm using Big date theme but the numbers on the date is cut off on top. I'm on iphoto 11 and OS 10.8.2. anyone else having this issue??
OK try the following: make a temporary, backup copy (if you don't already have a backup copy) of the library and try the following:
1 - delete the iPhoto preference file, com.apple.iPhoto.plist, that resides in your
User/Home/Library/ Preferences folder.
2 - delete iPhoto's cache file, Cache.db, that is located in your
User/Home/Library/Caches/com.apple.iPhoto folder (Snow Leopard and Earlier).
or with Mt. Lion from the User/Library/Containers/com.apple.iPhoto/
Data/Library/Caches/com.apple.iPhoto folder
3 - launch iPhoto and try again.
NOTE: If you're moved your library from its default location in your Home/Pictures folder you will have to point iPhoto to its new location when you next open iPhoto by holding down the Option key when launching iPhoto. You'll also have to reset the iPhoto's various preferences.
NOTE 2: In Lion and Mountain Lion the Library folder is now invisible. To make it permanently visible enter the following in the Terminal application window: chflags nohidden ~/Library and hit the Enter button - 10.7: Un-hide the User Library folder. -
Can I update 2(or multiple) columns in a table based on one of update col?
Hi All,
I have a table emp:
empno number
,salary number
,comm number
Now, the comm column is always a % of the salary column (but still would like to store the comm in the table as a column).
Assuming that someone get a salary increment and I need to update the commission as well based on the new salary value, should I still use 2 update statements or is there anyway, I can achive in a single update clause itself?
example:
if the old values were:
=============
1234 10000 1000
and if I do the following,
update emp
set salary = salary + 3000
,comm = salary * 10/100
where empno = 1234;
the comm value still points to the old salary value and the table looks like:
emp:
===
1234 13000 1000
instead of:
1234 13000 1300 (10% of the new salary - 13000)
so, the only way to achieve this is to issue 2 update statements? Or is there any way of achieving in one single update statement? Please let me know.
Am on Oracle 10.2.0.3.0.
Thanks,
Srini.Or you could create a after update trigger on salary column that updates comm whenever Sal updates.
What happens if someone else issues an update on salary and forgets to update the commission? Wont you have incorect data then?
Also, commision is a redundant column . I dont think it is a good idea to have computed values as a separate column.
Thanks,
Rajesh, -
Files arranged by date added, but changing file name changes date added
I've got my Downloads folder set to view (in the Finder) by "date added", a very useful feature. However, if I change a file name, the "date added" changes to that new time, and "date modified" stays the same as it was. This doesn't make sense to me... isn't date added just that, when it was added to the folder? Why would this happen? Any workarounds or suggestions?
You should use the 'File/Directory Info' functionality.
This will return the last modificatoin of the file.
Ton
Free Code Capture Tool! Version 2.1.3 with comments, web-upload, back-save and snippets!
Nederlandse LabVIEW user groep www.lvug.nl
My LabVIEW Ideas
LabVIEW, programming like it should be! -
Join Two tables based on TO_DATE,TRIM,UPPER Functions in RPD
Hi All,
I have a requirement where I have to join 2 tables based on the functions TO_DATE,TRIM,UPPER.
I have Date Of Birth, Person Name . So I have to use these functions and then join in the RPD.
Is it possible to achieve. I am stuck in this problem.
Regards,
KrishnaHi Dann,
Thanks for your reply. I had tried adding these functions but I get the error 'Only columns,designated predicates and operators are allowed". Niether in the Business not in the Physical layer we are allowed
to enter any functions in the join conditions between the two tables.
I am not very sure whether this is the normal behaviour or I can avoid this by doing something.
Thanks,
Krishna -
Filtering by Calendar versus Date
Hi All,
So, we can filter on Calendar, which shows a nice graphical representation of when we took our pictures. Click on a highlighted date, and see all the photos from that *one specic* date.
However, to see, for instance, everything from a month (or an arbitrary range), it doesn't seem possible from the Calendar, even though it shows me several days in some particular months that I took photos. I have to use the "Date" filter and clunkily change a bunch of criteria in order all photos from a given month.
Am I missing something? It seems like the Calendar Filter interface should make this task a cinch, and I don't think the Date filter will work for scans, in which the metadata is what I want to search, not the file date.
nathanUse "{Shift}+click" for the second date, or use "{Command}+click" for additional dates.
The Calendar Rule is slick, but seems unfinished. There is no way I know to move the mini-calendars by year or to the most recent date, for instance. The central diamond does move the mini-calendars to display the current date.
The Calendar Rule uses the EXIF date.
http://documentation.apple.com/en/aperture/usermanual/index.html#chapter=14%26se ction=12%26tasks=true
The Date Rule, with the argument "Is in the range" does the same thing as the Calendar Rule, and is often faster to set.
The Date Rule uses the file's creation date (afaict).
Message was edited by: Kirby Krieger -
Two Tables Contol in One Dynpro.
Hi to all!!! This time i'm needing to put two tables Controls in one Dynpro. When i created the second table with the wizard i go trough all the steps but finally, no table control is created. A warning appeared on the first step. It says something about the loop of the TControls at the PBO.
what I am making bad? any suggestion?
If i can´t use two table controls i would need an alv in my dynpro...then it would be : a Table Control and an ALV in the same Dynpro.
is this posible with the custom control? how can i do this?
well, as usual, rewards pòints for Help.if there are example codes, please send me!!
Thanks in advanced to all!!!!here it is...
<b>Note: the commentaries and the names of the variables are in Spanish because I must do them of that form.</b>
<b>PROCESS BEFORE OUTPUT.</b>
MODULE status_1001.
MODULE grisado_campos.
*&SPWIZARD: PBO FLOW LOGIC FOR TABLECONTROL 'TC_ITEM'
MODULE tc_item_change_tc_attr.
*&SPWIZARD: MODULE TC_ITEM_CHANGE_COL_ATTR.
LOOP AT t_item
WITH CONTROL tc_item
CURSOR tc_item-current_line.
MODULE tc_item_get_lines.
*&SPWIZARD: MODULE TC_ITEM_CHANGE_FIELD_ATTR
ENDLOOP.
<b>PROCESS AFTER INPUT.</b>
*&SPWIZARD: PAI FLOW LOGIC FOR TABLECONTROL 'TC_ITEM'
LOOP AT t_item.
CHAIN.
FIELD t_item-pos.
FIELD T_ITEM-TIPO_ANIMAL.
FIELD T_ITEM-CANT_CAB.
FIELD T_ITEM-PRECIO_VIVO.
FIELD T_ITEM-DESCRIPCION.
FIELD t_item-kilos_lmp.
FIELD t_item-kilos_cmp.
FIELD t_item-kilos_fab.
FIELD t_item-pr_rinde.
FIELD t_item-imp_rinde.
ENDCHAIN.
ENDLOOP.
MODULE tc_item_user_command.
*&SPWIZARD: MODULE TC_ITEM_CHANGE_TC_ATTR.
*&SPWIZARD: MODULE TC_ITEM_CHANGE_COL_ATTR.
FIELD e_1001-zterm MODULE buscar_descr_cpago.
FIELD e_1001-mwskz MODULE buscar_descr_indic_imp ON INPUT.
FIELD e_1001-tarnr MODULE buscar_descr_tarifa_flete ON REQUEST.
FIELD e_1001-lifint MODULE buscar_descr_comprador ON REQUEST.
FIELD e_1001-liftra MODULE buscar_descr_transport ON REQUEST.
FIELD e_1001-PSERVICE .
FIELD e_1001-PRECUP .
MODULE user_command. -
BI 7.0 data load issue: InfoPackage can only load data to PSA?
BI 7.0 backend extraction gurus,
We created a generic datasource on R3 and replicated it to our BI system, created an InfoSource, the Transformation from the datasource to the InfoSource, an ODS, the transformation from the InfoSource to the ODS.
After the transformation creation between the InfoSource and the ODS is done on this BI system, a new folder called "Data Transfer Process" is also created under this ODS in the InfoProvider view. In the Data Transfer Process, in the Extraction tab, picks 'Full' in the field Extraction Mode, in the Execute tab, there is a button 'Execute', click this button (note: so far we have not created InfoPackage yet) which sounds like to conduct the data load, but find there is no data available even if all the status show green (we do have a couple of records in the R3 table).
Then we tried to create an InfoPackage, in the Processing tab, find 'Only PSA' radio button is checked and all others like 'PSA and then into Data Targets (Package by Package)" are dimmed! In the Data Target tab, find the ODS as a target can't be selected! Also there are some new columns in this tab, 'Maintain Old Update Rule' is marked with red color 'X', under another column 'DTP(S) are active and load to this target', there is an inactive picture icon, that's weird since we have already activated the Data Transfer Process! Anyway, we started the data load in the InfoPackage, and the monitor shows the records are brought in, but since in the Process tab in the InfoPackage, 'Only PSA' radio button is checked with all others dimmed that there is no any data going to this ODS! Why in BI 7.0, 'Only PSA' radio button can be checked with others all dimmed?
Many new features with BI 7.0! Any one's idea/experience is greatly appreciate on how to load data in BI 7.0!You dont have to select anything..
Once loaded to PSA in DTP you have the option of FULL or DELTA ,full loads all the data from PSA and DELTA loads only the last load of PSA.
Go through the links for Lucid explainations
Infopackage -
http://help.sap.com/saphelp_nw2004s/helpdata/en/43/03808225cf5167e10000000a1553f6/content.htm
DTP
http://help.sap.com/saphelp_nw2004s/helpdata/en/42/f98e07cc483255e10000000a1553f7/frameset.htm
Creating DTP
http://help.sap.com/saphelp_nw2004s/helpdata/en/42/fa50e40f501a77e10000000a422035/content.htm
<b>Pre-requisite-</b>
You have used transformations to define the data flow between the source and target object.
Creating transformations-
http://help.sap.com/saphelp_nw2004s/helpdata/en/f8/7913426e48db2ce10000000a1550b0/content.htm
Hope it Helps
Chetan
@CP.. -
How to execute the second data block in master child form using lov
Hi All,
i am developed a new custom master child form using stacked canvas.Here i am taking two frames with diffrent data blocks.my point is i am enter the value from the lov in first frame automatically execute the second frame data block without button.
example:
fisrtdatablock:dept no(dept table).
second datablock:employee information(emp table).
select the dept value from lov automatically execute the second data block emp information.
can help me any one.
Regards,
sekhar.
Edited by: 994418 on 17 Mar, 2013 10:40 PM994418 wrote:
Hi All,
i am developed a new custom master child form using stacked canvas.Here i am taking two frames with diffrent data blocks.my point is i am enter the value from the lov in first frame automatically execute the second frame data block without button.
example:
fisrtdatablock:dept no(dept table).
second datablock:employee information(emp table).
select the dept value from lov automatically execute the second data block emp information.
can help me any one.
Hi, sekhar.
Welcome to the Oracle Forums. Please take a few minutes to review the following:
<ul>
<li>Oracle Forums FAQ
<li>Before posting on this forum please read
<li>10 Commandments for the OTN Forums Member
<li>How to ask questions the smart way
</ul>
Following these simple guidelines will ensure you have a positive experience in any forum; not just this one!
>
Your forms mode isn't clear. Is it in enter-query mode or insert mode.
what can you do ?
use a timer in post-change or when-validate-item trigger at deptno item at first data block. because go_block isn't supported by p-c or w-v-t trigger.
and at when timer expire, write your code to go second block and insert/query the associate date from emp table.
Hope you understand.
Hamid
If someone's response is helpful or correct, please mark it accordingly.* -
Propose delivery date in Sales order to pick current date
Hi,
I want to set the delivery date in SO to pick the current system date. Users should be able to change it to a future date <b>but not to a past date</b>.
Can anyone advice on how this can be done? I tried VOV8, but still, it didnt get determined properly.
Any advice?
Thanks
KeshiHi,
In VOV8 if you click on the popose delviery date then the system will determine the delivery date as today's only. If the users try to change the delivery date in the past then the system will give a warning but it will be changed.
In the sales screen of the sales order the date which is there is the "<b>requested delivery date of the customer"</b> This is the date by which the customer is expecting the material at his/her place. You can change it to the past but schedule line will not allow you to deliver the material in the back date.
But for the particular item if you go in the schedule lines try changing the delivery date in the past. The system will create 2 schedule lines and the schedlue line for today's date only will be confirmed. So no question of delivery in the past date.
Hope this clarifies your doubt. Reward points if solution helps.
Regards,
Allabaqsh G. Patil -
Hi Everyone,
Hopefully someone might have an explanation for the difference in counts.
Problem:
Excel 2013 on Windows 7
A Single excel spreadsheet with 2 data sources:
One created using "From Other Sources on the DATA tab which connects to SQL Server"
Second data source the same data as item 1, but in a differnet worksheet tab inside the workbook
[Sheet1] - Other SQL data Source
[Sheet2] - Exact Same data as Sheet1 but in a table
[PowerView] - 2 tables
Table one uses Sheet1 as its table data source
Table two uses Sheet2 as its table data source
When you Count(Not Blank) using the same criteria and fields for each table, the numbers dont match.
The one that has the incorrect count is when I use the Table data from [Sheet1] - which is the Other SQL Data Source
Testing:
I also created a standard pivot table using Excel and the counts then are both correct for both datasources. So it must be something in PowerView????
Any ideas anyone...Hi,
This is the forum to discuss questions and feedback for Microsoft Office client. Since your question is Power View related, I'm moving it to the forum of
power BI>Power View, where you can get more experienced responses:
http://social.technet.microsoft.com/Forums/en-US/home?forum=powerview
The reason why we recommend posting appropriately is you will get the most qualified pool of respondents, and other partners who read the forums regularly can either share their knowledge or learn from your interaction with us. Thank you for your understanding.
Regards,
Ethan Hua
TechNet Community Support
It's recommended to download and install
Configuration Analyzer Tool (OffCAT), which is developed by Microsoft Support teams. Once the tool is installed, you can run it at any time to scan for hundreds of known issues in Office
programs. -
Finding value in one table based on date = maximum date in another
I have an event table that shows event dates and attendees but a customer now wants to see the titles of attendees at the time of the event. I have an audit table that shows changes in title and the dates on which the change occurred however I am not sure how to do a SQL statement that would find the title whose date is less than the date of the event but greater than earlier title changes.
Example: in audit table I have:
name1, title1, 1/23/2011
name1, title2, 2/1/2012
name1, title3, 3/1/2013
name2, title1, 5/3/2012
name2, title2, 8/1/2013
In event table I have
event1, name1, 3/2/2012
event2, name1, 1/30/2011
event3, name1, 6/3/2013
event4, name1, 5/3/2012
event4, name2, 6/1/2012
event5, name2, 9/1/2013
Result I want is:
event1, name1, title2 (event date > 2/1/2012 (title2 date) but < 3/1/2013 (title3 date)
event2, name1, title1 (event date > 1/23/2011 but < other title dates)
event3, name1, title3 (event date > highest title date)
event4, name1, title2 same as first example above
event4, name2, title1
event5, name2, title2
Is it possible to get result with SQL alone?
PatAnalytic funstion solution:
with audit_tbl as (
select 'name1' name,'title1' title,to_date('1/23/2011','mm/dd/yyyy') dt from dual union all
select 'name1','title2',to_date('2/1/2012','mm/dd/yyyy') from dual union all
select 'name1','title3',to_date('3/1/2013','mm/dd/yyyy') from dual union all
select 'name2','title1',to_date('5/3/2012','mm/dd/yyyy') from dual union all
select 'name2','title2',to_date('8/1/2013','mm/dd/yyyy') from dual
event_tbl as (
select 'event1' event,'name1' name,to_date('3/2/2012','mm/dd/yyyy') dt from dual union all
select 'event2','name1',to_date('1/30/2011','mm/dd/yyyy') from dual union all
select 'event3','name1',to_date('6/3/2013','mm/dd/yyyy') from dual union all
select 'event4','name1',to_date('5/3/2012','mm/dd/yyyy') from dual union all
select 'event4','name2',to_date('6/1/2012','mm/dd/yyyy') from dual union all
select 'event5','name2',to_date('9/1/2013','mm/dd/yyyy') from dual
select e.event,
e.name,
a.title
from event_tbl e,
select name,
title,
dt from_dt,
lead(dt - 1,1,date '9999-12-31') over(partition by name order by dt) to_dt
from audit_tbl
) a
where a.name = e.name
and e.dt between a.from_dt and a.to_dt
order by e.event,
e.name,
e.dt
EVENT NAME TITLE
event1 name1 title2
event2 name1 title1
event3 name1 title3
event4 name1 title2
event4 name2 title1
event5 name2 title2
6 rows selected.
SQL>
SY. -
How to fetch data from CDHDR Table based on Order Number
Hi,
I need to fetch the data from CDHDR just based on the Order number .I found there is a field called 'OBJECTID' in table 'CDHDR'. But the last part of OBJECTID contains order number.suppose my order number is 90506210 the objectid field contains '51030000090506210'.510 is login client,don't know what 30 is and last part is order number i.e 000090506210.i have to concatenate all and fetch data .i can do it for one order number but here order number is declared as select-options.how do i ?
HERE IS THE CODE FOR ONE ORDER NUMBER.HOW CAN DO FOR RANGE OF ORDER NUMBERS.
PARAMETER : S_OBJECT FOR /BEV1/RBVBAK-AUFNR OBLIGATORY.
DATA : IT_CDHDR TYPE STANDARD TABLE OF CDHDR WITH HEADER LINE,
WA_CDHDR LIKE LINE OF IT_CDHDR,
S_OBJECT1 LIKE CDHDR-OBJECTID.
CONCATENATE sy-mandt '30' S_OBJECT INTO S_OBJECT1.
SELECT * FROM CDHDR INTO TABLE IT_CDHDR WHERE OBJECTID = S_OBJECT1.P838355 wrote:>
> Hi,
> I need to fetch the data from CDHDR just based on the Order number .I found there is a field called 'OBJECTID' in table 'CDHDR'. But the last part of OBJECTID contains order number.suppose my order number is 90506210 the objectid field contains '51030000090506210'.510 is login client,don't know what 30 is and last part is order number i.e 000090506210.i have to concatenate all and fetch data .i can do it for one order number but here order number is declared as select-options.how do i ?
>
> HERE IS THE CODE FOR ONE ORDER NUMBER.HOW CAN DO FOR RANGE OF ORDER NUMBERS.
>
>
> PARAMETER : S_OBJECT FOR /BEV1/RBVBAK-AUFNR OBLIGATORY.
>
> DATA : IT_CDHDR TYPE STANDARD TABLE OF CDHDR WITH HEADER LINE,
> WA_CDHDR LIKE LINE OF IT_CDHDR,
> S_OBJECT1 LIKE CDHDR-OBJECTID.
>
> CONCATENATE sy-mandt '30' S_OBJECT INTO S_OBJECT1.
>
> SELECT * FROM CDHDR INTO TABLE IT_CDHDR WHERE OBJECTID = S_OBJECT1.
You need to loop through the select option and concatenate with required data then select using 'in' instead of equal or select one by one.
or
select sales order numbers from VBAK for the selection into internal table then loop through the internal table and concatenate then select from CDHDR.
for better performance use objectclass in where clause. the value for sales order for objectclass is VERKBELEG.
in my system the object id is just an order number there is no other additions to it but in CDPOS the tabkey contains the order number with client and other information also.
the 30 may be your item number... check it
go ahead and change sales order and see what you can find in CDHDR
Good luck
Edited by: Sampath Kumar on Oct 21, 2009 9:02 AM
Maybe you are looking for
-
like 2 weeks ago i called in to att to see how much is the data plan and it would end up costing $30. so i was like screw that. well they figured that i got a new phone replacing the LG shine. so they asked for to call this number so they can recieve
-
Issues with purchase of Lightroom 4
Unable to purchase Lightroom 4 that I've already downloaded. Plus unable to get serial number.
-
I've read there are two 'ways' of doing it, 'dynamically', and 'statically'. Which way do I want to do it, the following, and how do I do it, exacly? I've got GNU Linux servers tarfu, snafu and fubar. Each server is sharing at least 1 volume via neta
-
I update my ipad ios6 and i can't turn it on
there has been a program ios6 in my ipad and i've finished loading and install it but now appear to me to connect with i tunes
-
I have Adobe Acrobat Standard 9.2 and would like to add a video file (.avi) to a PDF document. It appears this version doesn't allow me to do that. So: 1. If it does, how? 2. If it doesn't, what version can I do that? 3. Is the video file embedd