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

error when creating rfc function module

Former Member
0 Likes
678

Hi,

now i am creating one rfc functionmodule (ZSUSR_USER_AGR_ACTIVITYGR_GET) by copying existing general standard functionmodule. problem is, in tables i have one parameter called USER_ACTIVITYGROUPS i referred this one with TYPE-POOLS TYPE ZUSTY_T_AGR, when i am trying to save this function module it is giving this message <i><b>Type zusty_t_agr is unknown.</b></i>

it is very urgent

Please help me

4 REPLIES 4
Read only

seshatalpasai_madala
Product and Topic Expert
Product and Topic Expert
0 Likes
607

Hi,

You cannot use TYPE GROUPS with RFC function modules.

You need to either create your own DDIC type which is similar to this and use.

You cannot use a TYPE that is declared in a TYPE POOL (GROUP).

Regards,

Sesh

Read only

Former Member
0 Likes
607

USTYP_T_AGR is standard one - defined by sap.but what is zUSTYP_T_AGR?

Read only

0 Likes
607

Hi deb,

Actually i am creating one rfc fm based on the standard fm 'SUSR_USER_AGR_ACTIVITYGR_GET ' the purpose of this functionmodule is to find whether the role is assigned to user or not. if assigned it will display the all the assigned roles. in tables 'user_activitygroups' parameter refered with 'ustyp_t_agr' it is in ustyp type-pools. now i want to make this fm as rfc how to handle this one. i created one 'zusty' type group same like ustyp in that one i created one type 'zusty_t_agr'. but we can't handle in rfc how to handle this one

please help me

it is very urgent ya

Read only

Former Member
0 Likes
607

Hi,

Check this link. It has got all the information about RFC.

https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/f078394a-4469-2910-c4bf-853c7567...

Regards