Please note, this is a STATIC archive of website www.tutorialspoint.com from 11 May 2019, cach3.com does not collect or store any user information, there is no "phishing" involved.
Tutorialspoint

Sort Datetime Type in SAP ABAP

I am working on ABAP project and I need to do sorting on some variables which are of date time types. , How can I get it done?
SAP ABAP Expert
Answered on 7th Dec, 2017

There are two operation LT (Less than) and GT (Greater Than) which you can use to perform basic comparisons between two variables.You can frame the logic as per your requirement whether you have a set of variables or a table. If it involves set of variables then you need to ... Read More

Filter output columns in Table in SAP application

I am working on SAP application which is returning data in the form of JCo.Table. The table consists of various columns but my requirement is to show only a set of columns which can change ove.....
SAP ABAP Expert
Answered on 7th Dec, 2017

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 ... Read More

Export Data from a SAP system

I am new to SAP and working on an existing application. I need to export some data from the application to the outside world. Can someone help me to identify the formats in which I can export .....
SAP ABAP Expert
Answered on 7th Dec, 2017

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 ... Read More

Identify SQVI queries formed by a user in SAP project

I am working on a SAP Project where I should be able to identify the set of SQVI queries which have been formed by a user.  These queries will be later used by an already existing applica.....
SAP ABAP Expert
Answered on 7th Dec, 2017

You need to use the function RSAQ_REMOTE_QUERY_CALL_CATALOG for fetching the list of SQVI queries for a user.

Differentiate dynamic parameter from others in SAP

As a part of the one of the requirements in the project, I should be able to identify the type of parameter. Is there a way in which I can identify whether the parameter in question is a dynam.....
SAP ABAP Expert
Answered on 7th Dec, 2017

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. Read More

How to use a variable in a string in jQuery?

I am working on jQuery and learning the usage of variables correctly. How can I use a variable in a string in jQuery? I am having the following string, , On the click of a link, I want to show.....
Ricky Barnes
Answered on 6th Dec, 2017

jQuery is a JavaScript library introduced to make development with JavaScript easier. Let us see how to use variable in a string using the html() method.You can try to run the following code to learn how to use variable in a string in jQuery:<!DOCTYPE html> <html> <head> <script src="https://ajax.googleapis.com/ajax/libs/jquery/3.2.1/jquery.min.js"></script> <script> ... Read More

Where do we use jQuery.noConflict() method?

How can I use the jQuery.noConflict() method to avoid the conflicts between frameworks? Where do we use the jQuery.noConflict() method correctly in the code (which section)?  I have the f.....
Ricky Barnes
Answered on 6th Dec, 2017

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 ... Read More

How to write a custom jQuery plugin?

I want to write a custom jQuery plugin. How can I create a custom plugin with a custom name? I want to create my own custom jQuery plugin. How can I create a custom jQuery plugin with a custom.....
Ricky Barnes
Answered on 6th Dec, 2017

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 ) {   ... Read More

How to use multiple versions of jQuery on the same page?

Can we add multiple versions of jQuery on the same web page? Will it be possible to work with them separately without conflicts? I want to include the following two versions of jQuery and want.....
Amit D
Answered on 6th Dec, 2017

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 ... Read More

How to use multiple JavaScript libraries along with jQuery?

While working around with JavaScript and jQuery, I added two JavaScript libraries in the following way: , Unfortunately the above isn’t working. How to correctly use multiple JavaScript .....
Amit D
Answered on 6th Dec, 2017

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. ... Read More

How to create a custom jQuery Plugin?

I want to create my own jQuery plugin. How can I create a custom jQuery plugin with a custom name? I have the following div: , I want the result of calling the plugin to get displayed inside t.....
Amit D
Answered on 6th Dec, 2017

To create a jQuery plugin, firstly create a file named jquery-myplugin.js with the following code. This is our plugin code. Here, myplugin is the name of our plugin.(function ( $ ) {       $.fn.myplugin = function( options ) {           var web = $.extend({   ... Read More

In SAP Workflow, Binding the receiver dynamically

I have created a SAP Workflow that sends an email when a Product Order is raised. Now I want to send an email to initiator’s manager i.e. binding the receiver dynamically in workflow. I .....
SAP Expert
Answered on 6th Dec, 2017

To bind receiver dynamically in Workflow, you have to write a Function Module that will provide you manager name of initiator. This FM should be put in public class to be used in Workflow. The provided value will be saved in any table of HR module.Then you need to call ... Read More

Selecting cut field value of SAP tables using JCo

I have to extract some information from SAP tables using Java Connector via RFC_READ_TABLE. Is there a way to do this? Let us say I only want first 100 chars of a field in SAP table.
Anil SAP Gupta
Answered on 6th Dec, 2017

If you are using FM RFC_READ_TABLE, it is not achievable. In order to read SAP tables or views, SAP RFC_READ_TABLE is used.You can probably write a different Function Module to perform this. Also refer this SAP Note link: Function module RFC_READ_TABLESAP Note

In SAP Crystal Reports, removing extra white space between details sections

In Crystal Report, when I go to Preview or see exported PDF file there is unused white space between details sections as shown in below image:
Anil SAP Gupta
Answered on 6th Dec, 2017

I think this can be resolved by navigating to Format Editor tab. You have to check "Can Grow", and deselect the Keep Object together in the subreport as shown in below.

Pull a list of Functional Location from SAP using BAPI

I have to pull a list of Functional Location from SAP using BAPI. I have written below code however when I run this, it returns an empty table. Dim sapFunc As New SAPFunctionsOCX.SAPFunctions .....
Anil SAP Gupta
Answered on 6th Dec, 2017

After you set objRfcFunc, try this before you call this and this will include these parameters.With objRfcFunc.tables("funcloc_ra")    If .RowCount < 1 Then .Rows.Add    .cell(1, 1) = "I"    .cell(1, 2) = "EQ"    .cell(1, 3) = "Your Func Loc"End With

Advertisements
Loading...
Unanswered Questions View All

We use cookies to provide and improve our services. By using our site, you consent to our Cookies Policy.