<?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: error message in BAPI_REQUISITION_CHANGE in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/error-message-in-bapi-requisition-change/m-p/8087537#M1615101</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;you are wrong with the type of  "ZITEMO_TAB  and zitemn_tab" &lt;/P&gt;&lt;P&gt;it's should be typed of  &lt;STRONG&gt;bapiebanv&lt;/STRONG&gt; , not &lt;STRONG&gt;bapieban&lt;/STRONG&gt;. &lt;/P&gt;&lt;P&gt;pls check.&lt;/P&gt;&lt;P&gt;tks.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 20 Jul 2011 08:38:30 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2011-07-20T08:38:30Z</dc:date>
    <item>
      <title>error message in BAPI_REQUISITION_CHANGE</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/error-message-in-bapi-requisition-change/m-p/8087535#M1615099</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi  gurus .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I've got an error message :&lt;/P&gt;&lt;P&gt;Runtime Errors         CALL_FUNCTION_UC_STRUCT&lt;/P&gt;&lt;P&gt;Exception              CX_SY_DYN_CALL_ILLEGAL_TYPE&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  The reason for the exception is:&lt;/P&gt;&lt;P&gt;  In the function "BAPI_REQUISITION_CHANGE", the STRUCTURE parameter&lt;/P&gt;&lt;P&gt;   "REQUISITION_ITEMS_NEW" is typed in such a way&lt;/P&gt;&lt;P&gt;  that only actual parameters are allowed, which are compatible in Uni&lt;/P&gt;&lt;P&gt;   with respect to the fragment view. However, the specified actual&lt;/P&gt;&lt;P&gt;  parameter " " has an incompatible fragment view.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please , look at my code below . What is my problem ?&lt;/P&gt;&lt;P&gt;             I don't see any error in data definition .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;REPORT  Z_CHANGE_REQ.&lt;/P&gt;&lt;P&gt;DATA  : ZREQ TYPE BAPIEBAN-PREQ_NO VALUE '1000073060'  ,&lt;/P&gt;&lt;P&gt;        ZITEMO_TAB TYPE TABLE OF BAPIEBAN WITH HEADER LINE ,&lt;/P&gt;&lt;P&gt;        ZITEMN_TAB TYPE STANDARD TABLE OF BAPIEBAN ,&lt;/P&gt;&lt;P&gt;        LZITEMN_TAB TYPE BAPIEBAN ,&lt;/P&gt;&lt;P&gt;        ZRETURN TYPE TABLE OF BAPIRETURN WITH HEADER LINE .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CLEAR  : ZITEMO_TAB[]  , ZITEMN_TAB[]  , ZRETURN[] .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CALL FUNCTION 'BAPI_REQUISITION_GETDETAIL'&lt;/P&gt;&lt;P&gt;  EXPORTING&lt;/P&gt;&lt;P&gt;    NUMBER                               = ZREQ&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  TABLES&lt;/P&gt;&lt;P&gt;    REQUISITION_ITEMS                    =   ZITEMO_TAB .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;          .&lt;/P&gt;&lt;P&gt;READ TABLE ZITEMO_TAB INDEX 1 .&lt;/P&gt;&lt;P&gt;CHECK SY-SUBRC = 0 .&lt;/P&gt;&lt;P&gt;LOOP AT ZITEMO_TAB .&lt;/P&gt;&lt;P&gt;    MOVE-CORRESPONDING ZITEMO_TAB TO LZITEMN_TAB .&lt;/P&gt;&lt;P&gt;    LZITEMN_TAB-C_AMT_BAPI = LZITEMN_TAB-C_AMT_BAPI  * '0.95' .&lt;/P&gt;&lt;P&gt;    APPEND LZITEMN_TAB TO ZITEMN_TAB.&lt;/P&gt;&lt;P&gt;ENDLOOP .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CALL FUNCTION 'BAPI_REQUISITION_CHANGE'&lt;/P&gt;&lt;P&gt;  EXPORTING&lt;/P&gt;&lt;P&gt;    NUMBER                        = ZREQ&lt;/P&gt;&lt;P&gt;  TABLES&lt;/P&gt;&lt;P&gt;    REQUISITION_ITEMS_OLD         = ZITEMO_TAB&lt;/P&gt;&lt;P&gt;    REQUISITION_ITEMS_NEW         = ZITEMN_TAB&lt;/P&gt;&lt;P&gt;    RETURN                        = ZRETURN .&lt;/P&gt;&lt;P&gt;READ TABLE ZRETURN INDEX 1 .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards . Helena&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 20 Jul 2011 07:38:39 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/error-message-in-bapi-requisition-change/m-p/8087535#M1615099</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2011-07-20T07:38:39Z</dc:date>
    </item>
    <item>
      <title>Re: error message in BAPI_REQUISITION_CHANGE</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/error-message-in-bapi-requisition-change/m-p/8087536#M1615100</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;pass table new and old as type BAPIEBANV i just checked in bapi..&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 20 Jul 2011 07:42:50 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/error-message-in-bapi-requisition-change/m-p/8087536#M1615100</guid>
      <dc:creator>nabheetscn</dc:creator>
      <dc:date>2011-07-20T07:42:50Z</dc:date>
    </item>
    <item>
      <title>Re: error message in BAPI_REQUISITION_CHANGE</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/error-message-in-bapi-requisition-change/m-p/8087537#M1615101</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;you are wrong with the type of  "ZITEMO_TAB  and zitemn_tab" &lt;/P&gt;&lt;P&gt;it's should be typed of  &lt;STRONG&gt;bapiebanv&lt;/STRONG&gt; , not &lt;STRONG&gt;bapieban&lt;/STRONG&gt;. &lt;/P&gt;&lt;P&gt;pls check.&lt;/P&gt;&lt;P&gt;tks.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 20 Jul 2011 08:38:30 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/error-message-in-bapi-requisition-change/m-p/8087537#M1615101</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2011-07-20T08:38:30Z</dc:date>
    </item>
  </channel>
</rss>

