Application Development Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 

how to delete records from Ztable

Former Member
0 Kudos

Hi Experts,

i have a requirement like:

i ve a Ztable (YSHR_NRIC) with 10 records, and i ve an internal table itab1 with 5 records, these 5 records from Ztable only.

now i want to delete these(itab1 5 records) records from Ztable.

how can i precede?

thanks in Advance,

sudeer.

3 REPLIES 3

Former Member
0 Kudos

Please press F1 on DELETE.

Rob

former_member598013
Active Contributor
0 Kudos

Hi Sudeer,

Use the below statement to delete the database table entry.


DELETE  dbtab      FROM TABLE itab. 

Thanks,

Chidanand

Former Member
0 Kudos

Hi Sudeer,

The DELETE statement deletes rows in a table.

Syntax

<delete_statement> ::=

DELETE [FROM] <table_name> [<reference_name>] [KEY <key_spec>,...] [WHERE <search_condition>]

| DELETE [FROM] <table_name> [<reference_name>] WHERE CURRENT OF <result_table_name>

For more information check this link

http://www.sapdb.org/7.4/htmhelp/34/ee7fbd293911d3a97d00a0c9449261/content.htm

Cheers!!

Balu