
Preparation and Customizing (SD-SLS)
Use
In addition to the general Customizing procedures that must be performed to make sure workflow system functions properly, several other customizing steps are necessary for this workflow template.
Activities
Processing the organizational structure
Various users are able to check and correct errors in Internet sales orders. These users must be entered in Customizing for SAP Business Workflow. Only those users responsible for handling incorrect Internet sales orders in the sales office or sales areas are to be selected.
First assign a sales order to the online store by choosing Logistics - General ® Logistics Basic Data: Product Catalog ® Internet-application components.
In the container of the triggering event, the sales office and sales area are copied to parameters SalesOffice and SalesAndDistribArea. From here, they are transferred via a binding to the workflow container, and from there to the role container for standard role 20000045 (agent for Internet sales orders), which carries out role resolution in workflow. If this container includes a reference to a sales office, the employees responsible for this sales office are determined. If this role resolution leads to no employees being determined, or the container does not contain a sales office (because one is not defined for the online store), employees transferred for the sales area are selected.
Enter your organizational plan by choosing Customizing activity Basis Components
® Business Management ® SAP Business Workflow ® Edit organizational plan.Execute Customizing activity Basis Components
® Business Management ® SAP Business Workflow ® Basic Settings ® Maintain assignments for SAP organizational object types, and enter the SAP organizational object types Sales office (object type TVBUR) and Sales area (object type BUS0006003), if necessary. List all organizational management object types that are used to correct errors in Internet store orders, such as positions and/or organizational units.You then use transaction PFOM to assign the appropriate sales office (object type TBVUR) or sales area (object type BUS0006003) to the organizational units and/or positions that represent the sales office or sales area responsible.
Performing task-specific Customizing
Classify the general tasks.
You assign tasks in Sales and Distribution as follows:
Activating event-receiver linkage
Event ErrorInternetCreate (error creating in Internet) for object type BUS2032 (sales order) is the triggering event for workflow template 20000169 (correct error in Internet sales order) and as such is entered as standard in the event linkage table. So that the workflow template is actually started, you must activate the linkage between the triggering event and the workflow template, as the receiver of the event, in Customizing for SAP Business Workflow.
Activate the workflow template SD_KI_WF in your system as follows:
(Alternatively, you can activate event-receiver linkage by working directly in the workflow template)