Skip to Content
Former Member
Jan 05, 2011 at 07:50 PM

Getting the return values from the backend BAPI



I am very new to Web Dynpro for Java programming. I need some help with the following.

Our ABAP developers developed a BAPI which accepts input value in the form of a structure and returns the output in the form of a structure.

I am developing an application using Web Dynpro for Java, to call the custom BAPI . I don't know how to send the input field values in the form of a structure. If it is just an input field I know how to set the input field values before calling the execute method on the model.

Could any one of you please provide me a piece of sample code to set the input values to the bapi import parameters.

And also please let me know how to read the values of the output which was returned in the form of a structure (not the tables).

Thanks in advance.