<?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: BDC Development in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/bdc-development/m-p/1425235#M203884</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;better use &lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;submit report zrep
       USING SELECTION-SET vari&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;Message was edited by: Andreas Mann&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 14 Jul 2006 12:21:14 GMT</pubDate>
    <dc:creator>andreas_mann3</dc:creator>
    <dc:date>2006-07-14T12:21:14Z</dc:date>
    <item>
      <title>BDC Development</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bdc-development/m-p/1425234#M203883</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi everybody,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I created a report where I call a transaction. In this transaction I choose a selection variant via BDCData. Everything works fine except for one point. The BDC choose the selection variant through cursor position. But if a user create a new selection variant then my report choose the wrong variant because of the cursor position.&lt;/P&gt;&lt;P&gt;How can I realize that it does not choose the selection variant by cursor position therefore by name of the variant. I tried this but it didnt work: &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;perform bdc_field       using 'RSVAR-VARIANT'&lt;/P&gt;&lt;P&gt;                             '=NameofScreenVariant'.&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;At the moment the code with cursor position look like this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;perform bdc_dynpro      using 'RM06EL00' '1000'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;perform bdc_field       using 'BDC_OKCODE'&lt;/P&gt;&lt;P&gt;                              '/EGET'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;perform bdc_dynpro      using 'SAPMSSY0' '0120'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;perform bdc_field       using 'BDC_CURSOR'&lt;/P&gt;&lt;P&gt;                              'RSVAR-VARIANT(2)'.&lt;/P&gt;&lt;P&gt;                              &lt;/P&gt;&lt;P&gt;perform bdc_field       using 'BDC_CURSOR'&lt;/P&gt;&lt;P&gt;                              '08/10'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;perform bdc_field       using 'BDC_OKCODE'&lt;/P&gt;&lt;P&gt;                              '=PICK'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Message was edited by: Matthias&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 14 Jul 2006 11:39:11 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bdc-development/m-p/1425234#M203883</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-07-14T11:39:11Z</dc:date>
    </item>
    <item>
      <title>Re: BDC Development</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bdc-development/m-p/1425235#M203884</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;better use &lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;submit report zrep
       USING SELECTION-SET vari&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;Message was edited by: Andreas Mann&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 14 Jul 2006 12:21:14 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bdc-development/m-p/1425235#M203884</guid>
      <dc:creator>andreas_mann3</dc:creator>
      <dc:date>2006-07-14T12:21:14Z</dc:date>
    </item>
    <item>
      <title>Re: BDC Development</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bdc-development/m-p/1425236#M203885</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Andreas, &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;the problem is that I have to call a transaction variant (of ME2L) in my report. Therefore I can not call the standard programm (RM06EL00) with submit.&lt;/P&gt;&lt;P&gt;And a screen variant is also not possible for ME2L Dynpro 1000.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 14 Jul 2006 12:43:07 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bdc-development/m-p/1425236#M203885</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-07-14T12:43:07Z</dc:date>
    </item>
    <item>
      <title>Re: BDC Development</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bdc-development/m-p/1425237#M203886</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I think this post is related to your other post 'Transaction call', did you try my last reply in that post.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Sridhar&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 14 Jul 2006 12:48:50 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bdc-development/m-p/1425237#M203886</guid>
      <dc:creator>sridhar_k1</dc:creator>
      <dc:date>2006-07-14T12:48:50Z</dc:date>
    </item>
    <item>
      <title>Re: BDC Development</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bdc-development/m-p/1425238#M203887</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;or try that:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;PARAMETERS rep TYPE sy-repid DEFAULT 'Z1234567'.
PARAMETERS var TYPE vari-variant DEFAULT 'TEST'.
DATA pos(5).
*
SELECT variant  FROM  varid INTO TABLE vtab
       WHERE  report  = rep.

SORT vtab.
READ TABLE vtab WITH KEY variant = var.
pos = '01/'.
UNPACK sy-tabix TO pos+3(2).

perform bdc_field using 'BDC_CURSOR' pos.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;nice weekend to ALL&lt;/P&gt;&lt;P&gt;&amp;amp;grace&lt;/P&gt;&lt;P&gt;Andreas&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 14 Jul 2006 12:49:12 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bdc-development/m-p/1425238#M203887</guid>
      <dc:creator>andreas_mann3</dc:creator>
      <dc:date>2006-07-14T12:49:12Z</dc:date>
    </item>
  </channel>
</rss>

