Entering content frameProcedure documentation Extending a Basic Type Locate the document in its SAP Library structure

Prerequisites

You must have completed the required steps in Extending an IDoc Type .

Note

It can occur that you want to fill table fields which already have an equivalent in the basic type but which are not supplied in the standard system. You therefore do not need to extend the basic type, but rather only the function module that supplies the application fields. In this case, skip the procedure.

Procedure

  1. Choose SAP Menu ® Tools ® Business Communications ® IDoc Basis ® Development ® IDoc types . The IDoc type editor is displayed.
  2. If you have not already done so, create a transport request for your development objects (extension segments, extension, function exit and so on). You can access the Workbench Organizer from the editor by selecting Requests (Organizer). From there, select Request ® Create and reply to the questions which appear on screen. By selecting This graphic is explained in the accompanying text you can return to the IDoc type editor.
  3. Name your extension in accordance with the customer namespace and choose Extension as the development object. Choose This graphic is explained in the accompanying text.
  4. Caution

    The name of your extension should be no more than 8 characters if you wish to use the extension to communicate with partners who are using SAP Releases prior to 4.0. You can only use extension names with more than 8 characters from Release 4.0 onwards.

  5. Choose one of the following options:
  1. Select the basic type which is to be combined with your extension. Confirm your entries.
  2. The basic type is displayed as a tree structure. See the color legend (Utilities ® Color legend).

  3. Position the cursor on the segment where you wish to append the extension segments (the reference segment). Choose This graphic is explained in the accompanying text. You must now assign attributes for these child segments:
  1. You can add further children or "grandchildren" to this or any other reference segment in the basic type.
  2. When the new extension is complete, you can save your entry.

Caution

You should keep the following factors in mind when dealing with extensions:

Example

In the example call your extension Z1ORDERS . Append Z1TEST1 child segment to E1EDP19 reference segment in ORDERS01 basic type. The child segment can be used only once.

Leaving content frame