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 ‘UDF Def Storage’ 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.

...

 

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.

...

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 ‘UDF Def Storage’ field.

 

Long-text

 

Multi-selection

 

Single value (string)

 

Step #2 - transfer the UDF definitions to SAP FSM

 

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

 

Step #3 - customize screen configuration

 

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

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.

 

The long text UDF is split into a few segments.

 

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’.

 

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

 

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.


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.