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

Uploading an excel file in Web Dynpro for ABAP

I am uploading an excel file in Web Dynpro for ABAP and it comes in number format instead of date. How this can be resolved?
SAP Expert
Answered on 5th Dec, 2017

Note that an Excel stores data in number format and to display in date format, you have to show it format as a date. You can also try using this formula: TEXT(31421,"YYYY-mm-dd") and the date should display correctly.

Why do we use jQuery over JavaScript?

I have worked on JavaScript before, and heard about the usage of jQuery. Why developers prefer jQuery over JavaScript? What are the benefits of using jQuery over JavaScript for the same proper.....
David Meador
Answered on 5th Dec, 2017

jQuery is a JavaScript library, so it operates on top of JavaScript. It cannot exist on its own, so you can't use one over the other. You can use just JavaScript or JavaScript and jQuery. jQuery was introduced to make development with JavaScript easier. It will reduce the development time. ... Read More

Creating a Dashboard from Webi Report

I have to create a SAP Business Objects dashboard from a Web Intelligence report. How I can do this? Any direct link is available over internet?
SAP Expert
Answered on 5th Dec, 2017

Yes, you can use Webi report in Dashboard using Web Service URL. You can use that URL in dashboard. To get URL, you need to select table in Webi report -> Right click Publish.

Not able to delete Server Intelligence Agent SIA in CMS

I want to delete below service in CCM box. I tried selecting this and clicking on delete “X” button I get an error message: “Failed to locate a node with name BIAPPPROD11 in.....
SAP Expert
Answered on 5th Dec, 2017

I think you can delete it from Windows Services. You can use below steps to delete this service. Open Central Configuration manager (CCM) and stop the Server Intelligence Agent (SIA) to be deleted. Next is to go to Windows Start > Run and type in "services. MSc" without ... Read More

Checking SAP Business One installation programmatically

I want to check if SAP Business One is installed using a program. I have a WinForm application that connects to SAP Business One SDK. Is there a way to check?
SAP Expert
Answered on 5th Dec, 2017

You can check SAP Business One installation using below code: Public Function isSapBusinesOneClientInstalled() As Boolean Try SAP Business One Application Dim type As Type = Type.GetTypeFromCLSID(New Guid("632F4591-AA62-4219-8FB6-22BCF5F60088")) Dim ... Read More

Modifying or Executing SAP jobs using .NET Connector

There are few scheduled jobs in SAP system and I want to execute or modify the timings of execution of these jobs via .NET Connector. I know how to connect to SAP system using .NET Is it poss.....
SAP Expert
Answered on 5th Dec, 2017

In SAP system, you have an external BAPI that can be called to manage SAP jobs, check this FM: "BAPI_XBP_JOB". You can use BAPI_XBP_JOB* function modules to create/schedule a job to run the query. For more details, you can refer below link − BAPI_XBP_JOB There are various FM’s that can ... Read More

How to link jQuery from Google CDN?

I have set jQuery on local machine, but it’s cumbersome. I want to use CDN for the same purpose for faster loading of web page. Environment can be set for jQuery using Microsoft or Googl.....
David Meador
Answered on 5th Dec, 2017

To link jQuery from Google CDN, add the following in the srcattribute of the scripttag. https://ajax.googleapis.com/ajax/libs/jquery/3.2.1/jquery.min.js Here, we are using Google CDN version of the library. You can try to run the following code to learn how to use Google CDN to link jQuery. Example Live Demo <html> ... Read More

Joining cobk and coep table using Inner join taking too long

I am placing an Inner join on cobk and coep table to get data in an internal table but it is taking too long. I also tried to get data from db view COVP but it is also taking long time. SELECT.....
SAP Expert
Answered on 5th Dec, 2017

You can make use of T-Code: SE11 to check what indexes are available for table COEPFor one COEP record that you have the (now) 5 criteria for, navigate to T-Code: SE16 pass the selections and run to check how long it takes.To improve performance, you can also create an additional ... Read More

How do we create multiline comments in Python?

How do we create multiline comments in Python? What syntax is used in Python do comment a block of statements in a Python script?
Pythonic
Answered on 22nd Dec, 2017

Comment is a piece of text in a computer program that is meant to be a programmer-readable explanation or annotation in the source code and not ignored by compiler/interpreter. In Python script, the symbol # indicates start of comment line. C like block comment (/* .. */) is not available ... Read More

How to Check Leap Year using Python?

How  to Check Leap Year using Python?                                          &nb.....
Jayashree
Answered on 27th Feb, 2018

Leap year comes after every four years. For normal year, if it is divisible by four, it is called leap year, whereas for century year, it should be divisible by 400. The following Python program shows whether the year is leap or notyr=int(input('enter year')) if yr%100==0: #century year     ... Read More

How to extract subset of key-value pairs from Python dictionary object?

How to extract subset of key-value pairs from Python dictionary object?                                  &n.....
Jayashree
Answered on 28th Feb, 2018

Use dictionary comprehension technique.We have dictionary object having name and percentage of students>>> marks = { 'Ravi': 45.23, 'Amar': 62.78, 'Ishan': 20.55, 'Hema': 67.20, 'Balu': 90.75 }To obtain dictionary of name and marks of students with percentage>50>>> passed = { key:value for key, value in marks.items() if value > 50 ... Read More

How to create a Python dictionary from text file?

How to create a  Python dictionary from text file?                                      &nbs.....
Jayashree
Answered on 28th Feb, 2018

Assuming a following text file (dict.txt) is present1 aaa2 bbb3 cccFollowing Python code reads the file using open() function. Each line as string is split at space character. First component is used as key and second as valued = {} with open("dict.txt") as f: for line in f:     ... Read More

How to create Python dictionary with duplicate keys?

How to create Python dictionary with duplicate keys?                                        .....
Jayashree
Answered on 28th Feb, 2018

Python dictionary doesn't allow key to be repeated. However, we can use defaultdict to find a workaround. This class is defined in collections module.Use list as default factory for defaultdict object>>> from collections import defaultdict >>> d=defaultdict(list)Here is a list of tuples each with two items. First item is found to ... Read More

How to create Python dictionary by enumerate function?

Explain enumerate function. How to create Python dictionary by enumerate function?                       
Jayashree
Answered on 28th Feb, 2018

Python enumerate() function takes any iterable as argument and returns enumerate object using which the iterable can be traversed. It contains index and corresponding item in the iterable object like list, tuple or string.Such enumerate object with index and value is then converted to a dictionary using dictionary comprehension.>>> l1=['aa', ... Read More

How to save a Python Dictionary to CSV file?

How to save a Python Dictionary to CSV file?                                          &.....
Pythonista
Answered on 2nd Mar, 2018

CSV (Comma Separated Values) is a most common file format that is widely supported by many platforms and applications.Use csv module from Python's standard library. Easiest way is to open a csv file in 'w' mode with the help of open() function and write  key value pair in comma separated ... Read More

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.