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

modify dtab

Former Member
0 Likes
403

Hi,

I am trying to modify the database table..

MODIFY <Dtab>

FROM TABLE <Itab>.

If the modify statement fails..

means IF SY-SUBRC NE 0.

i have to capture why modify statement fails..

can anybody give a suggetion how to handle this situation.

Thanks in advance.

2 REPLIES 2
Read only

Former Member
0 Likes
373

You can write conditions why it fails like incompatible type or some thing like that it depends on your fields

Read only

0 Likes
373

Hi,

I had already validating all the fields ... to compatable for the <Dtab>..

and my internal table structure and <Dtab> structure is also same..

i need to catch any system exeception raising .... in this situation while sy-subrc fails