<?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: LSMW Batch processing issue in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/lsmw-batch-processing-issue/m-p/10865043#M1887034</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi again Hari Om Kashyap,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I figured as much that it had to do with downloading the Results.xls.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you still want to use LSMW as your preferred method, I think that you may be able to use custom coding in the &lt;STRONG&gt;__END_OF_TRANSACTION__&lt;/STRONG&gt; or&amp;nbsp; &lt;STRONG&gt;__END_OFPROCESSING__&lt;/STRONG&gt; area and call a function to download.&amp;nbsp; I suggest to start looking at WS_EXCEL.&amp;nbsp; Not sure if that will do what you require but it'll be a good starting point. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Good luck!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 12 Feb 2015 15:02:30 GMT</pubDate>
    <dc:creator>former_member74904</dc:creator>
    <dc:date>2015-02-12T15:02:30Z</dc:date>
    <item>
      <title>LSMW Batch processing issue</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/lsmw-batch-processing-issue/m-p/10865037#M1887028</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;While fetching report from S_BCE_68001425 transaction using LSMW batch process i got an error.&lt;/P&gt;&lt;P&gt;It wasn't able to fetch report.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What I am trying to do is to automate the process of fetching role report from SUIM. S_BCE_68001425 transaction is executed when you execute SUIM and select complex selection criteria under roles option.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When I tried to run it in foreground it worked. Then I run it in foreground but with background simulation and it showed error. Unable to find VAL111 like that something.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When you go in transaction S_BCE_68001425, there is an option 'selection according to authorization values'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In authorization object 1 I put the value S_TCODE. After that we have to press enter for displaying the text boxes where we put values for S_TCODE like SUIM and ST01.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When I run it in foreground the boxes showed but in background it showed error as mentioned above.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i.e. in ackground process batch program is not able to find the hidden boxes and tried to input the required field values and hence the error.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Could anyone please help me with this.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 10 Feb 2015 11:45:58 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/lsmw-batch-processing-issue/m-p/10865037#M1887028</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2015-02-10T11:45:58Z</dc:date>
    </item>
    <item>
      <title>Re: LSMW Batch processing issue</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/lsmw-batch-processing-issue/m-p/10865038#M1887029</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Hari Om Kashyap,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Another idea might be to schedule a job (using RSUSR070) with the values required instead of using LSMW.&lt;/P&gt;&lt;P&gt;I don't think you will encounter the same issue when doing it this way. &lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;If for some reason this doesn't help, can you show can you show us a screenshot of the recording you use with the LSMW?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;Good luck!&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;Dimitri.&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 10 Feb 2015 15:18:40 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/lsmw-batch-processing-issue/m-p/10865038#M1887029</guid>
      <dc:creator>former_member74904</dc:creator>
      <dc:date>2015-02-10T15:18:40Z</dc:date>
    </item>
    <item>
      <title>Re: LSMW Batch processing issue</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/lsmw-batch-processing-issue/m-p/10865039#M1887030</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;BR /&gt;Hello Dimtri,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for your reply.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I know about report RSUSR070, but due to some constraint i need to do this activity with LSMW. I am fetching the report using tcode S_BCE_68001425 and the exporting it to an excel file.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am attaching the recording screenshot&lt;IMG class="migrated-image" src="https://community.sap.com/legacyfs/online/storage/attachments/storage/7/jiveimages/642872" width="450" /&gt;&lt;IMG class="migrated-image" src="https://community.sap.com/legacyfs/online/storage/attachments/storage/7/jiveimages/642873" width="450" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Hari&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 11 Feb 2015 10:24:32 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/lsmw-batch-processing-issue/m-p/10865039#M1887030</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2015-02-11T10:24:32Z</dc:date>
    </item>
    <item>
      <title>Re: LSMW Batch processing issue</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/lsmw-batch-processing-issue/m-p/10865040#M1887031</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Can you try repeating the recording and using the "entry values" button before entering the actual T-code values for S_TCODE:&lt;/P&gt;&lt;P&gt;&lt;IMG class="migrated-image" src="https://community.sap.com/legacyfs/online/storage/attachments/storage/7/jiveimages/642973" width="450" /&gt;&lt;/P&gt;&lt;P&gt;That seems to have worked for me. &lt;/P&gt;&lt;P&gt;In the recording this should result in an additional entry with BDC_OKCODE =SHO&lt;/P&gt;&lt;P&gt;&lt;IMG class="migrated-image" src="https://community.sap.com/legacyfs/online/storage/attachments/storage/7/jiveimages/643028" width="450" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Mind you, I have different issues with my quick attempt of recreating your LSMW with the saving to a local file of the results. But we'll leave that for later... &lt;SPAN __jive_emoticon_name="wink" __jive_macro_name="emoticon" class="jive_macro jive_emote" src="https://community.sap.com/1200/images/emoticons/wink.gif"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Good luck!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 11 Feb 2015 12:51:51 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/lsmw-batch-processing-issue/m-p/10865040#M1887031</guid>
      <dc:creator>former_member74904</dc:creator>
      <dc:date>2015-02-11T12:51:51Z</dc:date>
    </item>
    <item>
      <title>Re: LSMW Batch processing issue</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/lsmw-batch-processing-issue/m-p/10865041#M1887032</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I think it's a correct answer but when I tried it runing in foreground with Backgroung simulation&amp;nbsp; Worked fine. which was not in the earlier case. Didn't throw any error. Hence I marked your answer as correct.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But still when executed in background it gives error but file. Am I doing something wrong.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Have you run it in background only and got the file as output without eror?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have attached the error log&lt;BR /&gt;&lt;IMG class="migrated-image" src="https://community.sap.com/legacyfs/online/storage/attachments/storage/7/jiveimages/643949" width="450" /&gt;&lt;IMG class="migrated-image" src="https://community.sap.com/legacyfs/online/storage/attachments/storage/7/jiveimages/643950" width="450" /&gt; &lt;BR /&gt;Please help me with this. Thanks.... &lt;SPAN __jive_emoticon_name="happy" __jive_macro_name="emoticon" class="jive_macro jive_emote" src="https://community.sap.com/1200/images/emoticons/happy.gif"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 12 Feb 2015 12:12:48 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/lsmw-batch-processing-issue/m-p/10865041#M1887032</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2015-02-12T12:12:48Z</dc:date>
    </item>
    <item>
      <title>Re: LSMW Batch processing issue</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/lsmw-batch-processing-issue/m-p/10865042#M1887033</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I debugged in deep a little and found out the problem is with OK codes.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;%PC is not working for downloading file. in front end it's supported but not in background.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Could you please have an alternate method for this. this will solve my issue..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks &lt;SPAN __jive_emoticon_name="happy" __jive_macro_name="emoticon" class="jive_macro jive_emote" src="https://community.sap.com/1200/images/emoticons/happy.gif"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 12 Feb 2015 14:30:01 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/lsmw-batch-processing-issue/m-p/10865042#M1887033</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2015-02-12T14:30:01Z</dc:date>
    </item>
    <item>
      <title>Re: LSMW Batch processing issue</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/lsmw-batch-processing-issue/m-p/10865043#M1887034</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi again Hari Om Kashyap,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I figured as much that it had to do with downloading the Results.xls.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you still want to use LSMW as your preferred method, I think that you may be able to use custom coding in the &lt;STRONG&gt;__END_OF_TRANSACTION__&lt;/STRONG&gt; or&amp;nbsp; &lt;STRONG&gt;__END_OFPROCESSING__&lt;/STRONG&gt; area and call a function to download.&amp;nbsp; I suggest to start looking at WS_EXCEL.&amp;nbsp; Not sure if that will do what you require but it'll be a good starting point. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Good luck!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 12 Feb 2015 15:02:30 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/lsmw-batch-processing-issue/m-p/10865043#M1887034</guid>
      <dc:creator>former_member74904</dc:creator>
      <dc:date>2015-02-12T15:02:30Z</dc:date>
    </item>
  </channel>
</rss>

