Skip to Content
Former Member
Oct 01, 2003 at 12:38 PM

WebDynpro accessing BAPIs



I'm trying to go through the examples in WAS6.30 Sneak Preview Edition and have a few questions.

Since the BAPI_FLIGHT_GETLIST bapi is not included in our 4.6C installation, I was trying to go through the example step by step using a different bapi (BAPI_SALESORDER_GETSTATUS) and changing everything accordingly. I don't have issues until I get to the step where I need to insert some code into the standard method wdDoInit() of the custom controller. I do not know how to create the input elements. The model contains only the following 4 modelclasses: Bapi_Salesorder_Getstatus_Input, Bapi_Salesorder_Getstatus_Output, Bapireturn, Bapisdstat and I don't seem to be able to create an instance of any of these classes. What am I missing?

Without the lines in the "// Creates the input elements" segment the application still builds and deploys but the input field does not accept values and when I press the Search button nothing happens.

Any help would be much appreciated.