Entering content frameBackground documentation Determining a Reference Customer

You must know the (or a) reference customer before you can execute the BAPI_CUSTOMER_CREATEFROMDATA BAPI. This BAPI is used in the following examples provided in the SAPforms documentation:

The reference customers used in your company (and therefore the other sales data) are normally known. If this is not the case, you can determine the reference customers from the internal number ranges. You can only do so, however, if the reference customer was created with the internal number assignment function.

In other words, there are two ways of finding a suitable reference customer:

From a business perspective, it makes more sense to create a separate reference customer for the form application. To do so, use the transaction V-09.

Procedure

Determine the Internal Number Ranges

  1. Choose Tools ® AcceleratedSAP ® Customizing ® Edit Project.
  2. The Customizing screen appears: Edit project.

  3. Choose This graphic is explained in the accompanying text SAP Reference IMG.
  4. The Customizing screen appears: Edit project.

  5. Choose Financial Accounting ® Accounts Receivable and Accounts Payable ® Customer Accounts ® Master Records ® Preparations for Creating Customer Master Records ® Create Number Ranges for Customer Accounts.
  6. The Number ranges for customer screen appears.

  7. Choose This graphic is explained in the accompanying text Intervals.

The Display number range interval screen is displayed. All of the number ranges that have been defined for customers are listed here. Number ranges with internal number assignment are those where the Ext box is not selected. Make a note of the internal number ranges.

Determine the Reference Customer

  1. Choose Logistics ® Sales and Distribution ® Business Partner ® Customer ® Display ® Sales and Distribution.
  2. The Display Customer: Initial Screen dialog box is displayed.

  3. Select the F4 Help in the Customer field and choose Customers per sales group on the tab page.
  4. Choose the multiple selection function for the Customer field in this dialog box. Enter the internal number range intervals here.
  5. Exit the multiple selection by choosing Copy. Then choose Continue. A list of customers and associated sales data is then displayed. Sales organization, division and distribution channel.
  6. Choose a customer for which all of the sales data has been entered. You can now use this customer as a reference customer.

Caution

It is important that the sales data and company code data have been maintained for this customer. Choose Accounting ® Financial Accounting ® Accounts Receivable ® Master records ® Maintain centrally ® Display. This applies in particular to the reconciliation account in the company code data. You find it under Account Info.

Create a Reference Customer

To create a reference customer start transaction V-09.

  1. From the Create Customer: Initial Screen, select the Sales areas button.
  2. Double-click a sales area on the following dialog box.
  3. Enter a company code. The company code must be assigned to the selected sales organization. These assignments are listed in the Enterprise IMG (transaction SPRO) under Enterprise Structure ® Structure maintenance ® Assignment ® Sales and Distribution ® Assign sales organization to company code.
  4. Enter an account group. Use the F4 possible entries button for this purpose. Choose an account group that uses internal number assignment (see above).
  5. Choose Enter. Maintain the data for your reference customer on the screens that follow.
Leaving content frame