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
2
votes
0 answers

How to solve RFC_CONVERSION_FIELD error in SAP?

My Python script queries the rows of table AUFK via RFC which have BUKRS=1110, but I get the error: RFC_CONVERSION_FIELD Convertion error "rfc_ucs_to_str" from charset 4110 to charset 4103 (translated from german to english by me) The shortdump…
guettli
  • 25,042
  • 81
  • 346
  • 663
2
votes
1 answer

Meaningful error message for SAPSQL_PARSE_ERROR exception

I wrote a function in ABAP which gets called via SAP pyrfc. If there is a SAPSQL_PARSE_ERROR the RFC caller (the client written in Python) gets a meaningless error message: ABAPRuntimeError: RFC_ABAP_RUNTIME_FAILURE (rc=3): key=SAPSQL_PARSE_ERROR,…
guettli
  • 25,042
  • 81
  • 346
  • 663
2
votes
1 answer

VBA (RFC) SAP export to excel

I am writing a VB application for connecting to a SAP system (using RFC). Everything works fine and I do get a connection and the data as well. Nevertheless the code for saving the accessed data and writing it to a excel file is really slow. After…
Markus
  • 449
  • 1
  • 7
  • 22
2
votes
2 answers

Data structure for key-value list in RFC-enabled function module?

I am writing a new RFC callable function in ABAP which should be able to import a list of key-values mapping. The RFC calling application will use Python with the PyRFC library. I am unsure whether I should create a new custom data structure of if I…
guettli
  • 25,042
  • 81
  • 346
  • 663
2
votes
2 answers

RFC_READ_TABLE concatenates columns in row results

The following query concatenates the columns results for each row. I need to separate columns with either some kind of delimiter or unique row[i] results. Query: "exec rfc_read_table @query_table='VBAK', @rowcount=50, @FIELDS= '
P.Brian.Mackey
  • 43,228
  • 68
  • 238
  • 348
2
votes
3 answers

Update camel-SAP cache without restarting the whole instance

I'm using RedHat's camel-SAP component in RedHat Fuse to call modules via SAP RFC. Each time the structure of the module is adjusted, the Fuse instance must be restarted to cache the updated SAP repository. Is there a way to update the cache with…
Yannick
  • 663
  • 1
  • 10
  • 33
2
votes
1 answer

Creating self contained wheel

I try to create a self contained wheel for pyRFC: http://sap.github.io/PyRFC/install.html I have the needed (closed sourced) libraries and header files. Installing pyRFC works, if I copy the libraries and headers to $VIRTUAL_ENV/lib and…
guettli
  • 25,042
  • 81
  • 346
  • 663
2
votes
0 answers

Getting data from SAP to C# with TABLE_ENTRIES_GET_VIA_RFC

I have written some code for a program that is using the RFC .NET Connector to get the data from an SAP Server to my C# program. I have done some research what module you should use to get data from the server but I couldn't find out how to use the…
brachi
  • 119
  • 1
  • 3
  • 16
2
votes
1 answer

Exception: RFC callback server not available while calling RFC

I'm trying to upload a file from a server directory to the SAP CRM System (attachment to an Opportunity), therefore I am using the method create_with_file of the cl_crm_documents class. To call this method I am using a RFC-Function created by…
user630351
  • 23
  • 3
2
votes
1 answer

How to call web service on google app script

I created a web service in SAP and I tried to call this SOAP web service from google app script. This WS is in BASIC authentication, in variable response I receive the same wsdl that I pass in input. I encountered a problem in back-end system…
2
votes
2 answers

How to Execute SAP RFC using SOAP?

I have a requirement where I need to run an RFC from an ETL (Datastage) job. It can be done by executing a Unix command also, of course (the Datastage server is Unix). I don't think they have the SAP plug-in for Datastage, though. I've tried and…
Deep-B
  • 1,344
  • 1
  • 13
  • 22
2
votes
3 answers

ABAP RFC Debugging

I'm a ASP.NET and ABAP developer. For years, I used RFC's to communicate with ASP.NET using SAP .NET Connector. During the integrated tests, sometimes we need to debug a RFC that has been called from ASP.ENT, just because the bug we are facing does…
2
votes
1 answer

Install NWRFC with PyRFC in Windows

I am trying to install PyRFC with NWRFC SAP library... After a lot of work, and problems, I install everything, but now when I start python import pyrfc I get Traceback (most recent call last): File "", line 1, in File…
Marko Zadravec
  • 8,298
  • 10
  • 55
  • 97
2
votes
0 answers

SAPNWRFC connection how to write data via PHP

Below code used to fetch and display data from PHP '###.###.###.###', 'sysnr' => '##', 'client' =>…
2
votes
2 answers

RFC destinations

Where can I get a description of RFCOPTIONS strings from a RFCDES table? What it means to each parameter? (H=?,N=?,g=?,l=?, ...)
dino
  • 33
  • 2
  • 4