Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Status
titleADD-ON 200 SP 3

Table of Contents

Summary

Activity dispatching

Assignment of an activity to a crowd technician triggers control key change of the service order’s operation. A purchase requisition is created based on data from the technician’s vendor’s agreement.

Activity release

Releasing the activity triggers release of the purchase requisition and creation of a purchase order. Such a purchase order should be then released manually.

Activity acceptance

If the activity is accepted in the Crowd portal, the purchase order is confirmed.

Activity rejection

If the activity is rejected, the purchase order is deleted.

Technician assignment update

Purchase requisition is updated if a new technician is assigned, but a new purchase order is created.

Prerequisites

Supported objects

Since activity dispatching, acceptance and rejection are communicated with SAP ECC/S4 using Events, make sure that transaction /PACG/ECM_TRIG_SUPO - Supported object send was executed. This serves as confirmation for SAP FSM that ActivityConfirmed, ActivityAccepted and ActivityRejected events should be transferred to SAP ECC/S4.

Image Removed

Draft activities

Company setting CoreSystems.FSM.SyncDraftActivity.Enabled should be set to true.

Image Removed

Control key determination

Control keys for internal and external technicians should be set in transaction /PACG/ECM_CKDET - Control key determination:

Image Removed

Based on this customizing, the operation control key will be changed after assignment of an activity to a crowd technician.

Example flow

Create a service order operation with standard control key, in the example below - ZS01, Service-intern..

 

Assign the activity to a crowd technician on the Planning Board in SAP FSM:

 

Draft activities are sent to SAP ECC/S4:

The control key in the service order operation changed to ZS02, Service-extern. This is done based on customizing in /PACG/ECM_CKDET - Control key determination.

The crowd technician’s vendor is determined from its master data. Price, material group and assignments are added to the service order. The price and amount was copied from the vendor’s outline agreement. If the UoM is the same as in the service order, then the quantity is copied from the service order. If there is a difference (as here in order “H” and in agreement “AU”), then UoM and quantity is copied to the service order.

  

The link to a purchase requisition can also be found:

The purchase requisition with material group:

In the test case, purchase order confirmation is necessary:

Now the assignment can be released on the planning board:

ActivityConfirmed event is triggered. During processing of confirmation event IDoc, purchase requisition will be confirmed automatically (if necessary):

The IDoc remains in status 51 because the created purchase order needs to be released:

Release should be performed in ECC/S4 manually:

Then the idocs can be processed with success:

In purchase order, an attachment was created with content of the printout:

The purchase order is sent to SAP FSM with status “OPEN”

The attachment is also sent:

In the Partner Portal the assignments can be accepted or rejected:

In case of acceptance, ActivityAccepted event is triggered and the following Idoc can be found in SAP ECC/S4:

The purchase order is confirmed:

The purchase order is now in status “APPROVED”:

In case of rejection, ActivityRejected event is triggered and the following idoc can be found in SAP ECC/S4:

The purchase order is deleted in ECC/S4:

The purchase order is sent to SAP FSM with status “CLOSED” and “cancelled”: