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

Unable to get a table data from SAP

This is a c# method that invokes SAP BAPI. public Message ReleaseBapi(string orderNumber) { Message msg = new Message(); DataTable dt = new DataTable(); _ecc = ERPRfcDestination.InitialiseDestination(); try …
0
votes
0 answers

.NET connection to SAP RFC table

I am not a SAP expert, but need to get a project up and running as quickly as possible and need some advise. We have a .Net project (C#) that uses VS 2019 Professional and we need to pull data from a Kafka topic and insert it into a RFC table in…
0
votes
0 answers

Result from previous execution of INST_EXECUTE_REPORT via RFC "bleeds" into an a new execution if no results returned

I'm trying to automate certain procedures in SAP using Excel Templates and VBA. To extract data, I'm using INST_EXECUTE_REPORT via RFC. I packed it into a separate Sub in VBA, in which I declare a local variable ObjR3_EXECUTE_REPORT: Set…
Tyro
  • 45
  • 1
  • 8
0
votes
1 answer

Calling web API's via SAP Web Dispatcher from c#

I call a number of BAPI's and FM's using RFC calls to SAP using c#. I would now like to convert these calls to connect and call then via SAP Web Dispatcher. Does anyone know how the API calls will work for a given BAPI? I.e. will all SAP FM's have a…
Cameron Castillo
  • 2,712
  • 10
  • 47
  • 77
0
votes
0 answers

BAPI_MATERIAL_MRP_LIST returns empty values in VBA

I use an Excel macro to get values from SAP, especially for planned orders. Function GetOrders(ByVal ProductNumber As String) Dim OrderList As Object: Set OrderList = SAP.Add("BAPI_MATERIAL_MRP_LIST") Dim OrderMat As Object: Set OrderMat =…
0
votes
1 answer

Names of RFC parameters are unique?

I am working on an interface for communicating with SAP RFC functions. I have some questions regarding parameter hierarchy and uniqueness of parameter and table naming to which I can't seem to find an answer anywhere online. Are the deep…
0
votes
0 answers

LP_RFC_CONNECTION_PARAMETER_Array_5 error when initializing SAPNWRFC on Windows Python

I got this code in https://blogs.sap.com/2014/08/29/how-to-use-actual-sap-netweaver-rfc-library-with-python-read-table/ I did all the procedures to run it and it works on windows, but when I put it on linux it doesn't work, the only thing I changed…
0
votes
1 answer

Get SMQ queues in Python?

I'm using the PYRFC library and so far I've managed to connect to SAP. conn = Connection(ashost='xxxxxxxxx', sysnr='02', client='100', user='xxxxx', passwd='xxxxxxxx.') result = conn.call('STFC_CONNECTION', REQUTEXT=u'Hello SAP!') print (result) I…
Danilo Marquiori
  • 85
  • 1
  • 1
  • 4
0
votes
0 answers

Cannot connect to SAP using PHP sapnwrfc with Connection Type Group

I cannot connect to SAP using PHP sapnwrfc, this is my code : use SAPNWRFC\Connection as SapConnection; use SAPNWRFC\Exception as SapException; $config = [ 'GROUP' => '*****', // Group/Server 'MSHOST' => '*****', // Message Server …
Dewa Aditya
  • 79
  • 1
  • 2
  • 9
0
votes
0 answers

Need to decode CLUSTD column SAP Hana

i am looking to decode the CLUSTD column of SAP, which is in encoded form as binary. I want to decode it outside SAP, I know READ_TEXT helps decode it but it is in SAP environment. My CLUSTD is in SNowflake after migration and I want to decode it…
0
votes
1 answer

NET 6 Blazor WASM Working With SAP Integration Problem

I'm trying to integrate my blazor wasm app to sap. But when i call below code the IIS pool is stopping. But when i run project on my visual studio it's working successfully. I think IIS can't inject the SAP dll's to wasm. How can i fix this problem…
Enes Kartal
  • 137
  • 1
  • 9
0
votes
0 answers

SYSTEM_FAILURE when updating PO through excel VBA

I am trying to update the date and quantity for a Purchase Order in SAP ERP (ME22N). The first line in the excel sheet gets updated, however, it does not work for the lines after that. I get the error "SYSTEM_FAILURE" - Function call failed (RFC).…
0
votes
1 answer

Call SAP RFC from Excel

I've downloaded SAP GUI for Windows 7.70 (latest version with 64bits connectors) and created an RFC function called Z_GF_STOCK with a material string import parameter (ARTICULO) and labst export parameter (STOCK). I need to use this RFC with Excel…
marcss
  • 253
  • 2
  • 14
0
votes
1 answer

error "object invoked has disconnected" in 7.70 64 bits (was working in 32 bits)

I have VBA in Excel 32 bits that can upload Sales Orders into SAP ERP software. In order to get the code to run on 64 bits Excel, I uninstalled current SAP GUI and installed SAP GUI 7.70. I now get an error: Run-time error '-2147417848…
Tim
  • 1
  • 2
0
votes
0 answers

SapNwRfc BAPI COMPANY LIST

I am working with SapNwRfc (https://github.com/huysentruitw/SapNwRfc) I was able to use the .net framework and to connect with my sap production server. However I have some issues on get everything working with calling bapi that return result in…
user730712
  • 106
  • 1
  • 6