Table Entry Deletion
Dear Sap Guru's ,
In the Taxes SD there are county codes which are present in the Development server. The same entries are there in the production server.
But in production I have more county codes which I do not want.
My Production is not modifiable how can I delete the County codes from the table.
regards,
SAP SD
HI,
u can do a request in Development that create the entries in which u want to remove in the production server and then delete the entries in the development and do this activity in another request and move the second request to the production ur problem will be solved.
If it hepls reward me.
Regards,
kishore.
Similar Messages
-
Table entries deleted in Customized table.
Respected Guru's
table entries in a customized table were deleted in production system, no transports pertaining it was found.
Table entries were updated using bapi.
Please help me to know how the table entries were deleted.
Daya.
Edited by: Dayananadan Anandan on Nov 12, 2009 11:35 AMHi Johnson,
you might have to restore the DB Backup for the table to gt back the data....
Furthermore, if you want to track how the entried were deleted then there are 2 ways to go about it:
If the Deletion of the records was through an application (FM,Program call) then there should be Chande Documents available for them and you can search them by hitting tables CDHDR and CDPOS...
If the Deletion of the records was done physically the you can try looking into the tables UASE16N_CD_KEY and UASE16N_CD_DATA (deletion from transaction UASE16N) or tables SE16N_CD_KEY and SE16N_CD_DATA(Deletion from SE16). This will give change pointer documents if the records were deleted using these transactions...
Another option might be that somebody has used the Database utility and selected the option Delete Data. In this case you can have a look at the object log....
Hope this helps....
Regards,
Sitakant. -
Problem in table entry deletion
Hi
i have deleted table entry in VBRK and vbrp
is there any facility to get back the deleted entry .
pls let me knowHi
when ever your doing some changes to existing one don't delete directly, you need to make new vertion or copy that into another and made changes to that one
now u don't get that fields any where
you need to append that field to that table by creating a structure for that field
reward if usefull -
How to find out log for table entry deletion.
Hi Guys,
Somebody has deleted entire MARC in one of our systems. Is there any way to find out who deleted the entries?
ThanksUse CDPOS and CDHDR to know who changed/deleted
from CDPOS .. get the OBJECTCLAS OBJECTID and
CHANGENR passing TABNAME as MARC
Pass the above OBJECTCLAS OBJECTID and
CHANGENR to CDHDR and get USERNAME -
Deletion of table entries(without maintenance view) in production
Hi Sap All.
here i have got a task to change the data type of one particular field and to delete all the table entries of this table in production.
so in Dev I have tired with z program saved in local object (DELETE FROM Table).
i just want to know how i can delete all the entries of table in production.
regards.
VarmaHello,
You can also use transaction SE14.
Start SE14
Enter the table name
Select the radio button "Delete data".
Push the button "Activate and adjust database".
This will drop your table in the DB and recreate it as well as all related indexes.
Indexes are not impacted when you do a regular DELETE statement unless you rebuild your indexes.
Of course you can only do this if data can be deleted for a specific table in ALL clients.
Wim -
How to delete table entries with SE16 in debugging mode?
We are trying to delete some table entries which cause our InfoPackage short dumps in BW system. The problem is that we can only see the Display menu item with SE16 and the Delete menu item is dimmed that we are unable to conduct the deletion. SAP Support suggest to use debug with SE16 to do the deletion, but we can't figure out how!
Anyone's idea is greatly appreciated!Then you are not at the right place. Lets start at the begining.
Go to SE16.
Enter table name.
Hit F7.
Enter selection criteria.
hit F8.
Double click the specific record that you want to delete.
In the transaction code field at the top, enter "/H" and hit enter. Debug is switch on.
Now hit enter again.
You should now be in debug and you should see this code..
form set_status_val tables ntab structure x031l
using code name next for_lines.
field-symbols: <field>.
refresh exclude_tab.
if code = 'SHOW'.
set titlebar 'TAB' with name 'anzeigen'(100).
elseif code = 'EDIT'.
set titlebar 'TAB' with name 'ändern'(101).
elseif code = 'INSR'.
set titlebar 'TAB' with name 'einfügen'(102).
elseif code = 'ANVO'.
set titlebar 'TAB' with name 'einfügen'(102).
elseif code = 'DELE'.
set titlebar 'TAB' with name 'löschen'(103).
Notice that there is a field called CODE in the IF statement.
Now enter the word "CODE" in the field names list, change the value to DELE and click the pencil. Hit F8. Now you can delete the entry.
Regards,
Rich Heilman -
Without delete PDP table entry, I want to Order PO in R/3. How can I do it?
Hi SRM Gurus,
I am using SRM 5.5 with Extended Classic Scenario and Plan Driven Procurement(PDP).
My question is: I was unable to create PO with reference PR/RFQ/Manually in R/3.System is giving an error message 'you can order locally(SRM)'. Which material group and Purchasing groups are maintained in PDP table. If I delete this entry I can Order PO in R/3.
Now I don't want to delete PDP table entry and I want to Order PO in R/3. How can I do it?.
Please focuses light on this issue. Highly appreciate.
Regards,
John.Hi
I think you can do in both sides
let me know your scenario too well.
I am in classic scenario
i can create a PR - if i have valid unique source of supply , PO will be created in ECC
If i have more than one source of supply , my PR will get EPRTRANS TABLE ENTRY with EPROFILE updated in EBAN table and my ECC pr wil be transfered to SRM and create a sc and this cart will be in cockpit.
I believe your PR has EPROFILE , thats why you could not create a PO in ECC side.
confirm me.
How to you assign a source of supply for PRs ? I wanted to know. so i can expalin easilyand any jobs you create to create a Auto POS in ECC after assign a source of supplt to your Purchase request.
br
muthu -
How to transport a Deleted Table entry
is there a way of transporting deletions of table entries.
For example. I'm dealing with a table say such as T529U. So we already have value there for active, inactive, retiree, withdrawn. Say I wanted to delete retiree from the selection list.
I go to our DEV and make the deletion. I manually create a transport of the entire table and transport it to our QA system. When I do so, the table still remains the same. The only way the record would be changed would be if it was new or had the same key (thus overwriting). How do you remove and transport (so you don't have to do it in all instances).
any help would be much appreciated.
ThanksHello
A delete should be a change just like any other change and should be recorded on a change request. After releasing the change request you should be able to transport that delete to your QA and PRD systems as needed.
As a general rule I would not transport the complete table. There is too much risk that unintended changes get transported.
Are other changes to your table being recorded on a transport request?
If you have another environment(sandbox or project?) try the delete in that environment to convince yourself that it does(or does not )work.
Regards
Greg Kern -
Delete the table entries on db2
Hi,
when iam applying pathces iam getting dump,i want to delete the entires on pat01 table,whats the command to see the tables and delete the entry on pat01,02,03 tables.
ThankuHi Kumarraju,
To get the tables in a database you can use the following command
db2 "LIST TABLES"
The LIST TABLES have many options, with which you can restrict what will be returned. Execute the command to see them:
db2 "? LIST TABLES"
Besides, pay attention to the Type column, which indicates whether the object is a table or a view.
Regarding your second question, I can't follow you: do you want to delete the entries in a table ?
Best regards, Edgardo -
Check who's deleted table entries without SCU3
Hi,
we need to find out which program or user deleted some table entries. The Where-used-list doesn't show anything, so it must be a dynamic call. The table has 'Log data changes' switched on, but we don't have the system logging set due to performance reasons. Is there nevertheless a chance to find out who deleted the entries?
Regards
NicolaRegarding where-used-list, maybe the table is part of a maintenance view, you should check this as well.
If there is no table logging and the changes are not recorded in transport requests, then I'm afraid there is no way to find out.
Thomas -
Marking Z table entry for Deletion
Hi All,
Based on some condition in my program,
I am entrying one entry in Custom Z table.
Also for some other condition,
I need to mark the Table entry for deletion only, but it should not Delete.
So pls guide me for:
1) How to make Custom table entry as Mark for Deletion?
2) When I put Select Query on table, how can I write that do not Select those
Records which are marked for Deletion ?
RishiHi Rishi,
Create a new field of type 'CDXFELD' (Data Type) in the Custom Z table. Now populate that new field with 'X' if it is marked for deletion. Then you can select all those entries which that field 'CDXFELD' = Space.
i.e., if the field 'CDXFELD' = 'X' then it is marked for deletion else not.
Select *
from Zcustom talbe
in to IT_TAB
where CDXFELD = space.
Hope this will help..
Regards,
Ravi.. -
Hi
How can I delete a table entry which was entered in the Table through a Std Txn?
I have heard that there are 3 ways:
1) SM30
2) SE16
3) Debugger
What are the necessary requirements for using each of the above methods? Please guide me through the steps on each.
ThxHi Santo,
1) To Delete a entry form SM30 Transaction .
GOTO SM30 - > Enter the table name -> display -> display / change push button ->
Click on entry which u want to delete -> click the delete button.
2)SE16 -> table name -> click execute -> double click on the required entry which u want to delete ->
on command field enter /h -> enter ->in debugging mode -> Change the value of code to 'DELE' -> Enter
Be careful before deleting any entry.
Regards,
Sachin -
2 entries deleted in PROJ table
Hi Gurus,
2 enteries in the PROJ table got deleted (not sure how it got deleted) and it caused failure in BI process chain during infopackage loading for WBS hierarchies because of inconsistency. The childrens entries exist in PRPS table and they still tied to the Proj No which already deleted in PROJ.
Is there any process to retrieve those entries in PROJ to resolve the issue??
And also any way to track how those entries in PROJ were deleted??'
Please advise.Hi Michelle,
PROJ table has a change document object - PROJ (transaction SCDO). Change documents record changes (insert, update and deletion) to database entries against the change document object.
Check tables CDHDR (header) and CDPOS (item) as to whether you can find your PSP element here with change indicator = D (deletion).
If not - then it's possible someone has written a DELETE SQL command in a Z program. Hence ask your developer to do a WHERE-USED for PROJ table in Z* programs/ classes to determine whether a DELETE SQL command has been coded.
The DELETE SQL is more likely since it appears ONLY the header table entries have been deleted.
Cheers,
Aditya -
Custom table entries suddenly deleted
We have a custom table in our production system that had 14000+ entries last Friday. Now, they're all gone. Production system is not modifiable, no one has authorization to SE16 or SM30 for deletions. No program that deletes the data has been run in this timeframe (based on ST03 data). What other ways could this data have been deleted? We're puzzled.
Kirsten,
you may want to check two things:
1.) Is there a delete or clean-up report for your custom table (check via the where-used list)? If yes it is very likely that someone ran it...
2.) It could also be that something happened directly on DB level. The admin accidentally dropped the wrong table, etc. This is not very likely but I have seen that happening before. Maybe the DB admins can even tell you at which time the table got deleted...
Tim -
How to find out the changes made to the customized table entries
Hi Team
i want to know the changes made to the customized table. i have a 'Z' table in my production system, in that table i would like to know whether any table entry is deleted or not. if at all there is any deletion happened, i want to know who had done it.
So i request you to please let me know the procedure for the same.
Thanks
RajHi Nagaraju,
Go to Table Maintenance (SM30)- Display mode-- Utilities-- change Logs. Give the Date range. before giving the date range click on display status , this will show you If the display is active or not. Kindly please let me know If you need any more information on this.
Regards
Ram Pedarla
Maybe you are looking for
-
Sorry but i have a problem my IPAD has been stolen and i want help to know where is the place of it ? can i send the serial number or anything i want help to know the place of my IPAD and thanks My name is :- Osama Rezk I'm From :- Egypt my icloud ID
-
TOAD giving error 'NO Oracle Client installed'
Hi, I have a peculiar problem. I have installed Oracle 11gr2 64bit enterprise edition and then installed Toad 10.5 Trial. All the installations were successfull and I am able to login to the DB using SQL* PLUS as well as Oracle Propitery tool SQL Dev
-
When trying to do update of Flash Player on a Mac 10.6.8 with Intel processor, I get a box that reads "Convert Text" with a list of word type programs like Microsoft Word Excel etc. ??
-
ITunes 9.0.2.25 - Enable Disc Use Missing
I canot find the "Enable Disc Use" option in the summary screen of this version. I checked the help file and there is nothing there. Need help!!
-
IPhone 4S Suddenly Shut Down And Everything Is Erased
My was texting when my iPhone 4S suddenly shut down and reboot. Onced it was rebooted, the phone's data is gone. - All contacts are gone - All photos are gone - All apps I installed are gone - All text messages are gone - iOS stays in 6 (upgraded fro