SAP ABAP Message Class CNV_20000 Message Number 187 (Number range conflict in non-leading ledgers)
Hierarchy
DMIS (Software Component) DMIS 2011_1
   CA-GTF-BS (Application Component) Business Application Support
     CNV_20000 (Package) Fiscal year Change Package
Attribute
Message class CNV_20000  
Short Description Messages for fiscal year change    
Message Number 187  
Documentation status       Space: object requires documentation
Authorization check Error Message      
Changed On 20141030   
Message Text
Number range conflict in non-leading ledgers
Help Document

This check is only relevant for execution when General Ledger Accounting (new) is active in the system.

When you are using a number range of a company code for the multiple non-leading ledgers assigned to it and ledgers have a different fiscal year on a posting date, issue will be existing for both object RF_BELEG and FAGL_DOCNR. Below is an example for object FAGL_DOCNR.

Fiscal Year Variants:

K4    Calendar Year

V3    April - March

V6    July -- June

Company Code:

Company Code Variant

1000 V3

2000 V6

3000 K4

Company Code and Non-leading ledger combination:

Company Code Ledger Variant

1000    L1    K4

1000    L2    V3

1000    YG    V6

2000    L2    K4

3000    L1    V3

Participating Variants in Conversion: V3

Customization in number range table:

Object Sub-object Number range Year From no To No Current

FAGL_DOCNR 1000 01 2010 10000 20000 12345

FAGL_DOCNR 1000 01 2009 10000 20000 13456

FAGL_DOCNR 1000 01 2008 10000 20000 12453

FAGL_DOCNR 1000 01 2007 10000 20000 14356

FAGL_DOCNR 2000 01 2010 10000 20000 12346

FAGL_DOCNR 2000 01 2009 10000 20000 14359

FAGL_DOCNR 3000 01 2010 10000 20000 12345

FAGL_DOCNR 3000 01 2009 10000 20000 13478

Issue:

Considering the reduction of fiscal year to be '-1'. Now trying to convert the number range customization for object FAGL_DOCNR output will be following:

Object Sub-object Number range Year From no To No Current

FAGL_DOCNR 1000 01 2009 10000 20000 12345

FAGL_DOCNR 1000 01 2008 10000 20000 13456

FAGL_DOCNR 1000 01 2007 10000 20000 12453

FAGL_DOCNR 1000 01 2006 10000 20000 14356

FAGL_DOCNR 2000 01 2010 10000 20000 12346

FAGL_DOCNR 2000 01 2009 10000 20000 14359

FAGL_DOCNR    3000        01        2010    10000    20000    13459

FAGL_DOCNR 3000 01 2009 10000 20000 12345

FAGL_DOCNR 3000 01 2008 10000 20000 13478

Now when you check company code 1000 for fiscal year 2009, the last document posted was 13456 before conversion, but now after conversion next document number will be 12346 which were already posted in the system. This will lead to SQL errors.

For company Code 3000 it's the same issue as mentioned for company code 1000.

Entries for company code 2000 will not be converted as no ledgers assigned to it using the fiscal year variant which needs to be converted.

Here, data will be converted in the following manner considering company code 1000 is not in the example

Object Sub-object Number range Year From no To No Current

FAGL_DOCNR

FAGL_DOCNR 2000 01 2010 10000 20000 12346

FAGL_DOCNR &

History
Last changed on/by 20141030  SAP 
SAP Release Created in