Questions tagged [saprfc]

The Remote Function Call (RFC) used by the SAP NetWeaver ABAP runtime environment for both inbound and outbound communication.

The Remote Function Call (RFC) used by the SAP NetWeaver ABAP runtime environment for both inbound and outbound communication.


Useful Links

Related tags

396 questions
3
votes
1 answer

Determine RFC caller?

In `ST22, I found a short dump caused by a RFC in a infinite loop. The problem is that I did not find any jobs that triggered the RFC, nor any errors in SM58. How can I find out how that RFC was triggered? Which transaction should I check ? In ST22,…
Ovidiu Pocnet
  • 579
  • 12
  • 32
3
votes
1 answer

Return binary data via RFC

I want to return binary data in ABAP, for example a PNG image file. Which data type should I use? string, xstring, ...? I use the PyRFC SDK: https://github.com/SAP/PyRFC
guettli
  • 25,042
  • 81
  • 346
  • 663
3
votes
1 answer

Data gets truncated in SAP RFC

I have a big string containing 400 MByte JSON data in rfc function module. See debugger: Unfortunately my pyRFC client only receives roughly 34 MByte. Where and why does my data get cut? Is this a well known limitation of sap-rfc? Strange but true,…
guettli
  • 25,042
  • 81
  • 346
  • 663
3
votes
1 answer

Debugging under RFC user possible?

I have written an ABAP function module, which works fine if I execute it with my developer account. If another user executes it, he gets an empty result. The other user is an RFC-account which cannot log in with the SAP GUI. I am clueless how to…
guettli
  • 25,042
  • 81
  • 346
  • 663
3
votes
2 answers

Return dynamically-typed table rows via RFC?

I need to return the rows of some tables via RFC, and the names of these tables are not known before the execution. I have this statement which gets executed in a loop: SELECT * up to iv_max_count rows into table FROM…
guettli
  • 25,042
  • 81
  • 346
  • 663
3
votes
2 answers

Is there any way to check if RFC exists in a SAP system

I'm developing an ABAP PROGRAM which calls RFC from differrent SAP systems. Is there any way to check if the RFC exists in the destination system before calling the RFC?
Skalozub
  • 539
  • 7
  • 26
3
votes
1 answer

Incorrect packet format, calling SAP service from C# with WSDL file

I am attempting to call a SAP service using a WSDL file provided to me. I am getting this error: Unexpected Packet Format I have tested the service using SOAPUI and everything is working from there. When I call the service from my C# application I…
Selthien
  • 1,178
  • 9
  • 33
3
votes
1 answer

Sending iDOC from Java to SAP

We have iDOC files that are generated from our system. Now we are trying to send them to SAP via RFC connection. I already etablished an RFC connection AS A CLIENT but i am unable to send iDOC! I tried to create a sample iDOC to test it but it…
H.Rhaiem
  • 33
  • 1
  • 5
3
votes
3 answers

SAP integration with Xamarin?

I am working on Xamarin platform. And I am looking for the integration of Xamarin with the SAP back end. So any one knows anything about this please share here.
sid
  • 157
  • 1
  • 1
  • 10
3
votes
2 answers

Connect Excel with SAP using RFC

I need to know how to connect Excel with SAP using RFC. I have not managed to import any SAP data to Excel using the codes found so far. I would like to be able to import data from any known transaction (e.g. a bill of materials from transaction…
Arturo
  • 31
  • 1
  • 1
  • 3
3
votes
4 answers

SAP .NET Connector: System exception thrown while marshaling .NET type

My app sends lots and lots of data to SAP. To di this, it builds up an SAP table object and sends it over. I get this error somewhat regularly, but not reliably: System exception thrown while marshaling .NET type 20081219 to RFCTYPE_BCD at…
Michael Haren
  • 105,752
  • 40
  • 168
  • 205
3
votes
2 answers

Usage of WCF RIA Services, where the datasource isn't a classical (relational) database

I want (have) to write a Silverlight and (or) ASP.NET based webapplication with SAP in the backend (in other words, the datasource is no classical database) . The usage of Silverlight and ASP.NET is a precondition. Is it possible to use the WCF RIA…
Kottan
  • 4,944
  • 9
  • 41
  • 67
3
votes
2 answers

Future of the SAP RFC SDK

Is the SAP RFC SDK (wdtfuncs.ocx, wdtlog.ocx respectively Interop.SAPFunctionsOCX.dll, Interop.SAPLogonCtrl.dll) an acceptable / recommended way to connect (Microsoft) applications via RFCs with SAP ? Will there be a support and maintenance of the…
Elmex
  • 3,331
  • 7
  • 40
  • 64
3
votes
1 answer

Connect PHP to SAP R/3 using SAPRFC - Unable to initialize module

Goal: use PHP 5.3 to connect to SAP ECC 6 Config: Windows XP desktop. Using SAPRFC PHP open source extension. Added php_saprfc_530.dll to the php ext directory and added extension to php.ini On restart of Apache, application event reported this…
J Simmons
  • 31
  • 2
3
votes
3 answers

RFC for remote call transaction

How do I call the SAP report (for example RSPARAM) with help JCo? What RFC may be used to remotely call SA38 transaction with RSPARAM (e.t.c.) as parameter and then return results for later work ?
dino
  • 129
  • 1
  • 3
  • 9
1 2
3
26 27