Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Func. Module - RH_EDITOR_SET giving Short Dump

Former Member
0 Likes
951

Hello ,

I am using a container in my proogram.While running this my program calls this function module and then it is giving a shortdump.The short text of that dump says "Exception condition "INTERNAL_ERROR" raised."

the dump is coming at the line:

163 CALL METHOD control_tab-ctrl_new->set_text_as_r3table

164 EXPORTING

165 table = lines[]

166 EXCEPTIONS

167 error_dp = 1

168 error_dp_create = 2.

169 IF sy-subrc <> 0.

>>>>> RAISE internal_error.

171 ENDIF.

172 ENDIF.

While calling this function module i am passing these parameters.

CALL FUNCTION 'RH_EDITOR_SET'

EXPORTING

REPID = SY-CPROG "program name

DYNNR = '0100' "screen number

CONTROLNAME = VAR " name of the custom control on screen

MAX_COLS = COL "variable value = 85

MAX_LINES = 10

DISPLAY_MODE = ' '

SHOW_TOOL = ' '

TABLES

LINES = IT_LINES_CR. " table type TLINE

The strange thing is that this works fine in 4.6c but is giving a dump in ECC 6.0

Can u please tell me what is the problem.

Thanks in advance.

Kunal

Hello ,

I am using a container in my proogram.While running this my program calls this function module and then it is giving a shortdump.The short text of that dump says "Exception condition "INTERNAL_ERROR" raised."

the dump is coming at the line:

163 CALL METHOD control_tab-ctrl_new->set_text_as_r3table

164 EXPORTING

165 table = lines[]

166 EXCEPTIONS

167 error_dp = 1

168 error_dp_create = 2.

169 IF sy-subrc <> 0.

>>>>> RAISE internal_error.

171 ENDIF.

172 ENDIF.

While calling this function module i am passing these parameters.

CALL FUNCTION 'RH_EDITOR_SET'

EXPORTING

REPID = SY-CPROG "program name

DYNNR = '0100' "screen number

CONTROLNAME = VAR " name of the custom control on screen

MAX_COLS = COL "variable value = 85

MAX_LINES = 10

DISPLAY_MODE = ' '

SHOW_TOOL = ' '

TABLES

LINES = IT_LINES_CR. " table type TLINE

The strange thing is that this works fine in 4.6c but is giving a dump in ECC 6.0

Can u please tell me what is the problem.

Thanks in advance.

Kunal

2 REPLIES 2
Read only

Former Member
0 Likes
746

Hi,

There are lot of changes happened between 4.6C and ECC 6.0. so make sure about the dump analysis.

Regards,

Kumar.

Read only

0 Likes
746

Thanks for the reply Kumar.

It would be a great help to me if you could tell me how should I call this function module now.

Kunal