<?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: dialog modules in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/dialog-modules/m-p/3332433#M798612</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;Where to write foll. code??&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;case sy-tcode.&lt;/P&gt;&lt;P&gt;when 'TCODE1'.&lt;/P&gt;&lt;P&gt;edit = 0.&lt;/P&gt;&lt;P&gt;when 'TCODE2'.&lt;/P&gt;&lt;P&gt;edit = 1.&lt;/P&gt;&lt;P&gt;endcase.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Reply....&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 30 Jan 2008 10:59:29 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2008-01-30T10:59:29Z</dc:date>
    <item>
      <title>dialog modules</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/dialog-modules/m-p/3332430#M798609</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;I have created a dialog program, in 1st screen, there is Display button and clicking that, we go to 2nd screen wherein we can edit and add a new record and when clicking save button , it saves to database table....&lt;/P&gt;&lt;P&gt;i have created 1 tranaction for that....&lt;/P&gt;&lt;P&gt;now, i need to create transaction , one for only display and another for change.... how is that possible???&lt;/P&gt;&lt;P&gt;Help, if u can...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 30 Jan 2008 10:40:16 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/dialog-modules/m-p/3332430#M798609</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-01-30T10:40:16Z</dc:date>
    </item>
    <item>
      <title>Re: dialog modules</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/dialog-modules/m-p/3332431#M798610</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;create two transactions.&lt;/P&gt;&lt;P&gt;and write in ur prog like.&lt;/P&gt;&lt;P&gt;data:edit.&lt;/P&gt;&lt;P&gt;case sy-tcode.&lt;/P&gt;&lt;P&gt;when 'TCODE1'."display tcode&lt;/P&gt;&lt;P&gt;edit = 0.&lt;/P&gt;&lt;P&gt;when 'TCODE2'."change tcode&lt;/P&gt;&lt;P&gt;edit = 1.&lt;/P&gt;&lt;P&gt;endcase.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;in the PBO module of second screen write like this.&lt;/P&gt;&lt;P&gt;loop at screen.&lt;/P&gt;&lt;P&gt;screen-input = edit.&lt;/P&gt;&lt;P&gt;modify screen.&lt;/P&gt;&lt;P&gt;endloop.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;rgds,&lt;/P&gt;&lt;P&gt;bharat.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 30 Jan 2008 10:45:28 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/dialog-modules/m-p/3332431#M798610</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-01-30T10:45:28Z</dc:date>
    </item>
    <item>
      <title>Re: dialog modules</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/dialog-modules/m-p/3332432#M798611</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi,&lt;/P&gt;&lt;P&gt;in SE93&lt;/P&gt;&lt;P&gt;When you create a transcation code, set the first screen attribute as the screen number  in which you will have the output.&lt;/P&gt;&lt;P&gt;For the other transaction put the first screen attribute as the scrren number of the screen in which u edit.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Hope this helps, Do reward.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: Runal Singh on Jan 30, 2008 4:20 PM&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 30 Jan 2008 10:49:57 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/dialog-modules/m-p/3332432#M798611</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-01-30T10:49:57Z</dc:date>
    </item>
    <item>
      <title>Re: dialog modules</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/dialog-modules/m-p/3332433#M798612</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;Where to write foll. code??&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;case sy-tcode.&lt;/P&gt;&lt;P&gt;when 'TCODE1'.&lt;/P&gt;&lt;P&gt;edit = 0.&lt;/P&gt;&lt;P&gt;when 'TCODE2'.&lt;/P&gt;&lt;P&gt;edit = 1.&lt;/P&gt;&lt;P&gt;endcase.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Reply....&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 30 Jan 2008 10:59:29 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/dialog-modules/m-p/3332433#M798612</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-01-30T10:59:29Z</dc:date>
    </item>
    <item>
      <title>Re: dialog modules</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/dialog-modules/m-p/3332434#M798613</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;Create two transaction codes in se93.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;mention screen no of first screen for transaction one and second for the second tcode.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Then call like:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;case sy-ucomm.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;when 'DISPLAY'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;call transaction 'ZSECOND'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;endcase...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;like that..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Renjith Michael.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 30 Jan 2008 12:54:45 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/dialog-modules/m-p/3332434#M798613</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-01-30T12:54:45Z</dc:date>
    </item>
    <item>
      <title>Re: dialog modules</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/dialog-modules/m-p/3332435#M798614</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;I believe in the second screen you have two buttons 'Save' and 'Add'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In the screen layouts, suppose you have a screen 1002 containing these two buttons, you assign function codes 'SAV' and 'ADD' corresponding to the buttons.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Be sure to add an ok_code field in the Element List of the screen.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now you come to the flow logic of screen 1002 and under the PAI( as it is concerned with what all after you click any of the buttons ).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You click on MODULE USER_COMMAND_1002 INPUT after decommenting it. It will ask for a suitable include, choose the F include for subroutines.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now write a PERFORM Subroutine_name statement and double click on the subroutine_name. This is enable you to create one subroutine( if you haven't created already ).Again choose the F include as the location.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now, within this subroutine, proceed as:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DATA: ok_code TYPE sy-ucomm.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CASE ok_code.&lt;/P&gt;&lt;P&gt;WHEN 'SAV'.&lt;/P&gt;&lt;P&gt; &amp;lt;code&amp;gt;.&lt;/P&gt;&lt;P&gt;WHEN 'ADD'.&lt;/P&gt;&lt;P&gt;&amp;lt;code&amp;gt;.&lt;/P&gt;&lt;P&gt;ENDCASE.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Reward If Helpful.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 30 Jan 2008 13:10:55 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/dialog-modules/m-p/3332435#M798614</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-01-30T13:10:55Z</dc:date>
    </item>
  </channel>
</rss>

