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

error message display

Former Member
0 Likes
453

Hi,

i am having 2 - 3 values in an internal table like

this below

A

B

C

I want to display an error message like this

Data record not found for A, b and c

Error message should be displayed based on the internal table values

How i can do this?

Regards

senthil

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
435

create your own message id. say ZMSG in the 001 row put text and activate

check the values. if not found.

message e001(zmsg).

Reward if useful

Thanks

ANUPAM

3 REPLIES 3
Read only

kesavadas_thekkillath
Active Contributor
0 Likes
435

Dear senthil do you want it to be displayed in single row ?

Read only

Former Member
0 Likes
436

create your own message id. say ZMSG in the 001 row put text and activate

check the values. if not found.

message e001(zmsg).

Reward if useful

Thanks

ANUPAM

Read only

Former Member
0 Likes
435

Hi,

You can do as below :

If check for the condition.

if sy-subrc NE 0.

message 'Data record not found for A B and C' type 'E'.

endif.

endif.

Thanks,

Sriram Ponna.