07-02-2010 2:41 PM
Hi All,
I have created custom table ZXXX and table maintenance generator.
I need to maintain data but delete them too. I can update and modify data but how can I delete them ?
Thanks for your answers !
Best regards,
Sandrine
07-02-2010 2:51 PM
Hi,
use the Table mantiance generator or Code in the PAI of the maintaince generator.
With Regards,
Sumodh.P
07-02-2010 3:07 PM
07-02-2010 3:12 PM
Hi
If you have created table maintaince for the table.. Then go to SM30 transaction
Give the table name ie : like ZXXX ( name of the table ) and click on maintain.
Now you will enter into overview screen
.
Here select the record which you want to delete and hit the delete button ( 4th button )
The records gets deleted from the table
Let me know if you need further information.
Regards
Satish Boguda
07-02-2010 3:38 PM
Hi,
Breakpoint has told the exact way.
Do check the maintenance status read,change,delete,insert is marked for the maintenance view
07-05-2010 8:19 AM
Hi,
Sorry I hasn't been clear. I would like to maintain the content of the table in the program.
I've used "Delete ZXXX" but it didn"t work.
Maybe there is another command or parameter ?
thanks,
Sandrine
07-05-2010 8:28 AM
Do an F1 on the DELETE keyword, read the online documentation: [http://help.sap.com/abapdocu_70/en/ABAPDELETE_DBTAB.htm]
07-05-2010 9:20 AM
ok, I found ..
I created an internal table to delete the content of my table ZXXX :
DATA : ws_zxxx TYPE zxxx OCCURS 0 WITH HEADER LINE.
select * from zxxx into CORRESPONDING FIELDS OF TABLE ws_zxxx
DELETE zxxx from table ws_zxxx.
commit work.
it works !
thanks all !
07-05-2010 9:21 AM
ok, I found ..
I created an internal table to delete the content of my table ZXXX :
DATA : ws_zxxx TYPE zxxx OCCURS 0 WITH HEADER LINE.
select * from zxxx into CORRESPONDING FIELDS OF TABLE ws_zxxx
DELETE zxxx from table ws_zxxx.
commit work.
it works !
thanks all !