SAP HANA Articles - Page 39 of 58

Missing SAP Java Connector libraries JCo- librfc32.dll, com.sap.utils and com.sap.mw

Abhinaya
Updated on 13-Feb-2020 12:51:47

285 Views

Please note that all these library files - librfc32.dll, com.sap.utils and com.sap.mw come under JCo 2.1. With release of JCo 3.0, it’s classes were also relocated from packages com.sap.mw.jco.* to com.sap.conn.jco.*For running with SAP JCo 3.0, you need these files at runtime - sapjco3.jar and sapjco3.dll (on Windows). You can follow below procedure for installation of JCo files:Installing JCo on Windows platform −In Windows OS, you have to copy sapjco3.jar file into ITDI_HOME/jars/3rdparty/others.Copy the sapjco3.dll file into ITDI_HOME/libs. On Windows, JCo 3 requires additional Microsoft Visual C++ 2005 libraries to be installed. Installation details for the package that contains these ... Read More

Calling external programs using SAP connector

Daniol Thomas
Updated on 09-Dec-2019 06:46:49

335 Views

Yes, it is possible to address or call an external program using SAP connector SDK. From ABAP, you can reference external program by SAP’s RFC protocol.There are various SAP connector available for various programming languages. Few of them areJCo is the SAP Java connectorNCo is the .NET SAP connectorNW RFC SDK is the SAP NetWeaver RFC SDK for C/C++

Exposing employee master data from SAP HR system using Web Service

Govinda Sai
Updated on 11-Dec-2019 06:51:17

1K+ Views

In a general scenario, when you have ICF configured you can expose SAP system business objects and jobs via BAPI. It is very easy to create and expose BAPI as a web service. As there are only few web services for SAP HR module in SAP system however you can transform a BAPI or ABAP function into a web service. If there is no such function you can create one easily.To find details about BAPI from Function module, use T-Code: SE37 and enter Functional module name for SAP HR module. Below is the list of existing HR function modules in ... Read More

IMPORTING, EXPORTING and CHANGING Keywords in ABAP

Krantik Chavan
Updated on 09-Dec-2019 06:49:36

5K+ Views

IMPORTING transfers a value from the caller to the called method by passing an actual parameterEXPORTING is just opposite to what IMPORTING does. IT passes value from the method to Caller.CHANGING is transferring the value from caller to method by a variable which is processed or changed and the changed value is passed back to the Caller. Thus it combines both IMPORTING and EXPORTING function.There are a couple of ways in which CHANGING can be used:CHANGING myvar or CHANGING VALUE(myvar)By using, CHANGING myvar , the value of a variable is changed and passed back to the caller or main program.Using ... Read More

Determining table or structure of an ABAP code

Smita Kapse
Updated on 30-Jul-2019 22:30:20

345 Views

abc would be a table and its line will be of type PPP. For structure, you need to code asabc TYPE PPP

Using SQL statements in ABAP Programming and Database performance

Anvi Jain
Updated on 18-Dec-2019 07:57:43

350 Views

The basic principle for performance is that there should be minimal data transferred between application server and database.For your first question, I would suggest to select only the fields that are required. So, don’t use SELECT * in case you don’t require all the fields. But in specific scenarios, if you have multiple SELECT statements at various parts of your program querying the same table but different columns, it is advisable to use SELECT * as the output is stored in a buffer till your program execute. In that case, when you come to subsequent select, the system uses the ... Read More

Standards for maintaining Customer Repository Objects in SAP

Nitya Raut
Updated on 30-Jul-2019 22:30:20

176 Views

The Y-namespace is meant to be used for centrally developed solutions or also known as head office while the Z-namespace is used for local developed solutions or also known as branch office. But at the end of day, it all depends on the developer how he uses it.

Determining the current client in SAP using code

Jennifer Nicholas
Updated on 18-Dec-2019 07:52:36

1K+ Views

You can find the current client in sy-mandt.ExampleHere is the code you can write for same.IF sy-mandt = ‘001’. *do A. ELSE. *Do B. ENDIF.

Finding a particular value in internal table itab in ABAP

Vrundesha Joshi
Updated on 09-Dec-2019 06:20:33

2K+ Views

you can use a READ statement in combination with TRANSPORTING NO FIELDS. This will skip the values to be transferred to the work area and avoid the loop. Here is an example:READ TABLE itab WITH KEY FIELD = 'ABC' TRANSPORTING NO FIELDS. IF SY-SUBRC = 0. "Field Match.” ENDIF.

“Where” clause not working while updating database record in ABAP

Rishi Rathor
Updated on 18-Dec-2019 07:55:51

531 Views

I think there is a syntax problem in your code. The colon in the first statement adds multiple following statements and hence updating all records in the first statement.Remove the colon in the first line and comma between SET specifiers.ExampleTry using the following statement after update:UPDATE zemployee_jat    SET prijs = zemployee_jat-prijs       naam = zemployee_jat-naam WHERE employeeid = zemployee_jat-motorid.

Advertisements