<?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: SM20 problem in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/sm20-problem/m-p/1313920#M162941</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;No Vijay,  There might be some problem with your bdc program. I just did one recording and it worked fine. See the code below for the initial screen&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
report ZSM20
       no standard page heading line-size 255.

include bdcrecx1.

start-of-selection.
perform open_group.

perform bdc_dynpro      using 'SAPMSM20' '0200'.
perform bdc_field       using 'BDC_CURSOR'
                              'DY_END_DATE'.
perform bdc_field       using 'BDC_OKCODE'
                              '/00'.
perform bdc_field       using 'DY_START_DATE'
                              '05.01.2006'.
perform bdc_field       using 'DY_START_TIME'
                              '03:00:00'.
perform bdc_field       using 'DY_END_DATE'
                              '05.02.2006'.
perform bdc_field       using 'RSAUTYPE-SAPUSER'
                              'MYNAME'.
perform bdc_field       using 'RSLGTYPE-TCODE'
                              'TCOD'.
perform bdc_field       using 'RSAUTYPE-SECCLS2'
                              'X'.
perform bdc_field       using 'RSAUTYPE-SECCLS5'
                              'X'.
perform bdc_field       using 'RSAUTYPE-SECCLS7'
                              'X'.
perform bdc_field       using 'RSAUTYPE-SECLEVLOW'
                              'X'.
perform bdc_field       using 'RSAUTYPE-SECCLS3'
                              'X'.
perform bdc_field       using 'RSAUTYPE-SECCLS4'
                              'X'.
perform bdc_field       using 'RSAUTYPE-SECCLS6'
                              'X'.
perform bdc_field       using 'RSAUTYPE-SECCLS1'
                              'X'.
perform bdc_field       using 'RSLGLAYOUT-MAXPAG'
                              '80'.
perform bdc_dynpro      using 'SAPMSM20' '0200'.
perform bdc_field       using 'BDC_CURSOR'
                              'DY_START_TIME'.
perform bdc_field       using 'BDC_OKCODE'
                              '/00'.
perform bdc_field       using 'DY_START_DATE'
                              '05.01.2006'.
perform bdc_field       using 'DY_START_TIME'
                              '03:00:00'.
perform bdc_field       using 'DY_END_DATE'
                              '05.02.2006'.
perform bdc_field       using 'RSAUTYPE-SAPUSER'
                              'TGEORGE'.
perform bdc_field       using 'RSLGTYPE-TCODE'
                              'SE38'.
perform bdc_field       using 'RSAUTYPE-SECCLS2'
                              'X'.
perform bdc_field       using 'RSAUTYPE-SECCLS5'
                              'X'.
perform bdc_field       using 'RSAUTYPE-SECCLS7'
                              'X'.
perform bdc_field       using 'RSAUTYPE-SECLEVLOW'
                              'X'.
perform bdc_field       using 'RSAUTYPE-SECCLS3'
                              'X'.
perform bdc_field       using 'RSAUTYPE-SECCLS4'
                              'X'.
perform bdc_field       using 'RSAUTYPE-SECCLS6'
                              'X'.
perform bdc_field       using 'RSAUTYPE-SECCLS1'
                              'X'.
perform bdc_field       using 'RSLGLAYOUT-MAXPAG'
                              '80'.
perform bdc_dynpro      using 'SAPMSM20' '0200'.
perform bdc_field       using 'BDC_OKCODE'
                              '/EBACK'.
perform bdc_field       using 'BDC_CURSOR'
                              'DY_START_TIME'.
perform bdc_field       using 'DY_START_DATE'
                              '05.01.2006'.
perform bdc_field       using 'DY_START_TIME'
                              '03:00:00'.
perform bdc_field       using 'DY_END_DATE'
                              '05.02.2006'.
perform bdc_field       using 'RSAUTYPE-SAPUSER'
                              'TGEORGE'.
perform bdc_field       using 'RSLGTYPE-TCODE'
                              'SE38'.
perform bdc_field       using 'RSAUTYPE-SECCLS2'
                              'X'.
perform bdc_field       using 'RSAUTYPE-SECCLS5'
                              'X'.
perform bdc_field       using 'RSAUTYPE-SECCLS7'
                              'X'.
perform bdc_field       using 'RSAUTYPE-SECLEVLOW'
                              'X'.
perform bdc_field       using 'RSAUTYPE-SECCLS3'
                              'X'.
perform bdc_field       using 'RSAUTYPE-SECCLS4'
                              'X'.
perform bdc_field       using 'RSAUTYPE-SECCLS6'
                              'X'.
perform bdc_field       using 'RSAUTYPE-SECCLS1'
                              'X'.
perform bdc_field       using 'RSLGLAYOUT-MAXPAG'
                              '80'.
perform bdc_transaction using 'SM20'.

perform close_group.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Cheers,&lt;/P&gt;&lt;P&gt;Please mark points if helpful&lt;/P&gt;&lt;P&gt; Thomas.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 05 Jun 2006 11:13:55 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2006-06-05T11:13:55Z</dc:date>
    <item>
      <title>SM20 problem</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/sm20-problem/m-p/1313919#M162940</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi all,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;We tried to run tcode sm20 for a period of 3 months, but it gave TIMEOUT error. So we tried to use a BDC to record the transaction with users in the text file. The start date &amp;amp; End date &amp;amp; time are given in the Selection-screen. We use those values in BDC for the start date, start time &amp;amp; end date. But when we run the BDC, the start date, time &amp;amp; end date &amp;amp; user field from the txt file are not getting populated. It just takes the current system date &amp;amp; time.&lt;/P&gt;&lt;P&gt;Can anyone pls explain how to run the BDC for SM20?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 05 Jun 2006 10:45:43 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/sm20-problem/m-p/1313919#M162940</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-06-05T10:45:43Z</dc:date>
    </item>
    <item>
      <title>Re: SM20 problem</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/sm20-problem/m-p/1313920#M162941</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;No Vijay,  There might be some problem with your bdc program. I just did one recording and it worked fine. See the code below for the initial screen&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
report ZSM20
       no standard page heading line-size 255.

include bdcrecx1.

start-of-selection.
perform open_group.

perform bdc_dynpro      using 'SAPMSM20' '0200'.
perform bdc_field       using 'BDC_CURSOR'
                              'DY_END_DATE'.
perform bdc_field       using 'BDC_OKCODE'
                              '/00'.
perform bdc_field       using 'DY_START_DATE'
                              '05.01.2006'.
perform bdc_field       using 'DY_START_TIME'
                              '03:00:00'.
perform bdc_field       using 'DY_END_DATE'
                              '05.02.2006'.
perform bdc_field       using 'RSAUTYPE-SAPUSER'
                              'MYNAME'.
perform bdc_field       using 'RSLGTYPE-TCODE'
                              'TCOD'.
perform bdc_field       using 'RSAUTYPE-SECCLS2'
                              'X'.
perform bdc_field       using 'RSAUTYPE-SECCLS5'
                              'X'.
perform bdc_field       using 'RSAUTYPE-SECCLS7'
                              'X'.
perform bdc_field       using 'RSAUTYPE-SECLEVLOW'
                              'X'.
perform bdc_field       using 'RSAUTYPE-SECCLS3'
                              'X'.
perform bdc_field       using 'RSAUTYPE-SECCLS4'
                              'X'.
perform bdc_field       using 'RSAUTYPE-SECCLS6'
                              'X'.
perform bdc_field       using 'RSAUTYPE-SECCLS1'
                              'X'.
perform bdc_field       using 'RSLGLAYOUT-MAXPAG'
                              '80'.
perform bdc_dynpro      using 'SAPMSM20' '0200'.
perform bdc_field       using 'BDC_CURSOR'
                              'DY_START_TIME'.
perform bdc_field       using 'BDC_OKCODE'
                              '/00'.
perform bdc_field       using 'DY_START_DATE'
                              '05.01.2006'.
perform bdc_field       using 'DY_START_TIME'
                              '03:00:00'.
perform bdc_field       using 'DY_END_DATE'
                              '05.02.2006'.
perform bdc_field       using 'RSAUTYPE-SAPUSER'
                              'TGEORGE'.
perform bdc_field       using 'RSLGTYPE-TCODE'
                              'SE38'.
perform bdc_field       using 'RSAUTYPE-SECCLS2'
                              'X'.
perform bdc_field       using 'RSAUTYPE-SECCLS5'
                              'X'.
perform bdc_field       using 'RSAUTYPE-SECCLS7'
                              'X'.
perform bdc_field       using 'RSAUTYPE-SECLEVLOW'
                              'X'.
perform bdc_field       using 'RSAUTYPE-SECCLS3'
                              'X'.
perform bdc_field       using 'RSAUTYPE-SECCLS4'
                              'X'.
perform bdc_field       using 'RSAUTYPE-SECCLS6'
                              'X'.
perform bdc_field       using 'RSAUTYPE-SECCLS1'
                              'X'.
perform bdc_field       using 'RSLGLAYOUT-MAXPAG'
                              '80'.
perform bdc_dynpro      using 'SAPMSM20' '0200'.
perform bdc_field       using 'BDC_OKCODE'
                              '/EBACK'.
perform bdc_field       using 'BDC_CURSOR'
                              'DY_START_TIME'.
perform bdc_field       using 'DY_START_DATE'
                              '05.01.2006'.
perform bdc_field       using 'DY_START_TIME'
                              '03:00:00'.
perform bdc_field       using 'DY_END_DATE'
                              '05.02.2006'.
perform bdc_field       using 'RSAUTYPE-SAPUSER'
                              'TGEORGE'.
perform bdc_field       using 'RSLGTYPE-TCODE'
                              'SE38'.
perform bdc_field       using 'RSAUTYPE-SECCLS2'
                              'X'.
perform bdc_field       using 'RSAUTYPE-SECCLS5'
                              'X'.
perform bdc_field       using 'RSAUTYPE-SECCLS7'
                              'X'.
perform bdc_field       using 'RSAUTYPE-SECLEVLOW'
                              'X'.
perform bdc_field       using 'RSAUTYPE-SECCLS3'
                              'X'.
perform bdc_field       using 'RSAUTYPE-SECCLS4'
                              'X'.
perform bdc_field       using 'RSAUTYPE-SECCLS6'
                              'X'.
perform bdc_field       using 'RSAUTYPE-SECCLS1'
                              'X'.
perform bdc_field       using 'RSLGLAYOUT-MAXPAG'
                              '80'.
perform bdc_transaction using 'SM20'.

perform close_group.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Cheers,&lt;/P&gt;&lt;P&gt;Please mark points if helpful&lt;/P&gt;&lt;P&gt; Thomas.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 05 Jun 2006 11:13:55 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/sm20-problem/m-p/1313920#M162941</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-06-05T11:13:55Z</dc:date>
    </item>
  </channel>
</rss>

