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

Attach file in MB51 with GOS objects programmatically

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

When connecting java to SAP(JCO) through RFC Getting Error

When connecting java to SAP(JCO) through RFC Getting below Error javax.servlet.ServletException: java.lang.NoClassDefFoundError: javax/crypto/SecretKey java.lang.NoClassDefFoundError: javax/crypto/SecretKey at…
1
vote
1 answer

How to set SNC parameters for node-rfc?

I am trying to use node-rfc to perform CRUD operations. The system I am trying to use has a SNC. I do not know how to explain it well but SNC is a multifactor authentication. I am using following parameters var abapSystem = { sncName:…
pay.ang
  • 13
  • 4
1
vote
1 answer

Connect to RFC destination using several SAP users concurrently

I have a .Net application which use to create SAP sales orders through it. When I use a (common)single SAP user id to login to the rfcDestination it works perfectly. but it doesnt work with concurrent logins with different user id's. i see 2…
Aswini
  • 51
  • 4
  • 16
1
vote
1 answer

Illegal destination type 'G' error while calling Identity Management ABAP APIs

I tried to use the IAM API to connect SAP with a NW Java application, I added an HTTP Connection in SM59 with type G (HTTP Connection to External Serv). And when I call the BAPI BAPI_USER_GETLIST, the program dumps with error: Illegal destination…
Hamza Chioua
  • 135
  • 3
  • 11
1
vote
0 answers

Connect to SAP with PyRFC on pythonanywhere.com

I want to connect a python script to SAP. Therefore I use pyrfc which is developed by SAP https://github.com/SAP/PyRFC/. This works on my local computer, as I followed the installation description:…
Florian
  • 11
  • 1
1
vote
1 answer

Connecting to SAP Open Hub through Data Factory

I'm working with a client to ETL data from SAP into an Azure storage account. Here are my current conditions: 1) The Open Hub destination has not been set up. 2) We're using Azure Data Factory to ETL data. 3) I can connect to SAP using the SAP…
fmarz10
  • 95
  • 7
1
vote
1 answer

PM Order change status to TECO - BAPI - VB ABAP

My code ends with the MsgBox "TECO FuBa Call false!". The LogOn and Logout functions are working fine, and when I test the function module BAPI_ALM_ORDER_MAINTAIN via SAP GUI transaction code SE37, everything works fine. I have already checked: PM…
1
vote
1 answer

Where in the filesystem does the SAP NW RFC cache its metadata?

I've encountered an issue where, when I'm trying to obtain the metadata for a custom function module my customer has written, I get the following error when calling RfcGetStringLength: Return code: RFC_ILLEGAL_STATE RFC error group:…
John Källén
  • 7,551
  • 31
  • 64
1
vote
1 answer

CL_SALV_BS_RUNTIME_INFO returns empty reference via RFC

This code has been working nicely for several months now: SUBMIT (IV_REPORT_NAME) WITH SELECTION-TABLE selection_table USING SELECTION-SET IV_SELECTION_SET_VARIANT AND RETURN. DATA lr_data_descr TYPE REF TO…
guettli
  • 25,042
  • 81
  • 346
  • 663
1
vote
2 answers

Make RFC calls logging

I would like to log each call of my RFC function module. What is the current state of the art in SAP/ABAP to do this? Where do these logs get stored and how to see them? Or is it better to create a custom table and write the calls into this…
guettli
  • 25,042
  • 81
  • 346
  • 663
1
vote
0 answers

Excel VBA Connection to SAP RFC

I have the following error when trying to connect to SAP RFC from VBA in Excel: CPIC(TCP/IP) on local host with Unicode RFC_COMMUNICATION_FAILURE I am using the following VBA code which seems to be the well documented way to connect: Public Sub…
Al Grant
  • 2,102
  • 1
  • 26
  • 49
1
vote
1 answer

RFC support on Cloud Foundry

Some months ago there was no RFC support on Cloud Foundry. It was discussed here: https://blogs.sap.com/2017/09/15/step-11-with-sap-s4hana-cloud-sdk-virtual-data-model-for-bapi/ Are RFC calls supported in the meanwhile?
O. Merk
  • 113
  • 10
1
vote
3 answers

How to find the correct ABAP function corresponding to SAP FRONTEND action

I had a two days training in using the SAP .NET Connector 3.x for SAP RFC Calls. I have access to the SE37, SE16 and SE11 transactions but I'm not allowed (and skilled) to write and deploy my own ABAP Functions. My question is: How can I find the…
Jan021981
  • 521
  • 3
  • 28
1
vote
1 answer

Hierarchical ALV report called via GUI has 18 columns, but via RFC only 6. Why?

I want to export the report RM07MLBS (tcode mb52). If I call this report via the SAP-GUI it has 18 columns, and if I call it with the following code, it returns only maktx, werks, matkl, matnr, name1, mtart columns: cl_salv_bs_runtime_info=>set( …
guettli
  • 25,042
  • 81
  • 346
  • 663