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 serialize. | |
"importing io_proxy type ref to cl_proxy_basis | |
"raising cx_ai_system_fault | |
data: | |
lo_async_messaging type ref to if_wsprotocol_async_messaging. | |
queue = get_queue_name( ). | |
check not queue is initial. |
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
EXECUTE PersonsListByPostcode @pc = '6000' |
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
CREATE PROCEDURE PersonsListByPostcode @pc nvarchar(255) | |
AS | |
SELECT * | |
FROM T_PERSON | |
WHERE postcode = @pc |
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
alter procedure PersonDelta | |
as | |
SET NOCOUNT ON; | |
/* temp table - fill with changes between tables based on hash field */ | |
declare @rows table(name nvarchar(255), street nvarchar(255), city nvarchar(255), postcode nvarchar(255), state nvarchar(255), hash nvarchar(255)); | |
insert into @rows (name, street, city, postcode, state, hash) | |
select p.name, p.street, p.city, p.postcode, p.state, p.hash from T_PERSON as p left outer join T_PERSON_HIST as h on p.name = h.name where p.hash <> isnull(h.hash,'-1'); | |
/* merge the cahnges into the second table */ | |
merge into T_PERSON_HIST as target using @rows as source | |
on target.name = source.name |
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
package pi_test_purchaseorder_es; | |
import com.sap.aii.mapping.api.*; | |
import java.io.*; | |
import java.util.*; | |
import com.sap.aii.mappingtool.tf7.rt.*; | |
import com.sap.aii.mapping.lookup.*; | |
import java.lang.reflect.*; | |
import com.sap.ide.esr.tools.mapping.core.LibraryMethod; | |
import com.sap.ide.esr.tools.mapping.core.ExecutionType; |
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
sap.ui.getCore().byId("element_id") |
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
package week7 | |
class Pouring(capacity: Vector[Int]) { | |
// States | |
type State = Vector[Int] | |
val initialState = capacity map (x => 0) | |
// Moves |
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
package week7 | |
object primes { | |
//infinite stream builder | |
def from(n: Int): Stream[Int] = n #:: from(n + 1) | |
//> from: (n: Int)Stream[Int] | |
//infinte stream of all natural numbers | |
val nats = from(0) //> nats : Stream[Int] = Stream(0, ?) | |
val m4s = nats map (_ * 4) //> m4s : scala.collection.immutable.Stream[Int] = Stream(0, ?) |
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. |
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'. |