<?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: Call T-Code MD04 initial screen in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/call-t-code-md04-initial-screen/m-p/7565334#M1564810</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi K.Manas &amp;amp; Keshav T,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks a lot for your answers.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I had used CALL TRANSACTION before hand and SKIP FIRST SCREEN. But if you read the documentation it suggests this statement saves the data of the calling program, and starts transaction &amp;lt;tcod&amp;gt;. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But on a happy note,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; LEAVE TO TRANSACTION and SKIP FIRST SCREEN worked. This is what i needed.This statement ends the calling program and starts transaction &amp;lt;tcod&amp;gt;. &lt;/P&gt;&lt;P&gt;~ as suggested by K. Manas&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;From MD12 screen after doing some operations i directly trigger to MD04 second screen. I cannot use &lt;/P&gt;&lt;P&gt;SY-TCODE = 'MD04' and SY-UCOMM = 'BACK' as user may not press back and go further. &lt;/P&gt;&lt;P&gt;~ as suggested by Keshav T&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks a lot again,&lt;/P&gt;&lt;P&gt;Fernissa Fahamalathi&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 29 Dec 2010 13:00:29 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2010-12-29T13:00:29Z</dc:date>
    <item>
      <title>Call T-Code MD04 initial screen</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/call-t-code-md04-initial-screen/m-p/7565331#M1564807</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Folks,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am developing  a module pool program for MD12 (Planned Order) which further updates MD04.&lt;/P&gt;&lt;P&gt;In my initial screen user enters planned order no and hits enter. It navigates to second screen of MD12. Here in this screen&lt;/P&gt;&lt;P&gt;user enters Start Date, End date etc and has more functionalities. Later on the dates calculated in MD12 triggers in MD04 second screen.&lt;/P&gt;&lt;P&gt;i.e. After few screen transactions user moves to MD04 via MD12 , directly to second screen using parameter ID. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I need your suggestions on how can i know when user hits the back button in MD04 i need to go to MD04 initial screen.&lt;/P&gt;&lt;P&gt;Now it's going to selection screen if i use &lt;/P&gt;&lt;P&gt;                SET SCREEN 0. LEAVE SCREEN.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance,&lt;/P&gt;&lt;P&gt;Fernissa Fahamalathi&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 29 Dec 2010 12:15:21 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/call-t-code-md04-initial-screen/m-p/7565331#M1564807</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-12-29T12:15:21Z</dc:date>
    </item>
    <item>
      <title>Re: Call T-Code MD04 initial screen</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/call-t-code-md04-initial-screen/m-p/7565332#M1564808</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hope my understanding is right. Then i would suggest you to use these :&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;LEAVE TO TRANSACTION &amp;lt;tcod&amp;gt; [AND SKIP FIRST SCREEN].

CALL TRANSACTION &amp;lt;tcod&amp;gt; [AND SKIP FIRST SCREEN] [USING &amp;lt;itab&amp;gt;]&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 29 Dec 2010 12:24:43 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/call-t-code-md04-initial-screen/m-p/7565332#M1564808</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-12-29T12:24:43Z</dc:date>
    </item>
    <item>
      <title>Re: Call T-Code MD04 initial screen</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/call-t-code-md04-initial-screen/m-p/7565333#M1564809</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;if sy-tcode = 'MD04' and sy-ucomm = 'BACK'.&lt;/P&gt;&lt;P&gt;set screen 300. leave screen.&lt;/P&gt;&lt;P&gt;endif.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 29 Dec 2010 12:42:44 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/call-t-code-md04-initial-screen/m-p/7565333#M1564809</guid>
      <dc:creator>kesavadas_thekkillath</dc:creator>
      <dc:date>2010-12-29T12:42:44Z</dc:date>
    </item>
    <item>
      <title>Re: Call T-Code MD04 initial screen</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/call-t-code-md04-initial-screen/m-p/7565334#M1564810</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi K.Manas &amp;amp; Keshav T,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks a lot for your answers.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I had used CALL TRANSACTION before hand and SKIP FIRST SCREEN. But if you read the documentation it suggests this statement saves the data of the calling program, and starts transaction &amp;lt;tcod&amp;gt;. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But on a happy note,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; LEAVE TO TRANSACTION and SKIP FIRST SCREEN worked. This is what i needed.This statement ends the calling program and starts transaction &amp;lt;tcod&amp;gt;. &lt;/P&gt;&lt;P&gt;~ as suggested by K. Manas&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;From MD12 screen after doing some operations i directly trigger to MD04 second screen. I cannot use &lt;/P&gt;&lt;P&gt;SY-TCODE = 'MD04' and SY-UCOMM = 'BACK' as user may not press back and go further. &lt;/P&gt;&lt;P&gt;~ as suggested by Keshav T&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks a lot again,&lt;/P&gt;&lt;P&gt;Fernissa Fahamalathi&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 29 Dec 2010 13:00:29 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/call-t-code-md04-initial-screen/m-p/7565334#M1564810</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-12-29T13:00:29Z</dc:date>
    </item>
  </channel>
</rss>

