<?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: Web Dynpro with BAPI in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/web-dynpro-with-bapi/m-p/6690888#M1451069</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks for the quick reply Rich... I just looked the table that we are using in the BAPI and found that there is noithing in there.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 11 Mar 2010 15:49:20 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2010-03-11T15:49:20Z</dc:date>
    <item>
      <title>Web Dynpro with BAPI</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/web-dynpro-with-bapi/m-p/6690884#M1451065</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi everyone, &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am trying to learn Web Dynpro, can you please give me a good example of how to create a Web Dynpro application using a BAPI. let's say a BAPI to display the customer records, for example the user should be able to enter the customer number and get his details.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any help will be appreciated. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Rajat&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 11 Mar 2010 14:41:26 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/web-dynpro-with-bapi/m-p/6690884#M1451065</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-03-11T14:41:26Z</dc:date>
    </item>
    <item>
      <title>Re: Web Dynpro with BAPI</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/web-dynpro-with-bapi/m-p/6690885#M1451066</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Please check this page.  Tutorial 2 is about BAPI usage.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A class="jive_macro jive_macro_document" href="https://community.sap.com/" __jive_macro_name="document" modifiedtitle="true" __default_attr="8863"&gt;&lt;/A&gt; &lt;B&gt;[original link is broken]&lt;/B&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Rich Heilman&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 11 Mar 2010 14:54:59 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/web-dynpro-with-bapi/m-p/6690885#M1451066</guid>
      <dc:creator>RichHeilman</dc:creator>
      <dc:date>2010-03-11T14:54:59Z</dc:date>
    </item>
    <item>
      <title>Re: Web Dynpro with BAPI</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/web-dynpro-with-bapi/m-p/6690886#M1451067</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks for the reply Rich I followed the tutorial and created the web application and everything looked perfect except when I am entering the from and to City details and clicking on get flight details button I am not getting any result. Can you please help me in this. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Rajat&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 11 Mar 2010 15:40:22 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/web-dynpro-with-bapi/m-p/6690886#M1451067</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-03-11T15:40:22Z</dc:date>
    </item>
    <item>
      <title>Re: Web Dynpro with BAPI</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/web-dynpro-with-bapi/m-p/6690887#M1451068</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Make sure that the values that you are entering are valid in the DB.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Rich Heilman&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 11 Mar 2010 15:45:06 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/web-dynpro-with-bapi/m-p/6690887#M1451068</guid>
      <dc:creator>RichHeilman</dc:creator>
      <dc:date>2010-03-11T15:45:06Z</dc:date>
    </item>
    <item>
      <title>Re: Web Dynpro with BAPI</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/web-dynpro-with-bapi/m-p/6690888#M1451069</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks for the quick reply Rich... I just looked the table that we are using in the BAPI and found that there is noithing in there.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 11 Mar 2010 15:49:20 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/web-dynpro-with-bapi/m-p/6690888#M1451069</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-03-11T15:49:20Z</dc:date>
    </item>
    <item>
      <title>Re: Web Dynpro with BAPI</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/web-dynpro-with-bapi/m-p/6690889#M1451070</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;In that case, you need to generate some data in the flight model database.  Use program SAPBC_DATA_GENERATOR to generate this data.  Once that is done, re-run your WD application, and it should work.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Rich Heilman&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 11 Mar 2010 16:27:14 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/web-dynpro-with-bapi/m-p/6690889#M1451070</guid>
      <dc:creator>RichHeilman</dc:creator>
      <dc:date>2010-03-11T16:27:14Z</dc:date>
    </item>
    <item>
      <title>Re: Web Dynpro with BAPI</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/web-dynpro-with-bapi/m-p/6690890#M1451071</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks for the reply Rich, I created couple of more web applications !! one for displaying the vendor details, i.e. enter the vendor number and you will get the details, and this one is working fine. Now i tried to create an application for displaying the invoice header details by entering the document number using BAPI "BAPI_INCOMINGINVOICE_GETDETAIL". but when I test it i get the screen where i Need to enter the invoice number, as soon as I enter the Invoice numbr and hit enter I am getting following errors. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The following error text was processed in the system RS2 : Incorrect parameter with CALL FUNCTION. &lt;/P&gt;&lt;P&gt;The termination type was: RABAX_STATE &lt;/P&gt;&lt;P&gt;The ABAP call stack was: &lt;/P&gt;&lt;P&gt;Method: EXECUTE_BAPI_INCOMINGINVOICE_G of program /1BCWDY/GZZAZ6OOVDTOY53TTZ5Y==CP&lt;/P&gt;&lt;P&gt;Method: IF_COMPONENTCONTROLLER~EXECUTE_BAPI_INCOMINGINVOICE_G of program /1BCWDY/GZZAZ6OOVDTOY53TTZ5Y==CP&lt;/P&gt;&lt;P&gt;Method: ONACTIONGET_INVOICE_DETAILS of program /1BCWDY/GZZAZ6OOVDTOY53TTZ5Y==CP&lt;/P&gt;&lt;P&gt;Method: IF_WDR_VIEW_DELEGATE~WD_INVOKE_EVENT_HANDLER of program /1BCWDY/GZZAZ6OOVDTOY53TTZ5Y==CP&lt;/P&gt;&lt;P&gt;Method: INVOKE_EVENTHANDLER of program CL_WDR_DELEGATING_VIEW========CP&lt;/P&gt;&lt;P&gt;Method: IF_WDR_ACTION~FIRE of program CL_WDR_ACTION=================CP&lt;/P&gt;&lt;P&gt;Method: DO_HANDLE_ACTION_EVENT of program CL_WDR_WINDOW_PHASE_MODEL=====CP&lt;/P&gt;&lt;P&gt;Method: PROCESS_REQUEST of program CL_WDR_WINDOW_PHASE_MODEL=====CP&lt;/P&gt;&lt;P&gt;Method: PROCESS_REQUEST of program CL_WDR_WINDOW=================CP&lt;/P&gt;&lt;P&gt;Method: EXECUTE of program CL_WDR_MAIN_TASK==============CP&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can you please help me with this.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 11 Mar 2010 18:03:47 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/web-dynpro-with-bapi/m-p/6690890#M1451071</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-03-11T18:03:47Z</dc:date>
    </item>
    <item>
      <title>Re: Web Dynpro with BAPI</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/web-dynpro-with-bapi/m-p/6690891#M1451072</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Check transaction ST22 for corresponding ABAP dump.  This should tell you what the issue is.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Rich Heilman&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 11 Mar 2010 18:44:40 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/web-dynpro-with-bapi/m-p/6690891#M1451072</guid>
      <dc:creator>RichHeilman</dc:creator>
      <dc:date>2010-03-11T18:44:40Z</dc:date>
    </item>
    <item>
      <title>Re: Web Dynpro with BAPI</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/web-dynpro-with-bapi/m-p/6690892#M1451073</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Rich, &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I already did it and I found that I have commented Return parameter while calling the BAPI, Ijust uncommented that and I am getting this error now "RETURN" is not an internal table. I am looking into this.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Raj&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 11 Mar 2010 18:46:29 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/web-dynpro-with-bapi/m-p/6690892#M1451073</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-03-11T18:46:29Z</dc:date>
    </item>
    <item>
      <title>Re: Web Dynpro with BAPI</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/web-dynpro-with-bapi/m-p/6690893#M1451074</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Rich, &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I uncommented the retrun parameter but now I am getting this error:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;"RETURN" is not an internal table "OCCURS n" specification is missing.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In the attributes I have declared this Attribute as: &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Return  with associated type BAPIRET2.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;can you please see what am I doing wrong.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 11 Mar 2010 19:24:56 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/web-dynpro-with-bapi/m-p/6690893#M1451074</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-03-11T19:24:56Z</dc:date>
    </item>
    <item>
      <title>Re: Web Dynpro with BAPI</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/web-dynpro-with-bapi/m-p/6690894#M1451075</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;the return parameter should be type as an internal table.  Basic ABAP skills are required to complete these tutorials successfully.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;data: bapi_return type table of BAPIRET2.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Rich Heilman&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 11 Mar 2010 19:54:08 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/web-dynpro-with-bapi/m-p/6690894#M1451075</guid>
      <dc:creator>RichHeilman</dc:creator>
      <dc:date>2010-03-11T19:54:08Z</dc:date>
    </item>
    <item>
      <title>Re: Web Dynpro with BAPI</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/web-dynpro-with-bapi/m-p/6690895#M1451076</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Rich, &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have already tried doing this and I m still gettig the same message:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;That's how my code looks like: &lt;/P&gt;&lt;P&gt;  DATA: return type table of BAPIRET2.&lt;/P&gt;&lt;P&gt;  CALL FUNCTION 'BAPI_INCOMINGINVOICE_GETDETAIL'&lt;/P&gt;&lt;P&gt;    EXPORTING&lt;/P&gt;&lt;P&gt;       INVOICEDOCNUMBER =                LV_INVOICEDOCNUMBER&lt;/P&gt;&lt;P&gt;       FISCALYEAR =                      LV_FISCALYEAR&lt;/P&gt;&lt;P&gt;    IMPORTING&lt;/P&gt;&lt;P&gt;       HEADERDATA =                      LS_C_HEADERDATA&lt;/P&gt;&lt;P&gt;       ADDRESSDATA =                     LS_C_ADDRESSDATA&lt;/P&gt;&lt;P&gt;    TABLES&lt;/P&gt;&lt;P&gt;       ITEMDATA =                        LT_C_ITEMDATA&lt;/P&gt;&lt;P&gt;"      accountingdata =&lt;/P&gt;&lt;P&gt;"      glaccountdata =&lt;/P&gt;&lt;P&gt;"      materialdata =&lt;/P&gt;&lt;P&gt;"      taxdata =&lt;/P&gt;&lt;P&gt;"      withtaxdata =&lt;/P&gt;&lt;P&gt;"      vendoritemsplitdata =&lt;/P&gt;&lt;P&gt;       RETURN =                         WD_THIS-&amp;gt;RETURN&lt;/P&gt;&lt;P&gt;"      extensionout =&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;and when I double clicked on the "RETURN" its taking me to the attribute section, where Attribute "Return" has been declared as Ref to BAPIRET2&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 11 Mar 2010 20:07:58 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/web-dynpro-with-bapi/m-p/6690895#M1451076</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-03-11T20:07:58Z</dc:date>
    </item>
    <item>
      <title>Re: Web Dynpro with BAPI</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/web-dynpro-with-bapi/m-p/6690896#M1451077</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yes, try it without the WD_THIS reference, and add a period at the end of it.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;DATA: return type table of BAPIRET2.
CALL FUNCTION 'BAPI_INCOMINGINVOICE_GETDETAIL'
EXPORTING
INVOICEDOCNUMBER = LV_INVOICEDOCNUMBER
FISCALYEAR = LV_FISCALYEAR
IMPORTING
HEADERDATA = LS_C_HEADERDATA
ADDRESSDATA = LS_C_ADDRESSDATA
TABLES
ITEMDATA = LT_C_ITEMDATA
" accountingdata =
" glaccountdata =
" materialdata =
" taxdata =
" withtaxdata =
" vendoritemsplitdata =
RETURN = RETURN.  "&amp;lt;---  just use RETURN here, and add a period 
" extensionout =&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Rich Heilman&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 11 Mar 2010 20:12:26 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/web-dynpro-with-bapi/m-p/6690896#M1451077</guid>
      <dc:creator>RichHeilman</dc:creator>
      <dc:date>2010-03-11T20:12:26Z</dc:date>
    </item>
    <item>
      <title>Re: Web Dynpro with BAPI</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/web-dynpro-with-bapi/m-p/6690897#M1451078</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Rich, &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Before you answered I changed my code.... and put return there but thanks a lot for your help !!!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 11 Mar 2010 20:13:23 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/web-dynpro-with-bapi/m-p/6690897#M1451078</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-03-11T20:13:23Z</dc:date>
    </item>
    <item>
      <title>Re: Web Dynpro with BAPI</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/web-dynpro-with-bapi/m-p/6690898#M1451079</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Very good. If your issues are resolved, please close the thread.  Thanks.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Rich Heilman&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 11 Mar 2010 20:26:50 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/web-dynpro-with-bapi/m-p/6690898#M1451079</guid>
      <dc:creator>RichHeilman</dc:creator>
      <dc:date>2010-03-11T20:26:50Z</dc:date>
    </item>
  </channel>
</rss>

