Filter Output Columns in Table in SAP Application

SAP ABAP Expert
Updated on 12-Jun-2020 09:04:29

270 Views

I think there can be a better option to do this. What you can try is fetch only the fields of the table which match the fields present in the table. Do not fetch all the fields of the table but the selected fields.// Here Table refers to the JCo.Table for (int j = 0; j < Table.getNumRows(); j++) {    Table.setRow(j);    Iterator iter = displayField.iterator();    // fetch columns present in the current record    while(iter.hasNext()){       String column = (String) iter.next();       String value = Table.getString(column);       // perform your logic here    } }

Export Data from a SAP System

SAP ABAP Expert
Updated on 12-Jun-2020 09:03:49

899 Views

Your question seems to be uncertain. SAP stores data in database and SAP database structure is not conventional and quite complex.  You need to code separately on top of SAP to support export data to outside world and you are free to choose format of your choice.Identify the user specific SQVI queries in ABAP/BAPI. With use of QucikViewer (SQVI), it is a tool for generating reports. SAP Query offers the user a whole range of options for defining reports.Transaction Code: SQVI (Quick Viewer)You can check out this link to know more how to generate report:Create Report by usingsqviRead More

Differentiate Dynamic Parameter from Others in SAP

SAP ABAP Expert
Updated on 12-Jun-2020 09:02:48

959 Views

It’s a straight forward way to do the same.You have to go to the transaction RZ11 for the parameter, if the dynamic field checkbox is checked it means that the parameter is a dynamic parameter otherwise it is not a dynamic parameter meaning it is a static parameter.

What is Function in JavaScript

Smita Kapse
Updated on 12-Jun-2020 09:02:44

320 Views

The function* declaration is used to define a generator function. It returns a Generator object. Generator Functions allows execution of code in between when a function is exited and resumed later. So, generators can be used to manage flow control in a code.SyntaxHere’s the syntax −function *myFunction() {} // or function* myFunction() {} // or function*myFunction() {}Let’s see how to use generator functionExampleLive Demo                    function* display() {             var num = 1;             while (num < 5)       ... Read More

Bootstrap Grid for Multiple Devices

Chandu yadav
Updated on 12-Jun-2020 09:02:31

472 Views

The following is an example showing the usage of Grid for multiple devices −Example Live Demo           Bootstrap Example                                          Hello, world!                                      Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do                   eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut       ... Read More

Use jQuery noConflict Method

Ricky Barnes
Updated on 12-Jun-2020 09:01:23

248 Views

jQuery.conflict() method allows you to use multiple frameworks, while using jQuery. The $ sign is used for jQuery, but what if other frameworks also use the same $ sign; this may create issues and conflict. To avoid this, jQuery issued the noConflict() method. The method releases the $ sign to be used my other JavaScript frameworks. Use jQuery with the name, jQuery.ExampleYou can try to run the following code to learn how to work with the noConflict() method −Live Demo $.noConflict(); jQuery(document).ready(function(){    jQuery("button").click(function(){       jQuery("h3").text("jQuery works perfectly");    }); }); ... Read More

Write a Custom jQuery Plugin

Ricky Barnes
Updated on 12-Jun-2020 09:00:13

308 Views

To create a jQuery plugin, first create a file named jquery-demoplugin.js with the following code. This is our plugin code. Here, demoplugin is the name of our plugin. You can add any name to your custom plugin −(function ( $ ) {    $.fn.demoplugin = function( options ) {       var web = $.extend({          name: 'example'       }, options );       return this.append('Website: ' + web.name + '.com');    }; }( jQuery ));Now, to load it, add to the HTML file, new.html −    $( document ).ready(function() {       $( '#content ).demoplugin();    });

Offset Columns in Bootstrap

George John
Updated on 12-Jun-2020 08:59:08

6K+ Views

An offset is used to push columns over for more spacing. To use offsets on large displays, use the .col-md-offset-* classes. You can try to run the following code to learn how to work with offset columns in Bootstrap −Example Live Demo           Bootstrap Example                                          Heading One                                      This is demo text. This is demo text.                                

Purpose of Wrapping JavaScript Files in Anonymous Functions

Anvi Jain
Updated on 12-Jun-2020 08:58:55

1K+ Views

The purpose of wrapping is to a namespace and control the visibility of member functions. It wraps the code inside a function scope and decreases clashing with other libraries. This is what we call Immediately Invoked Function Expression (IIFE) or Self Executing Anonymous Function.SyntaxHere’s the syntax −(function() {    // code })();As you can see above, the following pair of parentheses converts the code inside the parentheses into an expression −function(){...}In addition, the next pair, i.e. the second pair of parentheses continues the operation. It calls the function, which resulted from the expression above.

Use Multiple Versions of jQuery on the Same Page

Amit D
Updated on 12-Jun-2020 08:58:44

5K+ Views

Yes, you can use multiple versions of jQuery on the same page. To avoid any kind of conflict, use the jQuery.noConflict() method. jQuery.noConflict() method allows you to use multiple frameworks, while using jQuery. Other JavaScript frameworks include Ember, Angular, Backbone, etc.The $ sign is used for jQuery, but what if other frameworks also use the same $ sign; this may create issues and conflict. To avoid this, jQuery issued the noConflict() method. The method releases the $ sign to be used my other JavaScript frameworks. Use jQuery with the name, jQuery.With this, you can also use multiple versions of jQuery ... Read More

Advertisements