Entering content frameFunction documentation Workflow Template: Correcting errors in Internet sales orders (SD-SLS) Locate the document in its SAP Library structure

Use

If an error occurs in a sales order or quotation in the IAC "Online Store", the system starts a workflow based on the template SD_KI_WF.

Workflow template: 20000169, abbreviation: SD_KI_WF, name: Correct errors in Internet sales order

Triggering events of the workflow template

The event erroInternetCreate (error creating in the Internet) for object type BUS2032 (sales order) is the triggering event for the workflow template.

Note

This "link" between the event and the workflow template to be triggered is deactivated in the standard system and must first be activated in Customizing for SAP Business Workflow, before the workflow template is actually triggered. (See Preparation and Customizing (SD-SLS).)

Workflow container and binding

As the workflow can only be started if a sales order or quotation is not created because of an error, no object reference to a sales order is available. Event parameter _Evt_Object in the container of the triggering event is initially empty.

The information exists as event parameters in the container of the triggering event and must be transferred to the workflow container via a binding.

As a result, the following binding definition between the triggering event and the workflow container is defined in the standard system:

Workflow container

Event parameter container

MessageType

MessageType

MessageID

MessageID

MessageNumber

MessageNumber

MessageText

MessageText

MessageDetail

MessageDetail

OnlineStore

OnlineStore

OstoreDescription

OstoreDescription

SalesDocumentType

SalesDocumentType

RequestedDelivDate

RequestedDelivDate

PricingDate

PricingDate

SalesOffice

SalesOffice

SalesAndDistribArea

SalesAndDistribArea

OrderingParty

OrderingParty

MaterialList

MaterialList

SalesOrderSimulate

SalesOrderSimulate

PaymentMethod

PaymentMethod

PaymentCardType

PaymentCardType

CardNumber

CardNumber

ExpirationDate

ExpirationDate

These elements have been created in addition to the elements available in the standard system.

Leaving content frame