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


 

12 comments

  1. Can you please explain me how to assign different GL account while creating accounting document? What changes do I have to make?

    Like

  2. is there any way to do a mass analysis on how account assignment has been done over a period of time? ie which tables were used with with criteria? We want tot clean up the SD account assigment tables which currently have over 100.000 entries and are not manageble anymore.

    Like

  3. It’s truly a nice and useful piece of info. I’m happy that you shared this useful info with us.
    Please keep us up to date like this. Thank you for sharing.

    Like

  4. Hi. I have an inquiry regarding the classification of ERL account group. In my current company, there are two GL accounts which are currently tagged to ERL (Revenue) – one is cash and another is VAT adjustment (based on their description). My question is, are those two accounts valid to be determined under ERL? If so, what is the impact if this matter is unresolved? Hope someone can take up and provide me a good input. Many thanks in advance.

    Like

  5. Thank you so much, detail explanation. Appreciate the hard work

    Could you add little detail on ” how does the pricing procedure ZVAA01 and condition type PR00 linked/determined for an item”

    BR / Bose

    Like

    1. Pricing procedure is not determined on the item level. Pricing Procedure is determined on the header level. In tx- OVKK , the determination of pricing procedure customizing are maintained.
      The sales area, document pricing procedure and the customer pricing procedure determines the pricing procedure.
      When an order is created we know the sales area(sales org, dist channel and division), the document pricing procedure derived from the document type and from the sold-to-party (customer) the customer pricing procedure is derived. With all these information, Pricing procedure is derived.

      The pricing procedure contains condition types like PR00 and others.
      In Tx- VK11/VK12/Vk13 we can maintain pricing condition records against each condition types.
      When we enter a material in an item, from the already determined pricing procedure it gets the condition types and tries to find the pricing condition record for the material. This is how the price is found for that item condition type.

      Hope this helps!

      Liked by 1 person

      1. Thanks to you Siva and Manish, I am not in to SD but was trying to have extended understanding between FI-SD integration and found your tutorial, its really help full. I was going through with the tutorial and played your videos as well in you tube. It helps me to understand the process and bridge the gaps from SD side. Really appreciate your effort on preparing and sharing the knowledge

        BR/ Bose

        Like

Leave a Reply