cancel
Showing results for 
Search instead for 
Did you mean: 

External number range for billing document (Invoices)

Former Member
0 Kudos

Hi guys,

I have a requirement from one of client to implement external number range for billing documents.

I can only see a provision for internal number range in customising for Billing document type.

Please can you assist me with detailson how to set up external number range for billing documents (Invoices).

Thanks, Felix

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi

In se80 , Package VMOD

Find Include -


>RV60AFZZ------>form userexit_number_range using us_range_intern.

Billing Document number range according to billing type and Company

Code/Plant etc

in the same the no range is fetched from Z tables

Various Scenarios possible

Hope it resoves the query

Rohit

Answers (4)

Answers (4)

sarthak_mohantysd
Active Contributor
0 Kudos

Hello,

First of all define the number range that you want to include it in the billing document.

For defining, please use the following path,

IMG --> SD --> Billing --> Define number range for billing and ensure that the External check box is clicked.

As you know that the Billing document does not have the provision of assigning external number range so it is adviceable to use

user exit which will work at the time of saving the Document. I think the user exit "USEREXIT_NUMBER_RANGE (Module pool

SAPLV60A, program RV60AFZZ)" can be useful for you. Take the help of ABAPer and put some logic such that the external

number range are only considered of billling document. Kindly check this and revert back.

Regards,

Sarthak

Former Member
0 Kudos

Hi

Thanks for your input. I have already checked this but it does not entirely meet our needs.

We want to be able to MANUALLY type in the invoice number. Please advise!

Thanks, Felix

Former Member
0 Kudos

it is not possible to assignee external number range to billing document because dur to external number range it might high risk for duplicate of billing in accounts so it is not aloud by standard SAP

Sagere

Former Member
0 Kudos

Thnaks Ahmed

So what do we need to do to allow the use of a MANUAL INPUT invoice number?

It is a requirement for our subsidiary in Peru that they use Government issued customer invoices.

is it possible to do a "screen exit"?

Thanks, Felix

former_member188076
Active Contributor
0 Kudos

Hi Felix

I think the similar requirement is in Venezuela also.

So pl. check the SAP Note 849438 . As per the note :-

The solution is delivered in the indicated support packages. In case you can not implement the correspondin support package for your release immediately, please follow the procedure described below:

1. In the Data Dictionary Editor (transaction SE11) please open the definition of domain J_1AOFFNREL, go to the fixed values and add value 'P' with description 'Number Assingment using Prenumbered Forms' in a position so that the possible values remain sorted alphabetically.

2. In the Message Editor (transaction SE91) please go to message class ICC_CN and add the new message 837 with text '&1: Official doc. numbering is not available for delivery documents!'.

3. If you are implementing the note in release 4.6C, please create the following function modules:

o OFF_NUMBER_LOCAL_ASSIGN_VE in function group FIN2, and then copy the interface (all parameters and exceptions) of the function module OFF_NUMBER_LOCAL_ASSIGN_TW

o OFF_NUMBER_LOCAL_NUMBERING_VE in function group FIN2, and then copy the interface (all parameters and exceptions) of the function module OFF_NUMBER_LOCAL_NUMBERING_TW

o XBLNR_BUILD_AND_SPLIT_VE in function group IDSDCNUTIL, and then copy the interface (all parameters and exceptions) of the function module XBLNR_BUILD_AND_SPLIT_PECL

4. Implement the source code corrections as shown below.

The following customizing actions should be also executed when the solution by delivered by the corresponding support package. If you applied the solution manually, then please use the IMG activities listed in the section Cross-Application Components -> General Application Functions -> Cross-Application Document Numbering -> Taiwan as a reference. After the installation of the corresponding support package the customizing node for Venezuela can be used.

1. Enable the use of business place for country Venezuela as described in the OSS Note 726537.

2. Define the necessary document classes and configure the document types you would like to get an official document number as relevant for official document numbering in the desired mode. Please check the OSS Note 571376 for some explanations about the meaning of the different settings.

3. Define the necessary number ranges and intervals and assign them to the combination of company code, business place, document class and validity period. If you use the customizing activity for Taiwan, then please leave the prefix field empty.

Regards

Amitesh

Former Member
0 Kudos

Hi Felix,

Ask your ABAP to

Call function model (bapi) and before picking internal number pass your external number only this is 1 option check it will work but always it is non standard not recommended by SAP

Ahmed

Former Member
0 Kudos

Hi Felix,

It is not possible to assign a external number range at billing document level.This requirement is to have a external billing document for one country , so you need to go with the user exit USEREXIT_NUMBER_RANGE (Include RV60AFZZ).

Regards,

Raghu.

former_member1224230
Participant
0 Kudos

Hello in customizing of a billing document you put number range similarly as for internal one,

After that you have to customize under S&D>Billing>Billing documents-->Define number ranges you have to assign range (even if it is external it cannt be any number) and also flag chekbox external.

I hope it will help

Best regards.

Piotr