on 07-23-2009 4:34 PM
Olá,
Estou implementado o SPED Fiscal e, quando eu executo a transação J_1BEFD, está exibindo um DUMP no Bloco E520.
O problema está ocorrendo no campo us_j_1bnfdoc-doctyp. As notas fiscais de Retail passam o valor "R" para o campo, então o DUMP exibe: "Unable to interpret "R" as a number.". Porém a tabela US_J_1BNFDOC-DOCTYP é um campo tipo CHAR, e foi declarada igual a tabela J_1BNFDOC-DOCTYP. (us_j_1bnfdoc TYPE j_1bnfdoc).
Alguém já passou por esse problema?
Tks!
Olá pessoal,
Obtive uma resposta da SAP.
O problema acima citado será resolvido no proximo Enhancement de número 25.
A correção foi exatamente a que eu passei acima.
Att.
Denis Almeida
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Oi Alessandra,
Por acaso você já aplicou o enhancement 23 (note:1355985) ?
Att.
Denis Almeida
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Olá pessoal,
Desculpa pela demora da resposta.
Tinha aberto o chamado para a SAP mas eles só me responderam hoje.
A orientação da SAP foi aplicar a SAPnotes 1355985. Já estamos aplicando as notas, mas ainda não chegamos nessa nota que é o último Enhancement 23.
Mas por curiosidade eu copiei o programa do SPED e fiz um programa Z e corrigi a linha 889
883 *- 009 (exits)
884 IF us_j_1bindoc-ipibase > 0.
885
886 COMPUTE l_debit009 =
887 l_debit009 + us_j_1bindoc-ipival.
>>>> ELSEIF us_j_1bindoc-ipibase LE 0
889 AND us_j_1bnfdoc-doctyp = 2 (ALTERAÇÃO: AND us_j_1bnfdoc-doctyp = '2'
890 AND us_j_1bnfdoc-docref <> space.
891 COMPUTE l_debit009 =
892 l_debit009 + us_j_1bindoc-ipival.
893 ENDIF.
894 ENDCASE.
Após essa alteração o programa funciona corretamente.
Sendo assim, vou aguardar a aplicação da SAPnotes e caso o problema persista, darei seguimento ao chamado da SAP para que eles corrijam o programa.
Assim que tiver a solução definitiva eu postarei novamente.
Att.
Denis Almeida
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Olá Denis,
Você conseguiu solucionar este problema?
Está ocorrendo o mesmo erro comigo.
Att,
Alessandra.
Edited by: Alessandra Andreatta on Jul 30, 2009 7:31 PM
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Olá Denis,
Qual foi o último Enhancement Package do SPED que você implementou?
Atenciosamente,
Guilherme Sessa
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
13 | |
2 | |
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.