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

pass Fm to Method

Former Member
0 Likes
991

Hi,

is there any someone that can explain to me haw i can pass

fm to method in se24 .

i need all the stage .

Regards

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
971

I don't understand you question.

You can still use FM's in methods. Just do a where-used search on classes for FM gui_upload.

Regards, Rob,

7 REPLIES 7
Read only

Former Member
0 Likes
972

I don't understand you question.

You can still use FM's in methods. Just do a where-used search on classes for FM gui_upload.

Regards, Rob,

Read only

0 Likes
971

hi Rob Dielemans

thanks ,

i have fm that i build in se37.

i wont to build the same like fm but in metod.

export ,import,tables (in fm)

export ,import,return. (in metod).

how i can do that?

Regards

Read only

0 Likes
971

Well if you followed my example on finding out how SAP does it.

Go to class CL_GUI_FRONTEND_SERVICES and look at how method GUI_UPLOAD looks like. This is nothing more than a shell for a FM. Just look at how the parameters are created etc. With a bit of effort you can create your own.

If you also use a where-used on the method gui_upload you'll understand how to call this method and in turn how to call your own.

With the above method it is possible to create and use static definitions without having to understand the basics (although it wouldn't heart searching sdn, help.sap.com, other sources on how to use OO and understand the concept of instantiating classes)

Kind regards, Rob Dielemans

Read only

0 Likes
971

Better please look into this

/people/dirk.feeken/blog/2007/07/06/abap-trial-version-for-newbies-part-17--your-first-abap-object

a®

Read only

0 Likes
971

Hi,

Maybe u can tell me how i declare table (like in fm) in metod,

because when i try declere table in parmetrs with type the structre i buield in se11 i get error:

""LT_TAB" is not an internal table "OCCURS n" specification is problem "

and i don't have the option of like (red error ) just type.

2. how i have to declare table in changing or returning ?

(in the fm its in tab tables)

Regards

Read only

0 Likes
971

Hi frinds,

any idea?

Regards

Read only

0 Likes
971

Hi Cosmo,

Check out with the link.......

http://help.sap.com/saphelp_nw04/helpdata/en/b3/f4b1406fecef0fe10000000a1550b0/content.htm

&***********Reward Point if helpful**********&