cancel
Showing results for 
Search instead for 
Did you mean: 

Is it possible to send a table to an SAP function through HiberSap

Former Member
0 Kudos

Hello experts,

this is my first time I deal with an SAP function from my java webservice.

I have my java webservice project which is suppose to send data to the remote SAP system using an RFC through sapjco. I am using HiberSap here to achieve this by following this tutorial.

Now I know there are imports, exports and tables in the normal SAP function. Imports are the data that a function expect to get and tables are what SAP sends back to the caller with exports (if my understanding was right).

The function that I am dealing with (witch I need to send data to) has no imports, no exports, and has only one table with its structure (this structure is the same data which I want to send). So am I suppose to send the data as table to that function? is this even a valid argument? I am confused since there are no imports.

Accepted Solutions (0)

Answers (1)

Answers (1)

raymond_giuseppi
Active Contributor

Don't worry table parameters can be considered as input/output parameters.

(Even if this syntax is now obsolete, it's still valid for many BAPI/RFC.)

Former Member
0 Kudos

So should I just annotate the table and fill it with a list and then execute the function object?

raymond_giuseppi
Active Contributor
0 Kudos

Yes, fill and send the table parameter.