on 01-19-2011 8:14 PM
Ola,
Estou com o seguinte problema:
O Funcional entra na J1BTAX -> Preparação da Condição -> Migração -> Tabela de Imposto para Condições.
Opção: V (Vendas e Distribuição) = Flegada
Escolhe-se a linha : J_1BTXSDCV Tabela gerada para a visão J_1BTXSDCV 291
Quando manda executar aparece a seguinte mensagem de erro:
"Não foi possivel gerar o objeto a classe CL_J_1BTXSDCV".
Debugando cheguei ate:
Create an instance of the class that handles the table.
The type is determined dynamically from the name of the table.
CONCATENATE 'CL_' wa_views-viewmap-tabname INTO lv_classname.
TRY.
CREATE OBJECT o_table TYPE (lv_classname)
EXPORTING i_viewmap = wa_views-viewmap
i_alv_list = alv_list.
CATCH cx_sy_create_object_error INTO o_except.
Onde ele monta o nome da classe e verifica se ela existe:
Se a opção marcada na hora de executar é a visão CL_J_1BTXSDCV ele da a mensagem de erro
Mas, se por exemplo, escolho outra J_1BTAXCODEV ele funciona e o debug chega ate o seguinte programa: J_1B_MIGRATE_TAX_RATES_CL1
Nele existe a declaração para a classe cl_j_1btaxcodev,por exemplo:
CLASS cl_j_1btaxcodev DEFINITION
Alguem tem ideia o que pode se existe Nota pra isso?
Pois não encontrei nada ainda.
E creio que enquanto nao tiver o CLASS XXXXXX DEFINITION para a CL_J_1BTXSDCV ele vai continuar dando erro.
Neste programa existe o CLASS cl_j_1btxsdc DEFINITION
Mas nao para a visão.
Se alguem tiver alguma dica, sera bem vinda.
Att.
Ola colega,
Provavelmente o problema seja resolvido, fazendo o seguinte:
-> j1btax
-> br
-> condition setup (menu)
-> atribuição de condições
-> atribuir tab.taxas imp/tabs.condição
-> remova a linha J_1BTXSDCV
Essa parte deve fazer referencia somente na tabela e não na visão.
Rode novamente a migração.
att,
Ruy Castro
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Movendo para o fórum correto.
Abs,
Henrique.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Boa Noite,
Alguem ja passou por esse problema e conseguiu resolve-lo???
debugando o erro antes do mesage E esta o seguinte comentario no codigo ABAP...
Instance of condition class does not exist
Can only happen if source code is not complete
CLEAR ok_code.
MESSAGE e346(8b) WITH m_tabname.
aparentemente temos algo corrompido .
Att,
Rafael Medice
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
108 | |
12 | |
11 | |
6 | |
5 | |
4 | |
3 | |
3 | |
3 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.