Skip to Content

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

Jan 25 at 01:31 AM


avatar image

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.

10 |10000 characters needed characters left characters exceeded
* Please Login or Register to Answer, Follow or Comment.

1 Answer

Raymond Giuseppi
Jan 25 at 06:49 AM

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.)

Show 2 Share
10 |10000 characters needed characters left characters exceeded

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


Yes, fill and send the table parameter.