This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!DOCTYPE HTML> | |
<html> | |
<head> | |
<meta http-equiv="X-UA-Compatible" content="IE=edge" /> | |
<meta charset="UTF-8"> | |
<title>Checkbox and Column Binding</title> | |
<script id="sap-ui-bootstrap" | |
type="text/javascript" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
method calculate_hash. | |
" importing: string_data TYPE STRING | |
" returning: hash_value TYPE STRING | |
" | |
" Calculate the hash value for a given string and return as Base64. | |
" | |
data: lo_digest type ref to cl_abap_message_digest, | |
converter type ref to cl_abap_conv_out_ce, | |
data_as_xstring type xstring. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
myapp.module = (function () { | |
// private variables and functions | |
var foo = "bar", | |
Constuctor; | |
// constructor | |
Constructor = function () { | |
}; | |
// prototype |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import com.eviware.soapui.support.types.StringToStringsMap | |
def authSucceeded = false | |
// get the request headers | |
StringToStringsMap headers = mockRequest.getRequestHeaders() | |
headers.each { | |
if (it.key.equals("Authorization")) { | |
String content = it.value | |
String[] contentArray = content.split() |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
def req = new XmlSlurper().parseText(mockRequest.requestContent) | |
log.info "Customer #${req.foo.data.CustomerNumber}" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
*"* use this source file for any type of declarations (class | |
*"* definitions, interfaces or type declarations) you need for | |
*"* components in the private section | |
types: | |
begin of event_rec, | |
evt_name type string, | |
sort_order type i, | |
end of event_rec. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// | |
// Write the mock request payload to a file for checking later... | |
// newWrite() is the important it to ensure you get a *new* file each time. | |
// | |
def filename = "C:\\MyScratchFolder\\soapUI projects\\Testing\\procon\\mock_po_activity_request.xml" | |
def file = new File(filename) | |
def w = file.newWriter() | |
w << mockRequest.requestContent | |
w.close() |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$(function() { | |
$('body').on('click', '#sap-ui-blocklayer-popup', function() { | |
var popover = sap.ui.getCore().byId('responsivePopover'); | |
popover.close(); | |
popover.destroy(); | |
}); | |
}); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
ls_transaction-tcode = 'BSSP_BOR_OBJECT'. | |
ls_transaction-gui_type = 'WIN_GUI'. | |
ls_transaction-system_alias = 'SAP_LocalSystem'. | |
ls_lpd_tx_para-key = 'SWO_TYPEID'. "'OBJKEY'. | |
ls_lpd_tx_para-value = ld_string+6(70). | |
INSERT ls_lpd_tx_para INTO TABLE ls_transaction-parameter. | |
ls_lpd_tx_para-key = 'OJ_NAME'. "'OBJTYPE'. | |
ls_lpd_tx_para-value = ld_string+76. | |
INSERT ls_lpd_tx_para INTO TABLE ls_transaction-parameter. | |
ls_lpd_tx_para-key = 'RFCDEST'. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
*&---------------------------------------------------------------------* | |
*& Report ZCCA_ENJOY_TXN_LAUNCHER | |
*& | |
*&---------------------------------------------------------------------* | |
*& This program is used to launch the sap enjoy transactions from FPM | |
*& apps. The enjoy transactions such as ME53N (pur. req. display) do | |
*& not allow proper passing of paramters within the webgui. However the | |
*& old sap transaction such as ME53 do (it requires a selection screen). | |
*& This program presents a simple selection screen which can be | |
*& populate with a document type and document number. |