This file contains hidden or 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 shapeless.stuff | |
| import shapeless._ | |
| import nat._ | |
| import ops.nat._ | |
| import ops.hlist._ | |
| /** | |
| * The goal is to determine whether a list of numbers is the appropriate length | |
| * (nine) and has a valid checksum, which is calculated by taking the sum of |
This file contains hidden or 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 y_test_json_output. | |
| DATA purchaseorders TYPE STANDARD TABLE OF ekko. | |
| SELECT * FROM ekko | |
| INTO TABLE @purchaseorders | |
| where bukrs = '2000' | |
| and ernam = 'JSCOTT'. | |
| DATA(lo_json_writer) = cl_sxml_string_writer=>create( type = if_sxml=>co_xt_json ). |
This file contains hidden or 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 MDG change pointers if email or street2 have changed | |
| try. | |
| data(mdg_cp) = value mdg_cp_s_cp( object_key = vendor ). | |
| "Create a MDG Change Pointer so Vendor can be replicated later via DRF (TCODE DRFOUT) | |
| call method cl_mdg_change_pointer=>create_cp | |
| exporting | |
| iv_business_object = 'ZM_VENDOR' | |
| is_change_pointer = mdg_cp. |
This file contains hidden or 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 y_test_abap_740. | |
| interface lif_test. | |
| methods: | |
| importing msg type string. | |
| endinterface. | |
| class lcl_test definition. | |
| public section. |
This file contains hidden or 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 catsxt_simple_text_editor. | |
| *"---------------------------------------------------------------------- | |
| *"*"Lokale Schnittstelle: | |
| *" IMPORTING | |
| *" REFERENCE(IM_TITLE) TYPE SYTITLE | |
| *" REFERENCE(IM_DISPLAY_MODE) TYPE XFELD DEFAULT SPACE | |
| *" REFERENCE(IM_START_COLUMN) TYPE I DEFAULT 10 | |
| *" REFERENCE(IM_START_ROW) TYPE I DEFAULT 10 | |
| *" CHANGING | |
| *" REFERENCE(CH_TEXT) TYPE CATSXT_LONGTEXT_ITAB |
This file contains hidden or 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
| @AbapCatalog.sqlViewName: 'ZPURITEMS' | |
| define view PurchaseOrderItem | |
| as select from ekko inner join ekpo on ekko.ebeln = ekpo.ebeln { | |
| key ekko.ebeln as id, | |
| key ebelp as item_no, | |
| lifnr as vendor, | |
| ernam as created_by, | |
| ekko.aedat as created_on, | |
| txz01 as text, |
This file contains hidden or 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 y_create_ppo_order. | |
| " | |
| " Sample program to create a PPO Order for error management. | |
| " | |
| " The PPO Component and Business Process is configured in SPRO | |
| " under Cross Application Components -> General Application | |
| " Functions -> Postprocessing Office. | |
| " | |
| " The OBJTPYE (ZJASON below) is what the PPO desktop (worklist) |
This file contains hidden or 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
| *----------------------------------------------------------------------* | |
| * CLASS ZCL_PPO_ORDER_ONCREATE DEFINITION | |
| *----------------------------------------------------------------------* | |
| * This BAdI implementation allows us to send a notification | |
| * whenever a Post-Processing Office Order is created. | |
| * | |
| * Emails are sent via an ALM alert, the PPO worklist is used to | |
| * determine who should receive the alert. | |
| * | |
| * PPO provides config to allow smartforms to be used but |
This file contains hidden or 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>test</title> | |
| <script id="sap-ui-bootstrap" | |
| xxxsrc="https://openui5.netweaver.ondemand.com/resources/sap-ui-core.js" |
This file contains hidden or 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
| isXMLView = function(oControl) { | |
| return oControl.getMetadata().getName() === "sap.ui.core.mvc.XMLView"; | |
| } |