/
/PACG/ECM_SCSTD - Status of Service Call

/PACG/ECM_SCSTD - Status of Service Call

General purpose

Define ERP-equivalents (code and description) of standard FSM service calls statuses (Ready to plan, Technically complete, Cancelled).

Map service order system/user statuses (Status) with FSM service call statuses (Serv.call stat.). Specify how service order’s system status should affect the status of the related FSM activities.

Sending transaction (?)

Transfer status descriptions to FSM using /PACG/ECM_SCSTD_STAT - Service Call Status. It’s necessary for proper service call/activity display.

status:(S4)PACG 200 SP09 You can navigate to the sending transaction using the button Send to FSM, placed on the toolbar.

Object assignment (?)

Object SERVICECALLSTATUS must be added to /PACG/ECM_NOAS - No Object Assignment for a given company

status:(S4)PACG 200 SP 14 To activate new Service Call configuration, the new selection and IDOC classes must be entered in /PACG/ECM_CLSASSIG - FSM Connector's Outgoing Messages Configuration for the /PACG/ECM_SERVICECALL_STATUS object:

  • Idoc class /PACG/ECM_CL_S_IDOC_O_SCALLST2 

  • Selection class /PACG/ECM_CL_S_SEL_SCALLSTATU2 

These new classes must be set by the Setup report – customers who would like to use new solution fully, would need to change the configuration manually by themselves otherwise connector will keep running in the ‘old way’.

Old version of /PACG/ECM_SCSTD transaction is maintained in /PACG/ECM_SCSTD2 - ‘Status of Service Call (Obsolete)’. Is remained as a ‘backup’ transaction and moved to /PACG/ECM_OBSOLETE package.

status:(S4)PACG 200 SP 14 After entering the /PACG/ECM_SCSTD transaction, a selection screen will appear.

  • The selection of the ‘Service call type’ parameter is obligatory with ‘Service order’ as the default value. (based on /PACG/ECM_SCSTD-SC_TYPE)

  • The parameter for filtering 'Company ID' is not obligatory.

image-20240822-121140.png

 

image-20240910-105918.png
image-20240910-105825.png
Status of Service Call for Company ID 1000 and Status I0002

 

The activity status update will not occur when an identical status is also maintained in /PACG/ECM_SCREQ at the same time.

 

status:(S4)PACG 200 SP 14 On the top bar, the button ‘Statuses rel. for FSM’ navigates to the transaction /PACG/ECM_SCREQ - System statuses for service call transfer.

image-20240910-110151.png

 

Customizing options

Status

(together with StatProf)

System status / User Status of service orders to be mapped with FSM service call status.

In case of network order-based activities, network activity statuses are retrieved, not network order header statuses.

Priority

Within the service order, several system statuses may be active, the priority defines the importance. Service call statuses are read in the descending order.

Only applicable for sending of the correct service order and activity statuses from SAP backend to FSM.

Serv. call status

SAP→FSM: Enter a service call status which should be set in FSM for service calls whose orders have a given SAP status (field 'Status')

status:(S4)PACG 200 SP 14

The following Service Call statuses are predefined:

  • -1 - Closed

    • the related activites would get status “closed”

  • 0 - Released

    • the releated dispached activities would get status “open”

    • the releated activities without technician would get status “draft”

  • 1 - Deleted/Cancelled

    • the related activites would get status “cancelled”

You can translate the predefined status description via transaction /PACG/ECM_SCSTS .

 

FSM→SAP: Service calls from FSM with this status will result in setting an SAP status from field ‘Status’ to the corresponding Service Order

 

After sending the service call statuses and their descriptions (field 'Description’) to FSM (using the dedicated sending transaction), make sure to map them also in General settings for Planning and Dispatching:

See also: https://help.sap.com/docs/SAP_FIELD_SERVICE_MANAGEMENT/fsm_plan_dispatch/service-call-statuses.html?q=service%20call%20status, https://help.sap.com/docs/SAP_FIELD_SERVICE_MANAGEMENT/fsm_plan_dispatch/plan-dispatch-settings.html#service-call-mappings

Description

status:(S4)PACG 200 SP 14 Status of Service Call Descriptions are maintained in /PACG/ECM_SCSTS - Status of Service Call Description

It’s not possible to change the description of Service Call Statuses. Maintenance view allows only for translating entries. If using a language other than English, user can define a translation of the status description. (check /PACG/ECM_LANG - Language Definition)

image-20240910-093340.png

 

Activity generation

Default values for ‘Activity generation’ field are set based on entered ‘Service Call status’ – during new entry creation if Service Call status equals ‘0’ then ‘Activity generation’ is set to ‘A - Active', in remaining cases of Service Call status being either ‘1' or '-1’ - value of ‘Activity generation’ is set to ‘C - Outstanding’

FSM Activity generation rules:

Make sure that for status TECO (I0045 - ‘Technically completed’) in /PACG/ECM_SCREQ - System statuses for service call transfer option ‘D Delete flag - send Order with delete flag’ is not set. Otherwise activities won’t be automatically closed.

Allow reopening

When enabled, allow for reopening activities after reverting this system status (user status).

For instance - if system status I0045 is set to an order, its activities will be automatically closed. When the status is deactivated for the order and system status I0046 is retrieved as the currently most important one, the related activities will become open again (see the field 'Allow reopening’ for I0045, which allowed for the reopening).

image-20240910-120307.png

 

The functionality implemented in status:(S4)PACG 200 SP09 and older has been extended. Now all the statuses able to close activities are supported, not only TECO. Before the change, the status REMAINING on an order (e.g. ‘released’) must have been marked with this flag, for the related activities to be reopened after TECO reversion. Now, the entry with status TECO (or any other status causing activity closing) should be marked with this flag. For customers upgrading from older Connector versions to status:(s4)pacg 200 sp10, the setup program checks if there are any entries having the option ‘Reopen after TECO’ enabled for a given company. If there is at least one such entry found, the report ensures that an entry for TECO (I0045) exists and has the option ‘Allow reopening’ activated (at the same time, this option is deactivated for other statuses).

This functionality applies to service order and notification-based activities.

status:(S4)PACG 200 SP09 and older

If technical completion was performed on a Service order but then reverted, the related activities will be reopened. (In other words, reopen an activity after cancelling Service Order technical completion.)

This functionality applies to standard activities, created for service orders (project activities are not yet supported).

This setting must be enabled also if an operation’s control key is changed to a not FSM-relevant one and then switched back to an FSM relevant key. This will cause the related activity to be reopened. Otherwise, it’ll remain closed.

Example

Technically complete a service order in transaction IW32. The related activity becomes closed.

 

Cancel the technical completion of the order.

If the ‘AllowReop’ field is checked for the status currently set for the service order (e.g. I0002 - ‘Released’), the closed activity will reopen.

image-20240910-132222.png

 

image-20240910-132138.png

 


Example

#1


#2

First, the connector will try to find all matching system statuses in the service order in /PACG/ECM_SCSTD -Status of Service Call. In the below example, we have REL, PCNF, NMAT, PRC and SETC.


The settings in /PACG/ECM_SCSTD only has REL.


It will search for matching statuses first. If more than one system statuses are found, then it will select from priority 1 to xxx to find the highest priority where the correct cloud status will be sent.

 

Customizing options

Status

status:Old LABEL SysSt

(together with StatProf)

System status / User Status of service orders to be mapped with FSM service call status.

In case of network order-based activities, network activity statuses are retrieved, not network order header statuses.

Priority

Within the service order, several system statuses may be active, the priority defines the importance. Service call statuses are read in the descending order.

Only applicable for sending of the correct service order and activity statuses from SAP backend to FSM.

Serv. call status

status:Old LABEL Cloud status

SAP→FSM: Enter a service call status (-1, 0, 1), which should be set in FSM for service calls whose orders have a given SAP status (field 'Status')

FSM→SAP: Service calls from FSM with this status will result in setting an SAP status from field ‘Status’ to the corresponding service order

It’s recommend to use status ‘0' for released service calls (ready and should be planned), ‘-1’ for closed/technically completed and ‘1’ for deleted/cancelled. After sending the service call statuses and their descriptions (field 'Description’) to FSM (using the dedicated sending transaction), make sure to map them also in General settings for Planning and Dispatching:

See also: https://help.sap.com/docs/SAP_FIELD_SERVICE_MANAGEMENT/fsm_plan_dispatch/service-call-statuses.html?q=service%20call%20status, https://help.sap.com/docs/SAP_FIELD_SERVICE_MANAGEMENT/fsm_plan_dispatch/plan-dispatch-settings.html#service-call-mappings

Description

Enter a description for status code entered in field ‘Serv. call status’. This description will be displayed in service calls in FSM.

If using a language other than English, user can define a translation of the status description. (check /PACG/ECM_LANG - Language Definition)

image-20240910-105226.png

 

Activity Status

status:(S4)PACG 200 SP 14 In new version, ‘Act Status’ and ‘AcSt w/o T’ columns are obsoleted.

Activity status to be set during activity creation/update for activities of type assignment, based on the order’s status.

The available statuses originate from transaction /PACG/ECM_ACTI_STATU – Activity status (filled automatically by the setup program).

When activity creation is allowed for a given order status and the activity has no technician assigned, it will always get status ‘DRAFT’, regardless of the activity status entered in this customizing.

 

status:(S4)PACG 200 SP10 Activity cancellation

Status ‘6 CANCELLED’ represents activity cancellation, i.e. activity status ‘closed’ and execution stage ‘cancelled’. Use it to trigger cancellation of all order activities if a given system/user status is set to the order. Unliked closed activities, cancelled activities disappear from the Planning and Dispatching Board.

Prerequisites:

  • make sure that the setup program was executed after service pack upgrade

  • ensure that property ‘Activity generation’ in the hereby described transaction is set to ‘Outstanding’ for the status which should trigger activity cancellation.

Technical remarks:

  • the status ‘cancelled’ is not set for an activity in the underlying table. It’s displayed in https://proaxia-prod-doc.atlassian.net/wiki/spaces/PFCC/pages/1239973893 and triggers change of execution stage to ‘cancelled’, however the actual activity status is ‘closed’.

  • The special activity UDF (COR_CLOUD_AssgPlan) gets value ‘CANCEL’, which triggers deletion of the related ASSIGNMENT object.

Activity Status without technician assignment / status:SHORT Act st w/o tech

Activity status set during activity creation for activities without technician

status:(S4)PACG 200 SP08 If no value is entered, status '9' (Draft) is used.

Activity generation

status:Old LABEL S.A. generation

FSM Activity generation rules:

Make sure that for status TECO in /PACG/ECM_SCREQ - System statuses for service call transfer option “Send deletion” is not set. Otherwise activities won’t be automatically closed.

status:(s4)pacg 200 sp10 Allow reopening

status:(S4)PACG 200 SP09 and older ReopenAfterTECO

status:(s4)pacg 200 sp10

When enabled, allow for reopening activities after reverting this system/user status. For instance, if user status E0002 is set to an order, its activities will be automatically closed (see the values in fields ‘Act status’ and ‘Activity gen.' for E0002). When the status is deactivated for the order and system status I0002 is retrieved as the currently most important one, the related activities will become open again (see the field 'Allow reopening’ for E0002, which allowed for the reopening).

The functionality implemented in status:(S4)PACG 200 SP09 and older has been extended. Now all the statuses able to close activities are supported, not only TECO. Before the change, the status REMAINING on an order (e.g. ‘released’) must have been marked with this flag, for the related activities to be reopened after TECO reversion. Now, the entry with status TECO (or any other status causing activity closing) should be marked with this flag. For customers upgrading from older Connector versions to status:(s4)pacg 200 sp10, the setup program checks if there are any entries having the option ‘Reopen after TECO’ enabled for a given company. If there is at least one such entry found, the report ensures that an entry for TECO (I0045) exists and has the option ‘Allow reopening’ activated (at the same time, this option is deactivated for other statuses).

This functionality applies to service order and notification-based activities.

 

status:(S4)PACG 200 SP09 and older

If technical completion was performed on a service order but then reverted, the related activities will be reopened. (In other words, reopen an activity after cancelling service order technical completion.)

This functionality applies to standard activities, created for service orders (project activities are not yet supported).

This setting must be enabled also if an operation’s control key is changed to a not FSM-relevant one and then switched back to an FSM relevant key. This will cause the related activity to be reopened. Otherwise, it’ll remain closed.

Example

Technically complete a service order in transaction IW32. The related activity becomes closed.

 

Cancel the technical completion of the order. If the ‘ReopenAfterTECO’ field is checked for the status currently set for the service order (e.g. I0002 - ‘Released’), the closed activity will reopen.

 

Related content

If you'd like to help us improve the documentation, please provide your feedback using the communication channels listed /wiki/spaces/PFCC/pages/1561427969. Learn about support possibilities here.