<?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 Regarding data transfer in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-data-transfer/m-p/1967982#M397401</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Experts,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SELECT keyseg&lt;/P&gt;&lt;P&gt;         datseg&lt;/P&gt;&lt;P&gt;         FROM /alogis/cdpos&lt;/P&gt;&lt;P&gt;         INTO TABLE lt_/alogis/cdpos&lt;/P&gt;&lt;P&gt;         WHERE keytyp EQ lc_keytyp.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if not is lt_/alogis/cdpos[] initial.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SELECT matnr&lt;/P&gt;&lt;P&gt;         FROM mvke&lt;/P&gt;&lt;P&gt;         INTO TABLE gt_mvke&lt;/P&gt;&lt;P&gt;         FOR ALL ENTRIES IN lt_/alogis/cdpos&lt;/P&gt;&lt;P&gt;         WHERE mtpos = 'YVWH'&lt;/P&gt;&lt;P&gt;           or  mtpos = lt_/alogis/cdpos-dataseg+0(4).&lt;/P&gt;&lt;P&gt;         AND vkorg = pa_vkorg&lt;/P&gt;&lt;P&gt;         AND vtweg = pa_vtweg.&lt;/P&gt;&lt;P&gt;endif.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;where "lt_/alogis/cdpos" is an internal table of type "/alogis/cdpos" which is a DB table and which have the following  fields"KEYSEG" and "DATASEG" and again "DATASEG" contain 4 fileds and first field is MTPOS(4), &lt;/P&gt;&lt;P&gt;now my question i want to extract data into gt_mvke which shld contain only those entries of MTPOS which r present in "/alogis/cdpos" and as well as MTPOS = 'YVWH'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;so i have extracted data from /alogis/cdpos into one internal table"lt_/alogis/cdpos"  and now for all entries of this table shld be equal to MTPOS of MVKE. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;but its giving some error message. wht could b the best method. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please help me&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;&lt;/P&gt;&lt;P&gt;Thanx in Advance&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 21 Feb 2007 10:12:13 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2007-02-21T10:12:13Z</dc:date>
    <item>
      <title>Regarding data transfer</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-data-transfer/m-p/1967982#M397401</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Experts,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SELECT keyseg&lt;/P&gt;&lt;P&gt;         datseg&lt;/P&gt;&lt;P&gt;         FROM /alogis/cdpos&lt;/P&gt;&lt;P&gt;         INTO TABLE lt_/alogis/cdpos&lt;/P&gt;&lt;P&gt;         WHERE keytyp EQ lc_keytyp.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if not is lt_/alogis/cdpos[] initial.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SELECT matnr&lt;/P&gt;&lt;P&gt;         FROM mvke&lt;/P&gt;&lt;P&gt;         INTO TABLE gt_mvke&lt;/P&gt;&lt;P&gt;         FOR ALL ENTRIES IN lt_/alogis/cdpos&lt;/P&gt;&lt;P&gt;         WHERE mtpos = 'YVWH'&lt;/P&gt;&lt;P&gt;           or  mtpos = lt_/alogis/cdpos-dataseg+0(4).&lt;/P&gt;&lt;P&gt;         AND vkorg = pa_vkorg&lt;/P&gt;&lt;P&gt;         AND vtweg = pa_vtweg.&lt;/P&gt;&lt;P&gt;endif.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;where "lt_/alogis/cdpos" is an internal table of type "/alogis/cdpos" which is a DB table and which have the following  fields"KEYSEG" and "DATASEG" and again "DATASEG" contain 4 fileds and first field is MTPOS(4), &lt;/P&gt;&lt;P&gt;now my question i want to extract data into gt_mvke which shld contain only those entries of MTPOS which r present in "/alogis/cdpos" and as well as MTPOS = 'YVWH'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;so i have extracted data from /alogis/cdpos into one internal table"lt_/alogis/cdpos"  and now for all entries of this table shld be equal to MTPOS of MVKE. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;but its giving some error message. wht could b the best method. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please help me&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;&lt;/P&gt;&lt;P&gt;Thanx in Advance&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 21 Feb 2007 10:12:13 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-data-transfer/m-p/1967982#M397401</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-02-21T10:12:13Z</dc:date>
    </item>
    <item>
      <title>Re: Regarding data transfer</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-data-transfer/m-p/1967983#M397402</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Change the code as follows&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if not is lt_/alogis/cdpos[] initial.&lt;/P&gt;&lt;P&gt;loop at lt_/alogis/cdpos.&lt;/P&gt;&lt;P&gt;itab-mtpos = lt_/alogis/cdpos-dataseg+0(4).&lt;/P&gt;&lt;P&gt;append itab.&lt;/P&gt;&lt;P&gt;clear itab.&lt;/P&gt;&lt;P&gt;endloop.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SELECT matnr&lt;/P&gt;&lt;P&gt;FROM mvke&lt;/P&gt;&lt;P&gt;INTO TABLE gt_mvke&lt;/P&gt;&lt;P&gt;FOR ALL ENTRIES IN itab&lt;/P&gt;&lt;P&gt;WHERE ( mtpos = 'YVWH'&lt;/P&gt;&lt;P&gt;or mtpos = itab-mtpos )&lt;/P&gt;&lt;P&gt;AND vkorg = pa_vkorg&lt;/P&gt;&lt;P&gt;AND vtweg = pa_vtweg.&lt;/P&gt;&lt;P&gt;endif.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Ravi&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 21 Feb 2007 10:16:30 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-data-transfer/m-p/1967983#M397402</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-02-21T10:16:30Z</dc:date>
    </item>
    <item>
      <title>Re: Regarding data transfer</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-data-transfer/m-p/1967984#M397403</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;so now i shld create a internal table itab and it shld contain one field that is MTPOS .&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;Thanks in advance. It it works inshallah i wil give u 10 pts.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 21 Feb 2007 10:34:32 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-data-transfer/m-p/1967984#M397403</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-02-21T10:34:32Z</dc:date>
    </item>
    <item>
      <title>Re: Regarding data transfer</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-data-transfer/m-p/1967985#M397404</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;HI Abdul,&lt;/P&gt;&lt;P&gt; Yes, you should create an internal table itab.&lt;/P&gt;&lt;P&gt;Do revert in case of any other issues.&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Ravi&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 21 Feb 2007 10:37:17 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-data-transfer/m-p/1967985#M397404</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-02-21T10:37:17Z</dc:date>
    </item>
    <item>
      <title>Re: Regarding data transfer</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-data-transfer/m-p/1967986#M397405</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;yes u have to declare a field as mtpos is a large field and u want to use only first 4 char of this....&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;in a select statement u can't use field+0(4) or such things....&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;so declare a internal table with a field and move the data to this field and append the internal table.....now use this in ur select statement using for all entries and the field in where condition....&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 21 Feb 2007 10:39:36 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-data-transfer/m-p/1967986#M397405</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-02-21T10:39:36Z</dc:date>
    </item>
    <item>
      <title>Re: Regarding data transfer</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-data-transfer/m-p/1967987#M397406</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks alot for helping me........May God fulfill all ur desires and dreams.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 21 Feb 2007 10:48:40 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-data-transfer/m-p/1967987#M397406</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-02-21T10:48:40Z</dc:date>
    </item>
    <item>
      <title>Re: Regarding data transfer</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-data-transfer/m-p/1967988#M397407</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 21 Feb 2007 10:49:08 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-data-transfer/m-p/1967988#M397407</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-02-21T10:49:08Z</dc:date>
    </item>
  </channel>
</rss>

