🤷♂️
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 zif_abapgit_exit~http_client. | |
| DATA: lv_ticket TYPE text4096, | |
| ls_bapiret2 TYPE bapiret2. | |
| * Or create RFC calling function module CREATE_RFC_REENTRANCE_TICKET | |
| CALL FUNCTION '/PLMI/EASYDMS_CREATE_SSOTICKET' | |
| DESTINATION 'SOMETHING' | |
| IMPORTING | |
| ev_ticket = lv_ticket | |
| es_return = ls_bapiret2 |
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
| Escape:: | |
| ExitApp | |
| Return | |
| #n:: ; Windows Key + N | |
| index := 1 | |
| text = | |
| Loop, read, C:\Users\Desktop\input.txt | |
| { | |
| Loop, parse, A_LoopReadLine, %A_Tab% | |
| { |
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. |