<?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 in submit in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-in-submit/m-p/2135640#M449292</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hai,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Write SUBMIT two times once invoice radio = 'X' and next paymnt docs = 'X'  and appending passing it through submit in a single loop.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It should solve your problem.Better not to write break-point at the end of the loop as it is running in the back ground.. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Reward points if it helps you.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regds,&lt;/P&gt;&lt;P&gt;Rama chary.Pammi&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 10 Apr 2007 10:16:13 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2007-04-10T10:16:13Z</dc:date>
    <item>
      <title>Problem in submit</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-in-submit/m-p/2135638#M449290</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;  Im filtering all the 1099-reportable vendors and based on those vendors i want to update the taxcode and base. for this im using the standard program RFWT0020.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Here im passing the vendor from my program. i.e like&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;LOOP AT itab2." INTO itab2_temp.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  seltab_wa-low = itab2-lifnr.&lt;/P&gt;&lt;P&gt;  seltab_wa-sign = 'I'.&lt;/P&gt;&lt;P&gt;  seltab_wa-option = 'EQ'.&lt;/P&gt;&lt;P&gt;  append seltab_wa to seltab.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SUBMIT RFWT0020 with selection-table seltab  with &lt;/P&gt;&lt;P&gt;i_lifnr = itab2-lifnr&lt;/P&gt;&lt;P&gt;with r1 = ' '&lt;/P&gt;&lt;P&gt;with r2 = 'X'&lt;/P&gt;&lt;P&gt;with c1 = ' ' and return.&lt;/P&gt;&lt;P&gt;break-point.&lt;/P&gt;&lt;P&gt;endloop.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;here i have one problem.i.e RFWT0020 is having selection screen. i.e default it invoice doc radio button is selected.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;my requirement is first run on invoice docs then after run with payment docs. how can we do that using submit.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;is it first submit with default i.e invoice then came return after that we run payments docs seperatly?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i want to run this program in background i.e sm36 for period of 3 months.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;is it possible to do that different radio buttons in background job.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please send ur valuble reply,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Srinivas.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 10 Apr 2007 10:00:21 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-in-submit/m-p/2135638#M449290</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-04-10T10:00:21Z</dc:date>
    </item>
    <item>
      <title>Re: Problem in submit</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-in-submit/m-p/2135639#M449291</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hey,&lt;/P&gt;&lt;P&gt;Why do u want to use both the options for each record?&lt;/P&gt;&lt;P&gt;This will affect the performance of the report. Try and find a the FM used in the std program and use it instead.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But if u are still particular about submitting this to the std report, then change ur code as below.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;LOOP AT itab2." INTO itab2_temp.

seltab_wa-low = itab2-lifnr.
seltab_wa-sign = 'I'.
seltab_wa-option = 'EQ'.
append seltab_wa to seltab.

SUBMIT RFWT0020 with selection-table seltab with 
i_lifnr = itab2-lifnr
with r_inv = ' '
with r_pay = 'X'
with c1 = ' ' and return.
****do the requierd steps
SUBMIT RFWT0020 with selection-table seltab with 
i_lifnr = itab2-lifnr
with r_inv = 'X '
with r_pay = ' '
with c1 = ' ' and return.
 
break-point.
endloop.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Reward points if useful...&lt;/P&gt;&lt;P&gt;Cheers,&lt;/P&gt;&lt;P&gt;Sam&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Message was edited by: &lt;/P&gt;&lt;P&gt;        Samuel Zakster&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 10 Apr 2007 10:08:36 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-in-submit/m-p/2135639#M449291</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-04-10T10:08:36Z</dc:date>
    </item>
    <item>
      <title>Re: Problem in submit</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-in-submit/m-p/2135640#M449292</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hai,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Write SUBMIT two times once invoice radio = 'X' and next paymnt docs = 'X'  and appending passing it through submit in a single loop.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It should solve your problem.Better not to write break-point at the end of the loop as it is running in the back ground.. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Reward points if it helps you.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regds,&lt;/P&gt;&lt;P&gt;Rama chary.Pammi&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 10 Apr 2007 10:16:13 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-in-submit/m-p/2135640#M449292</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-04-10T10:16:13Z</dc:date>
    </item>
    <item>
      <title>Re: Problem in submit</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-in-submit/m-p/2135641#M449293</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi &lt;/P&gt;&lt;P&gt;As samuel mentioned you have to use submit program twice once for invoice and other for payment depending upon the radio button selected.&lt;/P&gt;&lt;P&gt;But calling the program for each loop will affect the performance tremendously.&lt;/P&gt;&lt;P&gt;Instead of that you create a range and submit the program only once for all the records and then second submit for payment only once for all records.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;And dont use breakpoint.&lt;/P&gt;&lt;P&gt;Hope it heps.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Ponraj.s.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 10 Apr 2007 10:20:07 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-in-submit/m-p/2135641#M449293</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-04-10T10:20:07Z</dc:date>
    </item>
  </channel>
</rss>

