01-31-2007 6:54 PM
Hi all,
I want to find out if a structure or table type already exists in the DDIC. I intend to use the DDIF_TABL_GET function module and catch the exception raised but I am not sure if this 'illegal input' exception is only raised if a structure does not exist in DDIC. Is it the right way or is there a function module or static class method which can return me this info stg. like DDIC_OBJECT_EXISTS or not . I have the same problem for the table types too, but I think the solution must be similar...
Kind Regards,
Sükrü Ilker Birakoglu
01-31-2007 6:58 PM
01-31-2007 6:59 PM
01-31-2007 7:03 PM
02-01-2007 8:38 AM
Hi all,
Thank you for your answers. I also found an alternative way for solving the problem. If you call the function module DDIF_TABL_GET with the state parameter set to 'M' (get the object regardless of its state(active, new)), the export parameter GOTSTATE shows us if the object in DDIC exists or not(if this parameter is space, then the object does not exist).
Kind Regards,
Sükrü Ilker Birakoglu