cancel
Showing results for 
Search instead for 
Did you mean: 

Add include structure to tables using DDIF_TABL_PUT

tamitdassharma
Active Participant
0 Kudos
545

Hi Experts,

I have a requirement wherein I have to add a structure to many tables, 185 to be precise. Manually this can be done using Edit > Include > Insert from the SE11 transaction after opening the table. But this would consume a lot of time.

However, for a fact, I am aware that the function module DDIF_TABL_PUT can be used to create a table (transparent) programmatically. But can the same be used for updating the tables with this new structure?

It would be of great help if you can share your experience or provide some insight on this.

Regards,

TK

Accepted Solutions (0)

Answers (1)

Answers (1)

raymond_giuseppi
Active Contributor
0 Kudos

Perform a where-used search on the FM, filter on program containing NOTE, you will find many samples provided by SAP in some notes to modify ddic objects.

You could also look at

  • DDIF_TABL_GET
  • DDIF_TABL_ACTIVATE
  • TR_OBJECT_JUMP_TO_TOOL with action TRANSPORT
tamitdassharma
Active Participant
0 Kudos

Hi raymond.giuseppi,

I tried a GET and then enhanced the DD03P table with the new field detail and then Activate FM. It worked, but now I need these changes to be locked in a transport.

By any change do you know how we can add these to a TR?

Regards,

TK

raymond_giuseppi
Active Contributor
0 Kudos

I already provided such a FM (but there are many ones in many threads/discussions) or you could submit report RADMASG0.