How to delete duplicate value in movement type 541 & 542(alv report)
hi experts,
i have some problem in alv report,
input we can give some movement type for ex(101,102,541,542, etc)
how to delete duplicate value in 541 and 542.
regards
gunasekaran.
Try:
Delete adjacent duplicates from ITAB comparing FIELD1, FIELD2.
to do this the ITAB must be Sorted first.!
Similar Messages
-
How to delete duplicate values in a column?
consider a table contains 2 columns(NAME & DEPARTMENT)
NAME DEPARTMENT
santhosh finance
santhosh marketing
rahul sales
stephen IT
stephen sales
In the above table how to delete only the duplicate values(santhosh,stephen) in the column?If you don't care??
delete emp
where 1 < (select row_number() over(partition by deptno order by 1) from emp)
Error at line 1
ORA-01427: single-row subquery returns more than one rowI'd use something like
delete emp e1
where exists
(select null
from (select deptno, rowid rid, row_number () over (partition by deptno order by 1) rn from emp) e2
where e1.rowid = e2.rid
and 1 < rn) -
How to avoid duplicates values from alvgird see below code
how to avoid duplicates values from alvgird see below code
in below query docno no is repeated again and again
how i can avoid duplication in this query.
select * into corresponding fields of table itab
from J_1IEXCHDR
inner join J_1IEXCDTL
on J_1IEXCDTLlifnr = J_1IEXCHDRlifnr
where J_1IEXCHDr~status = 'P'.Hi Laxman,
after that select statement
select * into corresponding fields of table itab
from J_1IEXCHDR
inner join J_1IEXCDTL
on J_1IEXCDTLlifnr = J_1IEXCHDRlifnr
where J_1IEXCHDr~status = 'P'.
<b>if sy-subrc = 0.
delete adjucent duplicates from itab comparing <field name of itab internal table>
endif.</b>
this will delete your duplicate entries.once you done with this call the alv FM.
<b> call function 'REUSE_ALV_GRID_DISPLAY'</b>
exporting
I_INTERFACE_CHECK = ' '
I_BYPASSING_BUFFER = ' '
I_BUFFER_ACTIVE = ' '
i_callback_program = v_repid
I_CALLBACK_PF_STATUS_SET = ' '
I_CALLBACK_USER_COMMAND = 'IT_USER_COMMAND'
I_CALLBACK_TOP_OF_PAGE = ' '
I_CALLBACK_HTML_TOP_OF_PAGE = ' '
I_CALLBACK_HTML_END_OF_LIST = ' '
I_STRUCTURE_NAME =
I_BACKGROUND_ID = ' '
i_grid_title = 'Purchase Order Details'
I_GRID_SETTINGS = I_GRID_SETTINGS
is_layout = wa_layout
it_fieldcat = it_fieldcat
IT_EXCLUDING = IT_EXCLUDING
IT_SPECIAL_GROUPS = IT_SPECIAL_GROUPS
it_sort = it_sort
IT_FILTER = IT_FILTER
IS_SEL_HIDE = IS_SEL_HIDE
I_DEFAULT = 'X'
I_SAVE = ' '
IS_VARIANT = IS_VARIANT
it_events = it_event
IT_EVENT_EXIT = IT_EVENT_EXIT
IS_PRINT = IS_PRINT
IS_REPREP_ID = IS_REPREP_ID
I_SCREEN_START_COLUMN = 0
I_SCREEN_START_LINE = 0
I_SCREEN_END_COLUMN = 0
I_SCREEN_END_LINE = 0
I_HTML_HEIGHT_TOP = 0
I_HTML_HEIGHT_END = 0
IT_ALV_GRAPHICS = IT_ALV_GRAPHICS
IT_HYPERLINK = IT_HYPERLINK
IT_ADD_FIELDCAT = IT_ADD_FIELDCAT
IT_EXCEPT_QINFO = IT_EXCEPT_QINFO
IR_SALV_FULLSCREEN_ADAPTER = IR_SALV_FULLSCREEN_ADAPTER
IMPORTING
E_EXIT_CAUSED_BY_CALLER = E_EXIT_CAUSED_BY_CALLER
ES_EXIT_CAUSED_BY_USER = ES_EXIT_CAUSED_BY_USER
tables
<b> t_outtab = ITAB</b>
exceptions
program_error = 1
others = 2
if sy-subrc <> 0.
message id sy-msgid type sy-msgty number sy-msgno
with sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
endif.
Thanks
Vikranth Khimavath -
How to delete duplicate records in 10 G.
how to delete duplicate records in 10 G.
--Here is one way to do it using a second table
create table temp1
(col1 char(1));
--Table created.
insert into temp1 (col1) values('A');
insert into temp1 (col1) values('B');
insert into temp1 (col1) values('B');
--1 row created.
--1 row created.
--1 row created.
create table temp2 as select distinct * from temp1;
--Table created.
--now you have a second table with no duplicates
--truncate your old table
truncate table temp1;
--Table truncated.
--and reload it with data from the new table
insert into temp1 select * from temp2;
--2 rows created.
--then drop the temp2 table
drop table temp2 -
Everyone is how to delete repeating values?
There is a column,values are repeated,everyone is how to delete repeating values?
Assuming that this set of numerical many, can not directly determine whether there is a duplicate value.
Thank you~
Message was edited by: Tao.
Message was edited by: Tao.Hi Tao,
I've found that a short AppleScript provides a convenient way to identify duplicates (repeating values) in a range.
Just select the range of cells you want to check for duplicates and click. It will turn the duplicates red.
--select range, run, turns duplicates red
tell application "Numbers" to tell front document to tell active sheet
set selected_table to first table whose class of selection range is range
tell selected_table
set selected_range to the selection range
tell selected_range
set values_list to {}
repeat with i from 1 to count cells
set this_value to value of cell i as text
if values_list contains this_value then set text color of cell i to "red"
set end of values_list to this_value
end repeat
end tell
end tell
end tell
--end of script
Just copy and paste the above script into AppleScript Editor, and run it from there. Or place it in your scripts menu. Or download this Automator Service (Dropbox download) and double-click it to install it in your Services menu.
Similarly, if you want to get a list of just the distinct values in a range (i.e. with duplicates removed) this Copy Distinct Automator Service (Dropbox download) is very convenient.
Select the cells, make the menu pick, then paste the distinct values wherever you want in a table by single-clicking a cell and typing command-v to paste.
These functions become, in essence, a customized menu. That way you don't have to set up formulas to do this each time you work with a new Numbers document.
SG -
How to delete null values in a table
hi all,
tell me please any one how to delete null values in a table
example:
in emp table is there
empno ename job mgr sal deptno
7900 scott 7902 2000 10
7499 clerk 7900 20
7834 james manager 3000 30
like this in the above emp table there are some null values are there
so how to delete the null values in emp table
thanks,
regards.
Edited by: user9195968 on Feb 25, 2010 6:30 AMnot too sure what you mean, perhaps you could supply a table description and some sample data
but, consider
delete from table_1 where column_1 is null
commit
/ -
How to delete the values from TKOMV at runtime after creating PO
Hi,
How to delete the values from TKOMV at runtime after creating PO from IDOC. I am creating PO through IDOC, subsequently need to create Sales order and again need to create 2nd PO with reference of Purchase Requestion(created with sales order). At the time creation of 2nd PO the Header conditions are appearing twice and net price value is appearing wrong.
Thanks in advance.Hi Padma
Can you do this activity once the company code is in to production. I guess you can not do this activity, if the company code is already in to live. Setting or resetting of the recon accounts will hinder the previous actitivity. Infact resetting of the company code is also not a good option.
Any how, thanks for the inputs. Please let me know whether i can do this activity only at the subledger level which will not impact other modules. The one solution i can figured out is , reverse all the transactions for the corresponding asset in the year of takeover and pass the entries again in the same year correctly which will have effect in Subledger and also in general ledger. But the business people will not allow this, since for a big client it will require lot of authorizations and approvals. Infact the vendor also, is cleared. So we have to reverse the cleared documents as well which is again a task and require approvals as well.
Thanks and regards
Seshu. -
How to delete duplicate songs from libary without deleting them from playlist or other devices
I'm with you verm71; it's not entirely clear how Apple is expecting you to manage this. I'm going on vacation soon and want to clean up my phone so that it's nice and empty for the new pictures. There doesn't seem to be a way to do this without losing your pictures in the new Photos as well. If imported, it's impossible to see which is the Cloud version and which is the Local version. It's very annoying.
I've also noticed in iPhoto you used to have the ability to locate the original of the picture inside the photo database. That option is not provided in Photos, making finding the original extremely difficult.
It seems to be a great, well-oiled system. But I would love to know how Apple envisions the typical workflow for archiving... -
How to delete duplicate pictures from Photo Library
How to delete duplicate pictures from Photo Library in iPhone 3G 16 giga?
The only way to delete photos from the photo library is by the same way the photos were transferred to your iPhone - via the iTunes sync process.
Are you saying a photo or all photos transferred to your iPhone via the iTunes sync process are duplicated in your iPhone's Photo Library without being duplicated in the folder on your computer where these photos are stored? -
How to delete duplicate photos on ipod touch, NOT in camera roll
how to delete duplicate photos on ipod touch, NOT on camera roll
What do you mean?
Do you have duplicates in one album? If so how did that album get on the iPod?
If yo mean yo have them in different albums then what specific albums and how did those albums get on the iPod? -
How to set default value to date type attribute.
Hi,
How to set default value to date type attribute.
E.g I want to set u201C01/01/1999u201D to date attributes.
First i want to set value and then i want to fetch the same & want to check equals.
please suggest solution.
Regards,
SmitaHi,
In wdinit() method u can set the date
DateFormat df = new SimpleDateFormat("MM/dd/yyyy");
Date today = Calendar.getInstance().getTime();
String reportDate = df.format(today);
wdContext.currentContextElement().setFromDate(reportDate);
Another way you have set the this formate like that
1. Create a Simple type under "Dictionaries->SimpleType" called DateFormat
2. Select the type as "date"
3. Go to the "Representation" tab and set the format as "dd/MM/yyyy" (or whatever u want, but month should be MM)
4.Bind the context attribute to the type created now.
Hope this helps u.
Best Regards
Vijay K -
How to Delete duplicates rows without using rowid/distinct.
How to delete duplicates rows present in a table without using rowid or even distinct.
How about:
SQL> SELECT * FROM t1;
A B
1 2
2 3
1 2
4 4
4 4
4 4
SQL> DELETE FROM t1
2 WHERE (a, b) IN (SELECT a, b FROM t1
3 GROUP BY a, b
4 HAVING COUNT(*) > 1) and
5 rownum = 1;
1 row deleted.
SQL> /
1 row deleted.
SQL> /
1 row deleted.
SQL> /
0 rows deleted.
SQL> SELECT * FROM t1;
A B
2 3
1 2
4 4Although, if I was asked a similar question with all those restrictions, my first response would be along the lines of: Is this question indicative of the way I will have to work if I join this company? If so, there is no point answering because I wouldn't touch this job with a ten foot pole. -
HT5043 How to delete duplicate photos
how to delete duplicate photos in iphoto
iPhoto has no built-in duplicate detector. You can spot duplicates by sorting your photos by title or date, or use third-party applications like iPhoto Library Manager, Duplicate Annihilator, Photo Sweeper.
Old Toad has published a great list of apps that can screen your iPhoto Library for duplicates, see this link:
Re: How can I search for duplicate photos in iPhoto libraries?
My favourite is Photo Sweeper, because it lets me stay in control of what will be deleted, shows all metadata, lets me define the criteria for marking duplicates, and can recognise duplicates of different sizes, based on histograms or pixel maps. PhotoSweeper -
How to delete duplicate E-MAIL addresses in "TO" on top of new message
How to delete duplicate E-MAIL addresses in the "TO" box on the top of the new mewssage file
Hi Steven,
Highlight one & hit Delete key. -
Does anyone know how to delete duplicate photographs will it affect photostream
Does anyone know how to delete duplicate photographs I seem to have so many, is this anything to do with photostream as I have an ipad as well. I have over 7000 photos and find it impossible to find them all. When I first got Apple 9 years ago there was a drop down menu that found all duplicates which you could then delete but that was taken off at some point. I would be really gratful for some help i am not savvy with the technical side of computing.
For dealing with duplicates in iPhoto check out Duplicate Annihilator or Decloner or iPhoto Duplicate Cleaner or iPhoto Library Manager
Maybe you are looking for
-
Any specific disadvantage of using DataPump for upgrade ?
Hi, Here's my config SERVER A Source O/S : Win 2003 Source DB : 10.2.0.4 ( 32 bit ) DB Size : 100 GB SERVER B Target O/S : Win 2008 R2 sp1 Target DB : 11.2.0.3 ( 64 bit ) I have to upgrade 10g Database of server A , by installing 11g on Server B. I h
-
Updated apps not showing up or syncing to iPhone
In the last week or so, I've noticed iTunes on my Mac says I have several updates for various App Store apps I have installed, but when I run the App Store on my iPhone, it doesn't show the new apps. I tried updating the apps on my computer then sync
-
How Oracle tables can be used to display Chinese/Japanese characters
If anyone knows how to display Chinese/Japanese characters from Oracle tables please reply this email. Thanks. Regards, Preston
-
Overlapping sound of video in IE
Hi, I have an issue with video with Internet Explorer 9 & 10. I put videos in lightbox in Muse, everythig is perfect in chrome, safari & firefox, but in Internet Explorer, when I click outside de lightbox to close the widget, the sound continu... and
-
Where is the Muse 6 trial.
I downloaded the trial of Muse CC from the direct dowloads page - so I don't have to use download manager and so it does not auto install. I installed it myself and the version is version 5. When can I directly download the trial of the latest versio