<?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: Urgent: runtime error in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/urgent-runtime-error/m-p/3767933#M906644</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;types: begin of st_chvw.&lt;/P&gt;&lt;P&gt;            charg like chvw-charg,&lt;/P&gt;&lt;P&gt;            aufnr like chvw-aufnr,&lt;/P&gt;&lt;P&gt;          end of st_chvw.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;data: it_chvw type table of st_chvw,&lt;/P&gt;&lt;P&gt;        wa_chvw like line of it_chvw,&lt;/P&gt;&lt;P&gt;        l_index type sy-index.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;select CHARG from CHVW into corresponding fields of table it_chvw where charg in PA_CHVW.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if sy-subrc = 0.&lt;/P&gt;&lt;P&gt;loop at it_chvw into wa_chvw.&lt;/P&gt;&lt;P&gt;l_index = sy-index.&lt;/P&gt;&lt;P&gt;CALL FUNCTION 'ZFIND_ORDERS'&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;EXPORTING&lt;/P&gt;&lt;P&gt;QP_CHARG = wa_chvw-charg&lt;/P&gt;&lt;P&gt;P_MATNR = &lt;/P&gt;&lt;P&gt;IMPORTING&lt;/P&gt;&lt;P&gt;P_AUFNR = wa_chvw-aufnr.&lt;/P&gt;&lt;P&gt;modify it_chvw from wa_chvw index l_index.&lt;/P&gt;&lt;P&gt;endloop.&lt;/P&gt;&lt;P&gt;endif.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Let me know if any doubts.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best Regards,&lt;/P&gt;&lt;P&gt;Vibha &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please mark all the helpful answers&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 02 May 2008 12:01:15 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2008-05-02T12:01:15Z</dc:date>
    <item>
      <title>Urgent: runtime error</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/urgent-runtime-error/m-p/3767926#M906637</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 making a report in which i am using function module and when it gets execute it gives runtime error and the error points to the function called.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;so plz help me out as how to solve dis problem?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;TABLES : CHVW.&lt;/P&gt;&lt;P&gt;SELECT-OPTIONS : PA_CHVW FOR CHVW-CHARG.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DATA : PA_AUFNR LIKE CHVW-AUFNR.&lt;/P&gt;&lt;P&gt;CALL FUNCTION 'ZFIND_ORDERS'&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; EXPORTING&lt;/P&gt;&lt;P&gt;   QP_CHARG       = PA_CHVW&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;  P_MATNR        =&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt; IMPORTING&lt;/P&gt;&lt;P&gt;   P_AUFNR        = PA_AUFNR&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 02 May 2008 11:15:00 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/urgent-runtime-error/m-p/3767926#M906637</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-05-02T11:15:00Z</dc:date>
    </item>
    <item>
      <title>Re: Urgent: runtime error</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/urgent-runtime-error/m-p/3767927#M906638</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;You cannot assign a select option to an /EXPORTINGimporting parameter.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;EXPORTING/IMPORTING PARAMETERS are single fields&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you want to send multiple entries at a time you have to have TABLE PARAMETERS in the FM&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;santhosh&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: Kaluvala Santhosh on May 2, 2008 4:47 PM&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 02 May 2008 11:17:07 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/urgent-runtime-error/m-p/3767927#M906638</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-05-02T11:17:07Z</dc:date>
    </item>
    <item>
      <title>Re: Urgent: runtime error</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/urgent-runtime-error/m-p/3767928#M906639</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;what's the description of the runtime error?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Call function type conflict?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 02 May 2008 11:17:29 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/urgent-runtime-error/m-p/3767928#M906639</guid>
      <dc:creator>Sm1tje</dc:creator>
      <dc:date>2008-05-02T11:17:29Z</dc:date>
    </item>
    <item>
      <title>Re: Urgent: runtime error</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/urgent-runtime-error/m-p/3767929#M906640</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Your PA_CHVW  contains a range &lt;/P&gt;&lt;P&gt;u need to pass a single value &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Wht u shld do is &lt;/P&gt;&lt;P&gt;loop at parameter&lt;/P&gt;&lt;P&gt;call FM &lt;/P&gt;&lt;P&gt;endloop.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 02 May 2008 11:20:12 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/urgent-runtime-error/m-p/3767929#M906640</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-05-02T11:20:12Z</dc:date>
    </item>
    <item>
      <title>Re: Urgent: runtime error</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/urgent-runtime-error/m-p/3767930#M906641</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Check the parameters of FM. You are directly passing select options variable. Might be this is the error or the error might be in FM 'ZFIND_ORDERS'. As this is a Z FM, you can check the coding done in FM and make changes where th error is coming by checking the description of the runtime error.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Let me know if any doubts.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best Regards,&lt;/P&gt;&lt;P&gt;Vibha &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please mark all the helpful answers&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 02 May 2008 11:21:31 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/urgent-runtime-error/m-p/3767930#M906641</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-05-02T11:21:31Z</dc:date>
    </item>
    <item>
      <title>Re: Urgent: runtime error</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/urgent-runtime-error/m-p/3767931#M906642</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;the structure of the FM IS:-&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;FUNCTION ZFIND_PRDORD.&lt;/P&gt;&lt;P&gt;*"----&lt;/P&gt;&lt;HR originaltext="-----------------------------------------------------------------" /&gt;&lt;P&gt;&lt;STRONG&gt;"&lt;/STRONG&gt;"Local Interface:&lt;/P&gt;&lt;P&gt;*"  IMPORTING&lt;/P&gt;&lt;P&gt;*"     VALUE(QP_CHARG) TYPE  CHVW-CHARG OPTIONAL&lt;/P&gt;&lt;P&gt;*"     VALUE(P_MATNR) TYPE  CHVW-MATNR OPTIONAL&lt;/P&gt;&lt;P&gt;*"     VALUE(P_AUFNR) TYPE  CHVW-AUFNR OPTIONAL&lt;/P&gt;&lt;P&gt;*"  EXPORTING&lt;/P&gt;&lt;P&gt;*"     VALUE(AP_AUFNR) TYPE  CHVW-AUFNR&lt;/P&gt;&lt;P&gt;*"----&lt;/P&gt;&lt;HR originaltext="-----------------------------------------------------------------" /&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DATA : BEGIN OF T_CHVW OCCURS 0,&lt;/P&gt;&lt;P&gt;              XZUGA LIKE CHVW-XZUGA,&lt;/P&gt;&lt;P&gt;              WERKS LIKE CHVW-WERKS,&lt;/P&gt;&lt;P&gt;              MATNR LIKE CHVW-MATNR,&lt;/P&gt;&lt;P&gt;              CHARG LIKE CHVW-CHARG,&lt;/P&gt;&lt;P&gt;              AUFNR LIKE CHVW-AUFNR,&lt;/P&gt;&lt;P&gt;              EBELN LIKE CHVW-EBELN,&lt;/P&gt;&lt;P&gt;              MBLNR LIKE CHVW-MBLNR,&lt;/P&gt;&lt;P&gt;              ZEILE LIKE CHVW-ZEILE,&lt;/P&gt;&lt;P&gt;              BUDAT LIKE CHVW-BUDAT,&lt;/P&gt;&lt;P&gt;              SHKZG LIKE CHVW-SHKZG,&lt;/P&gt;&lt;P&gt;              BWART LIKE CHVW-BWART,&lt;/P&gt;&lt;P&gt;              MENGE LIKE CHVW-MENGE,&lt;/P&gt;&lt;P&gt;              MEINS LIKE CHVW-MEINS,&lt;/P&gt;&lt;P&gt;              KZBEW LIKE CHVW-KZBEW,&lt;/P&gt;&lt;P&gt;          END OF T_CHVW.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DATA : T1_CHVW LIKE T_CHVW OCCURS 0 WITH HEADER LINE.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;*DATA : P_CHARG type CHVW-CHARG.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SELECT XZUGA WERKS MATNR CHARG AUFNR EBELN&lt;/P&gt;&lt;P&gt;       MBLNR ZEILE BUDAT SHKZG BWART MENGE MEINS KZBEW&lt;/P&gt;&lt;P&gt;       FROM CHVW INTO TABLE T_CHVW&lt;/P&gt;&lt;P&gt;       WHERE&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;      CHARG IN P_CHARG&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;        XZUGA = ' '&lt;/P&gt;&lt;P&gt;       AND BWART = '101'&lt;/P&gt;&lt;P&gt;       AND KZBEW = 'F' .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ENDFUNCTION.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;PLZZ TELL ME why  it is giving error:-&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  &lt;STRONG&gt;Type conflict when calling a function module.&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 02 May 2008 11:47:01 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/urgent-runtime-error/m-p/3767931#M906642</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-05-02T11:47:01Z</dc:date>
    </item>
    <item>
      <title>Re: Urgent: runtime error</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/urgent-runtime-error/m-p/3767932#M906643</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;Check the following code:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SELECT XZUGA WERKS MATNR CHARG AUFNR EBELN&lt;/P&gt;&lt;P&gt;MBLNR ZEILE BUDAT SHKZG BWART MENGE MEINS KZBEW&lt;/P&gt;&lt;P&gt;FROM CHVW INTO TABLE T_CHVW&lt;/P&gt;&lt;P&gt;WHERE CHARG EQ QP_CHARG &lt;/P&gt;&lt;P&gt;and  XZUGA = ' ' &lt;/P&gt;&lt;P&gt;AND BWART = '101'&lt;/P&gt;&lt;P&gt;and matnr eq p_matnr&lt;/P&gt;&lt;P&gt;and aufrn eq p_aufnr&lt;/P&gt;&lt;P&gt;AND KZBEW = 'F' .&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;Kannaiah&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 02 May 2008 11:52:19 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/urgent-runtime-error/m-p/3767932#M906643</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-05-02T11:52:19Z</dc:date>
    </item>
    <item>
      <title>Re: Urgent: runtime error</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/urgent-runtime-error/m-p/3767933#M906644</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;types: begin of st_chvw.&lt;/P&gt;&lt;P&gt;            charg like chvw-charg,&lt;/P&gt;&lt;P&gt;            aufnr like chvw-aufnr,&lt;/P&gt;&lt;P&gt;          end of st_chvw.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;data: it_chvw type table of st_chvw,&lt;/P&gt;&lt;P&gt;        wa_chvw like line of it_chvw,&lt;/P&gt;&lt;P&gt;        l_index type sy-index.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;select CHARG from CHVW into corresponding fields of table it_chvw where charg in PA_CHVW.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if sy-subrc = 0.&lt;/P&gt;&lt;P&gt;loop at it_chvw into wa_chvw.&lt;/P&gt;&lt;P&gt;l_index = sy-index.&lt;/P&gt;&lt;P&gt;CALL FUNCTION 'ZFIND_ORDERS'&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;EXPORTING&lt;/P&gt;&lt;P&gt;QP_CHARG = wa_chvw-charg&lt;/P&gt;&lt;P&gt;P_MATNR = &lt;/P&gt;&lt;P&gt;IMPORTING&lt;/P&gt;&lt;P&gt;P_AUFNR = wa_chvw-aufnr.&lt;/P&gt;&lt;P&gt;modify it_chvw from wa_chvw index l_index.&lt;/P&gt;&lt;P&gt;endloop.&lt;/P&gt;&lt;P&gt;endif.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Let me know if any doubts.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best Regards,&lt;/P&gt;&lt;P&gt;Vibha &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please mark all the helpful answers&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 02 May 2008 12:01:15 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/urgent-runtime-error/m-p/3767933#M906644</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-05-02T12:01:15Z</dc:date>
    </item>
    <item>
      <title>Re: Urgent: runtime error</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/urgent-runtime-error/m-p/3767934#M906645</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Is your problem solved? Let me know if still there are any doubts. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please close the thread if it is solved.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 02 May 2008 13:04:46 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/urgent-runtime-error/m-p/3767934#M906645</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-05-02T13:04:46Z</dc:date>
    </item>
  </channel>
</rss>

