<?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 Conversion Exit for the DataElement VBELN_VF in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/conversion-exit-for-the-dataelement-vbeln-vf/m-p/6836050#M1472344</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dear All,&lt;/P&gt;&lt;P&gt;I faced one problem that:-&lt;/P&gt;&lt;P&gt;When I tried to execute my 'Z' table (which is having a field VBELN which carries the dataelement VBELN_VF) after giving the value(100000005; this value is already there in the table for the field) in the selection-screen, Im getting the message 'No Data Exists' (althoug the record exists).&lt;/P&gt;&lt;P&gt;On checking the domain, I found that there is a &lt;STRONG&gt;Conversion Exit&lt;/STRONG&gt;. But when I provided this value (100000005) as an input in the exit function module, the same value is getting as output from the function Module.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But when I tried the same scenario with another value which is having &lt;STRONG&gt;1 more digit&lt;/STRONG&gt; (1100000005), the output is getting correctly in SE11.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In the 1st scenario, i tried by adding '0' as prefix. 'No Data' was the output.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can you suggest the reason / solution without changing the DataElement?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Ullas&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: UllasU on Mar 31, 2010 9:43 AM&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 31 Mar 2010 07:40:15 GMT</pubDate>
    <dc:creator>ullas_u2</dc:creator>
    <dc:date>2010-03-31T07:40:15Z</dc:date>
    <item>
      <title>Conversion Exit for the DataElement VBELN_VF</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/conversion-exit-for-the-dataelement-vbeln-vf/m-p/6836050#M1472344</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dear All,&lt;/P&gt;&lt;P&gt;I faced one problem that:-&lt;/P&gt;&lt;P&gt;When I tried to execute my 'Z' table (which is having a field VBELN which carries the dataelement VBELN_VF) after giving the value(100000005; this value is already there in the table for the field) in the selection-screen, Im getting the message 'No Data Exists' (althoug the record exists).&lt;/P&gt;&lt;P&gt;On checking the domain, I found that there is a &lt;STRONG&gt;Conversion Exit&lt;/STRONG&gt;. But when I provided this value (100000005) as an input in the exit function module, the same value is getting as output from the function Module.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But when I tried the same scenario with another value which is having &lt;STRONG&gt;1 more digit&lt;/STRONG&gt; (1100000005), the output is getting correctly in SE11.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In the 1st scenario, i tried by adding '0' as prefix. 'No Data' was the output.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can you suggest the reason / solution without changing the DataElement?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Ullas&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: UllasU on Mar 31, 2010 9:43 AM&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 31 Mar 2010 07:40:15 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/conversion-exit-for-the-dataelement-vbeln-vf/m-p/6836050#M1472344</guid>
      <dc:creator>ullas_u2</dc:creator>
      <dc:date>2010-03-31T07:40:15Z</dc:date>
    </item>
    <item>
      <title>Re: Conversion Exit for the DataElement VBELN_VF</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/conversion-exit-for-the-dataelement-vbeln-vf/m-p/6836051#M1472345</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;This data element VBELN_VF is related to domain VBELN which has conversion exit ALPHA.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So basically you have to use CONVERSION_EXIT_ALPHA_INPUT to convert from input(external) to internal(database) and CONVERSION_EXIT_ALPHA_OUTPUT or WRITE to reverse the operation. Hopefully, this should be implicit if each and every screen/dynpro use the ddic reference.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But you must do that in EACH AND EVERY PROGRAM that reads or writes in your z-table.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Perform some browse via SE16N desactivating conversion exit, to check if there are correct data in the database table. Remember that you can programmaticaly put any 10 character strings in the database, there is no check....&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Raymond&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 31 Mar 2010 07:58:12 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/conversion-exit-for-the-dataelement-vbeln-vf/m-p/6836051#M1472345</guid>
      <dc:creator>RaymondGiuseppi</dc:creator>
      <dc:date>2010-03-31T07:58:12Z</dc:date>
    </item>
    <item>
      <title>Re: Conversion Exit for the DataElement VBELN_VF</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/conversion-exit-for-the-dataelement-vbeln-vf/m-p/6836052#M1472346</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Raymond,&lt;/P&gt;&lt;P&gt;I tried with the Conversion Exit Function Modules; but it gave me the same value as output(gave input as 100000005 and got output as 100000005). So I dont think its a problem related to ConversionExit.&lt;/P&gt;&lt;P&gt;-Ullas&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 31 Mar 2010 08:02:30 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/conversion-exit-for-the-dataelement-vbeln-vf/m-p/6836052#M1472346</guid>
      <dc:creator>ullas_u2</dc:creator>
      <dc:date>2010-03-31T08:02:30Z</dc:date>
    </item>
    <item>
      <title>Re: Conversion Exit for the DataElement VBELN_VF</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/conversion-exit-for-the-dataelement-vbeln-vf/m-p/6836053#M1472347</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Write a report to check your database table values like&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;TABLES: *ztable,
        ztable.

DATA: errors TYPE i,
      corrects TYPE i.

SELECT * FROM ztable.
  CALL FUNCTION 'CONVERSION_EXIT_ALPHA_INPUT'
       EXPORTING
            input  = ztable-vbeln
       IMPORTING
            output = *ztable-vbeln.
  IF ztable-vbeln NE *ztable-vbeln.
    ADD 1 TO errors. 
  ELSE.
    ADD 1 TO corrects.
  ENDIF.
ENDSELECT.

WRITE: / errors, ' defective records'.
WRITE: / corrects, ' correct records'.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;(In case of doubts, check the report replacing ZTABLE by  VBAK or VBRK, you will get 0 defective records.)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;NB: CONVERSION_EXIT_ALPHA_INPUT converts 100000005 to 0100000005 on every SAP system i know if the parameters are defined with VBELN_VF (10 characters).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Raymond&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 31 Mar 2010 08:05:47 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/conversion-exit-for-the-dataelement-vbeln-vf/m-p/6836053#M1472347</guid>
      <dc:creator>RaymondGiuseppi</dc:creator>
      <dc:date>2010-03-31T08:05:47Z</dc:date>
    </item>
    <item>
      <title>Re: Conversion Exit for the DataElement VBELN_VF</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/conversion-exit-for-the-dataelement-vbeln-vf/m-p/6836054#M1472348</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi raymond.&lt;/P&gt;&lt;P&gt;&lt;SPAN __jive_emoticon_name="happy"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;Thanks for the support.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The issue has been traced out. The problem was bit different.&lt;/P&gt;&lt;P&gt;The data posting to the table happened via GUI_UPLOAD function module. I kept the data type of the field in excell as 'GENERAL' and done the uploading. On changing the data type to 'TEXT' and done the upload, i found the issue got solved.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-Ullas&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 31 Mar 2010 09:52:19 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/conversion-exit-for-the-dataelement-vbeln-vf/m-p/6836054#M1472348</guid>
      <dc:creator>ullas_u2</dc:creator>
      <dc:date>2010-03-31T09:52:19Z</dc:date>
    </item>
  </channel>
</rss>

