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

Generation function modules through code

Former Member
0 Likes
765

Hi all,

I am generating function groups and function modules programmatically using the function calls

'RS_FUNCTION_POOL_INSERT' and 'RS_FUNCTIONMODULE_INSERT'. This works fine when I try creating function modules in a local system. In a remote system, the function group and modules get created, but there is not tadir/tfdir entry.

I try the same thing with different remote backend systems, and while the function modules have no syntax errors in one system, i get an error 'Function group is not assigned to a package' in some other systems. I think this has to do with some RFC authority. Can anyone throw some light on this.

Any help would be appreciated. Thanks in advance.

Regards,

Nithya

4 REPLIES 4
Read only

Former Member
0 Likes
689

are u passing Development class details to this FMs ? If yes check these Developement class /packages is also avail in remote system or not ?

so else create objects in $TMP then change.

Regards

Peram

Read only

0 Likes
689

Hi Prabhu,

The FMs get created in $TMP only. I cannot create them in a productive package when creating remotely.

Regards,

Nithya

Read only

0 Likes
689

Okkk , so u are creating objects in PROD server ? Then u have to open the server bcos system protected from writing/changing ? ask ur basis person to open server.

check SCC4 .

Regards

peram.

Read only

Former Member
0 Likes
689

Hi,

Look at the below threads

Regards

Sudheer