Show TOC

Creating a Personal SubstituteLocate this document in the navigation structure

Use

This action creates a personal substitute for a Workflow item. To do this, you must execute a POST request on the Substitution collection.

To create a personal substitute:

  1. On the SAP Gateway system, go to transaction SPRO, open the SAP Reference IMG and navigate to Start of the navigation path SAP NetWeaver Next navigation step SAP Gateway Next navigation step OData Channel Next navigation step Administration Next navigation step General Settings Next navigation step Activate and Maintain Services End of the navigation path.

  2. Select the Workflow service.

  3. Choose Call Browser.

  4. Execute a POST request on the SubstitutionCollection.

  5. Fill in a request body, as shown in the example below:

            <atom:entry xmlns:atom="http://www.w3.org/2005/Atom"> 
        <atom:id />
        <atom:author /> 
         <atom:content type="application/xml">
                <m:properties xmlns:m="http://schemas.microsoft.com/ado/2007/08/dataservices/metadata" xmlns:d="http://schemas.microsoft.com/ado/2007/08/dataservices">
                        <d:user><user_name></d:user> 
                        <d:activated></d:activated> 
                        <d:profile><profile name></d:profile> 
                        <d:full_name></d:full_name> 
                        <d:begin_date m:Type="Edm.DateTime">2011-11-15T00:00:00</d:begin_date> 
                        <d:end_date m:Type="Edm.DateTime">9999-12-31T00:00:00</d:end_date> 
                </m:properties>
                </atom:content>
        <atom:title>Substitution</atom:title> 
        <atom:updated></atom:updated> 
  </atom:entry>
         
  • The field user is mandatory.

  • To obtain the profile name to use for this action, follow the steps described in the Substitution Profiles Collection section. The use of a profile is optional.

  • If there is no begin date, the default value used is the current date.

  • If there is no end date, the default value used is 9999-12-31.