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: 

Changing the Structure is Table type in a RFC

Former Member
0 Kudos

Hi ,

I have one ZRFC now i want to change that ZRFC strture type is Table type.. because.. from XI to I'm sending data but the thing is.. only one record it was inserting.. remaing records it was skippong... so, some body suggested that I need to chnage the RFC Import parameter struture to Table type structure..

so, how can i change this structure as table type.. plz provide me the detailed steps.. based on that i will follow ur steps..

Thanks

Bbau

2 REPLIES 2

former_member404244
Active Contributor
0 Kudos

Hi,

Yes u ahve to change to tables parameter then only it will handle multiple records..

iam giving small example...chek this

i ahve function module ZTEST...

CALL FUNCTION 'ZTEST'.

exporting

vbeln = vbak-vbeln.

Now what happens is that it will handle only for vbeln.

CALL FUNCTION 'ZTEST'.

tables

vbeln = it_vbeln.

now the it_vbeln will have more than one record....

hence in order to handle multiple records u have to go for tables parameter..

reward points if u find useful

Regards,

Nagaraj

varma_narayana
Active Contributor
0 Kudos

hI Babu..

To create a Table type

Tcode: SE11

select the Radio btn " Data Type ".

Click on Create.

In the Given list select the Radio Btn "Table type"

In the Table Type :

Line type : Enter the Structure name here

Activate the Table type.

Now in the RFC Function use this Table type as the Data type instead of the structure.

Note: Dont create it under TABLES Parameters.

<b>REWARD IF HELPFUL.</b>