cancel
Showing results for 
Search instead for 
Did you mean: 

Settlement document number range based on tax code

09-18-2026 7:41 AM
TetraPak-NCSP Explorer
208 views 1 comments
0 Likes
Subscribe

Hello Experts,

we have below requirement.

We creata condiiton contract, with business volume selection. The Business volume selects invoices which belongs to different Tax codes. The requirement is the system should ceate a separate settlment docuemnt for each tax code, with a different number range for each tax code ( Number range preferably with a prefix). 

I am able to create different settlment documenst for each tax type,  but all them are created with same number range.

Appreciate your inputs regarding the number range split based on tax codes.

Thanks in advance.

0 Likes

Accepted Solutions (0)

Answers (1)

Answers (1)

Lakshmipathi
Active Contributor
0 Likes

Options to achieve your requirement

Multiple Settlement Document Types
Create separate settlement document types (e.g., S1, S2, S3) for each tax code. Assign different number ranges to each type. Use BAdI WCB_SETTLEMENT_DOC_TYPE (or similar exits in CCS) to dynamically select the settlement document type based on tax code. This way, each tax code settlement document will automatically pick the correct type → correct number range.

Custom Enhancement
If you want prefixes or more complex logic, you can implement a BAdI for number range determination (e.g., BADI_WCB_NUMBER_RANGE if available in your release). In this enhancement, you can derive the number range object dynamically from the tax code.  Most importantly, external number ranges are not supported