<?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>topic Re: popup in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/popup/m-p/2673000#M617335</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Is the checking level like authority-check or field level checking ,&lt;/P&gt;&lt;P&gt; then write a function module exit whether the user is authority check or not and active it&lt;/P&gt;&lt;P&gt;if the user press the button&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 16 Aug 2007 07:41:07 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2007-08-16T07:41:07Z</dc:date>
    <item>
      <title>popup</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/popup/m-p/2672997#M617332</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;when item availability icon in va01/va02 is clicked only authorised users should be &lt;/P&gt;&lt;P&gt;able to proceed to the next screen.Non-authorised users should get a pop up to display the error msg with only&lt;/P&gt;&lt;P&gt;1 button ok and with msg not authorised and should remain in the same screen,should not allow to continue&lt;/P&gt;&lt;P&gt;how do i code the popup and how do i code for the screen not to proceed and remain there itself.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Aug 2007 04:35:04 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/popup/m-p/2672997#M617332</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-08-16T04:35:04Z</dc:date>
    </item>
    <item>
      <title>Re: popup</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/popup/m-p/2672998#M617333</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;&lt;/P&gt;&lt;P&gt;first : you need to code for authorisation check by creating an authorisation object or as instructed by your functional consultant&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;next.....&lt;/P&gt;&lt;P&gt;to call the pop up,you can use standard function module 'POP_UP_TO_CONFIRM' and disable the buttons except one...then in this case the sy-ucomm(sy-ucomm = PORE for availability checking i guess)  or the corresponding variable it is passed into must be cleared so that the screen is not left and/or you can try set screen 0....&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Reason : The next screen is automatically called when the system finishes the PAI processing of the current screen. If the screen number of the next screen is 0, the current next screen is ended. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It is best to give an error message rather than a pop up because you are performing the same option of providing an error message on a pop up with only OK button but again the variable for sy-ucomm needs to be cleared before the error message&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Since i am unaware as how you plan to proceed,i.e exits,BADIs,enhancement options the extend to which the suggestion is applicable is limited&lt;/P&gt;&lt;P&gt;for eg:you cannot do a call screen iside object oriented code of a BADI as far i know&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope the suggestions were useful&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Byju&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;just to add-in &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Pls try exit_sapfv45k_001 under include Zxvvau03 for icon check item availability/func code 'Pore' ...where you can do an authorisation check/call the pop up and clearing the sy-ucomm code....&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Message was edited by: &lt;/P&gt;&lt;P&gt;        Byju Edamana&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Aug 2007 07:19:29 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/popup/m-p/2672998#M617333</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-08-16T07:19:29Z</dc:date>
    </item>
    <item>
      <title>Re: popup</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/popup/m-p/2672999#M617334</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank u so much ..but i m not able to use set screen ..it gives error msg...set screen not allowed.&lt;/P&gt;&lt;P&gt;And if &lt;/P&gt;&lt;P&gt;call function 'POPUP_TO_CONFIRM'&lt;/P&gt;&lt;P&gt;    exporting&lt;/P&gt;&lt;P&gt;        titlebar        = 'Confirm'&lt;/P&gt;&lt;P&gt;        text_question   = 'Not allowed'&lt;/P&gt;&lt;P&gt;        text_button_1   = 'YES'&lt;/P&gt;&lt;P&gt;        icon_button_1   = 'ICON_OKAY'&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;        text_button_2   =  'Cancel'&lt;/P&gt;&lt;P&gt;        icon_button_2    = 'ICON_CANCEL'&lt;/P&gt;&lt;P&gt;        default_button   = '2'&lt;/P&gt;&lt;P&gt;        display_cancel_button  = ''&lt;/P&gt;&lt;P&gt;    importing&lt;/P&gt;&lt;P&gt;         answer                = returncode.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Here,in this code wht change shd i make to have only 1 button yes.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Aug 2007 07:40:06 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/popup/m-p/2672999#M617334</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-08-16T07:40:06Z</dc:date>
    </item>
    <item>
      <title>Re: popup</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/popup/m-p/2673000#M617335</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Is the checking level like authority-check or field level checking ,&lt;/P&gt;&lt;P&gt; then write a function module exit whether the user is authority check or not and active it&lt;/P&gt;&lt;P&gt;if the user press the button&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Aug 2007 07:41:07 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/popup/m-p/2673000#M617335</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-08-16T07:41:07Z</dc:date>
    </item>
    <item>
      <title>Re: popup</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/popup/m-p/2673001#M617336</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank u for ur reply.&lt;/P&gt;&lt;P&gt;Its authority level check and also im writing the code in a FM Exit but when i directly give the error msg type E,the screen gets freezed so i do not want the screen to get freezed and also not proceed to the next level on the click of the button.so im giving a pop-up and want to b in the same screen without proceeding.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Aug 2007 07:48:13 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/popup/m-p/2673001#M617336</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-08-16T07:48:13Z</dc:date>
    </item>
  </channel>
</rss>

