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: 

Alternative for Call Dialog

Former Member
0 Kudos

Hi,

While creating Dialog using SE35 in higher versions; it pops up saying Dialogs are obselete, use FMs. I dont know how to encapsulate the functionality of call dialog into Function Module.

Thanks,

Tanveer Zahaque

2 REPLIES 2

kesavadas_thekkillath
Active Contributor
0 Kudos

Hi,

Check the section Using Function Modules in [Calling Screen Sequences as Modules|http://help.sap.com/saphelp_wp/helpdata/en/9f/db9db635c111d1829f0000e829fbfe/content.htm]

0 Kudos

Hi Keshav,

I sent through the link you provided; I also tried this; I got idea about calling Dialog Programs; but in higher versions, it simply says to use SE37 as alternative for Call Dialog.

But I am not sure how to create FMs which behave exactly like Dialog Programs.

DEMO_DIALOG_MODULE which is associated with the program SAPMDEMO_TRANSACTION.

DATA spfli_wa TYPE spfli.

spfli_wa-carrid = 'LH'.

spfli_wa-connid = '0400'.

CALL DIALOG 'DEMO_DIALOG_MODULE'

EXPORTING

spfli-carrid FROM spfli_wa-carrid

spfli-connid FROM spfli_wa-connid

IMPORTING

spfli_wa TO spfli_wa.

Please guide.