Filtering the contents of one alv based on another ALV's filter
Hi,
I have used a tab element within which i have two tabs.each tab has an alv table.
Is it possible to restrict the entries of one alv table based on enrties from another alv table(both the alv tables will have some common fields).for example I have filtered entries in alv1 based on field1 .when i go to alv2 entries should be restricted on the field1 (common field)
Thanks
Bala Duvvuri
this is the answer
refer SALV_WD_FILTER_UI
Edited by: Bala Duvvuri on Oct 4, 2011 1:20 AM
hi Mohamed,
Go through this links ,
<a href="http://help.sap.com/saphelp_nw70/helpdata/en/95/92b2f7d2f14a6da7a8b5d66808d1f6/content.htm">Portal Display Rules</a>
<a href="http://help.sap.com/saphelp_nw70/helpdata/en/4b/29cf122f414721964269e1b675d62c/content.htm">Rulecollection</a>
Regards,
Malini.V
Similar Messages
-
Hiding contents in one Role based on another Role.
Hi,
Please help me in the following....
Say there are 2 roles. Role A and Role B.
Role A
Content 1
sub contents...
Content 2
sub Contents..
if the User has Role A alone, then Content 1 alone should be displayed and content 2 should be invisible. If the user has Both Role A and Role B(only if role B is also present), then Content 2 should also be displayed. i.e Both Content 1 and Content 2. The contents 1 and 2 can be another role or a workset, but we want to control the visibility of content 2 based on presence of Role B for the user.
I wanted this functionality by directly configuring in EP rather than Using UME API's and coding it. Please guide me on ways to configure the same in EP as to get this functionality.hi Mohamed,
Go through this links ,
<a href="http://help.sap.com/saphelp_nw70/helpdata/en/95/92b2f7d2f14a6da7a8b5d66808d1f6/content.htm">Portal Display Rules</a>
<a href="http://help.sap.com/saphelp_nw70/helpdata/en/4b/29cf122f414721964269e1b675d62c/content.htm">Rulecollection</a>
Regards,
Malini.V -
Dynamically change the contents of one combo box based on the other
Hi Forum,
I have a question which might have a possibly simple answer. Well anyway help me out since i could not find the simple answer.
I am building an application using Swing and binding with BC4J using JClient. My GUI has combo boxes, grids, editboxes. My requirement is that i should be able to dynamically change the contents of one combo box based on the selected item in trhe previous combo box. For example, when i choose a country in the "country combo box", the "states combo box" should show the list of the states of the selected country.
Now how do i do this using binding. If not, how do i write custom querirs in BC4J layer and return a resultset to the remote application so theat i can populate the dependent combo boxes.
I will appreciate if anyone can help me out in this regard.
Thank You
Sumitthere could be quite a few number of ways of solving this problem.
One way is through event handlers.
taking your example as a model when user selects a country you could fire an action with a flag set to ture. A method will return the states from the DB or your temporary files or what ever and then the true flag will be used in the states combo box rendering.
other way: javascript
this might be a bit clumsy as you will need the states information in a property file and you can get the info as the user selects a country.
regards,
raj -
EXP: Export all tables for one user except the contents of one table
I need to export all tables (> 100 Tables) of an user except the contents of one table. Is there a possibility to call the EXP command and exclude the one table ??
Thanks in advance .-)
(Oracle11G)
Edited by: gromit on Feb 14, 2011 4:41 AMIt is not possible to perform it from a client. Is this correct? The datapump task itself can be started from a client, but - you are right - datapump is server-based. Especially that refers to the dumpfile location, which has to be defined as DIRECTORY on the server:
http://download.oracle.com/docs/cd/E11882_01/server.112/e16536/dp_overview.htm#i1007107
Werner -
How to read the content in one node of XML in Java? Pls help
My dear brothers,
I am a newbie of XML, I have a exercise which is creating a Tree View from XML file. But the trouble is I do not know how to read the content in one node of XML file. I decide to use the algorithm as following:
1. Create a GUI form which gives the ability for user to choose a XML file (ok)
2. Load XML and return the file (ok)
3. Read the file from node to node to create the node in Tree View (?!)
Please help me, and if you are enough kind, please give me an small example to easy understand. Thanks in advance.
Hoang Yen BinhI hope this one helps you.
<ABC Type="ProductBased" ProdName="One" Location="India">
<CEO>Raj</CEO>
<Finance>Vikram</Finance>
<HR>Karthik</HR>
<Technical>Satish</Technical>
</ABC>
import javax.xml.parsers.DocumentBuilder;
import javax.xml.parsers.DocumentBuilderFactory;
import org.w3c.dom.Document;
import org.w3c.dom.Element;
import org.w3c.dom.NamedNodeMap;
import org.w3c.dom.Attr;
import org.w3c.dom.NodeList;
import org.w3c.dom.Node;
import org.w3c.dom.DOMException;
import javax.xml.parsers.ParserConfigurationException;
import org.xml.sax.SAXException;
import java.io.File;
import java.io.IOException;
public class XmlReading {
Document doc;
Element element;
public static void main(String[] args) throws Exception{
XmlReading xr = new XmlReading();
xr.getXmlParser(args);
public void getXmlParser(String[] args) {
DocumentBuilderFactory factory = DocumentBuilderFactory.newInstance();
if(args.length != 1) {
System.err.println("Argument Required");
try {
DocumentBuilder builder = factory.newDocumentBuilder();
doc = builder.parse(new File(args[0]));
}catch(ParserConfigurationException e1) {
}catch(SAXException e2) {
}catch(IOException e3) {
getAttributes();
public void getAttributes() {
// Retrive the entire Document from the Dom Tree
element = doc.getDocumentElement();
// System.out.println(element);
NamedNodeMap attrs = element.getAttributes();
// Get number of attributes in the element
int numAttrs = attrs.getLength();
// Process each attribute
for (int i=0; i<numAttrs; i++) {
Node node = attrs.item(i);
// Get attribute name and value
String attrName = node.getNodeName();
String attrValue = node.getNodeValue();
System.out.println(attrName + ": " + attrValue);
String s1 = element.getTagName();
System.out.println(s1);
// To get all the elements in a DOM Tree
NodeList nl1 = element.getElementsByTagName("*");
int i2 = nl1.getLength();
System.out.println(i2);
for(int i=0; i<i2; i++) {
System.out.println(nl1.item(i) + "\n");
} -
Displaying the content of one JPanel in an other as a scaled image
Hi,
I'd like to display the content of one JPanel scaled in a second JPanel.
The first JPanel holds a graph that could be edited in this JPanel. But unfortunately the graph is usually to big to have a full overview over the whole graph and is embeded in a JScrollPanel. So the second JPanel should be some kind of an overview window that shows the whole graph scaled to fit to this window and some kind of outline around the current section displayed by the JScrollPanel. How could I do this?
Many thanks in advance.
Best,
Marc.Hi,
I'd like to display the content of one JPanel scaled
in a second JPanel.
The first JPanel holds a graph that could be edited
in this JPanel. But unfortunately the graph is
usually to big to have a full overview over the whole
graph and is embeded in a JScrollPanel. So the second
JPanel should be some kind of an overview window that
shows the whole graph scaled to fit to this window
and some kind of outline around the current section
displayed by the JScrollPanel. How could I do this?
Many thanks in advance.
Best,
Marc.if panel1 is the graph and panel2 is the overview, override the paintComponent method in panel2 with this
public void paintComponent(Graphics g) {
Graphics2D g2 = (Graphics2D) g;
g2.scale(...,...);
panel1.paint(g2);
} -
Please can anyone help? I am trying to sync my iphone music with itunes, but am finding that as soon as the sync is complete the data bar shrinks back from almost full (my entire music library) to just 100 songs, which happen to be the contents of one playlist I have. i cannot seem to change the music content on my phone no matter what? PS when I hit sync the capacity bar fills up, but when I apply, it drops back to just those songs I already mentioned :- (
thank you randers4, unfortunately these restrictions aren't to blame. Now I realise the problem - I tried to play some of the music and found out that the source data wasn't attached. The computer was rebuilt and backed up - and it seems perhaps hasn't all been copied back. I am currently attempting to copy accross some itunes files from my backup drive. Bit confused, too many itunes files of different types but fingers crossed getting closer to the solution......?
-
How do i copy content from one hard rive to another through my macbook air? the copy and paste option doesn't work
It's because of the extension of the hard drive is a Windows extension ( most likely MSDOS or Ex-FAT), meaning you can only read but not write. If there are no important files (or you can copy the whole thing to your computer/mac) you can just reformat the hard drive and change the extension to NTFS (readable and writable on both windows and mac) or Mac OS Extended (readable and writable on Mac, readable on windows).
Go to DISK UTILITY
Choose the Hard Disk you intended
ERASE
You can choose either
(I personally prefer this one, you know just in case) -
Picking up a file with the all the contents under one node
I have a requiremnt in which i need to pick an non-xml file and put wht evr the content into one node.
Can this be done using FCC or normal file adapter
Rgds
AdityaYou can use a normal file adapter.
Just specify the suffix or filename... .dat. or file. -
How to transfer the tables from one file group to another file group in SQL 2008.?
Hello all,
I have few issues regarding the transfer of the tables from one file group to another file group in SQL 2008 and also How can we backup
and restore the particular database based on file group level.
Let’s say I have a tables stored within the different FG. such as
Tables
File group
Dimension tables
Primary
Fact tables
FG1
FG2…
zzz_tables
DEFAULT_FG
dim.table1 DEFAULT_FG
dim.table2 DEFAULT_FG
Here all I want to transfer the dim.table1 ,dim.table2 from DEFAULT_FG to the Primary File
group .So is there simple methods for transfer the dim.table1,2 from one FG to another .I have tried somewhat but I couldn’t get the exact way .So if someone have better idea please share your knowledge that would be really appreciated.
Secondly after moving those dim.table1 ,dim.table2 from DEFAULT_FG to Primary ,All I want to backup and restore the database only containing the Primary and FG1,FG2… not
a DEFAULT_FG.Is it possible or not.?
Hope to hear from the one who knows better approach for this kind of task .Your simple help will be much appreciated.
Regards,
Anil MaharjanWell after all my full day research on this topic had paid off, I finally got the solution and am so happy to research on these things. It makes
us feel really happy after all our research and hard work doesn't goes as waste.
Finally I got what I am looking for and want to make sure that I am able to transfer the tables from DEFAULT_FG to another FG without tables
having clustered index on that tables .
With the help of the link below I finally got my solution where Roberto’s coded store procedure simply works for this.
Really thanks to him for his great post and thanks to all for your response and your valuable time.
http://gallery.technet.microsoft.com/scriptcenter/c1da9334-2885-468c-a374-775da60f256f
Regards,
Anil Maharjan -
Is there a way to copy & paste a clip from the timeline in one project in to another project?
Hello Popular Premiere Pontificaters,
I am using Premiere 6 on a Windows 7 machine.
Is there a way to copy and paste a clip from the timeline in one project in to another project?... I can copy my clip, but when I open the other project, it will not allow me to paste it in there... but I am able to copy and paste a clip within a single project. I tried everything... pasting in to a new video track and pasting in to an existing video track in the second project, but the paste option simply isn't there when I open the second project.
And if Premiere itself will not allow me to do this in any way, will a copy-paste clipboard type of accessory app allow me to do this?... if so, which is the best, trustworthy copy-paste app that is malware free?
Thanks,
digiHi Bill Hunt,
I just read the page that you provided about "Handles"... thanks allot for that ARTICLE. In your article and the subsequent article HANDLES, "Transitions Overview: applying transitions" linked from your article, it indicates (in PrE and PrPro anyway - I'm in Premiere 6) that transitions can be applied to non-Video 1 tracks... the paragraph below is a quote from that "Transitions Overview: applying transitions" article...
"Whatever is below the transition in a Timeline panel appears in the transparent portion of the transition (the portion of the effect that would display frames from the adjacent clip in a two-sided transition). If the clip is on Video 1 or has no clips beneath it, the transparent portions display black. If the clip is on a track above another clip, the lower clip is shown through the transition, making it look like a double-sided transition."
So this indicates that transitions can be applied to non-Video 1 tracks since it is referring to content in tracks beneath a transparent fade that would show through... and only non-Video 1 tracks can be transparent and have other clips "beneath" them in the timeline, right?
In the screenshot sample in your article at this LINK, I see the handles (referred to as B and E) and I can see in my monitor window how those handles would be represented by the two little bracket symbols { } ... you can see how they appear in my monitor window in Premiere 6 in this screenshot, and below, from a different thread that isn't related to this topic.
But I'm still trying to figure out how the handles can be applied in the non-Video 1 tracks in the timeline to insert a transition (cross-dissolve) between two clips.
Can you advise me on this?... I posted a separate thread HERE on this topic, but I haven't got any further with finding an answer.
Thanks so much for your article,
digi -
How to update one table based on another table ??
Hello Friends:
I am trying to run the following query in oracle but it won't run.
UPDATE BOYS
SET
BOYS.AGE = GIRLS.AGE
FROM GIRLS
WHERE
BOYS.FIRSTNAME = GIRLS.FIRSTNAME AND
BOYS.LASTNAME = GIRLS.LASTNAME;
This query runs fine in sql server but in oracle its saying can't find "SET". PLease tell me what is the correct syntax in oracle to update one table based on another table.
thanksSee if this helps.
If you wrote an SQL statement:
update boys set age = 10;
Every row in the boys table will get updated with an age of 10. But if you wrote:
update boys set age = 10
where firstname = 'Joe';
Then only the rows where the firstname is Joe would be updated with an age of 10.
Now replace the 10 in the above statements with (select g.age from girls g where g.firstname = b.firstname and g.lastname = b.lastname) and replace where firstname = 'Joe' in the second statement with where exists (select null from girls g where g.firstname = b.firstname and g.lastname = b.lastname). The same concepts apply whether 10 is an actual value or a query and whether you have a where clause with the update statement to limit rows being updated.
About the select null question regarding the outer where clause:
Since the query is checking to see if the row in the girls table exists in the boys table what the column is in this select statement doesn't matter, this column isn't being used anywhere. In this case Todd chose to use null. He could have also used a column name from the table or a lot of times you'll see the literal value 1 used here. -
Moving few contents of one internal table to another internal table
Hi
I want to move some contents of one internal table to another internal table, which records match our condition
(without loop)
Example:
1 aa
2 aa
3 aa
4 bb
5 cc
6 aa
7 cc
8 dd
now i want to move records which contain aa to one internal table without using loop.
is there any statemnt to achieve this
Reagrds
SrinivasuHi Srinivasu,
Just create an another internal table say itab2 having the same structure.
Then use the following code:
itab2[] = itab1[]
delete itab2 where field2 <> 'aa'.
Hope this will help.
Regards,
Nitin.
Edited by: Nitin Karamchandani on Nov 21, 2008 8:51 AM -
How to put the data from one excel sheet in another excel sheet
hi ,
I want put the data from one excel sheet in another excel sheet in seq. order Eg: I have one excel sheet in which i have 3 col. Name , Sno. , Email along with data .I want to put data from this sheet to another excel sheet in the following orders of col. Sno,Name, Email .
While loading data in another sheet , i have to perform validation like char field should n't contain numeric values and vice versa .
Let me know on this soon ..
regards
PrashantWell, you can issue separate queries with the ordering you need from each tab in the spreadhseet. You can open an ODBC connection from a VBA macro, select a sheet, run a query, select another sheet and run another query. As for the validation, you can do this in Oracle via stored procedures or again in VBA code.
-
How to change the value from one input control to another input control?
Hi Experts,
I want to change the value from one input control to another input control. For Example if i change month in first tab. it should reflect in second tab also. How should we acheive through input control or some other option.
Here I attached screen shot.Please help me for thisHi,
It is not possible to have Input controll in all tabs that will be set from another .
But There is one workaround .
Follow the link below .
http://davidlai101.com/blog/2013/08/13/web-intelligence-input-control-that-affects-all-tabs/
Maybe you are looking for
-
I have an iPhone 5c recently updated with iOS 8, i am having problems with my IMessage. when i try to IMessage my contacts, instead of sending the IMessage from my phone number the message is sent with my email. i also cannot be in a group chat due
-
My mail is not working properly: when I click on an email it hangs, frequently showing the previous email, often for up to a minute. Or it shows "loading" and just sits there showing nothing. OR there is a blank screen saying "no message selected". I
-
Different Tax condition records picked on sales order and invoice
Dear Expert, I have a scenario where the goods supply from plant to different country sales organization customer. it is a n export order. . sales order has been processed with ship to address in Portugal. We did enter end user VATnumber on the ship
-
I'm new to numbers. How can do a searches in my spread sheet to find a text match or number match? I have iPad 3
-
PRO*C VERSION MATRIX 및 VERSION 별 특성
제품 : PRECOMPILERS 작성날짜 : 1998-02-19 PRO*C version matrix 및 version 별 지원 내용 =========================================== [1] PRO*C 의 version 별 지원 내용 RDBMS 의 version 과 PRO*C 의 version 별 지원내용은 다음과 같다. PRO* Last RDBMS Languages Version Version Version ===