<?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 filling range using..... bdcdata in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/filling-range-using-bdcdata/m-p/5110061#M1185465</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 a requuirement that , need to call a standard report in a new session when i click on first level output.Am using ' FM ABAP4_CALL_TRANSACTION' STARTING NEW TASK to create anew session by  filling &lt;STRONG&gt;bdcdata&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;but problem is...i wanted to submit a range to report.&lt;/P&gt;&lt;P&gt;Can any one let me know how to submit a range using &lt;STRONG&gt;BDCDATA&lt;/STRONG&gt;...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Anand Lokineni.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 29 Jan 2009 17:34:31 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2009-01-29T17:34:31Z</dc:date>
    <item>
      <title>filling range using..... bdcdata</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/filling-range-using-bdcdata/m-p/5110061#M1185465</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 a requuirement that , need to call a standard report in a new session when i click on first level output.Am using ' FM ABAP4_CALL_TRANSACTION' STARTING NEW TASK to create anew session by  filling &lt;STRONG&gt;bdcdata&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;but problem is...i wanted to submit a range to report.&lt;/P&gt;&lt;P&gt;Can any one let me know how to submit a range using &lt;STRONG&gt;BDCDATA&lt;/STRONG&gt;...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Anand Lokineni.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 29 Jan 2009 17:34:31 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/filling-range-using-bdcdata/m-p/5110061#M1185465</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-01-29T17:34:31Z</dc:date>
    </item>
    <item>
      <title>Re: filling range using..... bdcdata</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/filling-range-using-bdcdata/m-p/5110062#M1185466</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I don't know how to do that, but why don't you SUBMIT directly the report ?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 29 Jan 2009 20:53:58 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/filling-range-using-bdcdata/m-p/5110062#M1185466</guid>
      <dc:creator>Sandra_Rossi</dc:creator>
      <dc:date>2009-01-29T20:53:58Z</dc:date>
    </item>
    <item>
      <title>Re: filling range using..... bdcdata</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/filling-range-using-bdcdata/m-p/5110063#M1185467</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Using Submit can we call transaction in a new session??&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 30 Jan 2009 08:21:50 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/filling-range-using-bdcdata/m-p/5110063#M1185467</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-01-30T08:21:50Z</dc:date>
    </item>
    <item>
      <title>Re: filling range using..... bdcdata</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/filling-range-using-bdcdata/m-p/5110064#M1185468</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;yes i think so&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;varun&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 30 Jan 2009 08:30:05 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/filling-range-using-bdcdata/m-p/5110064#M1185468</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-01-30T08:30:05Z</dc:date>
    </item>
    <item>
      <title>Re: filling range using..... bdcdata</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/filling-range-using-bdcdata/m-p/5110065#M1185469</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;If yes..let me know the procedure...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Aanand.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 30 Jan 2009 08:34:48 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/filling-range-using-bdcdata/m-p/5110065#M1185469</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-01-30T08:34:48Z</dc:date>
    </item>
    <item>
      <title>Re: filling range using..... bdcdata</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/filling-range-using-bdcdata/m-p/5110066#M1185470</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;If your transaction calls a program with selection-screen, then calling directly this program is the same as calling the transaction. If you want to submit it asynchronously, the simplest is to submit it as a job.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 30 Jan 2009 09:22:59 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/filling-range-using-bdcdata/m-p/5110066#M1185470</guid>
      <dc:creator>Sandra_Rossi</dc:creator>
      <dc:date>2009-01-30T09:22:59Z</dc:date>
    </item>
    <item>
      <title>Re: filling range using..... bdcdata</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/filling-range-using-bdcdata/m-p/5110067#M1185471</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 believe by ranges you mean data to select options of a selection screen ?&lt;/P&gt;&lt;P&gt;If yes, I just recorded one standard transaction tx.MB5S and created a function module for the recording.&lt;/P&gt;&lt;P&gt;Here is the snippet of the function module: &lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
FUNCTION Z_MB5S_CALL.
...

" this is the part which populated the select option of the selection screen.
perform bdc_dynpro      using 'SAPLALDB' '3000'.
perform bdc_field       using 'BDC_OKCODE'
                              '=ACPT'.

" The value is passed by first setting the cursor on the field and then setting the value.

"1. Set the cursor.

perform bdc_field       using 'BDC_CURSOR'
                              'RSCSEL-SLOW_I(01)'.
"2. Set the value

perform bdc_field       using 'RSCSEL-SLOW_I(01)'  
                              SLOW_I_01_002.
" Same for the others.
perform bdc_field       using 'RSCSEL-SLOW_I(02)'
                              SLOW_I_02_003.
perform bdc_field       using 'RSCSEL-SLOW_I(03)'
                              SLOW_I_03_004.
perform bdc_field       using 'RSCSEL-SLOW_I(04)'
                              SLOW_I_04_005.
perform bdc_field       using 'RSCSEL-SLOW_I(05)'
                              SLOW_I_05_006.
perform bdc_field       using 'RSCSEL-SLOW_I(06)'
                              SLOW_I_06_007.
perform bdc_field       using 'RSCSEL-SLOW_I(07)'
                              SLOW_I_07_008.
perform bdc_field       using 'RSCSEL-SLOW_I(08)'
                              SLOW_I_08_009.
perform bdc_field       using 'RSCSEL-SLOW_I(09)'
                              SLOW_I_09_010.
perform bdc_dynpro      using 'RM07MSAL' '1000'.
perform bdc_field       using 'BDC_CURSOR'
                              'LIFNR-LOW'.
perform bdc_field       using 'BDC_OKCODE'
                              '=ONLI'.
perform bdc_field       using 'EKORG-LOW'
                              LOW_011.
perform bdc_field       using 'FINAL'
                              FINAL_012.
perform bdc_dynpro      using 'SAPMSSY0' '0120'.
perform bdc_field       using 'BDC_OKCODE'
                              '=&amp;amp;F03'.
perform bdc_dynpro      using 'RM07MSAL' '1000'.
perform bdc_field       using 'BDC_OKCODE'
                              '/EE'.
perform bdc_field       using 'BDC_CURSOR'
                              'LIFNR-LOW'.
perform bdc_transaction tables messtab
using                         'MB5S'
                              CTU
                              MODE
                              UPDATE.
if sy-subrc &amp;lt;&amp;gt; 0.
  subrc = sy-subrc.
  exit.
endif.

perform close_group using     CTU.

ENDFUNCTION.
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This is a custom function module, so you can tweak this function's tables parameter to receive the list of values for the range and loop at this list and populate the range/select options as shown above.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this solves the issue.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards,&lt;/P&gt;&lt;P&gt;Advait&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 30 Jan 2009 09:38:28 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/filling-range-using-bdcdata/m-p/5110067#M1185471</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-01-30T09:38:28Z</dc:date>
    </item>
  </channel>
</rss>

