0% found this document useful (0 votes)
105 views

Assign Same G/L Account To Two Different Plants From Two Different Company Codes Belongs To Same Chart of Accounts

This document provides steps to configure automatic account determination so that the same G/L account can be assigned to two different plants from two different company codes if they belong to the same chart of accounts. The key steps include: 1. Creating the chart of accounts 2. Defining company codes, plants, purchasing organizations, and assigning them to each other 3. Configuring fiscal year variants, posting periods, account groups, and plant parameters 4. Creating the necessary G/L, stock, and clearing accounts

Uploaded by

Atul Jaiswal
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
105 views

Assign Same G/L Account To Two Different Plants From Two Different Company Codes Belongs To Same Chart of Accounts

This document provides steps to configure automatic account determination so that the same G/L account can be assigned to two different plants from two different company codes if they belong to the same chart of accounts. The key steps include: 1. Creating the chart of accounts 2. Defining company codes, plants, purchasing organizations, and assigning them to each other 3. Configuring fiscal year variants, posting periods, account groups, and plant parameters 4. Creating the necessary G/L, stock, and clearing accounts

Uploaded by

Atul Jaiswal
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 47

Assign same G/L account to two

different plants from two different


company codes belongs to same Chart
of Accounts
Automatic Account Determination

VAISHNAVI JINDAM 6/18/21 SAP MM-FI Integration


1

Automatic Account Determination


Scenario
Assign Same G/L account to two different plants of two company codes if two Company Codes
are belongs to Same Chart of Accounts

Company
Plant
Code1

Chat of Valuation Goods


Account Group Code Issue

Company
Plant
Code2
G/L
account
Material

Material Account Category


Valuation Invoice
Type Reference
Class Posting

Create Chart of account


SPRO-> SAP Reference IMG->Financial Accounting->General Ledger accounting->Master data->G/L
accounts->Preparation->Edit Chart of account List

VAISHNAVI JINDAM
2

Define Company Code

SPRO-> SAP Reference IMG->Enterprise Stricture->Definition->Financial Accounting->Edit, Copy,


Delete, Check company code

Click on Edit Company Code Data

Click on “New Entries”

VAISHNAVI JINDAM
3

Enter Below Details

Click on “Next Entry” to enter address details

VAISHNAVI JINDAM
4

VAISHNAVI JINDAM
5

Click on Save

If we are not getting transport request number click on as below and give short description and save

VAISHNAVI JINDAM
6

Assign Company Code to Chart of Account

SPRO-> SAP Reference IMG->Financial Accounting->General Ledger accounting->Master data->G/L


accounts->Preparation->Assign company code to Chart of accounts

VAISHNAVI JINDAM
7

Define Plant:

SPRO-> SAP Reference IMG->Enterprise Stricture->Definition->Logistics-General->Define, Copy,


Delete, Check Plant-> Define Plant

Define Storage Location

SPRO-> SAP Reference IMG->Enterprise Stricture->Definition->Material Management->Maintain


Storage Location

VAISHNAVI JINDAM
8

Enter plant

Enter Storage location

Define Purchase organization:

SPRO-> SAP Reference IMG->Enterprise Stricture->Definition->Material Management-> Maintain


Purchase Organization

VAISHNAVI JINDAM
9

Define Purchase Group:

SPRO->SAP Reference IMG->Material Management->Purchasing->Create Purchase Groups

Assignments
Assign plant to company code

SPRO-> SAP Reference IMG->Enterprise Stricture->Assignment->Logistics general-> Assign plant to


company code

Assign Purchasing Organization to company code

SPRO-> SAP Reference IMG->Enterprise Stricture->Assignment->Material Management->Assign


Purchasing Organization to company code

VAISHNAVI JINDAM
10

Assign Purchasing Organization to plant

SPRO-> SAP Reference IMG->Enterprise Stricture->Assignment->Material Management->Assign


Purchasing Organization to plant

Maintain Fiscal year variant

SPRO-> SAP Reference IMG->Financial Accounting->Financial accounting global settings->Regenerate


CDS views and field mapping->Ledgers->Fiscal year and Posting periods->Maintain Fiscal year variant

VAISHNAVI JINDAM
11

Assign company code to fiscal year variant

SPRO-> SAP Reference IMG->Financial Accounting->Financial accounting global settings->Regenerate


CDS views and field mapping->Ledgers->Fiscal year and Posting periods->Assign company code to
fiscal year variant

Define Variants for open posting periods

SPRO-> SAP Reference IMG->Financial Accounting->Financial accounting global settings->Regenerate


CDS views and field mapping->Ledgers->Fiscal year and Posting periods->Posting Periods->Define
Variants for open posting periods

Assign Variants to company code

SPRO-> SAP Reference IMG->Financial Accounting->Financial accounting global settings->Regenerate


CDS views and field mapping->Ledgers->Fiscal year and Posting periods->Posting Periods->Assign
Variants to company code

VAISHNAVI JINDAM
12

Define Open and Close Posting Periods

SPRO-> SAP Reference IMG->Financial Accounting->Financial accounting global settings->Regenerate


CDS views and field mapping->Ledgers->Fiscal year and Posting periods->Posting Periods->Open and
Close Posting Periods

Enter posting period variant and values

Define Field status variants

SPRO-> SAP Reference IMG->Financial Accounting->Financial accounting global settings->Regenerate


CDS views and field mapping->Ledgers->Fields->Define Field status variants

Assign company code to field status variants

SPRO-> SAP Reference IMG->Financial Accounting->Financial accounting global settings->Regenerate


CDS views and field mapping->Ledgers->Fields->Assign company code to field status variants

VAISHNAVI JINDAM
13

Define account group

SPRO-> SAP Reference IMG->Financial Accounting->General Ledger accounting->Master data->G/L


accounts->Preparation->Define account group

Define Retained Earnings Account

SPRO-> SAP Reference IMG->Financial Accounting->General Ledger accounting->Master data->G/L


accounts->Preparation->Define Retained Earnings Account

Select your Chat of accounts

VAISHNAVI JINDAM
14

SPRO-> SAP Reference IMG->Financial Accounting->Financial accounting global settings->Global


parameters for company code->Enter global parameters

Once all the above settings are created and the same has reflect in the above path as below

VAISHNAVI JINDAM
15

Create G/L account:

TCODE: FS00

Create Reconciliation account

VAISHNAVI JINDAM
16

VAISHNAVI JINDAM
17

Click save

VAISHNAVI JINDAM
18

Create Stock Account:

TCODE: FS00

VAISHNAVI JINDAM
19

Click Save

VAISHNAVI JINDAM
20

Create GR/IR Clearing account

TCODE: FS00

Click save

VAISHNAVI JINDAM
21

Define Plant Parameters:

SPRO->SAP Reference IMG->Material Management->Inventory Management and Physical Inventory-


>Plant Parameters

VAISHNAVI JINDAM
22

Maintain Controlling Area

SPRO->SAP Reference IMG->Enterprise Structure->Definition->Controlling->Maintain Controlling Area

Click new entries

TCODE: OMSY

Select company code

VAISHNAVI JINDAM
23

Give current year and month then enter and save

TCODE: OMX3: Assignment of material ledger types to valuation area

Select plant as valuation area

TCODE: OMX1: Active Material Ledger

TCODE: OMX2: Define Material Ledger Type

Click new entries and Give plant

Define settings for ledger and currency types

SPRO->SAP Reference IMG->Financial Accounting->Financial Accounting Global Settings->Ledgers-


>Ledger->Define settings for ledger and currency types

Click ok->select ledger-OL->select currency conversion settings->click ok

Copy from SG05 and make entry for Company code then click ok

VAISHNAVI JINDAM
24

TCODE: OMX1: Active Material Ledger

Check for plant

Now Material ledger is in active state

Production Startup:

Set Valuation area as Productive

TCODE: CKMSTART

Execute

VAISHNAVI JINDAM
25

TCODE: OMS2

Select plant and click on quantity and value update

Select quantity and value update

Create Material Type

SPRO->SAP Reference IMG->Logistics-General->Material Master->Basic Settings->Material Types-


>Define Attributes of material type

VAISHNAVI JINDAM
26

Created Material Type: ZMAT

Select ZMAT and click on Quantity/Value update

Update Quantity/Value for your plant

Define Number range for each material type:

SPRO->SAP Reference IMG->Logistics-General->Material Master->Basic Settings->Material Types-


>Define Number Ranges for each material type

VAISHNAVI JINDAM
27

Create Group and number range:

Search Material type and Click on below highlighted button-assign element to group to assign ZMAT
Material type to number range

VAISHNAVI JINDAM
28

Click Ok

VAISHNAVI JINDAM
29

Business Partner:

Create Account Group (OBD3):

SPRO->SAP Reference IMG->Financial Accounting->Accounts Receivable and Payable->Vendor


Accounts->Master Data->Preparation of creating vendor master data->Define account groups with
screen layout (vendors)

Create Number Range for Account Group (XKN1):

SPRO->SAP Reference IMG->Financial Accounting->Accounts Receivable and Payable->Vendor


Accounts->Master Data->Preparation of creating vendor master data->Create number ranges for
vendor accounts

Assign Number Range to account groups (OBAS):

SPRO->SAP Reference IMG->Financial Accounting->Accounts Receivable and Payable->Vendor


Accounts->Master Data->Preparation of creating vendor master data->Assign Number range to
vendor account groups

VAISHNAVI JINDAM
30

Define Business Partner Number Range:

SPRO->SAP Reference IMG->Cross Application Components->SAP Business Partner->Business Partner-


>Basic Settings->Number Ranges and Groupings->Define number ranges

Assign Business Partner Number range to Grouping:

SPRO->SAP Reference IMG->Cross Application Components->SAP Business Partner->Business Partner-


>Basic Settings->Number Ranges and Groupings->Define Groupings and assign number ranges

Link Grouping and Account Group:

SPRO->SAP Reference IMG->Cross Application Components->Master Data Synchronization-


>Custom/Vendor integration->Business Partner Settings->Settings for vendor integration->Field
assignment for vendor integration->Assign Keys->Define number assignment for direction BP to
vendor

****If you want to use same number range for BP and Vendor then Select same number range****

VAISHNAVI JINDAM
31

Business Partner related paths are captured below

Action Path
Create Account Group (OBD3) SPRO->SAP Reference IMG->Financial
Accounting->Accounts Receivable and Payable-
>Vendor Accounts->Master Data->Preparation
of creating vendor master data->Define account
groups with screen layout (vendors)
Create Number Range for Account Group (XKN1) SPRO->SAP Reference IMG->Financial
Accounting->Accounts Receivable and Payable-
>Vendor Accounts->Master Data->Preparation
of creating vendor master data->Create number
ranges for vendor accounts
Assign Number Range to account groups (OBAS) SPRO->SAP Reference IMG->Financial
Accounting->Accounts Receivable and Payable-
>Vendor Accounts->Master Data->Preparation
of creating vendor master data->Assign Number
range to vendor account groups
Define Business Partner Number Range SPRO->SAP Reference IMG->Cross Application
Components->SAP Business Partner->Business
Partner->Basic Settings->Number Ranges and
Groupings->Define number ranges
Assign Business Partner Number range to SPRO->SAP Reference IMG->Cross Application
Grouping Components->SAP Business Partner->Business
Partner->Basic Settings->Number Ranges and
Groupings->Define Groupings and assign
number ranges
Link Grouping and Account Group SPRO->SAP Reference IMG->Cross Application
Components->Master Data Synchronization-
>Custom/Vendor integration->Business Partner
Settings->Settings for vendor integration->Field
assignment for vendor integration->Assign Keys-
>Define number assignment for direction BP to
vendor
BP Role SPRO->SAP Reference IMG->Cross Application
Components->SAP Business Partner->Business
Partner->Basic Settings->Business Partner Roles-
>Define BP Roles
Create customizing view BUSD
If want to make any field as mandatory or SPRO->SAP Reference IMG->Cross Application
optional or hide based for BP role we can do in Components->SAP Business Partner->Business
below path Partner->Basic Settings->Field Groupings-
>Configure Field Attribute per BP role
If we want to select externally we need to select SPRO->SAP Reference IMG->Cross Application
flexible group and de-select “same number Components->Master Data Synchronization-
range” >Custom/Vendor integration->Business Partner
Settings->Settings for vendor integration->Field
assignment for vendor integration->Assign Keys-

VAISHNAVI JINDAM
32

Or else you get the error as below because >Define number assignment for direction BP to
different account groups have different number vendor
ranges

Identification category and type SPRO->SAP Reference IMG->Cross Application


Components->SAP Business Partner->Business
Partner->Basic Settings->identification numbers-
>Define identification Categories

SPRO->SAP Reference IMG->Cross Application


Components->SAP Business Partner->Business
Partner->Basic Settings->identification numbers-
>Define identification types
Create Partner Roles SPRO->SAP Reference IMG->Material
Management->Purchasing->Partner
Determination->Partner Roles->Define Partner
Roles
Assign Partner Roles to Account Group SPRO->SAP Reference IMG->Material
Management->Purchasing->Partner
Determination->Partner Roles->Define
Permissible partner roles per account group
Define Partner Schema SPRO->SAP Reference IMG->Material
Management->Purchasing->Partner
Determination->Partner settings in supplier
master record->Define partner schemas
Assign Partner Schema to account groups SPRO->SAP Reference IMG->Material
Management->Purchasing->Partner
Determination->Partner settings in supplier
master record->Assign Partner Schemas to
account groups

Create another company code in the same as above and the same has been captured below

Action Path
Define Company SPRO-> SAP Reference IMG- KUSH,RUSH
>Enterprise Stricture->Definition-
>Financial Accounting->Edit,
Copy, Delete, Check company
code
Define Plant SPRO-> SAP Reference IMG- PDIL,RDIL
>Enterprise Stricture->Definition-
>Logistics-General->Define, Copy,
Delete, Check Plant-> Define
Plant
Define Storage Location SPRO-> SAP Reference IMG- SB01-RW
>Enterprise Stricture->Definition- SB02-Semi finished
SB03- finished

VAISHNAVI JINDAM
33

>Material Management-
>Maintain Storage Location RB01-RW
RB02-Semi finished
RB03- finished

Define Purchase organization SPRO-> SAP Reference IMG- CORG,RORG


>Enterprise Stricture->Definition-
>Material Management->
Maintain Purchase Organization
Define Purchase Group: SPRO->SAP Reference IMG- ZPU,RPU
>Material Management-
>Purchasing->Create Purchase
Groups
Assign plant to company code SPRO-> SAP Reference IMG- PDIL to KUSH
>Enterprise Stricture- RDIL to RUSH
>Assignment->Logistics general->
Assign plant to company code
Assign Purchasing Organization SPRO-> SAP Reference IMG- CORG to KUSH
to company code >Enterprise Stricture- RORG to RUSH
>Assignment->Material
Management->Assign Purchasing
Organization to company code
Maintain Fiscal year variant SPRO-> SAP Reference IMG- K4
>Financial Accounting->Financial
accounting global settings-
>Regenerate CDS views and field
mapping->Ledgers->Fiscal year
and Posting periods->Maintain
Fiscal year variant
Assign company code to fiscal SPRO-> SAP Reference IMG- KUSH to K4
year variant >Financial Accounting->Financial RUSH to K4
accounting global settings-
>Regenerate CDS views and field
mapping->Ledgers->Fiscal year
and Posting periods->Assign
company code to fiscal year
variant
Define Variants for open posting SPRO-> SAP Reference IMG- POST,ROST
periods >Financial Accounting->Financial
accounting global settings-
>Regenerate CDS views and field
mapping->Ledgers->Fiscal year
and Posting periods->Posting
Periods->Define Variants for
open posting periods
Assign Posting Variants to SPRO-> SAP Reference IMG- POST to KUSH
company code >Financial Accounting->Financial ROST to RUSH

VAISHNAVI JINDAM
34

accounting global settings-


>Regenerate CDS views and field
mapping->Ledgers->Fiscal year
and Posting periods->Posting
Periods->Assign Variants to
company code
Define Open and Close Posting SPRO-> SAP Reference IMG-
Periods >Financial Accounting->Financial
accounting global settings-
>Regenerate CDS views and field
mapping->Ledgers->Fiscal year
and Posting periods->Posting
Periods->Open and Close Posting
Periods
Define Field status variants SPRO-> SAP Reference IMG- GLFL, RGFL
>Financial Accounting->Financial
accounting global settings-
>Regenerate CDS views and field
mapping->Ledgers->Fields-
>Define Field status variants
Assign company code to field SPRO-> SAP Reference IMG- KUSH to GLFL
status variants >Financial Accounting->Financial RUSH to RGFL
accounting global settings-
>Regenerate CDS views and field
mapping->Ledgers->Fields-
>Assign company code to field
status variants
Edit Chart of account List SPRO-> SAP Reference IMG- CHAC
>Financial Accounting->General
Ledger accounting->Master data-
>G/L accounts->Preparation-
>Edit Chart of account List
Assign company code to Chart SPRO-> SAP Reference IMG- KUSH to CHAC
of accounts >Financial Accounting->General RUSH to CHAC
Ledger accounting->Master data-
>G/L accounts->Preparation-
>Assign company code to Chart
of accounts
Define Account Group SPRO-> SAP Reference IMG- 1. RECO-
>Financial Accounting->General RECONCILATION A/C
Ledger accounting->Master data- per AP/AR
>G/L accounts->Preparation- 2. MATL-Material
>Define account group Management
account
3. INCO-Income
statement account

VAISHNAVI JINDAM
35

Define Retained Earnings SPRO-> SAP Reference IMG-


Account >Financial Accounting->General
Ledger accounting->Master data-
>G/L accounts->Preparation-
>Define Retained Earnings
Account
Enter global parameters SPRO-> SAP Reference IMG-
>Financial Accounting->Financial
accounting global settings-
>Global parameters for company
code->Enter global parameters
1. Create Reconciliation Reconciliation-4400
account per AP/PR Stock account-5500
2. Create Stock Account FS00 GR/IR account-5501
3. Create GR/IR Clearing
account
Define Plant parameters SPRO->SAP Reference IMG- PDIL,RDIL
>Material Management-
>Inventory Management and
Physical Inventory->Plant
Parameters
Maintain Controlling arear SPRO->SAP Reference IMG- ADIL,RDIL
>Enterprise Structure-
>Definition->Controlling-
>Maintain Controlling Area
Active Material Ledger account OXM1
CKMSTART
Enter current year & month OMSY Company Code: KUSH,RUSH
against company code
Assignment of material OMX3 Plant: PDIL
ledger types to valuation area Plant: RDIL
Active Material Ledger OMX1
Define Material Ledger Type OMX2
Define settings for ledger and SPRO->SAP Reference IMG-
currency types >Financial Accounting->Financial
Accounting Global Settings-
>Ledgers->Ledger->Define
settings for ledger and currency
types
Production startup CKMSTART
Set Valuation area as Productive
Quantity and Value update OMS2
Create material MM01
Create BP BP
Create Purchase Order ME21N
Create Goods Receipt MIGO
Create invoice Receipt MIRO

VAISHNAVI JINDAM
36

Give valuation class to WRX, OBYC


BSX
Define Number Assignment for SPRO->SAP Reference IMG->
Accounting Documents Material Management-
>Inventory Management and
Physical Inventory->Number
Assignment->Define Number
Assignment for Accounting
Documents

Steps to use same G/L account for two different plants belongs to two different company
codes are having same Chart of account:
Valuation Area:
The valuation area is an Organizational level at which material valuation is done; the valuation
area is defined as
• Valuation area= company code
Complete stocks of that particular material in the company code are evaluated together
• Valuation area= one plant
Define Valuation area level:

SPRO -> SAP reference IMG->Enterprise Structure->Definition->Logistics general->Define


valuation level

Define Valuation Control: (OMWM)

SPRO -> Material Management -> Valuation and Account Assignment -> Account
Determination -> Account Determination Without Wizard->Define Valuation Control

VAISHNAVI JINDAM
37

This is required if business is having more than one company code in that we can group
different plant from different Company codes to have same G/L accounts

Group together valuation areas


SPRO -> Material Management -> Valuation and Account Assignment -> Account
Determination -> Account Determination Without Wizard->Group together valuation areas
Valuation areas are grouped with the objective of simplifying the management of the standard
accounts table by minimizing the number of entries.
Along with other factors, the valuation grouping code determines the G/L Accounts, to which a
goods movement is posted (Automatic Account Determination).
The valuation grouping code makes it easier to set the automatic account determination.
Within the chart of accounts, we assigned the same valuation grouping code to the valuation
areas.
Since we want to assign to the same G/L account, we assigned the same valuation grouping code
to the valuation areas.
I created VAGC Valuation Group Code and assigned it to RDIL and PDIL Plants
RDIL belongs to RUSH CC and PDIL belongs to KUSH CC

VAISHNAVI JINDAM
38

Define Valuation Class


SPRO -> Material Management -> Valuation and Account Assignment -> Account
Determination -> Account Determination Without Wizard->Define Valuation Class
Valuation Class:
The Valuation class is a group of material with the same G/L account/ Group of material having
same account determination is called valuation class.
When you create a material master record, you must assign the material to a valuation class.
The valuation class is assigned to a material at the plant level.
The choices for valuation class are dependent on the material type. In general, several valuation
classes can be allowed for one material type. Also, the same valuation class could be allowed
for different material types. - The link between the valuation class and the material type is the
account category reference. The account category reference is assigned to a material type. -
The G/L account determined for the material is carried out according to the settings for its
valuation class.
We can group the different materials with the same properties into the valuation calls so that
there is no need to control a separate stock account for each material.

• All the materials with the same type are assigned to one valuation class.

• Various materials with the same material type are assigned to different valuation classes.

VAISHNAVI JINDAM
39

Create Account Category reference:

Created Two valuation classes R001 and K001 and assigned to ACR1

Assign ACR to Material Type:

Copy GL accounts from one CC to another CC in FS00 itself

Select Source company code

VAISHNAVI JINDAM
40

The reconciliation, stock and GR/PR account are getting copy to RUSH

Select G/L account and click on copy

Mention target company code

In the same way copy all three G/L account

VAISHNAVI JINDAM
41

Configure Automatic Postings


SPRO -> Material Management -> Valuation and Account Assignment -> Account
Determination -> Account Determination Without Wizard->Configure Automatic Postings

VAISHNAVI JINDAM
42

VAISHNAVI JINDAM
43

VAISHNAVI JINDAM
44

Created material 4500045562

TCODE: MM60

Created Vendor 100001039

TCODE: LFA1

Created Purchase Order 4500000977

TCODE: EKKO

Goods Receipt posted 5000000521

VAISHNAVI JINDAM
45

Invoice Receipt posted 5105600246

PO status

PO History

VAISHNAVI JINDAM
46

Thank you for Reading!

VAISHNAVI JINDAM

You might also like