‎2006 Nov 28 1:24 PM
Hello All,
I created a table : <b>T1</b>.
I created a tableType : <b>TType1</b>.
I created a Smartform and Generated it.
It gives me a FunctionModule.
This FM's interface consists of my Table type " <b>TType1</b>".
I deleted the <b>Smartform.</b>I deleted the Table <b>T1</b>.
Now I want to delete the Table Type <b>TTYPE1</b> .
When I'm trying to do so I'm getting a Message saying :-
***********************************************************************
Table type TTYPE1 Still in use
First remove current usage
*************************************************************************
This Table Type is used in the Smartform .But now there is no smartform as I deleted it.
But the Table Type is still in the SMARTFORM's Generated Function Module.
I can't delete this as this is SAP's generated Standard FM.
So the question now is :-
How should I delete my TableType <b>TTYPE1</b> ?
Does anyone have an Idea ??
Regards,
Deepu.K
‎2006 Nov 28 1:36 PM
TRy this This may work ..
Rename Your Table type to Some XYZ other than the name that you used earlier then delete it ...
Please Mark Useful Answers
‎2006 Nov 28 1:47 PM
Hello Patil,
How to rename the Table Type ?
I guess we can only Copy not rename .......................
Regards,
Deepu.K
‎2006 Nov 28 1:53 PM
Hi
The system should have deleted the function module generated for the smartform, but if it seems it don't.
U should delete all function group generated for the smartform by yourself, you can do it registering the object in OSS.
Max
‎2006 Nov 28 2:46 PM
Hello Max,
Can U tell me how to register the object in OSS ?
Regards,
Deepu.K
‎2006 Nov 28 2:58 PM
when you try to delete the object get the id object and got <a href="https://websmp102.sap-ag.de/~SAPIDP/002006825000000234912001E">here</a> , but you have to have an account.
Max
‎2006 Nov 28 2:49 PM
Keep a break point at the message and by pass the message in debug mode.
YOu are sure that you want to delete it and the table types are not used anywhere else in the system, then you can just by pass the error condition in debug mode.
Regards,
ravi
‎2006 Nov 28 2:56 PM
Hello Ravi,
I tried it previously................
But I couldnot stop at the exact position.
Now I kept a break-point at statement "MESSAGE" and checked the condition and changed it.
Now I was able to delete it.
Thanks for ur Input.
Points are awarded (; (; (;
Regards,
Deepu.K
‎2006 Nov 28 3:01 PM
Hi
If you want to skip the message insert a break-poiny at the beggining of fm TADIR_OBJECT_CHECK.
But remember you have to delete all function group, not only the function module.
Max
‎2006 Nov 29 6:22 AM
hi
go to the table-type in display mode.
or go to se11, type in the tabletype name.
click on the where-used list.
it will show you the places wherever the table-type is used.
u can erase the same and then activate that objects.
now come back to se11 and perform the delete operation.
thanks
pavan