on 06-27-2014 9:02 AM
Hi Avinash,
refer to sap note number 998575. This note should resolve your issue.
thanks
anita
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Have you looked at tx st22 to see what the short dump displays?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
Here are the details of the ST22.
Error analysis
The following syntax error has occurred in program %_CCNV
:
The type name "CNV_TABNAME" is ambiguous, since it is also defined in
the Dictionary control structure introduced with "CLASS". "CLASS". "CL
ASS". "CLASS". "CLASS".
" "
Source Code Extract
Line SourceCde
1 method describe_by_name .
2
3 data:
4 crc type XTYPE_TYPE,
5 res like p_descr_ref.
6
7 * check name for sequence of c
8 system-call check p_name for sequence of c
9 class 'CL_ABAP_TYPEDESCR' method 'DESCRIBE_BY_NAME' parameter 'P_NAME'.
10
11 * get administration information
>>>>> system-call describe administration
13 mode 'N' of p_name into admin_tab_line-xtype crc admin_tab_line-kind.
14
15 * look at hash tabel wether descr object already exists
16 read table admin_tab from admin_tab_line into admin_tab_line.
17 if sy-subrc = 0.
18 res ?= admin_tab_line-ref->get( ).
19 if res is bound.
20 p_descr_ref = res.
21 return.
22 endif.
23 delete table admin_tab from admin_tab_line.
24 endif.
25
26 * create new descr object
27 case admin_tab_line-kind.
28 when kind_elem.
29 raise event create_elemdescr
30 exporting xtype = admin_tab_line-xtype.
31 when kind_ref.
-------------------------------------------------------------------------------------------------------------------------------------------------
Program Code for Method DESCRIBE_BY_NAME
* check name for sequence of c
system-call check p_name for sequence of c
class 'CL_ABAP_TYPEDESCR' method 'DESCRIBE_BY_NAME' parameter 'P_NAME'.
* get administration information
system-call describe administration
mode 'N' of p_name into admin_tab_line-xtype crc admin_tab_line-kind.
* look at hash tabel wether descr object already exists
read table admin_tab from admin_tab_line into admin_tab_line.
if sy-subrc = 0.
res ?= admin_tab_line-ref->get( ).
if res is bound.
p_descr_ref = res.
return.
endif.
delete table admin_tab from admin_tab_line.
endif.
User | Count |
---|---|
83 | |
10 | |
10 | |
9 | |
7 | |
6 | |
5 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.