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: 

Z-Structures.

Former Member
0 Kudos

HI Everybody,

I am trying to send data to an other system called as rate server system. Rate server can except data only in string format. So i am actually trying to create a structure in SE11 with all the input fields for the rate server and planning on calling this sturucture in Function Module as tables. However I am not very sure of how should I specify it as string.

Any help on thsi will be highly appericiated.

Shejal.

1 ACCEPTED SOLUTION

former_member181962
Active Contributor
0 Kudos

HOw are you sending the data to the external system?

5 REPLIES 5

former_member181962
Active Contributor
0 Kudos

HOw are you sending the data to the external system?

0 Kudos

Hi Ravi,

Using RFC.

We are trying to have a communication between the two system using the DLL connection.

once the connection is done Create a remote enabled function Module and send the structure data into the tables of the function module.

Srikanth.

0 Kudos

IN that case, just before you call the RFC Function module,

transfer all the contents on the z structure in to aflat type variable and pass that variable to the fm.

data: begin of itab occurs 0,

data(1000),

end of itab.

loop at ztab.

itab-data = ztab.

append itab.

clear itab.

endloop.

call function '<RFC FUNC>

exporting.

.

.

tables

tab1 = itab

.

Regards,

Ravi

Former Member
0 Kudos

hi shejal,

in the domain take the datatype as <b>string</b>.

hope this helps,

priya.

Demirbilek
Explorer
0 Kudos

You can also use CHAR* data elements if you need specific field lengths