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

Object deleted from a Request/Task

Former Member
0 Likes
4,058


Hi Experts,

When an object(Table Definition/ Transaction/ Program) saved under a request/task is deleted from the repository, in which sap table I can get an indicator (flag) that the object is deleted?

Thanks in advance.

Shahanaz.

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
2,832

Hi,

You can check it in table E071.

The field Objfunc will contain the information of deletion. The value in this field would be D.

If the request is released then check with the Request number , else check with the task.

Thanks and Regards,

Sriranjani Chimakurthy.

13 REPLIES 13
Read only

Former Member
0 Likes
2,833

Hi,

You can check it in table E071.

The field Objfunc will contain the information of deletion. The value in this field would be D.

If the request is released then check with the Request number , else check with the task.

Thanks and Regards,

Sriranjani Chimakurthy.

Read only

0 Likes
2,832

Hi Sriranjani,

I have checked the same. Object is deleted from repository. It is still assigned to the request. But in E071 table the field you mentioned is not getting updated with 'D'. It is still blank. Any other suggestions?

Thanks,

Shahanaz.

Read only

0 Likes
2,832

Hi Shahanaz,

Can you try searching in E071 with the object name , may be it is locked in some other request?

Thanks and Regards,

Sriranjani Chimakurthy.

Read only

0 Likes
2,832

Hi,

Table TADIR.

Just select the Del Flag 'X'

Del flag Field gives info of deleted Objects.

.. Chandra..

Read only

0 Likes
2,832

Hi,

Please check TADIR table, it holds all the objects created and there is a field "DEL_FLAG" in it and it holds value 'X' for an object which is deleted.

Read only

0 Likes
2,831

Hi Hussain,

I guess, you want to delete the tagged object from your TR. To do that just sub request and then click on change button-> you will receive a POP like below click on continue. It will un-tag the object from the TR. Some times it say it say it is locked but still press yes and it delete it.

Hope it helps.

Regards,

KangArun

Read only

0 Likes
2,831

Hi Sriranjani,

Object has not been locked in any other request. I tried to simulate the same scenario.

I deleted a table assigned to a request, that time E071 table is updated with value 'D' field OBJFUNC (indicating object deleted). But when I did the same for Program and domain, it didn't update the field OBJFUNC. Do you have any idea why it work so?

Thanks,

Shahanaz.

Read only

0 Likes
2,831

Hi Chandra & Syed,

TADIR table didn't have any impact when I simulated the above mentioned scenario. Any other suggestions?

Thanks,

Shahanaz.

Read only

0 Likes
2,831

TADIR will only get this information at release time.

Regards,

Raymond

Read only

0 Likes
2,831

Hi KangArun,

I don't want to delete the object manually like you mentioned in the above post. Already the object is deleted (Table from SE11, Program from SE38 like that). But still those objects are assigned to the request/task. So I want to check in standard table which field gets updated will a deletion indicator properly when an object gets deleted from a request.

Hope I made the query clear.

Thanks,

Shahanaz.

Read only

0 Likes
2,831

Hi,

Can you check this table TLOCK with the task number.

Ignore this, as TLOCK contains information of all the locked objects.

Thanks and Regards,

Sriranjani Chimakurthy.

Read only

Former Member
0 Likes
2,831

Hi,

As per my knowledge SAP has not provided such information in one table . But, you can get this details by creating an SAP query or small customized program with combination E071 and PROGDIR tables.

Step1: Pass TR to E071 and take all relevant objects. For tables if OBJFUNC eq 'D' that means its been delete from the repository.(This one you know              already).

Step2: Pass step 1 objects to PROGDIR table with condition (STATE = 'A' OR 'I'). If sy-subrc = 0. that means object has been deleted from repository.

Regards,

KangArun. 

Read only

Former Member
0 Likes
2,831

Hi,

I found that when you create request, it's objects entry made into the table E071.

But once you delete object from request it will also delete from the table, i.e no deletion flag maintain

for this. Directly delete from table.

Regards,

Ravi Pratap Singh