Enable storing UDF values related to a given UDF ID by checking the ‘UDF Def Storage’ ‘Store internal’ field in transaction /PACG/ECM_UDF_CONF - UDF Configuration. After the UDF a value is entered in SAP FSM for a given UDF ID and sent to SAP in UDF_DATA segments, it will be stored in a dedicated table and sent back to SAP FSM in unchanged form, without the need to implement additional BAdI.
...
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.
...
Use the ‘ACTIVITY’ cloud message type. Make sure to check the ‘UDF Def Storage’ ‘Store UDF value’ field.
Long-text
...
Multi-selection
...
Single value (stringint)
...
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.
...