on 04-06-2015 11:32 PM
Ola!
Estou tentando emitir uma NFE com CFOP 2.202 / BR e obter o erro:
S: J1B_NFE_ERP_GRC: 226 IDE-FIN_NFE Purpose of Issuing
Eu segui a segunda opção descrever no link abaixo para que Issue / Objetivo 4 Retorno NF-e já está atribuído ao CFOP em J_1BAGNV. Alguém pode aconselhar como proceder?
http://scn.sap.com/blogs/NFE/2014/09/25/mapping-for-field-finnfe-for-layout-310
No entanto, ele está funcionando bem para CFOP 1.202 / BR por isso é um pouco estranho. Vou continuar os testes com outros códigos CFOP mas, entretanto, eu só tenho o problema com 2202 / BR que não parece para obter o valor de finNFE J_1BAGNV.
Obrigado!
Cholen
O erro de validação em finNFE está agora resolvido. Mas a NFE é rejeitada com 321 - Rejeição: NF-e de devolução de Mercadoria NÃO possui Documento referenciado fiscal.
De LJ_1B_NFEF84, eu vejo o seguinte código. Eu não tenho certeza embora se REFNFE está sendo passado para o BADI. Uma vez que o tipo associado J1B_NF_XML_BADI_B12_V20 não inclui J1B_NF_XML_B12 que contém o B12_REFNFE campo.
LOOP AT xmlr_tab INTO ls_xmlr
WHERE docnum = p_docnum.
CLEAR: ls_rfc_nfref, lv_tabix. "2036553
READ TABLE gt_rfc_nfref INTO ls_rfc_nfref "2036553
WITH KEY ref_nfe = ls_xmlr-b12_refnfe. "2036553
IF sy-subrc = 0. "2036553
lv_tabix = sy-tabix. "2036553
ELSE. "2036553
lv_newline = 'X'. "2036553
lv_cont = lv_cont + 1.
ls_rfc_nfref-id = lv_cont.
ENDIF. "2036553
ls_rfc_nfref-ref_nfe = ls_xmlr-b12_refnfe.
ls_rfc_nfref-ref_cte = ls_xmlr-refcte.
Alguém tem alguma idéia de como resolver essa rejeição como talvez usar J1B_NF_XML_B12-B12_REFNFE no FILL_HEADER?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Muito obrigado!
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Estranho! Sugiro colocar um ponto de parada na include LJ_1B_NFEF80.
Abraço
Eduardo Chagas
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
CFOP´s iniciados com:
1000 = ENTRADAS OU AQUISIÇÕES DE SERVIÇOS DO ESTADO (UF iguais)
2000 = ENTRADAS OU AQUISIÇÕES DE SERVIÇOS DE OUTROS ESTADOS (UF diferentes)
3000 = ENTRADAS OU AQUISIÇÕES DE SERVIÇOS DO EXTERIOR
5000 = SAÍDAS OU PRESTAÇÕES DE SERVIÇOS PARA O ESTADO (UF iguais)
6000 = SAÍDAS OU PRESTAÇÕES DE SERVIÇOS PARA OUTROS ESTADOS (UF diferentes)
7000 = SAÍDAS OU PRESTAÇÕES DE SERVIÇOS PARA O EXTERIOR
User | Count |
---|---|
5 | |
5 | |
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.