Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Calling method

Former Member
0 Likes
1,096

Hi all,

first time I'm using methods in my program... could any one tell me how can I call this follwing method using 'Pattern' button in ABAP editor.

cl_gui_frontend_services=>file_save_dialog

Thanks in advance...

1 ACCEPTED SOLUTION
Read only

Pawan_Kesari
Active Contributor
0 Likes
959

1) select patter button

2) Check ABAP object patter option button press OK

3) Check 'Call method'

4) Put CL_GUI_FRONTEND_SERVICES in 'Class/Interface'

5) Put 'file_save_dialog' in 'Method' input

6) Press OK

3 REPLIES 3
Read only

Pawan_Kesari
Active Contributor
0 Likes
960

1) select patter button

2) Check ABAP object patter option button press OK

3) Check 'Call method'

4) Put CL_GUI_FRONTEND_SERVICES in 'Class/Interface'

5) Put 'file_save_dialog' in 'Method' input

6) Press OK

Read only

Former Member
0 Likes
959

Hi sapsudha,

Click on PATTERN button. Choose AABAP radio button.

Choose the call method radio button:

Put <b>cl_gui_frontend_services</b> in class/ interface

Put <b>file_save_dialog</b> in method.

Thank you.

Reward points if found useful

Read only

Former Member
0 Likes
959

Dear sapsudha,

In your function builder click on

<b>Pattern</b> -> Select the <b>ABAP Objects Patterns</b> radio button -> enter it

Select the <b>Call Method Radio button</b> -> enter CL_GUI_FRONTEND_SERVICES in <b>class /interface</b> and FILE_SAVE_DIALOG in <b>method</b> text boxes -> enter it

You will receive the FM as you required.

There you specify your own importing and exporting parameters.

Reward points if it is useful.

Gokul