<?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: Program termination in BDC upload in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/program-termination-in-bdc-upload/m-p/1425479#M204010</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I think you need to write both v_days_006 and v_days_007 to a character field and pass the character field to bdc_field.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Rob&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 30 Jun 2006 19:07:14 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2006-06-30T19:07:14Z</dc:date>
    <item>
      <title>Program termination in BDC upload</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/program-termination-in-bdc-upload/m-p/1425477#M204008</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 am using the BDC method to upload data into infotype table pa2010 . on the selection screen of the include of the BDC method i.e INCLUDE bdcrecx1 there is field called NoDataIndicator as / . In the program i am doing some calculation to get no of hours worked like . &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;IF NOT record-stdaz_006 IS INITIAL. &lt;/P&gt;&lt;P&gt;v_days_006 = record-stdaz_006 / v_arbst. &lt;/P&gt;&lt;P&gt;PERFORM bdc_field USING 'P2012-ANZHL' v_days_006. &lt;/P&gt;&lt;P&gt;ELSE. &lt;/P&gt;&lt;P&gt;v_days_007 = record-anzhl_007 / v_arbst. &lt;/P&gt;&lt;P&gt;PERFORM bdc_field USING 'P2012-ANZHL' v_days_007. &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;the program is terminating when it coming to ' / ' in the calculation part and shows the error in &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;FORM BDC_FIELD USING FNAM FVAL. &lt;/P&gt;&lt;P&gt;IF FVAL &amp;lt;&amp;gt; NODATA. -&lt;/P&gt;&lt;HR originaltext="------------------" /&gt;&lt;P&gt;error is shown at this point &lt;/P&gt;&lt;P&gt;CLEAR BDCDATA. &lt;/P&gt;&lt;P&gt;BDCDATA-FNAM = FNAM. &lt;/P&gt;&lt;P&gt;BDCDATA-FVAL = FVAL. &lt;/P&gt;&lt;P&gt;APPEND BDCDATA. &lt;/P&gt;&lt;P&gt;ENDIF. &lt;/P&gt;&lt;P&gt;ENDFORM. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;when i remove the / in the selection screen it is not showing error . Please advise me on this how to handle as i want the option nodataindicator as / on the selection screen .&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 30 Jun 2006 18:55:14 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/program-termination-in-bdc-upload/m-p/1425477#M204008</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-06-30T18:55:14Z</dc:date>
    </item>
    <item>
      <title>Re: Program termination in BDC upload</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/program-termination-in-bdc-upload/m-p/1425478#M204009</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;what is data type id data and v_days_006. Might be the the data conversion/mismatch issue.&lt;/P&gt;&lt;P&gt;try with &lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt;if fval ne space.&amp;lt;/b&amp;gt;&lt;/P&gt;&lt;P&gt;Regds&lt;/P&gt;&lt;P&gt;Manohar&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 30 Jun 2006 19:02:23 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/program-termination-in-bdc-upload/m-p/1425478#M204009</guid>
      <dc:creator>Manohar2u</dc:creator>
      <dc:date>2006-06-30T19:02:23Z</dc:date>
    </item>
    <item>
      <title>Re: Program termination in BDC upload</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/program-termination-in-bdc-upload/m-p/1425479#M204010</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I think you need to write both v_days_006 and v_days_007 to a character field and pass the character field to bdc_field.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Rob&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 30 Jun 2006 19:07:14 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/program-termination-in-bdc-upload/m-p/1425479#M204010</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-06-30T19:07:14Z</dc:date>
    </item>
    <item>
      <title>Re: Program termination in BDC upload</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/program-termination-in-bdc-upload/m-p/1425480#M204011</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You basically have to declare a character variable to store the calculated value and pass that to the routine as the subroutine is expecting it to be a character field.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Try this.&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;DATA: v_anzhl(8).
IF NOT record-stdaz_006 IS INITIAL. 
  v_days_006 = record-stdaz_006 / v_arbst. 
  CLEAR v_anzhl.
  WRITE v_days_006 TO v_anzhl NO-GROUPING.
  PERFORM bdc_field USING 'P2012-ANZHL' v_anzhl. 
ELSE. 
  v_days_007 = record-anzhl_007 / v_arbst. 
  CLEAR v_anzhl.
  WRITE v_days_007 TO v_anzhl NO-GROUPING.
  PERFORM bdc_field USING 'P2012-ANZHL' v_anzhl. 
ENDIF. &lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 30 Jun 2006 19:21:27 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/program-termination-in-bdc-upload/m-p/1425480#M204011</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-06-30T19:21:27Z</dc:date>
    </item>
    <item>
      <title>Re: Program termination in BDC upload</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/program-termination-in-bdc-upload/m-p/1425481#M204012</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi latha,&lt;/P&gt;&lt;P&gt;use this,&lt;/P&gt;&lt;P&gt;IF FVAL &amp;lt;&amp;gt; space.&lt;/P&gt;&lt;P&gt;also pass v_days_006 and v_days_007 to  other variables&lt;/P&gt;&lt;P&gt;and use them in perform statement.&lt;/P&gt;&lt;P&gt;regards,&lt;/P&gt;&lt;P&gt;keerthi.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 30 Jun 2006 19:52:50 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/program-termination-in-bdc-upload/m-p/1425481#M204012</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-06-30T19:52:50Z</dc:date>
    </item>
  </channel>
</rss>

