How to use a ring to select axes of an xy graph
Hello,
I'm a relatively new user to Labview and so far have found it comepletely stupifying. I am trying to use drop down menus (ring) to select the axes of an xy-graph. I'm using the Daq Assistant to gather my signal which consist of three parts (load, displacement, strain). I would like the ability to plot any of the inputs against eachother as well as in time simply by changing the value of the ring. Thus far I have the ability to plot the signals against eachother using indexed arrays, but not with time. When I look at the data from my index array, there is no time stamp...Is there any way to do this? It's probably a simple task, but I'm sick of flipping through menus of icons to find it. Here is a screen shot of what I'm hung up on except instead of the signal simulation I have a DAQ assistant.
Thanks in advance.
Jon Messier
Attachments:
xy graph axes control.JPG 34 KB
You removed all of the timestamps by your conversion of the dynamic data to a 2D dbl array. The 2D dbl array is just the Y arrays of your acquisition. If you don't want to use the dynamic data, then convert it to a 1D Waveform array. The waveform data type is a special cluster that contains the Y array, t0, and dt. The dynamic data type has this information as well.
Similar Messages
-
How to use a function in select clause
hi gems...good evening...
I want to write a select clause from a function. The scenario is like below:
function parameters
CREATE OR REPLACE FUNCTION FUNCTION_DEMO(p_pid IN NUMBER,
p_bankerNum IN NUMBER,
p_banker_name IN VARCHAR2,
p_business_num IN NUMBER,
p_businesses IN table_typ_businesses)
return table_typ_bankers
as .......
global object and table types
CREATE OR REPLACE TYPE obj_typ_businesses AS OBJECT (businesses NUMBER);
CREATE OR REPLACE TYPE table_typ_businesses AS TABLE OF obj_typ_businesses;
CREATE OR REPLACE TYPE obj_typ_bankers AS OBJECT (banker_num NUMBER(10,0));
CREATE OR REPLACE TYPE table_typ_bankers IS TABLE OF obj_typ_bankers;
The select query
select * from
table(cast(FUNCTION_DEMO(1,
2,
'ALEX',
2,
table(cast(select businesses_id from reference_businesses) as table_typ_businesses) as table_typ_bankers)But it is giving error with Missing expression.
My function is compiled successfully. I just want to make the select query to view the output given by the function i.e the table type "table_typ_bankers".
Please help...thanks in advance..Hi ,
You can check this and change your code by taking this as an example. I just noted down with simple one input and return as collection type
and how to use/call it in select statement.
SQL> CREATE OR REPLACE TYPE obj_typ_businesses AS OBJECT (businesses NUMBER)
2 /
Type created.
SQL> CREATE OR REPLACE TYPE table_typ_businesses AS TABLE OF obj_typ_businesses
2 /
Type created.
SQL> CREATE OR REPLACE TYPE obj_typ_bankers AS OBJECT (banker_num NUMBER(10,2))
2 /
Type created.
SQL> CREATE OR REPLACE TYPE table_typ_bankers IS TABLE OF obj_typ_bankers
2 /
Type created.
/* Now creating a demo function and just focusing on your one input as collection type */
SQL> create or replace function f11 ( tab_rec IN table_typ_businesses)
2 return table_typ_bankers
3 is
4 t_val table_typ_bankers:= table_typ_bankers();
5 begin
6 dbms_output.put_line('tab_rec count -'||tab_rec.count);
7
8 for i in 1..tab_rec.count
9 loop
10 dbms_output.put_line ('tab_rec value ('||i||')'||tab_rec(i).businesses);
11 t_val.EXTEND;
12 t_val(i) := obj_typ_bankers(tab_rec(i).businesses * 12.50);
13 end loop;
14 return t_val;
15 end;
16 /
Function created.
/* To run your function by a select statement */
SQL> SELECT * FROM TABLE(f11(table_typ_businesses(obj_typ_businesses(5),
2 obj_typ_businesses(12),
3 obj_typ_businesses(18))
4 ) )
5 /
BANKER_NUM
62.5
150
225
tab_rec count -3
tab_rec value (1)5
tab_rec value (2)12
tab_rec value (3)18Hope this will help you... :)
Thanks!
Ashutosh -
How to use case when in Select qry?
Hi Friends,
I want to use Case when in Select qry, my situation is like this
SELECT bmatnr blgort bj_3asiz bmat_kdauf b~mat_kdpos
SUM( ( case when bshkzg = 'S' then bmenge else 0 END ) -
( case when bshkzg = 'H' then bmenge else 0 END ) ) AS qty
INTO corresponding fields of table it_projsal
FROM mseg AS b
INNER JOIN mkpf AS a ON bmblnr = amblnr
AND bmandt = amandt
WHERE abudat < '20061201' AND blgort IN ('1050')
and b~mandt = '350'
GROUP BY bmatnr bj_3asiz bmat_kdauf bmat_kdpos b~lgor
If we give like this it gives an error.
Please help me, how to use or handle in select qry itself.
Regards
Shankarthis is not a way to select data from the DB tables.
first get all the data from the DB tables then u have to do SUM Ups .
Regards
prabhu -
Using menu ring to select data out of database with SQL
I have a database setup with two tables and six columns of data. One of the columns contains an array of data. I would like to be able to read the data out with two ring controls. One ring to select the table and the other to select certain rows of data based on the value in one row. I want the data charts to update automatically inside a loop when the ring values are changed. I started by modifying the playback(fetching) example. The problem is when I change the menu item, I am not closing the first connection before opening a new one. Should I be using the running stored procedures with parameters method to accomplish this task?? I suppose all of the data could be read and then sorted out of the result.
Attachments:
myPlayback_rev2.vi 120 KBunclebump,
There are two possible solutions. If you are using LabVIEW 6.0.x, then you will need to put a while loop around all of your program and poll to see if the values of the ring controls have changed (can be done with a shift register). If nothing has changed, then have a case structure that does nothing. If the values have changed, then get the new data.
If you are using LabVIEW 6.1, then you can check for a value changed event on the ring controls. Everything else from the 6.0.x version from above would be the same. This eliminates the polling which reduces processor use.
Randy Hoskin
Applications Engineer
National Instruments
http://www.ni.com/ask -
Delete adjacent duplicates how to use in the below select statement
hi i have a problem
i am suing the below select statement
SELECT a~extno
a~guid_lclic " for next select
e~ctsim
e~ctsex
*revised spec 3rd
f~guid_pobj
f~amnt_flt
f~amcur
f~guid_mobj
e~srvll "pk
e~ctsty "PK
e~lgreg "PK
INTO TABLE gt_sagmeld
FROM /SAPSLL/LCLIC as a
INNER JOIN /sapsll/tlegsv as e on elgreg = algreg
inner join /sapsll/legcon as f on fguid_lclic = aguid_lclic " for ccngn1 selection
inner join /sapsll/corcts as g on gguid_pobj = fguid_pobj
where a~extno in s_extno.
sort gt_sagmeld by guid_lclic lgreg ctsty srvll GUID_POBJ GUID_MOBJ.
delete adjacent duplicates from gt_sagmeld comparing guid_lclic lgreg ctsty srvll GUID_POBJ GUID_MOBJ .
now i am confused how to use delete adjacent dupliacate and on which fields
as first table /sal../lclic primary key is guid_lclic
and it is joined to table
legcon by guid_lclci ( not a primary key here)
legcon primary key is guid_legcon
and table 3 legsv by lgreg (pk here)
table 3 has tow more primary key srvll and ctsty also
NOW MY QUESTIO IS TAHT IS I USE ABOVE DELETE ADJACENT STATMENT IT FETCHES 20 LAKH RECORDS
I WANT TO REDUCE IS LET ME KNOW ON WHAT fields i need to use delete adjacen duplicates
or use comparing all fields?
regards
Arorahi sudha
if u see my select statement is contains four Primary keys
srvll
lgreg
ctsty
guid_lclic
but the next table connected to this table legcon is by guid_pobj and anothe table by guid_mobj
and if i take this gt_sagmeld to another temp table and i find abt 10 lakh uniques guid_pobj
similary 6 lakh guid_mobj so the next slect is hanpering because of this
not COMING TO OUR POINT IF I SORT ONLY BY OUR PRIMARY KEYS NOT TAKING INTO ACCOUNT TEH GUID_POBJ AND GUID_MOBJ
THE ENTRIES ARE VERY LESS BUT IF I TAKE INOT ACCCOUNT IN GT_SAGMELD THE ENTRIES ARE ABT 20 LAKH
SO I AM NOT SURE WHETHER TO TAKNE GUID_POBJ AND GUID_MOBJ INOT ACCOUNT FOR DELECTING ADJACENT DUPLICATES?
HENCE THE QUESTION OF ON WHICH FIRLD DELETE OR COMPARING ALL FIELDS I USE? -
How to use SET ID in select statement of SQ02
Hi,
I have a infoset, where for one of my Zfield, i have writen a select statement in order to get my ouput.
if aufk-aufnr = 'XYZ'.
select sum( FKBTR ) from fmifiit into zfmifiit
where fikrs = aufk-kokrs
and fipex IN capex
and wrttp NE '51'.
endif.
For the above statement, i have created (with 10 single values, table name FMCI, field name FIPEX) a SET id named CAPEX and used with IN operator.
But when i generating the infoset i am getting error like below
The IN operator with "CAPEX" is followed neither by an internal table nor by a value list
I was using IN opeartor for set ids during validation / substitutions, where if i have to validate multiple single values.
What to do here?
Regards,
Srinu[OPEN-SQL|http://help.sap.com/abapdocu_70/en/ABENOPEN_SQL_GENERAL.htm] set of statement, [SELECT|http://help.sap.com/abapdocu_70/en/ABAPWHERE.htm] statement, [WHERE|http://help.sap.com/abapdocu_70/en/ABENWHERE_LOGEXP.htm] addition requires a selection table (type range, [WHERE - IN seltab |http://help.sap.com/abapdocu_70/en/ABENWHERE_LOGEXP_SELTAB.htm]) of parameter and not a set. We are in Abap here, not in a Customizing screen
You have to convert the set to a selection table in an ABAP coding before using it in a SELECT statement.
(Check FM like G_SET_TREE_IMPORT to import definition of set (values and intervals) and map them to a select-table, or ask a developper to perform it, look at G_SET_TREE_IMPORT -> select statement)
Regards,
Raymond -
How to use results from first select to run from second select w/subselect?
-- I create a table with three fields: Name, Amount, and a Trans_Date.
CREATE TABLE TEST
NAME VARCHAR2(19) NULL,
AMOUNT VARCHAR2(8) NULL,
TRANS_DATE DATE NULL
-- I insert a few rows into my table:
INSERT INTO TEST ( TEST.NAME, TEST.AMOUNT, TEST.TRANS_DATE ) VALUES ( 'Bill', '110', TO_DATE('06/01/2005 08:00:00 PM', 'MM/DD/YYYY HH12:MI:SS PM') );
INSERT INTO TEST ( TEST.NAME, TEST.AMOUNT, TEST.TRANS_DATE ) VALUES ( 'Bill', '20', TO_DATE('06/02/2005 08:00:00 PM', 'MM/DD/YYYY HH12:MI:SS PM') );
INSERT INTO TEST ( TEST.NAME, TEST.AMOUNT, TEST.TRANS_DATE ) VALUES ( 'Bill', '110', TO_DATE('06/03/2005 08:00:00 PM', 'MM/DD/YYYY HH12:MI:SS PM') );
INSERT INTO TEST ( TEST.NAME, TEST.AMOUNT, TEST.TRANS_DATE ) VALUES ( 'Bill', '21', TO_DATE('06/04/2005 08:00:00 PM', 'MM/DD/YYYY HH12:MI:SS PM') );
INSERT INTO TEST ( TEST.NAME, TEST.AMOUNT, TEST.TRANS_DATE ) VALUES ( 'Bill', '68', TO_DATE('06/04/2005 08:00:00 PM', 'MM/DD/YYYY HH12:MI:SS PM') );
INSERT INTO TEST ( TEST.NAME, TEST.AMOUNT, TEST.TRANS_DATE ) VALUES ( 'Bill', '110', TO_DATE('06/05/2005 08:00:00 PM', 'MM/DD/YYYY HH12:MI:SS PM') );
INSERT INTO TEST ( TEST.NAME, TEST.AMOUNT, TEST.TRANS_DATE ) VALUES ( 'Bill', '20', TO_DATE('06/06/2005 08:00:00 PM', 'MM/DD/YYYY HH12:MI:SS PM') );
INSERT INTO TEST ( TEST.NAME, TEST.AMOUNT, TEST.TRANS_DATE ) VALUES ( 'Bill', '43', TO_DATE('06/07/2005 08:00:00 PM', 'MM/DD/YYYY HH12:MI:SS PM') );
INSERT INTO TEST ( TEST.NAME, TEST.AMOUNT, TEST.TRANS_DATE ) VALUES ( 'Bill', '77', TO_DATE('06/08/2005 08:00:00 PM', 'MM/DD/YYYY HH12:MI:SS PM') );
INSERT INTO TEST ( TEST.NAME, TEST.AMOUNT, TEST.TRANS_DATE ) VALUES ( 'Bill', '221', TO_DATE('06/09/2005 08:00:00 PM', 'MM/DD/YYYY HH12:MI:SS PM') );
INSERT INTO TEST ( TEST.NAME, TEST.AMOUNT, TEST.TRANS_DATE ) VALUES ( 'Bill', '43', TO_DATE('06/10/2005 08:00:00 PM', 'MM/DD/YYYY HH12:MI:SS PM') );
INSERT INTO TEST ( TEST.NAME, TEST.AMOUNT, TEST.TRANS_DATE ) VALUES ( 'Bill', '73', TO_DATE('06/10/2005 08:00:00 PM', 'MM/DD/YYYY HH12:MI:SS PM') );
commit;
-- These are the current select statements I am using:
-- Last 10 days
SELECT SUM(t.AMOUNT) AMOUNT10, NULL AMOUNT5, NULL AMOUNT3
FROM test t
WHERE t.NAME = 'Bill'
AND t.TRANS_DATE >= TO_DATE('06/01/2005 08:00:00 PM','mm/dd/yyyy hh12:mi:ss am')
AND t.TRANS_DATE <= TO_DATE('06/10/2005 08:00:00 PM','mm/dd/yyyy hh12:mi:ss am')
UNION ALL
-- Last 5 days
SELECT NULL AMOUNT10, SUM(t.AMOUNT) AMOUNT5, NULL AMOUNT3
FROM test t
WHERE t.NAME = 'Bill'
AND t.TRANS_DATE >= TO_DATE('06/06/2005 08:00:00 PM','mm/dd/yyyy hh12:mi:ss am')
AND t.TRANS_DATE <= TO_DATE('06/10/2005 08:00:00 PM','mm/dd/yyyy hh12:mi:ss am')
UNION ALL
-- Last 3 days
SELECT NULL AMOUNT10, NULL AMOUNT5, SUM(t.AMOUNT) AMOUNT3
FROM test t
WHERE t.NAME = 'Bill'
AND t.TRANS_DATE >= TO_DATE('06/08/2005 08:00:00 PM','mm/dd/yyyy hh12:mi:ss am')
AND t.TRANS_DATE <= TO_DATE('06/10/2005 08:00:00 PM','mm/dd/yyyy hh12:mi:ss am');
-- This is the current output:
AMOUNT10 AMOUNT5 AMOUNT3
916 NULL NULL
NULL 477 NULL
NULL NULL 414
Is there a way to combine these statements to speed up performance?
I'm thinking there should be a way to select all the rows in the last tens days, and then just from those results, run another select to get the results for the last 2, 3, or 5 days using subselects in some way. Any help is appreciated. Thanks.
I don't mind getting results in one row like this:
AMOUNT10 AMOUNT5 AMOUNT3
916 477 414Thank you for providing create table and insert scripts, along with the query so far. It makes providing an answer so much easier.
Does this help?
SQL> select sum(amount10) amount10, sum(amount5) amount5, sum(amount3) amount3
2 from
3 (
4 select
5 case when
6 t.TRANS_DATE >= TO_DATE('06/01/2005 08:00:00 PM','mm/dd/yyyy hh12:mi:ss am')
7 AND t.TRANS_DATE <= TO_DATE('06/10/2005 08:00:00 PM','mm/dd/yyyy hh12:mi:ss am')
8 then
9 amount
10 end amount10,
11 case when
12 t.TRANS_DATE >= TO_DATE('06/06/2005 08:00:00 PM','mm/dd/yyyy hh12:mi:ss am')
13 AND t.TRANS_DATE <= TO_DATE('06/10/2005 08:00:00 PM','mm/dd/yyyy hh12:mi:ss am')
14 then
15 amount
16 end amount5,
17 case when
18 t.TRANS_DATE >= TO_DATE('06/08/2005 08:00:00 PM','mm/dd/yyyy hh12:mi:ss am')
19 AND t.TRANS_DATE <= TO_DATE('06/10/2005 08:00:00 PM','mm/dd/yyyy hh12:mi:ss am')
20 then
21 amount
22 end amount3
23 from
24 test t
25 where
26 t.name = 'Bill'
27 AND t.TRANS_DATE >= TO_DATE('06/01/2005 08:00:00 PM','mm/dd/yyyy hh12:mi:ss am')
28 AND t.TRANS_DATE <= TO_DATE('06/10/2005 08:00:00 PM','mm/dd/yyyy hh12:mi:ss am')
29 );
AMOUNT10 AMOUNT5 AMOUNT3
916 477 414
SQL>Message was edited by:
3360
Durn, pipped by flakey forums and the return of v garcia. -
How to use DirectCast for multiple selected rows?
Hi<o:p></o:p>
Me.SecondBindingSource.DataSource = DirectCast(parentForm.FirstBindingSource.Current, DataRowView) works perfect for single items but how do I do it if I've selected multiple rows on datagridOne and want to pass only the selected rows to datagridTwo using DirectCast?
Me.SecondBindingSource.DataSource = DirectCast(main.FirstBindingSource.Current, DataRowCollection) does not work??<o:p></o:p>You have to put the rows into a datatable. It is usually best if your original source is a datatable. The filter the original datatable. The selected rows of the datagrid are the same row numbers in the source datatable.
jdweng -
How to use anonymous block in select statement
Hello Experts.
I have one requirement which i can resolve using anonymous block in plsql. But i want implement it in select query only.
Database: Oracle 11.2.0
select count(*) from emp where name='xyz' and sal=50
if count(*)>0
then
select dept,sector from emp where name='xyz' and sal=50
here i dont have any primary key.
How can i achieve above using sql query not plsql. Here is one sloution which i have got but its not satisfying above requiremnt as i dont have any primary key columns
select toll_number from toll_details
where toll_id =(select toll_id from toll_details where toll_new_id='5263655214' group by toll_id having count(*)>0)
here toll_id is primary key, so used group by. But how to do this in my above requirement as i dont have primary key.
Appreciate any help on this.
Thank you897112 wrote:
Hello Experts.
I have one requirement which i can resolve using anonymous block in plsql. But i want implement it in select query only.
Database: Oracle 11.2.0
select count(*) from emp where name='xyz' and sal=50
if count(*)>0
then
select dept,sector from emp where name='xyz' and sal=50
here i dont have any primary key.
How can i achieve above using sql query not plsql. Here is one sloution which i have got but its not satisfying above requiremnt as i dont have any primary key columns
select toll_number from toll_details
where toll_id =(select toll_id from toll_details where toll_new_id='5263655214' group by toll_id having count(*)>0)
here toll_id is primary key, so used group by. But how to do this in my above requirement as i dont have primary key.
Appreciate any help on this.
Thank youTry this
SQL> create table plch_test(id number,name varchar2(20),sal number);
Table created.
SQL> insert into plch_test values(1,'XYZ',50);
1 row created.
SQL> insert into plch_test values(2,'AAA',100);
1 row created.
SQL> insert into plch_test values(3,'BBB',200);
1 row created.
SQL> insert into plch_test values(4,'CCC',400);
1 row created.
SQL> commit;
Commit complete.
SQL> select * from plch_test;
ID NAME SAL
1 XYZ 50
2 AAA 100
3 BBB 200
4 CCC 400
SQL> ed
Wrote file afiedt.buf
1 select id,name
2 from plch_test a
3 where 1=(select count(*) from plch_test b where a.id=b.id)
4* and id=&id
SQL> /
Enter value for id: 2
old 4: and id=&id
new 4: and id=2
ID NAME
2 AAA
SQL> /
Enter value for id: 0
old 4: and id=&id
new 4: and id=0
no rows selectedHope this helps!!!
Regards,
Achyut -
I want know how to use the ring tones I made on my i-phone
I have a ring tone app. I used it to create some 15 second ring tones from the songs on my i-phone (3Gs). I emailed the ring tones from the app to my email account and then I added them onto my i-tunes in the ringtone section. I can not figure out how to take the ringtone and make it work on my phone. I've synced my phone and I don't see them being added. Can someone give me the steps to take after I have the ring tones saved to my library in i-Tunes? Thank you!
LisaYou have to make the changes you want in the folders on your computer, then sync your new choices via iTunes. iPhone, iPad and iPod touch: Syncing photos via iTunes, http://support.apple.com/kb/HT4236
-
How to use 'is null' in select statement of ABAP program
hi,
I want to use 'is nul' or 'not null' in select statement of my ABAP program for any field. I have written below query but I am getting sy-subrc = 4 and getting no data.
SELECT * FROM mara INTO TABLE it_mara
WHERE volum IS NULL .
Can anyone resolve this.Hi PKB,
Check the below thread for NULL and Space value in ABAP . It will help you
NULL and Space value in ABAP
Regards,
Pawan -
How to use Help View in select options
i had a chk table in which there are 5 fields it is assign to a field in other table but when i wnat to c the help i am able to c only 3 fields ..can anyone suggest me why is so ?
For the above reason i created a view but how to attach it in select - options
regards
points will be rewarded for every answeri had a chk table in which there are 5 fields it is assign to a field in other table but when i wnat to c the help i am able to c only 3 fields ..can anyone suggest me why is so ?
For the above reason i created a view but how to attach it in select - options
regards
points will be rewarded for every answer -
How to use xpath function to select some particular nodes
Dear experts:
does abap supports xpath to sellect particular nodes according some node value or condition, i know other programe language supports the function selectNode(xpath expression) , does abap or have the api to support it?
and i know there is a class support the xpath but it's not work., the class this:cl_xslt_processor
to clarify my point. i take a ex.
the xml doc is follow:
<?xml version="1.0" encoding="utf-8" ?>
- <n0:MT_CRM_Req xmlns:n0="http://gome.com/CRM/CRM/Outbound" xmlns:prx="urn:sap.com:proxy:DC0:/1SAI/TAS05C79364B9D0DC5F6738:701:2010/02/19">
<company name="hp">
<dep name="gds">
<empolyeeid>123</empolyeeid>
</dep>
<dep name="its">
<empolyeeid>148</empolyeeid>
</dep>
</company>
<company name="foxconn">
<dep name="fih">
<empolyeeid>569</empolyeeid>
</dep>
</company>
</n0:MT_CRM_Req>
i want to select the employee 's company name who empolyee id is 123
i use the method ,and the code is :
l_xslt->set_expression(
expression = '/n0:MT_CRM_Req/n0:company[n0:dep/n0:empolyeeid=123]'
nsdeclarations = 'n0 http://gome.com/CRM/CRM/Outbound'
l_xslt->run('').
nodes = l_xslt->get_nodes( ).
LEN = nodes->GET_LENGTH( ) .
WRITE LEN.
but no nodes return.
is anybody knows what's wrong with it? or there is some other api to manipulate the xml dom.
best regrds!Hello Kevin ,
i think you can get those details , have a look at program BCCIIXMLT1, i think this program will give you some idea to handle * manage xml docs.
along with that program ...you need to put filter
*---creating filers.
filter = document->create_filter_name( name = 'Company' ).
iterator = document->create_iterator_filtered( filter ).
main_node = document.
*---processing document.
perform print_node using main_node p_flag.
let me know if you need anymore help.
regards
Prabhu -
How to use Magic Wand to select in Active Artboard only - CS5
I've run into a problem that I would think already has a solution. I have a layout with 7 artboards, each a variation on a logo design. I want to select a specific color, but only in the active artboard. The Magic Wand would seem to be the right choice, but I see no way of specifying this. Every attempt I make, the color is selected in every artboard that it exists. I know that Select All can narrow its scope to the active artboard by adding the option key to the command but see no equivalent for the Magic Wand. Am I missing something or is Illustrator missing the ability?
Use locking or hiding to make you selection.
Draw a frame around the elements on one artbaord
Select >> Inverse
Object >> Lock
(use your magic wand and make your change)
Object unlock all -
How to use unique values in select queries
For the a particular variant this select query gives a dump.here matnr and werks have been taken as unique combination for table it_mat_lifnr. i have tried with delete adjacent duplicates but still it is not working.can you suggest me with a possible solution. iam providing you with the part of code which gives error
select matnr werks lifnr ebeln
from eord
into table it_mat_lifnr
for all entries in it_mat
where matnr = it_mat-matnr and
werks = it_mat-werks and
vdatu <= sy-datum and
bdatu >= sy-datum and
flifn = 'X' or febel = 'X'.Hi,
You can use distinct or delete adjacent duplicate from internal table.
For ex.,
select distinct kunnr into table it_kna1 from kna1 where kunnr in s_kunnr.
or
select kunnr into table it_kna1 from kna1 where kunnr in s_kunnr.
sort it_kna1 by kunnr.
delete adjacent duplicates from it_kna1.
Thanks and Regards,
Thirukumaran. R
Maybe you are looking for
-
Hey guys, Just connected my iMac to my samsung HDTV via a mini dvi to HDMI adapter, picture is awesome, i just have a question, i am basically in a DUAL SCREEN mode, both my LCD and my iMac screen work together at the same time, moving my Mouse curso
-
Compressor 2 what works for me
I've had my nightmares with compressor 2 and FCP5 on my Quad G5 and finally found a combo that works . I use compressor only to compress the audio to AC3 format. Using it to compress video results in failure with a Quicktime error of zero. So, I expo
-
Need of distribution model in IDOC triggering
Hi, I have one question dat is it necessary to maintain distibution model in BD64 for outbound IDOCs or only maintaining partner profile in WE20 is mandatory. I have seen some cases in which distribution model is not maintained. Please let me know th
-
HI SAP GURUS I have created a Transfer Order with 4 line items for 4 different materials. And I have created 4 tasks with reference to the same TO in TRM Monitor. System is generated same group reference number for all tasks. Now how to assign this
-
VirtualBox group conflicting with an ldap's group
VirtualBox installs a group (named `vboxusers', whose GID is 108) to allow users to use it: virtualbox.install. My machine is integrated in a network with centralized users and groups (via ldap), and I found out there's already a group with GID 108: