<?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: conversion routine usage in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/conversion-routine-usage/m-p/8019294#M1608548</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi , try&lt;/P&gt;&lt;P&gt;when printing just use fieldname+6(5). so that you will get '10004' only.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 04 Aug 2011 08:46:13 GMT</pubDate>
    <dc:creator>koolspy_ultimate</dc:creator>
    <dc:date>2011-08-04T08:46:13Z</dc:date>
    <item>
      <title>conversion routine usage</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/conversion-routine-usage/m-p/8019293#M1608547</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 want to use this conversion routine in my report .&lt;/P&gt;&lt;P&gt;based on my zXXx table (in this i had assigned ebeln = 10004),&lt;/P&gt;&lt;P&gt;based on this i want to get lifnr from ekko and eindt,bedat from ekpo.&lt;/P&gt;&lt;P&gt;problem is their ebeln = '00000010004.&lt;/P&gt;&lt;P&gt;so i want to use this conversion routine'&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;in first select queiry i had called this ebeln based on again i had written select statement if ebeln = ekko-ebeln .based on this &lt;/P&gt;&lt;P&gt;lifnr will come .again i had written select queiry for ekpo also .&lt;/P&gt;&lt;P&gt;tell me where i have to call fm of conversion routine .&lt;/P&gt;&lt;P&gt;and how to call &lt;/P&gt;&lt;P&gt;send ex: code&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks a lot&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 04 Aug 2011 08:28:18 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/conversion-routine-usage/m-p/8019293#M1608547</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2011-08-04T08:28:18Z</dc:date>
    </item>
    <item>
      <title>Re: conversion routine usage</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/conversion-routine-usage/m-p/8019294#M1608548</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi , try&lt;/P&gt;&lt;P&gt;when printing just use fieldname+6(5). so that you will get '10004' only.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 04 Aug 2011 08:46:13 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/conversion-routine-usage/m-p/8019294#M1608548</guid>
      <dc:creator>koolspy_ultimate</dc:creator>
      <dc:date>2011-08-04T08:46:13Z</dc:date>
    </item>
    <item>
      <title>Re: conversion routine usage</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/conversion-routine-usage/m-p/8019295#M1608549</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;can u explan me clearly ...&lt;/P&gt;&lt;P&gt;if ebeln will convert to 10004 to 00000010004 only data will come i.e (lifnr and eidnt,bedat).&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 04 Aug 2011 08:53:46 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/conversion-routine-usage/m-p/8019295#M1608549</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2011-08-04T08:53:46Z</dc:date>
    </item>
    <item>
      <title>Re: conversion routine usage</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/conversion-routine-usage/m-p/8019296#M1608550</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; first your getting the ztable values right?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;in your ztable the ebeln value is 10004. loop the internal table and call the conversion routine the value will be change like 00000010004. below code&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
select * from ztable into table it_table.

loop at it_table Assigning &amp;lt;fs_table&amp;gt;.
call Function 'CONVERSION_EXIT_ALPHA_INPUT'
Import 
  INPUT = &amp;lt;fs_table&amp;gt;-ebeln
Export
  OUTPUT = &amp;lt;fs_table&amp;gt;-ebeln . "change the value '00000010004'
endloop.

right the select query for EKKO

Select * from EKKO into table it_ekko
    for all etries it_table
    where ebeln = it_table-ebeln.
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Dhina..&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 04 Aug 2011 09:10:26 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/conversion-routine-usage/m-p/8019296#M1608550</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2011-08-04T09:10:26Z</dc:date>
    </item>
    <item>
      <title>Re: conversion routine usage</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/conversion-routine-usage/m-p/8019297#M1608551</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;in your loop before printing just add this to your work area of that particular field&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
+6(5)." wa_fieldname+6(5)
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 09 Aug 2011 07:30:00 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/conversion-routine-usage/m-p/8019297#M1608551</guid>
      <dc:creator>koolspy_ultimate</dc:creator>
      <dc:date>2011-08-09T07:30:00Z</dc:date>
    </item>
  </channel>
</rss>

