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

CX_ROOT not available

Former Member
0 Likes
574

I'am working on a tutorial, in the tutor then next code is written :

<b>data r_ex type ref to cx_root.</b>

when checking the code i get error CX_ROOT is unknow.

how can help ????

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
522

Hi,

it didn't give me any error.

reprot ztest.

<b>data r_ex type ref to cx_root.</b>

is it single line code or some thing else also there in your code.

Regards

vijay

4 REPLIES 4
Read only

Former Member
0 Likes
523

Hi,

it didn't give me any error.

reprot ztest.

<b>data r_ex type ref to cx_root.</b>

is it single line code or some thing else also there in your code.

Regards

vijay

Read only

0 Likes
522

<b>As far as I know there is no exception class in (4.6C) .

It is a new concept and works in (4.7)</b>

lp_object type ref to cx_root.

read the instance using get text and then move the value to a variable. The value which you retrieve in the variable will have the text which you had passed while raising the exception.

Read only

Former Member
0 Likes
522

hi jacco,

what is the SAP version you are working in?/

Regards

vijay

Read only

0 Likes
522

Version is 4.6c