‎2008 Jun 19 2:28 PM
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
‎2008 Jun 19 3:03 PM
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,
‎2008 Jun 19 3:03 PM
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,
‎2008 Jun 19 3:07 PM
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
‎2008 Jun 19 3:23 PM
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
‎2008 Jun 19 3:24 PM
Better please look into this
/people/dirk.feeken/blog/2007/07/06/abap-trial-version-for-newbies-part-17--your-first-abap-object
a®
‎2008 Jun 19 4:42 PM
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
‎2008 Jun 19 5:49 PM
‎2008 Jun 19 7:57 PM
Hi Cosmo,
Check out with the link.......
http://help.sap.com/saphelp_nw04/helpdata/en/b3/f4b1406fecef0fe10000000a1550b0/content.htm
&***********Reward Point if helpful**********&