cancel
Showing results for 
Search instead for 
Did you mean: 

Error in ERP during NF-e status update

Former Member
0 Kudos

We have an invoice which has been processed by SEFAZ and in GRC Web monitor it shows NF-e Status as 'green' (Process Status: 05 Result Received, Status Code: 101: Cancelamento de NF-e homologado), however in our ECC6 system this invoice is still showing as 'waiting for a response' from the GRC system.

We attempted to reprocess the invoice via SE38 -> /XNFE/UPDATE_ERP_STATUS_DIAL, but received the following error:

Error in ERP during NF-e status update

I checked table J_1BNFE_INVALID in ECC6 and noticed that there are entries for the invoice having issues. In J1BNFE when I click on the red flag I see the following messages:

Item Category ZTBW not found for billing type S1

->No entry in table J_1BSDIC for the combination of billing document type and item category

How can we update ECC6 with status from GRC?

Thanks,

Setu

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Oi

você tem essa entrada na tabela J_1BSDIC ?

do you have this entry in the table J_1BSDIC ?

Eduardo

Answers (2)

Answers (2)

Former Member
0 Kudos

Eduardo,

No, the entry does not exist in table J_1BSDIC. What can be done about this?

Thanks,

Setu

Former Member
0 Kudos

Oi

Aqui está o caminho...

Here is the path...

Sales and Distribution Billing Billing Documents Coutry-specific Features for Brazil Maintain Billing Document Item Category

Eu recomendo a você revisar as suas configurações.

I recommend you to review your configs.

Abraço

Eduardo

former_member182114
Active Contributor
0 Kudos

Bom dia Setu,

Seu procedimento está correto, deve-se utilizar o report para retransmissão do resultado 05/101 ao ERP, porém ele não está sendo processado devido a dificuldades no cancelamento deste documento no R/3.

Para uma resposta 101, o R3 automaticamente irá cancelar o documento para isto executa a transação conforme processo (VF11, MR8M, VL09, MBST) e é neste passo que está acontecendo o problema.

Sugestão para investigação:

- Verifique os parâmetros de retorno do R3 debugando o programa /xnfe/update_erp_status_dial (parâmetros da chamada à J_1B_NFE_XML_IN_TAB).

- Pegue estes parâmetros e execute no R3 diretamente a função J_1B_NFE_XML_IN_TAB, debugando a chamada "call transaction", mudando o parâmetro lv_mode para 'A' (include LJ_1B_NFEF51, da função J_1BNFE_CANCEL).

- Observação: Após voltar do call transaction aborte a execução do debug para evitar inconsistência no SAP.

Seguindo estes passos você poderá entender o que está acontecendo em nível funcional, daí é provável que tenha que modificar alguma coisa na sua customização ou configuração.

Atenciosamente, Fernando Da Rós

To read SDN Portuguese forum in english use google translator tool: This thread in english