cancel
Showing results for 
Search instead for 
Did you mean: 

How to Use BAPI in Web dynpro?

Former Member
0 Kudos

Hi SDN,

I am trying to use BAPI_FLIGHT_GETLIST in my web dypro application but my result table doesn't showing any data.

can you please tell me the reason behind this?

Regards,

Rahul

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

hi rahul.........

steps to be followed:

Right click on your component and click create->service call.

give the bapi name you want to access.

give the rfc destination name..

if you have all the rights, then whatever name you give, an rfc destination will be created automatically.

otherwise you have to specify an already existing rfc destination name.

in your view you create input fields for binding the importing parameters.

bind the changing parameters to your table.

<b>make sure you call the method which will calls the bapi</b> either when you initialize your window or have a button and call the method, inside its action.

<b>embed your view to the window</b>.

note:

the method and the respective codings would be automatically generated when you created your service call.

---regards,

alex b justin.

Answers (0)