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

how to copy the standarad function module

Former Member
0 Likes
667

hi,

i wants to copy the standard function module which are not rfc enabled. for that one i copied standard one and modified the attributes to rfc enabled. but it was giving the errors "You can only use LIKE and TYPE to specify types in RFC",

how can i solve my problem. pls help me.

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
619

If you have copy the FM, then you can modified it right? -;) For RFC you need to change parameters a little bit....No big problem....just change some TYPES for LIKES and your done -:)

Greetings,

Blag.

5 REPLIES 5
Read only

Former Member
0 Likes
619

Hello Mukka,

What you should do is to create a new FM with RFC flag activated, use the parameters you need and finally from there call the standard FM you need.

Hope this helps!!

Gabriel P.

Dont forget to reward

Read only

Former Member
0 Likes
619

can u give FM name

Read only

0 Likes
619

i need to copy SUSR_USER_AGR_ACTIVITYGR_GET in to zfunction module. in this one there is one type group used i copied in to my package also. how to solve the problem which is previously mentioned.

Read only

0 Likes
619

Hi mukka,

1. In that FM, while after copying to Z,

2. there is a second parameter in IMPORT

WITH_TEXT

3. in the column of Associated type,

it will be blank.

give some data element like CHAR30

and also give type

4. Then it will not give the error.

regards,

amit m.

Read only

Former Member
0 Likes
620

If you have copy the FM, then you can modified it right? -;) For RFC you need to change parameters a little bit....No big problem....just change some TYPES for LIKES and your done -:)

Greetings,

Blag.