10-03-2007 10:11 AM
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
10-03-2007 10:39 AM
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
10-03-2007 10:53 AM
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>