<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>Question Re: Problem creating a modal dialog in Technology Q&amp;A</title>
    <link>https://community.sap.com/t5/technology-q-a/problem-creating-a-modal-dialog/qaa-p/854764#M285083</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Excuse me for off-topic, but there is a Wizard library in SAP (at least in 4.7). You can create your own wizard via transaction SBPT_WB.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 20 May 2005 08:27:33 GMT</pubDate>
    <dc:creator>sergey_korolev</dc:creator>
    <dc:date>2005-05-20T08:27:33Z</dc:date>
    <item>
      <title>Problem creating a modal dialog</title>
      <link>https://community.sap.com/t5/technology-q-a/problem-creating-a-modal-dialog/qaq-p/854763</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I want to present a 'wizard'-like dialogbox to the user of my system. But I'm having trouble making my popup window modal i.e. to lock the main window of my application as long as the user is interacting with the 'wizard'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am in a strictly (ABAP-)object oriented context. Therefore my first attempt was the CL_GUI_DIALOGBOX_CONTAINER which I like quite a lot but it's flaw is that it is amodal which makes it useless.&lt;/P&gt;&lt;P&gt;Then I tried a new dynpro (to which I would attach a docking container) but it seems that dynpros can't be displayed from ABAP-Objects...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Maybe someone has an idea on how to make the CL_GUI_DIALOGBOX_CONTAINER modal &amp;lt;i&amp;gt;&amp;lt;b&amp;gt;or&amp;lt;/b&amp;gt;&amp;lt;/i&amp;gt; some other solution to the problem ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best regards,&lt;/P&gt;&lt;P&gt;Patrick Baer&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 20 May 2005 08:09:41 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/problem-creating-a-modal-dialog/qaq-p/854763</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2005-05-20T08:09:41Z</dc:date>
    </item>
    <item>
      <title>Re: Problem creating a modal dialog</title>
      <link>https://community.sap.com/t5/technology-q-a/problem-creating-a-modal-dialog/qaa-p/854764#M285083</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Excuse me for off-topic, but there is a Wizard library in SAP (at least in 4.7). You can create your own wizard via transaction SBPT_WB.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 20 May 2005 08:27:33 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/problem-creating-a-modal-dialog/qaa-p/854764#M285083</guid>
      <dc:creator>sergey_korolev</dc:creator>
      <dc:date>2005-05-20T08:27:33Z</dc:date>
    </item>
    <item>
      <title>Re: Problem creating a modal dialog</title>
      <link>https://community.sap.com/t5/technology-q-a/problem-creating-a-modal-dialog/qaa-p/854765#M285084</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Sergei,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;doesn't seem to be off topic but I have only access to 4.6 release &lt;span class="lia-unicode-emoji" title=":neutral_face:"&gt;😐&lt;/span&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 20 May 2005 08:42:38 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/problem-creating-a-modal-dialog/qaa-p/854765#M285084</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2005-05-20T08:42:38Z</dc:date>
    </item>
    <item>
      <title>Re: Problem creating a modal dialog</title>
      <link>https://community.sap.com/t5/technology-q-a/problem-creating-a-modal-dialog/qaa-p/854766#M285085</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Another off topic post...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I haven't used classes to handle modal dialogs, but I have used CALL FUNCTION .... which works fine.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can have a look in SE37 at all the standard function modules named POPUP* (there are around 20 or so from memory) for examples.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What controls whether a screen is modal or not is a screen attribute set in the screen painter - Modal.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Cheers,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Brad&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 20 May 2005 08:54:28 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/problem-creating-a-modal-dialog/qaa-p/854766#M285085</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2005-05-20T08:54:28Z</dc:date>
    </item>
    <item>
      <title>Re: Problem creating a modal dialog</title>
      <link>https://community.sap.com/t5/technology-q-a/problem-creating-a-modal-dialog/qaa-p/854767#M285086</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Brad,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;your reply also does not seem to be off topic for me.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I will investigate if it is possible to call a screen from a function module. I interpret your post as suggesting so &lt;SPAN __jive_emoticon_name="wink"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;I could then wrap the function module call in a method which would be ok.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am currently using some of the popups that already exist but they are not customizable enough to fit in the current scenario.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best regards,&lt;/P&gt;&lt;P&gt;Patrick Baer&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 20 May 2005 09:03:23 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/problem-creating-a-modal-dialog/qaa-p/854767#M285086</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2005-05-20T09:03:23Z</dc:date>
    </item>
    <item>
      <title>Re: Problem creating a modal dialog</title>
      <link>https://community.sap.com/t5/technology-q-a/problem-creating-a-modal-dialog/qaa-p/854768#M285087</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Patrick,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;IMHO, that's the point: you can't call dynpros inside ABAP-OO.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm curious, if there are more elegant ways, but here is my proposal:&lt;/P&gt;&lt;P&gt;Encapsulate your new (modal) screen in a FM or report. This FM (like POPUP*) )can be called inside ABAP-OO.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Inside this FM you can again use OO, but here concept of separate transaction logic (how to book data) and maintenance logic (in which way maintain data in screens) comes into the game.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Christian&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 20 May 2005 09:06:53 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/problem-creating-a-modal-dialog/qaa-p/854768#M285087</guid>
      <dc:creator>christian_wohlfahrt</dc:creator>
      <dc:date>2005-05-20T09:06:53Z</dc:date>
    </item>
    <item>
      <title>Re: Problem creating a modal dialog</title>
      <link>https://community.sap.com/t5/technology-q-a/problem-creating-a-modal-dialog/qaa-p/854769#M285088</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Christian,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I totally agree with you. That's exactly how I see the situation now.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In my opinion the most elegant way would be to add a modal/amodal parameter to the constructor of the CL_GUI_DIALOGBOX_CONTAINER. It probably isn't that easy to implement but it would be quite logical in my eyes. Furthermore it is OO-based and very easy to use.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best regards,&lt;/P&gt;&lt;P&gt;Patrick Baer&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 20 May 2005 09:30:24 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/problem-creating-a-modal-dialog/qaa-p/854769#M285088</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2005-05-20T09:30:24Z</dc:date>
    </item>
    <item>
      <title>Re: Problem creating a modal dialog</title>
      <link>https://community.sap.com/t5/technology-q-a/problem-creating-a-modal-dialog/qaa-p/854770#M285089</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I've just connected to 4.6c and the transaction is in place.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 20 May 2005 09:40:01 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/problem-creating-a-modal-dialog/qaa-p/854770#M285089</guid>
      <dc:creator>sergey_korolev</dc:creator>
      <dc:date>2005-05-20T09:40:01Z</dc:date>
    </item>
    <item>
      <title>Re: Problem creating a modal dialog</title>
      <link>https://community.sap.com/t5/technology-q-a/problem-creating-a-modal-dialog/qaa-p/854771#M285090</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&amp;gt; I will investigate if it is possible to call a screen &amp;gt; from a function module. I interpret your post as&lt;/P&gt;&lt;P&gt;&amp;gt; suggesting so &lt;SPAN __jive_emoticon_name="wink"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;gt; I could then wrap the function module call in a method &amp;gt; which would be ok. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Just read through my post, and perhaps it was a bit vague.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For sure you will be able to do as you suggested.  What I was trying to say is that the POPUP* functions (for example POPUP_TO_CONFIRM_WITH_STEP) provide an exact technical example of what you want to achieve.  If you wrap one of these up in a method you get your result.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Of course, you will probably have to create your own function with call screen (to get your wizard functionality), but the POPUP* functions show you how its done.  They also let you test your method approach without having to code a function from scratch. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Cheers,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Brad&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 20 May 2005 09:42:17 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/problem-creating-a-modal-dialog/qaa-p/854771#M285090</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2005-05-20T09:42:17Z</dc:date>
    </item>
    <item>
      <title>Re: Problem creating a modal dialog</title>
      <link>https://community.sap.com/t5/technology-q-a/problem-creating-a-modal-dialog/qaa-p/854772#M285091</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Sergei,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;you are right. I could open the transaction.&lt;/P&gt;&lt;P&gt;I mistakenly tried to find it in the reports...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It might in fact be an option but right now I would prefer to build my wizard from scratch on my own.&lt;/P&gt;&lt;P&gt;If I don't succeed I will get back to the transaction you suggested and try it out again.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you anyway !&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best regards,&lt;/P&gt;&lt;P&gt;Patrick Baer&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 20 May 2005 10:51:02 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/problem-creating-a-modal-dialog/qaa-p/854772#M285091</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2005-05-20T10:51:02Z</dc:date>
    </item>
    <item>
      <title>Re: Problem creating a modal dialog</title>
      <link>https://community.sap.com/t5/technology-q-a/problem-creating-a-modal-dialog/qaa-p/854773#M285092</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Brad,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks for the clarification of your post.&lt;/P&gt;&lt;P&gt;I think I got the message already but what you explained confirmed it &lt;SPAN __jive_emoticon_name="happy"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This is the way I will try to design my wizard.&lt;/P&gt;&lt;P&gt;Still I'm a bit disappointed that I could'nt use the CL_GUI_DIALOGBOX_CONTAINER &lt;span class="lia-unicode-emoji" title=":neutral_face:"&gt;😐&lt;/span&gt;&lt;/P&gt;&lt;P&gt;It's a pretty neat thing, very easy to use and conceptually clean - except a missing option to make it modal...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SAP listen to this !&lt;/P&gt;&lt;P&gt;(probably too late now that web-interfaces are on the table &lt;SPAN __jive_emoticon_name="wink"&gt;&lt;/SPAN&gt; )&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best regards,&lt;/P&gt;&lt;P&gt;Patrick Baer&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 20 May 2005 10:56:09 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/problem-creating-a-modal-dialog/qaa-p/854773#M285092</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2005-05-20T10:56:09Z</dc:date>
    </item>
    <item>
      <title>Re: Problem creating a modal dialog</title>
      <link>https://community.sap.com/t5/technology-q-a/problem-creating-a-modal-dialog/qaa-p/854774#M285093</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Patrick,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I don't understand your complain.&lt;/P&gt;&lt;P&gt;Here how I see your necessary steps:&lt;/P&gt;&lt;P&gt;- create a FM&lt;/P&gt;&lt;P&gt;- call screen (and define PBO, PAI,...)&lt;/P&gt;&lt;P&gt;- use CL_GUI_DIALOGBOX_CONTAINER in this screen&lt;/P&gt;&lt;P&gt;- ...make your actions&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Christian&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 20 May 2005 11:42:56 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/problem-creating-a-modal-dialog/qaa-p/854774#M285093</guid>
      <dc:creator>christian_wohlfahrt</dc:creator>
      <dc:date>2005-05-20T11:42:56Z</dc:date>
    </item>
    <item>
      <title>Re: Problem creating a modal dialog</title>
      <link>https://community.sap.com/t5/technology-q-a/problem-creating-a-modal-dialog/qaa-p/854775#M285094</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Christian,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;just read your reply (somehow didn't get a new post email on this answer...)&lt;/P&gt;&lt;P&gt;I am complaining about a very good technique (cl_gui_dialogbox_container) not thought till the end (option to turn the window modal/amodal).&lt;/P&gt;&lt;P&gt;Of course in the way we discussed it a solution can be achieved. But it is not very elegant in my eyes.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Patrick&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 01 Jul 2005 09:20:04 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/problem-creating-a-modal-dialog/qaa-p/854775#M285094</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2005-07-01T09:20:04Z</dc:date>
    </item>
  </channel>
</rss>

