Creating an Append Structure for the Master Data

Use

When creating an application/contract offer/contract , you have the option of copying the relevant master data from an existing application/offer/contract.

When you copy the master data, by default certain fields (the fields of the structure RVDARL_CLEAR in the data dictionary) are not copied. By adding an append structure to this structure, you can prevent the data of other fields from being copied to master data screens. These fields then appear as undefined fields.

Procedure

Creating an append structure for the master data

  1. Choose Start of the navigation path Tools Next navigation step ABAP Workbench Next navigation step Development Next navigation step ABAP Dictionary. Next navigation step In the End of the navigation path ABAP Dictionary Initial Screen select the field Data Type and enter the following table: RVDARL_CLEAR.

  2. Choose Change. The system displays the data structure of the fields that are not to be copied on the tab page Components in the screen ABAP Dictionary: Display Structure .

  3. If an append structure already exists, you can add this to the structure using the pushbutton Append Structure . To create a new append structure, choose Start of the navigation path Goto Next navigation step Append Structure Next navigation step . In the dialog box End of the navigation path Append to Table RVDARL_CLEAR enter a name (which you are free to define) in the customer namespace of the structure you want to append and choose Enter .

  4. You can make entries in the append structure in the screen Dictionary: Maintain Structure. Enter a short description for the structure. On the tab page Components , enter the other fields (apart from table RVDARL_CLEAR) that you do not want to copy.

  • Components : Enter the field names

  • Component Type : Enter the data element

Note Note

You can select all of the master data fields in the table VDARL. The selected fields are not then copied. The name of the component and the component type must agree with the name of the fields or the field type in the table VDARL.

End of the note.
  1. Choose Activate. Enter the c ustomer development class and choose Enter. Go back to the screen Dictionary Structure: Display . The append structure has been added to the tab page Components . By double clicking you can view the structure. The system will not copy the data in the selected fields when you execute the function Copy Contract.

Deleting an append structure

  1. Choose Start of the navigation path Tools Next navigation step ABAP Workbench Next navigation step Development Next navigation step ABAP Dictionary. Next navigation step In the End of the navigation path ABAP Dictionary: Initial Screen, select the field Data Type and enter the name of the append structure.

  2. Choose Delete and then choose Yes . The system deletes the append structure.