Ansicht
Dokumentation

RFKKBI_BILLACC_CREATE_SAMPLE - Create Billing Accounts for Test Purposes

RFKKBI_BILLACC_CREATE_SAMPLE - Create Billing Accounts for Test Purposes

RFUMSV00 - Advance Return for Tax on Sales/Purchases   BAL_S_LOG - Application Log: Log header data  
This documentation is copyright by SAP AG.
SAP E-Book

Purpose

This program allows you to create billing accounts for test purposes.

Note that you are not permitted to create billing accounts in the production system using this program.

Normally, billing accounts are created in the production system using Customer Relationship Management (CRM).

This program is merely a template.To use the test functions, you need to create your own programs based on this program.

To create billing accounts, see also the documentation Creating and Changing Billing Accounts.

Integration

Prerequisites

Define the billing rate types that are to be used to create billing account items - dependent on the billing account item type and billing rate category - in the Customizing table TFK8905.

If you use the standard SAP field definitions of the FKKBIBILLACC_I_FLAT structure to define a billing account item for a flat rate, you can populate the fields in the test billing accounts also using the Customizing table TFK8905.

First create the contract accounts and the business partners for which you want to create billing accounts.

Features

The system creates a billing account for each of the selected contract accounts. You can use the available selection parameters to define in greater detail the billing accounts to be created.

Selection

The following selection parameters are available:

You can define a list of billing account item types. For each billing account, the system creates a billing account item for each of the specified billing account item types.
  • Selection Parameters for the External Reference of the Billing Account
Each billing account needs an external reference. You can specify the external reference by the following means:
  • External Reference Category

  • External Reference

Here you define the external reference as CHAR 32. Note that an external reference can be assigned to one billing account only. If you want to create billing accounts for more than one contract account, you must use the following selection parameters for consecutive numbering. The external reference specified here is used as a template for consecutive numbering.
  • Parameters for Consecutive Numbering

If you want to create a billing account for more than one contract account, you need to activate consecutive numbering for the external reference.
  • Start Number for Consecutive Numbering

You can select any number as the start value for consecutive numbering. By default, the numbering starts with 00000001(see example).
  • Selection Parameters for the Billing Object
Dependent on the billing account item type the system assigns a billing object to the relevant billing account item.
You can specify the billing object by the following means:
  • Billing Object

Here you define the billing object as CHAR 50. If you want to create billing accounts for more than one contract account, you can create individual billing objects per billing account using consecutive numbering.The system uses the billing object specified here as a template for consecutive numbering.
  • Parameters for Consecutive Numbering

If you want to create billing accounts for more than one contract account, you can activate consecutive numbering here.
  • Start Number for Consecutive Numbering

You can select any number as the start value for consecutive numbering. By default, the numbering starts with 00000001.
  • Parameter for Unique Billing Object per Billing Account Item

When you select this parameter, consecutive numbering of the billing objects per billing account item is also performed within a billing account (see example).
  • Selection Parameters for Term of Account
You define the term of the billing accounts to be created. The system also uses the defined term for the billing account items to be created.
  • Selection Parameters for the Billing Account Header Data
You can specify individual header data of the billing account. This header data is used for all the billing accounts to be created.
  • Billing Rate Category
You define the billing rate category for all of the billing accounts to be created. Dependent on the selected billing rate category, the billing account items are supplied with a billing rate type that is stored in the Customizing table TFK8905.

Standard Variants

Output

Activities

Example

Example of consecutive numbering for the external reference

You define the external reference TESTEXREF. You activate consecutive numbering with the start value00000001. The system thus creates consecutively the billing accounts with the external reference TESTEXREF-00000001, TESTEXREF-00000002, TESTEXREF-00000003 , and so on.

Example of consecutive numbering for the billing object

You define the billing object TESTBIOBJ. You activate consecutive numbering with the start value 00000001. The system thus creates consecutively the billing accounts or billing account items with the billing object TESTBIOBJ-00000001, TESTBIOBJ-00000002, TESTBIOBJ-00000003 , and so on.






PERFORM Short Reference   TXBHW - Original Tax Base Amount in Local Currency  
This documentation is copyright by SAP AG.

Length: 7261 Date: 20240601 Time: 162128     sap01-206 ( 93 ms )