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

Report Message

Former Member
0 Likes
549

What are the basic steps to get a message when there are no transactions for a custom gl report is run. I need the date Header

message "there are no documents".

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
522

Getting a message is simple:

message e000(zz) with 'No Documents'.

The pre requisite is that you should have defined a message class in se91 with name zz and a message 000 should be defined in the message class. the message 000 should have an '&' '&' '&' '&'.

3 REPLIES 3
Read only

Former Member
0 Likes
523

Getting a message is simple:

message e000(zz) with 'No Documents'.

The pre requisite is that you should have defined a message class in se91 with name zz and a message 000 should be defined in the message class. the message 000 should have an '&' '&' '&' '&'.

Read only

Former Member
0 Likes
522

Hi Ramudu

Suppose you are trying to extract the records in internal table <itab>, statement like below can help you.

IF NOT <itab> IS INITIAL.
    message i000(01) with 'No Documents found'.
ENDIF.

Note that this can help only incase of Online Processing.

Kind Regards

Eswar

Read only

anversha_s
Active Contributor
0 Likes
522

hi,

try this.

Message 'There are No Documents' TYPE 'S'.         "status bar messge

Message 'There are No Documents' TYPE 'E'.         "Error messge

rgds

Anver