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
1
vote
1 answer

Launching BAPI programmatically from R?

Basically I have 2 questions:: What are the differences between BAPI's and InfoQueries in SAP? How would you launch and retrieve the results of BAPI's programmatically from outside of SAP? I am trying to launch SAP BAPI' via R, and I saw that the…
gaut
  • 5,771
  • 1
  • 14
  • 45
1
vote
1 answer

How to get the name of the calling program in an asynchronous background task?

How to get the name of the calling program from within an asynchronous remote function call (aRFC) ? CALL FUNCTION 'BAPI_MATERIAL_SAVEREPLICA' STARTING NEW TASK lv_taskname DESTINATION IN GROUP DEFAULT The called BAPI triggers a user exit that I…
Cutter
  • 1,673
  • 7
  • 27
  • 43
1
vote
0 answers

new NWRfcSession() System.OutOfMemoryException

I am making a method which uses Rfc Connector. It was working fine, but something went wrong and now I have those two issues. Sometimes(it is not a rule) I get the OutOfMemoryException from Session = new NWRfcSession();. I think there is no reason…
Mazounn
  • 27
  • 4
1
vote
1 answer

MS Access cannot connect to SAP "Cannot load LibRfc32.dll" error - VBA - SAP

NOTE: StackOverflow should allow more links in the question part. This is a rabbit hole with a rabbit hole question for a 25 year old technology. None of the technologies have been supported for over 10 years. Including comprehensive list of…
snj
  • 72
  • 8
1
vote
1 answer

BAPI/FM to search prod orders confirmations by workcenter and date?

I'm trying to figure out which BAPI/FM I could use to search amounts confirmed based on search criteria of date (+time if possible) and workcenter confirmed where was confirmed... I would be using BAPI_PRODORDCONF_GETDETAIL which contains these…
1
vote
0 answers

Connection with SAPRFC using PHP

I want to do a connection with SAP-RFC using PHP. I have installed 'Wamp' server with PHP 5.2.8, Apache 2.0.54 and SAP-RFC 1.4.1. I am using old version of PHP because I could not find much of help for PHP version 7.2. I have done the following…
Support
  • 11
  • 1
1
vote
1 answer

SAP.Middleware.Connector.RfcInvalidParameterException: Table line 0 out of range: table is empty

I have a C# console application that connects to a SAP server to get data from some of its tables. Sometimes this error pops up when I try to copy a value from a field in a SAP table called SOHEADER to a string variable. Here's the stack…
FranciscoFJM
  • 119
  • 1
  • 10
1
vote
3 answers

grabbing data from SAP to BlackBerry

im developing an app in java for BlackBerry, right now im building some RFC's in SAP so i can search some info inside the system to show to the blackberry users. my first attempt (that actually worked): i made a rfc that was called trough a php file…
rupGo
  • 400
  • 4
  • 17
1
vote
1 answer

Serialization of RFC parameters in JCo

What would be the best way to serialize informations about SAP RFC Function Module parameters (i.e. parameter names and parameter values) with which the function was called in SAP (with parameter 'DESTINATION' provided as SAP JCO SERVER) and then…
Andrew
  • 33
  • 3
1
vote
1 answer

Error when using node-rfc: Client invoked RFC call with closed connection

I am trying to get data from SAP system with Node.js app. Please advise where to put async/await in my code or maybe use different approach? I have tried bunch of different ways, but invoke still does not wait for connect to finish :( var express =…
Yrk
  • 13
  • 2
1
vote
1 answer

SAP BW Data Extraction using pyRFC fails with character limitation on Command text

Environment: Windows Programming language: Python Package: pyRFC SAP: SAP RFC SDK I am trying to call the following method BAPI_MDDATASET_CREATE_OBJECT after connecting to the BW through the object bwConn bwConn.call('BAPI_MDDATASET_CREATE_OBJECT',…
Ranjith Venkatesh
  • 1,322
  • 3
  • 20
  • 57
1
vote
0 answers

Data table empty on RFC_READ_TABLE

Good morning fellow programmers, I'm trying to read a table from a "distant" system in SAP (ABAP). Using the RFC_READ_TABLE function returns the fields table properly, but not the data. data: options type table of rfc_db_opt with header line. data:…
1
vote
2 answers

How to update email with BAPI_USER_CHANGE in pyrfc?

I was able to write the code to get the details from SAP thru BAPI_USER_GET_DETAIL, here is attached code to get the email from SAP backend: import pyrfc from pyrfc import Connection setup= pyrfc.Connection(user=X , passwd=Y , mshost=Z , sysid=A ,…
Sapta619
  • 9
  • 7
1
vote
1 answer

RFC-enabled function module to update physical samples

I need to update some fields of Physical samples in SAP ERP: List of columns which are in the table QPRS: ABINF: Storage Information ABDAT: Storage Deadline ABORT: Storage Location List of fields which correspond to statuses (table JEST): Sample…
waleed.makarem
  • 179
  • 2
  • 9
1
vote
0 answers

Create note in MB51 with GOS objects programmatically

Im working on creating a material document movement (MB51 report) and then creating a note to it. So far Im finished with creating the document and returning the document number. And now I need to create a note to that document. I was not able to…
Jiri Zaloudek
  • 326
  • 3
  • 19