How to drop a field/column of table in dictionary
Do anyone know standard class or method or any abap code can used to delete/drop a column in a table?
The table is a not internal table and also not ALV table.
ALTER TABLE source DROP COLUMN CLIENT
I have tried something like but it did not work.
Thanks for help in advance.
Raymond Giuseppi replied
I hope those are customer table or at least copy of table into customer namespace...
Could you try to LOOP AT your table names list and execute DDIF_TABL_GET to get original table description, then remove client MANDT and create a new table (in customer namespace) with DDIF_TABL_PUT, commit work and DDIF_TABL_ACTIVATE.