<?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 regarding inbound FunctionModule. in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/error-regarding-inbound-functionmodule/m-p/1244206#M143070</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;John thanx for the suggestion, i solved the problem myself, coz at the FM table parameters instead of 'IDOC_CONTRL' i had mentioned IDOC_CONTROL'.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 27 Mar 2006 12:47:44 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2006-03-27T12:47:44Z</dc:date>
    <item>
      <title>Error regarding inbound FunctionModule.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/error-regarding-inbound-functionmodule/m-p/1244201#M143065</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi to all..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I had created a new inbound function module for delivery, while testing it at WE19 through option 'Test Inbound idoc via a function module' checking the options 'call in debugging mode' &amp;amp; 'in foreground' am getting an error called interface for function 'XXX...'is incorrect, i think the code is right coz am just retreving a single field and passing that data to a call transaction.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can any one pls suggest how to resolve this.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Shinoy&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 27 Mar 2006 08:35:01 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/error-regarding-inbound-functionmodule/m-p/1244201#M143065</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-03-27T08:35:01Z</dc:date>
    </item>
    <item>
      <title>Re: Error regarding inbound FunctionModule.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/error-regarding-inbound-functionmodule/m-p/1244202#M143066</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Shinoy,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Does your inbound FM has all parameters:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;"  IMPORTING&lt;/P&gt;&lt;P&gt;*"     VALUE(INPUT_METHOD) LIKE  BDWFAP_PAR-INPUTMETHD&lt;/P&gt;&lt;P&gt;*"     VALUE(MASS_PROCESSING) LIKE  BDWFAP_PAR-MASS_PROC&lt;/P&gt;&lt;P&gt;*"  EXPORTING&lt;/P&gt;&lt;P&gt;*"     VALUE(WORKFLOW_RESULT) LIKE  BDWFAP_PAR-RESULT&lt;/P&gt;&lt;P&gt;*"     VALUE(APPLICATION_VARIABLE) LIKE  BDWFAP_PAR-APPL_VAR&lt;/P&gt;&lt;P&gt;*"     VALUE(IN_UPDATE_TASK) LIKE  BDWFAP_PAR-UPDATETASK&lt;/P&gt;&lt;P&gt;*"     VALUE(CALL_TRANSACTION_DONE) LIKE  BDWFAP_PAR-CALLTRANS&lt;/P&gt;&lt;P&gt;*"  TABLES&lt;/P&gt;&lt;P&gt;*"      IDOC_CONTRL STRUCTURE  EDIDC&lt;/P&gt;&lt;P&gt;*"      IDOC_DATA STRUCTURE  EDIDD&lt;/P&gt;&lt;P&gt;*"      IDOC_STATUS STRUCTURE  BDIDOCSTAT&lt;/P&gt;&lt;P&gt;*"      RETURN_VARIABLES STRUCTURE  BDWFRETVAR&lt;/P&gt;&lt;P&gt;*"      SERIALIZATION_INFO STRUCTURE  BDI_SER&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&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;John.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 27 Mar 2006 08:52:17 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/error-regarding-inbound-functionmodule/m-p/1244202#M143066</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-03-27T08:52:17Z</dc:date>
    </item>
    <item>
      <title>Re: Error regarding inbound FunctionModule.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/error-regarding-inbound-functionmodule/m-p/1244203#M143067</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi John,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I had all the parameters as you mentioned, can u lookup the code...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;FUNCTION-POOL Z_RCPT_ADV.                   "MESSAGE-ID ..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;*Constants declaration.&lt;/P&gt;&lt;P&gt;  CONSTANTS: c_mod type c value 'A',&lt;/P&gt;&lt;P&gt;             c_upd type c value 'S',&lt;/P&gt;&lt;P&gt;             c_idoc_type TYPE edi_idoctp VALUE 'DELVRY03'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  DATA: v_docnum LIKE bdidocstat-docnum,&lt;/P&gt;&lt;P&gt;        v_vbeln LIKE likp-vbeln,&lt;/P&gt;&lt;P&gt;        wa_E1EDK07 LIKE E1EDK07.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;*Work Area Declaration&lt;/P&gt;&lt;P&gt;  DATA: v_doctyp TYPE EDIDC.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;*Internal table declaration&lt;/P&gt;&lt;P&gt;  DATA: BEGIN OF i_bdcmsgcoll OCCURS 0.&lt;/P&gt;&lt;P&gt;        INCLUDE STRUCTURE bdcmsgcoll.&lt;/P&gt;&lt;P&gt;  DATA: END OF i_bdcmsgcoll.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  DATA: BEGIN OF bdc_data OCCURS 100.&lt;/P&gt;&lt;P&gt;        INCLUDE STRUCTURE BDCDATA.&lt;/P&gt;&lt;P&gt;  DATA: END OF bdc_data.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-&lt;/P&gt;&lt;HR originaltext="-----------" /&gt;&lt;P&gt;FUNCTION Z_RCPT_ADV_VL32N.&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(INPUT_METHOD) LIKE  BDWFAP_PAR-INPUTMETHD&lt;/P&gt;&lt;P&gt;*"     VALUE(MASS_PROCESSING) LIKE  BDWFAP_PAR-MASS_PROC&lt;/P&gt;&lt;P&gt;*"  EXPORTING&lt;/P&gt;&lt;P&gt;*"     VALUE(WORKFLOW_RESULT) LIKE  BDWFAP_PAR-RESULT&lt;/P&gt;&lt;P&gt;*"     VALUE(APPLICATION_VARIABLE) LIKE  BDWFAP_PAR-APPL_VAR&lt;/P&gt;&lt;P&gt;*"     VALUE(IN_UPDATE_TASK) LIKE  BDWFAP_PAR-UPDATETASK&lt;/P&gt;&lt;P&gt;*"     VALUE(CALL_TRANSACTION_DONE) LIKE  BDWFAP_PAR-CALLTRANS&lt;/P&gt;&lt;P&gt;*"  TABLES&lt;/P&gt;&lt;P&gt;*"      IDOC_CONTROL STRUCTURE  EDIDC&lt;/P&gt;&lt;P&gt;*"      IDOC_DATA STRUCTURE  EDIDD&lt;/P&gt;&lt;P&gt;*"      IDOC_STATUS STRUCTURE  BDIDOCSTAT&lt;/P&gt;&lt;P&gt;*"      RETURN_VARIABLES STRUCTURE  BDWFRETVAR&lt;/P&gt;&lt;P&gt;*"      SERIALIZATION_INFO STRUCTURE  BDI_SER&lt;/P&gt;&lt;P&gt;*"  EXCEPTIONS&lt;/P&gt;&lt;P&gt;*"      WRONG_FUNCTION_CALLED&lt;/P&gt;&lt;P&gt;*"----&lt;/P&gt;&lt;HR originaltext="-----------------------------------------------------------------" /&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;    v_docnum = idoc_control-docnum.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;Check if the function called correctly&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;    READ TABLE idoc_control INDEX 1.&lt;/P&gt;&lt;P&gt;      IF SY-SUBRC &amp;lt;&amp;gt; 0.&lt;/P&gt;&lt;P&gt;        EXIT.&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;       ELSEIF v_doctyp-idoctp &amp;lt;&amp;gt; c_idoc_type.&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;         RAISE wrong_function_called.&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;      ENDIF.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;    LOOP AT idoc_control.    " Check all idocs.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;      CHECK NOT idoc_data is INITIAL.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;      READ TABLE idoc_data WITH KEY docnum = v_docnum&lt;/P&gt;&lt;P&gt;                                  segnam = 'E1EDK07'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;      wa_E1EDK07 = idoc_data-sdata.&lt;/P&gt;&lt;P&gt;      v_vbeln = wa_E1EDK07-vbeln.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;      REFRESH bdc_data.&lt;/P&gt;&lt;P&gt;      CLEAR bdc_data.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;      bdc_data-program  = 'SAPMV50A'.&lt;/P&gt;&lt;P&gt;      bdc_data-dynpro   = '4140'.&lt;/P&gt;&lt;P&gt;      bdc_data-dynbegin = 'X'.&lt;/P&gt;&lt;P&gt;      bdc_data-fnam     = 'LIKP-VBELN'.&lt;/P&gt;&lt;P&gt;      bdc_data-fval     = v_vbeln.&lt;/P&gt;&lt;P&gt;      APPEND bdc_data.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;      bdc_data-dynbegin = ' '.&lt;/P&gt;&lt;P&gt;      bdc_data-fnam     = 'BDC_OKCODE'.&lt;/P&gt;&lt;P&gt;      bdc_data-fval     = '=WABU_T'.&lt;/P&gt;&lt;P&gt;      APPEND bdc_data.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt; Call VL32N with generated data&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;      CALL TRANSACTION 'VL32N'&lt;/P&gt;&lt;P&gt;      USING bdc_data&lt;/P&gt;&lt;P&gt;      MODE c_mod&lt;/P&gt;&lt;P&gt;      UPDATE c_upd&lt;/P&gt;&lt;P&gt;      MESSAGES INTO i_bdcmsgcoll.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;     READ TABLE i_bdcmsgcoll TRANSPORTING NO FIELDS&lt;/P&gt;&lt;P&gt;                             WITH KEY MSGTYP = 'E'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;      IF SY-SUBRC = 0.&lt;/P&gt;&lt;P&gt;        idoc_status-docnum = v_docnum.&lt;/P&gt;&lt;P&gt;        idoc_status-status = '51'.&lt;/P&gt;&lt;P&gt;        idoc_status-msgid  = 'ZWWU_PM'.&lt;/P&gt;&lt;P&gt;        idoc_status-msgno  = '000'.&lt;/P&gt;&lt;P&gt;        idoc_status-msgv1  = i_bdcmsgcoll-MSGV1.&lt;/P&gt;&lt;P&gt;        idoc_status-msgv2  = i_bdcmsgcoll-MSGV2.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;        APPEND idoc_status.&lt;/P&gt;&lt;P&gt;        CLEAR  idoc_status.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;        workflow_result = '99999'.&lt;/P&gt;&lt;P&gt;        return_variables-wf_param = 'ERROR_IDOCS'.&lt;/P&gt;&lt;P&gt;        return_variables-doc_number = idoc_control-docnum.&lt;/P&gt;&lt;P&gt;        APPEND return_variables.&lt;/P&gt;&lt;P&gt;      ENDIF.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;      REFRESH idoc_status.&lt;/P&gt;&lt;P&gt;      REFRESH i_bdcmsgcoll.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;   ENDLOOP. " End of idoc_control loop.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ENDFUNCTION.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 27 Mar 2006 08:58:29 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/error-regarding-inbound-functionmodule/m-p/1244203#M143067</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-03-27T08:58:29Z</dc:date>
    </item>
    <item>
      <title>Re: Error regarding inbound FunctionModule.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/error-regarding-inbound-functionmodule/m-p/1244204#M143068</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Could it be possible that one or more objects in the Function Group have not been activated ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please make sure all includes are activated.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 27 Mar 2006 09:13:19 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/error-regarding-inbound-functionmodule/m-p/1244204#M143068</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-03-27T09:13:19Z</dc:date>
    </item>
    <item>
      <title>Re: Error regarding inbound FunctionModule.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/error-regarding-inbound-functionmodule/m-p/1244205#M143069</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Shinoy,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Your code is ok, but there should be something wrong with the interface of the FM, as you don't enter the debugger but get an error message. Is the message type you are using correctly assigned to this FM?&lt;/P&gt;&lt;P&gt;&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;John.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 27 Mar 2006 09:22:24 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/error-regarding-inbound-functionmodule/m-p/1244205#M143069</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-03-27T09:22:24Z</dc:date>
    </item>
    <item>
      <title>Re: Error regarding inbound FunctionModule.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/error-regarding-inbound-functionmodule/m-p/1244206#M143070</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;John thanx for the suggestion, i solved the problem myself, coz at the FM table parameters instead of 'IDOC_CONTRL' i had mentioned IDOC_CONTROL'.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 27 Mar 2006 12:47:44 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/error-regarding-inbound-functionmodule/m-p/1244206#M143070</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-03-27T12:47:44Z</dc:date>
    </item>
  </channel>
</rss>

