How to Delete the Junk data in Transformation Routines
Hi,
I had scenario like infoobject for 0CUSTOMER master data is bringing the values
C123456_RECEIPTS.
C12345_RECEIPTS.
So when i extract the data from R/3 for this 0CUSTOMER master data it is bringing the SOME JUNK DATA
I would require delete the C12345_RECIEPTS it should allow only C123456_RECIEPTS.
I have to do in the routines for the deletion of this.
Requesting send some sample code on how to delete it the BI 7.
Hello,
If the data is like after every C5* or C6* there is an underscroll sign (_), then below code will work in start routine:
Data: wa_source_package like line of source_package,
itab_sp type standard table of tys_SC_1,
a(6) type c,
b(10) type c.
loop at source_package into wa_source_package.
split wa_source_package at '_' into a and b.
if strlen( a ) = 7.
append wa_source_package to itab_sp.
endif.
endloop.
refresh source_package.
source_package = itab_sp.
Regards,
Shashank
Similar Messages
-
How to delete the Junk Data From Excel Sheet
Dear ABAPers,
I am uploading the Excel sheet from the Desktop to the SAP System. In the Internal table i am getting Unwanted Junk data's for Example '##########'.I am not getting this Junk data for all the times. i am getting it for Some times.How to ignore these junk data.
Thanks & Regards,
Ashok.Dear Friends,
I communicated wrongly.I am very sorry for that.The Problem is I am getting All the Data into the internal table in addition to that lines i am getting the Junk data in the internal table at the end of the internal table.
Excel Sheet
L-1 21.10.2008 1110 888555444676001
L-1 21.10.2008 1110 888555444676002
L-1 21.10.2008 1110 888555444676003
L-1 21.10.2008 1110 888555444676004
Internal table
L-1 21.10.2008 1110 888555444676001
L-1 21.10.2008 1110 888555444676002
L-1 21.10.2008 1110 888555444676003
L-1 21.10.2008 1110 888555444676004
Thanks & Regards,
Ashok. -
How to delete the duplicate data from PSA Table
Dear All,
How to delete the duplicate data from PSA Table, I have the purchase cube and I am getting the data from Item data source.
In PSA table, I found the some cancellation records for that particular records quantity would be negative for the same record value would be positive.
Due to this reason the quantity is updated to target but the values would summarized and got the summarized value of all normal and cancellation .
Please let me know the solution how to delete the data while updating to the target.
Thanks
Regards,
SaiHi,
in deleting the records in PSA table difficult and how many you will the delete.
you can achieve the different ways.
1. creating the DSO maintain the some key fields it will overwrite the based on key fields.
2. you can write the ABAP logic deleting the duplicate records at info package level check with the your ABAPer.
3.you can restrict the cancellation records at query level.
Thanks,
Phani. -
How to delete the Hierarchy data from Infoobjects.
How to delete the Hierarchy data from Infoobjects. In my case I had 300 records in the corresponding table of info object.
When i was trying to delete the hierarchy data, I am getting error message. "Some master data not deleted". Can any one tell me to delete all these records by using a program.Hi
Go to SE11 and enter the hierarchy table name.
/BIC/H....(infoobject name)...and execute the table and select table entry and delete all....
Thanks
TG -
How to delete the Transaction Data in CRM
Hi Gurus,
I have a requirement to delete the Transaction Data in one Client.
But Configuration should be as it is ?
How can i over come this situation?HI.
Do you mean refresh the client ? if that is the case, i think you are posting in wrong forum since this one is for People Centric User Interface. Try in Customer "Relationship Management (CRM) - General & Framework".
Best Regards.
Armando Rodriguez. -
How to delete the populated data in the control screen of XK02 transaction
In the vendor master ( XK01/2/3) "Control screen " we have some user defined fields with data already populated into those fields. Now, the user is asking to delete the data which is already populated for a particular purchaging Organization. How to do that.
Ur help wil be highly appreciated.Hello,
If the data is like after every C5* or C6* there is an underscroll sign (_), then below code will work in start routine:
Data: wa_source_package like line of source_package,
itab_sp type standard table of tys_SC_1,
a(6) type c,
b(10) type c.
loop at source_package into wa_source_package.
split wa_source_package at '_' into a and b.
if strlen( a ) = 7.
append wa_source_package to itab_sp.
endif.
endloop.
refresh source_package.
source_package = itab_sp.
Regards,
Shashank -
How to delete the master data of a Customer created in a SALES AREA?
Hi All,
I've deleted a Customer (master data) by t.code OBR2. But it exists again in its SALES AREA.
Could anyone tell me how to delete it in the sales area too?
ThanksHi,
I dont think you can delete a customer. you can market it for deletion in XD06.
for deleting customer master data you have to setup an archiving project.
Also check the similar thread
doubt in obr2
Hope it helps you.
Regards,
Sats. -
How to delete the raw-data out of the meta data (file information)
Hi guys,
I am definetely going crazy: since half an hour I can´t find a solution than copy (image) paste and save as a virgin jpeg: I`ve just converted some 0,5 GB tif files which I elaborated heavily in ACR and the 550 by 367 PIXEL JPEG @ quality 9 has 1,1 MB. As all your moves are saved in the raw-data (last field inthe fileinformation) there´s quite a bit on the file, also on 3 by 2 Pixel (!) "big" derivates. It seem´s there´s no intellegent way to discard this information. If you know, please let me know!
Thanks, SebastianYou could try the following code to remove all the metadata, run it from within ExtendScript Toolkit and select the files in Bridge.
#target bridge
removeXMPData();
function removeXMPData(){
if (ExternalObject.AdobeXMPScript == undefined) ExternalObject.AdobeXMPScript = new ExternalObject("lib:AdobeXMPScript");
var sels = app.document.selections;
for (var a in sels){
var thumb = new Thumbnail(app.document.selections[a]);
var md = thumb.synchronousMetadata;
var xmp = new XMPMeta(md.serialize());
try{
XMPUtils.removeProperties(xmp, "", "", XMPConst.REMOVE_ALL_PROPERTIES);
var updatedPacket = xmp.serialize(XMPConst.SERIALIZE_OMIT_PACKET_WRAPPER | XMPConst.SERIALIZE_USE_COMPACT_FORMAT);
thumb.metadata = new Metadata(updatedPacket);
}catch(e){alert(e);} -
How to delete the duplicate data in between two distinct rows in SQL?
Hi,
I need to identify the duplicate data with two distinct rows. See my data structure below.
NAME NAME_1 VALUE START_DATE END_DATE FLAG INDEX
SUR SE 275 13/12/2005 31/12/2010 B 1
SUR SE 375 A 1
SUR SE 475 A 1
SUR SE 275 13/12/2005 31/12/2010 B 2
SUR SE 375 A 2
SUR SE 475 A 2
SUR SE 175 13/12/2006 31/12/2010 B 3
SUR SE 375 A 3
SUR SE 475 A 3
This is my sample data. Here data are duplicate with different index columns. INDEX 1 and 2 contains same group of combination. So i need to identify any one of duplicate combination(i.e INDEX 1 or 2). Can anyone come up with exact solution?
ThanksTry this:
with test_table as
(select 'SUR' NAME, 'SE' NAME_1, 275 VALUE, '13/12/2005' START_DATE, '31/12/2010' END_DATE, 'B' FLAG, 1 IND from dual union all
select 'SUR', 'SE', 375, null, null, 'A', 1 from dual union all
select 'SUR', 'SE', 475, null, null, 'A', 1 from dual union all
select 'SUR', 'SE', 275, '13/12/2005' ,'31/12/2010' ,'B', 2 from dual union all
select 'SUR', 'SE', 375, null, null, 'A', 2 from dual union all
select 'SUR', 'SE', 475, null, null, 'A', 2 from dual union all
select 'SUR', 'SE', 175, '13/12/2006', '31/12/2010', 'B', 3 from dual union all
select 'SUR', 'SE', 375, null, null, 'A', 3 from dual union all
select 'SUR', 'SE', 475, null, null, 'A', 3 from dual )
select t.*,
CASE WHEN START_DATE IS NULL THEN
first_value(row_number) OVER (PARTITION BY NAME, NAME_1, IND ORDER BY START_DATE)
ELSE
row_number
END row_number
from (
SELECT t.*,
CASE WHEN START_DATE IS NOT NULL THEN
row_number() over(PARTITION BY NAME, NAME_1,VALUE, START_DATE, END_DATE, FLAG
ORDER BY IND)
END row_number
FROM test_table t) t
order by IND, start_dateNote that this is only checking for diferences in the rows where start_date is not null. Do you want to also check if the records where start_date is null it there are differences? If so you can do this:
with test_table as
(select 'SUR' NAME, 'SE' NAME_1, 275 VALUE, '13/12/2005' START_DATE, '31/12/2010' END_DATE, 'B' FLAG, 1 IND from dual union all
select 'SUR', 'SE', 375, null, null, 'A', 1 from dual union all
select 'SUR', 'SE', 475, null, null, 'A', 1 from dual union all
select 'SUR', 'SE', 275, '13/12/2005' ,'31/12/2010' ,'B', 2 from dual union all
select 'SUR', 'SE', 375, null, null, 'A', 2 from dual union all
select 'SUR', 'SE', 475, null, null, 'A', 2 from dual union all
select 'SUR', 'SE', 175, '13/12/2006', '31/12/2010', 'B', 3 from dual union all
select 'SUR', 'SE', 375, null, null, 'A', 3 from dual union all
select 'SUR', 'SE', 475, null, null, 'A', 3 from dual )
SELECT t.*,
MIN(row_number) OVER(PARTITION BY NAME, NAME_1, IND) MIN
FROM (SELECT t.*,
row_number() over(PARTITION BY NAME, NAME_1, VALUE,
START_DATE, END_DATE, FLAG
ORDER BY IND) row_number
FROM test_table t) t
ORDER BY IND,
start_date;Edited by: Manuel Vidigal on 13/Abr/2009 12:05 -
I have a search page (jsp),...wn i open the page again, the older searcg result stays in the page. how to open an empty page each time?..(without the older search results).. im calling the search page thro' action.
pradeepa5 wrote:
wn .. searcg .. thro' Please write human readable English sentences. Please don't write like a fool.
Regarding to your problem: just store the search results in the request scope instead of the session scope. -
How to delete the recyclebin data in oracle 10g
i create one table.then i drop the that table.this table will be kept in recyclebin in oracle10g .how to remove table permanentley in oracle 10g.
i used drop table table name and select * from tab;it will come two tables like
BIN$kLM/ilgxTUil64ZsNG0l7A==$0.
how to drop table permanentley.please give me steps.Hello;
Use the PURGE statement to remove a table or index from your recycle bin and release all of the space associated with the object, or to remove the entire recycle bin, or to remove part of all of a dropped tablespace from the recycle bin.
Remove a File From Your Recycle Bin: Example
The following statement removes the table test from the recycle bin. If more than one version of test resides in the recycle bin, Oracle Database removes the version that has been there the longest:
PURGE TABLE test;
To determine system-generated name of the table you want removed from your recycle bin, issue a SELECT statement on your recycle bin. Using that object name, you can remove the table by issuing a statement similar to the following statement. (The system-generated name will differ from the one shown in the example.)
PURGE TABLE RB$$33750$TABLE$0;
Remove the Contents of Your Recycle Bin: Example
To remove the entire contents of your recycle bin, issue the following statement:
PURGE RECYCLEBIN; -
How to delete the data in the compressed infocube
hi, bi gurus
we are facing a problem in inventory management the info cube in BW production
normally every time inventory cube gets compressed that means the data will be moving to F fact table to E fact table
now the problem is we are having some bad data for latest five requests in this cube as we all know compressed data
can't be delete by deleting request in the request tab the only way is go for selective deletion but i don't find any selective
option in the cube we are PSA data for that five request which having correctdata please help how to delete the bad data in the
info cube and load the correct data which we are having in PSA
Thanks
JoeHi André
Thanks you for ur answer
what i am telling is their is an option for selective deletion for inventory cube
but i don't find any specific option to delete the data that means like calendar day like that
i hope you got my question.
hi Saveen Kumar,
Thank you again
we are using 3.xx flow if we do the request reverse posting for all the 5 requests which has updated incorrect data
next we need to do compression also or not
and how to reload the data from PSA to Infocube becuse if request still avaliable in info cube it will not allow me to do that
can you please tell me detail how to proceed in step by step this is first time i am doing request reverse post and i have to do it production please tell me
Thanks in adavance
Thanks,joe -
How to delete the duplicate email address in BP master data
Hi,
When you get an email ids from the third party vendor and you are loading into CRM BP master data. how to delete the duplicate email address already exits in the system. In CRM you can create the same BP with different id. I would like to know how to delete the email address during importing email addresses from the third party tool.
During the campaign you are sending email to all your customers, when the customer want to unsubscibe the email address from your list, how to unsubcribe the email address and how to updat the BP master data.
If you are sending the email to customer, you are using html or simple text, if the customer wants only html or simple text, how you to specify in the system?
thanks,
arulHello Arul,
welcome to the SDN CRM Development forum.
1. I think you should clear the data with duplicate E-Mail adresses in the external tool.
2. Unsubscription could be done by a Marketing Attribute which could be set by using a Target Group which is created by Campaign Automation. Have a look at this Toppic. There is also a Best Practice avaliable at http://help.sap.com/bp_crmv340/CRM_DE/index.htm.
3. Also HTML or Simple text can be mained in a Marketing Attribute. You have to use different Mail Forms to which are sent to different Target groups.
Regards
Gregor -
How to delete the data from partition table
Hi all,
Am very new to partition concepts in oracle..
here my question is how to delete the data from partition table.
is the below query will work ?
delete from table1 partition (P_2008_1212)
we have define range partition ...
or help me how to delete the data from partition table.
Thanks
Sree874823 wrote:
delete from table1 partition (P_2008_1212)This approach is wrong - as Andre pointed, this is not how partition tables should be used.
Oracle supports different structures for data and indexes. A table can be a hash table or index organised table. It can have B+tree index. It can have bitmap indexes. It can be partitioned. Etc.
How the table implements its structure is a physical design consideration.
Application code should only deal with the logical data structure. How that data structure is physically implemented has no bearing on application. Does your application need to know what the indexes are and the names of the indexes,in order to use a table? Obviously not. So why then does your application need to know that the table is partitioned?
When your application code starts referring directly to physical partitions, it needs to know HOW the table is partitioned. It needs to know WHAT partitions to use. It needs to know the names of the partitions. Etc.
And why? All this means is increased complexity in application code as this code now needs to know and understand the physical data structure. This app code is now more complex, has more moving parts, will have more bugs, and will be more complex to maintain.
Oracle can take an app SQL and it can determine (based on the predicates of the SQL), which partitions to use and not use for executing that SQL. All done totally transparently. The app does not need to know that the table is even partitioned.
This is a crucial concept to understand and get right. -
How to delete the Cost center line item data
How to delete the cost center line item data of particular cost center and only one cost center is exisiting for that company code.
Is there any way to delete the line items in that cost center.
Can data archiving & deleting can help us..........
does it have any effect over other cost center data....
any input needed.........
regards
rajeshHi,
i found 2 reports for you:
1) CO_TOTAL_WRI - Archiving CO Totals Records
2) RKCOITW1 - Archiving CO Line Items: Write Program
from 2) is a linlk to customize archiv-parameters
-> start it with transaction se38 / sa38
A.
Maybe you are looking for
-
Hello to all I have 2 tables, this is a bit of them Table1 id Datare col1 cf 201152004569 11/10/2011 12:16:00 43 STASNT29XXXB345I 201152004353 27/09/2011 13:48:00 43 STASNT29XXXB345
-
How can I insert images in data base?
Hi!! I don't know what i need to do. My problem is that I need to save images in the data base but I don't know how. The images are from autopart catalogues. Thanks for your help
-
Is there any way to force Safari to view the desktop version of a website? Any help will be appreciated! Thank you.
-
My iPhone 4 has been recently stolen :( and I am wondering how can I be able to blocked my iPhone 4 so the one steal it cannot use my phone pls let me know what to do thanks.
-
Why does negation of Integer.MIN_VALUE display the same value ?
Hi Guys, This is my code : package declarations; public class dec32 { public static void main(String[] args) { int a = Integer.MIN_VALUE; int b = -a; System.out.println( a+ " "+b); O/P : -2147483648 -2147483648Now,m