Delete entries in table LATP_ENQ
Hi
I have a problem with some incorrect entries in table LATP_ENQ.
Dose anybody know how I am able to delete them?
We are using SAP ECC 6.0
Kind Regards
Anna
I have already done both. But I can't find any helpful notes. And the OSS has not answered yet.
I hoped that someone else had this problem before me.
Kind Regards
Anna
Edited by: Anna Engström on Apr 20, 2011 12:17 PM
Similar Messages
-
How to delete entries in table HRP1000
Hi,
I have lots of expired entries in HRP1000 in SRM system. (Around 26 million)
Do you know how/which report help me to delete the expired data?
I guess the below options:
1. use report to delete them in SRM directly?
or
2. use report to delete them in ERP/HR system and synchronize with SRM?
Thanks
JiayiHi,
this report only helps to find expired data.
now I found report RHUNIT00_BASE helps to consolidate the redundancies
Thanks
Jiayi
Edited by: Jiayi Wang on Jun 25, 2010 9:40 PM -
SRM-EBP: How to delete multiple entries in table BBP_DOCUMENT_TAB easier?
We are running SRM 4.0 EBP on classic scenario. I want to delete entries in table BBP_DOCUMENT_TAB easier and faster using FM BBP_DELETE_FROM_DOCUMENT_TAB. Is there a standard program that calls this FM so that inputting the entries will be faster? I see only CLEAN_REQREQ_UP but does not serve the purpose. If none, how can I develop a program to achieve this? Please help SRM Consultants.
Hi,
Please check note 535765, in it there is a special report that deletes entries from this table.
I hope this helps,
Kind Regards,
Lisa -
Maintaining table LATP_ENQ
Hi experts,
does anybody knows how it is possible to maintain the table LATP_ENQ? With regards to snote 682613 we found wrong entries in table LATP_ENQ that have to be deleted. But since we have implemented also snote 1420281 it is not possible to maintain this table by using SE16N any longer.
So, but how can I delete wrong entries in LATP_ENQ, now?
Thanks, and Regards,
MaikHi Maik,
You have entered your question in the MM forum and your question belongs to SD. You will get the answer from the SD experts if you enter it in the right forum.
Best Regards,
Arminda Jack -
Hi folks,
I have delete program to delete entries from a custom table and has only one feld in it.
tables: ZABC
selection-screen begin of block B1 with frame title text-110.
select-options: P_KOSTL for ZABC-KOSTL.
selection-screen end of block B1.
delete from ZABC where KOSTL in P_KOSTL.
Upon executing I am entering certain cost center ids on the selection screen to delete them from the table.It did not work.
what is it I am missing?
Thanks,
SKHi,
Try this sample code..Replace ZABC with your table..
TABLES: ZABC.
selection-screen begin of block B1 with frame title text-110.
select-options: P_KOSTL for ZABC-KOSTL.
selection-screen end of block B1.
START-OF-SELECTION.
* Delete the records from the table.
DELETE FROM ZABC where KOSTL IN P_KOSTL[ ]. " [] for the select-options.
IF sy-subrc <> 0.
ROLLBACK WORK.
ELSE.
COMMIT WORK.
ENDIF.
Thanks,
Naren -
Is there any BAPI or function module to delete entries from a table (VBAK)
Hi Everybody,
this is my first thread in SDN...
my problem follows...
A report is be created that selects all sales orders created by e-Sales that are more than 20 minutes old and still have a delivery block:
tables:
VBAK sales document: header data
selection fields:
VBAK-LIFSK ≠ <BLANK>
VBAK-ERNAM = userID used by e-Sales / IVE
(EP-BATCH / EAI-BATCH)
VBAK-ERDAT <= Current system Date
VBAK-ERZET <= Current system Time - 20 minutes
These orders should be deleted from SAP system.
This report should be scheduled to run regularly every 10 minutes.
my doubt : is ther any BAPI or Function module to delete entries from a standard table...if no what is the way to delete the enteries from a std table...
best replies will be rewarded....
regards
ReddyHi Vasanth ,
thanks for your reply.
i tried in the same manner what u mentioned.
but how to pass only one parameter to the functionmodule..
here in this case we have to pass only update flag as 'D'..
i did the same it giving dump..
An exception occurred that is explained in detail below.
The exception, which is assigned to class 'CX_SY_DYN_CALL_ILLEGAL_TYPE', was
not caught and
therefore caused a runtime error.
The reason for the exception is:
The call to the function module "BAPI_SALESORDER_CHANGE" is incorrect:
In the function module interface, you can specify only
fields of a specific type and length under "ORDER_HEADER_INX".
Although the currently specified field
"INT_ORDER_HEADER_INX" is the correct type, its length is incorrect.
my pgm :
*& Report YNEW_ORDER_DELETION
REPORT ynew_order_deletion.
TABLES:vbak.
PARAMETERS:
p_lifsk LIKE vbak-lifsk DEFAULT '02'.
SELECT-OPTIONS:
s_lifsk FOR vbak-lifsk DEFAULT '10',
s_ernam FOR vbak-ernam,
s_erdat FOR vbak-erdat,"DEFAULT sy-datum.
s_erzet FOR sy-uzeit.
*PARAMETERS:
p_erzet LIKE sy-uzeit.
s_erdat like vbak-erdat,
s_erzet like vbak-erzet.
DATA:
BEGIN OF int_final OCCURS 0,
w_vbeln TYPE vbak-vbeln,
END OF int_final.
DATA:
int_return LIKE bapiret2 OCCURS 0 WITH HEADER LINE.
DATA: int_order_header_inx LIKE bapisditmx OCCURS 0 WITH HEADER LINE.
DATA:
wf_time TYPE sy-uzeit.
INITIALIZATION.
s_ernam-low = 'KULKARMA'.
s_ernam-sign = 'I'.
s_ernam-option = 'EQ'.
APPEND s_ernam.
s_ernam-low = 'EAI-BATCH'.
s_ernam-sign = 'I'.
s_ernam-option = 'EQ'.
APPEND s_ernam.
wf_time = sy-uzeit - 1200.
p_erzet = sy-uzeit - 1200.
p_erzet-low = wf_time.
APPEND s_erzet.
int_order_header_inx-updateflag = 'D'.
APPEND int_order_header_inx.
START-OF-SELECTION.
SELECT vbeln FROM vbak
INTO TABLE int_final
WHERE lifsk EQ p_lifsk
AND ernam IN s_ernam
AND erdat IN s_erdat
AND erzet IN s_erzet.
IF sy-subrc = 0.
LOOP AT int_final.
CALL FUNCTION 'BAPI_SALESORDER_CHANGE'
EXPORTING
salesdocument = int_final-w_vbeln
ORDER_HEADER_IN =
order_header_inx = int_order_header_inx
SIMULATION =
BEHAVE_WHEN_ERROR = ' '
INT_NUMBER_ASSIGNMENT = ' '
LOGIC_SWITCH =
NO_STATUS_BUF_INIT = ' '
TABLES
return = int_return
ORDER_ITEM_IN =
ORDER_ITEM_INX =
PARTNERS =
PARTNERCHANGES =
PARTNERADDRESSES =
ORDER_CFGS_REF =
ORDER_CFGS_INST =
ORDER_CFGS_PART_OF =
ORDER_CFGS_VALUE =
ORDER_CFGS_BLOB =
ORDER_CFGS_VK =
ORDER_CFGS_REFINST =
SCHEDULE_LINES =
SCHEDULE_LINESX =
ORDER_TEXT =
ORDER_KEYS =
CONDITIONS_IN =
CONDITIONS_INX =
EXTENSIONIN =
ENDLOOP.
LOOP AT int_return.
WRITE:/ int_return-type,
int_return-id,
int_return-number,
int_return-message.
ENDLOOP.
ENDIF.
please help me ..its a very urgent issue to be solved...
am waiting for ur reply...
regards
gangareddy -
To delete multiple entries in table control in module pool
Hi,
Please help me out to know , <b>how to delete multiple entries from table control</b> when multiple lines in table control are selected.
Regards,
Irfan Hussainhai,
you can do it inthis way.
in the PAI event.
loop at <table control name>
module del_itab.
endloop.
in the nodule,write the folowing code.
if <tablecontrol>-fieldname = 'X'.
delete <tablecontrol-itab>
endif.
cheers -
How to delete entries in the T030 table with LSMW?
Hi all,
I need to delete 600 entries from T030 table (Fix account table), Tcode OBYG, and I want to use a legacy for this,
but I don´t know how or if is possible delete entries from a table with a legacy.
Thanks in advance!You Can Use SCAT instead.
-
Delete entry or change entry in sap table
Hi Gurus,
i want to change or delete entry in VBEP.
points sure!
Rahulhi guys ,
its very easy ,
go for se16 , fetch all the records which are required to delete ( use only se16 lay out)
after fetching the records just enter ' /H ' in the command bar
and then double click on any of the enter , then u fill go to debugging screeen and then just press F7
u will find the following code
form set_status_val tables ntab structure x031l
using code name next for_lines.
field-symbols: .
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'.
then just click on CODE and pass value as DELE and press F8
AND THEN U CAN DELETE ALL THE ENTRIES -
How to delete entries in COSP table?
Dear experts
How to delete the transactions posted in COSP table from my testing client.
The reason is user has created wrong cost element and posted the transactions. But they don't want this as cost element.
I have deleted entries in COEP table by running the program RKACOR20.
After that I tried to delete the cost element. Now it is showing that "Deletion is not possible (dependent records exist in table COSP)"
Now the question is how to delete these transaction posted to COSP table.
Regards
KiranHi Experts,
I'm facing exactely the same issue on a customer system
COEP line deleted via RKACOR20
COSP total amount stil exist, need to be cleaned.
Does it exist a program that read COEP to update COSP ?
Any update ?
Thanks a lot for your help.
Best regards,
Jean -
Delete entries from Database table t71inp1
Hi,
I want to Delete entries from Database table t71inp1. Its a H R Table. I want to know the exact code.
i saw the cide delete bkpf where usnam = p_name.
Will it work the same here. Also.
Please let me know.
I hope to get reply from you soon.
where should i write the code. i.e. Tcode SE38 and directly deeleting write the code.
Please give me some inputs. I am new to H R ABAp
Shivakumar K B
919886920258hi
You can write a program in se38.
create a program.
use delete from t71inp1 where<condition> command in it. -
Delete entries over 1 month old in parent and child tables
Hi guys,
Im new to oracle (2days old) and im struggling to find out how to delete all entries over 1 month old in a database but also delete entries from the child table. I have read about delete cascading etc but im really strugging at the moment. Any tip or ideas? thank youYou just need to delete data in parent table using the right WHERE clause that requires some timestamp column that stores data age. If the foreign key constraint is created with ON DELETE CASCADE child rows are automatically deleted.
Assuming P is the parent table and C the child table and the timestamp column is stored in the parent table here is an example.
SQL> create table p(px int primary key, d date);
Table created.
SQL> create table c(cx int, cy int references p on delete cascade);
Table created.
SQL>
SQL> insert into p values(1, '01/01/2011');
1 row created.
SQL> insert into p values(2, '15/01/2011');
1 row created.
SQL> insert into p values(3, '31/01/2011');
1 row created.
SQL> insert into c values(10,1);
1 row created.
SQL> insert into c values(20,2);
1 row created.
SQL> insert into c values(30,3);
1 row created.
SQL> commit;
Commit complete.
SQL>
SQL> delete p where months_between(sysdate, d) >= 1;
2 rows deleted.
SQL>
SQL> select * from p;
PX D
3 31-01-2011
SQL> select * from c;
CX CY
30 3
SQL>Edited by: P. Forstmann on 15 févr. 2011 13:45 -
Size or delete unwanted entries from tables AllDocStreams,AllDocVersions,EventCache,EventLog of Sharepoint 2010 content database:
We using powershell scripts to migrate data between two sharepoint 2010 sites .
While doing migration we delete all document libraries & list form destination site and then run powershell to migrate data from source to destination. We following this process
twice in a week.
But in doing so we found the above mention tables (AllDocStreams,AllDocVersions,EventCache,EventLog ) of destination Sharepoint Content database are growing at an alarming rate.
Wish to know how could get rid of unwanted data stored in these tables.Hi,
This is old thread but here is your answer for some of the tables you mentioned
http://blogs.msdn.com/b/sowmyancs/archive/2012/06/29/alldocversions-amp-alldocstreams-table-size-after-upgrading-to-sharepoint-2010.aspx
Cheers -
Retrive deleted entries in CATSDB table
Hi,
We are facing an issue where CATSDB table entries have got deleted accidentally while running the program RCATSDEL. This has resulted in all time entries being deleted in time entry related tables. Is there any way we can reload/retrieve the deleted data in the system at DB level? We are using SQL server for storing the data.
Appreciate your help,
~AthreyaFirst, I should warn you that it isn't just about the CATSDB table. See the Technical Background Information chapter of the application help in order to understand the complexity of CATS. Depending on your system configuration (which modules are in use), the restore process can vary from semi difficult to very difficult. First talk to your ABAP developer to analyze report RCATSDEL in order to figure out what tables are involved and then include the respective system analysts (HR, FI/CO, PS, MM). Once you know the list of involved tables, you can talk to your DBA about restoring the tables (assumed you have backups) to a temporary DB which you can then use to rebuild the CATS entries. Depending on the system configuration post-processing and/or manual activities might be required and that is where you will need the help of your ABAP developer and system analysts.
-
Deleting entries from custom tables....
Hello,
I have a custom table ZCUST (client dependent) from where I want to delete all entries. How do I achieve this ? There are two key fields in this table key1 and key2.
Regards,
Rajesh.Hi Rajesh,
try this one...
DATA: lt_add TYPE zadd OCCURS 0 WITH HEADER LINE.
SELECT *
FROM zadd
INTO TABLE lt_add.
DELETE zadd FROM TABLE lt_add.
IF sy-subrc = 0.
ULINE.
ENDIF.
Best regards,
raam
Maybe you are looking for
-
Hello. I have a 13 inch MacBookPro that I purchased in December, 2010. It's an OS X. I went to the Apple Store yesterday and I was fiddling with the other MacBookPro's there, and I was on Photobooth. I noticed that there are some new effects like "Di
-
Assign users to multiple books
Hi experts, we want to assign many books to one user. Am I right, that there is no child-object for books on users? When I want to determine to which books a users belong, do I have to iterate to all books? Thanks in advance Michael
-
Update of FAGLFLEXT after new field added
Hello guys, I have added a new field from BSEG into FAGLFLEXA/T following the standard process (OXK3...). I now need to update the historical values recorded into FAGLFLEXT from the go live... Is there any tool similar to the transcaction GCU1/N for
-
Hi, I've just got the first of my TS-140s today which we are planning for lab use. We need to connect these servers up via 10G NIC and/or 4G Fibre Channel. I know these are low end servers but we tend to use SAN connectivity for our lab servers (curr
-
Why am I getting Warning: 5004?
Why am I getting "Warning: 5004: The file 'C:\Program Files\Adobe\Adobe Flash CC 2014\Common\Configuration\ActionScript 3.0\FP9\playerglobal.swc', which is required for typechecking ActionScript 3.0, could not be found. You may need to reinstall Flas