This document may explain some constraint in setting Flex Account in Sales using P40296|W40296C form.
Cost Object Rules Setup Method
The value defined in UDC 16/SM - Cost Object Rules Setup Method. Currently, P1691 (Cost Object Rule Setup Method) defines the specific Methods on a specific Application ID (i.e., Method A (AAI Number method) for R42800). Available methods,
A (AAI Number method): By default, R42800 makes use of this method. What it means is that I am going to flex based on F4096.ANUM = F4095.ANUM and other columns
C (Combination Method): this method and O method treat same
O (Object Account method): (Not recommended for distribution AAI) I am going to flex based on F4096.OBJF through OBJT based on F4095.OBJ
Note: Do not change the canned method because it guides you to implement Flex Accounting easily
Basic Rules and Constraints
In setting up the flexible account using P40296|W40296C [Flexible Rules Definition] as below,
An account comprises MCU (Cost Center), OBJ (Object), and SUB (Subsidiary) which makes a single account to be unique
There is no means to flex OBJ (object) using Flex Accounting Setup
The object (where account = MCU.OBJ.SUB) is always coming from F4095.OBJ based on hard-coded DMAAI. In case you want to have different F4095.OBJ, you need to have unique F4095.CO, DCT, and GLPT.
Values in the header are meant for filtration (values in the Grid is the target account). In getting Flex Accounting information (F4096), the values (arguments) specified in header will be used to construct WHERE clause in getting data from F4096
You can specify only one of column values as below,
AAI Table Number (for example, 4220): This is the default settings. You can enter AAI Table Number 4220, Company, and Document Type.
AAI-Financial (for example, GLG4) - Future feature
or, Object Acct (for example, 6010 ~ 6020): only when the 'Cost Object Rules Setup Method' is 'O - Object method' or 'C - Combination'
If F4095.OBJ = 6020 AND ( this value does not sit in between the From obj (F4096.OBJF) and the To OBJ (F4096.OBJT)), the flex rule does not take effect. Meaning that this value can be used for filtration.
Usage of Object Acct From/To in the Header
Hence, the usage of an object in the header can be meaningful when,
Cost object rule set up method is 'O' for R42800
F4095.CO, DCT, and GLPT return different F4095.OBJ
For example,
00001 S1 IN10 6020
00001 S2 IN10 6030
...
Set the range of an object in the header like 6020 through 6020
The flex shall not take effect when the order is written like (00001 S2 IN10) because 6030 is outside the range defined. On the other hand, the order recorded with 00001 S1 IN10 will flex the account.