Found 30 Articles for Sap Rfc

Interfacing database to external parties in SAP system

Ramu Prasad
Updated on 30-Jul-2019 22:30:20

93 Views

Interacting directly with SAP databases is not considered a good programming practice. As SAP database is nothing but a normal database, it can interact in any way like any ODBC technique - ADO.NET or other.Remote Function Calls can be used to make calls to databases. ERP Connect supports RFC and can be used for reading data from tables.In case one needs a high customization and control, one can create a custom RFC component to fetch and return the intended data.

Integrating SAP with PHP

Sravani S
Updated on 30-Jul-2019 22:30:20

1K+ Views

Out of several ways to connect SAP to PHP - Web services and RFC (Remote Function Calls) are more used by developers. SAPRFC is an extension module for PHP 4 and PHP 5. With SAPRFC it is possible to call ABAP function modules in SAP R/3 from PHP scripts. You can use PHP language to create web applications or interface programs with connectivity to the SAP R/3. You can also write RFC server program in PHP and call PHP functions from SAP R/3.

Values are not readable while calling RFC method in .net via SAP.NET Connector 2.0

John SAP
Updated on 30-Jul-2019 22:30:20

106 Views

Please check if you have same Unicode encoding in SAP and .NET Connector.

Reading latest measurement point in SAP RFC

Anil SAP Gupta
Updated on 30-Jul-2019 22:30:20

387 Views

There is a Function Module: MEASUREM_DOCUM_RFC_SINGLE_002 that you can use to read documents if keys are known. When there is no RFC module to get a list of $foo according to a set of selection criteria, it is possible to use RFC_READ_TABLE to get the keys from db directly.Function Module MEASUREM_DOCUM_RFC_SINGLE_002: RFC Measurement document: Individual processing, Change/Display or ReadUseWith use of this RFC, following remote calls can be used:Remote dialog (WITH_DIALOG_SCREEN = 'X')Remote dialog in display mode (EDIT_MODE = ' ')Remote dialog in change mode (EDIT_MODE = 'X')Remote reading of measurement document data (WITH_DIALOG_SCREEN = ' ')NotesApart from when an ... Read More

Adding a field to SAP RFC table using .NET Connector 3.0

SAP Expert
Updated on 17-Feb-2020 10:30:55

429 Views

Note that it is not possible to append table’s column as fields are already defined. You can only enter a row to the table and populate fields to that row. Below code should work −IRfcTable ITEMDATATable = BapiIncomingInvoiceGetDetail.GetTable("ITEMDATA"); ITEMDATATable.Append(); ITEMDATATable.SetValue("SKU_ATM",myItemData.SKU_AMT);

How to communicate from SAP to Message queue?

SAP ABAP Expert
Updated on 30-Jul-2019 22:30:20

120 Views

Yes, you can do what you are aspiring for. But it depends upon your actual requirement. Let’s say you need to execute the some custom application or program in SAP, then you can opt for any available connector which reads a file or else. This connector then later establishes a connection to the queue and then sends a message.Let’s say you cannot keep polling for files availability, and then you need to use the remote function call methodology. RFC has a SDK available and its online support is tremendous. You can use it too for sending a message. Read More

How to index a table in SAP?

SAP ABAP Expert
Updated on 30-Jul-2019 22:30:20

765 Views

You need to use the transaction SE11. This transaction is used to create indexes on the tables.One main thing to keep in mind over here the way these indexes are moved to production. You need to use the transaction to create indexes in development environment. Once they are created, you need to transport them to the production environment.Once you have made the change, activate the table.

How we can extract data using VB Scripting from SAP

SAP ABAP Expert
Updated on 30-Jul-2019 22:30:20

451 Views

You can use VBA for fetching data from SAP. You can find lot of blogs if you search online.If I explain in short, it depends on the level of access that you have to SAP system. I have done something similar in past. It worked like this; I had an existing RFC which will fetch the required data for me and for some part I had an ABAP program in place to fetch the data.Then I will use macros to make a call to respective RFC and program to do their job.

Need to update MySQL and SAP database at the same time from a Form

SAP ABAP Expert
Updated on 30-Jul-2019 22:30:20

123 Views

Yes, you can do that but if you are thinking of making the changes in the existing PHP script so that it takes care of both the tasks. Then it will be quite tough.But if you want to have two operations in parallel then you can have it.You can go for writing a web service which can do the DB update activity. You can also try using the SAP API to do the updates. SAP API has the most common and used methods to do the updates.So you might be able to find the ones for your requirement.You can also ... Read More

Executing SAP RFC creates an error: “The current application triggered a termination with a short dump”

SAP ABAP Expert
Updated on 12-Dec-2019 10:54:19

1K+ Views

This is very generic error and it could be due to any reason: code error, inconsistency in data, or some other issue. You can use T-Code: ST22 to check short dump message in SAP system.This is used to check ABAP Runtime errors- All Client. You need to pass the filter condition, and click on Start

Advertisements