转 Delegate a Subtype to Supertype

Delegate a Subtype to Supertype

By Richa Gupta, Sparta Consulting from Link

Purpose:

When a workflow is created using a Business Object, then sometimes it is needed to customize the Business Object. In such a case, we need to delegate the customized Business Object to the original Business Object.

Steps for Delegation:

Go to SWO1 and create a subtype of supertype 'QMSM' by clicking on 'SUBTYPE' button:

转 Delegate a Subtype to Supertype 

Specify the following details :  

转 Delegate a Subtype to Supertype

Now the subtype will be created. Now to create a new method in subtype 'ZQMSM', click on METHODS and then click on create button:  

It will ask you if you want to create method with the help of some existing function module or not. Here, we will create it with the help of function module 'ZFI_GET_MANAGER'. So click on YES tab:  

转 Delegate a Subtype to Supertype 

Specify the function module name and you will get the following screen:  

转 Delegate a Subtype to Supertype

Click on right arrow button until you get the following screen :

  转 Delegate a Subtype to Supertype

Click on method just created and follow the below menu path to release the same:  

转 Delegate a Subtype to Supertype

Also, you need to implement and release the object type as a whole. To do the same, select object type and follow the below menu path:  

转 Delegate a Subtype to Supertype

Now to delegate the subtype to supertype, go to initial screen of SWO1 and follow the below path:  

转 Delegate a Subtype to Supertype

Go into change mode and select NEW ENTRIES tab to create a new entry :  

转 Delegate a Subtype to Supertype

Specify the following details:  

转 Delegate a Subtype to Supertype 

Save the entry and assign it to a TR.

你可能感兴趣的:(delegate)