2013 Apr 04 11:37 AM
Dear Experts,
In a report program, I am calling a standard program in a new session which is working fine when data exists. (New window opens with data).
In the other case where there is no data, nothing happens in the selection screen,
Here I want to have an info pop-up, viz.,
message 'No data exists for this selection criteria' type 'I'.
I'd tried by adding few lines after program calling lines (submit), but without success.
Please help.
kind regards
Jogeswara Rao
2013 Apr 04 3:39 PM
Create an implicit enhancement point in the called program and write you code there
2013 Apr 04 3:39 PM
Create an implicit enhancement point in the called program and write you code there
2013 Apr 05 12:12 PM
You can use import_list_from_memory and check if something is returned.
If nothing is returned you can populate your message.
http://www.se80.co.uk/sapfms/l/list/list_from_memory.htm
Retrieves a list from ABAP Memory exported using 'LIST_TO_MEMORY' or SUBMIT... EXPORTING LIST TO MEMROY and places it in the internal table LISTOBJECT.
2013 Apr 06 8:47 AM
Thank you Azeem,
Trying in these lines to solve the problem.
kind regards
Jogeswara Rao
| User | Count |
|---|---|
| 4 | |
| 2 | |
| 2 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |