Versions Compared

Key

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

Enable storing UDF values related to a given UDF ID by checking the ‘Store UDF value’ field in transaction /PACG/ECM_UDF_CONF - UDF Configuration. After the UDF value is entered in SAP FSM and sent to SAP, it will be stored in a dedicated table and sent back to SAP FSM.

Image RemovedImage Added

 

The dedicated table - /PACG/ECM_UDFVAL - consists of the following fields: company ID, message type (e.g. Activity, Equipment), object key, UDF ID, line number, UDF value and Idoc number.

Image RemovedImage Added

Examples

Preparation

Step #1 - create UDF definitions

 

Create three UDFs in transaction /PACG/ECM_UDF_CONF - UDF Configuration. One for each of the following types:

  • Single value (e.g. int)

  • Long-text

  • Multi-selection

 

Use the ‘ACTIVITY’ cloud message type. Make sure to check the ‘Store UDF value’ field.

 

Long-text

Image RemovedImage RemovedImage AddedImage Added

 

Multi-selection

Image RemovedImage RemovedImage RemovedImage AddedImage AddedImage Added

 

Single value (int)

Image RemovedImage RemovedImage AddedImage Added

 

Step #2 - transfer the UDF definitions to SAP FSM

 

Transfer the UDF definitions to SAP FSM with transaction /PACG/ECM_TRIG_UDF - UDF Definition.

Image RemovedImage RemovedImage AddedImage Added

 

Step #3 - customize screen configuration

 

Drag and drop the UDFs (custom fields) from the sidebar to a specific tab in the mobile screen configuration.

Image RemovedImage RemovedImage RemovedImage AddedImage AddedImage Added

Fill empty UDFs with values

 

Navigate to the mobile app, find a relevant activity and edit it. Fill the UDFs with proper values and synchronize the app.  

 

Examine the ‘UDFDATA’ segments of an inbound Activity idoc.

Image RemovedImage Added

 

The long text UDF is split into a few segments.

Image RemovedImage RemovedImage RemovedImage RemovedImage AddedImage AddedImage AddedImage Added

 

Notice that new entries were created in table /PACG/ECM_UDFVAL, each containing a relevant UDF ID, UDF value, object key pointing to the modified activity and cloud message type ‘ACTIVITY’.

Image RemovedImage Added

 

Examine the outbound Activity idoc and notice that the same UDF values are resent to SAP FSM.

Image RemovedImage RemovedImage RemovedImage RemovedImage Removed Image AddedImage AddedImage AddedImage AddedImage Added

The Activity object is unblocked and the UDF values are the same as the ones entered by the user.

Update UDF values

 

Change the entered UDF values and synchronize the mobile app.

 

Notice that relevant entries in table /PACG/ECM_UDFVAL were updated accordingly.

Image RemovedImage Added

Remove UDF values

 

Remove at least one UDF value and synchronize the mobile app.

 

Entries related to the affected UDFs should disappear from table /PACG/ECM_UDFVAL.

 

After unblocking the Activity object on the SAP FSM mobile app, the deleted UDF values will not be found.