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

any standard abap table where i can store error message and error code

Former Member
0 Likes
1,231

i want to store two variables it_error_tab_message, it_error_tab_code

to store any error which comes after calling the method of the proxy.

is there any standard table which i can use to store these two values or do i need to create my z table for the same. i need the name of the table where i can store these values for variables it_error_tab_message, it_error_tab_code permanently for future reference

code used is like this

CREATE OBJECT employee_data.

call method employee_data->UPLOAD_ACTION_ITEM

EXPORTING

OUTPUT = output.

commit work.

CATCH cx_ai_system_fault INTO go_sys_exception.

it_error_tab_message = go_sys_exception->errortext

it_error_tab_code = go_sys_exception->errortext.

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
981

Better if U can create a Z table and insert message and error code

i want to store two variables it_error_tab_message, it_error_tab_code

to store any error which comes after calling the method of the proxy.

is there any standard table which i can use to store these two values or do i need to create my z table for the same. i need the name of the table where i can store these values for variables it_error_tab_message, it_error_tab_code permanently for future reference

code used is like this

CREATE OBJECT employee_data.

call method employee_data->UPLOAD_ACTION_ITEM

EXPORTING

OUTPUT = output.

commit work.

CATCH cx_ai_system_fault INTO go_sys_exception.

it_error_tab_message = go_sys_exception->errortext

it_error_tab_code = go_sys_exception->errortext.

5 REPLIES 5
Read only

Former Member
0 Likes
982

Better if U can create a Z table and insert message and error code

Read only

0 Likes
981

can you guide why is it better tos use z table then standard table srini

Read only

0 Likes
981

U can easily maintain the Z table rather than a standard ones ... Also retrieving data would be faster

when compared to standard table as it might contain huge no. of entries ...

Read only

GauthamV
Active Contributor
0 Likes
981

Table - T100.

Read only

Former Member
0 Likes
981

thanks