In the tutorial "Creating Your First Web Dynpro Application" there's an example of how to send a Value Attribute from a inputfield in the "StartView" to another view (ResultView) containing a label with the Value Attribute HeaderText, in which the sent Value Attribute is to be stored and displayed.
I'm trying to do the same thing, with the difference that I want to send the Value Attribute to a inputfield containing a Model Attribute (supposed to hold a value from a BAPI).
Does anyone have an example/tutorial showing how this can be done? I'm not sure how I access and set the Model Attribute.
From your problem, what i understood is that you want to send some values to BAPI from the the Window and get the output from BAPI usin the MODEL.
So, to assign the input values to BAPI, These are the steps to be done..
1) Create one input field in the View
2) In the property window for that input field, changethe "Value" propety to the Bapi_input field. ie.., Assign the value attribute to the "value" property of the input field. NOTE: THe value attribute that u are passing should have the same type as the BAPI Input field in the SAP.
I think, you can get some help about these things in the FLIGHT DETAILS demo program......
Hope it answers your question..