Tutorialspoint

Keyboard shortcut for double clicking a selected object in SAP

Is there any keyboard shortcut for double-clicking a selected object (SAP)? 
Sharon Christine
Answered on 27th Dec, 2017

You can use F2 for this.

Combining fields in CDS view in SAP ABAP

I am using SAP ABAP 7.4 sp5 to use CONCAT function to combine fields in CDS view. Is there a way to combine two fields with space separating them? I tried using ‘ ‘ but it is trimme.....
karthikeya Boyini
Answered on 27th Dec, 2017

With the use of SAP ABAP 7.5, you can make use of the CONCAT_WITH_SPACE function. The above code can be simplified like this:CONCAT_WITH_SPACE( bp.name_first, bp.name_last, 1 )

Finding location of uploaded file using SAP GUI_upload

How can I check the location of the uploaded file to an Application server using a gui_upload function in SAP system? 
Lakshmi Srinivas
Answered on 27th Dec, 2017

When you upload a file using the gui_upload function, the file is not uploaded to the Application server. The file is read from presentation layer to an internal table.Following code can be used to call a gui_upload function to read the file to an internet table:lv_filename = p_filebp. CLEAR lt_data_tab. ... Read More

Difference between SAP Crystal Reports and CR for Visual Studio

What is the difference between Crystal Reports for Visual Studio and Crystal Reports for SAP?
Monica Mona
Answered on 27th Dec, 2017

Crystal Reports for Visual Studio 2010 comes free and you can develop as many reports and can host runtime engine without any cost. Now Crystal Reports has been excluded from Visual Studio by default and you need to download it free from SAP site.You can use the following link for ... Read More

Using SSO logon tickets in SAPUI5

How can we use SSO/ MYSAPSSO2 logon tickets with SAPUI5?
karthikeya Boyini
Answered on 27th Dec, 2017

When your proxy has SSO token, you should use SET-COOKIE header to pass SSO token to the client.Example:set-cookie: MYSAPSSO2=DFOKJLDM.....AJLBhHcvA%3d%3e; path=/; domain=xxxxx.sap.comIt should be passed to client browser from proxy and domain name has to be changed to the proxy as shown below:set-cookie: MYSAPSSO2=DFOKJLDM.....AJLBhHcvA%3d%3e; path=/; domain=PROXYDOMAIN.comWhen next time your browser calls ... Read More

Displaying popup in SAP STMS

I have to show a popup for a legend like in STMS transaction I am aware how to write this tab with WRITE statement, but how can this be displayed it in a popup?
Sharon Christine
Answered on 27th Dec, 2017

First of all use CALL SCREEN ... STARTING AT ..., then in PBO processing, use Suppress Dialog to bypass the screen (dynpro) processor and an empty screen is not displayed, then use LEAVE TO LIST-PROCESSING in PAI event. Now you can follow it with your WRITE statements to display it ... Read More

Hiding SAP ABAP table control column

Is it possible to hide ABAP Table control column? How?
Swarali Sree
Answered on 27th Dec, 2017

You can use the structure CXTAB_CONTROL that has the following components:INVISIBLE C(1) Flag (X or blank) for visibility of entire table control.You can use sample program: RSDEMO02 that allow you to modify properties of table control and view the results.When you use this Table control INVISIBLE, this changes the content ... Read More

How do we specify the buffer size when opening a file in Python?

How do I specify the buffer size when opening a file in Python?
Rajendra Dharmkar
Answered on 27th Dec, 2017

If you look at the function definition of open - open(name[, mode[, buffering]]), you'll see that it takes 3 arguments in Python 2, third one being buffering. The optional buffering argument specifies the file’s desired buffer size: 0 means unbuffered, 1 means line buffered, any other positive value means use ... Read More

Finding index of rows and columns in SAP

In my implementation, I need to identify the index of the row as well column when I click on a button in the cell. How can it be done? (SAP)
Samual Sam
Answered on 27th Dec, 2017

To identify the index of the row, you can use the property “indexOfRow” to get the row of the clicked button.All the buttons will be in the same column, so it does not make sense to get the column index, but if you still need to get the column index ... Read More

Getting unauthorized exception in SAP ABAP

When I run the application for the first time it works fine however when I run the application again, I get an unauthorized exception in my SAP ABAP code.
Samual Sam
Answered on 27th Dec, 2017

To fix this issue, you need to add try/catch response to the code. When you don’t include an authorization header, it results in an error 401 from the server.try {     CatalogService.CatalogChangeClient service =      new CatalogService.CatalogChangeClient();     service.ClientCredentials.UserName.UserName = "username";     service.ClientCredentials.UserName.Password = "password";   ... Read More

What does the 'U' modifier do when a file is opened using Python?

What does the 'U' modifier do when a file is opened in Python?
Rajendra Dharmkar
Answered on 27th Dec, 2017

In a Python with universal newline support open() the mode parameter can also be "U", meaning "open for input as a text file with universal newline interpretation". This is needed for crossplatform support as newlines on Unix os are represented by a single character \n while those on windows are ... Read More

Finding code where admin user is created in SAP Hybris

I want to find part of the code where admin user is created in SAP Hybris system. I tried to search for files but could not find it?
Sai Subramanyam
Answered on 27th Dec, 2017

There is a method addUserRights at below path in which it is done.hybris/bin/platform/bootstrap/bin → ybootstrap.jar → DMLRecordFactory

What does the 'b' modifier do when a file is opened using Python?

What does the 'b' modifier do when a file is opened in Python?
Rajendra Dharmkar
Answered on 27th Dec, 2017

'b' modifier opens the file specified in binary mode. "binary" files are any files where the format isn't made up of readable characters. Binary files can range from image files like JPEGs or GIFs, audio files like MP3s or binary document formats like Word or PDF. In Python, files are ... Read More

What are the modes a file can be opened using Python?

What are the modes a file can be opened in Python?
Rajendra Dharmkar
Answered on 27th Dec, 2017

Files in python can be opened in the following modes.Mode   Description'r'             Read mode. (default)'w'            Write mode. Creates a new file if it does not exist or truncates the file if it exists.'x'             ... Read More

Seeing list of all program screens in SAP ABAP

In SAP ABAP, how can I see a list of all the program screens using an initial screen? 
Sai Subramanyam
Answered on 27th Dec, 2017

If you want to check all Dynpros belongs to one program, you can use table D020S. D020S is known as SAP Table to store screen sources information. This is available within R/3 SAP systems depending on the version and release level. To display or maintain this table, use T-code SM30 ... 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.