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 in creation of custom function module.

Former Member
0 Likes
574

hi,

i am trying to create custom rfc enabled function module by copying the standard function module prgn_profile_name_get. in the export parameter PROFILE_FROM_TPRPROF what is the type i have to associate for this parameter. when i try to compare with char30 it is giving the error "char30 must be a flat strcture.you cannot use internal tables,strings,references,or strctures as components.

please solve my problem.

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
550

Hi,

Leave it blank ,..

You can get any type of value into it.

regards,

nazeer

4 REPLIES 4
Read only

Former Member
0 Likes
551

Hi,

Leave it blank ,..

You can get any type of value into it.

regards,

nazeer

Read only

0 Likes
550

if i leave it blank then it is throwing the error "You can only use LIKE and TYPE to specify types in rfc".

please help me in this issue

Read only

0 Likes
550

Hi Mukka ,

Give TYPE in the type spec and in the Reference Type give CHAR01 or STRING .

Assign points if helpful.

Regards.,

Arun

Message was edited by:

Arun R

Read only

0 Likes
550

If it is RFC then you check 'pass by value' paramter.