Application Development 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: 

RFC error : "only tables with flat line structure are allowed in rfc"

nurullah_rstem2
Explorer
0 Kudos

Hi,

in my RFC, a table parameter is type of structure which has a field is type of table. so i m getting this error. what may i do for this?

name of structure : ZHR_PERSON_S

Fields,

PERNR TYPE PERNR_D
ENAME TYPE EMNAM

IMAGE_BIN TYPE ZHR_TBL1024_T

TBL1024 is stucture of  table type ZHR_TBL1024_T

Thanks in advance

5 REPLIES 5

Former Member
0 Kudos

Hii Nurullah,

As you are assigning the component type as  table type that's by getting the error.

create one more table type (Let's say IMAGE_BIN_T) and assign the structure TBL1024 to it.Then create your table parameter with this created table type.


Hope this resolve your issue.


regards

Syed

matt
Active Contributor
0 Kudos

You cannot have a structure with a component that is a table type in an RFC. You must use a flat structure -exactly as the error says.

nurullah_rstem2
Explorer
0 Kudos

thanks for your answers,

i solved via same table type as Export Parameters.

nishantbansal91
Active Contributor
0 Kudos

This message was moderated.

former_member628213
Discoverer
0 Kudos

Hello Nurullah,
May I know what you exactly did to solve the issue.

Cause we are trying to use String are an component, cause the length of input varies from 10-1000000.

Will you tell me how can I handle this?