New Table Fields and New Tables

Many of the applications participating in an application object need to be able to extend data maintenance with their own fields or even their own tables. The sections below describe the different options for doing this.

New Table Field Using Owning Application

An application already integrated its table fields into data maintenance. Now there is an additional data field that is also to be included in the dialog.

Activities:

  • Extend table in DDIC

  • Extend screen layout/screen sequence with the new field (see New Object Part )

New Table Field Using Participating Application

An application wants to attach a field to the table that belongs to another application and make this field maintainable in dialog. The following activities are necessary:

  • Create APPEND structure for the table in the DDIC

  • Define application if you have not already done so (see Basic Settings , Applications).

  • Assign the application to the object part if the application object uses divisibility and the application is not yet assigned (see Divisibility , Object Parts)

  • Extend screen layout/screen sequence with the new field (see New Object Part )

  • Create program logic for events (see Program Logic )

  • ISSTA Initialize

  • ISDST Distribute data

  • XCHNG Were changes made?

  • DSAVB Collect data

  • DLVE1 Initialize current memory

Note: SAP policy has it that a table should only be extended by additional fields after first consulting with the owning application. Alternatively, you can also create new tables and integrate them into the dialog.

New Tables

An application wants to extend the dialog with its own tables. The following activities are necessary:

  • Create table in DDIC

  • Define application if you have not already done so (see Basic Settings , Applications).

  • Assign the application to the object part if the application object uses divisibility and the application is not yet assigned (see Divisibility , Object Parts)

  • Enter table in the table directory (see Tables )

  • Extend screen layout/screen sequence with the new field (see New Object Part )

  • Create program logic for events (see Program Logic )

  • ISSTA Initialize

  • ISDAT Read data

  • XCHNG Were changes made?

  • DTAKE Transfer data

  • DSAVC Complete data

  • DSAVE Save data

  • DLVE1 Initialize current memory

  • DLVE2 Initialize global memory.

  • Integrate table in change document lists