<?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 FM - BAPI_CLASS_CHAR_DELETE_DEP in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/fm-bapi-class-char-delete-dep/m-p/5342211#M1230434</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;Anyone used this function module before? There seems to be a problem with this fm. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Our scenarios keep hitting the following error:&lt;/P&gt;&lt;P&gt;IF L_SUBRC &amp;lt;&amp;gt; 0 OR RET-TYPE NE 'S'.&lt;/P&gt;&lt;P&gt;PERFORM WRITE_MESSAGE USING MSGTY_E '27' '200'&lt;/P&gt;&lt;P&gt;C_API_NAME&lt;/P&gt;&lt;P&gt;'CARD_CHAR_VAL_READ_ALLOC'&lt;/P&gt;&lt;P&gt;L_SUBRC SPACE.&lt;/P&gt;&lt;P&gt;EXIT.&lt;/P&gt;&lt;P&gt;ENDIF.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;because RET-TYPE is always blank.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;RET-TYPE is initially assigned with 'S' but then it is cleared by BEGIN_OF_API (see below codes) and I dont see it assigned it back anywhere. Therefore I will keeping hitting that error.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CLEAR: ERROR, WARNING.&lt;/P&gt;&lt;P&gt;CLEAR: RETURN.&lt;/P&gt;&lt;P&gt;RET-TYPE = 'S'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;PERFORM BEGIN_OF_API TABLES RETURN&lt;/P&gt;&lt;P&gt;USING    C_API_NAME&lt;/P&gt;&lt;P&gt;CHANGING WARNING ERROR.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please help to point out if there is something wrong with this FM (I have checked and there are no OSS notes) or i have misunderstood this FM.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 03 Mar 2009 00:41:24 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2009-03-03T00:41:24Z</dc:date>
    <item>
      <title>FM - BAPI_CLASS_CHAR_DELETE_DEP</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/fm-bapi-class-char-delete-dep/m-p/5342211#M1230434</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;Anyone used this function module before? There seems to be a problem with this fm. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Our scenarios keep hitting the following error:&lt;/P&gt;&lt;P&gt;IF L_SUBRC &amp;lt;&amp;gt; 0 OR RET-TYPE NE 'S'.&lt;/P&gt;&lt;P&gt;PERFORM WRITE_MESSAGE USING MSGTY_E '27' '200'&lt;/P&gt;&lt;P&gt;C_API_NAME&lt;/P&gt;&lt;P&gt;'CARD_CHAR_VAL_READ_ALLOC'&lt;/P&gt;&lt;P&gt;L_SUBRC SPACE.&lt;/P&gt;&lt;P&gt;EXIT.&lt;/P&gt;&lt;P&gt;ENDIF.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;because RET-TYPE is always blank.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;RET-TYPE is initially assigned with 'S' but then it is cleared by BEGIN_OF_API (see below codes) and I dont see it assigned it back anywhere. Therefore I will keeping hitting that error.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CLEAR: ERROR, WARNING.&lt;/P&gt;&lt;P&gt;CLEAR: RETURN.&lt;/P&gt;&lt;P&gt;RET-TYPE = 'S'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;PERFORM BEGIN_OF_API TABLES RETURN&lt;/P&gt;&lt;P&gt;USING    C_API_NAME&lt;/P&gt;&lt;P&gt;CHANGING WARNING ERROR.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please help to point out if there is something wrong with this FM (I have checked and there are no OSS notes) or i have misunderstood this FM.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 03 Mar 2009 00:41:24 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/fm-bapi-class-char-delete-dep/m-p/5342211#M1230434</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-03-03T00:41:24Z</dc:date>
    </item>
    <item>
      <title>Re: FM - BAPI_CLASS_CHAR_DELETE_DEP</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/fm-bapi-class-char-delete-dep/m-p/5342212#M1230435</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Lee,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In the call function of CARD_CLASS_CHAR_READ_ALLOC ( line55) the value is again reset. However it is not received in the function call, but this should not be a reason for the error. Please get inside the function call of CARD_CLASS_CHAR_READ_ALLOC and check if any of the conditions fails there.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Hari&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 03 Mar 2009 03:13:41 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/fm-bapi-class-char-delete-dep/m-p/5342212#M1230435</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-03-03T03:13:41Z</dc:date>
    </item>
    <item>
      <title>Re: FM - BAPI_CLASS_CHAR_DELETE_DEP</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/fm-bapi-class-char-delete-dep/m-p/5342213#M1230436</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;We have already debugged the FM - CARD_CLASS_CHAR_READ_ALLOC and there is no error found during debugging in that FM. The RETURN-TYPE in that FM is still 'S' until the end and therefore we do not think that there is anything wrong with the data.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for your information.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 03 Mar 2009 03:32:38 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/fm-bapi-class-char-delete-dep/m-p/5342213#M1230436</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-03-03T03:32:38Z</dc:date>
    </item>
  </channel>
</rss>

