Show TOC

 Example Workflow for Changing Business Partner Name

 

The workflow template 56200001 (UMC_BP_CHG) is an example workflow that is used to show how to use the BCONT_UMC business object to trigger a workflow to change the name of a business partner. The workflow has been fully integrated with the SAP ERP Customer Contact Transactions (BCT1 and BCT2). The back office agent can find the workflow work item link from the Business Objects tab page, and navigate to the work item to approve or reject the request. The details for each major step of the workflow are also recorded in the internal note of the workflow.

Features

The following workflow Standard Tasks are available for the workflow:

Task

Task ID

Description

UMC_BPCHGT01

TS56200002

Instantiate business partner object (BO BUS1006)

UMC_BPCHGT02

TS56200007

Update business partner in the background (BUS1006; method Change)

UMC_BPDETAIL

TS56200003

Get details for the business partner, for example, address-independent E-mail (BUS1006; method Getdetail)

UMC_ADDOBJ

TS56200010

Add Work Item link to linked business object BCONT_UMC and method AddObjects

UMC_OBJLIST

TS56200012

Get Work Item objects with role list (ABAP Class CL_ISU_UMC_API_WORKFLOW; method PREPARE_OBJECT_LIST)

UMC_ADDTEXT

TS56200006

Append a text lineText to business partner contact (BO BCONT_UMC; method AppendText)

UMC_BPADGUID

TS56200004

Get business partner address GUID (BUS1006; method GetAddressNumbers)

UMC_BPADDETL

TS56200005

Get business partner address-dependent details, for example, E-mails (BUS1006; method GetAddressDetail)

UMC_EMAILOK

TS56200008

Send out “processed” E-mail

UMC_EMAILNOK

TS56200009

Send out “rejected” E-mail