G/L Account Determination in SAP SD

lightG/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

1

Lets create a debit memo request for the sales area 1000/10/10.

2

Provide the customer number and few materials and its quantity and double click on the first material to see the item details.

3

From the pricing procedure – for the pricing condition type- PR00 material value is calculated as 175.50 EUR.

4

For the second material  for the pricing condition type- PR00 material value is calculated as 1598.00 EUR. Go back.

5

Select the header button.

6

In the header section, in the Conditions tab, the total price is the sum of two materials.

7

Save  and DMR is created.

8

Go to Tx- VA02 and  from the menu choose Billing.

9

Select Save button to create a billing document. mark billing document type is determined as – L2.

10

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

11

Choose Accounting document.

12

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.

13

Go to Tx- VF02 and edit the billing document.

14

From menu, navigate along the highlighted path.

15

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.

16

Same for the second item.

1718


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. 

19

For the demo we use company code- 1000

20

The chart of account is – YIKR

21


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

First execute – Check master data relevant for account assignment.

22

Select first option- Materials : Account Assignment Groups.

23

Here Material account assignment group is created which is assigned to the material master when created in Tx- MM01

24

Select second  option- Customer : Account Assignment Groups.

25

Here Cusomter account assignment group is created which is assigned to the customer master when created in Tx- XD01

26

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.

27

Similarly for another material used in sales order, it is assigned to the material account assignment group.

28

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.

29

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.

30


Next is defining the access sequence and the condition type. So choose the highlighted opton.

31

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.

32

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.

33

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

34

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

35


For access line 30.

36


For access line 40.

37


For access line 50.38


Choose Define Account Determination type.

39

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

40


Choose the option as pointed to create account determination procedure.

41

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

42

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

43


Choose the option – Assign account determination procedure.

44


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

45


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

51

For different types like revenue, tax and other different account keys are defined. For revenue its ERL.

52

Next step is to assign the account key to the pricing procedure – condition type PR00.

53

Here for the pricing procedure ZVAA01 and condition type PR00, the account key is assigned as ERL.

54


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.

46

48


Next time is to assign the G/L account. Choose the marked option.

55


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.

56


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).

57

 


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

 

58


 

Advertisements

2 comments

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

w

Connecting to %s