These codes might help you −$('body').click(function(){ alert('test' )}) var foo = $.data( $('body').get(0), 'events' ).click // you can query $.data( object, 'events' ) and get an object back, then see what events are attached to it. $.each( foo, function(i,o) { alert(i) // guid of the event alert(o) // the function definition of the event handler });
If you have noticed, you can start notepad and calculator or other standard system utilities with the Windows Run or through the PowerShell console directly by typing just their names, but not the wordpad.exe, word, excel or any other application. It will throw an exception.For example, just type notepad.exe in PowerShell console and it will open the program but type wordpad.exe there will be an error.wordpad.exe − The term 'wordpad.exe' is not recognized as the name of a cmdlet, function, script file, or operable program. Check the spelling of the name, or if a path was included, verify that the ... Read More
If you have to use RFC, you can write RFC enabled function module. You can write a new FM that allows you to retrieve program source code. To start with, you need to create a structure as shown in below and based on which you have to create a table type. This table can be passed to a RFC function.Here shows a table type that you can use in Function Module:Next step is to create a function module with RFC-enabled. You have to pass parameters while creating function module.function zsrcex_extractor . *"---------------------------------------------------------------------- *"*"Local Interface: *" IMPORTING *" VALUE(PACKAGE_SIZE) ... Read More
You can use the PowerShell console to perform arithmetic operations, the same way the calculator does.To do the addition operation, 2+3Output − 5For complex, additional operations as well it is too quick.10024455 + 554668 + 9964455Output − 20543578Floating numbers operation, 5569899.65 + 554886.32Output − 6124785.97To perform subtract operation, 55564488556 - 55141256665 Output − 423231891With Integer and floating number subtraction, 5569899 - 554886.32Output − 5015012.68Divide Operation, 556989 / 554Output − 1005.39530685921Multiplication operation, 5533 * 445Output − 2462185Multiple Operations, (445 + 5443) * 332 / 32 Output − 61088When you perform any arithmetic operation, when values separated by command, it will give ... Read More
If you want to check the relation between different tables, you need to have a minimum read-only access to SAP system.Below is the link to refer information about dictionary structure −https://help.sap.com/saphelp_46c/helpdata/en/ea/e9a3bb4c7211d189520000e829fbbd/frameset.htm
You can overwrite the Powershell alias by redefining it. For example, if the alias is created Edit for Notepad.exe and if you want to overwrite it with another program, say wordpad.exe then use the below command.We will overwrite the Edit alias cmdlet with Wordpad.exe using the Set-Alias command. When you close the PowerShell session, it will remove newly created aliases and modified aliases.Set-Alias edit "C:\Program Files\Windows NT\Accessories\wordpad.exe"You cannot overwrite pre-defined aliases. It will throw an exception.For example, when you try to modify dir alias which points to Get-Content, error output will be as below.To remove newly created aliases without closing ... Read More
You have to use parameters correctly in the function. You have to import the file length to an integer value.CALL METHOD cl_gui_frontend_services=>gui_upload_file ... IMPORTING filelength = fleng_i ...Next is to write to a character type variable and add parameter i_attachment_size to a class of add attachment.CALL METHOD w_document->add_attachment EXPORTING i_attachment_size = fleng ...
You can use field “sy-mandt” to identify the client and then accomplish your requirement by doing something like below −IF sy-mandt = '002'. *do something for Client one ELSE. * do something for client two ENDIFThis field is included in almost all the tables which are client dependent so you can freely use this to fulfill your requirement.
Try replacing below statement with other mentioned −IRfcStructure articol = repo.GetStructureMetadata("Z_ITEMS") as IRfcStructure;You need to replace this by −
You have made one of the most common mistakes. In ABAP almost at all the places be careful with SPACE. You need to have a space in method calls so just have a space before and after the brackets as below −SELECT SINGLE * FROM EKPO WHERE EBELN = GT_MSEG-EBELN AND EBELP = GT_MSEG-EBELP AND NOT ( F1 = 'value' AND F2 = '0' )
Data Structure
Networking
RDBMS
Operating System
Java
iOS
HTML
CSS
Android
Python
C Programming
C++
C#
MongoDB
MySQL
Javascript
PHP