Function Module
Nat 4 Govender
ngovender4 at toyota.co.za
Wed Sep 16 00:12:37 EDT 2009
Hi Seth,
Thank you very much for your help.
Regards
Nat Govender
Toyota South Africa
IT - SAP Workflow Specialist
Internal Ext. : 32645
Direct Line : +27 031 910 2645
Fax : 086 607 0414
E-mail : ngovender4 at toyota.co.za
If you tell the truth, you don't have to remember anything.
"Stevens, Seth"
<Seth.Stevens at ana
darko.com> To
Sent by: "SAP Workflow Users' Group"
sap-wug-bounces at m <sap-wug at mit.edu>
it.edu cc
Subject
15-09-2009 04:22 RE: Function Module
PM
Please respond to
"SAP Workflow
Users' Group"
<sap-wug at mit.edu>
Nat,
This is very simple to do. Create your RFC, then inside the RFC use the
BOR macros to instantiate the business object and call your method.
Something like below.
data lv_obj type swc_object.
data: begin of lt_container occurs 0,
include structure swcont.
data: end of lt_container.
swc_create_object lv_obj 'your_obj_name' objkey.
swc_call_method lv_obj 'your_method_name' lt_container.
You can use swc_set_element to set any import parameters in lt_container
before calling the method then use swc_get_element to read any export
parameters after calling the method. Syntax is swc_get_element
lt_container 'your_param_name' lv_variable.
Hope this helps.
--Seth
From: sap-wug-bounces at mit.edu [mailto:sap-wug-bounces at mit.edu] On Behalf Of
Nat 4 Govender
Sent: Tuesday, September 15, 2009 2:59 AM
To: SAP Workflow Users' Group
Cc: sap-wug at mit.edu; sap-wug-bounces at mit.edu
Subject: Function Module
Hi All,
I would like to know if it is possible to create a function module (remote)
that can access one of our methods of the business object.
If so can you please advise how to go about to do that. I am not a ABAPer.
Regards
Nat Govender
Toyota South Africa
IT - SAP Workflow Specialist
Internal Ext. : 32645
Direct Line : +27 031 910 2645
Fax : 086 607 0414
E-mail : ngovender4 at toyota.co.za
If you tell the truth, you don't have to remember anything.
_______________________________________________
SAP-WUG mailing list
SAP-WUG at mit.edu
http://mailman.mit.edu/mailman/listinfo/sap-wug
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mailman.mit.edu/pipermail/sap-wug/attachments/20090916/f425986a/attachment.htm
-------------- next part --------------
A non-text attachment was scrubbed...
Name: graycol.gif
Type: image/gif
Size: 105 bytes
Desc: not available
Url : http://mailman.mit.edu/pipermail/sap-wug/attachments/20090916/f425986a/attachment.gif
-------------- next part --------------
A non-text attachment was scrubbed...
Name: pic02510.gif
Type: image/gif
Size: 1255 bytes
Desc: not available
Url : http://mailman.mit.edu/pipermail/sap-wug/attachments/20090916/f425986a/attachment-0001.gif
-------------- next part --------------
A non-text attachment was scrubbed...
Name: ecblank.gif
Type: image/gif
Size: 45 bytes
Desc: not available
Url : http://mailman.mit.edu/pipermail/sap-wug/attachments/20090916/f425986a/attachment-0002.gif
More information about the SAP-WUG
mailing list