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 a mething

Former Member
0 Likes
583

how to call a method in a program is there any way like pattern to call a function module.

3 REPLIES 3
Read only

Former Member
0 Likes
559

Yes,

Use Pattern button and select ABAP object Pattern....

Then fill in the correponding fields for your needs

ie:

Instance lo_sender

Class/Interface IF_PURCHASE_ORDER_ITEM_MM

Method CREATE_ACCOUNT

Thats all

Dont forget to reward!!!

Gabriel P-

Read only

Former Member
0 Likes
559

Hi

Yes there is.

Press button PATTERN in abap editor and choose ABAP Object patterns

Max

Read only

matt
Active Contributor
0 Likes
559

If you go to the menu, and show the object tree, or from SE80, you can drag a method into the editor, and you'll get the template.

Also, in the editor, you can specify whether you want the CALL METHOD mymethod... syntax, or, which I prefer, the

mymethod( ... )

syntax.

matt