Application Development 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: 

Can we call an Interactive report in Module pool program

Former Member
0 Kudos

Hi,

This is krishna.

Can we call an Interactive report in Module pool programming. If possible how?

Can anybody help me plz.

Thanks in advance.

Krishna.

3 REPLIES 3

Former Member
0 Kudos

yes. it is possable.

Syntax

SUPPRESS DIALOG.

Effect

If this statement is specified during PBO processing, then the current dynpro is processed without displaying the screen, while the screen of the previous dynpro remains visible. After the PBO processing, the system triggers the event PAI in such as way, as if a user had pressed Enter. The function code assigned to this key in the current GUI status is then transported to sy-ucomm and to the OK field. Outside of PBO processing, this statement has no effect.

If during PAI processing with the statement MESSAGE, either a termination message, error message, information message or a warning is sent, then the screen of the current dynpro is displayed together with the message.

Example

You can use SUPPRESS DIALOG to display lists while dynpros are processed, without displaying the screen of the dynpro during whose processing the list is created.

MODULE call_list OUTPUT.

SUPPRESS DIALOG.

SET PF-STATUS space.

WRITE 'Basic List'.

LEAVE TO LIST-PROCESSING AND RETURN TO SCREEN 0.

ENDMODULE.

Message was edited by:

Karthikeyan Pandurangan

Former Member
0 Kudos

Hi Krishna,

Welcome to SDN Forums...........

Yes, You can do with the help of statement LEAVE TO LIST-PROCESSING and if you want to come back to the module pool program then use LEAVE TO LIST-PROCESSING....AND RETURN TO SCREEN <SCR_NO>.

Check this code

LEAVE TO LIST-PROCESSING....AND RETURN TO SCREEN <SCR_NO>.

SUBMIT REPORT01

VIA SELECTION-SCREEN

USING SELECTION-SET 'VARIANT1'

AND RETURN.

Thanks,

Vinay

Former Member
0 Kudos

Hi,

the following link gives an example program for ur issue:

http://help.sap.com/saphelp_40b/helpdata/en/9f/db9d2f35c111d1829f0000e829fbfe/content.htm

All the best !!

Regards

Aparna