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
0
votes
1 answer

Calling a SAP table in Python via RFC_READ_TABLE gives an error: DATA_BUFFER_EXCEEDED

I am trying to extract a SAP table in Python using RFC_READ_TABLE: result = conn.call('RFC_READ_TABLE', QUERY_TABLE=table_name, DELIMITER='|', FIELDS=fields, OPTIONS=Options, ROWCOUNT=MaxRows, ROWSKIPS=FromRow) I need to extract 86 fields from…
0
votes
0 answers

Extract a table with filters in Python via SAP RFC

I am trying to extract a table (BSIS) in Python via SAP RFC_READ_TABLE with the following code: class Main: def __init__(self): self.conn = Connection(ashost=ASHOST, sysnr=SYSNR, client=CLIENT, user=USER, passwd=PASSWD) def…
0
votes
0 answers

PHP 8.0 and SAPNWRFC build on windows

I'm currently trying to implement the library in PHP 8.0 but I find the following error while adding extension file (DLL) on xampp "sapnwrfc.dll': PHP Warning: PHP Startup: Can't load module 'C:\xampp\php\ext\sapnwrfc.DLL' as it's linked with…
Lia
  • 1
0
votes
0 answers

Select distinct from a column using RFC Table Options Azure Data Factory

How to query distinct values from a column using rfc table options in copy activity azure data factory? I had a SAP Table connector, and i want to query a copy activity, for example in the table above, i want to use the RFC Table options to query…
0
votes
1 answer

Reading Table from SAP ECC using SAP JCo

I want to print details of all Transport requests, I am trying to read data in table E070 from SAP ECC using SAP JCo and RFC_READ_TABLE, I am running the following code but I am getting no output. Here is the code: import com.sap.conn.jco.*; import…
0
votes
0 answers

How to run an RFC Function Module in a SAP background job without a predefined login/trusted relationship in SM59?

I need to run an RFC Function Module inside Report in Background Job. The background job was canceled because of the sap logon screen. The RFC Destination was maintained in SM59 with No Trusted Relationship and no password provided for the Logon…
0
votes
1 answer

Value of type INTERFACE_HEAD() cannot be converted to INTERFACE_HEAD()

I want to connect with SOAP to SAP and have received a WSDL file. After import of the file as a Service Reference SOAPService I've now these classes available: SOAPService.IMPORT1 Namespace…
user1673665
  • 516
  • 3
  • 8
  • 21
0
votes
1 answer

Filtering the data by Date column using PyRFC with RFC_READ_TABLE

I managed to connect to SAP ABAP via Python, using PyRFC and RFC_READ_TABLE. I am trying to figure how to querying a table by a Date column using the parameter OPTIONS. I know the query should be the same syntax as in C# RFC, but I didn't find…
Mark
  • 51
  • 6
0
votes
0 answers

SAP -> Get all Long Texts from Scheduling agreements to Excel

We have some important information in the Long Texts in SAs: i can get text 1 and text 2 through excel script but the problem is the long texts: I know it's possible via Remote Function Calls (RFCs) with RFC_READ_TEXT, but I never use that in…
SaPires
  • 151
  • 3
  • 12
0
votes
0 answers

Unable to install Python's Pyrfc library for SAP on Raspberry pi 4

Want to install pyrfc on raspberry pi 4 but unable to do so due to some installation error I have done all the steps mentioned in the pyrfc documentation However I am unable to install it on my raspberry pi. I am using python 3.9.2 Below is the…
IOT-Guy
  • 7
  • 1
0
votes
0 answers

Why node-rfc package is not working in NestJS but it works in Fastify?

I got this error: { name: 'RfcLibError', group: 5, code: 20, codeString: 'RFC_INVALID_PARAMETER', key: 'RFC_INVALID_PARAMETER', message: 'Parameter ASHOST, GWHOST, MSHOST or PORT is missing.' } I was trying get SAP data using rfc-node…
0
votes
1 answer

Can I Create My JcoDestination File In Folder ? (JCO3 Java - SAP RFC Connection)

I want to access an RFC function on sap from my java program. When I call getDestination("connect") I can connect and run my function without problems. But I will have more than one config file because I will be connecting to different SAP…
0
votes
1 answer

REDHAT 8 Apache PHP SAPNWRFC gkralik / php7-sapnwrfc only works from CLI - SAP

I'm using this repo to connect to SAP software: https://github.com/gkralik/php7-sapnwrfc but I don't know why my script connect and return data successfully from my zfunctions on SAP server only under Command Line Interface CLI php…
Luis
  • 1,040
  • 1
  • 14
  • 22
0
votes
2 answers

SAP Table Connector - How to querying SAP table using RFC from Azure Synapse

We are using SAP Table Connector on Azure Synapse to extract SAP tables. However, we would like to filter the data in the copy activity. I tried using the RFC table options using the COLUMN EQ 'SOME VALUE' pattern, This worked, but we would like to…
MrKoos
  • 1
  • 1
0
votes
1 answer

Extracting data from SAP spool to Excel using BAPI_XBP_JOB_SPOOLLIST_READ and VBA

I'm trying to build interactive Excel templates that extract data from SAP’s spool job using BAPI_XBP_JOB_SPOOLLIST_READ. The way I’m approaching the problem is: Run a Transaction Code by means of RFC_CALL_TRANSACTION_USING and get SAP to print out…
Tyro
  • 45
  • 1
  • 8