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 copy_structure . | |
* parameters | |
* i_new type any | |
* i_old type any | |
* final - changing type any | |
* copy by component only if the new value is populated else take | |
* the existing component | |
DATA: _componentno TYPE i VALUE 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
TYPES: BEGIN OF line, | |
date_from TYPE d, | |
time_from TYPE t, | |
date_to TYPE d, | |
time_to TYPE t. | |
INCLUDE TYPE crmst_date_btil. | |
TYPES: END OF line. | |
CREATE DATA rv_sample TYPE line. |
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 ENABLE_OCA_BUTTONS. | |
DATA: lv_status TYPE j_estat | |
, lo_current TYPE REF TO if_bol_bo_property_access | |
, table_rows TYPE i | |
. | |
FIELD-SYMBOLS: <status> type RSDSSELOPT. | |
* default condition to false and change if in correct status |
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 z_hello_datetime. | |
data: | |
dt type REF TO zcl_datetime | |
, fs type string | |
, ts type timestamp | |
. | |
get time STAMP FIELD ts. |
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
* the last two buttons are displayed only if there is data in the table | |
lv_btn_enabled = abap_true. | |
lv_col_wrapper = typed_context->builactivity->collection_wrapper. | |
IF lv_col_wrapper->size( ) > 0. | |
lv_btn_enabled = abap_false. | |
ENDIF. |
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
<?php | |
/** | |
* @author Nigel James | |
* @email nigel.james@sapinsidetrack.org | |
* @date 15 Apr 2013 | |
* | |
* Create an image for SAP Inside Track events with Year and City | |
*/ | |
function LoadPNG($pngName) |
NewerOlder