on 04-24-2014 10:37 AM
Hello Experts ,
When I am trying to Generate Runtime Objects for a Project , I am getting Short dump as "Assert condition was Violated" with the below Source code. Using the transaction /IWBEP/SB(SEGW).
CASE ld_ddobjtype.
WHEN objecttype-dtel.
lr_root = analyse_element( is_type = ls_dfiesincl ).
WHEN objecttype-inttab.
" structure
analyse_structure(
EXPORTING
iv_fieldname = 'root'
iv_struname = lv_typename
iv_position = 0
IMPORTING
eo_fielddesc = lo_desc
).
lr_root ?= lo_desc.
WHEN objecttype-ttyp.
" table type
lr_root = analyse_table( iv_fieldname = 'root'
iv_tablename = lv_typename
iv_position = 0 ).
WHEN objecttype-transp OR objecttype-view.
" transparent table
lr_root = analyze_transp_table( iv_fieldname = 'root'
iv_struname = lv_typename
iv_position = 0
it_dfies = lt_dfies_tab ).
WHEN ''. " row is internal type
lr_root = analyse_coretype( iv_type = ls_dfiesincl ).
ENDCASE.
ASSERT NOT lr_root IS INITIAL.
Could anyone let me know , What could be the possible solution for this error-short dump?
Appreciate your help.
Thanks,
Uday.
The code that is dumping (looks to be from class "/iwbep/cl_ifl_type_analyzer" method "process") is analyzing the different types associated with the FM you're using. I just tried a real quick test in my environment using that FM BAPI_CUST_SAREAS_MATERIALS_GET and I'm not having any problems.
One thing you could do is look at the dump in ST22, go to the "Chosen variables" section, and look at two things: the value of ld_ddobjtype and the value of lv_typename. If you post that information I may be able to help more.
Are you using that BAPI FM as the basis for the read/query, or did you write your own FM to wrap around that BAPI call?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Thanks.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
93 | |
10 | |
10 | |
9 | |
9 | |
7 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.