<?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: dIALOGUE pROGRAMMING in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/dialogue-programming/m-p/2058144#M425048</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;PBO is triggered before the display of the screen.&lt;/P&gt;&lt;P&gt;But readin the thread it seems your requirement is to accept some values from the screen and then do some coding.If it is so, then this will come in PAI instead of PBO.&lt;/P&gt;&lt;P&gt;Like this -&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  chain.&lt;/P&gt;&lt;P&gt;    field pprhp-rozt.    &lt;/P&gt;&lt;P&gt;    module input_status on chain-request.&lt;/P&gt;&lt;P&gt;  endchain.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Amit&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 21 Mar 2007 01:12:07 GMT</pubDate>
    <dc:creator>amit_khare</dc:creator>
    <dc:date>2007-03-21T01:12:07Z</dc:date>
    <item>
      <title>dIALOGUE pROGRAMMING</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/dialogue-programming/m-p/2058138#M425042</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi friends,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am developing a module pool program,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have to do Initialiazation.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;which part of the program should i write my initialiazation code.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any suggestions,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Madhu&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 21 Mar 2007 00:45:38 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/dialogue-programming/m-p/2058138#M425042</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-03-21T00:45:38Z</dc:date>
    </item>
    <item>
      <title>Re: dIALOGUE pROGRAMMING</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/dialogue-programming/m-p/2058139#M425043</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You have to write in the PBO event..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;PROCESS BEFORE OUTPUT.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  MODULE INITIALIZE.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;MODULE INITIALIZE.&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;If you want to do it for the first time..&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;create a variable in the top include with value as 'X'.&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  IF V_FIRST = 'X'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;Do all the variable initializing for the first time..&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;   CLEAR V_FIRST.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;Clear the variable V_FIRST to make sure it is not called again..&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  ENDIF.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ENDMODULE.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;THanks,&lt;/P&gt;&lt;P&gt;Naren&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 21 Mar 2007 00:47:54 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/dialogue-programming/m-p/2058139#M425043</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-03-21T00:47:54Z</dc:date>
    </item>
    <item>
      <title>Re: dIALOGUE pROGRAMMING</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/dialogue-programming/m-p/2058140#M425044</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks Naren,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have written it in this way, but it is not triggering.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Whats the reason for it.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Madhu&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 21 Mar 2007 00:55:13 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/dialogue-programming/m-p/2058140#M425044</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-03-21T00:55:13Z</dc:date>
    </item>
    <item>
      <title>Re: dIALOGUE pROGRAMMING</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/dialogue-programming/m-p/2058141#M425045</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It will trigger the PBO event..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Make sure your code is not within a condition..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Do one thing..Put a break-point in your program...Then check..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Naren&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 21 Mar 2007 00:56:52 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/dialogue-programming/m-p/2058141#M425045</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-03-21T00:56:52Z</dc:date>
    </item>
    <item>
      <title>Re: dIALOGUE pROGRAMMING</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/dialogue-programming/m-p/2058142#M425046</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi ,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;All the variables used in module pool program(all sceens) should be declared in TOP module&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you declare in PBO and use the same vaiable in PAI then then it will through a syntax error.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It's just like declaing in a form.If you declae it in a form its applicable to that form , out side that form it doesn't work&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;similaly if you are a variable in both PAI and PBO you have to declare in TOP module.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;similarily if you initiliaze a value  declae that vaue in TOP module and where ever you use that variable it holds that value uncless you clear it in you code.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Let me know if iam not clear&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks &lt;/P&gt;&lt;P&gt;venki&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 21 Mar 2007 00:58:35 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/dialogue-programming/m-p/2058142#M425046</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-03-21T00:58:35Z</dc:date>
    </item>
    <item>
      <title>Re: dIALOGUE pROGRAMMING</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/dialogue-programming/m-p/2058143#M425047</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks Naren and Venki.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The PBO is triigering even before the screen is displayed.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My requirement is when i execute the code i need the first screen to be displayed and i input the date in the screen like select options and with these values i need to perform the rest of code.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Madhu.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 21 Mar 2007 01:05:30 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/dialogue-programming/m-p/2058143#M425047</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-03-21T01:05:30Z</dc:date>
    </item>
    <item>
      <title>Re: dIALOGUE pROGRAMMING</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/dialogue-programming/m-p/2058144#M425048</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;PBO is triggered before the display of the screen.&lt;/P&gt;&lt;P&gt;But readin the thread it seems your requirement is to accept some values from the screen and then do some coding.If it is so, then this will come in PAI instead of PBO.&lt;/P&gt;&lt;P&gt;Like this -&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  chain.&lt;/P&gt;&lt;P&gt;    field pprhp-rozt.    &lt;/P&gt;&lt;P&gt;    module input_status on chain-request.&lt;/P&gt;&lt;P&gt;  endchain.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Amit&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 21 Mar 2007 01:12:07 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/dialogue-programming/m-p/2058144#M425048</guid>
      <dc:creator>amit_khare</dc:creator>
      <dc:date>2007-03-21T01:12:07Z</dc:date>
    </item>
    <item>
      <title>Re: dIALOGUE pROGRAMMING</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/dialogue-programming/m-p/2058145#M425049</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;To get select options in the dialog programming use the FM COMPLEX_SELECTIONS_DIALOG&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Search SDN with the FM ..You will get lot of sample programs..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Naren&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 21 Mar 2007 01:12:36 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/dialogue-programming/m-p/2058145#M425049</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-03-21T01:12:36Z</dc:date>
    </item>
    <item>
      <title>Re: dIALOGUE pROGRAMMING</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/dialogue-programming/m-p/2058146#M425050</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks Amit,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Yes  u r  right. I have to read from screen and do my processing on it.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The reason I was using initialization I have to use some like select-options.&lt;/P&gt;&lt;P&gt;So i was using initialiazation&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;INITIALIZATION.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  r_pwwrk-SIGN = 'I'.&lt;/P&gt;&lt;P&gt;  r_pwwrk-OPTION = 'EQ'.&lt;/P&gt;&lt;P&gt;  r_pwwrk-LOW    = l_pwwrk.&lt;/P&gt;&lt;P&gt;  r_pwwrk-high   = h_pwwrk.&lt;/P&gt;&lt;P&gt;  APPEND r_pwwrk.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks Naren for the FM.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;madhu.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 21 Mar 2007 01:18:56 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/dialogue-programming/m-p/2058146#M425050</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-03-21T01:18:56Z</dc:date>
    </item>
    <item>
      <title>Re: dIALOGUE pROGRAMMING</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/dialogue-programming/m-p/2058147#M425051</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;So your problem is solved or not now.&lt;/P&gt;&lt;P&gt;If not then for this code, just do chain-endchain on this field in PBO and write module for it in that only.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Amit&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 21 Mar 2007 01:24:56 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/dialogue-programming/m-p/2058147#M425051</guid>
      <dc:creator>amit_khare</dc:creator>
      <dc:date>2007-03-21T01:24:56Z</dc:date>
    </item>
    <item>
      <title>Re: dIALOGUE pROGRAMMING</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/dialogue-programming/m-p/2058148#M425052</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks Amit,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am thinking of writing it as a report program in SE38.&lt;/P&gt;&lt;P&gt;Suppose i have got everything to an Internal table in se38 report program and from there i would like to call a dialogue program which has table control.&lt;/P&gt;&lt;P&gt;How do i call it.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Madhu.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 21 Mar 2007 01:28:27 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/dialogue-programming/m-p/2058148#M425052</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-03-21T01:28:27Z</dc:date>
    </item>
    <item>
      <title>Re: dIALOGUE pROGRAMMING</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/dialogue-programming/m-p/2058149#M425053</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Check this might help you -&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;module in the ABAP program that has been defined using&lt;/P&gt;&lt;P&gt;MODULE &amp;lt;mod&amp;gt; OUTPUT.&lt;/P&gt;&lt;P&gt;...&lt;/P&gt;&lt;P&gt;ENDMODULE.&lt;/P&gt;&lt;P&gt;In the PAI, POH, and POV events, you can use the statement to call any dialog module in the&lt;/P&gt;&lt;P&gt;ABAP program that has been defined using&lt;/P&gt;&lt;P&gt;MODULE &amp;lt;mod&amp;gt; [INPUT].&lt;/P&gt;&lt;P&gt;...&lt;/P&gt;&lt;P&gt;ENDMODULE.&lt;/P&gt;&lt;P&gt;It is technically possible to have two dialog modules with the same name in the same program,&lt;/P&gt;&lt;P&gt;one defined using OUTPUT, the other with INPUT. However, this is not recommended.&lt;/P&gt;&lt;P&gt;Since dialog modules in an ABAP program can be called from more than one screen, you can&lt;/P&gt;&lt;P&gt;program functions that you need in several screens centrally in a single module. For example, it&lt;/P&gt;&lt;P&gt;is usual to copy the contents of the OK-code field into an auxiliary variable and then reset the&lt;/P&gt;&lt;P&gt;field in all PAI events. You could program this task in a single module that you would then call&lt;/P&gt;&lt;P&gt;from the PAI event of all screens.&lt;/P&gt;&lt;P&gt;If you need to distinguish between screen numbers in a dialog module, you can use the system&lt;/P&gt;&lt;P&gt;field SY-DYNNR, which always contains the number of the current screen. This would allow you,&lt;/P&gt;&lt;P&gt;for example, to analyze the function code in a single PAI module and then control the further&lt;/P&gt;&lt;P&gt;program flow according to the screen number and function code.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Amit&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 21 Mar 2007 01:33:31 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/dialogue-programming/m-p/2058149#M425053</guid>
      <dc:creator>amit_khare</dc:creator>
      <dc:date>2007-03-21T01:33:31Z</dc:date>
    </item>
  </channel>
</rss>

