cancel
Showing results for 
Search instead for 
Did you mean: 

How to use TABLE as an input parameter into function

Former Member
0 Kudos

Hello,

I'm use ABAP CALL JAVA,and I wanna pass a TABLE to my java program,but first how can I pass the table to function( I can only get tables from function)

best Regards

Accepted Solutions (1)

Accepted Solutions (1)

gregorw
Active Contributor
0 Kudos

Hello,

you can use tables in both directions. Try out the test function module: STFC_STRUCTURE. This is also implemented in the Example5.java demo program coming with SAP JCo.

Regards

Gregor

ssimsekler
Active Contributor
0 Kudos

Hi

<b>OR</b> try using <b>table type</b> definitions for interface parameters. By this way, you can insert the parameter table into importing or exporting parameters. This would also be less (OK! It's a slight difference) time-consuming.

*--Serdar

Answers (2)

Answers (2)

Former Member
0 Kudos

Thank You all.

I am a beginner of ABAP.

Thanks for all the help from you.

And I can not thank more just send award points to all

of you.

Best Regards.

gregorw
Active Contributor
0 Kudos

Hello,

thank you very much.

Regards

Gregor

Former Member
0 Kudos

Hi Sheng Wang,

u can use table parameter for sending tables and recieving tables. This will work for u.

Regards

Srinivas