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

Is BAPI_MATERIAL_GET_ALL a BAPI, or just a RFC?

I am using SWO_QUERY_API_METHODS to get list of BAPIs in the SAP system. But I am not getting BAPI_MATERIAL_GET_ALL, CSEP_MAT_BOM_READ and potentially others in that list. Is BAPI_MATERIAL_GET_ALL a BAPI or just a RFC ?
mangesh
  • 511
  • 8
  • 24
0
votes
1 answer

Static or instance class for reuse between RFC calls?

I am implementing some piece of functionality which must be called in the remote system, so I wrap this functionality into a global class which would be called by an RFC module. The calculations to be done are rather complex, heavy and involve many…
Suncatcher
  • 10,355
  • 10
  • 52
  • 90
0
votes
1 answer

Direct run of SQL query with PyRFC

I am new to python. I want to pull data from SAP System. I have created a connection with SAP system using below code and trying to pull data using SQL query: select col1,col2,col3 from table_name where col1= 2019 Program: import pyrfc from…
0
votes
0 answers

SAP JCo Server for multiple (dynamic) SAP systems and repositories

We have two SAP systems (SYS_A and SYS_B). From the SYS_A we want to call an RFC FM from the system SYS_B (an RFM, which is physically on the SYS_B system, so JCo Server repository should also point to SYS_B repository) with the destination…
Andrew
  • 33
  • 3
0
votes
1 answer

Error 61704 during calling RFC_READ_TABLE in VBA

I am trying to connect to SAP via RFC objects: Dim sap As Object Set sap = CreateObject("SAP.Functions.unicode") sap.connection.system = "xxxxxxxx" sap.connection.Client = "700" sap.connection.User = "USER" sap.connection.Password =…
Konrad
  • 51
  • 5
0
votes
1 answer

Interfacing C++ with SAP ERP

Is it possible in C++ Visual studio that I can connect to SAP Database, write data to it ? For example, I'm doing a facial recognition project and it's already done, but the remaining part is to connect SAP and write the Face ID of the user to the…
andre_lamothe
  • 2,171
  • 2
  • 41
  • 74
0
votes
1 answer

SAP OLE Automation Logon() method parameters

I have been using RFC SAP logon through VBA for at least five years, but I still haven't found the meaning of logon's first parameter, whilst the second one for the dialog displaying is obvious. For the first I use 0 all the time. Could somebody…
Tomek
  • 31
  • 3
0
votes
3 answers

How to get parameters of RFC module in node-rfc?

I want to introspect input parameters (and maybe output as well) of a RFC given it's name. I found methods RfcGetParameterCount and RfcGetParameterDescByIndex which have been used by the node-rfc library itself. But I am not able to figure out how…
mangesh
  • 511
  • 8
  • 24
0
votes
0 answers

ModuleNotFoundError: No module named '__main__.pyrfc'; '__main__' is not a package

I already install C:\Python37>pip3 install pyrfc` my output like this. Collecting pyrfc Downloading pyrfc-0.1.2.tar.gz (3.5 kB) Installing collected packages: pyrfc Running setup.py install for pyrfc ... done Successfully installed…
SPerla
  • 1
  • 2
0
votes
1 answer

PHP 7.4.2 [extension] build errors on Windows

I am using a package (SAP RFC Connector) for some time now that is retrieved from here https://github.com/gkralik/php7-sapnwrfc The package is working as expected on all PHP versions until 7.4.2 with source build. I've built the php_sapnwrfc.dll…
Szabi Zsoldos
  • 351
  • 6
  • 17
0
votes
0 answers

SAP and PHP Connection in WAMP server

I have the following code: ConnectToApplicationServer ("hostname", "sysnr"); // Params: client…
0
votes
1 answer

VBA program executing SAP RFCs works in Excel 2016 on-prem, but not in Office 365 (Run-time error 20080008...Bad Variant Type)

Let me first say that I saw the other two threads that mentioned this issue here and here, but they didn't help me solve my problem. I've been testing a program for several weeks in the on-prem Excel 2016 environment (32-bit) with no problems. My…
MBB70
  • 375
  • 2
  • 16
0
votes
1 answer

SAP NCo multiple connections issue, one login after create function call one again after invoke call

I'm trying to achieve the following, but with using only one connection so as to avoid breaking the SAP license where you're only allowed to have the same user logged on once. I'm using the sapnco.dll and sapnco_util.dll version 3.0. The following…
NRDargie
  • 25
  • 1
0
votes
2 answers

SAP doc about configuration RFC user

I am writing docs for our product modlink and I would like to add an URL to docs from SAP. I would like to link to the docs where the configuration of a RFC-user gets explained. If I use my favorite search engine, then I find a lot of stuff, but…
guettli
  • 25,042
  • 81
  • 346
  • 663
0
votes
1 answer

Determine the number of characters which are allowed in a field?

The is a follow-up question of The meaning of nuc_length and uc_length parameters in PyRFC? With PyRFC I can get the function description like this: get_function_description(rfc_name) Per field I can read uc_length and nuc_length. How can I…
guettli
  • 25,042
  • 81
  • 346
  • 663