Find Source Code of a Transaction in SAP

Lakshmi Srinivas
Updated on 17-Feb-2020 06:47:01

4K+ Views

First, go to System → Status to find the program name. Now use the transaction SE38 or SE80 to view the source code.Alternatively, you can activate the debugging mode before running your transaction by keying in /h.

Use of Custom Extractor in SAP R/3 System

Monica Mona
Updated on 17-Feb-2020 06:10:15

406 Views

In order to extract data from tables, you need to follow steps:Create a View of the required table from where the data needs to be extracted or view over multiple joined tablesNavigate to Transaction SE11 and Select option 'View'. It will ask for a name, name it something like 'View_TableName'.Select which all the fields of the tables needs to be extracted and click on activateGo to Transaction RS02 and create a transaction extractor and name it something like 'Trans_TableName'Specify the position of the created extractor in the component hierarchy.If you want to provide descriptions, add it. Specify the view name ... Read More

How MySQL Can Perform Case-Sensitive String Comparison

Ankith Reddy
Updated on 17-Feb-2020 06:01:43

693 Views

As we know that MySQL is not case-sensitive while comparing characters but it can be changed i.e. MySQL can perform case-sensitive string comparison if we will use BINARY keyword before the expression. Actually, BINARY keyword instructs MySQL to compare the characters in the string using their underlying ASCII values rather than just their letters. It can be illustrated with the following example from table ‘Employee’ having the following data −mysql> Select * from Employee; +----+--------+--------+ | ID | Name   | Salary | +----+--------+--------+ | 1  | Gaurav | 50000  | | 2  | Rahul  | 20000  | | 3 ... Read More

Difference Between on, live, and bind in jQuery

Amit D
Updated on 17-Feb-2020 06:01:22

437 Views

jQuery on() methodThe on( events [, selector ] [, data ], handler ) method binds a handler to an event (like click) for all current − and future − matched element. It can also bind custom events.Here is the description of all the parameters used by this method −events − Event types separated by spaces.selector − A Selector Stringdata − Data to be passed to the event handler in event.datahandler − A function to bind to the event on each of the set of matched elementsExampleYou can try to run the following code to learn how to work with on() method − ... Read More

Disable a Particular jQuery Event on a Page

Amit D
Updated on 17-Feb-2020 05:54:34

625 Views

To disable a particular jQuery event, use the jQuery off() method. You can try to run the following code to learn how to disable a particular jQuery event on a page −ExampleLive Demo $(document).ready(function(){     $("p").on("click", function(){         alert("You clicked it!");     });     $("button").click(function(){         $("p").off("click");     }); }); Click me Click above to generate an alert box. Click the below button to remove namespace, which won’t generate an alert box. Remove Event

Submit a Form Using jQuery Click Event

Amit D
Updated on 17-Feb-2020 05:53:22

8K+ Views

To submit a form using jQuery click event, you need to detect the submit event. Let’s submit a form using click event and without using click event.ExampleYou can try to run the following code to learn how to submit a form using jQuery click event −Live Demo $(document).ready(function(){     $(function() {    $('#submit1').click(function(e) {         e.preventDefault();         $("#Demo").submit();     });    $('#submit2').click(function(e) {         e.preventDefault();         $("#Demo").submit();     }); }); });     Team             Submit

Make Text Bold, Italic, and Underline Using jQuery

Amit D
Updated on 17-Feb-2020 05:17:22

4K+ Views

To make text bold, italic and underline using jQuery, use the jQuery css() method with the CSS properties font-style, font-weight and text-decoration. You can try to run the following code to learn how to make text bold, italic and underline using jQuery −ExampleLive Demo $(document).ready(function(){     $("p").on({         mouseenter: function(){         $(this).css({"font-style": "italic", "font-weight": "bold","text-decoration": "underline"});         }     });     }); Move the mouse pointer on the text to make text bold, italic and underline.

Change Font Family and Font Size with jQuery

Amit D
Updated on 17-Feb-2020 05:16:10

2K+ Views

To change the font family and font size with jQuery, use the jQuery css() method. The css property font-family and font-size is used. You can try to run the following code to learn how to change font family and font size with jQuery −ExampleLive Demo $(document).ready(function() {    $("p").on({      mouseenter: function() {         $(this).css({"font-family": "Arial, Helvetica, sans-serif", "font-size": "200%"});      }    });     }); Move the mouse pointer on the text to change the font family and size.

Change Text Color with jQuery

Amit D
Updated on 17-Feb-2020 05:13:42

13K+ Views

To change the text color with jQuery, use the jQuery css() method. The color css property is used to change text color.ExampleYou can try to run the following code to learn how to change text color with jQuery −Live Demo $(document).ready(function(){     $("p").on({         mouseenter: function(){             $(this).css("color", "red");         }     });     }); Move the mouse pointer on the text to change the text color.

Return Variable Value from jQuery Event Function

Amit D
Updated on 17-Feb-2020 05:10:34

3K+ Views

You cannot return variable value from jQuery event function. To understand the reason, let us see how data is passed, which was created in the event handler of a button click.ExampleLive Demo $(document).ready(function(){     var a=document.getElementById('demo');     a.addEventListener('click', function(){        var s='Hello World!';        var event = new CustomEvent('build', { 'detail': s });        this.dispatchEvent(event);      })     document.getElementById('parent').addEventListener('build', getData, true);     function getData(e){        alert(e.detail);     } }); Click me

Advertisements