<?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: cannot use CONVERSION_EXIT_ALPHA_INPUT - is there any other solution in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/cannot-use-conversion-exit-alpha-input-is-there-any-other-solution/m-p/6064829#M1354529</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;instead of ading zeroes in your field why dont you remove extra zeroes before comparing the field using SHIFT &amp;lt;&amp;gt; DELETING ZEROES command.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 10 Sep 2009 16:51:43 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2009-09-10T16:51:43Z</dc:date>
    <item>
      <title>cannot use CONVERSION_EXIT_ALPHA_INPUT - is there any other solution</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/cannot-use-conversion-exit-alpha-input-is-there-any-other-solution/m-p/6064827#M1354527</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi All,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sorry in my previous post i forgot to say that due to some other problems which we are facing, we couldn use CONVERSION_EXIT_ALPHA_INPUT&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My requirement is i have work area with a field as shown below.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;wa_table-registerno. this has some value say 12345678.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now i have to check if the value is equal to a DB table field say wa_table-bnumber. This field has value 0012345678.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Both fields are having length of 10. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now problem is the field in table is appending zeros in front, so when i check if they are equal, the condition is failing.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have to have make my field wa_table-registerno to fill the remaining zeros in front for different cases, (two zeros for this case,but it may vary for next number). if so how to proceed?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Or is there any other way. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My requirement is even if there are zeros in front, the condition should not fail. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;How to proceed?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 10 Sep 2009 16:42:36 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/cannot-use-conversion-exit-alpha-input-is-there-any-other-solution/m-p/6064827#M1354527</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-09-10T16:42:36Z</dc:date>
    </item>
    <item>
      <title>Re: cannot use CONVERSION_EXIT_ALPHA_INPUT - is there any other solution</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/cannot-use-conversion-exit-alpha-input-is-there-any-other-solution/m-p/6064828#M1354528</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;If u not using the conversion exit. Then take a varibale of length 10 with type n.&lt;/P&gt;&lt;P&gt;before comparing the internal table value to DB,pass the internal table value to the variable.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards,&lt;/P&gt;&lt;P&gt;Raghu&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 10 Sep 2009 16:47:48 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/cannot-use-conversion-exit-alpha-input-is-there-any-other-solution/m-p/6064828#M1354528</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-09-10T16:47:48Z</dc:date>
    </item>
    <item>
      <title>Re: cannot use CONVERSION_EXIT_ALPHA_INPUT - is there any other solution</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/cannot-use-conversion-exit-alpha-input-is-there-any-other-solution/m-p/6064829#M1354529</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;instead of ading zeroes in your field why dont you remove extra zeroes before comparing the field using SHIFT &amp;lt;&amp;gt; DELETING ZEROES command.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 10 Sep 2009 16:51:43 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/cannot-use-conversion-exit-alpha-input-is-there-any-other-solution/m-p/6064829#M1354529</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-09-10T16:51:43Z</dc:date>
    </item>
    <item>
      <title>Re: cannot use CONVERSION_EXIT_ALPHA_INPUT - is there any other solution</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/cannot-use-conversion-exit-alpha-input-is-there-any-other-solution/m-p/6064830#M1354530</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;If you cannot use CONVERSION_EXIT_ALPHA_INPUT then try UNPACK command.  Check this example.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
DATA: FIELD1(2) TYPE P VALUE '10',
C_FIELD2(4) TYPE C.
UNPACK FIELD1 TO FIELD2.

WRITE: / FIELD2.
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Vikranth&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 10 Sep 2009 16:57:30 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/cannot-use-conversion-exit-alpha-input-is-there-any-other-solution/m-p/6064830#M1354530</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-09-10T16:57:30Z</dc:date>
    </item>
    <item>
      <title>Re: cannot use CONVERSION_EXIT_ALPHA_INPUT - is there any other solution</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/cannot-use-conversion-exit-alpha-input-is-there-any-other-solution/m-p/6064831#M1354531</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;if i use shift then how to proceed for each record,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;for example in the first time of loop the value is 0012345678&lt;/P&gt;&lt;P&gt;the next time it is                                                 0000123456&lt;/P&gt;&lt;P&gt;the next time                                                       0000000234&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;so how to proceed.. plz explain&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 10 Sep 2009 17:49:10 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/cannot-use-conversion-exit-alpha-input-is-there-any-other-solution/m-p/6064831#M1354531</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-09-10T17:49:10Z</dc:date>
    </item>
    <item>
      <title>Re: cannot use CONVERSION_EXIT_ALPHA_INPUT - is there any other solution</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/cannot-use-conversion-exit-alpha-input-is-there-any-other-solution/m-p/6064832#M1354532</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;try this way...&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
"if w_mara lenght is 18characters..

data : w_len type int2.

w_mara = '12345'.

w_len = strlen( w_mara).  "lenght is 5

w_len = 18 - w_len.         "now lenght is 13

do w_len times.                "now it will loop 13 times and add 13 zeros to matnr.
concatenate '0' w_mara into w_mar.
enddo.


write : w_mara.

"output is : 000000000000012345.
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;regards,&lt;/P&gt;&lt;P&gt;Prabhudas&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 10 Sep 2009 18:00:34 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/cannot-use-conversion-exit-alpha-input-is-there-any-other-solution/m-p/6064832#M1354532</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-09-10T18:00:34Z</dc:date>
    </item>
  </channel>
</rss>

