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

The meaning of nuc_length and uc_length parameters in PyRFC?

My favorite search engine (ecosia) could not find the canonical docs from upstream (SAP) about the meaning of uc_length vs nuc_length. What is the difference between both? I get these parameters with a modified version of clientPrintDescription.py
guettli
  • 25,042
  • 81
  • 346
  • 663
0
votes
2 answers

SAP RFC: parameter_type RFTYPE_TABLE: meaning of uc_length?

I took the nice example clientPrintDescription.py and modified it to return HTML. Now I see this: Since the parameter type is RFCTYPE_TABLE I think nuc_length and uc_length don't play a role. Am I right, or do have both values (here 16) have any…
guettli
  • 25,042
  • 81
  • 346
  • 663
0
votes
0 answers

pyRFC Unable to connect through SNC

I have been playing with pyRFC for a while now, and was trying to see if it would be possible to use the SNC information as the connection parameters. I tried with user and password and that's working fine. I also verified that I have the…
AlbertoRR
  • 1
  • 1
0
votes
1 answer

How to connect to SAP from VBA in 7.50+ when a message server and port are required

When connecting silently from VBA to SAP I am running into a problem when a message server and port are required. In SAPGUI 7.50 forward, SAP made a change. These silent connections always worked prior to 7.50. Apparently you have to fill in the…
0
votes
2 answers

String and nested structure in import/export parameters of RFC

Can import and export parameters of RFC function modules be string and nested structures ?
kjyothiraditya
  • 33
  • 1
  • 10
0
votes
2 answers

How to pass parameters to SAP BAPI from Excel VBA

There exist a lot of descriptions on parameters for BAPIs, but they are not understandable. I post the solution here, because I myself had many difficulties to achieve a parametrized BAPI call from Excel VBA. My task was to query data from SAP…
0
votes
2 answers

Read CDPOS/CDHDR Sap tables using vbscript

I am trying to read sap change log using rfc + vbs as buffer. I know that I need to use CHANGEDOCUMENT_READ_HEADERS and CHANGEDOCUMENT_READ_POSITIONS functions to do this, but have not found any research how to do this properly with the help of…
0
votes
2 answers

Testing BizTalk SAP Installation

I am installing a new BizTalk Server 2016 to an existent BizTalk cluster. I have installed all the software, but prior to configure the BizTalk Server I want to test if the SAP Software is installed correctly, because we have several problems in the…
felixmondelo
  • 1,324
  • 1
  • 10
  • 19
0
votes
1 answer

RFC destination authentication from Non-SAP system

I'm trying to call a BAPI from Non-SAP system using SAP JCo. It expects a user, password. Can a user/pwd can be created specifically for RFC destination or should we use actual SAP user id?
0
votes
0 answers

SAP RFC Connection with VBA - BAD VARIANT TYPE

I'm having a problem with the SAP RFC when I'm trying to download some tables. When I try to create the connection I get the following error: Bad Variant Type I checked the regedit registry for RFC and it is all right. The IT installed the SAP…
zanniboni
  • 13
  • 5
0
votes
2 answers

JCO_ERROR_RESOURCE: Destination ABAP_AS_WITHOUT_POOL does not exist... error while connecting via JCo

I am working on a Java app that needs to get data from our SAP system laying in SAP table. I try to connect the SW with SAP system using SAP Java Connector 3.X, but I'm having trouble with the Destination. I used the Code-Examples that came with the…
Deep13
  • 1
  • 1
  • 4
0
votes
1 answer

SAP.Middleware.Connector.RfcSerializationException: End mark of RFCID.TableContLZ not found

I have a problem. I am trying to get data from SAP using a desktop app developed. When I connect to the VPN and run the application it runs smoothly with no errors, but when a customer tries to run it from his machine he receives the following error…
Paul Radu
  • 31
  • 3
0
votes
0 answers

SAP L_TO_CANCEL doesn't cancel transfer order

I'm using SAP function module L_TO_CANCEL via pyrfc and python to cancel warehouse management replenishment transfer orders (TOs). This works fine for some TOs but for others (also replenishment) is give an error Negative stock for storage type X…
0
votes
2 answers

Performance of /ui2/cl_json serialization

In the past I used this to return any data structure via SAP RFC: json = /ui2/cl_json=>serialize( data = pretty_name = /ui2/cl_json=>pretty_mode-low_case ). This works very well if is small, but for bigger data sets…
guettli
  • 25,042
  • 81
  • 346
  • 663
0
votes
2 answers

Correct message server port (msserv)?

How to determine the correct port for the msserv connection parameter? According to the docs of RfcOpenConnection : msserv is only needed, if the service of the message server is not defined as sapms in /etc/services. In my case I run a standard…
guettli
  • 25,042
  • 81
  • 346
  • 663