In SAP E-Commerce, the customer has the option to enter orders in a Web shop. Customers can specify their customer requests in the order header, by entering a long text.
With the help of the workflow Long Texts in Sales Orders, the employee responsible is informed that an Internet order has been entered with a long text, and is asked to postprocess the sales order.
Note
This scenario is only valid in the Business-to-Customer scenario for texts at header level of the sales order (text type 1000).
Situation |
Action |
Internet order with maintained long text |
The Internet order is blocked for transfer to SAP ECC, and the employee responsible is asked to modify the document. |
The Text Type field is available in Customizing for transaction types. If the text created in Internet Sales needs to be processed in the sales order, you must choose text type 1000 (customer requests). Make this setting in Customizing, at
. Choose processing of the transaction type at header level.The event linkage for the event ToBeCompleted for the workflow WS10000225 is deactivated by default, and if you want to start the workflow template, it has to be activated again in Customizing. The workflow task processors must also be maintained.
You can find both activities in Customizing, at
.If a long text has been created for an incoming order from the Web shop, this order cannot be directly transferred to SAP ECC. The sales order is blocked for transfer, and a work item is generated for the employee. This work item informs him or her that the document needs to be revised. Once it has been processed, the employee deactivates the Do not distribute flag in the sales order. The work item is deleted, and the sales order is transferred to SAP ECC.
The following information is of a technical nature. You need this information if the implementation details are relevant to you, or if you wish to make your own enhancements.
Workflow Template
The actual procedure is implemented in the workflow template WS10000225 (CRM_O_Handl.).
Triggering Events for the Workflow Template
The event ToBeCompleted is entered for the object category BUS2000115 (sales transaction CRM), as a triggering event.
Object Types
The method CrmSalesprocessEdit and the events ToBeCompleted (triggering event) and ReleaseForTransfer (terminating event which is generated using status management) are made available using the following business object:
BUS2000115 (sales transaction CRM)
Rule
Use the Order_get_users_of_roletype (10000140) rule, to determine the employee responsible in the workflow template. The rule expands the partner function types in SAP CRM. (It is used with the RoleType = 0008 input parameter). However, you can also assign other rules or specific processors.