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

RFC Function

Former Member
0 Likes
757

Hi,

How to Create a RFC Function Module like

Import

StudentNo type CHAR(10)

Name type CHAR(10)

Export

Status type CHAR(3)

How to give CHAR with Length? Any option to do this directly?

Thanks

Seshu

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
721

To create the RFC function module, U have select the <b>Remote-enabled module</b> radio buttion in the Attributes column of the function module.

How to give CHAR with Length? Any option to do this directly?

There are standard data types CHAR10, CHAR3 U can directly use that in the function module.

Regards,

Prakash.

6 REPLIES 6
Read only

Former Member
0 Likes
721

Define the parameters of TYPE CHAR10 and CHAR3 respectively.

Read only

0 Likes
721

Hi,

How? When i type CHAR(10) in Associated Type Filed its saying "Type CHAR(10) does not exist"

please elobrate.

Thanks

Seshu

Read only

0 Likes
721

Not CHAR(10), type char10.

Read only

0 Likes
721

Get rid of the parentheses. CHAR10 not CHAR(10). This works because there is a data element defined called CHAR10 which is a CHAR of length 10.

Read only

Former Member
0 Likes
722

To create the RFC function module, U have select the <b>Remote-enabled module</b> radio buttion in the Attributes column of the function module.

How to give CHAR with Length? Any option to do this directly?

There are standard data types CHAR10, CHAR3 U can directly use that in the function module.

Regards,

Prakash.

Read only

Former Member
0 Likes
721

Hi,

check existing data elements with the length and the data type in the transaction SE84 -> ABAP DICTIONARY -> DATA ELEMENTS.

Or create a new data element in SE11.

Thanks,

Naren