<?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: Problem while copying standard program to Z Program in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-while-copying-standard-program-to-z-program/m-p/6895494#M1480585</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;look for this code:&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
  IF NOT ( sy-tcode = 'MB56' ).
    MESSAGE e213(12).
  ENDIF.
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;change the name of the TCODE to your custom TCODE.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This is causing the Error.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ALSO,&lt;/P&gt;&lt;P&gt;While copying the PRogram, DO NOT change the name of the INCLDUE to ZINCLUDE. Keep the same name. No issues.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Let me know if its woring&amp;gt;?&lt;/P&gt;&lt;P&gt;ags&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 13 May 2010 11:07:36 GMT</pubDate>
    <dc:creator>agnihotro_sinha2</dc:creator>
    <dc:date>2010-05-13T11:07:36Z</dc:date>
    <item>
      <title>Problem while copying standard program to Z Program</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-while-copying-standard-program-to-z-program/m-p/6895487#M1480578</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi SAP Forum,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have copied one standard program to Zprg. and there are TWO Screens in standard program (100, 200). But in my Zprg only 200 copied, when I'm trying to copy Screen 100, it shows an error, "Screen already exists"..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;And also, I've created one "Z" Transaction Code for my same  program. In that, I've mention, Screen Number: 100.. When I execute "Z" Transaction, the Screen 100, will come as selection cretria is on that,  and when I click on Execute Button, it comes back in SAP EASY ACCESS Screen (Initial Screen). But I want that, Screen 200 will come when I click on execute Button in Screen 100.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;How can I resolve this?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Devinder&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 13 May 2010 07:35:56 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-while-copying-standard-program-to-z-program/m-p/6895487#M1480578</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-05-13T07:35:56Z</dc:date>
    </item>
    <item>
      <title>Re: Problem while copying standard program to Z Program</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-while-copying-standard-program-to-z-program/m-p/6895488#M1480579</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;check on the includes on the main program after copying only the name changes but code does not get changed.&lt;/P&gt;&lt;P&gt;so maybe your program still has the standard includes.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 13 May 2010 07:41:43 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-while-copying-standard-program-to-z-program/m-p/6895488#M1480579</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-05-13T07:41:43Z</dc:date>
    </item>
    <item>
      <title>Re: Problem while copying standard program to Z Program</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-while-copying-standard-program-to-z-program/m-p/6895489#M1480580</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;open the program form SE80, and look for the SCREENs. Isnt there 100 and 200 both?&lt;/P&gt;&lt;P&gt;For REPORTs the Selection screen standard should always have number 1000. You cannot edit this screen as this is overwritten whenevr REPORT is called.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 13 May 2010 07:45:51 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-while-copying-standard-program-to-z-program/m-p/6895489#M1480580</guid>
      <dc:creator>agnihotro_sinha2</dc:creator>
      <dc:date>2010-05-13T07:45:51Z</dc:date>
    </item>
    <item>
      <title>Re: Problem while copying standard program to Z Program</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-while-copying-standard-program-to-z-program/m-p/6895490#M1480581</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 already modified all the related names in the code to "Z". But the problem is still there.&lt;/P&gt;&lt;P&gt;If anybody knows about the whole process of copying a program with screens, includes etc. then just do let me know?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Devinder&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 13 May 2010 10:11:38 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-while-copying-standard-program-to-z-program/m-p/6895490#M1480581</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-05-13T10:11:38Z</dc:date>
    </item>
    <item>
      <title>Re: Problem while copying standard program to Z Program</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-while-copying-standard-program-to-z-program/m-p/6895491#M1480582</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;go to se80 check on the program if it has the screen attached to it,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;or the best other way i can figure out is to check by debugging since you said one of the screens are working so there might be a problem @ the code of execution&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 13 May 2010 10:20:30 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-while-copying-standard-program-to-z-program/m-p/6895491#M1480582</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-05-13T10:20:30Z</dc:date>
    </item>
    <item>
      <title>Re: Problem while copying standard program to Z Program</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-while-copying-standard-program-to-z-program/m-p/6895492#M1480583</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi,&lt;/P&gt;&lt;P&gt;I hope you have copied the program from SE80 or SE38 using the COPY option.&lt;/P&gt;&lt;P&gt;Inside the standard program you will have many includes. Although you renbame the includes during Copy, they wont be created in the Program with new name. So inside your program rename the includes as Z includes. Also open each standard include in SE38 and copy them to the same X include name you have used for them in your program.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Also, change the screen number in your custom program to 101 and 201. Do a FIND and change it.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ags.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 13 May 2010 10:28:31 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-while-copying-standard-program-to-z-program/m-p/6895492#M1480583</guid>
      <dc:creator>agnihotro_sinha2</dc:creator>
      <dc:date>2010-05-13T10:28:31Z</dc:date>
    </item>
    <item>
      <title>Re: Problem while copying standard program to Z Program</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-while-copying-standard-program-to-z-program/m-p/6895493#M1480584</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'm getting the error given below, while activating the copied program.&lt;/P&gt;&lt;P&gt;Pls help if anybody konws.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Generation errors in program&lt;/P&gt;&lt;P&gt;-&lt;/P&gt;&lt;HR originaltext="----------------------------------------------------------------------------" /&gt;&lt;P&gt;Source code   ????????????????????????????????????????     Line     0&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  Error when generating the selection screen "0100" of report "ZRVBBWULS&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&lt;/P&gt;&lt;P&gt;Devinder&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 13 May 2010 10:48:08 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-while-copying-standard-program-to-z-program/m-p/6895493#M1480584</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-05-13T10:48:08Z</dc:date>
    </item>
    <item>
      <title>Re: Problem while copying standard program to Z Program</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-while-copying-standard-program-to-z-program/m-p/6895494#M1480585</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;look for this code:&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
  IF NOT ( sy-tcode = 'MB56' ).
    MESSAGE e213(12).
  ENDIF.
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;change the name of the TCODE to your custom TCODE.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This is causing the Error.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ALSO,&lt;/P&gt;&lt;P&gt;While copying the PRogram, DO NOT change the name of the INCLDUE to ZINCLUDE. Keep the same name. No issues.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Let me know if its woring&amp;gt;?&lt;/P&gt;&lt;P&gt;ags&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 13 May 2010 11:07:36 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-while-copying-standard-program-to-z-program/m-p/6895494#M1480585</guid>
      <dc:creator>agnihotro_sinha2</dc:creator>
      <dc:date>2010-05-13T11:07:36Z</dc:date>
    </item>
    <item>
      <title>Re: Problem while copying standard program to Z Program</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-while-copying-standard-program-to-z-program/m-p/6895495#M1480586</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I Guess you need to create the screen 100 for your program.. &lt;/P&gt;&lt;P&gt;If its already created check out wether its activated or not..&lt;/P&gt;&lt;P&gt;Go to se51 and try creating the screen, or if there is a call screen you are using in you code then double click on that it has to navigate you to that screen if it is existing.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 13 May 2010 11:55:58 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-while-copying-standard-program-to-z-program/m-p/6895495#M1480586</guid>
      <dc:creator>UdayS</dc:creator>
      <dc:date>2010-05-13T11:55:58Z</dc:date>
    </item>
    <item>
      <title>Re: Problem while copying standard program to Z Program</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-while-copying-standard-program-to-z-program/m-p/6895496#M1480587</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi ags,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks.. I've already changed the TCODE from code and second thing about Include, I've also changed the name of BOTH (two Includes) and it is working fine.. but error still coming...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Generation errors in program&lt;/P&gt;&lt;P&gt;-&lt;/P&gt;&lt;HR originaltext="----------------------------------------------------------------------------" /&gt;&lt;P&gt;Source code   ????????????????????????????????????????     Line     0&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  Error when generating the selection screen "0100" of report "ZRVBBWULS&lt;/P&gt;&lt;P&gt;                       ".&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;and also, I've done only one change in Include, I've added one select-options over there and getting the same error, but if I add PARAMETERS, then its executed successfully. But I want add a "Posting Date" as SELECT-OPTIONS.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Pls try to resolve this..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks a lot  in advance&lt;/P&gt;&lt;P&gt;Devinder&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: Devinder Pawha on May 13, 2010 2:02 PM&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 13 May 2010 12:01:42 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-while-copying-standard-program-to-z-program/m-p/6895496#M1480587</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-05-13T12:01:42Z</dc:date>
    </item>
    <item>
      <title>Re: Problem while copying standard program to Z Program</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-while-copying-standard-program-to-z-program/m-p/6895497#M1480588</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi  Devinder Pawha,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I faced the same problem. This problem is because of the following. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The report MB56 has 2 screen 100 &amp;amp; 200. While copying the program RVBBWULS from SE80, every thing except screen 100 will be copied. This is because screen 100 is a selection screen. When we try to copy this screen explicitly using SE51, it will be copied as Normal screen. And hence system gives the error &lt;STRONG&gt;"Error when generating the selection screen "0100" of report "ZRVBBWULS"&lt;/STRONG&gt; while activating the program ZRVBBWULS.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Remedy:&lt;/STRONG&gt; Dont copy the screen 100, system will generate a default screen with number 100.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2. While creating the tcode ZMB56 for this report, we might have selected the first option. "Program and screen (dialog transaction)". Hence system will display the selection screen, but while executing, it returns to the SAP easy access screen.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Remedy:&lt;/STRONG&gt; We must select the second option "Program and selection screen (report transaction)".&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 13 Aug 2010 05:37:55 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-while-copying-standard-program-to-z-program/m-p/6895497#M1480588</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-08-13T05:37:55Z</dc:date>
    </item>
    <item>
      <title>Re: Problem while copying standard program to Z Program</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-while-copying-standard-program-to-z-program/m-p/6895498#M1480589</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Follow these step : &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1. Copy MB56 (with includes) as normal.&lt;/P&gt;&lt;P&gt;2. Create transaction (program and transaction screen not program and screen)&lt;/P&gt;&lt;P&gt;3. Go to SE80 and activate the program by selecting top tree node.&lt;/P&gt;&lt;P&gt;4. Right click on top node and select other functions &amp;gt; rebuild object list&lt;/P&gt;&lt;P&gt;5. You will notice screen 100 got generated.&lt;/P&gt;&lt;P&gt;6. Change transaction type to program and screen (dialogue) and put 0100 as selection screen.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Note: you have to make few more changes inside copied MB56 program to make it work.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards &lt;/P&gt;&lt;P&gt;Dharmesh Kumar&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 17 Feb 2013 17:28:27 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-while-copying-standard-program-to-z-program/m-p/6895498#M1480589</guid>
      <dc:creator>dharmesh_kumar</dc:creator>
      <dc:date>2013-02-17T17:28:27Z</dc:date>
    </item>
  </channel>
</rss>

