You are on page 1of 66

HTTPS://SAPCODES.

COM/2016/12/19/GL-ACCOUNT-DETERMINATION-IN-SAP-SD/

G/L ACCOUNT DETERMINATION IN SAP SD


December 19, 2016Siva PrasadUncategorized 2 comments
G/L Account Determination in SAP SD

Most of the transactions in SAP are recorded against the GL account. During creation of billing document form a sales order , an
accounting document is created where material value is posted against a G/L account. The post describes how the system
determines the G/L account for a material sold to a particular customer by the GL account determination technique.

Lets try to create a sales order for a customer with some material and then creating a billing document from the sales order which
also generated the accounting document.

To create sales order go to Tx- Va01

Lets create a debit memo request for the sales area 1000/10/10.
Provide the customer number and few materials and its quantity and double click on the first material to see the item details.

From the pricing procedure – for the pricing condition type- PR00 material value is calculated as 175.50 EUR.
For the second material  for the pricing condition type- PR00 material value is calculated as 1598.00 EUR. Go back.
Select the header button.
In the header section, in the Conditions tab, the total price is the sum of two materials.
Save  and DMR is created.
Go to Tx- VA02 and  from the menu choose Billing.
Select Save button to create a billing document. mark billing document type is determined as – L2.

Go to Tx- VF03 and display the billing document. Choose Accounting button.
Choose Accounting document.

Here is the accounting doc with few lines.

First entry is for the customer as we used the customer – 491000, the account becomes 491000 for the customer.
For the second line, the GL account calculated as 502000. Let’s figure it out how this g/L account is determined.

Go to Tx- VF02 and edit the billing document.

From menu, navigate along the highlighted path.


Well, it says the Account Determination procedure is KOFI00 and for the first item , for the pricing condition type PR00, the G/L
account as 502000.

Same for the second item.


The G/L account determination requires few customizing steps.

First check what is the chart of account assigned to the company code. In SPRO IMG structure navigate along the highlighted path
to see the chart of account assigned to the company code. 
For the demo we use company code- 1000

The chart of account is – YIKR


Next step , the customizing in the Sales&Distribution section for the Account Assignment/Costing.

First execute – Check master data relevant for account assignment.


Select first option- Materials : Account Assignment Groups.

Here Material account assignment group is created which is assigned to the material master when created in Tx- MM01
Select second  option- Customer : Account Assignment Groups.

Here Cusomter account assignment group is created which is assigned to the customer master when created in Tx- XD01
For our used material in sales order- H11, open this material in Tx- MM03 and in the Sales: sales org.2 tab, the material account
assignment group is assigned to the material.

Similarly for another material used in sales order, it is assigned to the material account assignment group.
For our customer – 491000, open this customer in Tx- XD03 and go to the sales area data & in the billing document tab, customer
account assignment group is assigned to the customer.
This customer and material account assignment group will help to determine the GL account.

GL account determination uses the condition technique. Now the next step is to define the condition tables. So choose option-
Define Dependencies of Revenue Account Determination.  If you want to create new tables you can choose Create Table option.
For this demo we are leaving this as already we have few condition tables.
Next is defining the access sequence and the condition type. So choose the highlighted opton.

Access Sequence is defined as – KOFI( a new access sequence can be created bu New Entries button ).  Select the access
sequence and choose Accesses from left hand section to see all the access lines with condition table.
Well this access sequence KOFI has five access line each refers to one condition table.

Select one access line and choose Fields button to see all the fields included in the condition table to form the access line 10.

Access line-10 with condition table 001 has 4 fields.


Similarly for other access lines with condition tables other fields are there.

For access line 30.


For access line 40.

For access line 50.


Choose Define Account Determination type.

Here Condition type- KOFI is created which is assigned to the access sequence KOFI which has 5 access lines with different
condition tables.

Choose the option as pointed to create account determination procedure.


Procedure KOFI00 is created and assigned to the account condition types. Choose the procedure and select Control data from left
side.

Here the account determination procedure is assigned to the condition type.


Choose the option – Assign account determination procedure.

Here the account determination procedure is assigned to the billing type.


Next step is to define account key. Choose the marked option.

For different types like revenue, tax and other different account keys are defined. For revenue its ERL.
Next step is to assign the account key to the pricing procedure – condition type PR00.

Here for the pricing procedure ZVAA01 and condition type PR00, the account key is assigned as ERL.
In the above created sales order, item we can check the pricing procedure as below bu selecting the Analysis button in the
conditions tab of the item detailed screen.
Next time is to assign the G/L account. Choose the marked option.
Here we have five options. as account condition type KOFI of the account determination procedure KOFI00 is assigned to the
access sequence – KOFI with five access lines.

This is like maintaining the condition records. During the GL account determination process, it checks to find the GL account by
taking all the values from the billing document and checking against the condition records for table 001. If found it calculated the
G/L account and if not found then checks for the condition records for the second table and so on upto 005 until it finds a G/L
account.

Choose/double click on the first line.


Here we have maintained for V-Sales, KOFI- account condition type, YIKR as the chart of account and other four fields like sales
org, customer account group, material account group and account key comes from the condition table, for our demo purpose we
have assigned the G/L account as- 502000.

( Before assigning to the G/L account here it should be created first).

 
For our demo

 From Billing Type L2 it derives the account determination procedure as- KOFI00
 From account determination procedure- KOFI00 it find the account condition type as – KOFI
 During creation of billing its finds for the item, pricing procedure and the condition type as PR00
 Then it finds the account key for the pricing procedure with condition type PR00 as ERL
 The customer account assignment group is – 03
 The material account assignment group is – 01
 The chart of account as- YIKR fot the company code- 1000
 By taking all these values, the G/l account number calculated as – 502000

=====================

https://wiki.scn.sap.com/wiki/display/ERPLO/Revenue+Account+Determination+-+Configuration
1. ERP Operations

2. …

3.  Account Determination

Revenue Account Determination - Configuration


Skip to end of metadata

 Created by Jyoti Prakash, last modified on Jul 04, 2013


Go to start of metadata

Purpose
This page will briefly discuss about steps involved in revenue account determination in Sales and Distribution Documents.

Introduction
Revenue account determination is one critical integration point between Sales & Distribution and Financial Module.
Here on posting a billing document to account, based on this revenue account determination, system determines relevant G/L accounts for revenue
posting. As like any other basic function configuration like pricing, its configuration also based on condition technique.

Steps in Configuration
The following are the steps involved in configuring revenue account determination:

Step 1. Check Master Data Relevant For Account Assignment


SPRO IMG - SD - Basic Function - Account Assignment - Account Assignment/Costing -
Path Revenue Account Determination - Check Master Data relevant for Determination

TCode OVK5

Here you set up field for maintaining option master data


1. Account assignment group for material
2. Account assignment group for customer
Based on these fields, account determination in respective sales document will take place.
Step 1.1 Materials: Account Assignment Groups
Here you maintain option for Account assignment group for Material. This allows you to divide materials into different groups, services and retails
groups. From master data point of view, you maintain this in Material Master(MM01/MM02) under Sales: Sales Org 2 view.

Step 1.2 Customer: Account Assignment Groups


Here you maintain option for Account assignment group for Customer. This account assignment group relevance is maintain for Payer partner
function. This allows you to divide customer into different groups, e.g. domestic and overseas customer. From master data point of view, you
maintain this in Payer Customer Master(VD01/XD01/VD02/XD02) under billing document tab of Sales Area Data.

Step 2. Define dependency of Revenue Account Determination


Here we can create & display condition table for revenue account determination by selecting appropriate fields. Based on this field key combination,
system will fetch relevant data from the determination maintained.

SPRO IMG - SD - Basic Function - Account Assignment - Account Assignment/Costing -


Path Revenue Account Determination - Define dependency of Revenue Account Determination

Some TCode related to condition table

TCode Desc

V/12 Account determination: Create tables

V/13 Account Determination: Change table

V/14 Account determination: Display tables

OV25 Field catalog: Allowed fields for the tables

Following are some standard condition table available:

Condition  Short  Available in  Transp. Table


Table Description Transaction VKOA Name
Number

1 Cust.Grp/MaterialGrp/AcctKey YES C001

2 Cust.Grp/Account Key YES C002

3 Material Grp/Acct Key YES C003

4 General YES C004

5 Acct Key YES C005

7 Vendor   C007
Condition  Short  Available in  Transp. Table
Table Description Transaction VKOA Name
Number

400 IS-H: Account key/case type/private/ext.physician   C400

401 IS-H: Acct key/case type/srv.catalog/srv./private/ext.phys.   C401

410 Chart of accts / Account key - acct assign for ED rev   C410

495 Document Category/Condition Type/Own-External/Account Key   C495

496 Condition Type/Account Key   C496

497 Document Category/Condition Type/Account Key   C497

498 Doc. Category/Condition Type/Own-Ext./Actvty Type/Acc. Key   C498

499 Doc. Cat./Cond. Type/Own-Ext./Acty Type/Ctlg Group/Acc. Key   C499

Following are some of the example for custom condition table may be created based on your requirement

Condition  Short 
Table Description
Number

901 Sales org./AcctAssgGr/AcctAsgnmt/Acct key/Ord.reason

902 Sales org./Plant/AcctAssgGr/AcctAsgnmt/Acct key/Ord.reason

903 Sales org./Cond.type/Acct key/Plant

904 Sales org./Plant/AcctAssgGr/AcctAsgnmt/Acct key/Ord.reason

Step 3. Define Access Sequence and Account Determination Type


In standard revenue determination, KOFI is used as account determination types/condition type. Based on your requirement and addition of new
condition table in access sequence, you can create and assign new access sequence. As there may be have to shuffle the key
combination(condition table) based on your requirement. Say,

Step Condition Desc Requirement


Table

10 902 Sales org./Plant/AcctAssgGr/AcctAsgnmt/Acct 0


key/Ord.reason

20 901 Sales org./AcctAssgGr/AcctAsgnmt/Acct key/Ord.reason 0

30 1 Cust.Grp/MaterialGrp/AcctKey 0
Step Condition Desc Requirement
Table

40 2 Cust.Grp/Account Key 0

50 3 Material Grp/Acct Key 0

60 904 Sales org./Cond.type/Acct key/Plant 0

70 496 Condition Type/Account Key 0

80 5 Acct Key 0

90 4 General 0

As these key combination in an access sequence is maintain from specific to general. Unlike pricing it doesn't have any exclusive indicator.

Step 4. Define And Assign Account Determination Procedures


Step 4.1 Define Account Determination Procedure
Following are the fields under Account Determination:

1 2 3 4 5

Step Counter Condition Description Requirement


Type

10 1 KOFI Account Determinat. 3 - Without CO acct.ass.

Here Account Determination Procedure is maintained specifying the Requirement account determination with controlling or not.

Step 4.2 Assign Account Determination Procedure


In this step account assignment procedure is assigned to respective Billing Type.

Step 5. Define and Assign Account Key


These are assigned to the condition types in the pricing procedures; this allows conditions such as freight conditions to posted to special freight
revenue accounts.

Step 5.1 Define Account Key:


We can create our own Account Keys by specifying Account Number & Description.
Step 5.2 Assigning Account Key:
Here we assign Account Keys to respective Pricing Condition Type. If the you assign/change a account key to condition type, it will automatically
maintain/change the account key your pricing procedure and vice versa.

Step 6 Assignment of G/L Account


Here you will be display/maintain all the possible key combination Based on your condition table maintain in access sequence which is assign to the
revenue account determination procedure.

Say, your want to maintain account determination based on key combination


a. Condition Type
b. Charts of Account
c. Sales Organisation
d. Account Keys
Then you would have to maintain value in access 5 - Acct Key

Applicatio Condition Type Charts of Sales Account Keys G/L Account


n Account Organisation

V KOFI INT 0001 ERL 150000

Else, Say, your want to maintain account determination based on following key combination
a. Condition Type.
b. Charts of Account.
c. Sales Organisation.
d. Account Assignment Group for Payer.
e. Account Assignment Group for Materials.
f. Account Keys.
Then you would have to maintain value in access 1 - Cust.Grp/MaterialGrp/AcctKey

Applicatio Condition Charts of Sales Account Account Account G/L


n Type Account Organisation Assignment Group  Assignment Group  Keys Account
for Customer for Materials

V KOFI INT 0001 01 - Domestic 03 - Finishing Goods ERL 150000


Revenue

Some useful structure


Structure Description

KOMKCV Account Determination Communication Header

KOMPCV Account Determination Communication Item

===================
scribd
XXXXX

similarly Master Data for Material

XXXXXX

You might also like