Skip to Content
avatar image
Former Member

Flight Application- Connection established but no data retrieved

Hi,

I am trying to develop the example TutWD_FlightList_Init .My SLD has been configured and "check SLD connection" is working fine.The JCO test Connection is also successful.When I deploy and run the application,i am able to see the views without any data.When I enter the Departure City and Arrival city and click on search I get the error:

500 Internal Server Error

The WebDynPro Application "FlightListApp" has expired.Please restart the application either with the refresh button or click the following link FlightListApp.

Kindly help me out.

Thanks and Regards,

Suparna

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

7 Answers

  • avatar image
    Former Member
    Jul 06, 2005 at 12:11 PM

    Hi Supama,

    There are two things.

    1. For getting data on the view, You have to invalidate your ouput nodes after executing the BAPI. the code for invalidating node is:

    wdcontext.node<node name>().invalidate();

    2. As you said, Application has expired, so refresh the page once again and try the same thing.

    Regards,

    Bhavik

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Jul 06, 2005 at 01:07 PM

    Hi

    Are you putting your WebDynpro as an iView in the portal. If so then this post could be helpful

    problem-with-implementing-a-dynpro-application-ins

    If it is a standalone WebDynpro ie without portal then check for session timeout.

    regards

    ravi

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Jul 06, 2005 at 01:31 PM

    Hi Bhavik,

    I tried doing what you have suggested but it is still not working.

    I have added

    wdThis.wdGetContext().nodeBapi_Flight_Getlist_Input().invalidate();

    in Search view in the onActionSearch() function.

    Any other idea?

    Thanks and Regards,

    Suparna Jha

    Add comment
    10|10000 characters needed characters exceeded

    • Former Member Former Member

      Hi Reena/Supama,

      Here, You have taken two nodes DestinationFrom and DestinationTo in main root node.

      But you have not bound Output node here in which you will get response back.

      So, alos bind the node Output and response to your view.

      In this node you will get your response.

      so, your context structure would be:

      Context

      -Bapi_Flight_Getlist_Input

      -


      Destination_From

      -


      Airportid

      -


      City

      -


      Country

      -


      Countr_Iso

      -


      Destination_To

      -


      Airportid

      -


      City

      -


      Country

      -


      Countr_Iso

      -


      Output

      -


      Flight_List

      -


      (all attributes)

      And here, after executing your BAPI invalidate Output and Flight_List nodes.

      Regards,

      Bhavik

  • Jul 08, 2005 at 05:57 AM

    hi

    there will be a node named output underneath the top node. invalidate that node.like

    wdcontext.nodeoutput.invalidate();

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Jul 09, 2005 at 07:27 AM

    Hi Bhavik/Rahul,

    My context structure is same as you have asked.Output node is bound to the table control of the result view.

    After the execution of BAPI in the Custom controller,I am invalidating the Output node.Stilll the problem persists.Only the initial views come and when I enter the reqiured fields in the form and click Search,I get Internal Sever error.I am not able to retrive aby data from R/3.

    thanks and Regards,

    Suparna

    Add comment
    10|10000 characters needed characters exceeded

    • Former Member Former Member

      hi,

      "500 Internal Server Error

      The WebDynPro Application "FlightListApp" has expired.Please restart the application either with the refresh button or click the following link FlightListApp"

      well i don't think that there is some error with your code.

      This problem is that browser on your machine is not able to maintain a session with the server.

      Try to access the application on the browser on the machine where you have installed the server.

      hope it works there.

      Also tell me whether other web dynpro application (esp. that uses some Databse) are working on your PC

      Rgds,

      Vilish

  • avatar image
    Former Member
    Jul 12, 2005 at 10:09 AM

    Hi,

    I tried restarting my J2EE server but it doesn help.I am running the application on the same system on which my server is installed but it is not working.

    I am new to webdynpro and this is my first application where i am trying to retrieve data from R/3.

    Thanks and Regards,

    Suparna

    Add comment
    10|10000 characters needed characters exceeded

    • Former Member

      Hi Suparna,

      Are u able to run other web dynpro application on your PC.

      If Yes, Post the complete Stsck trace

      Rgds,

      Vilish

  • avatar image
    Former Member
    Dec 15, 2005 at 11:42 AM

    Hi,

    I get the same kind of error for a self-developed application.

    In a general way, do you have some clues about it?

    Thanks and regards,

    Christine

    Add comment
    10|10000 characters needed characters exceeded