SAP .NET Articles

Page 2 of 3

Alternative of SAP .NET Connector

Srinivas Gorla
Srinivas Gorla
Updated on 16-Dec-2019 555 Views

There are various (not many as for JAVA and others) possible ways to achieve the task. One way is to go for existing remote function calls library for establishing a connection. There are free to use wrappers written around RFC to serve the task.Another library available for the same and mostly used is ERPConnect. It is easy to use and provides an easy mechanism to call BAPI, functions and table calls.But the best way to go for use is web services but for that, you have to be on ERP5.0 or higher. In such case, no .NET connector is required ...

Read More

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

SAP ABAP Expert
SAP ABAP Expert
Updated on 12-Dec-2019 2K+ 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

Read More

Writing a material on SAP system via .NET Connector

Johar Ali
Johar Ali
Updated on 11-Dec-2019 443 Views

Once you create material, you need to call BAPI- BAPI_TRANSACTION_COMMIT. “BAPI_TRANSACTION_COMMIT” is called to COMMIT a database operation. As COMITT statement can’t be called inside BAPI, we call this BAPI to complete COMMIT.Let us say you are editing some table fields in BAPI- as per failure or success, you can perform a COMMIT or ROLLBACK.To perform a COMMIT call BAPI_TRANSACTION_COMMIT. Below is sample COMITT:CALL FUNCTION 'BAPI_TRANSACTION_COMMIT' * EXPORTING * wait =    "bapita-wait    IMPORTING    return = "bapiret2 . " BAPI_TRANSACTION_COMMITYou can see full documentation about BAPI_TRANSACTION_COMMIT:FU BAPI_TRANSACTION_COMMIT____________________________________________________Short TextExecute external Commit when using BAPIsFunctionality:This method executes a COMMIT WORK ...

Read More

Error while creating a PO in SAP system from a .NET application

Nikitha N
Nikitha N
Updated on 30-Jul-2019 299 Views

Below is the correct sequence to invoke Function Module for automatic OP generation:ME_REFRESH_PO onceME_CREATE_PO_HEADER onceME_CREATE_PO_ITEM n timesME_POST_PO onceIn case you don’t follow this sequence, it may result in data inconsistencies.

Read More

Downloading file using SAP .NET Connector

Ramu Prasad
Ramu Prasad
Updated on 30-Jul-2019 601 Views

It is not possible to retrieve files using BAPI from SAP system. There should be a way to copy the file to a shared location and you can read the file from there using .NET.

Read More

Can we get same features in SAP ABAP as they are in VS?

Lakshmi Srinivas
Lakshmi Srinivas
Updated on 30-Jul-2019 150 Views

If you want to show all the occurrences of a variable in an ABAP program, you can use a shortcut- ctrl+shift+F3 or you can also make use of Yellow icon at the top.

Read More

Send an Idoc using SAP.net connector 3.0 from a non-SAP system

varma
varma
Updated on 30-Jul-2019 835 Views

As per my knowledge, SAP doesn’t offer any development library for NCo to deal with Idocs. .Net connector is primary used for development of RFC clients.One of a common method to submit idocs to the SAP system using NCo is by using function module “IDOC_INBOUND_ASYNCHRONOUS”. This function module includes multiple table parameters containing idoc data.Function Module: IDOC_INBOUND_ASYNCHRONOUS (IDoc inbound processing via tRFC)Function Group: EDINProgram Name: SAPLEDINFollowing are the parameters:Table IDOC_CONTROL_REC_40 contains the control record, IDOC_DATA_REC_40 contains the idoc data segments.IDOC_DATA_REC_40 contains a field called SDATA. That field contains an Idoc segment data as a single concatenated string with fixed field ...

Read More

Information regarding function used in remote machine and their return values.

Rahul Sharma
Rahul Sharma
Updated on 30-Jul-2019 191 Views

There is a table TFDIR which contains all the information. You can use this table with FMODE=’R’ by transaction SE16. R denotes remote functions. If you want to check the return values of the function, you can use transaction SE37 by inputting the function in the search field.

Read More

Can I define a column as a table type in SAP HANA?

Anil SAP Gupta
Anil SAP Gupta
Updated on 30-Jul-2019 248 Views

I don’t think there exists any way where you can define the column type of a column within a table type as an array. Table type refers to a row structure with predefined number of columns. So you might need to rethink on how to change the incoming data from .NET application to be a usable one for your SAP HANA project.

Read More

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

John SAP
John SAP
Updated on 30-Jul-2019 276 Views

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

Read More
Showing 11–20 of 21 articles
Advertisements