<?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: Doubt in type conversions in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/doubt-in-type-conversions/m-p/3882149#M932943</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;the definition all fields with same name from  gt_ltap and gt_vbfa must be the same type.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Otherwise :&lt;/P&gt;&lt;P&gt;gt_ltap&lt;/P&gt;&lt;P&gt;for all entries in gt_vbfa&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;this can`t work.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Nicole&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 28 May 2008 05:53:57 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2008-05-28T05:53:57Z</dc:date>
    <item>
      <title>Doubt in type conversions</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/doubt-in-type-conversions/m-p/3882148#M932942</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi gurus,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I retrive the vbelv and vbeln values from VBFA table into my internal table.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In that some vbeln values are equal to tanum values in LTAP table.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; for this i wrote the select query like below.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  if gt_vbfa is not initial.&lt;/P&gt;&lt;P&gt;    select  &lt;/P&gt;&lt;P&gt;                tanum&lt;/P&gt;&lt;P&gt;                nistm&lt;/P&gt;&lt;P&gt;               from ltap&lt;/P&gt;&lt;P&gt;               into table gt_ltap&lt;/P&gt;&lt;P&gt;              for all entries in gt_vbfa&lt;/P&gt;&lt;P&gt;               where tanum =  gt_vbfa-vbeln.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But is shows error, Why because, the type of the TANUM field is NUMC and the type of the VBELN field is CHAR.&lt;/P&gt;&lt;P&gt; But the values of vbeln are equal to tanum.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;   How can i retrive tanum values for corresponding vbeln values.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; Please can any one suggest me on this issue.&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;Thanks and Regards&lt;/P&gt;&lt;P&gt;Siri...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 28 May 2008 05:50:11 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/doubt-in-type-conversions/m-p/3882148#M932942</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-05-28T05:50:11Z</dc:date>
    </item>
    <item>
      <title>Re: Doubt in type conversions</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/doubt-in-type-conversions/m-p/3882149#M932943</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;the definition all fields with same name from  gt_ltap and gt_vbfa must be the same type.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Otherwise :&lt;/P&gt;&lt;P&gt;gt_ltap&lt;/P&gt;&lt;P&gt;for all entries in gt_vbfa&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;this can`t work.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Nicole&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 28 May 2008 05:53:57 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/doubt-in-type-conversions/m-p/3882149#M932943</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-05-28T05:53:57Z</dc:date>
    </item>
    <item>
      <title>Re: Doubt in type conversions</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/doubt-in-type-conversions/m-p/3882150#M932944</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi siri,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You do one thing declare the another field in your internal table &lt;/P&gt;&lt;P&gt;with refer to  ltap-tanum&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;like as follows.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;data : begin of itab occurs 0,&lt;/P&gt;&lt;P&gt;          f1,&lt;/P&gt;&lt;P&gt;          f2,&lt;/P&gt;&lt;P&gt;          v_tanum like ltap-tanum,&lt;/P&gt;&lt;P&gt;         end of itab.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;loop at itab.&lt;/P&gt;&lt;P&gt;itab-v_tanum = itab-vbeln.&lt;/P&gt;&lt;P&gt;modify itab trnsporting v_tanum.&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;then go for the selection....&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if gt_vbfa-v_tanum is not initial.&lt;/P&gt;&lt;P&gt;select &lt;/P&gt;&lt;P&gt;tanum&lt;/P&gt;&lt;P&gt;nistm&lt;/P&gt;&lt;P&gt;from ltap&lt;/P&gt;&lt;P&gt;into table gt_ltap&lt;/P&gt;&lt;P&gt;for all entries in gt_vbfa&lt;/P&gt;&lt;P&gt;where tanum = gt_vbfa-v_tanum.&lt;/P&gt;&lt;P&gt;endif.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope your problem will be solved.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Madan.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 28 May 2008 05:59:06 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/doubt-in-type-conversions/m-p/3882150#M932944</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-05-28T05:59:06Z</dc:date>
    </item>
  </channel>
</rss>

