Display extended Order Document Management data in Supplier Network Collaboration web ui
My previous blog explains how to populate extended Order Document Management fields. This blog explains how to show the extended data in Supply Network Collaboration web ui.
Let us consider Purchase Order Worklist screen of supplier view as an example.
Purchase Order Worklist tabe without custom fields:
Implement the method IF_POWL_FEEDER~GET_FIELD_CATALOG of the class /SCF/CL_FEEDER_CONFPUB_POWL.
Field catalog contains the display properties of the fields. Append the display properties of the custom fields to the field catalog. The structure needs to be appended with the custom fields so that they can be used.
Below fields of the field catalog can be populated for example:
colid : Field Name in the structure
colpos : Column Position in the table
width : Width of the column
fixed : Is the column fixed
display_type : Display Type
header : Column Header
col_visible : Column Visible
Now the custom fields are displayed as part of Purchase Order Worklist table. Update the mapping to populate the values for the custom fields. Map Header, Item, and Schedule Line components to the corresponding structures.
The field display properties of the existing order document management fields can also be controlled and defaulted here along with the extended fields.
Purchase Order Worklist table with custom fields:
Other SNC web ui screens can be enhanced to display extended order document management data in similar way.