Choice Lists
ChoiceList allows you to create list items from SAP in a SharePoint list which helps to track and manage data.
This can be used in many scenarios where you want to store a collection of documents under each list item.
Middleware also allows to link these list items to a document by attaching a metadata field of lookup type and value while creating or updating the document.
SAP requires two fields to be filled to create a list using the following BAPI: /DFLOW/ZCMSCREATECHOICELIST_WS
1) ZCHOICELISTNAMEPREFIX:
Required: Determines list name inside a specific site or subsite to create new items in SharePoint.
Example: EquipmentMaster.
2) ZFORCE:
Optional: A flag that allows you to clear all the existing items in a list and add new set of items to it.
Example: "X" to enable the flag.