Professional Documents
Culture Documents
We are improving! Due to further refinements, our original planned dates for no new content of September 4th through September 7th have been moved.
The SCN wiki will not be available for new content submission starting September 4th 6PM CET until September 7 6PM CET. Please plan your SCN wiki tasks accordingly.
Localization Latin America / … / NFe ERP
NFe Gaps Report
Added by Gustavo Oliveira, last edited by Thiago Cezimbra on Nov 12, 2013
Purpose
The purpose of this page is present the NFe Gap report J_1BNFECHECKNUMBERRANGES. How to run, use and configurations.
Overview
Working with Nota Fiscal Eletrônica (Brazilian Electronic Invoice), sometimes gaps in the official number range may happen due several reasons, like update termination, network problems, etc. In order to
help customers to report those gaps to SEFAZ (Brazil's tax authority), SAP has released this report that should be run once in a month, that will read all the customization regarding the number range
objects, and perform a sequential read in all notas fiscais tables in order to identify gaps. If any gap exists, the report will also send automatically to GRC, triggering the skip process and get the SEFAZ
acknowledge.
The NFe Gap Report
Basically the report requires only a couple of the parameters to run:
This report allows you to make execution as much as you can without actually trigger the skipping to GRC. You just have to use the 'Test Run' flag. When you validates the information, you can run 'for
real'. You can also decide if you want to use Asynchronous or Synchronous execution. The difference is, report will run until all the notas fiscais numbers found as gaps be sent to GRC. If you decide to use
'Asynchronous' method, report will run in few seconds and the control will pass to the SAP engine control the execution.
The Main Customizing View
It is very important to make the correct customization before run the report for the first time in the view J_1BNFENUMCHECKV. The customization should be done via Company Code. Check how the
customization looks like:
http://wiki.scn.sap.com/wiki/display/LOCLA/NFe+Gaps+Report 1/4
11/08/2015 NFe Gaps Report Localization Latin America SCN Wiki
Here you insert the business place, the object of the number range related in the process, the number and finally in the field 'To Number', you insert the last number verified.
Why this last field is so important?
This field is important if you already reported any time a gap to SEFAZ in old numbers. Lets took our example:
The number 6963 was the last number checked by the report. This means, in the next execution of the report, it will not read from the number zero to check gaps, but will start from number 6963. So, this
means if it is the first time you are executing the report and you never report a gap to SEFAZ before for this combination, is natural to have the number '0' in this field. However, let's say in your internal
control, it is the first time you are executing the report, but you already report to SEFAZ gaps until number 17038. Hence, you should insert the value 17038 in the field 'To Number'. With that, the report will
start from this number to.
After execution
After the execution, you will see this:
Those are the notas fiscais number that the system identify as gaps, and it will report to SEFAZ. At this point, the skipping process was trigger at GRC/PI and in a few seconds we will get the SEFAZ
approve for it.
Following up
You can follow up the results inside table J_1BNFENUMGAP. This table keeps the register of the access key create for this gap, the version, all the information about form, brunch, company code and the
most important one, if the skip request was authorized by SEFAZ. See field 'Status'.
http://wiki.scn.sap.com/wiki/display/LOCLA/NFe+Gaps+Report 2/4
11/08/2015 NFe Gaps Report Localization Latin America SCN Wiki
You can also access the information of this table inside J1BNFE, menu Goto > Gap Monitor.
Related Content
Related Documents
Related SAP Notes/KBAs
Here is the list of main SAP notes and KBAs related with the report:
1241922 NFe: Report J_1BNFECHECKNUMBERRANGES xNFe adaption
1294917 NFe: Gap numbering check several corrections
1374609 NFe: Report J_1BNFECHECKNUMBERRANGES allows multiple forms
1485877 Display NFes number gaps in NFe Monitor
1587638 NFe: Enhancement of maintenance view J_1BNFENUMCHECKV
1551876 Updating Status of Skipped NFe Number results in error
1836742 NFe: Number Range Gap Report uses wrong Government Version
1740963 NFe: Number Skip Report doesn't update last checked number
1738271 Creation date in result of report "Check Number Range Gaps"
1722805 NFe: No. Range Gaps rejected because of spaces in NF number
1708398 CTe: Number Range Skipping
http://wiki.scn.sap.com/wiki/display/LOCLA/NFe+Gaps+Report 3/4
11/08/2015 NFe Gaps Report Localization Latin America SCN Wiki
gaps report lacuna intervalo brecha
Contact Us SAP Help Portal
Privacy Terms of Use Legal Disclosure Copyright Follow SCN
http://wiki.scn.sap.com/wiki/display/LOCLA/NFe+Gaps+Report 4/4