<?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: Validation For WRBTR in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/validation-for-wrbtr/m-p/1757271#M327970</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Find the field length.&lt;/P&gt;&lt;P&gt;subtract two from the length and&lt;/P&gt;&lt;P&gt;Check like this&lt;/P&gt;&lt;P&gt;wrbtr_temp+0(L) = ','      "L = subtracted length&lt;/P&gt;&lt;P&gt;then do the process required.&lt;/P&gt;&lt;P&gt;give error message or replace it with '.'&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;By &lt;/P&gt;&lt;P&gt;Yuvaram&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 02 Jan 2007 14:38:39 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2007-01-02T14:38:39Z</dc:date>
    <item>
      <title>Validation For WRBTR</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/validation-for-wrbtr/m-p/1757269#M327968</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;In Amount field (ITAB-WRBTR) &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In the File Amount field (ITAB-WRBTR) format like this &amp;lt;b&amp;gt;5,500.00&amp;lt;/b&amp;gt; it will goes to Error table&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;OR&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In the File Amount field (ITAB-WRBTR) Format like this&amp;lt;b&amp;gt; 5500&amp;lt;/b&amp;gt; it will goes to SAP (BDC - SESSION)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In the File Amount field (ITAB-WRBTR) format like this &amp;lt;b&amp;gt;5.500,00&amp;lt;/b&amp;gt; it will goes to SAP (BDC - SESSION)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I want validate this Amount Field&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;please send the sample code for this &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I look forward to your reply &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks &amp;amp; Regards&lt;/P&gt;&lt;P&gt;SEK&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 02 Jan 2007 14:20:54 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/validation-for-wrbtr/m-p/1757269#M327968</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-01-02T14:20:54Z</dc:date>
    </item>
    <item>
      <title>Re: Validation For WRBTR</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/validation-for-wrbtr/m-p/1757270#M327969</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Raja Sekhar,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Check your previous thread &lt;/P&gt;&lt;P&gt;&lt;A class="jive_macro jive_macro_message" href="https://community.sap.com/" __jive_macro_name="message" modifiedtitle="true" __default_attr="2879188"&gt;&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Raghav&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 02 Jan 2007 14:38:20 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/validation-for-wrbtr/m-p/1757270#M327969</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-01-02T14:38:20Z</dc:date>
    </item>
    <item>
      <title>Re: Validation For WRBTR</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/validation-for-wrbtr/m-p/1757271#M327970</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Find the field length.&lt;/P&gt;&lt;P&gt;subtract two from the length and&lt;/P&gt;&lt;P&gt;Check like this&lt;/P&gt;&lt;P&gt;wrbtr_temp+0(L) = ','      "L = subtracted length&lt;/P&gt;&lt;P&gt;then do the process required.&lt;/P&gt;&lt;P&gt;give error message or replace it with '.'&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;By &lt;/P&gt;&lt;P&gt;Yuvaram&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 02 Jan 2007 14:38:39 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/validation-for-wrbtr/m-p/1757271#M327970</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-01-02T14:38:39Z</dc:date>
    </item>
    <item>
      <title>Re: Validation For WRBTR</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/validation-for-wrbtr/m-p/1757272#M327971</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;&lt;/P&gt;&lt;P&gt;you must use:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1) char-field for bdc&lt;/P&gt;&lt;P&gt;2) dec-field for validation in your program&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;A.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 02 Jan 2007 14:41:12 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/validation-for-wrbtr/m-p/1757272#M327971</guid>
      <dc:creator>andreas_mann3</dc:creator>
      <dc:date>2007-01-02T14:41:12Z</dc:date>
    </item>
    <item>
      <title>Re: Validation For WRBTR</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/validation-for-wrbtr/m-p/1757273#M327972</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dear Raja,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Always remember this thumb rule while carrying out BDC Programming.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In your case, lets consider the field WRBTR. You want to use field in your BDC Programming.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Goto SE11 --&amp;gt; Enter the Table where the field WRBTR lies --&amp;gt; Search for the field &lt;/P&gt;&lt;P&gt;WRBTR ---&amp;gt; Goto the Data Element of the field ... for example its the same as the field name i.e. WRBTR ---&amp;gt; Double Click on it -&lt;/P&gt;&lt;HR originaltext="---" /&gt;&lt;P&gt;&amp;gt; Goto the Domain : WERT7 ---&amp;gt; &lt;/P&gt;&lt;P&gt;You'll find the Output length to be 16.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So, always declare the field WRBTR in your TYPES Structure as CHAR(16).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Abir&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;***********************************&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;Don't forget to award Points *&lt;/P&gt;&lt;/LI&gt;&lt;UL&gt;&lt;UL&gt;&lt;UL&gt;&lt;UL&gt;&lt;UL&gt;&lt;UL&gt;&lt;UL&gt;&lt;UL&gt;&lt;UL&gt;&lt;UL&gt;&lt;UL&gt;&lt;UL&gt;&lt;UL&gt;&lt;UL&gt;&lt;UL&gt;&lt;UL&gt;&lt;UL&gt;&lt;UL&gt;&lt;UL&gt;&lt;UL&gt;&lt;UL&gt;&lt;UL&gt;&lt;UL&gt;&lt;UL&gt;&lt;UL&gt;&lt;UL&gt;&lt;UL&gt;&lt;UL&gt;&lt;UL&gt;&lt;UL&gt;&lt;UL&gt;&lt;UL&gt;&lt;UL&gt;&lt;UL&gt;&lt;LI level="35" type="ul"&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;/UL&gt;&lt;/UL&gt;&lt;/UL&gt;&lt;/UL&gt;&lt;/UL&gt;&lt;/UL&gt;&lt;/UL&gt;&lt;/UL&gt;&lt;/UL&gt;&lt;/UL&gt;&lt;/UL&gt;&lt;/UL&gt;&lt;/UL&gt;&lt;/UL&gt;&lt;/UL&gt;&lt;/UL&gt;&lt;/UL&gt;&lt;/UL&gt;&lt;/UL&gt;&lt;/UL&gt;&lt;/UL&gt;&lt;/UL&gt;&lt;/UL&gt;&lt;/UL&gt;&lt;/UL&gt;&lt;/UL&gt;&lt;/UL&gt;&lt;/UL&gt;&lt;/UL&gt;&lt;/UL&gt;&lt;/UL&gt;&lt;/UL&gt;&lt;/UL&gt;&lt;/UL&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 02 Jan 2007 14:49:59 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/validation-for-wrbtr/m-p/1757273#M327972</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-01-02T14:49:59Z</dc:date>
    </item>
    <item>
      <title>Re: Validation For WRBTR</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/validation-for-wrbtr/m-p/1757274#M327973</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Raja,&lt;/P&gt;&lt;P&gt;use an CHAR-Field and try this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DATA: WRBTR(12).&lt;/P&gt;&lt;P&gt;*&lt;/P&gt;&lt;P&gt;DATA: FDPOS_K LIKE SY-FDPOS.&lt;/P&gt;&lt;P&gt;DATA: FDPOS_P LIKE SY-FDPOS.&lt;/P&gt;&lt;P&gt;WRBTR = '5.000,00'.&lt;/P&gt;&lt;P&gt;*&lt;/P&gt;&lt;P&gt;SEARCH WRBTR FOR ','.&lt;/P&gt;&lt;P&gt;IF SY-SUBRC = 0. FDPOS_K = SY-FDPOS. ENDIF.&lt;/P&gt;&lt;P&gt;*&lt;/P&gt;&lt;P&gt;SEARCH WRBTR FOR '...'.&lt;/P&gt;&lt;P&gt;IF SY-SUBRC = 0. FDPOS_P = SY-FDPOS. ENDIF.&lt;/P&gt;&lt;P&gt;*&lt;/P&gt;&lt;P&gt;IF FDPOS_P &amp;gt; FDPOS_K.&lt;/P&gt;&lt;P&gt;  WRITE: / FDPOS_P, FDPOS_K, 'ERROR'.&lt;/P&gt;&lt;P&gt;ELSE.&lt;/P&gt;&lt;P&gt;  WRITE: / FDPOS_P, FDPOS_K, 'WITHOUT ERROR'.&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;Regards, Dieter&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 02 Jan 2007 15:04:02 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/validation-for-wrbtr/m-p/1757274#M327973</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-01-02T15:04:02Z</dc:date>
    </item>
  </channel>
</rss>

