Application Development 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: 

Error in SQL Dinamic

Former Member
0 Kudos

Hi,

I Have a dinamic sql sentence:


select (v_field)
from mara

I can´t test if "v_field" belongs to mara.

I need the sql sentence doesn´t return a "error screen". Y need to cath the error and

the function can continue.

How can I do it ??

Thanks

1 ACCEPTED SOLUTION

former_member195698
Active Contributor
0 Kudos

Hi,

You can use the table DD03L to get all the fields of the table MARA.

Check V_FIELD with this table.

Regards

Abhishek

1 REPLY 1

former_member195698
Active Contributor
0 Kudos

Hi,

You can use the table DD03L to get all the fields of the table MARA.

Check V_FIELD with this table.

Regards

Abhishek