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

displaying message

Former Member
0 Likes
703

hi all,

i have a problem with displaying information message, actually i am counting the transaction (no of records), i have to display the the numbers at the output after processing and display it as information message.how and where can we use this to display at the output,my count is into the parameter.

4 REPLIES 4
Read only

former_member194669
Active Contributor
0 Likes
640

Like this way



end-of-selection.
write :/ 'No of records:'  v_rec. " Here v_rec contains no of records

a®

Read only

Former Member
0 Likes
640

READ TABLE itab1 WITH TABLE KEY carrid = 'AY'.

data: cntstr type string.

cntstr = sy-tfill. (or based on your use you can give sy-dbcnt)

CONCATENATE cntstr 'Records Selected' into cntstr.

message cntstr type 'I'.

The above will display no.of records fetched from itab.

Read only

Former Member
0 Likes
640

Hi,

I guess u r asking for message displays tht we dio in se91 ..

If tht is the case then for displaying the number format like eg:

the amount recieved is: 2000. for such kind of messages too be displayed .

Go to tcode se91 in that info message give:

the amount u received is &amount field& then it will display the amount int ht plcae .

Try this it works,

where as in se38 u shuolc give it as mesage i000(zmessage) with <thenumber field>/.

regards,

Sana.

Read only

Former Member
0 Likes
640

thanks all