‎2008 Apr 29 4:06 PM
how to call a method in a program is there any way like pattern to call a function module.
‎2008 Apr 29 4:10 PM
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-
‎2008 Apr 29 4:13 PM
Hi
Yes there is.
Press button PATTERN in abap editor and choose ABAP Object patterns
Max
‎2008 Apr 29 5:53 PM
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