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

Create and delete a function module by RFC

Former Member
0 Likes
748

Hi there,

is it possible to create and delete a function module by a RFC function?

I found the function module RS_FUNCTIONMODULE_INSERT but no function module to delete it.

Any ideas?

Thx,

Andi

5 REPLIES 5
Read only

Former Member
0 Likes
646

Hi,

You can create a batch input for this purpose and call it from an RFC.

Regards,

Ali.

Read only

Former Member
0 Likes
646

Sorry, this is not what I am asking for. I do not want to import data.

I am searching for a function module (SE37) which can create a new function module with a given source code and name.

And also a function module that can delete my created function module.

This function modules must be callable by remote.

Is this possible?

Andi

Read only

0 Likes
646

For creating a function module use RS_FUNCTIONMODULE_INSERT and for deleting create your own RFC which uses RS_FUNCTION_DELETE.

Read only

0 Likes
646

And why do you need that?

Read only

0 Likes
646

Hi Mxg,

I want to use this to dynamically export data from SAP and use the function module as extractor.

cu,

Andi