Zilliant CPQ can retrieve sales area data, such as sales organization, distribution channel, and division, for each account (known as a customer in SAP ERP) as part of the account synchronization process.
CPQ supports two ways of retrieving this data:
Through a custom database view—Recommended for precise control over which data to sync.
Through a standard SAP BAPI—Recommended for the full sync.
Through a custom view
This method lets you define exactly which sales areas to import by using a custom SAP ERP view. It is ideal when you want to filter or limit the sales area data. CPQ will automatically retrieve sales area data as part of the account sync.
To use the custom view for sales area sync:
Enable the SettingERPAccountSyncWithSalesAreaFromView setting in Zilliant CPQ.
Sign in to Zilliant CPQ with your administrator credentials.
From the left navigation area, select Administration.
From the top navigation bar, select Master Data Management.
Move through or search to locate Setting Boolean and select it from the list.
Select SettingERPAccountSyncWithSalesAreaFromView.
Set the Setting Value Boolean switch to YES.
Select Save.
Create a custom view. For details, read the Prepare accounts for sync section in Prepare and sync accounts. Ensure that your view includes the following fields:
MANDT
KUNNR
VKORG
VTWEG
SPART
Retrieve the sales area data from the view as a part of the account synchronization. For details, read the Synchronize accounts section in Prepare and sync accounts.
Through a SAP BAPI
This method calls the standard SAP BAPI BAPI_CUSTOMER_GETSALESAREAS
to fetch all sales areas associated with each customer (account). It’s simpler to set up, but it retrieves all linked sales areas, which may impact performance if accounts have too many areas.
To use the BAPI for sales area sync:
Disable the SettingERPAccountSyncWithSalesAreaFromView setting in Zilliant CPQ.
Sign in to Zilliant CPQ with your administrator credentials.
From the left navigation area, select Administration.
From the top navigation bar, select Master Data Management.
Move through or search to locate Setting Boolean and select it from the list.
Select SettingERPAccountSyncWithSalesAreaFromView.
Set the Setting Value Boolean switch to NO.
Select Save.
Enable the standard SAP BAPI
BAPI_CUSTOMER_GETSALESAREAS
. For details, read Enable BAPIs.Synchronize accounts. For details, read the Synchronize accounts section in Prepare and sync accounts.