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

Perform statement in a class method

Former Member
0 Likes
5,221

hi friends,

i want call performs in a class method ,but its giving error how can we do this,

pls share ur idea

7 REPLIES 7
Read only

Former Member
0 Likes
1,711

Hi ,

you can't use dirctly Perform in class defination

-Rick

Read only

0 Likes
1,711

hi not in class definition i am trying to call performs in a method.

Read only

0 Likes
1,711

Hi,

Method itself defined in the class...........

you can't call perform

-rick

Read only

0 Likes
1,711

Hi;

only in implementation, a subrountine can be called, try it.

Regards

Shashi

Read only

Former Member
0 Likes
1,711

hi why you want to do perform in class...

we do perform and form so to reuse piece of code again ..

so in class make a method with that code..and call it whenver required...

Read only

0 Likes
1,711

iam trying to run bdc in a method

Read only

Former Member
0 Likes
1,711

hi...

inside class if you are trying to use subroutine...it mean you want to perform a task a number of times...

better than this create a method which you can call in similar way as you do with subroutine.

its not advisable to use subroutine in class and so far i have not seen any thing like tis

*************************************************************

you can do PERFORM IN METHOD

but for this you have to write FORM ENDFORM

inside themethod that too at the lowest portion and call it anywhere only in that method

regards

Edited by: Mohit Kumar on Feb 19, 2009 12:33 PM