Learn how easy it is to sync an existing GitHub or Google Code repo to a SourceForge project! See Demo
I have a function module like this
VALUE(URUNLER) TYPE ZRT_T_PRODUCT_STOK
"ZRT_T_PRODUCT_STOK" is table type. when i execute script like this
i get following error message
File "C:\Python25\Lib\site-packages\pysap.py", line 1747, in get_interface
File "C:\Python25\Lib\site-packages\pysap.py", line 1933, in get_structure
File "C:\Python25\Lib\site-packages\pysap.py", line 509, in create_struct
and I see if i use table type in function module, i get an error like above.
is there a solution for this issue.
the error was fixed in CVS. But that alone won't fix the problem though. The main problem is the function module sends a table as export parameter and RFC AFAIK only supports single values (simple types and structures, but not tables) as export and import parameters. This limitation is implemented on the C level where import, export, and tables parameters are send to SAP as arrays of C structures - the structure for table parameters is different and both cannot be mixed in same array. There might be ways around this, but I'm not aware of any.
The best solution (if applicable) would be to move unruler from the export to tables section of function parameters.