Application Development and Automation 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: 
Read only

delete a line in table regup

Former Member
0 Likes
1,571

hi gurus,

could you please tell me how to delete a particular record in a standard table REGUP.i have tried to delete it ,but the option is greyed out.

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
1,311

Hi,

Go in debugging mode and delete. Procedure is as follows:

1) select that entry in the SE11 transaction (Data Browser)

2) Type /h in the command window and then press enter

3) Then u can see the code in the debugging mode like this :

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).

4) Click on the 'CODE' field, usually the value is 'SHOW'. Delete that value and type 'DEL' in that place and then press 'Change Contents' button with pencil icon and do F8, now u will be able to see the 'Delete Entry' pushbutton on application toolbar. Just Delete it.

-SatyaPriya

hi gurus,

could you please tell me how to delete a particular record in a standard table REGUP.i have tried to delete it ,but the option is greyed out.

4 REPLIES 4
Read only

Former Member
0 Likes
1,311

do this way ..

write a piece of code in some program

DELETE FROM REGUP WHERE LAUFD = '20040404' .

Try including all the key fields in where conditon ..

Regards,

santosh

Read only

Former Member
0 Likes
1,311

Hi

Write code to delete the same based on your condition

try like this

tables : regup.

data : itab type standard table of regup.

data : wa type regup.

loop at itab into wa.

if condtion

delete regup from wa.

endif.

endloop.

Thanks

Shiva

Read only

Former Member
0 Likes
1,312

Hi,

Go in debugging mode and delete. Procedure is as follows:

1) select that entry in the SE11 transaction (Data Browser)

2) Type /h in the command window and then press enter

3) Then u can see the code in the debugging mode like this :

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).

4) Click on the 'CODE' field, usually the value is 'SHOW'. Delete that value and type 'DEL' in that place and then press 'Change Contents' button with pencil icon and do F8, now u will be able to see the 'Delete Entry' pushbutton on application toolbar. Just Delete it.

-SatyaPriya

Read only

Former Member
0 Likes
1,311

Hi Surya,

If you want to do it through the program then you can use the delete statement ie delete from regup where condition.

or if u have zb30 access then u can try deleting it directly or

go to debugging mode change ok code = del and then delete.

Pls reward if found useful.

Thanks

Shyam