Insert Rows to an Internal Table Through Debug in SAP ABAP

Sai Subramanyam
Updated on 12-Mar-2020 12:35:38

4K+ Views

This can be done using any of the below methods −In the Tools window → Navigate to Service menu → you can add a new rowThis can also be done by using T-Code SE11 → Select the relevant table. Navigate to Table Content → DisplayMake sure Debug mode is ON. Click on Pencil to get Edit mode.Type Edit in Value column to edit the table in Debug mode. Press F8 (Continue).Note that for edition it is EDIT and for deletion, it is DELE as shown in below snapshot.This will open the record. You can change the value and save it.

Call RFC in SAP Using an ETL Job

Samual Sam
Updated on 12-Mar-2020 12:34:24

399 Views

You need to expose RFC as Web Service in SAP system. To create a Web Service, you have to open Transaction SE80 and this will open ABAP Workbench.You can define Web Service for −RFC Capable function modulesFunction GroupsBAPIsMessage InterfacesIn Web Service Wizard, enter the name and short text and select Function Module as Endpoint TypeWhen you navigate to configure service, you need to select SOAP profile from drop down as below −

Fix Error: Cannot Concatenate Int and Str in Python

Ayush Gupta
Updated on 12-Mar-2020 12:31:58

120 Views

This error is coming because the interpreter is replacing the %d with i and then trying to add 1 to a str, ie, adding a str and an int. In order to correct this, just surround the i+1 in parentheses. exampleprint("\ Num %d" % (i+1))

Integrate Node.js with SAP HANA System

Srinivas Gorla
Updated on 12-Mar-2020 12:31:12

469 Views

You can insert data into HANA database using node.js. You can also connect to SAP HANA database via JDBC driver.To connect via JDBC, you need to install JDBC driver ngdbc.jar. This driver is installed as part of SAP HANA client installation. Ngdbc.jar file is available at this location −C:\Program Files\sap\hdbclient\ on Windows platforms /usr/sap/hdbclient/ on Linux and UNIX platformsNext is to add ngdb.jar to the classpath and write a Java program to connect to a database and execute SQL command.jdbc:sap://myServer:30015/?autocommit=falseYou can also add one or more failover servers by adding additional hosts.ExampleFollowing is an example of connecting SAP HANA Server ... Read More

Suppress Duplicate Entries in Classical and ALV Report in SAP ABAP

Nikitha N
Updated on 12-Mar-2020 12:29:12

1K+ Views

To delete adjacent duplicate entries in an internal table, you can use the below command −DELETE ADJACENT DUPLICATE ENTRIES FROM                      [COMPARING ...                          |ALL FIELDS].Also, consider the below points −The system deletes all adjacent duplicate entries from the internal table . Entries are duplicate if they fulfill one of the following compare criteria:Without the COMPARING addition, the contents of the key fields of the table must be identical in both lines.If you use the addition COMPARING ... Read More

Get MIN and MAX Dates in SAP Web Intelligence Table

Nikitha N
Updated on 12-Mar-2020 12:27:12

1K+ Views

This can be achieved by creating an Indicator as per condition you are looking for- minimum drawn date time for POST-Test and Maximum drawn date time for PRE-Test. Once you create this indicator, it will show “Y” for the rows highlighted in yellow as per condition and “N” for other rows.=If ([Drawn date] = Min([Drawn date]) In ([Patient ABO/RN])  Where ([PrePost] = "POST") )  Or ([Drawn date] = Max([Drawn date]) In ([Patient ABO/RN])  Where ([PrePost] = "PRE")  )  Then "Y" Else "N"You need to apply a filter for rows with indicator value- “Y”.Other option is you can create 3 variables as ... Read More

Loading External Libraries in SAP UI5

Nikitha N
Updated on 12-Mar-2020 12:26:25

2K+ Views

External libraries can be inserted using a file in a normal script tag. SAP UI5 also supports JQuery so it can be done by extending your heading from the controller.var s = document.createElement("script"); s.type = "text/javascript"; s.src = "http://domainname.com/somescript"; $("head").append(s);You can also add any external file using the following command −jQuery.sap.registerModulePath("ModuleName","http://Domainname.com"); jQuery.sap.require("ModuleName.jsFileName");You can navigate to the following path for more details−https://blogs.sap.com/2016/04/22/include-external-javascript-library-in-sapui5/

Connecting SAP in Ruby on Rails

Priya Pallavi
Updated on 12-Mar-2020 12:25:33

565 Views

Try downloading nwrfcsdk library from sap and follow instructions mentioned in Readme to perform the installation. Use function Module like ENQUEUE_READ to perform remote call as below −#!/usr/bin/env ruby require 'sapnwrfc' require 'rubygems' conn = SAPNW::Base.rfc_connect(:client => '800',                                :sysnr  => '01',                                :lang   => 'EN',                                :ashost => 'hostname',               ... Read More

Create Multi-Resolution Favicon with GIMP

Abhinanda Shri
Updated on 12-Mar-2020 12:24:07

2K+ Views

Favicons are generally 16x16, but these days we can multi-resolution favicons also. To create a multi-resolution favicon, first, you need to create the highest-resolution version of the favicon, with an image of 256 × 256 px. Reduce the size of multiple resolutions and export, 16x16, 32x32.Open GIMP and from the File menu, open the 32x32 version of the Favicon. After that rightclick on the image and Open the other Favicon icons as layers,After that Export the image as Favicon, with extension .ico and add it to the website using the following code −

Use novalidate Attribute in HTML

Abhinanda Shri
Updated on 12-Mar-2020 12:21:10

388 Views

The novalidate attribute in HTML is used to signify that the form won’t get validated on submit. It is a Boolean attribute.You can try to run the following code to learn how to use novalidate attribute in HTML. In the following example, if you will add text in the field, then it won’t show an error.ExampleLive Demo                     HTML novalidate attribute                                                 Student Name                     Rank                                          

Advertisements