cancel
Showing results for 
Search instead for 
Did you mean: 

BAPI/FM

Former Member
0 Kudos

Dear All,

Can we use(Call) BAPI/FM in Methods.

Regards,

Maruti

Accepted Solutions (0)

Answers (2)

Answers (2)

Former Member
0 Kudos

Hi Maruthi Rao,

you can use Fm/Bapi.can you let me know clearly your requirement.

Thanks

Siva

Former Member
0 Kudos

Hi,

Yes.

Go to context menu and choose the entry Create->Service Call.

Follow steps.

for Function Module enter BAPI_FLIGHT_GETLIST

Then in the method where you want to call BAPI invoke the Web Dynpro Code Wizard and choose option Method Call in Used Controller.

And enter BAPI_FLIGHT_GETLIST for method name.

Former Member
0 Kudos

I know this procedure...

But i query is I want to call a BAPI/FM inside the Method programs.

Yes..... We can call any BAPI/FM

Regards,

Maruti

Former Member
0 Kudos

Hi,

Yes definitley you can call a RFC or FM in Webdynpro ABAP inside any method..

Juz double click on the method i.e go for method implementation.

you can find a pattern button on the tool bar.

Here you can give the FM Name . and you will get the importing and exporting parameters.

Hope this will help you....