SAP

Sana Commerce 9.3
Your connector

Number Ranges

Using number ranges in SAP, you can set up unique identifiers for all sales documents (sales orders and quotations) and customer accounts (customers, prospects and guests) which are created from a Sana web store and saved to SAP.

This way a user in SAP can easily differentiate those sales documents which are placed from the Sana web store and from other channels, real customer accounts and those which are created as guests, for example.

In SAP, number ranges are assigned to sales document types and customer account groups. Those sales document types and customer account groups which are used for Sana can be seen in the following tables:

  • Supported Order Types
  • Account Group Mapping

For more information, see "Account Group Mapping" and "Supported Order Types".

Set up number ranges for sales documents

Step 1: Call the transaction code VN01 (Number Assignment for SD Documents) in SAP, to create number ranges for sales documents.

The table below provides description of the fields.

Field Description
From No. Enter the first number of a range.
To Number Enter the last number of a range.
Number Range Status Contains the last assigned number of a number range.
External Assignment If the External Assignment checkbox is selected, then a user must enter an identifier for every sales document manually in SAP.

If the External Assignment checkbox is not selected, then identifiers are generated by SAP automatically for sales documents created from a Sana web store sequentially within a number range. Therefore, make sure that the External Assignment checkbox is not selected.

Step 2: Call the transaction code VOV8 (Document Type Maintenance), to assign number ranges to sales document types.

Step 3: Select the necessary sales document type, which you are using in Sana, and click Details.

Step 4: In the field No. range int. assgt. select the number range which must be used for all sales documents of the selected type.

Set up number ranges for customer account groups

Step 1: Call the transaction code XDN1 (Maintain Number Ranges (Customer)) in SAP, to create number ranges for customer account groups. 

The table below provides description of the fields.

Field Description
From No. Enter the first number of a range.
To Number Enter the last number of a range.
Number Range Status Contains the last assigned number of a number range.
External Assignment If the External Assignment checkbox is selected, then a user must enter an identifier for every customer account manually in SAP.

If the External Assignment checkbox is not selected, then identifiers are generated by SAP automatically for customer accounts created from a Sana web store sequentially within a number range. Therefore, make sure that the External Assignment checkbox is not selected.

Step 2: Call the transaction code OBAR, to assign number ranges to customer account groups.

Step 3: Find the necessary customer account group, which you are using in Sana, and in the Number range field select the number range which must be used to generate unique identifiers automatically for all customer accounts within the customer account group.