This document will explain the process of reference key 1 and 2 to make mandatory field without creating any validation for particular GL accounts.
You can restrict it for company code wise also.
- Create field status : Go to SPRO > Financial Accounting (New) > Financial Accounting Global Settings (New) > Ledgers > Fields > Define Field Status Variants
Select field status groups which is already activated for your company code.
Create new field status group by copying any existing group which is applicable for GL master.
Double click on newly created field status group following screen will be appear
2. Double click on General tab then click on required entry to Reference Specification 1/2 option
3. Go to FS00; enter GL account number, company code. Select tab Create/bank/interest select from the list field status group which is created
4. Reference key 1 and 2 will be mandatory field while posting document entry for this GL.