on 03-05-2009 4:30 PM
Executei um cancelamento, porém este cancelamento não foi executado com sucesso na SEFAZ (abaixo o XML de retorno da SEFAZ) pois recebemos o status 999 e acredito que o GRC não esteja preparado para este erro no cancelamento.
<retCancNFe xmlns="http://www.portalfiscal.inf.br/nfe" versao="1.07">
<infCanc>
<tpAmb>2</tpAmb>
<verAplic>SP_NFE_PL_005c</verAplic>
<cStat>999</cStat>
<xMotivo>Rejeição: Erro não catalogado - An error has occurred while establishing a connection to the server. When connecting to SQL Server 2005, this failure may be caused by the fact that under the default settings SQL Server does not allow remote connections. (provider: SQL Network Interfaces, error: 26 - Error Locating Server/Instance Specified)</xMotivo>
<cUF>35</cUF>
</infCanc>
</retCancNFe>
A NFe agora fica com o seguinte status:
Process Status: 06 - Sent to Authorities
Document Status: B - MS Received: Cancellation Request
Pensei em reenviar o cancelamento, mas com o status atual dela o GRC não permite o reenvio.
Alguém tem alguma sugestão para resolver este problema?
Pessoal,
Estou com o mesmo problema, abri um chamado e solicitaram o mesmo procedimento, criar um novo registro na tabela de histórico.
Quando voces dizem, inserir por debug, qual seria o procedimento? Pela se11 ou se16, nao conseguimos pois a tabela é bloqueada, por programa nao conseguimos nem referenciar a tabela....
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Foi aberto um chamado na SAP, uma solução temporária para este problema é inserir manualmente um registro na tabela /xnfe/nfe_hist para mudar o status da NFe e permitir o reenvio. Após incluir o registro basta fazer o reenvio do cancelamento.
-
-
In order to solve your business needs you need to add a new record
on table /xnfe/nfe_hist to change the status of NFe on GRC, so you can
restart it.
Steps to solve this:
. check the most recent line (greater ERTIME) for NFe ID xxxx
. create a new record similar to it, but changing this values:
TYPE = 2
ERTIME =
. go to Web Interface and restart the NFe cancellation process.
Edited by: Henrique Pinto on Mar 10, 2009 4:28 PM
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Alexandre,
legal compartilhar a info.
Editei a msg para tirar o ertime e a chave de acesso da sua nota.
Contudo, seria bom deixar claro que isso nao deveria ser executado indiscriminadamente.
A principio, o GRC deve permitir restartar o processo quando ocorre um erro.
Nesse caso especifico de um erro nao esperado, houve a necessidade da intervencao manual.
Mas seria bom evita-la e faze-lo apenas quando indicado pelo Suporte da SAP ou se ficar claro que a situacao é de um erro nao tratado pela solucao.
Abs,
Henrique.
Fernando,
Tenho a seguinte situação:
Um lote foi enviado para a SEFAZ, logo em seguida foi feita a consulta deste lote e tive o seguinte retorno:
<?xml version="1.0" encoding="UTF-8" ?>
<nfeRetRecepcaoResponse xmlns="http://sap.com/xi/NFE/005a">
<nfeRetRecepcaoResult>
<retConsReciNFe xmlns="http://www.portalfiscal.inf.br/nfe" versao="1.10">
<tpAmb>1</tpAmb>
<verAplic>SP_NFE_PL_005c</verAplic>
<nRec />
<cStat>999</cStat>
<xMotivo>Rejeição: Erro não catalogado - Timeout expired. The timeout period elapsed prior to completion of the operation or the server is not responding.</xMotivo>
<cUF>35</cUF>
</retConsReciNFe>
</nfeRetRecepcaoResult>
</nfeRetRecepcaoResponse>
Verifiquei esta NFe na SEFAZ e estava aprovada e no GRC estava com o status "Request for Authorization".
Minha dúvida é se o GRC está preparado para receber o status 999 do serviço Retorno Recepção?
Ps. Verifiquei na sxi_mnonitor e não encontrei nenhum log de erro.
Muito obrigado pela ajuda!!!!!
Abraços!!!
Alexandre, qual o status da nota no GRC?
Talvez seja possivel restartar o processo através da aba "Erro de Cancelamento" no monitor de NFe, verifique se a nota aparece lá e se sim, selecione-a e clique em Restatar.
Abs,
Henrique.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Desculpe, faltou esta informação, veja o que encontrei no SXI_MONITOR:
<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
- <!-- Call Inbound Proxy
-->
- <SAP:Error xmlns:SAP="http://sap.com/xi/XI/Message/30" xmlns:SOAP="http://schemas.xmlsoap.org/soap/envelope/" SOAP:mustUnderstand="">
<SAP:Category>XIProxy</SAP:Category>
<SAP:Code area="ABAP">PARSE_APPLICATION_DATA</SAP:Code>
<SAP:P1>Request Message</SAP:P1>
<SAP:P2>CX_ST_DESERIALIZATION_ERROR</SAP:P2>
<SAP:P3>/1SAI/TXS8795D8355A2A5CC0B503</SAP:P3>
<SAP:P4>XML Bytepos.: 680 XML Path: ns1:nfeCancelamentoNFResponse(1)ns1:nfeCancelamentoNFResult(1)ns2:retCancNFe(1)ns2:infCanc(1)ns2:xMotivo(4) Error Text: Data loss occurred when converting Rejeição: Erro não catalogado - An error has occurred while establishing a connection to the server. When connecting to SQL Server 2005, this failure may be caused by the fact that under the default settings SQL Server does not allow remote connections. Kernel ErrorId: CONVT_DATA_LOSS</SAP:P4>
<SAP:AdditionalText />
<SAP:ApplicationFaultMessage namespace="" />
<SAP:Stack>Error during XML => ABAP conversion (Request Message; error ID: CX_ST_DESERIALIZATION_ERROR; (/1SAI/TXS8795D8355A2A5CC0B503 XML Bytepos.: 680 XML Path: ns1:nfeCancelamentoNFResponse(1)ns1:nfeCancelamentoNFResult(1)ns2:retCancNFe(1)ns2:infCanc(1)ns2:xMotivo(4) Error Text: Data loss occurred when converting Rejeição: Erro não catalogado - An error has occurred while establishin)) An error occurred when deserializing in the simple transformation program /1SAI/TXS8795D8355A2A5CC0B503 Data loss occurred when converting Rejeição: Erro não catalogado - An error has occurred while establishing a connection to the server. When connecting to SQL Server 2005, this failure may be caused by the fact that under the default settings SQL Server does not allow remote connections.</SAP:Stack>
<SAP:Retry>M</SAP:Retry>
</SAP:Error>
Alexandre,
aparentemente, o erro é causado pq a definicao interna do campo xMotivo preve um CHAR 255, e nesse caso está estourando.
O problema já está com o development support, que o está solucionando.
Após a eliminacao do issue, caso ocorra 999 novamente, irá voltar uma rejeicao e você pode restartar o processo.
Att.
Henrique.
User | Count |
---|---|
14 | |
4 | |
2 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.