🤷♂️
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
INCLUDE mm61xval. | |
START-OF-SELECTION. | |
PERFORM run. | |
FORM run. | |
DATA: ls_mt61d TYPE mt61d, | |
ls_cm61x TYPE cm61x, |
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
DATA(lt_list) = cl_srt_wsp_account_factory=>if_srt_wsp_account_factory~list( ). | |
DATA(li_account) = cl_srt_wsp_account_factory=>if_srt_wsp_account_factory~get_user_account( | |
im_user_account_name = 'NAME' | |
im_user_account_type = 'LOCAL' ). | |
li_account->get_service_user_credentials( | |
IMPORTING | |
ex_username = DATA(lv_username) |
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
DATA(lt_plants) = VALUE range_t_werks_d( | |
FOR ls_plant IN get_plants( ) | |
( option = 'EQ' sign = 'I' low = ls_plant-werks ) ). | |
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 zreentrance_ticket. | |
START-OF-SELECTION. | |
PERFORM run. | |
FORM run. | |
DATA: lv_ticket TYPE string. | |
CALL FUNCTION 'CREATE_RFC_REENTRANCE_TICKET' |
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 ltcl_test DEFINITION FOR TESTING DURATION SHORT RISK LEVEL HARMLESS FINAL. | |
PUBLIC SECTION. | |
INTERFACES: | |
if_oo_adt_intrnl_classrun PARTIALLY IMPLEMENTED. | |
PRIVATE SECTION. | |
METHODS: main FOR TESTING. | |
ENDCLASS. "ltcl_Test |
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
List oooOptions = OOoServer.getDefaultOOoOptions(); | |
oooOptions.add("-nofirststartwizard"); | |
oooOptions.add("-headless"); | |
OOoServer oooServer = new OOoServer(openoffice, oooOptions); | |
BootstrapSocketConnector bootstrapSocketConnector = new BootstrapSocketConnector(oooServer); | |
xContext = bootstrapSocketConnector.connect(); |
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 zfib01. | |
PARAMETERs: p_n TYPE i DEFAULT 13. | |
START-of-SELECTION. | |
PERform run. | |
DATA: r TYPE i, b. | |
FORM run. | |
PERFORM f USING p_n r. | |
WRITE r. | |
ENDFORM. | |
* this form calculates fibonac numbers |
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
METHOD convert. | |
DATA lv_packed TYPE p LENGTH 4. | |
FIELD-SYMBOLS <lv_hex> TYPE x. | |
lv_packed = iv_int. | |
ASSIGN lv_packed TO <lv_hex> CASTING TYPE x. | |
rv_xstr = <lv_hex>. | |
ENDMETHOD. |
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 ztest. | |
START-OF-SELECTION. | |
PERFORM run. | |
FORM run. | |
DATA(lt_objects) = VALUE scit_objs( ( | |
objtype = 'CLAS' | |
objname = 'ZCL_CI_ABAP_NAMING' ) ). |
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
cl_message_helper=>check_msg_kind( | |
EXPORTING | |
msg = ir_exception | |
IMPORTING | |
t100key = DATA(ls_t100key) ) | |
methods TO_FPM_SEARCH_ERROR | |
importing |