content
stringlengths
4
1.04M
input_ids
sequencelengths
2
1.02k
attention_mask
sequencelengths
2
1.02k
*&---------------------------------------------------------------------* *& Report ZIS_EXAMPLE *&---------------------------------------------------------------------* report zis_example. include zis_example_top. include zis_example_f01. start-of-selection. include = 'X'. perform perform_write.
[ 9, 5, 10097, 30934, 9, 198, 9, 5, 6358, 220, 1168, 1797, 62, 6369, 2390, 16437, 198, 9, 5, 10097, 30934, 9, 198, 13116, 1976, 271, 62, 20688, 13, 198, 198, 17256, 1976, 271, 62, 20688, 62, 4852, 13, 198, 17256, 1976, 271, 62, 20688, 62, 69, 486, 13, 198, 198, 9688, 12, 1659, 12, 49283, 13, 198, 198, 17256, 796, 705, 55, 4458, 198, 525, 687, 1620, 62, 13564, 13, 198 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
FUNCTION zcafm_customer_delete. *"---------------------------------------------------------------------- *"*"Local Interface: *"  IMPORTING *"     VALUE(PI_CUSTOMER) TYPE  KNA1-KUNNR *"     VALUE(PI_TEST) TYPE  CHAR1 *"  EXPORTING *"     VALUE(SE_RETURN) TYPE  BAPIRET2 *"---------------------------------------------------------------------- *----------------------------------------------------------------------* *  Function Module ZCAFM_CUSTOMER_DELETE * * *----------------------------------------------------------------------* * * * * * ID-Reference: MuleSoft templates * * * * * * This BAPI aims to set deletion flag for particular customer. If par. * * * PI_TEST is provided no change is performed. * * *----------------------------------------------------------------------* * * Change Log: * * * * * * Who Date Text * * * MMARUSKIN 03.07.2014 Init creation. * * *----------------------------------------------------------------------* * Global data declarations   CONSTANTS: lc_obj_task TYPE cmd_ei_object_task VALUE 'M', "M=Create/Change              lc_msg_cls  TYPE sy-msgid VALUE 'ZMULESOFTINTEGRATION'.   DATA: ls_customer  TYPE cmds_ei_extern,         lt_customers TYPE cmds_ei_main,         ls_mes_error TYPE cvis_message,         lv_par       TYPE sy-msgv1. *- Prepare data   ls_customer-header-object_instance-kunnr = pi_customer.   ls_customer-header-object_task = lc_obj_task.   ls_customer-central_data-central-data-loevm = 'X'.   ls_customer-central_data-central-datax-loevm = 'X'.   APPEND ls_customer TO lt_customers-customers.   lv_par = pi_customer. *- Run change of material via standard functionality   CALL METHOD cmd_ei_api=>maintain_bapi     EXPORTING       iv_test_run          = pi_test       iv_collect_messages  = 'X'       is_master_data       = lt_customers     IMPORTING       es_message_defective = ls_mes_error. *- Error handling   IF ls_mes_error-is_error IS INITIAL AND pi_test IS INITIAL.     COMMIT WORK AND WAIT.     CALL FUNCTION 'BALW_BAPIRETURN_GET2'     "okay: flag set!       EXPORTING         type      = 'I'         cl        = lc_msg_cls         number    = 100         par1      = lv_par         parameter = ''         field     = ''       IMPORTING         return    = se_return.   ELSE.     ROLLBACK WORK.                                     "#EC CI_ROLLBACK     CALL FUNCTION 'BALW_BAPIRETURN_GET2'     "problem: flag NOT set!       EXPORTING         type      = 'E'         cl        = lc_msg_cls         number    = 101         par1      = lv_par         parameter = ''         field     = ''       IMPORTING         return    = se_return.   ENDIF. ENDFUNCTION.
[ 42296, 4177, 2849, 1849, 89, 66, 1878, 76, 62, 23144, 263, 62, 33678, 13, 198, 9, 1, 10097, 23031, 198, 9, 1, 9, 1, 14565, 1849, 39317, 25, 198, 9, 1, 1849, 1849, 3955, 15490, 2751, 198, 9, 1, 8828, 1849, 39488, 7, 11901, 62, 34, 7759, 2662, 1137, 8, 1849, 25216, 1849, 1849, 42, 4535, 16, 12, 42, 4944, 24723, 198, 9, 1, 8828, 1849, 39488, 7, 11901, 62, 51, 6465, 8, 1849, 25216, 1849, 1849, 38019, 16, 198, 9, 1, 1849, 1849, 6369, 15490, 2751, 198, 9, 1, 8828, 1849, 39488, 7, 5188, 62, 26087, 27064, 8, 1849, 25216, 1849, 1849, 33, 17614, 26087, 17, 198, 9, 1, 10097, 23031, 198, 198, 9, 10097, 23031, 9, 198, 9, 1849, 1849, 22203, 1849, 26796, 1849, 57, 8141, 23264, 62, 34, 7759, 2662, 1137, 62, 7206, 2538, 9328, 1849, 9, 198, 9, 1849, 9, 10097, 23031, 9, 198, 9, 1849, 9, 1849, 9, 198, 9, 1849, 9, 1849, 2389, 12, 26687, 25, 1849, 44, 2261, 18380, 1849, 11498, 17041, 1849, 9, 198, 9, 1849, 9, 1849, 9, 198, 9, 1849, 9, 1849, 1212, 1849, 33, 17614, 1849, 1385, 82, 1849, 1462, 1849, 2617, 1849, 2934, 1616, 295, 1849, 32109, 1849, 1640, 1849, 3911, 13174, 1849, 23144, 263, 13, 1849, 1532, 1849, 1845, 13, 1849, 9, 198, 9, 1849, 9, 1849, 11901, 62, 51, 6465, 1849, 271, 1849, 41279, 1849, 3919, 1849, 3803, 1849, 271, 1849, 525, 12214, 13, 1849, 9, 198, 9, 1849, 9, 10097, 23031, 9, 198, 9, 1849, 9, 1849, 19400, 1849, 11187, 25, 1849, 9, 198, 9, 1849, 9, 1849, 9, 198, 9, 1849, 9, 1849, 8241, 1849, 10430, 1849, 8206, 1849, 9, 198, 9, 1849, 9, 1849, 12038, 1503, 2937, 42, 1268, 1849, 3070, 13, 2998, 13, 4967, 1849, 31768, 1849, 38793, 13, 1849, 9, 198, 9, 1849, 9, 10097, 23031, 9, 198, 198, 9, 1849, 22289, 1849, 7890, 1849, 32446, 24355, 628, 44320, 1849, 10943, 2257, 1565, 4694, 25, 1849, 44601, 62, 26801, 62, 35943, 1849, 25216, 1849, 28758, 62, 20295, 62, 15252, 62, 35943, 1849, 39488, 1849, 6, 44, 3256, 1849, 1, 44, 28, 16447, 14, 19400, 198, 17811, 8828, 1849, 44601, 62, 19662, 62, 565, 82, 1849, 1849, 25216, 1849, 1837, 12, 19662, 312, 1849, 39488, 1849, 6, 57, 44, 6239, 1546, 46, 9792, 12394, 7156, 49, 6234, 4458, 44320, 1849, 26947, 25, 1849, 7278, 62, 23144, 263, 1849, 1849, 25216, 1849, 28758, 82, 62, 20295, 62, 1069, 759, 11, 198, 8828, 33477, 1849, 2528, 62, 23144, 364, 1849, 25216, 1849, 28758, 82, 62, 20295, 62, 12417, 11, 198, 8828, 33477, 1849, 7278, 62, 6880, 62, 18224, 1849, 25216, 1849, 66, 4703, 62, 20500, 11, 198, 8828, 33477, 1849, 6780, 62, 1845, 8828, 4603, 1849, 25216, 1849, 1837, 12, 19662, 85, 16, 13, 628, 198, 198, 9, 12, 1849, 37534, 533, 1849, 7890, 628, 44320, 1849, 7278, 62, 23144, 263, 12, 25677, 12, 15252, 62, 39098, 12, 74, 20935, 81, 1849, 28, 1849, 14415, 62, 23144, 263, 13, 44320, 1849, 7278, 62, 23144, 263, 12, 25677, 12, 15252, 62, 35943, 1849, 28, 1849, 44601, 62, 26801, 62, 35943, 13, 44320, 1849, 7278, 62, 23144, 263, 12, 31463, 62, 7890, 12, 31463, 12, 7890, 12, 5439, 1990, 76, 1849, 28, 1849, 6, 55, 4458, 44320, 1849, 7278, 62, 23144, 263, 12, 31463, 62, 7890, 12, 31463, 12, 19608, 897, 12, 5439, 1990, 76, 1849, 28, 1849, 6, 55, 4458, 44320, 1849, 24805, 10619, 1849, 7278, 62, 23144, 263, 1849, 10468, 1849, 2528, 62, 23144, 364, 12, 23144, 364, 13, 44320, 1849, 6780, 62, 1845, 1849, 28, 1849, 14415, 62, 23144, 263, 13, 628, 198, 9, 12, 1849, 10987, 1849, 3803, 1849, 1659, 1849, 33665, 1849, 8869, 1849, 20307, 1849, 8818, 1483, 628, 44320, 1849, 34, 7036, 1849, 49273, 1849, 28758, 62, 20295, 62, 15042, 14804, 76, 32725, 62, 65, 15042, 198, 33477, 1849, 6369, 15490, 2751, 198, 8828, 1849, 1849, 452, 62, 9288, 62, 5143, 17811, 1849, 1849, 28, 1849, 14415, 62, 9288, 198, 8828, 1849, 1849, 452, 62, 33327, 62, 37348, 1095, 1849, 1849, 28, 1849, 6, 55, 6, 198, 8828, 1849, 1849, 271, 62, 9866, 62, 7890, 8828, 4603, 1849, 28, 1849, 2528, 62, 23144, 364, 198, 33477, 1849, 3955, 15490, 2751, 198, 8828, 1849, 1849, 274, 62, 20500, 62, 4299, 13967, 1849, 28, 1849, 7278, 62, 6880, 62, 18224, 13, 628, 198, 9, 12, 1849, 12331, 1849, 4993, 1359, 628, 44320, 1849, 5064, 1849, 7278, 62, 6880, 62, 18224, 12, 271, 62, 18224, 1849, 1797, 1849, 1268, 2043, 12576, 1849, 6981, 1849, 14415, 62, 9288, 1849, 1797, 1849, 1268, 2043, 12576, 13, 198, 33477, 1849, 9858, 36393, 1849, 33249, 1849, 6981, 1849, 15543, 2043, 13, 198, 33477, 1849, 34, 7036, 1849, 42296, 4177, 2849, 1849, 6, 33, 1847, 54, 62, 33, 17614, 26087, 27064, 62, 18851, 17, 6, 8828, 1849, 1, 482, 323, 25, 1849, 32109, 1849, 2617, 0, 198, 8828, 1849, 1849, 6369, 15490, 2751, 198, 8828, 33477, 1849, 4906, 8828, 1849, 1849, 28, 1849, 6, 40, 6, 198, 8828, 33477, 1849, 565, 8828, 33477, 1849, 28, 1849, 44601, 62, 19662, 62, 565, 82, 198, 8828, 33477, 1849, 17618, 33477, 1849, 28, 1849, 3064, 198, 8828, 33477, 1849, 1845, 16, 8828, 1849, 1849, 28, 1849, 6780, 62, 1845, 198, 8828, 33477, 1849, 17143, 2357, 1849, 28, 1849, 7061, 198, 8828, 33477, 1849, 3245, 8828, 1849, 28, 1849, 7061, 198, 8828, 1849, 1849, 3955, 15490, 2751, 198, 8828, 33477, 1849, 7783, 33477, 1849, 28, 1849, 325, 62, 7783, 13, 44320, 1849, 3698, 5188, 13, 198, 33477, 1849, 13252, 3069, 31098, 1849, 33249, 13, 39172, 39172, 8828, 1849, 1, 2, 2943, 1849, 25690, 62, 13252, 3069, 31098, 198, 33477, 1849, 34, 7036, 1849, 42296, 4177, 2849, 1849, 6, 33, 1847, 54, 62, 33, 17614, 26087, 27064, 62, 18851, 17, 6, 8828, 1849, 1, 45573, 25, 1849, 32109, 1849, 11929, 1849, 2617, 0, 198, 8828, 1849, 1849, 6369, 15490, 2751, 198, 8828, 33477, 1849, 4906, 8828, 1849, 1849, 28, 1849, 6, 36, 6, 198, 8828, 33477, 1849, 565, 8828, 33477, 1849, 28, 1849, 44601, 62, 19662, 62, 565, 82, 198, 8828, 33477, 1849, 17618, 33477, 1849, 28, 1849, 8784, 198, 8828, 33477, 1849, 1845, 16, 8828, 1849 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
*&---------------------------------------------------------------------* *& Report zdemo_ain_cl25 *&---------------------------------------------------------------------* *& This is the demo program written for book: *& ALV grid in nutshell by Łukasz Pęgiel *&---------------------------------------------------------------------* *&- 1st character ='C' if we're using custom colour or 'X' for default * *&- 2nd character = colour code (from 0 to 7) * *& 0 = background colour * *& 1 = blue * *& 2 = gray * *& 3 = yellow * *& 4 = blue/gray * *& 5 = green * *& 6 = red * *& 7 = orange * *&- 3rd character = intensified (0=off, 1=on) * *&- 4th character = inverse display (0=off, 1=on) * *&---------------------------------------------------------------------* report zdemo_ain_cl25. include zdemo_ain_include_screen. start-of-selection. types: begin of t_data, no_emphasize type spfli-carrid, standard type spfli-carrid, c100 type spfli-carrid, c101 type spfli-carrid, c110 type spfli-carrid, c111 type spfli-carrid, c200 type spfli-carrid, c201 type spfli-carrid, c210 type spfli-carrid, c211 type spfli-carrid, c300 type spfli-carrid, c301 type spfli-carrid, c310 type spfli-carrid, c311 type spfli-carrid, c400 type spfli-carrid, c401 type spfli-carrid, c410 type spfli-carrid, c411 type spfli-carrid, c500 type spfli-carrid, c501 type spfli-carrid, c510 type spfli-carrid, c511 type spfli-carrid, c600 type spfli-carrid, c601 type spfli-carrid, c610 type spfli-carrid, c611 type spfli-carrid, c700 type spfli-carrid, c701 type spfli-carrid, c710 type spfli-carrid, c711 type spfli-carrid, c000 type spfli-carrid, c001 type spfli-carrid, c010 type spfli-carrid, c011 type spfli-carrid, end of t_data. data flights type standard table of t_data. select carrid as no_emphasize up to 50 rows from spfli into corresponding fields of table @flights. loop at flights assigning field-symbol(<fl>). <fl>-standard = <fl>-c100 = <fl>-c101 = <fl>-c110 = <fl>-c111 = <fl>-c200 = <fl>-c201 = <fl>-c210 = <fl>-c211 = <fl>-c300 = <fl>-c301 = <fl>-c310 = <fl>-c311 = <fl>-c400 = <fl>-c401 = <fl>-c410 = <fl>-c411 = <fl>-c500 = <fl>-c501 = <fl>-c510 = <fl>-c511 = <fl>-c600 = <fl>-c601 = <fl>-c610 = <fl>-c611 = <fl>-c700 = <fl>-c701 = <fl>-c710 = <fl>-c711 = <fl>-c000 = <fl>-c001 = <fl>-c010 = <fl>-c011 = <fl>-no_emphasize. endloop. data(grid) = new cl_gui_alv_grid( i_parent = new cl_gui_custom_container( container_name = 'CC' ) ). data(fcat) = value lvc_t_fcat( ( fieldname = 'NO_EMPHASIZE' reptext = 'NO_EMPHASIZE' ) ( fieldname = 'STANDARD' emphasize = abap_true reptext = 'STANDARD' ) ( fieldname = 'C100' emphasize = 'C100' reptext = 'C100') ( fieldname = 'C101' emphasize = 'C101' reptext = 'C101') ( fieldname = 'C110' emphasize = 'C110' reptext = 'C110') ( fieldname = 'C111' emphasize = 'C111' reptext = 'C111') ( fieldname = 'C200' emphasize = 'C200' reptext = 'C200') ( fieldname = 'C201' emphasize = 'C201' reptext = 'C201') ( fieldname = 'C210' emphasize = 'C210' reptext = 'C210') ( fieldname = 'C211' emphasize = 'C211' reptext = 'C211') ( fieldname = 'C300' emphasize = 'C300' reptext = 'C300') ( fieldname = 'C301' emphasize = 'C301' reptext = 'C301') ( fieldname = 'C310' emphasize = 'C310' reptext = 'C310') ( fieldname = 'C311' emphasize = 'C311' reptext = 'C311') ( fieldname = 'C400' emphasize = 'C400' reptext = 'C400') ( fieldname = 'C401' emphasize = 'C401' reptext = 'C401') ( fieldname = 'C410' emphasize = 'C410' reptext = 'C410') ( fieldname = 'C411' emphasize = 'C411' reptext = 'C411') ( fieldname = 'C500' emphasize = 'C500' reptext = 'C500') ( fieldname = 'C501' emphasize = 'C501' reptext = 'C501') ( fieldname = 'C510' emphasize = 'C510' reptext = 'C510') ( fieldname = 'C511' emphasize = 'C511' reptext = 'C511') ( fieldname = 'C600' emphasize = 'C600' reptext = 'C600') ( fieldname = 'C601' emphasize = 'C601' reptext = 'C601') ( fieldname = 'C610' emphasize = 'C610' reptext = 'C610') ( fieldname = 'C611' emphasize = 'C611' reptext = 'C611') ( fieldname = 'C700' emphasize = 'C700' reptext = 'C700') ( fieldname = 'C701' emphasize = 'C701' reptext = 'C701') ( fieldname = 'C710' emphasize = 'C710' reptext = 'C710') ( fieldname = 'C711' emphasize = 'C711' reptext = 'C711') ( fieldname = 'C000' emphasize = 'C000' reptext = 'C000') ( fieldname = 'C001' emphasize = 'C001' reptext = 'C001') ( fieldname = 'C010' emphasize = 'C010' reptext = 'C010') ( fieldname = 'C011' emphasize = 'C011' reptext = 'C011') ). grid->set_table_for_first_display( exporting is_layout = value #( col_opt = abap_true ) changing it_fieldcatalog = fcat it_outtab = flights exceptions invalid_parameter_combination = 1 program_error = 2 too_many_lines = 3 others = 4 ). if sy-subrc eq 0. call screen 0100. endif.
[ 9, 5, 10097, 30934, 9, 198, 9, 5, 6358, 1976, 9536, 78, 62, 391, 62, 565, 1495, 198, 9, 5, 10097, 30934, 9, 198, 9, 5, 770, 318, 262, 13605, 1430, 3194, 329, 1492, 25, 198, 9, 5, 8355, 53, 10706, 287, 43875, 416, 25370, 223, 2724, 292, 89, 350, 128, 247, 70, 8207, 198, 9, 5, 10097, 30934, 9, 198, 9, 5, 12, 352, 301, 2095, 796, 6, 34, 6, 611, 356, 821, 1262, 2183, 9568, 393, 705, 55, 6, 329, 4277, 1635, 198, 9, 5, 12, 362, 358, 2095, 796, 9568, 2438, 357, 6738, 657, 284, 767, 8, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 1635, 198, 9, 5, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 657, 796, 4469, 9568, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 1635, 198, 9, 5, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 352, 796, 4171, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 1635, 198, 9, 5, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 362, 796, 12768, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 1635, 198, 9, 5, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 513, 796, 7872, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 1635, 198, 9, 5, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 604, 796, 4171, 14, 44605, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 1635, 198, 9, 5, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 642, 796, 4077, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 1635, 198, 9, 5, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 718, 796, 2266, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 1635, 198, 9, 5, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 767, 796, 10912, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 1635, 198, 9, 5, 12, 513, 4372, 2095, 796, 32413, 357, 15, 28, 2364, 11, 352, 28, 261, 8, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 1635, 198, 9, 5, 12, 604, 400, 2095, 796, 34062, 3359, 357, 15, 28, 2364, 11, 352, 28, 261, 8, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 1635, 198, 9, 5, 10097, 30934, 9, 198, 13116, 1976, 9536, 78, 62, 391, 62, 565, 1495, 13, 198, 198, 17256, 1976, 9536, 78, 62, 391, 62, 17256, 62, 9612, 13, 198, 198, 9688, 12, 1659, 12, 49283, 13, 628, 220, 3858, 25, 2221, 286, 256, 62, 7890, 11, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 645, 62, 368, 5902, 1096, 2099, 599, 2704, 72, 12, 66, 3258, 312, 11, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 3210, 220, 220, 220, 220, 2099, 599, 2704, 72, 12, 66, 3258, 312, 11, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 269, 3064, 220, 220, 220, 220, 220, 220, 220, 220, 2099, 599, 2704, 72, 12, 66, 3258, 312, 11, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 269, 8784, 220, 220, 220, 220, 220, 220, 220, 220, 2099, 599, 2704, 72, 12, 66, 3258, 312, 11, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 269, 11442, 220, 220, 220, 220, 220, 220, 220, 220, 2099, 599, 2704, 72, 12, 66, 3258, 312, 11, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 269, 16243, 220, 220, 220, 220, 220, 220, 220, 220, 2099, 599, 2704, 72, 12, 66, 3258, 312, 11, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 269, 2167, 220, 220, 220, 220, 220, 220, 220, 220, 2099, 599, 2704, 72, 12, 66, 3258, 312, 11, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 269, 1264, 220, 220, 220, 220, 220, 220, 220, 220, 2099, 599, 2704, 72, 12, 66, 3258, 312, 11, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 269, 21536, 220, 220, 220, 220, 220, 220, 220, 220, 2099, 599, 2704, 72, 12 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
********************************************************************** * FILTER EMPTY VALUES ********************************************************************** CLASS lcl_empty_filter DEFINITION FINAL. PUBLIC SECTION. INTERFACES /mbtools/if_ajson_filter. ENDCLASS. CLASS lcl_empty_filter IMPLEMENTATION. METHOD /mbtools/if_ajson_filter~keep_node. rv_keep = boolc( ( iv_visit = /mbtools/if_ajson_filter=>visit_type-value AND is_node-value IS NOT INITIAL ) OR ( iv_visit <> /mbtools/if_ajson_filter=>visit_type-value AND is_node-children > 0 ) ). " children = 0 on open for initially empty nodes and on close for filtered ones ENDMETHOD. ENDCLASS. ********************************************************************** * FILTER PREDEFINED PATHS ********************************************************************** CLASS lcl_paths_filter DEFINITION FINAL. PUBLIC SECTION. INTERFACES /mbtools/if_ajson_filter. METHODS constructor IMPORTING it_skip_paths TYPE string_table OPTIONAL iv_skip_paths TYPE string OPTIONAL RAISING /mbtools/cx_ajson_error. PRIVATE SECTION. DATA mt_skip_paths TYPE HASHED TABLE OF string WITH UNIQUE KEY table_line. ENDCLASS. CLASS lcl_paths_filter IMPLEMENTATION. METHOD /mbtools/if_ajson_filter~keep_node. DATA lv_path TYPE string. lv_path = is_node-path && is_node-name. READ TABLE mt_skip_paths WITH KEY table_line = lv_path TRANSPORTING NO FIELDS. rv_keep = boolc( sy-subrc <> 0 ). ENDMETHOD. METHOD constructor. DATA lv_s TYPE string. DATA lt_tab TYPE string_table. FIELD-SYMBOLS <s> TYPE string. IF boolc( iv_skip_paths IS INITIAL ) = boolc( it_skip_paths IS INITIAL ). " XOR /mbtools/cx_ajson_error=>raise( 'no filter path specified' ). ENDIF. LOOP AT it_skip_paths INTO lv_s. lv_s = to_lower( lv_s ). APPEND lv_s TO lt_tab. ENDLOOP. IF iv_skip_paths IS NOT INITIAL. SPLIT iv_skip_paths AT ',' INTO TABLE lt_tab. LOOP AT lt_tab ASSIGNING <s>. IF <s> IS INITIAL. DELETE lt_tab INDEX sy-tabix. CONTINUE. ENDIF. <s> = condense( to_lower( <s> ) ). ENDLOOP. ENDIF. SORT lt_tab BY table_line. DELETE ADJACENT DUPLICATES FROM lt_tab. mt_skip_paths = lt_tab. ENDMETHOD. ENDCLASS. ********************************************************************** * MULTI FILTER ********************************************************************** CLASS lcl_and_filter DEFINITION FINAL. PUBLIC SECTION. INTERFACES /mbtools/if_ajson_filter. METHODS constructor IMPORTING it_filters TYPE /mbtools/if_ajson_filter=>ty_filter_tab RAISING /mbtools/cx_ajson_error. PRIVATE SECTION. DATA mt_filters TYPE /mbtools/if_ajson_filter=>ty_filter_tab. ENDCLASS. CLASS lcl_and_filter IMPLEMENTATION. METHOD /mbtools/if_ajson_filter~keep_node. DATA li_filter LIKE LINE OF mt_filters. rv_keep = abap_true. LOOP AT mt_filters INTO li_filter. rv_keep = li_filter->keep_node( is_node = is_node iv_visit = iv_visit ). IF rv_keep = abap_false. RETURN. ENDIF. ENDLOOP. ENDMETHOD. METHOD constructor. DATA li_filter LIKE LINE OF it_filters. LOOP AT it_filters INTO li_filter WHERE table_line IS BOUND. APPEND li_filter TO mt_filters. ENDLOOP. ENDMETHOD. ENDCLASS.
[ 17174, 17174, 2466, 1174, 198, 9, 220, 34020, 5781, 38144, 9936, 26173, 35409, 198, 17174, 17174, 2466, 1174, 198, 198, 31631, 300, 565, 62, 28920, 62, 24455, 5550, 20032, 17941, 25261, 13, 198, 220, 44731, 44513, 13, 198, 220, 220, 220, 23255, 37, 2246, 1546, 1220, 2022, 31391, 14, 361, 62, 1228, 1559, 62, 24455, 13, 198, 10619, 31631, 13, 198, 198, 31631, 300, 565, 62, 28920, 62, 24455, 30023, 2538, 10979, 6234, 13, 198, 220, 337, 36252, 1220, 2022, 31391, 14, 361, 62, 1228, 1559, 62, 24455, 93, 14894, 62, 17440, 13, 628, 220, 220, 220, 374, 85, 62, 14894, 796, 20512, 66, 7, 198, 220, 220, 220, 220, 220, 357, 21628, 62, 4703, 270, 796, 1220, 2022, 31391, 14, 361, 62, 1228, 1559, 62, 24455, 14804, 4703, 270, 62, 4906, 12, 8367, 5357, 318, 62, 17440, 12, 8367, 3180, 5626, 3268, 2043, 12576, 1267, 6375, 198, 220, 220, 220, 220, 220, 357, 21628, 62, 4703, 270, 1279, 29, 1220, 2022, 31391, 14, 361, 62, 1228, 1559, 62, 24455, 14804, 4703, 270, 62, 4906, 12, 8367, 5357, 318, 62, 17440, 12, 17197, 1875, 657, 1267, 6739, 198, 220, 220, 220, 366, 1751, 796, 657, 319, 1280, 329, 7317, 6565, 13760, 290, 319, 1969, 329, 29083, 3392, 628, 220, 23578, 49273, 13, 198, 10619, 31631, 13, 198, 198, 17174, 17174, 2466, 1174, 198, 9, 220, 34020, 5781, 4810, 1961, 36, 20032, 1961, 28748, 7998, 198, 17174, 17174, 2466, 1174, 198, 198, 31631, 300, 565, 62, 6978, 82, 62, 24455, 5550, 20032, 17941, 25261, 13, 198, 220, 44731, 44513, 13, 198, 220, 220, 220, 23255, 37, 2246, 1546, 1220, 2022, 31391, 14, 361, 62, 1228, 1559, 62, 24455, 13, 198, 220, 220, 220, 337, 36252, 50, 23772, 198, 220, 220, 220, 220, 220, 30023, 9863, 2751, 198, 220, 220, 220, 220, 220, 220, 220, 340, 62, 48267, 62, 6978, 82, 41876, 4731, 62, 11487, 39852, 2849, 1847, 198, 220, 220, 220, 220, 220, 220, 220, 21628, 62, 48267, 62, 6978, 82, 41876, 4731, 39852, 2849, 1847, 198, 220, 220, 220, 220, 220, 17926, 1797, 2751, 198, 220, 220, 220, 220, 220, 220, 220, 1220, 2022, 31391, 14, 66, 87, 62, 1228, 1559, 62, 18224, 13, 198, 220, 4810, 3824, 6158, 44513, 13, 198, 220, 220, 220, 42865, 45079, 62, 48267, 62, 6978, 82, 41876, 367, 11211, 1961, 43679, 3963, 4731, 13315, 4725, 33866, 8924, 35374, 3084, 62, 1370, 13, 198, 10619, 31631, 13, 198, 198, 31631, 300, 565, 62, 6978, 82, 62, 24455, 30023, 2538, 10979, 6234, 13, 628, 220, 337, 36252, 1220, 2022, 31391, 14, 361, 62, 1228, 1559, 62, 24455, 93, 14894, 62, 17440, 13, 628, 220, 220, 220, 42865, 300, 85, 62, 6978, 41876, 4731, 13, 628, 220, 220, 220, 300, 85, 62, 6978, 796, 318, 62, 17440, 12, 6978, 11405, 318, 62, 17440, 12, 3672, 13, 198, 220, 220, 220, 20832, 43679, 45079, 62, 48267, 62, 6978, 82, 13315, 35374, 3084, 62, 1370, 796, 300, 85, 62, 6978, 48213, 4303, 9863, 2751, 8005, 18930, 3698, 5258, 13, 198, 220, 220, 220, 374, 85, 62, 14894, 796, 20512, 66, 7, 827, 12, 7266, 6015, 1279, 29, 657, 6739, 628, 220, 23578, 49273, 13, 628, 220, 337, 36252, 23772, 13, 628, 220, 220, 220, 42865, 300, 85, 62, 82, 41876, 4731, 13, 198, 220, 220, 220, 42865, 300, 83, 62, 8658, 41876, 4731, 62, 11487, 13, 198, 220, 220, 220, 18930, 24639, 12, 23060, 10744, 3535, 50, 1279, 82, 29, 41876, 4731, 13, 628, 220, 220, 220, 16876, 20512, 66, 7, 21628, 62, 48267, 62, 6978, 82, 3180, 3268, 2043, 12576, 1267, 796, 20512, 66, 7, 340, 62, 48267, 62, 6978, 82, 3180, 3268, 2043, 12576, 6739, 366, 1395, 1581, 198, 220, 220, 220, 220, 220, 1220, 2022, 31391, 14, 66, 87, 62, 1228, 1559, 62, 18224, 14804, 40225, 7, 705, 3919, 8106, 3108, 7368, 6, 6739, 198, 220, 220, 220, 23578, 5064, 13, 628, 220, 220, 220, 17579, 3185, 5161, 340, 62, 48267, 62, 6978, 82, 39319, 300, 85, 62, 82, 13, 198, 220, 220, 220, 220, 220, 300, 85, 62, 82, 796, 284, 62, 21037, 7, 300, 85, 62, 82, 6739, 198, 220, 220, 220, 220, 220, 43504, 10619, 300, 85, 62, 82, 5390, 300, 83, 62, 8658, 13, 198, 220, 220, 220, 23578, 21982, 3185, 13, 628, 220, 220, 220, 16876, 21628, 62, 48267, 62, 6978, 82, 3180, 5626, 3268, 2043, 12576, 13, 198, 220, 220, 220, 220, 220, 46341, 2043, 21628, 62, 48267, 62, 6978, 82, 5161, 705, 4032, 39319, 43679, 300, 83, 62, 8658, 13, 198, 220, 220, 220, 220, 220, 17579, 3185, 5161, 300, 83, 62, 8658, 24994, 3528, 15871, 1279, 82, 28401, 198, 220, 220, 220, 220, 220, 220, 220, 16876, 1279, 82, 29, 3180, 3268, 2043, 12576, 13, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 5550, 2538, 9328, 300, 83, 62, 8658, 24413, 6369, 827, 12, 8658, 844, 13, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 43659, 8924, 13, 198, 220, 220, 220, 220, 220, 220, 220, 23578, 5064, 13, 198, 220, 220, 220, 220, 220, 220, 220, 1279, 82, 29, 796, 1779, 1072, 7, 284, 62, 21037, 7, 1279, 82, 29, 1267, 6739, 198, 220, 220, 220, 220, 220, 23578, 21982, 3185, 13, 198, 220, 220, 220, 23578, 5064, 13, 628, 220, 220, 220, 311, 9863, 300, 83, 62, 8658, 11050, 3084, 62, 1370, 13, 198, 220, 220, 220, 5550, 2538, 9328, 5984, 41, 2246, 3525, 35480, 31484, 29462, 16034, 300, 83, 62, 8658, 13, 628, 220, 220, 220, 45079, 62, 48267, 62, 6978, 82, 796, 300, 83, 62, 8658, 13, 628, 220, 23578, 49273, 13, 198, 198, 10619, 31631, 13, 198, 198, 17174, 17174, 2466, 1174, 198, 9, 337, 16724, 40, 34020, 5781, 198, 17174, 17174, 2466, 1174, 198, 198, 31631, 300, 565, 62, 392, 62, 24455, 5550, 20032, 17941, 25261, 13, 198, 220, 44731, 44513, 13, 198, 220, 220, 220, 23255, 37, 2246, 1546, 1220, 2022, 31391, 14, 361, 62, 1228, 1559, 62, 24455, 13, 198, 220, 220, 220, 337, 36252, 50, 23772, 198, 220, 220, 220, 220, 220, 30023, 9863, 2751, 198, 220, 220, 220, 220, 220, 220, 220, 340, 62, 10379, 1010, 41876, 1220 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
FUNCTION-POOL ZEXPIMP_VX_GENER_TEST_CODE. "MESSAGE-ID .. * INCLUDE LZEXPIMP_GENERATE_TEST_CODED... " Local class definition
[ 42296, 4177, 2849, 12, 16402, 3535, 1168, 49864, 3955, 47, 62, 53, 55, 62, 35353, 1137, 62, 51, 6465, 62, 34, 16820, 13, 220, 220, 366, 44, 1546, 4090, 8264, 12, 2389, 11485, 198, 198, 9, 3268, 5097, 52, 7206, 406, 57, 49864, 3955, 47, 62, 35353, 1137, 6158, 62, 51, 6465, 62, 34, 3727, 1961, 986, 220, 220, 220, 366, 10714, 1398, 6770, 198 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
CLASS zcl_abapgit_object_ssst DEFINITION PUBLIC INHERITING FROM zcl_abapgit_objects_super FINAL. PUBLIC SECTION. INTERFACES zif_abapgit_object. ALIASES mo_files FOR zif_abapgit_object~mo_files. CONSTANTS: c_style_active TYPE tdactivate VALUE 'A'. PRIVATE SECTION. METHODS validate_font IMPORTING iv_tdfamily TYPE tdfamily RAISING zcx_abapgit_exception. ENDCLASS. CLASS ZCL_ABAPGIT_OBJECT_SSST IMPLEMENTATION. METHOD validate_font. DATA: lv_tdfamily TYPE tfo01-tdfamily. SELECT SINGLE tdfamily FROM tfo01 INTO lv_tdfamily WHERE tdfamily = iv_tdfamily. IF sy-subrc <> 0. zcx_abapgit_exception=>raise( 'Font family not found' ). ENDIF. ENDMETHOD. "validate_font METHOD zif_abapgit_object~changed_by. SELECT SINGLE lastuser FROM stxsadm INTO rv_user WHERE stylename = ms_item-obj_name. IF sy-subrc <> 0. rv_user = c_user_unknown. ENDIF. ENDMETHOD. METHOD zif_abapgit_object~compare_to_remote_version. CREATE OBJECT ro_comparison_result TYPE zcl_abapgit_comparison_null. ENDMETHOD. METHOD zif_abapgit_object~delete. DATA: lv_stylename TYPE tdssname. lv_stylename = ms_item-obj_name. CALL FUNCTION 'SSF_DELETE_STYLE' EXPORTING i_stylename = lv_stylename i_with_dialog = abap_false i_with_confirm_dialog = abap_false EXCEPTIONS no_name = 1 no_style = 2 style_locked = 3 cancelled = 4 no_access_permission = 5 illegal_language = 6 OTHERS = 7. IF sy-subrc <> 0 AND sy-subrc <> 2. zcx_abapgit_exception=>raise( 'error from SSF_DELETE_STYLE' ). ENDIF. ENDMETHOD. "delete METHOD zif_abapgit_object~deserialize. * see fm SSF_UPLOAD_STYLE DATA: ls_header TYPE ssfcats, ls_new_header TYPE ssfcats, lt_paragraphs TYPE TABLE OF ssfparas, lt_strings TYPE TABLE OF ssfstrings, lt_tabstops TYPE TABLE OF stxstab. FIELD-SYMBOLS: <lv_spras> TYPE spras. io_xml->read( EXPORTING iv_name = 'HEADER' CHANGING cg_data = ls_header ). io_xml->read( EXPORTING iv_name = 'SSFPARAS' CHANGING cg_data = lt_paragraphs ). io_xml->read( EXPORTING iv_name = 'SSFSTRINGS' CHANGING cg_data = lt_strings ). io_xml->read( EXPORTING iv_name = 'STXSTAB' CHANGING cg_data = lt_tabstops ). validate_font( ls_header-tdfamily ). CALL FUNCTION 'SSF_READ_STYLE' "Just load FG EXPORTING i_style_name = ls_header-stylename i_style_active_flag = 'A' EXCEPTIONS OTHERS = 0. SET PARAMETER ID 'EUK' FIELD iv_package. ASSIGN ('(SAPLSTXBS)MASTER_LANGUAGE') TO <lv_spras>. IF sy-subrc = 0. <lv_spras> = ls_header-masterlang. ENDIF. CALL FUNCTION 'SSF_SAVE_STYLE' EXPORTING i_header = ls_header IMPORTING e_header = ls_new_header TABLES i_paragraphs = lt_paragraphs i_strings = lt_strings i_tabstops = lt_tabstops. IF ls_new_header IS NOT INITIAL. CALL FUNCTION 'SSF_ACTIVATE_STYLE' EXPORTING i_stylename = ls_header-stylename EXCEPTIONS no_name = 1 no_style = 2 cancelled = 3 no_access_permission = 4 illegal_language = 5 OTHERS = 6. IF sy-subrc <> 0. zcx_abapgit_exception=>raise( 'error from SSF_ACTIVATE_STYLE' ). ENDIF. ENDIF. ENDMETHOD. "deserialize METHOD zif_abapgit_object~exists. DATA: lv_stylename TYPE stxsadm-stylename. SELECT SINGLE stylename FROM stxshead INTO lv_stylename WHERE active = c_style_active AND stylename = ms_item-obj_name AND vari = ''. rv_bool = boolc( sy-subrc = 0 ). ENDMETHOD. "zif_abapgit_object~exists METHOD zif_abapgit_object~get_metadata. rs_metadata = get_metadata( ). rs_metadata-delete_tadir = abap_true. ENDMETHOD. "zif_abapgit_object~get_metadata METHOD zif_abapgit_object~has_changed_since. rv_changed = abap_true. ENDMETHOD. "zif_abapgit_object~has_changed_since METHOD zif_abapgit_object~jump. DATA: ls_bcdata TYPE bdcdata, lt_bcdata TYPE STANDARD TABLE OF bdcdata. ls_bcdata-program = 'SAPMSSFS'. ls_bcdata-dynpro = '0100'. ls_bcdata-dynbegin = 'X'. APPEND ls_bcdata TO lt_bcdata. CLEAR ls_bcdata. ls_bcdata-fnam = 'SSFSCREENS-SNAME'. ls_bcdata-fval = ms_item-obj_name. APPEND ls_bcdata TO lt_bcdata. CLEAR ls_bcdata. ls_bcdata-fnam = 'BDC_OKCODE'. ls_bcdata-fval = '=DISPLAY'. APPEND ls_bcdata TO lt_bcdata. CALL FUNCTION 'ABAP4_CALL_TRANSACTION' STARTING NEW TASK 'GIT' EXPORTING tcode = 'SMARTSTYLES' mode_val = 'E' TABLES using_tab = lt_bcdata EXCEPTIONS OTHERS = 1. IF sy-subrc <> 0. zcx_abapgit_exception=>raise( 'error from ABAP4_CALL_TRANSACTION, SSST' ). ENDIF. ENDMETHOD. "jump METHOD zif_abapgit_object~serialize. * see fm SSF_DOWNLOAD_STYLE DATA: lv_style_name TYPE tdssname, ls_header TYPE ssfcats, lt_paragraphs TYPE TABLE OF ssfparas, lt_strings TYPE TABLE OF ssfstrings, lt_tabstops TYPE TABLE OF stxstab. lv_style_name = ms_item-obj_name. CALL FUNCTION 'SSF_READ_STYLE' EXPORTING i_style_name = lv_style_name i_style_active_flag = c_style_active i_style_variant = '%MAIN' i_style_language = mv_language IMPORTING e_header = ls_header TABLES e_paragraphs = lt_paragraphs e_strings = lt_strings e_tabstops = lt_tabstops EXCEPTIONS no_name = 1 no_style = 2 active_style_not_found = 3 inactive_style_not_found = 4 no_variant = 5 no_main_variant = 6 cancelled = 7 no_access_permission = 8 OTHERS = 9. IF sy-subrc = 2. RETURN. ELSEIF sy-subrc <> 0. zcx_abapgit_exception=>raise( 'error from SSF_READ_STYLE' ). ENDIF. CLEAR ls_header-version. CLEAR ls_header-firstuser. CLEAR ls_header-firstdate. CLEAR ls_header-firsttime. CLEAR ls_header-lastuser. CLEAR ls_header-lastdate. CLEAR ls_header-lasttime. io_xml->add( iv_name = 'HEADER' ig_data = ls_header ). io_xml->add( ig_data = lt_paragraphs iv_name = 'SSFPARAS' ). io_xml->add( ig_data = lt_strings iv_name = 'SSFSTRINGS' ). io_xml->add( ig_data = lt_tabstops iv_name = 'STXSTAB' ). ENDMETHOD. "serialize METHOD zif_abapgit_object~is_locked. rv_is_locked = exists_a_lock_entry_for( iv_lock_object = 'E_SMSTYLE' iv_argument = |{ ms_item-obj_name }| ). ENDMETHOD. ENDCLASS.
[ 31631, 1976, 565, 62, 397, 499, 18300, 62, 15252, 62, 824, 301, 5550, 20032, 17941, 44731, 3268, 16879, 2043, 2751, 16034, 1976, 565, 62, 397, 499, 18300, 62, 48205, 62, 16668, 25261, 13, 628, 220, 44731, 44513, 13, 198, 220, 220, 220, 23255, 37, 2246, 1546, 1976, 361, 62, 397, 499, 18300, 62, 15252, 13, 198, 220, 220, 220, 8355, 43429, 1546, 6941, 62, 16624, 7473, 1976, 361, 62, 397, 499, 18300, 62, 15252, 93, 5908, 62, 16624, 13, 198, 220, 220, 220, 7102, 2257, 1565, 4694, 25, 269, 62, 7635, 62, 5275, 41876, 41560, 39022, 26173, 8924, 705, 32, 4458, 628, 220, 4810, 3824, 6158, 44513, 13, 198, 220, 220, 220, 337, 36252, 50, 26571, 62, 10331, 198, 220, 220, 220, 220, 220, 30023, 9863, 2751, 21628, 62, 83, 7568, 5993, 41876, 256, 7568, 5993, 198, 220, 220, 220, 220, 220, 17926, 1797, 2751, 220, 220, 1976, 66, 87, 62, 397, 499, 18300, 62, 1069, 4516, 13, 198, 198, 10619, 31631, 13, 628, 198, 198, 31631, 1168, 5097, 62, 6242, 2969, 38, 2043, 62, 9864, 23680, 62, 5432, 2257, 30023, 2538, 10979, 6234, 13, 628, 198, 220, 337, 36252, 26571, 62, 10331, 13, 628, 220, 220, 220, 42865, 25, 300, 85, 62, 83, 7568, 5993, 41876, 256, 6513, 486, 12, 83, 7568, 5993, 13, 628, 198, 220, 220, 220, 33493, 311, 2751, 2538, 256, 7568, 5993, 16034, 256, 6513, 486, 39319, 300, 85, 62, 83, 7568, 5993, 198, 220, 220, 220, 220, 220, 33411, 256, 7568, 5993, 796, 21628, 62, 83, 7568, 5993, 13, 198, 220, 220, 220, 16876, 827, 12, 7266, 6015, 1279, 29, 657, 13, 198, 220, 220, 220, 220, 220, 1976, 66, 87, 62, 397, 499, 18300, 62, 1069, 4516, 14804, 40225, 7, 705, 23252, 1641, 407, 1043, 6, 6739, 198, 220, 220, 220, 23578, 5064, 13, 628, 220, 23578, 49273, 13, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 366, 12102, 378, 62, 10331, 628, 198, 220, 337, 36252, 1976, 361, 62, 397, 499, 18300, 62, 15252, 93, 40985, 62, 1525, 13, 628, 220, 220, 220, 33493, 311, 2751, 2538, 938, 7220, 16034, 336, 34223, 324, 76, 39319, 374, 85, 62, 7220, 198, 220, 220, 220, 220, 220, 33411, 22152, 12453, 796, 13845, 62, 9186, 12, 26801, 62, 3672, 13, 198, 220, 220, 220, 16876, 827, 12, 7266, 6015, 1279, 29, 657, 13, 198, 220, 220, 220, 220, 220, 374, 85, 62, 7220, 796, 269, 62, 7220, 62, 34680, 13, 198, 220, 220, 220, 23578, 5064, 13, 628, 220, 23578, 49273, 13, 628, 198, 220, 337, 36252, 1976, 361, 62, 397, 499, 18300, 62, 15252, 93, 5589, 533, 62, 1462, 62, 47960, 62, 9641, 13, 198, 220, 220, 220, 29244, 6158, 25334, 23680, 686, 62, 785, 1845, 1653, 62, 20274, 41876, 1976, 565, 62, 397, 499, 18300, 62, 785, 1845, 1653, 62, 8423, 13, 198, 220, 23578, 49273, 13, 628, 198, 220, 337, 36252, 1976, 361, 62, 397, 499, 18300, 62, 15252, 93, 33678, 13, 628, 220, 220, 220, 42865, 25, 300, 85, 62, 301, 2645, 12453, 41876, 41560, 824, 3672, 13, 628, 198, 220, 220, 220, 300, 85, 62, 301, 2645, 12453, 796, 13845, 62, 9186, 12, 26801, 62, 3672, 13, 628, 220, 220, 220, 42815, 29397, 4177, 2849, 705, 5432, 37, 62, 7206, 2538, 9328, 62, 2257, 56, 2538, 6, 198, 220, 220, 220, 220, 220, 7788, 15490, 2751, 198, 220, 220, 220, 220, 220, 220, 220, 1312, 62, 301, 2645, 12453, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 796, 300, 85, 62, 301, 2645, 12453, 198, 220, 220, 220, 220, 220, 220, 220, 1312, 62, 4480, 62, 38969, 519, 220, 220, 220, 220, 220, 220, 220, 220, 796, 450, 499, 62, 9562, 198, 220, 220, 220, 220, 220, 220, 220, 1312, 62, 4480, 62, 10414, 2533, 62, 38969, 519, 796, 450, 499, 62, 9562, 198, 220, 220, 220, 220, 220, 7788, 42006, 11053, 198, 220, 220, 220, 220, 220, 220, 220, 645, 62, 3672, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 796, 352, 198, 220, 220, 220, 220, 220, 220, 220, 645, 62, 7635, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 796, 362, 198, 220, 220, 220, 220, 220, 220, 220, 3918, 62, 24162, 220, 220, 220, 220, 220, 220, 220, 220, 220, 796, 513, 198, 220, 220, 220, 220, 220, 220, 220, 16769, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 796, 604, 198, 220, 220, 220, 220, 220, 220, 220, 645, 62, 15526, 62, 525, 3411, 220, 796, 642, 198, 220, 220, 220, 220, 220, 220, 220, 5293, 62, 16129, 220, 220, 220, 220, 220, 796, 718, 198, 220, 220, 220, 220, 220, 220, 220, 440, 4221, 4877, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 796, 767, 13, 198, 220, 220, 220, 16876, 827, 12, 7266, 6015, 1279, 29, 657, 5357, 827, 12, 7266, 6015, 1279, 29, 362, 13, 198, 220, 220, 220, 220, 220, 1976, 66, 87, 62, 397, 499, 18300, 62, 1069, 4516, 14804, 40225, 7, 705, 18224, 422, 6723, 37, 62, 7206, 2538, 9328, 62, 2257, 56, 2538, 6, 6739, 198, 220, 220, 220, 23578, 5064, 13, 628, 220, 23578, 49273, 13, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 366, 33678, 628, 198, 220, 337, 36252, 1976, 361, 62, 397, 499, 18300, 62, 15252, 93, 8906, 48499, 1096, 13, 198, 9, 766, 277, 76, 6723, 37, 62, 52, 6489, 41048, 62, 2257, 56, 2538, 628, 220, 220, 220, 42865, 25, 43979, 62, 25677, 220, 220, 220, 220, 41876, 37786, 16072, 1381, 11, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 43979, 62, 3605, 62, 25677, 41876, 37786, 16072, 1381, 11, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 300, 83, 62, 20360, 82, 41876, 43679, 3963, 264, 28202, 1845, 292, 11, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 300, 83, 62, 37336, 220, 220, 220, 41876, 43679, 3963, 264, 28202, 37336, 11, 198 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1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1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
class ZCX_AOF_NOT_FOUND definition public inheriting from ZCX_AOF_ERROR create public . public section. methods CONSTRUCTOR importing !TEXTID like IF_T100_MESSAGE=>T100KEY optional !PREVIOUS like PREVIOUS optional . protected section. private section. ENDCLASS. CLASS ZCX_AOF_NOT_FOUND IMPLEMENTATION. method CONSTRUCTOR. CALL METHOD SUPER->CONSTRUCTOR EXPORTING PREVIOUS = PREVIOUS . clear me->textid. if textid is initial. IF_T100_MESSAGE~T100KEY = IF_T100_MESSAGE=>DEFAULT_TEXTID. else. IF_T100_MESSAGE~T100KEY = TEXTID. endif. endmethod. ENDCLASS.
[ 4871, 1168, 34, 55, 62, 32, 19238, 62, 11929, 62, 37, 15919, 6770, 198, 220, 1171, 198, 220, 10639, 1780, 422, 1168, 34, 55, 62, 32, 19238, 62, 24908, 198, 220, 2251, 1171, 764, 198, 198, 11377, 2665, 13, 628, 220, 5050, 7102, 46126, 1581, 198, 220, 220, 220, 33332, 198, 220, 220, 220, 220, 220, 5145, 32541, 2389, 588, 16876, 62, 51, 3064, 62, 44, 1546, 4090, 8264, 14804, 51, 3064, 20373, 11902, 198, 220, 220, 220, 220, 220, 5145, 46437, 12861, 20958, 588, 22814, 12861, 20958, 11902, 764, 198, 24326, 2665, 13, 198, 19734, 2665, 13, 198, 10619, 31631, 13, 628, 198, 198, 31631, 1168, 34, 55, 62, 32, 19238, 62, 11929, 62, 37, 15919, 30023, 2538, 10979, 6234, 13, 628, 198, 220, 2446, 7102, 46126, 1581, 13, 198, 34, 7036, 337, 36252, 33088, 3784, 10943, 46126, 1581, 198, 6369, 15490, 2751, 198, 46437, 12861, 20958, 796, 22814, 12861, 20958, 198, 13, 198, 20063, 502, 3784, 5239, 312, 13, 198, 361, 2420, 312, 318, 4238, 13, 198, 220, 16876, 62, 51, 3064, 62, 44, 1546, 4090, 8264, 93, 51, 3064, 20373, 796, 16876, 62, 51, 3064, 62, 44, 1546, 4090, 8264, 14804, 7206, 38865, 62, 32541, 2389, 13, 198, 17772, 13, 198, 220, 16876, 62, 51, 3064, 62, 44, 1546, 4090, 8264, 93, 51, 3064, 20373, 796, 40383, 2389, 13, 198, 32088, 13, 198, 220, 886, 24396, 13, 198, 10619, 31631, 13, 198 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
*&---------------------------------------------------------------------* *& Report ZMCI_DENEME10 *&---------------------------------------------------------------------* *& *&---------------------------------------------------------------------* REPORT ZMCI_DENEME10. select * FROM lfa1 INTO TABLE @DATA(lt_lfa1). "xxxx LOOP AT lt_lfa1 INTO DATA(ls_lfa1). WRITE:/ ls_lfa1-name1, ls_lfa1-name2. ENDLOOP.
[ 9, 5, 10097, 30934, 9, 198, 9, 5, 6358, 1168, 9655, 40, 62, 41819, 3620, 36, 940, 198, 9, 5, 10097, 30934, 9, 198, 9, 5, 198, 9, 5, 10097, 30934, 9, 198, 2200, 15490, 1168, 9655, 40, 62, 41819, 3620, 36, 940, 13, 198, 198, 19738, 1635, 198, 220, 16034, 300, 13331, 16, 198, 220, 39319, 43679, 2488, 26947, 7, 2528, 62, 1652, 64, 16, 737, 198, 1, 12343, 198, 220, 17579, 3185, 5161, 300, 83, 62, 1652, 64, 16, 39319, 42865, 7, 7278, 62, 1652, 64, 16, 737, 198, 220, 220, 220, 44423, 14079, 43979, 62, 1652, 64, 16, 12, 3672, 16, 11, 43979, 62, 1652, 64, 16, 12, 3672, 17, 13, 198, 220, 23578, 21982, 3185, 13, 198 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
CLASS zcl_amp_customizing DEFINITION PUBLIC ABSTRACT. PUBLIC SECTION. TYPES ty_metric_collectors TYPE STANDARD TABLE OF zamp_config_prov WITH KEY metric_group. METHODS constructor IMPORTING scenario TYPE zamp_config_scen-metric_scenario. METHODS get_metric_collectors ABSTRACT RETURNING VALUE(metric_collectors) TYPE ty_metric_collectors. METHODS get_metric_converter ABSTRACT RETURNING VALUE(converter_class) TYPE REF TO zif_amp_converter. PROTECTED SECTION. DATA scenario TYPE zamp_config_scen-metric_scenario. DATA metric_collectors TYPE ty_metric_collectors. DATA metric_converter_class_name TYPE zamp_config_scen-converter_class. PRIVATE SECTION. ENDCLASS. CLASS zcl_amp_customizing IMPLEMENTATION. METHOD constructor. me->scenario = scenario. SELECT SINGLE converter_class FROM zamp_config_scen INTO @me->metric_converter_class_name WHERE metric_scenario = @me->scenario. IF sy-subrc <> 0. ASSERT 1 = 2. ENDIF. SELECT * FROM zamp_config_prov INTO TABLE @metric_collectors WHERE metric_scenario = @me->scenario. IF sy-subrc <> 0. ASSERT 1 = 2. ENDIF. ENDMETHOD. ENDCLASS.
[ 31631, 1976, 565, 62, 696, 62, 23144, 2890, 5550, 20032, 17941, 44731, 9564, 18601, 10659, 13, 198, 220, 44731, 44513, 13, 628, 220, 220, 220, 24412, 47, 1546, 1259, 62, 4164, 1173, 62, 33327, 669, 41876, 49053, 9795, 43679, 3963, 1976, 696, 62, 11250, 62, 15234, 13315, 35374, 18663, 62, 8094, 13, 628, 220, 220, 220, 337, 36252, 50, 23772, 198, 220, 220, 220, 220, 220, 30023, 9863, 2751, 8883, 41876, 1976, 696, 62, 11250, 62, 1416, 268, 12, 4164, 1173, 62, 1416, 39055, 13, 628, 220, 220, 220, 337, 36252, 50, 651, 62, 4164, 1173, 62, 33327, 669, 9564, 18601, 10659, 198, 220, 220, 220, 220, 220, 30826, 4261, 15871, 26173, 8924, 7, 4164, 1173, 62, 33327, 669, 8, 41876, 1259, 62, 4164, 1173, 62, 33327, 669, 13, 628, 220, 220, 220, 337, 36252, 50, 651, 62, 4164, 1173, 62, 1102, 332, 353, 9564, 18601, 10659, 198, 220, 220, 220, 220, 220, 30826, 4261, 15871, 26173, 8924, 7, 1102, 332, 353, 62, 4871, 8, 41876, 4526, 37, 5390, 1976, 361, 62, 696, 62, 1102, 332, 353, 13, 628, 220, 48006, 9782, 1961, 44513, 13, 628, 220, 220, 220, 42865, 8883, 41876, 1976, 696, 62, 11250, 62, 1416, 268, 12, 4164, 1173, 62, 1416, 39055, 13, 198, 220, 220, 220, 42865, 18663, 62, 33327, 669, 41876, 1259, 62, 4164, 1173, 62, 33327, 669, 13, 198, 220, 220, 220, 42865, 18663, 62, 1102, 332, 353, 62, 4871, 62, 3672, 41876, 1976, 696, 62, 11250, 62, 1416, 268, 12, 1102, 332, 353, 62, 4871, 13, 628, 220, 4810, 3824, 6158, 44513, 13, 198, 198, 10619, 31631, 13, 198, 198, 31631, 1976, 565, 62, 696, 62, 23144, 2890, 30023, 2538, 10979, 6234, 13, 198, 220, 337, 36252, 23772, 13, 628, 220, 220, 220, 502, 3784, 1416, 39055, 796, 8883, 13, 628, 220, 220, 220, 33493, 311, 2751, 2538, 38394, 62, 4871, 198, 220, 220, 220, 16034, 1976, 696, 62, 11250, 62, 1416, 268, 198, 220, 220, 220, 39319, 2488, 1326, 3784, 4164, 1173, 62, 1102, 332, 353, 62, 4871, 62, 3672, 198, 220, 220, 220, 33411, 18663, 62, 1416, 39055, 796, 2488, 1326, 3784, 1416, 39055, 13, 198, 220, 220, 220, 16876, 827, 12, 7266, 6015, 1279, 29, 657, 13, 198, 220, 220, 220, 220, 220, 24994, 17395, 352, 796, 362, 13, 198, 220, 220, 220, 23578, 5064, 13, 628, 220, 220, 220, 33493, 1635, 198, 220, 220, 220, 16034, 1976, 696, 62, 11250, 62, 15234, 198, 220, 220, 220, 39319, 43679, 2488, 4164, 1173, 62, 33327, 669, 198, 220, 220, 220, 33411, 18663, 62, 1416, 39055, 796, 2488, 1326, 3784, 1416, 39055, 13, 198, 220, 220, 220, 16876, 827, 12, 7266, 6015, 1279, 29, 657, 13, 198, 220, 220, 220, 220, 220, 24994, 17395, 352, 796, 362, 13, 198, 220, 220, 220, 23578, 5064, 13, 628, 220, 23578, 49273, 13, 628, 198, 10619, 31631, 13, 198 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,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1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
FUNCTION SELECT_COUNT. *"---------------------------------------------------------------------- *"*"Local Interface: *" IMPORTING *" REFERENCE(I_KEY) TYPE KEY *" EXPORTING *" REFERENCE(E_COUNT) TYPE SY-DBCNT *"---------------------------------------------------------------------- SELECT COUNT(*) FROM some_table INTO e_count WHERE key = i_key AND state >= '000' AND state <= '999'. ENDFUNCTION.
[ 42296, 4177, 2849, 33493, 62, 34, 28270, 13, 198, 9, 1, 10097, 23031, 198, 9, 1, 9, 1, 14565, 26491, 25, 198, 9, 1, 220, 30023, 9863, 2751, 198, 9, 1, 220, 220, 220, 220, 4526, 24302, 18310, 7, 40, 62, 20373, 8, 41876, 220, 35374, 198, 9, 1, 220, 7788, 15490, 2751, 198, 9, 1, 220, 220, 220, 220, 4526, 24302, 18310, 7, 36, 62, 34, 28270, 8, 41876, 220, 19704, 12, 35, 2749, 11251, 198, 9, 1, 10097, 23031, 628, 198, 220, 33493, 327, 28270, 7, 28104, 16034, 617, 62, 11487, 39319, 304, 62, 9127, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 33411, 1994, 796, 1312, 62, 2539, 5357, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 1181, 18189, 705, 830, 6, 5357, 1181, 19841, 705, 17032, 4458, 220, 220, 628, 198, 1677, 8068, 4944, 4177, 2849, 13 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
*&---------------------------------------------------------------------* *& Report ZADF_DEMO_AZURE_EVENTHUB *& *&---------------------------------------------------------------------* *& *& *&---------------------------------------------------------------------* REPORT zadf_demo_azure_eventhub. CONSTANTS: gc_interface TYPE zinterface_id VALUE 'DEMO_EHUB'. TYPES: BEGIN OF lty_data, carrid TYPE s_carr_id, connid TYPE s_conn_id, fldate TYPE s_date, planetype TYPE s_planetye, END OF lty_data. DATA: it_headers TYPE tihttpnvp, wa_headers TYPE LINE OF tihttpnvp, lv_string TYPE string, lv_response TYPE string, cx_interface TYPE REF TO zcx_interace_config_missing, cx_http TYPE REF TO zcx_http_client_failed, cx_adf_service TYPE REF TO zcx_adf_service, oref_eventhub TYPE REF TO zcl_adf_service_eventhub, oref TYPE REF TO zcl_adf_service, filter TYPE zbusinessid, lv_http_status TYPE i, lo_json TYPE REF TO cl_trex_json_serializer, lv1_string TYPE string, lv_xstring TYPE xstring, it_data TYPE STANDARD TABLE OF lty_data. *Sample data population for sending it to Azure eventhub SELECT carrid connid fldate planetype FROM sflight UP TO 10 ROWS INTO TABLE it_data. IF sy-subrc EQ 0. TRY. **Calling Factory method to instantiate eventhub client oref = zcl_adf_service_factory=>create( iv_interface_id = gc_interface iv_business_identifier = filter ). oref_eventhub ?= oref. **Setting Expiry time CALL METHOD oref_eventhub->add_expiry_time EXPORTING iv_expiry_hour = 0 iv_expiry_min = 15 iv_expiry_sec = 0. CREATE OBJECT lo_json EXPORTING data = it_data. lo_json->serialize( ). lv1_string = lo_json->get_data( ). *Convert input string data to Xstring format CALL FUNCTION 'SCMS_STRING_TO_XSTRING' EXPORTING text = lv1_string IMPORTING buffer = lv_xstring EXCEPTIONS failed = 1 OTHERS = 2. IF sy-subrc <> 0. ENDIF. **Sending Converted SAP data to Azure Eventhub CALL METHOD oref_eventhub->send EXPORTING request = lv_xstring "Input XSTRING of SAP Business Event data it_headers = it_headers "Header attributes IMPORTING response = lv_response "Response from EventHub ev_http_status = lv_http_status. "Status CATCH zcx_interace_config_missing INTO cx_interface. lv_string = cx_interface->get_text( ). MESSAGE lv_string TYPE 'E'. CATCH zcx_http_client_failed INTO cx_http . lv_string = cx_http->get_text( ). MESSAGE lv_string TYPE 'E'. CATCH zcx_adf_service INTO cx_adf_service. lv_string = cx_adf_service->get_text( ). MESSAGE lv_string TYPE 'E'. ENDTRY. IF lv_http_status NE '201' AND lv_http_status NE '200'. MESSAGE 'SAP data not sent to Azure EventHub' TYPE 'E'. ELSE. MESSAGE 'SAP data sent to Azure EventHub' TYPE 'I'. ENDIF. ELSE. MESSAGE 'No data in SFLIFHT' TYPE 'E'. ENDIF.
[ 9, 5, 10097, 30934, 9, 198, 9, 5, 6358, 220, 1168, 2885, 37, 62, 39429, 46, 62, 22778, 11335, 62, 20114, 3525, 39, 10526, 198, 9, 5, 198, 9, 5, 10097, 30934, 9, 198, 9, 5, 198, 9, 5, 198, 9, 5, 10097, 30934, 9, 198, 2200, 15490, 1976, 324, 69, 62, 9536, 78, 62, 1031, 495, 62, 15596, 40140, 13, 198, 198, 10943, 2257, 1565, 4694, 25, 308, 66, 62, 39994, 41876, 1976, 39994, 62, 312, 26173, 8924, 705, 39429, 46, 62, 42413, 10526, 4458, 198, 198, 9936, 47, 1546, 25, 347, 43312, 3963, 300, 774, 62, 7890, 11, 198, 220, 220, 220, 220, 220, 220, 220, 220, 1097, 6058, 220, 220, 220, 41876, 220, 220, 220, 220, 264, 62, 66, 3258, 62, 312, 11, 198, 220, 220, 220, 220, 220, 220, 220, 220, 48260, 312, 220, 220, 220, 41876, 220, 220, 220, 264, 62, 37043, 62, 312, 11, 198, 220, 220, 220, 220, 220, 220, 220, 220, 277, 335, 378, 220, 220, 220, 41876, 220, 220, 220, 264, 62, 4475, 11, 198, 220, 220, 220, 220, 220, 220, 220, 220, 1410, 2963, 431, 41876, 220, 220, 220, 264, 62, 11578, 2963, 68, 11, 198, 220, 220, 220, 220, 220, 220, 23578, 3963, 300, 774, 62, 7890, 13, 198, 198, 26947, 25, 220, 220, 220, 220, 220, 220, 340, 62, 50145, 220, 220, 220, 220, 41876, 46668, 4023, 77, 36133, 11, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 2082, 62, 50145, 220, 220, 220, 220, 41876, 48920, 3963, 46668, 4023, 77, 36133, 11, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 300, 85, 62, 8841, 220, 220, 220, 220, 220, 41876, 4731, 11, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 300, 85, 62, 26209, 220, 220, 220, 41876, 4731, 11, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 43213, 62, 39994, 220, 220, 41876, 4526, 37, 5390, 1976, 66, 87, 62, 3849, 558, 62, 11250, 62, 45688, 11, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 43213, 62, 4023, 220, 220, 220, 220, 220, 220, 220, 41876, 4526, 37, 5390, 1976, 66, 87, 62, 4023, 62, 16366, 62, 47904, 11, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 43213, 62, 324, 69, 62, 15271, 41876, 4526, 37, 5390, 1976, 66, 87, 62, 324, 69, 62, 15271, 11, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 267, 5420, 62, 15596, 40140, 220, 41876, 4526, 37, 5390, 1976, 565, 62, 324, 69, 62, 15271, 62, 15596, 40140, 11, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 267, 5420, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 41876, 4526, 37, 5390, 1976, 565, 62, 324, 69, 62, 15271, 11, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 8106, 220, 220, 220, 220, 220, 220, 220, 220, 41876, 1976, 22680, 312, 11, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 300, 85, 62, 4023, 62, 13376, 41876, 1312, 11, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 2376, 62, 17752, 220, 220, 220, 220, 220, 220, 220, 41876, 4526, 37, 5390, 537, 62, 83, 21510, 62, 17752, 62, 46911, 7509, 11, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 300, 85, 16, 62, 8841, 220, 220, 220, 220, 41876, 4731, 11, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 300, 85, 62, 87, 8841, 220, 220, 220, 220, 41876, 2124, 8841, 11, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 340, 62, 7890, 220, 220, 220, 220, 220, 220, 220, 41876, 49053, 9795, 43679, 3963, 300, 774, 62, 7890, 13, 198, 198, 9, 36674, 1366, 3265, 329, 7216, 340, 284, 22134, 1785, 40140, 198, 46506, 220, 1097, 6058, 48260, 312, 277, 335, 378, 1410, 2963, 431, 198, 220, 220, 220, 220, 220, 220, 220, 16034, 264, 22560, 15958, 5390, 838, 371, 22845, 198, 220, 220, 220, 220, 220, 220, 220, 39319, 43679, 340, 62, 7890, 13, 198, 198, 5064, 827, 12, 7266, 6015, 36529, 657, 13, 628, 220, 7579, 56, 13, 198, 1174, 48593, 19239, 2446, 284, 9113, 9386, 1785, 40140, 5456, 628, 220, 220, 220, 220, 220, 267, 5420, 796, 1976, 565, 62, 324, 69, 62, 15271, 62, 69, 9548, 14804, 17953, 7, 21628, 62, 39994, 62, 312, 796, 308, 66, 62, 39994, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 21628, 62, 22680, 62, 738, 7483, 796, 8106, 6739, 198, 220, 220, 220, 220, 220, 267, 5420, 62, 15596, 40140, 5633, 28, 267, 5420, 13, 198, 198, 1174, 34149, 1475, 4063, 88, 640, 198, 220, 220, 220, 220, 220, 42815, 337, 36252, 267, 5420, 62, 15596, 40140, 3784, 2860, 62, 1069, 4063, 88, 62, 2435, 198, 220, 220, 220, 220, 220, 220, 220, 7788, 15490, 2751, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 21628, 62, 1069, 4063, 88, 62, 9769, 796, 657, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 21628, 62, 1069, 4063, 88, 62, 1084, 220, 796, 1315, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 21628, 62, 1069, 4063, 88, 62, 2363, 220, 796, 657, 13, 628, 220, 220, 220, 220, 220, 29244, 6158, 25334, 23680, 2376, 62, 17752, 198, 220, 220, 220, 220, 220, 220, 220, 7788, 15490, 2751, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 1366, 796, 340, 62, 7890, 13, 198, 220, 220, 220, 220, 220, 2376, 62, 17752, 3784, 46911, 1096, 7, 6739, 198, 220, 220, 220, 220, 220, 300, 85, 16, 62, 8841, 220, 796, 2376, 62, 17752, 3784, 1136, 62, 7890, 7, 6739, 628, 198, 9, 3103, 1851, 5128, 4731, 1366, 284, 1395, 8841, 5794, 198, 220, 220, 220, 220, 220, 42815, 29397, 4177, 2849, 705, 6173, 5653 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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section. private section. ENDCLASS. CLASS ZCL_IM__GTT_SOF_LE_SHIPMNT IMPLEMENTATION. method IF_EX_BADI_LE_SHIPMENT~AT_SAVE. endmethod. METHOD if_ex_badi_le_shipment~before_update. INCLUDE /saptrx/constants. TYPE-POOLS: trxas. DATA: l_structure_package TYPE devclass, l_extflag TYPE flag. DATA: lv_count TYPE i, ls_comwa5 TYPE vbco5, ls_comwa6 TYPE vbco6, lv_fstop TYPE char255, lv_lstop TYPE char255, * Location Id lv_locid TYPE zgtt_locid, lv_appobjid TYPE /saptrx/aoid. DATA: ls_vttk_old TYPE vttkvb, ls_vttk TYPE vttkvb, ls_vttk_tmp TYPE vttk, ls_vtts_old TYPE vttsvb, ls_vtts_delta TYPE vttsvb, ls_vttp_delta TYPE vttpvb, ls_vtsp_delta TYPE vtspvb, ls_likp_delta TYPE likpvb, ls_likp TYPE likp, ls_likp_tmp TYPE likp, ls_vbfas TYPE vbfas, ls_vbfa_new TYPE vbfavb, ls_likp_new TYPE likp, ls_lips TYPE lips, ls_stop TYPE zgtt_stop_info, ls_dlv_watching_stop TYPE zgtt_dlv_watch_stop, ls_eerel TYPE zgtt_sof_ee_rel. DATA: lt_vbfas TYPE STANDARD TABLE OF vbfas, lt_vbfa_new TYPE STANDARD TABLE OF vbfavb, lt_vttk TYPE STANDARD TABLE OF vttkvb, lt_vtts_delta TYPE STANDARD TABLE OF vttsvb, lt_vttp_delta TYPE STANDARD TABLE OF vttpvb, lt_vttp_delta_tmp TYPE STANDARD TABLE OF vttpvb, lt_vtsp_delta TYPE STANDARD TABLE OF vtspvb, lt_vtsp_delta_tmp TYPE STANDARD TABLE OF vtspvb, lt_likp_delta TYPE STANDARD TABLE OF likpvb, lt_likp_new TYPE STANDARD TABLE OF likp, lt_lips TYPE STANDARD TABLE OF lips. DATA: lt_stops_tmp TYPE zgtt_stops, lt_dlv_watching_stops_tmp TYPE zgtt_dlv_watch_stops, lt_stops TYPE zgtt_stops, lt_dlv_watching_stops TYPE zgtt_dlv_watch_stops. DATA: lt_control TYPE /saptrx/bapi_trk_control_tab, lt_tracking_id TYPE /saptrx/bapi_trk_trkid_tab, ls_trxserv TYPE /saptrx/trxserv, lv_appsys TYPE logsys, lt_appobj_ctabs TYPE trxas_appobj_ctabs, lt_bapireturn TYPE bapiret2_t, lv_trxserver_id TYPE /saptrx/trxservername, lv_tzone TYPE timezone, lt_exp_events TYPE /saptrx/bapi_trk_ee_tab. DATA: ls_control TYPE LINE OF /saptrx/bapi_trk_control_tab, ls_tracking_id TYPE LINE OF /saptrx/bapi_trk_trkid_tab, ls_appobj_ctabs TYPE LINE OF trxas_appobj_ctabs, ls_expeventdata TYPE LINE OF /saptrx/bapi_trk_ee_tab. DATA: BEGIN OF ls_aotype, obj_type TYPE /saptrx/trk_obj_type, aot_type TYPE /saptrx/aotype, END OF ls_aotype. DATA: lt_aotype LIKE STANDARD TABLE OF ls_aotype, lt_aotype_item LIKE STANDARD TABLE OF ls_aotype. * Check package dependent BADI disabling l_structure_package = '/SAPTRX/SCEM_AI_R3'. CALL FUNCTION 'GET_R3_EXTENSION_SWITCH' EXPORTING i_structure_package = l_structure_package IMPORTING e_active = l_extflag EXCEPTIONS not_existing = 1 object_not_existing = 2 no_extension_object = 3 OTHERS = 4. IF sy-subrc <> 0. EXIT. ENDIF. IF l_extflag <> 'X'. EXIT. ENDIF. * Check if any tracking server defined CHECK im_shipments_before_update-tra_save_caller <> 'TRX'. CALL FUNCTION '/SAPTRX/EVENT_MGR_CHECK' EXCEPTIONS no_event_mgr_available = 1. IF sy-subrc <> 0. EXIT. ENDIF. * Check if at least 1 active extractor exists SELECT COUNT(*) INTO lv_count FROM /saptrx/aotypes WHERE trk_obj_type EQ 'ESC_SHIPMT' AND torelevant EQ 'X'. CHECK lv_count GE 1. CLEAR lv_count. SELECT COUNT(*) INTO lv_count FROM /saptrx/aotypes WHERE trk_obj_type EQ 'ESC_DELIV' AND torelevant EQ 'X'. CHECK lv_count GE 1. * GET CURRENT LOGICAL SYSTEM CALL FUNCTION 'OWN_LOGICAL_SYSTEM_GET' IMPORTING own_logical_system = lv_appsys. * Actual Business Time zone CALL FUNCTION 'GET_SYSTEM_TIMEZONE' IMPORTING timezone = lv_tzone EXCEPTIONS customizing_missing = 1 OTHERS = 2. ls_aotype-obj_type = 'ESC_DELIV'. ls_aotype-aot_type = 'ZGTT_DE_ACC_HD'. APPEND ls_aotype TO lt_aotype. ls_aotype-obj_type = 'ESC_DELIV'. ls_aotype-aot_type = 'ZGTT_DE_INT_HD'. APPEND ls_aotype TO lt_aotype. ls_aotype-obj_type = 'ESC_DELIV'. ls_aotype-aot_type = 'ZGTT_DE_ACC_AZ_HD'. APPEND ls_aotype TO lt_aotype. ls_aotype-obj_type = 'ESC_DELIV'. ls_aotype-aot_type = 'ZGTT_DE_ACC_IF_HD'. APPEND ls_aotype TO lt_aotype. ls_aotype-obj_type = 'ESC_DELIV'. ls_aotype-aot_type = 'ZGTT_DE_ACC_PF_HD'. APPEND ls_aotype TO lt_aotype. ls_aotype-obj_type = 'ESC_DELIV'. ls_aotype-aot_type = 'ZGTT_DE_ACC_PR_HD'. APPEND ls_aotype TO lt_aotype. ls_aotype-obj_type = 'ESC_DELIV'. ls_aotype-aot_type = 'ZGTT_DE_ACC_PT_HD'. APPEND ls_aotype TO lt_aotype. ls_aotype-obj_type = 'ESC_DELIV'. ls_aotype-aot_type = 'ZGTT_DE_ACC_DM_HD'. APPEND ls_aotype TO lt_aotype. ls_aotype-obj_type = 'ESC_DELIV'. ls_aotype-aot_type = 'ZGTT_DE_ACC_ITEM'. APPEND ls_aotype TO lt_aotype_item. ls_aotype-obj_type = 'ESC_DELIV'. ls_aotype-aot_type = 'ZGTT_DE_INT_ITEM'. APPEND ls_aotype TO lt_aotype_item. ls_aotype-obj_type = 'ESC_DELIV'. ls_aotype-aot_type = 'ZGTT_DE_ACC_AZ_ITEM'. APPEND ls_aotype TO lt_aotype_item. ls_aotype-obj_type = 'ESC_DELIV'. ls_aotype-aot_type = 'ZGTT_DE_ACC_IF_ITEM'. APPEND ls_aotype TO lt_aotype_item. ls_aotype-obj_type = 'ESC_DELIV'. ls_aotype-aot_type = 'ZGTT_DE_ACC_PF_ITEM'. APPEND ls_aotype TO lt_aotype_item. ls_aotype-obj_type = 'ESC_DELIV'. ls_aotype-aot_type = 'ZGTT_DE_ACC_PR_ITEM'. APPEND ls_aotype TO lt_aotype_item. ls_aotype-obj_type = 'ESC_DELIV'. ls_aotype-aot_type = 'ZGTT_DE_ACC_PT_ITEM'. APPEND ls_aotype TO lt_aotype_item. ls_aotype-obj_type = 'ESC_DELIV'. ls_aotype-aot_type = 'ZGTT_DE_ACC_DM_ITEM'. APPEND ls_aotype TO lt_aotype_item. * get the shipment header MOVE im_shipments_before_update-new_vttk TO lt_vttk. LOOP AT im_shipments_before_update-old_vttk INTO ls_vttk_old WHERE updkz = 'D'. APPEND ls_vttk_old TO lt_vttk. ENDLOOP. LOOP AT lt_vttk INTO ls_vttk WHERE shtyp EQ '0003'. CLEAR: lt_vttp_delta, lt_likp_delta, lt_vttp_delta_tmp, lt_vtsp_delta, lt_vtsp_delta_tmp, lt_vtts_delta. MOVE im_shipments_before_update-new_vttp TO lt_vttp_delta. APPEND LINES OF im_shipments_before_update-old_vttp TO lt_vttp_delta. MOVE lt_vttp_delta TO lt_vttp_delta_tmp. DELETE lt_vttp_delta WHERE ( updkz NE 'I' AND updkz NE 'D' ) OR tknum NE ls_vttk-tknum. IF lt_vttp_delta IS NOT INITIAL. LOOP AT lt_vttp_delta INTO ls_vttp_delta. MOVE ls_vttp_delta-vbeln TO ls_likp_delta-vbeln. COLLECT ls_likp_delta INTO lt_likp_delta. ENDLOOP. ENDIF. MOVE im_shipments_before_update-new_vtsp TO lt_vtsp_delta. APPEND LINES OF im_shipments_before_update-old_vtsp TO lt_vtsp_delta. MOVE lt_vtsp_delta TO lt_vtsp_delta_tmp. DELETE lt_vtsp_delta WHERE ( updkz NE 'I' AND updkz NE 'D' ) OR tknum NE ls_vttk-tknum. IF lt_vtsp_delta IS NOT INITIAL. LOOP AT lt_vtsp_delta INTO ls_vtsp_delta. READ TABLE lt_vttp_delta_tmp INTO ls_vttp_delta WITH KEY tknum = ls_vtsp_delta-tknum tpnum = ls_vtsp_delta-tpnum BINARY SEARCH. IF sy-subrc EQ 0. MOVE ls_vttp_delta-vbeln TO ls_likp_delta-vbeln. COLLECT ls_likp_delta INTO lt_likp_delta. ENDIF. ENDLOOP. ENDIF. MOVE im_shipments_before_update-new_vtts TO lt_vtts_delta. APPEND LINES OF im_shipments_before_update-old_vtts TO lt_vtts_delta. DELETE lt_vtts_delta WHERE tknum NE ls_vttk-tknum. IF lt_vtts_delta IS NOT INITIAL. LOOP AT lt_vtts_delta INTO ls_vtts_delta WHERE updkz = 'I' OR updkz = 'D'. CLEAR: ls_vtsp_delta, ls_vttp_delta. LOOP AT lt_vtsp_delta_tmp INTO ls_vtsp_delta WHERE tknum = ls_vtts_delta-tknum AND tsnum = ls_vtts_delta-tsnum. READ TABLE lt_vttp_delta_tmp INTO ls_vttp_delta WITH KEY tknum = ls_vtsp_delta-tknum tpnum = ls_vtsp_delta-tpnum BINARY SEARCH. IF sy-subrc EQ 0. MOVE ls_vttp_delta-vbeln TO ls_likp_delta-vbeln. COLLECT ls_likp_delta INTO lt_likp_delta. ENDIF. ENDLOOP. ENDLOOP. LOOP AT lt_vtts_delta INTO ls_vtts_delta WHERE updkz <> 'I' AND updkz <> 'D'. READ TABLE im_shipments_before_update-old_vtts INTO ls_vtts_old WITH KEY tknum = ls_vtts_delta-tknum tsnum = ls_vtts_delta-tsnum BINARY SEARCH. CHECK sy-subrc IS INITIAL. IF ls_vtts_delta-knota NE ls_vtts_old-knota OR ls_vtts_delta-vstel NE ls_vtts_old-vstel OR ls_vtts_delta-werka NE ls_vtts_old-werka OR ls_vtts_delta-kunna NE ls_vtts_old-kunna OR ls_vtts_delta-lifna NE ls_vtts_old-lifna OR ls_vtts_delta-kunnz NE ls_vtts_old-kunnz OR ls_vtts_delta-vstez NE ls_vtts_old-vstez OR ls_vtts_delta-lifnz NE ls_vtts_old-lifnz OR ls_vtts_delta-werkz NE ls_vtts_old-werkz OR ls_vtts_delta-knotz NE ls_vtts_old-knotz OR ls_vtts_delta-dptbg NE ls_vtts_old-dptbg OR ls_vtts_delta-uptbg NE ls_vtts_old-uptbg OR ls_vtts_delta-dpten NE ls_vtts_old-dpten OR ls_vtts_delta-upten NE ls_vtts_old-upten. . CLEAR: ls_vtsp_delta, ls_vttp_delta. LOOP AT lt_vtsp_delta_tmp INTO ls_vtsp_delta WHERE tknum = ls_vtts_delta-tknum AND tsnum = ls_vtts_delta-tsnum. READ TABLE lt_vttp_delta_tmp INTO ls_vttp_delta WITH KEY tknum = ls_vtsp_delta-tknum tpnum = ls_vtsp_delta-tpnum BINARY SEARCH. IF sy-subrc EQ 0. MOVE ls_vttp_delta-vbeln TO ls_likp_delta-vbeln. COLLECT ls_likp_delta INTO lt_likp_delta. ENDIF. ENDLOOP. ENDIF. ENDLOOP. ENDIF. CLEAR: lt_vbfa_new, lt_likp_new. LOOP AT lt_likp_delta INTO ls_likp_delta. CLEAR: ls_comwa6, lt_vbfas. MOVE-CORRESPONDING ls_likp_delta TO ls_comwa6. CALL FUNCTION 'RV_ORDER_FLOW_INFORMATION' EXPORTING comwa = ls_comwa6 TABLES vbfa_tab = lt_vbfas. LOOP AT lt_vbfas INTO ls_vbfas WHERE vbtyp_n EQ '8' AND vbtyp_v EQ 'J'. SELECT SINGLE * INTO ls_likp FROM likp WHERE vbeln = ls_vbfas-vbelv AND lfart = 'LBNP'. CHECK sy-subrc EQ 0. SELECT SINGLE * INTO ls_vttk_tmp FROM vttk WHERE tknum = ls_vbfas-vbeln AND shtyp EQ '0003'. CHECK sy-subrc EQ 0. MOVE-CORRESPONDING ls_vbfas TO ls_vbfa_new. APPEND ls_vbfa_new TO lt_vbfa_new. ENDLOOP. SELECT SINGLE * INTO ls_likp FROM likp WHERE vbeln = ls_likp_delta-vbeln AND lfart = 'LBNP'. IF sy-subrc = 0. COLLECT ls_likp INTO lt_likp_new. ENDIF. ENDLOOP. LOOP AT lt_vttp_delta INTO ls_vttp_delta WHERE updkz = 'D'. DELETE lt_vbfa_new WHERE vbeln = ls_vttp_delta-tknum AND vbelv = ls_vttp_delta-vbeln. ENDLOOP. LOOP AT lt_vttp_delta INTO ls_vttp_delta WHERE updkz = 'I'. READ TABLE lt_vbfa_new WITH KEY vbeln = ls_vttp_delta-tknum vbelv = ls_vttp_delta-vbeln TRANSPORTING NO FIELDS. IF sy-subrc NE 0. SELECT SINGLE * INTO ls_likp FROM likp WHERE vbeln = ls_vttp_delta-vbeln AND lfart = 'LBNP'. CHECK sy-subrc EQ 0. CLEAR ls_vbfa_new. ls_vbfa_new-vbelv = ls_vttp_delta-vbeln. ls_vbfa_new-vbeln = ls_vttp_delta-tknum. COLLECT ls_vbfa_new INTO lt_vbfa_new. ENDIF. ENDLOOP. CHECK lt_likp_new IS NOT INITIAL. CLEAR: lt_stops, lt_dlv_watching_stops. LOOP AT lt_vbfa_new INTO ls_vbfa_new. CLEAR: lt_stops_tmp, lt_dlv_watching_stops_tmp. IF ls_vbfa_new-vbeln = ls_vttk-tknum. CALL FUNCTION 'ZGTT_GET_STOPS_FROM_SHIPMENT' EXPORTING iv_tknum = ls_vttk-tknum it_vtts_new = im_shipments_before_update-new_vtts it_vtsp_new = im_shipments_before_update-new_vtsp it_vttp_new = im_shipments_before_update-new_vttp IMPORTING et_stops = lt_stops_tmp et_dlv_watching_stops = lt_dlv_watching_stops_tmp. ELSE. CALL FUNCTION 'ZGTT_GET_STOPS_FROM_SHIPMENT' EXPORTING iv_tknum = ls_vbfa_new-vbeln IMPORTING et_stops = lt_stops_tmp et_dlv_watching_stops = lt_dlv_watching_stops_tmp. ENDIF. APPEND LINES OF lt_stops_tmp TO lt_stops. APPEND LINES OF lt_dlv_watching_stops_tmp TO lt_dlv_watching_stops. ENDLOOP. SORT lt_stops BY stopid loccat. SORT lt_dlv_watching_stops BY vbeln stopid loccat. DELETE ADJACENT DUPLICATES FROM lt_stops COMPARING stopid loccat. DELETE ADJACENT DUPLICATES FROM lt_dlv_watching_stops COMPARING vbeln stopid loccat. * *************************************************************COMPOSE IDOC-> LOOP AT lt_aotype INTO ls_aotype. SELECT SINGLE trxservername INTO lv_trxserver_id FROM /saptrx/aotypes WHERE trk_obj_type EQ ls_aotype-obj_type AND aotype EQ ls_aotype-aot_type. SELECT SINGLE trx_server_id trx_server INTO ( ls_trxserv-trx_server_id, ls_trxserv-trx_server ) FROM /saptrx/trxserv WHERE trx_server_id = lv_trxserver_id. CLEAR: lt_appobj_ctabs, lt_control, lt_tracking_id, lt_exp_events. LOOP AT lt_likp_new INTO ls_likp_new. CLEAR: ls_appobj_ctabs. ls_appobj_ctabs-trxservername = ls_trxserv-trx_server_id. ls_appobj_ctabs-appobjtype = ls_aotype-aot_type. ls_appobj_ctabs-appobjid = ls_likp_new-vbeln. APPEND ls_appobj_ctabs TO lt_appobj_ctabs. * update the impacted deliveries' shipment composition and tracking id table=> CLEAR: ls_control. ls_control-appsys = lv_appsys. ls_control-appobjtype = ls_aotype-aot_type. ls_control-appobjid = ls_likp_new-vbeln. ls_control-paramname = 'YN_DLV_NO'. ls_control-value = ls_likp_new-vbeln. APPEND ls_control TO lt_control. ls_control-paramname = 'ACTUAL_BUSINESS_TIMEZONE'. ls_control-value = lv_tzone. APPEND ls_control TO lt_control. ls_control-paramname = 'ACTUAL_BUSINESS_DATETIME'. CONCATENATE '0' sy-datum sy-uzeit INTO ls_control-value. APPEND ls_control TO lt_control. CLEAR: lv_count. LOOP AT lt_vbfa_new INTO ls_vbfa_new WHERE vbelv = ls_likp_new-vbeln. lv_count = lv_count + 1. ls_control-paramname = 'YN_SHP_LINE_COUNT'. ls_control-paramindex = lv_count. ls_control-value = lv_count. SHIFT ls_control-value LEFT DELETING LEADING space. APPEND ls_control TO lt_control. ls_control-paramname = 'YN_SHP_NO'. ls_control-paramindex = lv_count. ls_control-value = ls_vbfa_new-vbeln. APPEND ls_control TO lt_control. CLEAR: lv_fstop, lv_lstop. LOOP AT lt_dlv_watching_stops INTO ls_dlv_watching_stop WHERE vbeln = ls_vbfa_new-vbelv AND stopid(10) = ls_vbfa_new-vbeln. IF lv_fstop IS INITIAL. lv_fstop = ls_dlv_watching_stop-stopid. ENDIF. lv_lstop = ls_dlv_watching_stop-stopid. ENDLOOP. ls_control-paramname = 'YN_SHP_FIRST_STOP'. ls_control-paramindex = lv_count. ls_control-value = lv_fstop. APPEND ls_control TO lt_control. ls_control-paramname = 'YN_SHP_LAST_STOP'. ls_control-paramindex = lv_count. ls_control-value = lv_lstop. APPEND ls_control TO lt_control. ENDLOOP. IF sy-subrc NE 0. ls_control-paramname = 'YN_SHP_LINE_COUNT'. ls_control-paramindex = '1'. ls_control-value = ''. APPEND ls_control TO lt_control. ENDIF. CLEAR: ls_tracking_id. ls_tracking_id-appsys = lv_appsys. ls_tracking_id-appobjtype = ls_aotype-aot_type. ls_tracking_id-appobjid = ls_likp_new-vbeln. ls_tracking_id-trxcod = 'OUTBOUND_DELIVERY'. ls_tracking_id-trxid = ls_likp_new-vbeln. CONCATENATE '0' sy-datum sy-uzeit INTO ls_tracking_id-start_date. ls_tracking_id-end_date = '099991231000000'. ls_tracking_id-timzon = lv_tzone. APPEND ls_tracking_id TO lt_tracking_id. CLEAR ls_tracking_id-start_date. CLEAR ls_tracking_id-end_date. CLEAR ls_tracking_id-timzon. LOOP AT lt_vttp_delta INTO ls_vttp_delta WHERE vbeln = ls_likp_new-vbeln. CLEAR ls_tracking_id-action. ls_tracking_id-trxcod = 'SHIPMENT_ORDER'. ls_tracking_id-trxid = ls_vttp_delta-tknum. IF ls_vttp_delta-updkz = 'D'. ls_tracking_id-action = 'D'. ENDIF. APPEND ls_tracking_id TO lt_tracking_id. ENDLOOP. * update the impacted deliveries' shipment composition and tracking id table=< * update the impacted deliveries' planned event table=> CLEAR ls_expeventdata. ls_expeventdata-appsys = lv_appsys. ls_expeventdata-appobjtype = ls_aotype-aot_type. ls_expeventdata-language = sy-langu. ls_expeventdata-appobjid = ls_likp_new-vbeln. ls_expeventdata-evt_exp_tzone = lv_tzone. CLEAR ls_eerel. SELECT SINGLE * INTO ls_eerel FROM zgtt_sof_ee_rel WHERE appobjid = ls_expeventdata-appobjid. IF ls_eerel-z_wbstk = 'X'. ls_expeventdata-milestone = 'GOODS_ISSUE'. IF ls_likp_new-wadat IS INITIAL. CLEAR ls_expeventdata-evt_exp_datetime. ELSE. CONCATENATE '0' ls_likp_new-wadat ls_likp_new-wauhr INTO ls_expeventdata-evt_exp_datetime. ENDIF. ls_expeventdata-loctype = 'ShippingPoint'. ls_expeventdata-locid1 = ls_likp_new-vstel. ls_expeventdata-locid2 = ''. APPEND ls_expeventdata TO lt_exp_events. ENDIF. ls_expeventdata-milestone = 'DEPARTURE'. LOOP AT lt_dlv_watching_stops INTO ls_dlv_watching_stop WHERE vbeln = ls_likp_new-vbeln AND loccat = 'S'. READ TABLE lt_stops INTO ls_stop WITH KEY stopid = ls_dlv_watching_stop-stopid loccat = ls_dlv_watching_stop-loccat. ls_expeventdata-locid2 = ls_stop-stopid. ls_expeventdata-loctype = ls_stop-loctype. ls_expeventdata-locid1 = ls_stop-locid. ls_expeventdata-evt_exp_datetime = ls_stop-pln_evt_datetime. ls_expeventdata-evt_exp_tzone = ls_stop-pln_evt_timezone. APPEND ls_expeventdata TO lt_exp_events. ENDLOOP. ls_expeventdata-milestone = 'ARRIV_DEST'. LOOP AT lt_dlv_watching_stops INTO ls_dlv_watching_stop WHERE vbeln = ls_likp_new-vbeln AND loccat = 'D'. READ TABLE lt_stops INTO ls_stop WITH KEY stopid = ls_dlv_watching_stop-stopid loccat = ls_dlv_watching_stop-loccat. ls_expeventdata-locid2 = ls_stop-stopid. ls_expeventdata-loctype = ls_stop-loctype. ls_expeventdata-locid1 = ls_stop-locid. ls_expeventdata-evt_exp_datetime = ls_stop-pln_evt_datetime. ls_expeventdata-evt_exp_tzone = ls_stop-pln_evt_timezone. APPEND ls_expeventdata TO lt_exp_events. ENDLOOP. ls_expeventdata-milestone = 'POD'. LOOP AT lt_dlv_watching_stops INTO ls_dlv_watching_stop WHERE vbeln = ls_likp_new-vbeln AND loccat = 'D'. READ TABLE lt_stops INTO ls_stop WITH KEY stopid = ls_dlv_watching_stop-stopid loccat = ls_dlv_watching_stop-loccat. CLEAR: lv_locid. SELECT SINGLE kunnr INTO lv_locid FROM likp WHERE vbeln = ls_likp_new-vbeln. IF lv_locid EQ ls_stop-locid AND ls_eerel-z_pdstk = 'X'. ls_expeventdata-locid2 = ls_stop-stopid. ls_expeventdata-loctype = ls_stop-loctype. ls_expeventdata-locid1 = ls_stop-locid. ls_expeventdata-evt_exp_datetime = ls_stop-pln_evt_datetime. ls_expeventdata-evt_exp_tzone = ls_stop-pln_evt_timezone. APPEND ls_expeventdata TO lt_exp_events. ENDIF. ENDLOOP. READ TABLE lt_exp_events WITH KEY appobjid = ls_likp_new-vbeln TRANSPORTING NO FIELDS. IF sy-subrc NE 0. ls_expeventdata-evt_exp_datetime = '000000000000000'. ls_expeventdata-milestone = ''. ls_expeventdata-evt_exp_tzone = ''. ls_expeventdata-loctype = ''. ls_expeventdata-locid1 = ''. ls_expeventdata-locid2 = ''. APPEND ls_expeventdata TO lt_exp_events. ENDIF. * update the impacted deliveries' planned event table=< ENDLOOP. IF lt_control IS NOT INITIAL. CALL METHOD zcl_gtt_sof_upd_xtp_references=>send_idoc_ehpost01 EXPORTING it_control = lt_control it_tracking_id = lt_tracking_id it_exp_event = lt_exp_events is_trxserv = ls_trxserv iv_appsys = lv_appsys it_appobj_ctabs = lt_appobj_ctabs. ENDIF. ENDLOOP. * update the impacted delivery items' planned event table=> CLEAR lt_lips. IF lt_likp_new IS NOT INITIAL. SELECT * INTO TABLE lt_lips FROM lips FOR ALL ENTRIES IN lt_likp_new WHERE vbeln = lt_likp_new-vbeln. ENDIF. LOOP AT lt_aotype_item INTO ls_aotype. SELECT SINGLE trxservername INTO lv_trxserver_id FROM /saptrx/aotypes WHERE trk_obj_type EQ ls_aotype-obj_type AND aotype EQ ls_aotype-aot_type. SELECT SINGLE trx_server_id trx_server INTO ( ls_trxserv-trx_server_id, ls_trxserv-trx_server ) FROM /saptrx/trxserv WHERE trx_server_id = lv_trxserver_id. CLEAR: lt_appobj_ctabs, lt_control, lt_tracking_id, lt_exp_events. LOOP AT lt_lips INTO ls_lips. CLEAR: ls_appobj_ctabs. ls_appobj_ctabs-trxservername = ls_trxserv-trx_server_id. ls_appobj_ctabs-appobjtype = ls_aotype-aot_type. CONCATENATE ls_lips-vbeln ls_lips-posnr INTO ls_appobj_ctabs-appobjid. APPEND ls_appobj_ctabs TO lt_appobj_ctabs. CLEAR: ls_control. ls_control-appsys = lv_appsys. ls_control-appobjtype = ls_aotype-aot_type. CONCATENATE ls_lips-vbeln ls_lips-posnr INTO ls_control-appobjid. ls_control-paramname = 'YN_DLV_NO'. ls_control-value = ls_lips-vbeln. APPEND ls_control TO lt_control. ls_control-paramname = 'YN_DLV_ITEM_NO'. ls_control-value = ls_lips-posnr. APPEND ls_control TO lt_control. ls_control-paramname = 'ACTUAL_BUSINESS_TIMEZONE'. ls_control-value = lv_tzone. APPEND ls_control TO lt_control. ls_control-paramname = 'ACTUAL_BUSINESS_DATETIME'. CONCATENATE '0' sy-datum sy-uzeit INTO ls_control-value. APPEND ls_control TO lt_control. CLEAR: ls_tracking_id. ls_tracking_id-appsys = lv_appsys. ls_tracking_id-appobjtype = ls_aotype-aot_type. CONCATENATE ls_lips-vbeln ls_lips-posnr INTO ls_tracking_id-appobjid. ls_tracking_id-trxcod = 'OUTBOUND_DELIVERY_IT'. CONCATENATE ls_lips-vbeln ls_lips-posnr INTO ls_tracking_id-trxid. CONCATENATE '0' sy-datum sy-uzeit INTO ls_tracking_id-start_date. ls_tracking_id-end_date = '099991231000000'. ls_tracking_id-timzon = lv_tzone. APPEND ls_tracking_id TO lt_tracking_id. CLEAR ls_expeventdata. ls_expeventdata-appsys = lv_appsys. ls_expeventdata-appobjtype = ls_aotype-aot_type. ls_expeventdata-language = sy-langu. CONCATENATE ls_lips-vbeln ls_lips-posnr INTO ls_expeventdata-appobjid. ls_expeventdata-evt_exp_tzone = lv_tzone. SELECT SINGLE * INTO ls_likp_tmp FROM likp WHERE vbeln = ls_lips-vbeln. CLEAR ls_eerel. SELECT SINGLE * INTO ls_eerel FROM zgtt_sof_ee_rel WHERE appobjid = ls_expeventdata-appobjid. IF ls_eerel-z_kostk = 'X'. ls_expeventdata-milestone = 'PICKING'. IF ls_likp_tmp-kodat IS INITIAL. CLEAR ls_expeventdata-evt_exp_datetime. ELSE. CONCATENATE '0' ls_likp_tmp-kodat ls_likp_tmp-kouhr INTO ls_expeventdata-evt_exp_datetime. ENDIF. ls_expeventdata-loctype = 'ShippingPoint'. ls_expeventdata-locid1 = ls_likp_tmp-vstel. ls_expeventdata-locid2 = ''. APPEND ls_expeventdata TO lt_exp_events. ENDIF. IF ls_eerel-z_pkstk = 'X'. CLEAR ls_expeventdata-evt_exp_datetime. ls_expeventdata-milestone = 'PACKING'. ls_expeventdata-loctype = 'ShippingPoint'. ls_expeventdata-locid1 = ls_likp_tmp-vstel. ls_expeventdata-locid2 = ''. APPEND ls_expeventdata TO lt_exp_events. ENDIF. IF ls_eerel-z_wbstk = 'X'. ls_expeventdata-milestone = 'GOODS_ISSUE'. IF ls_likp_tmp-wadat IS INITIAL. CLEAR ls_expeventdata-evt_exp_datetime. ELSE. CONCATENATE '0' ls_likp_tmp-wadat ls_likp_tmp-wauhr INTO ls_expeventdata-evt_exp_datetime. ENDIF. ls_expeventdata-loctype = 'ShippingPoint'. ls_expeventdata-locid1 = ls_likp_tmp-vstel. ls_expeventdata-locid2 = ''. APPEND ls_expeventdata TO lt_exp_events. ENDIF. IF ls_eerel-z_pdstk = 'X'. CLEAR ls_expeventdata-evt_exp_datetime. ls_expeventdata-milestone = 'POD'. ls_expeventdata-loctype = 'Customer'. ls_expeventdata-locid1 = ls_likp_tmp-kunnr. ls_expeventdata-locid2 = ''. APPEND ls_expeventdata TO lt_exp_events. ENDIF. ls_expeventdata-milestone = 'DEPARTURE'. LOOP AT lt_dlv_watching_stops INTO ls_dlv_watching_stop WHERE vbeln = ls_lips-vbeln AND loccat = 'S'. READ TABLE lt_stops INTO ls_stop WITH KEY stopid = ls_dlv_watching_stop-stopid loccat = ls_dlv_watching_stop-loccat. ls_expeventdata-locid2 = ls_stop-stopid. ls_expeventdata-loctype = ls_stop-loctype. ls_expeventdata-locid1 = ls_stop-locid. ls_expeventdata-evt_exp_datetime = ls_stop-pln_evt_datetime. ls_expeventdata-evt_exp_tzone = ls_stop-pln_evt_timezone. APPEND ls_expeventdata TO lt_exp_events. ENDLOOP. ls_expeventdata-milestone = 'ARRIV_DEST'. LOOP AT lt_dlv_watching_stops INTO ls_dlv_watching_stop WHERE vbeln = ls_lips-vbeln AND loccat = 'D'. READ TABLE lt_stops INTO ls_stop WITH KEY stopid = ls_dlv_watching_stop-stopid loccat = ls_dlv_watching_stop-loccat. ls_expeventdata-locid2 = ls_stop-stopid. ls_expeventdata-loctype = ls_stop-loctype. ls_expeventdata-locid1 = ls_stop-locid. ls_expeventdata-evt_exp_datetime = ls_stop-pln_evt_datetime. ls_expeventdata-evt_exp_tzone = ls_stop-pln_evt_timezone. APPEND ls_expeventdata TO lt_exp_events. ENDLOOP. ls_expeventdata-milestone = 'POD'. LOOP AT lt_dlv_watching_stops INTO ls_dlv_watching_stop WHERE vbeln = ls_lips-vbeln AND loccat = 'D'. READ TABLE lt_stops INTO ls_stop WITH KEY stopid = ls_dlv_watching_stop-stopid loccat = ls_dlv_watching_stop-loccat. CLEAR: lv_locid. SELECT SINGLE kunnr INTO lv_locid FROM likp WHERE vbeln = ls_lips-vbeln. IF lv_locid EQ ls_stop-locid AND ls_eerel-z_pdstk = 'X'. ls_expeventdata-locid2 = ls_stop-stopid. ls_expeventdata-loctype = ls_stop-loctype. ls_expeventdata-locid1 = ls_stop-locid. ls_expeventdata-evt_exp_datetime = ls_stop-pln_evt_datetime. ls_expeventdata-evt_exp_tzone = ls_stop-pln_evt_timezone. APPEND ls_expeventdata TO lt_exp_events. ENDIF. ENDLOOP. CONCATENATE ls_lips-vbeln ls_lips-posnr INTO lv_appobjid. READ TABLE lt_exp_events WITH KEY appobjid = lv_appobjid TRANSPORTING NO FIELDS. IF sy-subrc NE 0. ls_expeventdata-evt_exp_datetime = '000000000000000'. ls_expeventdata-milestone = ''. ls_expeventdata-evt_exp_tzone = ''. ls_expeventdata-loctype = ''. ls_expeventdata-locid1 = ''. ls_expeventdata-locid2 = ''. APPEND ls_expeventdata TO lt_exp_events. ENDIF. ENDLOOP. IF lt_control IS NOT INITIAL. CALL METHOD zcl_gtt_sof_upd_xtp_references=>send_idoc_ehpost01 EXPORTING it_control = lt_control it_tracking_id = lt_tracking_id it_exp_event = lt_exp_events is_trxserv = ls_trxserv iv_appsys = lv_appsys it_appobj_ctabs = lt_appobj_ctabs. ENDIF. ENDLOOP. * update the impacted delivery items' planned event table=< ENDLOOP. ENDMETHOD. method IF_EX_BADI_LE_SHIPMENT~IN_UPDATE. endmethod. ENDCLASS.
[ 4871, 1168, 5097, 62, 3955, 834, 38, 15751, 62, 15821, 37, 62, 2538, 62, 49423, 44, 11251, 6770, 198, 220, 1171, 198, 220, 2457, 198, 220, 2251, 1171, 764, 198, 198, 11377, 2665, 13, 628, 220, 20314, 16876, 62, 6369, 62, 33, 2885, 40, 62, 2538, 62, 49423, 10979, 764, 198, 24326, 2665, 13, 198, 19734, 2665, 13, 198, 10619, 31631, 13, 628, 198, 198, 31631, 1168, 5097, 62, 3955, 834, 38, 15751, 62, 15821, 37, 62, 2538, 62, 49423, 44, 11251, 30023, 2538, 10979, 6234, 13, 628, 198, 220, 2446, 16876, 62, 6369, 62, 33, 2885, 40, 62, 2538, 62, 49423, 10979, 93, 1404, 62, 4090, 6089, 13, 198, 220, 886, 24396, 13, 628, 198, 49273, 611, 62, 1069, 62, 65, 9189, 62, 293, 62, 6720, 434, 93, 19052, 62, 19119, 13, 198, 220, 3268, 5097, 52, 7206, 1220, 82, 2373, 40914, 14, 9979, 1187, 13, 198, 220, 41876, 12, 16402, 3535, 50, 25, 491, 87, 292, 13, 628, 220, 42865, 25, 300, 62, 301, 5620, 62, 26495, 41876, 1614, 4871, 11, 198, 220, 220, 220, 220, 220, 220, 220, 300, 62, 2302, 32109, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 41876, 6056, 13, 628, 220, 42865, 25, 300, 85, 62, 9127, 220, 220, 220, 41876, 1312, 11, 198, 220, 220, 220, 220, 220, 220, 220, 43979, 62, 785, 10247, 20, 220, 220, 41876, 410, 65, 1073, 20, 11, 198, 220, 220, 220, 220, 220, 220, 220, 43979, 62, 785, 10247, 21, 220, 220, 41876, 410, 65, 1073, 21, 11, 198, 220, 220, 220, 220, 220, 220, 220, 300, 85, 62, 69, 11338, 220, 220, 220, 41876, 1149, 13381, 11, 198, 220, 220, 220, 220, 220, 220, 220, 300, 85, 62, 75, 11338, 220, 220, 220, 41876, 1149, 13381, 11, 198, 9, 220, 220, 13397, 5121, 198, 220, 220, 220, 220, 220, 220, 220, 300, 85, 62, 17946, 312, 220, 220, 220, 41876, 1976, 70, 926, 62, 17946, 312, 11, 198, 220, 220, 220, 220, 220, 220, 220, 300, 85, 62, 1324, 26801, 312, 41876, 1220, 82, 2373, 40914, 14, 64, 1868, 13, 628, 220, 42865, 25, 43979, 62, 85, 926, 74, 62, 727, 220, 220, 220, 220, 220, 220, 220, 220, 220, 41876, 410, 926, 74, 85, 65, 11, 198, 220, 220, 220, 220, 220, 220, 220, 43979, 62, 85, 926, 74, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 41876, 410, 926, 74, 85, 65, 11, 198, 220, 220, 220, 220, 220, 220, 220, 43979, 62, 85, 926, 74, 62, 22065, 220, 220, 220, 220, 220, 220, 220, 220, 220, 41876, 410, 926, 74, 11, 198, 220, 220, 220, 220, 220, 220, 220, 43979, 62, 36540, 912, 62, 727, 220, 220, 220, 220, 220, 220, 220, 220, 220, 41876, 410, 83, 912, 85, 65, 11, 198, 220, 220, 220, 220, 220, 220, 220, 43979, 62, 36540, 912, 62, 67, 12514, 220, 220, 220, 220, 220, 220, 220, 41876, 410, 83, 912, 85, 65, 11, 198, 220, 220, 220, 220, 220, 220, 220, 43979, 62, 85, 29281, 62, 67, 12514, 220, 220, 220, 220, 220, 220, 220, 41876, 410, 29281, 85, 65, 11, 198, 220, 220, 220, 220, 220, 220, 220, 43979, 62, 85, 912, 79, 62, 67, 12514, 220, 220, 220, 220, 220, 220, 220, 41876, 410, 912, 79, 85, 65, 11, 198, 220, 220, 220, 220, 220, 220, 220, 43979, 62, 46965, 79, 62, 67, 12514, 220, 220, 220, 220, 220, 220, 220, 41876, 4300, 79, 85, 65, 11, 198, 220, 220, 220, 220, 220, 220, 220, 43979, 62, 46965, 79, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 41876, 4300, 79, 11, 198, 220, 220, 220, 220, 220, 220, 220, 43979, 62, 46965, 79, 62, 22065, 220, 220, 220, 220, 220, 220, 220, 220, 220, 41876, 4300, 79, 11, 198, 220, 220, 220, 220, 220, 220, 220, 43979, 62, 85, 19881, 292, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 41876, 410, 19881, 292, 11, 198, 220, 220, 220, 220, 220, 220, 220, 43979, 62, 85, 65, 13331, 62, 3605, 220, 220, 220, 220, 220, 220, 220, 220, 220, 41876, 410, 19881, 615, 65, 11, 198, 220, 220, 220, 220, 220, 220, 220, 43979, 62, 46965, 79, 62, 3605, 220, 220, 220, 220, 220, 220, 220, 220, 220, 41876, 4300, 79, 11, 198, 220, 220, 220, 220, 220, 220, 220, 43979, 62, 75, 2419, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 41876, 11914, 11, 198, 220, 220, 220, 220, 220, 220, 220, 43979, 62, 11338, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 41876, 1976, 70, 926, 62, 11338, 62, 10951, 11, 198, 220, 220, 220, 220, 220, 220, 220, 43979, 62, 67, 6780, 62, 50042, 62, 11338, 41876, 220, 1976, 70, 926, 62, 67, 6780, 62, 8340, 62, 11338, 11, 198, 220, 220, 220, 220, 220, 220, 220, 43979, 62, 68, 567, 75, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 41876, 1976, 70, 926, 62, 568, 69, 62, 1453, 62, 2411, 13, 628, 220, 42865, 25, 300, 83, 62, 85, 19881, 292, 220, 220, 220, 220, 220, 220, 220, 220, 220, 41876, 49053, 9795, 43679, 3963, 410, 19881, 292, 11, 198, 220, 220, 220, 220, 220, 220, 220, 300, 83, 62, 85, 65, 13331, 62, 3605, 220, 220, 220, 220, 220, 220, 41876, 49053, 9795, 43679, 3963, 410, 19881, 615, 65, 11, 198, 220, 220, 220, 220, 220, 220, 220, 300, 83, 62, 85, 926, 74, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 41876, 49053, 9795, 43679, 3963, 410, 926, 74, 85, 65, 11, 198, 220, 220, 220, 220, 220, 220, 220, 300, 83, 62, 36540, 912, 62, 67, 12514, 220, 220, 220, 220, 41876, 49053, 9795, 43679, 3963, 410, 83, 912, 85, 65, 11, 198, 220, 220, 220, 220, 220, 220, 220, 300, 83, 62, 85, 29281, 62, 67, 12514, 220, 220, 220, 220, 41876, 49053, 9795, 43679, 3963, 410, 29281, 85, 65, 11, 198, 220, 220, 220, 220, 220, 220, 220, 300, 83, 62, 85, 29281, 62, 67, 12514, 62 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1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1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
class ZCL_IM_AS_CREDIT definition public final create public . public section. interfaces IF_EX_UKM_EV_FORMULA .
[ 4871, 1168, 5097, 62, 3955, 62, 1921, 62, 9419, 24706, 6770, 198, 220, 1171, 198, 220, 2457, 198, 220, 2251, 1171, 764, 198, 198, 11377, 2665, 13, 628, 220, 20314, 16876, 62, 6369, 62, 15039, 44, 62, 20114, 62, 21389, 6239, 32, 764 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
CLASS zcl_uom_alv_ida DEFINITION PUBLIC FINAL CREATE PRIVATE. PUBLIC SECTION. INTERFACES zif_uom_alv_ida. TYPES ty_uom_selection TYPE RANGE OF msehi. TYPES ty_language_selection TYPE RANGE OF spras. METHODS constructor IMPORTING it_uom_selection TYPE ty_uom_selection it_language_selection TYPE ty_language_selection. CLASS-METHODS get_instance IMPORTING it_uom_selection TYPE ty_uom_selection it_language_selection TYPE ty_language_selection RETURNING VALUE(ro_result) TYPE REF TO zif_uom_alv_ida. PROTECTED SECTION. PRIVATE SECTION. CONSTANTS mc_cds_view_name TYPE dbtabl VALUE 'zb_uom'. CLASS-DATA mo_instance TYPE REF TO zcl_uom_alv_ida. DATA mo_alv_with_ida TYPE REF TO if_salv_gui_table_ida. METHODS on_double_click_on_cell FOR EVENT double_click OF if_salv_gui_table_display_opt IMPORTING ev_field_name eo_row_data. METHODS on_toolbar_function_selected FOR EVENT function_selected OF if_salv_gui_toolbar_ida IMPORTING ev_fcode. METHODS create_alv_with_ida. METHODS provide_select_options IMPORTING it_uom_selection TYPE ty_uom_selection it_language_selection TYPE ty_language_selection. METHODS activate_text_search. METHODS activate_layout_persistence. METHODS register_double_click_event. METHODS get_row_data IMPORTING row_object TYPE REF TO if_salv_gui_row_data_ida RETURNING VALUE(rs_result) TYPE zb_uom. METHODS add_buttons_to_toolbar. METHODS change_toolbar. METHODS register_toolbar_event. ENDCLASS. CLASS zcl_uom_alv_ida IMPLEMENTATION. METHOD activate_text_search. mo_alv_with_ida->standard_functions( )->set_text_search_active( abap_true ). TRY. mo_alv_with_ida->field_catalog( )->enable_text_search( 'SHORT_TEXT' ). mo_alv_with_ida->field_catalog( )->enable_text_search( 'LONG_TEXT' ). CATCH cx_salv_ida_unknown_name. CATCH cx_salv_call_after_1st_display. ENDTRY. ENDMETHOD. METHOD activate_layout_persistence. DATA(ls_persistence_key) = VALUE if_salv_gui_layout_persistence=>ys_persistence_key( report_name = sy-repid handle = 'ZUOM' ). TRY. mo_alv_with_ida->layout_persistence( )->set_persistence_options( EXPORTING is_persistence_key = ls_persistence_key * i_global_save_allowed = ABAP_TRUE * i_user_specific_save_allowed = ABAP_TRUE ). CATCH cx_salv_ida_layout_key_invalid. ENDTRY. ENDMETHOD. METHOD constructor. create_alv_with_ida( ). provide_select_options( it_uom_selection = it_uom_selection it_language_selection = it_language_selection ). activate_text_search( ). activate_layout_persistence( ). change_toolbar( ). register_double_click_event( ). ENDMETHOD. METHOD create_alv_with_ida. TRY. mo_alv_with_ida = cl_salv_gui_table_ida=>create_for_cds_view( EXPORTING iv_cds_view_name = mc_cds_view_name * io_gui_container = * io_calc_field_handler = ). CATCH cx_salv_db_connection. CATCH cx_salv_db_table_not_supported. CATCH cx_salv_ida_contract_violation. CATCH cx_salv_function_not_supported. ENDTRY. ENDMETHOD. METHOD on_double_click_on_cell. DATA(ls_row_data) = get_row_data( eo_row_data ). DATA(lv_message_text) = |Double click on field in column { ev_field_name }|. MESSAGE lv_message_text TYPE 'S'. ENDMETHOD. METHOD get_row_data. TRY. row_object->get_row_data( EXPORTING iv_request_type = if_salv_gui_selection_ida=>cs_request_type-all_fields * its_requested_fields = IMPORTING es_row = rs_result ). CATCH cx_salv_ida_contract_violation. CATCH cx_salv_ida_sel_row_deleted. ENDTRY. ENDMETHOD. METHOD provide_select_options. DATA(lo_collector) = NEW cl_salv_range_tab_collector( ). lo_collector->add_ranges_for_name( iv_name = 'UNIT_OF_MEASUREMENT' it_ranges = it_uom_selection ). lo_collector->add_ranges_for_name( iv_name = 'LANGUAGE' it_ranges = it_language_selection ). lo_collector->get_collected_ranges( IMPORTING et_named_ranges = DATA(lt_ranges) ). TRY. mo_alv_with_ida->set_select_options( EXPORTING it_ranges = lt_ranges * io_condition = ). CATCH cx_salv_ida_associate_invalid. CATCH cx_salv_db_connection. CATCH cx_salv_ida_condition_invalid. CATCH cx_salv_ida_unknown_name. ENDTRY. ENDMETHOD. METHOD register_double_click_event. TRY. mo_alv_with_ida->selection( )->set_selection_mode( if_salv_gui_selection_ida=>cs_selection_mode-single ). CATCH cx_salv_ida_contract_violation. ENDTRY. mo_alv_with_ida->display_options( )->enable_double_click( ). SET HANDLER on_double_click_on_cell FOR mo_alv_with_ida->display_options( ). ENDMETHOD. METHOD on_toolbar_function_selected. mo_alv_with_ida->refresh( ). ENDMETHOD. METHOD add_buttons_to_toolbar. mo_alv_with_ida->toolbar( )->add_button( iv_fcode = 'REFRESH' iv_icon = icon_refresh iv_is_checked = abap_false iv_text = space iv_quickinfo = 'Refresh list' iv_before_standard_functions = abap_false ). mo_alv_with_ida->toolbar( )->add_separator( EXPORTING iv_before_standard_functions = abap_true ). ENDMETHOD. METHOD change_toolbar. add_buttons_to_toolbar( ). register_toolbar_event( ). ENDMETHOD. METHOD register_toolbar_event. SET HANDLER on_toolbar_function_selected FOR mo_alv_with_ida->toolbar( ). ENDMETHOD. METHOD zif_uom_alv_ida~display. TRY. mo_alv_with_ida->fullscreen( )->display( ). CATCH cx_salv_ida_contract_violation. ENDTRY. ENDMETHOD. METHOD get_instance. IF mo_instance IS NOT BOUND. mo_instance = NEW zcl_uom_alv_ida( it_uom_selection = it_uom_selection it_language_selection = it_language_selection ). ENDIF. ro_result = mo_instance. ENDMETHOD. ENDCLASS.
[ 31631, 1976, 565, 62, 84, 296, 62, 282, 85, 62, 3755, 5550, 20032, 17941, 44731, 25261, 29244, 6158, 4810, 3824, 6158, 13, 628, 220, 44731, 44513, 13, 198, 220, 220, 220, 23255, 37, 2246, 1546, 1976, 361, 62, 84, 296, 62, 282, 85, 62, 3755, 13, 628, 220, 220, 220, 24412, 47, 1546, 1259, 62, 84, 296, 62, 49283, 41876, 371, 27746, 3963, 285, 325, 5303, 13, 198, 220, 220, 220, 24412, 47, 1546, 1259, 62, 16129, 62, 49283, 41876, 371, 27746, 3963, 7500, 292, 13, 628, 220, 220, 220, 337, 36252, 50, 23772, 198, 220, 220, 220, 220, 220, 30023, 9863, 2751, 198, 220, 220, 220, 220, 220, 220, 220, 340, 62, 84, 296, 62, 49283, 220, 220, 220, 220, 220, 41876, 1259, 62, 84, 296, 62, 49283, 198, 220, 220, 220, 220, 220, 220, 220, 340, 62, 16129, 62, 49283, 41876, 1259, 62, 16129, 62, 49283, 13, 628, 220, 220, 220, 42715, 12, 49273, 50, 651, 62, 39098, 198, 220, 220, 220, 220, 220, 30023, 9863, 2751, 198, 220, 220, 220, 220, 220, 220, 220, 340, 62, 84, 296, 62, 49283, 220, 220, 220, 220, 220, 41876, 1259, 62, 84, 296, 62, 49283, 198, 220, 220, 220, 220, 220, 220, 220, 340, 62, 16129, 62, 49283, 41876, 1259, 62, 16129, 62, 49283, 198, 220, 220, 220, 220, 220, 30826, 4261, 15871, 198, 220, 220, 220, 220, 220, 220, 220, 26173, 8924, 7, 305, 62, 20274, 8, 220, 220, 220, 220, 220, 41876, 4526, 37, 5390, 1976, 361, 62, 84, 296, 62, 282, 85, 62, 3755, 13, 628, 220, 48006, 9782, 1961, 44513, 13, 628, 220, 4810, 3824, 6158, 44513, 13, 198, 220, 220, 220, 7102, 2257, 1565, 4694, 36650, 62, 66, 9310, 62, 1177, 62, 3672, 41876, 20613, 8658, 75, 26173, 8924, 705, 14969, 62, 84, 296, 4458, 628, 220, 220, 220, 42715, 12, 26947, 6941, 62, 39098, 41876, 4526, 37, 5390, 1976, 565, 62, 84, 296, 62, 282, 85, 62, 3755, 13, 628, 220, 220, 220, 42865, 6941, 62, 282, 85, 62, 4480, 62, 3755, 41876, 4526, 37, 5390, 611, 62, 21680, 85, 62, 48317, 62, 11487, 62, 3755, 13, 628, 220, 220, 220, 337, 36252, 50, 319, 62, 23352, 62, 12976, 62, 261, 62, 3846, 7473, 49261, 4274, 62, 12976, 3963, 611, 62, 21680, 85, 62, 48317, 62, 11487, 62, 13812, 62, 8738, 198, 220, 220, 220, 220, 220, 30023, 9863, 2751, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 819, 62, 3245, 62, 3672, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 304, 78, 62, 808, 62, 7890, 13, 628, 220, 220, 220, 337, 36252, 50, 319, 62, 25981, 5657, 62, 8818, 62, 34213, 7473, 49261, 2163, 62, 34213, 3963, 611, 62, 21680, 85, 62, 48317, 62, 25981, 5657, 62, 3755, 198, 220, 220, 220, 220, 220, 30023, 9863, 2751, 819, 62, 69, 8189, 13, 628, 220, 220, 220, 337, 36252, 50, 2251, 62, 282, 85, 62, 4480, 62, 3755, 13, 628, 220, 220, 220, 337, 36252, 50, 2148, 62, 19738, 62, 25811, 198, 220, 220, 220, 220, 220, 30023, 9863, 2751, 198, 220, 220, 220, 220, 220, 220, 220, 340, 62, 84, 296, 62, 49283, 220, 220, 220, 220, 220, 41876, 1259, 62, 84, 296, 62, 49283, 198, 220, 220, 220, 220, 220, 220, 220, 340, 62, 16129, 62, 49283, 41876, 1259, 62, 16129, 62, 49283, 13, 628, 220, 220, 220, 337, 36252, 50, 15155, 62, 5239, 62, 12947, 13, 628, 220, 220, 220, 337, 36252, 50, 15155, 62, 39786, 62, 19276, 13274, 13, 628, 220, 220, 220, 337, 36252, 50, 7881, 62, 23352, 62, 12976, 62, 15596, 13, 628, 220, 220, 220, 337, 36252, 50, 651, 62, 808, 62, 7890, 198, 220, 220, 220, 220, 220, 30023, 9863, 2751, 198, 220, 220, 220, 220, 220, 220, 220, 5752, 62, 15252, 220, 220, 220, 220, 220, 220, 41876, 4526, 37, 5390, 611, 62, 21680, 85, 62, 48317, 62, 808, 62, 7890, 62, 3755, 198, 220, 220, 220, 220, 220, 30826, 4261, 15871, 198, 220, 220, 220, 220, 220, 220, 220, 26173, 8924, 7, 3808, 62, 20274, 8, 41876, 1976, 65, 62, 84, 296, 13, 628, 220, 220, 220, 337, 36252, 50, 751, 62, 4360, 27288, 62, 1462, 62, 25981, 5657, 13, 628, 220, 220, 220, 337, 36252, 50, 1487, 62, 25981, 5657, 13, 628, 220, 220, 220, 337, 36252, 50, 7881, 62, 25981, 5657, 62, 15596, 13, 198, 198, 10619, 31631, 13, 628, 198, 198, 31631, 1976, 565, 62, 84, 296, 62, 282, 85, 62, 3755, 30023, 2538, 10979, 6234, 13, 628, 220, 337, 36252, 15155, 62, 5239, 62, 12947, 13, 198, 220, 220, 220, 6941, 62, 282, 85, 62, 4480, 62, 3755, 3784, 20307, 62, 12543, 2733, 7, 1267, 3784, 2617, 62, 5239, 62, 12947, 62, 5275, 7, 450, 499, 62, 7942, 6739, 628, 220, 220, 220, 7579, 56, 13, 198, 220, 220, 220, 220, 220, 220, 220, 6941, 62, 282, 85, 62, 4480, 62, 3755, 3784, 3245, 62, 9246, 11794, 7, 1267, 3784, 21633, 62, 5239, 62, 12947, 7, 705, 9693, 9863, 62, 32541, 6, 6739, 198, 220, 220, 220, 220, 220, 220, 220, 6941, 62, 282, 85, 62, 4480, 62, 3755, 3784, 3245, 62, 9246, 11794, 7, 1267, 3784, 21633, 62, 5239, 62, 12947, 7, 705, 43, 18494, 62, 32541, 6, 6739, 198, 220, 220, 220, 220, 220, 327, 11417, 43213, 62, 21680, 85, 62, 3755, 62, 34680, 62, 3672, 13, 198, 220, 220, 220, 220, 220, 327, 11417, 43213, 62, 21680, 85, 62, 13345, 62, 8499, 62, 16, 301, 62, 13812, 13, 198, 220, 220, 220, 23578, 40405, 13, 198, 220, 23578, 49273, 13, 628, 220, 337, 36252, 15155, 62, 39786, 62, 19276, 13274, 13, 198, 220, 220, 220, 42865, 7, 7278, 62, 19276, 13274, 62, 2539, 8, 796, 26173, 8924, 611, 62, 21680, 85, 62, 48317, 62, 39786, 62, 19276, 13274, 14804, 893, 62, 19276, 13274, 62, 2539, 7, 989, 62, 3672, 796, 827, 12, 7856, 312, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220,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1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
FUNCTION Z_DEMOS_QRFC_MOD_PROCESS. *"---------------------------------------------------------------------- *"*"Local Interface: *" IMPORTING *" VALUE(IV_DATA) TYPE VTEXT OPTIONAL *" EXCEPTIONS *" ERROR_1 *" ERROR_2 *"---------------------------------------------------------------------- * ----------- local data DATA: lv_rc TYPE i VALUE 0. DATA: lr_qrfc TYPE REF TO ZCL_DEMOS_QRFC_UTIL. * ----------- init lr_qrfc ?= ZCL_DEMOS_QRFC_UTIL=>get_instance( ). * ----------- process WAIT UP TO 1 SECONDS. * ---------- error handling CASE lv_rc. WHEN 0. " OK WHEN 1. RAISE error_1. WHEN 2. RAISE error_2. WHEN OTHERS. lr_qrfc->set_status_retry_later( ). ENDCASE. ENDFUNCTION.
[ 42296, 4177, 2849, 1168, 62, 39429, 2640, 62, 48, 41150, 62, 33365, 62, 4805, 4503, 7597, 13, 198, 9, 1, 10097, 23031, 198, 9, 1, 9, 1, 14565, 26491, 25, 198, 9, 1, 220, 30023, 9863, 2751, 198, 9, 1, 220, 220, 220, 220, 26173, 8924, 7, 3824, 62, 26947, 8, 41876, 220, 569, 32541, 39852, 2849, 1847, 198, 9, 1, 220, 7788, 42006, 11053, 198, 9, 1, 220, 220, 220, 220, 220, 33854, 62, 16, 198, 9, 1, 220, 220, 220, 220, 220, 33854, 62, 17, 198, 9, 1, 10097, 23031, 198, 9, 24200, 6329, 1957, 1366, 198, 220, 42865, 25, 300, 85, 62, 6015, 41876, 1312, 26173, 8924, 657, 13, 198, 220, 42865, 25, 300, 81, 62, 80, 81, 16072, 41876, 4526, 37, 5390, 1168, 5097, 62, 39429, 2640, 62, 48, 41150, 62, 3843, 4146, 13, 628, 198, 9, 24200, 6329, 2315, 198, 220, 300, 81, 62, 80, 81, 16072, 5633, 28, 1168, 5097, 62, 39429, 2640, 62, 48, 41150, 62, 3843, 4146, 14804, 1136, 62, 39098, 7, 6739, 628, 198, 9, 24200, 6329, 1429, 198, 220, 16400, 2043, 15958, 5390, 352, 10729, 1340, 5258, 13, 628, 198, 9, 24200, 438, 4049, 9041, 198, 220, 42001, 300, 85, 62, 6015, 13, 198, 220, 220, 220, 42099, 657, 13, 198, 220, 220, 220, 220, 220, 366, 7477, 198, 220, 220, 220, 42099, 352, 13, 198, 220, 220, 220, 220, 220, 17926, 24352, 4049, 62, 16, 13, 198, 220, 220, 220, 42099, 362, 13, 198, 220, 220, 220, 220, 220, 17926, 24352, 4049, 62, 17, 13, 198, 220, 220, 220, 42099, 440, 4221, 4877, 13, 198, 220, 220, 220, 220, 220, 300, 81, 62, 80, 81, 16072, 3784, 2617, 62, 13376, 62, 1186, 563, 62, 36760, 7, 6739, 198, 220, 23578, 34, 11159, 13, 628, 198, 1677, 8068, 4944, 4177, 2849, 13, 198 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
CLASS zcl_abapgit_gui_router DEFINITION PUBLIC FINAL CREATE PUBLIC . PUBLIC SECTION. INTERFACES zif_abapgit_gui_event_handler. PROTECTED SECTION. PRIVATE SECTION. TYPES: BEGIN OF ty_event_data, action TYPE string, prev_page TYPE string, getdata TYPE string, postdata TYPE cnht_post_data_tab, END OF ty_event_data . METHODS general_page_routing IMPORTING !is_event_data TYPE ty_event_data EXPORTING !ei_page TYPE REF TO zif_abapgit_gui_renderable !ev_state TYPE i RAISING zcx_abapgit_exception. METHODS abapgit_services_actions IMPORTING !is_event_data TYPE ty_event_data EXPORTING !ei_page TYPE REF TO zif_abapgit_gui_renderable !ev_state TYPE i RAISING zcx_abapgit_exception. METHODS db_actions IMPORTING !is_event_data TYPE ty_event_data EXPORTING !ei_page TYPE REF TO zif_abapgit_gui_renderable !ev_state TYPE i RAISING zcx_abapgit_exception. CLASS-METHODS file_download IMPORTING !iv_package TYPE devclass !iv_xstr TYPE xstring RAISING zcx_abapgit_exception . METHODS git_services IMPORTING !is_event_data TYPE ty_event_data EXPORTING !ei_page TYPE REF TO zif_abapgit_gui_renderable !ev_state TYPE i RAISING zcx_abapgit_exception. METHODS remote_origin_manipulations IMPORTING !is_event_data TYPE ty_event_data EXPORTING !ei_page TYPE REF TO zif_abapgit_gui_renderable !ev_state TYPE i RAISING zcx_abapgit_exception. METHODS sap_gui_actions IMPORTING !is_event_data TYPE ty_event_data EXPORTING !ei_page TYPE REF TO zif_abapgit_gui_renderable !ev_state TYPE i RAISING zcx_abapgit_exception. METHODS zip_services IMPORTING !is_event_data TYPE ty_event_data EXPORTING !ei_page TYPE REF TO zif_abapgit_gui_renderable !ev_state TYPE i RAISING zcx_abapgit_exception. METHODS repository_services IMPORTING !is_event_data TYPE ty_event_data EXPORTING !ei_page TYPE REF TO zif_abapgit_gui_renderable !ev_state TYPE i RAISING zcx_abapgit_exception. METHODS get_page_diff IMPORTING !iv_getdata TYPE clike RETURNING VALUE(ri_page) TYPE REF TO zif_abapgit_gui_renderable RAISING zcx_abapgit_exception . METHODS get_page_branch_overview IMPORTING !iv_getdata TYPE clike RETURNING VALUE(ri_page) TYPE REF TO zif_abapgit_gui_renderable RAISING zcx_abapgit_exception . METHODS get_page_stage IMPORTING !iv_getdata TYPE clike RETURNING VALUE(ri_page) TYPE REF TO zif_abapgit_gui_renderable RAISING zcx_abapgit_exception . METHODS get_page_background IMPORTING !iv_key TYPE zif_abapgit_persistence=>ty_repo-key RETURNING VALUE(ri_page) TYPE REF TO zif_abapgit_gui_renderable RAISING zcx_abapgit_exception . CLASS-METHODS jump_display_transport IMPORTING !iv_getdata TYPE clike RAISING zcx_abapgit_exception. ENDCLASS. CLASS zcl_abapgit_gui_router IMPLEMENTATION. METHOD abapgit_services_actions. DATA: li_main_page TYPE REF TO zcl_abapgit_gui_page_main. CASE is_event_data-action. " ABAPGIT services actions WHEN zif_abapgit_definitions=>c_action-abapgit_home. CREATE OBJECT li_main_page. ei_page = li_main_page. ev_state = zcl_abapgit_gui=>c_event_state-new_page. WHEN zif_abapgit_definitions=>c_action-abapgit_install. " Install abapGit zcl_abapgit_services_abapgit=>install_abapgit( ). ev_state = zcl_abapgit_gui=>c_event_state-re_render. ENDCASE. ENDMETHOD. METHOD db_actions. CASE is_event_data-action. " DB actions WHEN zif_abapgit_definitions=>c_action-db_edit. CREATE OBJECT ei_page TYPE zcl_abapgit_gui_page_db_edit EXPORTING is_key = zcl_abapgit_html_action_utils=>dbkey_decode( is_event_data-getdata ). ev_state = zcl_abapgit_gui=>c_event_state-new_page. IF is_event_data-prev_page = 'PAGE_DB_DIS'. ev_state = zcl_abapgit_gui=>c_event_state-new_page_replacing. ENDIF. WHEN zif_abapgit_definitions=>c_action-db_display. CREATE OBJECT ei_page TYPE zcl_abapgit_gui_page_db_dis EXPORTING is_key = zcl_abapgit_html_action_utils=>dbkey_decode( is_event_data-getdata ). ev_state = zcl_abapgit_gui=>c_event_state-new_page. ENDCASE. ENDMETHOD. METHOD file_download. DATA: lv_path TYPE string, lv_default TYPE string, li_fe_serv TYPE REF TO zif_abapgit_frontend_services, lv_package TYPE devclass. lv_package = iv_package. TRANSLATE lv_package USING '/#'. CONCATENATE lv_package '_' sy-datlo '_' sy-timlo INTO lv_default. li_fe_serv = zcl_abapgit_ui_factory=>get_frontend_services( ). lv_path = li_fe_serv->show_file_save_dialog( iv_title = 'Export ZIP' iv_extension = 'zip' iv_default_filename = lv_default ). li_fe_serv->file_download( iv_path = lv_path iv_xstr = iv_xstr ). ENDMETHOD. METHOD general_page_routing. DATA: lv_key TYPE zif_abapgit_persistence=>ty_repo-key, lv_last_repo_key TYPE zif_abapgit_persistence=>ty_repo-key. lv_key = is_event_data-getdata. " TODO refactor CASE is_event_data-action. " General PAGE routing WHEN zcl_abapgit_gui=>c_action-go_home. IF zcl_abapgit_persist_settings=>get_instance( )->read( )->get_show_default_repo( ) = abap_true. lv_last_repo_key = zcl_abapgit_persistence_user=>get_instance( )->get_repo_show( ). CREATE OBJECT ei_page TYPE zcl_abapgit_gui_page_view_repo EXPORTING iv_key = lv_last_repo_key. ev_state = zcl_abapgit_gui=>c_event_state-new_page. ELSE. CREATE OBJECT ei_page TYPE zcl_abapgit_gui_page_main. ev_state = zcl_abapgit_gui=>c_event_state-new_page. ENDIF. WHEN zif_abapgit_definitions=>c_action-go_repo_overview. " Go Repository overview CREATE OBJECT ei_page TYPE zcl_abapgit_gui_repo_over. ev_state = zcl_abapgit_gui=>c_event_state-new_page. WHEN zif_abapgit_definitions=>c_action-go_db. " Go DB util page CREATE OBJECT ei_page TYPE zcl_abapgit_gui_page_db. ev_state = zcl_abapgit_gui=>c_event_state-new_page. WHEN zif_abapgit_definitions=>c_action-go_debuginfo. CREATE OBJECT ei_page TYPE zcl_abapgit_gui_page_debuginfo. ev_state = zcl_abapgit_gui=>c_event_state-new_page. WHEN zif_abapgit_definitions=>c_action-go_settings. CREATE OBJECT ei_page TYPE zcl_abapgit_gui_page_settings. ev_state = zcl_abapgit_gui=>c_event_state-new_page. WHEN zif_abapgit_definitions=>c_action-go_background_run. " Go background run page CREATE OBJECT ei_page TYPE zcl_abapgit_gui_page_bkg_run. ev_state = zcl_abapgit_gui=>c_event_state-new_page. WHEN zif_abapgit_definitions=>c_action-go_background. " Go Background page ei_page = get_page_background( lv_key ). ev_state = zcl_abapgit_gui=>c_event_state-new_page. WHEN zif_abapgit_definitions=>c_action-go_diff. " Go Diff page ei_page = get_page_diff( is_event_data-getdata ). ev_state = zcl_abapgit_gui=>c_event_state-new_page_w_bookmark. WHEN zif_abapgit_definitions=>c_action-go_stage. " Go Staging page ei_page = get_page_stage( is_event_data-getdata ). IF is_event_data-prev_page = 'PAGE_DIFF'. ev_state = zcl_abapgit_gui=>c_event_state-new_page. ELSE. ev_state = zcl_abapgit_gui=>c_event_state-new_page_w_bookmark. ENDIF. WHEN zif_abapgit_definitions=>c_action-go_branch_overview. " Go repo branch overview ei_page = get_page_branch_overview( is_event_data-getdata ). ev_state = zcl_abapgit_gui=>c_event_state-new_page. WHEN zif_abapgit_definitions=>c_action-go_tutorial. " Go to tutorial CREATE OBJECT ei_page TYPE zcl_abapgit_gui_page_tutorial. ev_state = zcl_abapgit_gui=>c_event_state-new_page. ENDCASE. ENDMETHOD. METHOD get_page_background. CREATE OBJECT ri_page TYPE zcl_abapgit_gui_page_bkg EXPORTING iv_key = iv_key. ENDMETHOD. METHOD get_page_branch_overview. DATA: lo_repo TYPE REF TO zcl_abapgit_repo_online, lo_page TYPE REF TO zcl_abapgit_gui_page_boverview, lv_key TYPE zif_abapgit_persistence=>ty_repo-key. lv_key = iv_getdata. lo_repo ?= zcl_abapgit_repo_srv=>get_instance( )->get( lv_key ). CREATE OBJECT lo_page EXPORTING io_repo = lo_repo. ri_page = lo_page. ENDMETHOD. METHOD get_page_diff. DATA: ls_file TYPE zif_abapgit_definitions=>ty_file, ls_object TYPE zif_abapgit_definitions=>ty_item, lo_page TYPE REF TO zcl_abapgit_gui_page_diff, lv_key TYPE zif_abapgit_persistence=>ty_repo-key. zcl_abapgit_html_action_utils=>file_obj_decode( EXPORTING iv_string = iv_getdata IMPORTING ev_key = lv_key eg_file = ls_file eg_object = ls_object ). CREATE OBJECT lo_page EXPORTING iv_key = lv_key is_file = ls_file is_object = ls_object. ri_page = lo_page. ENDMETHOD. METHOD get_page_stage. DATA: lo_repo TYPE REF TO zcl_abapgit_repo_online, lv_key TYPE zif_abapgit_persistence=>ty_repo-key, lv_seed TYPE string, lo_stage_page TYPE REF TO zcl_abapgit_gui_page_stage, lo_code_inspector_page TYPE REF TO zcl_abapgit_gui_page_code_insp. FIND FIRST OCCURRENCE OF '=' IN iv_getdata. IF sy-subrc <> 0. " Not found ? -> just repo key in params lv_key = iv_getdata. ELSE. zcl_abapgit_html_action_utils=>stage_decode( EXPORTING iv_getdata = iv_getdata IMPORTING ev_key = lv_key ev_seed = lv_seed ). ENDIF. lo_repo ?= zcl_abapgit_repo_srv=>get_instance( )->get( lv_key ). IF lo_repo->get_local_settings( )-code_inspector_check_variant IS NOT INITIAL. CREATE OBJECT lo_code_inspector_page EXPORTING io_repo = lo_repo. ri_page = lo_code_inspector_page. ELSE. " force refresh on stage, to make sure the latest local and remote files are used lo_repo->refresh( ). CREATE OBJECT lo_stage_page EXPORTING io_repo = lo_repo iv_seed = lv_seed. ri_page = lo_stage_page. ENDIF. ENDMETHOD. METHOD git_services. DATA: lv_key TYPE zif_abapgit_persistence=>ty_repo-key. lv_key = is_event_data-getdata. " TODO refactor CASE is_event_data-action. " GIT actions WHEN zif_abapgit_definitions=>c_action-git_pull. " GIT Pull zcl_abapgit_services_git=>pull( lv_key ). ev_state = zcl_abapgit_gui=>c_event_state-re_render. WHEN zif_abapgit_definitions=>c_action-git_reset. " GIT Reset zcl_abapgit_services_git=>reset( lv_key ). ev_state = zcl_abapgit_gui=>c_event_state-re_render. WHEN zif_abapgit_definitions=>c_action-git_branch_create. " GIT Create new branch zcl_abapgit_services_git=>create_branch( lv_key ). ev_state = zcl_abapgit_gui=>c_event_state-re_render. WHEN zif_abapgit_definitions=>c_action-git_branch_delete. " GIT Delete remote branch zcl_abapgit_services_git=>delete_branch( lv_key ). ev_state = zcl_abapgit_gui=>c_event_state-re_render. WHEN zif_abapgit_definitions=>c_action-git_branch_switch. " GIT Switch branch zcl_abapgit_services_git=>switch_branch( lv_key ). ev_state = zcl_abapgit_gui=>c_event_state-re_render. WHEN zif_abapgit_definitions=>c_action-go_tag_overview. " GIT Tag overview zcl_abapgit_services_git=>tag_overview( lv_key ). ev_state = zcl_abapgit_gui=>c_event_state-re_render. WHEN zif_abapgit_definitions=>c_action-git_tag_create. " GIT Tag create CREATE OBJECT ei_page TYPE zcl_abapgit_gui_page_tag EXPORTING io_repo = zcl_abapgit_repo_srv=>get_instance( )->get( lv_key ). ev_state = zcl_abapgit_gui=>c_event_state-new_page. WHEN zif_abapgit_definitions=>c_action-git_tag_delete. " GIT Tag create zcl_abapgit_services_git=>delete_tag( lv_key ). zcl_abapgit_services_repo=>refresh( lv_key ). ev_state = zcl_abapgit_gui=>c_event_state-re_render. WHEN zif_abapgit_definitions=>c_action-git_tag_switch. " GIT Switch Tag zcl_abapgit_services_git=>switch_tag( lv_key ). ev_state = zcl_abapgit_gui=>c_event_state-re_render. ENDCASE. ENDMETHOD. METHOD jump_display_transport. DATA: lv_transport TYPE trkorr, lv_transport_adt_uri TYPE string, lv_adt_link TYPE string, lv_adt_jump_enabled TYPE abap_bool. lv_transport = iv_getdata. lv_adt_jump_enabled = zcl_abapgit_persist_settings=>get_instance( )->read( )->get_adt_jump_enabled( ). IF lv_adt_jump_enabled = abap_true. TRY. CALL METHOD ('CL_CTS_ADT_TM_URI_BUILDER')=>('CREATE_ADT_URI') EXPORTING trnumber = lv_transport RECEIVING result = lv_transport_adt_uri. lv_adt_link = |adt://{ sy-sysid }{ lv_transport_adt_uri }|. cl_gui_frontend_services=>execute( EXPORTING document = lv_adt_link EXCEPTIONS OTHERS = 1 ). IF sy-subrc <> 0. zcx_abapgit_exception=>raise( 'ADT Jump Error' ). ENDIF. CATCH cx_root. CALL FUNCTION 'TR_DISPLAY_REQUEST' EXPORTING i_trkorr = lv_transport. ENDTRY. ELSE. CALL FUNCTION 'TR_DISPLAY_REQUEST' EXPORTING i_trkorr = lv_transport. ENDIF. ENDMETHOD. METHOD remote_origin_manipulations. DATA: lv_key TYPE zif_abapgit_persistence=>ty_repo-key. lv_key = is_event_data-getdata. " TODO refactor CASE is_event_data-action. " Remote ORIGIN manipulations WHEN zif_abapgit_definitions=>c_action-repo_remote_attach. " Remote attach zcl_abapgit_services_repo=>remote_attach( lv_key ). ev_state = zcl_abapgit_gui=>c_event_state-re_render. WHEN zif_abapgit_definitions=>c_action-repo_remote_detach. " Remote detach zcl_abapgit_services_repo=>remote_detach( lv_key ). ev_state = zcl_abapgit_gui=>c_event_state-re_render. WHEN zif_abapgit_definitions=>c_action-repo_remote_change. " Remote change zcl_abapgit_services_repo=>remote_change( lv_key ). ev_state = zcl_abapgit_gui=>c_event_state-re_render. ENDCASE. ENDMETHOD. METHOD repository_services. DATA: lv_url TYPE string, lv_key TYPE zif_abapgit_persistence=>ty_repo-key, li_log TYPE REF TO zif_abapgit_log. lv_key = is_event_data-getdata. " TODO refactor lv_url = is_event_data-getdata. " TODO refactor CASE is_event_data-action. " REPOSITORY services actions WHEN zif_abapgit_definitions=>c_action-repo_newoffline. " New offline repo zcl_abapgit_services_repo=>new_offline( ). ev_state = zcl_abapgit_gui=>c_event_state-re_render. WHEN zif_abapgit_definitions=>c_action-repo_add_all_obj_to_trans_req. zcl_abapgit_transport=>add_all_objects_to_trans_req( lv_key ). ev_state = zcl_abapgit_gui=>c_event_state-re_render. WHEN zif_abapgit_definitions=>c_action-repo_refresh. " Repo refresh zcl_abapgit_services_repo=>refresh( lv_key ). ev_state = zcl_abapgit_gui=>c_event_state-re_render. WHEN zif_abapgit_definitions=>c_action-repo_syntax_check. CREATE OBJECT ei_page TYPE zcl_abapgit_gui_page_syntax EXPORTING io_repo = zcl_abapgit_repo_srv=>get_instance( )->get( lv_key ). ev_state = zcl_abapgit_gui=>c_event_state-new_page. WHEN zif_abapgit_definitions=>c_action-repo_code_inspector. CREATE OBJECT ei_page TYPE zcl_abapgit_gui_page_code_insp EXPORTING io_repo = zcl_abapgit_repo_srv=>get_instance( )->get( lv_key ). ev_state = zcl_abapgit_gui=>c_event_state-new_page. WHEN zif_abapgit_definitions=>c_action-repo_purge. " Repo remove & purge all objects zcl_abapgit_services_repo=>purge( lv_key ). ev_state = zcl_abapgit_gui=>c_event_state-re_render. WHEN zif_abapgit_definitions=>c_action-repo_remove. " Repo remove zcl_abapgit_services_repo=>remove( lv_key ). ev_state = zcl_abapgit_gui=>c_event_state-re_render. WHEN zif_abapgit_definitions=>c_action-repo_newonline. zcl_abapgit_services_repo=>new_online( lv_url ). ev_state = zcl_abapgit_gui=>c_event_state-re_render. WHEN zif_abapgit_definitions=>c_action-repo_refresh_checksums. " Rebuild local checksums zcl_abapgit_services_repo=>refresh_local_checksums( lv_key ). ev_state = zcl_abapgit_gui=>c_event_state-re_render. WHEN zif_abapgit_definitions=>c_action-repo_toggle_fav. " Toggle repo as favorite zcl_abapgit_services_repo=>toggle_favorite( lv_key ). ev_state = zcl_abapgit_gui=>c_event_state-re_render. WHEN zif_abapgit_definitions=>c_action-repo_transport_to_branch. zcl_abapgit_services_repo=>transport_to_branch( lv_key ). ev_state = zcl_abapgit_gui=>c_event_state-re_render. WHEN zif_abapgit_definitions=>c_action-repo_settings. CREATE OBJECT ei_page TYPE zcl_abapgit_gui_page_repo_sett EXPORTING io_repo = zcl_abapgit_repo_srv=>get_instance( )->get( lv_key ). ev_state = zcl_abapgit_gui=>c_event_state-new_page. WHEN zif_abapgit_definitions=>c_action-repo_log. li_log = zcl_abapgit_repo_srv=>get_instance( )->get( lv_key )->get_log( ). zcl_abapgit_log_viewer=>show_log( ii_log = li_log iv_header_text = li_log->get_title( ) ). ev_state = zcl_abapgit_gui=>c_event_state-no_more_act. ENDCASE. ENDMETHOD. METHOD sap_gui_actions. DATA: ls_item TYPE zif_abapgit_definitions=>ty_item. CASE is_event_data-action. " SAP GUI actions WHEN zif_abapgit_definitions=>c_action-jump. " Open object editor zcl_abapgit_html_action_utils=>jump_decode( EXPORTING iv_string = is_event_data-getdata IMPORTING ev_obj_type = ls_item-obj_type ev_obj_name = ls_item-obj_name ). zcl_abapgit_objects=>jump( ls_item ). ev_state = zcl_abapgit_gui=>c_event_state-no_more_act. WHEN zif_abapgit_definitions=>c_action-jump_transport. jump_display_transport( is_event_data-getdata ). ev_state = zcl_abapgit_gui=>c_event_state-no_more_act. ENDCASE. ENDMETHOD. METHOD zif_abapgit_gui_event_handler~on_event. DATA: ls_event_data TYPE ty_event_data. ls_event_data-action = iv_action. ls_event_data-getdata = iv_getdata. ls_event_data-postdata = it_postdata. general_page_routing( EXPORTING is_event_data = ls_event_data IMPORTING ei_page = ei_page ev_state = ev_state ). repository_services( EXPORTING is_event_data = ls_event_data IMPORTING ei_page = ei_page ev_state = ev_state ). git_services( EXPORTING is_event_data = ls_event_data IMPORTING ei_page = ei_page ev_state = ev_state ). zip_services( EXPORTING is_event_data = ls_event_data IMPORTING ei_page = ei_page ev_state = ev_state ). db_actions( EXPORTING is_event_data = ls_event_data IMPORTING ei_page = ei_page ev_state = ev_state ). abapgit_services_actions( EXPORTING is_event_data = ls_event_data IMPORTING ei_page = ei_page ev_state = ev_state ). remote_origin_manipulations( EXPORTING is_event_data = ls_event_data IMPORTING ei_page = ei_page ev_state = ev_state ). sap_gui_actions( EXPORTING is_event_data = ls_event_data IMPORTING ei_page = ei_page ev_state = ev_state ). IF ev_state IS INITIAL. ev_state = zcl_abapgit_gui=>c_event_state-not_handled. ENDIF. ENDMETHOD. METHOD zip_services. DATA: lv_key TYPE zif_abapgit_persistence=>ty_repo-key, lo_repo TYPE REF TO zcl_abapgit_repo, lv_package TYPE devclass, lv_path TYPE string, lv_xstr TYPE xstring. lv_key = is_event_data-getdata. " TODO refactor CASE is_event_data-action. " ZIP services actions WHEN zif_abapgit_definitions=>c_action-zip_import. " Import repo from ZIP lo_repo = zcl_abapgit_repo_srv=>get_instance( )->get( lv_key ). lv_path = zcl_abapgit_ui_factory=>get_frontend_services( )->show_file_open_dialog( iv_title = 'Import ZIP' iv_extension = 'zip' iv_default_filename = '*.zip' ). lv_xstr = zcl_abapgit_ui_factory=>get_frontend_services( )->file_upload( lv_path ). lo_repo->set_files_remote( zcl_abapgit_zip=>load( lv_xstr ) ). zcl_abapgit_services_repo=>refresh( lv_key ). ev_state = zcl_abapgit_gui=>c_event_state-re_render. WHEN zif_abapgit_definitions=>c_action-zip_export. " Export repo as ZIP lo_repo = zcl_abapgit_repo_srv=>get_instance( )->get( lv_key ). lv_xstr = zcl_abapgit_zip=>export( lo_repo ). file_download( iv_package = lo_repo->get_package( ) iv_xstr = lv_xstr ). ev_state = zcl_abapgit_gui=>c_event_state-no_more_act. WHEN zif_abapgit_definitions=>c_action-zip_package. " Export package as ZIP zcl_abapgit_zip=>export_package( IMPORTING ev_xstr = lv_xstr ev_package = lv_package ). file_download( iv_package = lv_package iv_xstr = lv_xstr ). ev_state = zcl_abapgit_gui=>c_event_state-no_more_act. WHEN zif_abapgit_definitions=>c_action-zip_transport. " Export transports as ZIP zcl_abapgit_transport_mass=>run( ). ev_state = zcl_abapgit_gui=>c_event_state-no_more_act. WHEN zif_abapgit_definitions=>c_action-zip_object. " Export object as ZIP zcl_abapgit_zip=>export_object( ). ev_state = zcl_abapgit_gui=>c_event_state-no_more_act. ENDCASE. ENDMETHOD. ENDCLASS.
[ 31631, 1976, 565, 62, 397, 499, 18300, 62, 48317, 62, 472, 353, 5550, 20032, 17941, 198, 220, 44731, 198, 220, 25261, 198, 220, 29244, 6158, 44731, 764, 628, 220, 44731, 44513, 13, 628, 220, 220, 220, 23255, 37, 2246, 1546, 1976, 361, 62, 397, 499, 18300, 62, 48317, 62, 15596, 62, 30281, 13, 628, 220, 48006, 9782, 1961, 44513, 13, 198, 220, 4810, 3824, 6158, 44513, 13, 628, 220, 220, 220, 24412, 47, 1546, 25, 198, 220, 220, 220, 220, 220, 347, 43312, 3963, 1259, 62, 15596, 62, 7890, 11, 198, 220, 220, 220, 220, 220, 220, 220, 2223, 220, 220, 220, 41876, 4731, 11, 198, 220, 220, 220, 220, 220, 220, 220, 8654, 62, 7700, 41876, 4731, 11, 198, 220, 220, 220, 220, 220, 220, 220, 651, 7890, 220, 220, 41876, 4731, 11, 198, 220, 220, 220, 220, 220, 220, 220, 1281, 7890, 220, 41876, 269, 77, 4352, 62, 7353, 62, 7890, 62, 8658, 11, 198, 220, 220, 220, 220, 220, 23578, 3963, 1259, 62, 15596, 62, 7890, 764, 628, 220, 220, 220, 337, 36252, 50, 2276, 62, 7700, 62, 81, 13660, 198, 220, 220, 220, 220, 220, 30023, 9863, 2751, 198, 220, 220, 220, 220, 220, 220, 220, 5145, 271, 62, 15596, 62, 7890, 41876, 1259, 62, 15596, 62, 7890, 198, 220, 220, 220, 220, 220, 7788, 15490, 2751, 198, 220, 220, 220, 220, 220, 220, 220, 5145, 20295, 62, 7700, 220, 220, 220, 220, 220, 220, 41876, 4526, 37, 5390, 1976, 361, 62, 397, 499, 18300, 62, 48317, 62, 13287, 540, 198, 220, 220, 220, 220, 220, 220, 220, 5145, 1990, 62, 5219, 220, 220, 220, 220, 220, 41876, 1312, 198, 220, 220, 220, 220, 220, 17926, 1797, 2751, 198, 220, 220, 220, 220, 220, 220, 220, 1976, 66, 87, 62, 397, 499, 18300, 62, 1069, 4516, 13, 198, 220, 220, 220, 337, 36252, 50, 450, 499, 18300, 62, 30416, 62, 4658, 198, 220, 220, 220, 220, 220, 30023, 9863, 2751, 198, 220, 220, 220, 220, 220, 220, 220, 5145, 271, 62, 15596, 62, 7890, 41876, 1259, 62, 15596, 62, 7890, 198, 220, 220, 220, 220, 220, 7788, 15490, 2751, 198, 220, 220, 220, 220, 220, 220, 220, 5145, 20295, 62, 7700, 220, 220, 220, 220, 220, 220, 41876, 4526, 37, 5390, 1976, 361, 62, 397, 499, 18300, 62, 48317, 62, 13287, 540, 198, 220, 220, 220, 220, 220, 220, 220, 5145, 1990, 62, 5219, 220, 220, 220, 220, 220, 41876, 1312, 198, 220, 220, 220, 220, 220, 17926, 1797, 2751, 198, 220, 220, 220, 220, 220, 220, 220, 1976, 66, 87, 62, 397, 499, 18300, 62, 1069, 4516, 13, 198, 220, 220, 220, 337, 36252, 50, 20613, 62, 4658, 198, 220, 220, 220, 220, 220, 30023, 9863, 2751, 198, 220, 220, 220, 220, 220, 220, 220, 5145, 271, 62, 15596, 62, 7890, 41876, 1259, 62, 15596, 62, 7890, 198, 220, 220, 220, 220, 220, 7788, 15490, 2751, 198, 220, 220, 220, 220, 220, 220, 220, 5145, 20295, 62, 7700, 220, 220, 220, 220, 220, 220, 41876, 4526, 37, 5390, 1976, 361, 62, 397, 499, 18300, 62, 48317, 62, 13287, 540, 198, 220, 220, 220, 220, 220, 220, 220, 5145, 1990, 62, 5219, 220, 220, 220, 220, 220, 41876, 1312, 198, 220, 220, 220, 220, 220, 17926, 1797, 2751, 198, 220, 220, 220, 220, 220, 220, 220, 1976, 66, 87, 62, 397, 499, 18300, 62, 1069, 4516, 13, 198, 220, 220, 220, 42715, 12, 49273, 50, 2393, 62, 15002, 198, 220, 220, 220, 220, 220, 30023, 9863, 2751, 198, 220, 220, 220, 220, 220, 220, 220, 5145, 452, 62, 26495, 41876, 1614, 4871, 198, 220, 220, 220, 220, 220, 220, 220, 5145, 452, 62, 87, 2536, 220, 220, 220, 41876, 2124, 8841, 198, 220, 220, 220, 220, 220, 17926, 1797, 2751, 198, 220, 220, 220, 220, 220, 220, 220, 1976, 66, 87, 62, 397, 499, 18300, 62, 1069, 4516, 764, 198, 220, 220, 220, 337, 36252, 50, 17606, 62, 30416, 198, 220, 220, 220, 220, 220, 30023, 9863, 2751, 198, 220, 220, 220, 220, 220, 220, 220, 5145, 271, 62, 15596, 62, 7890, 41876, 1259, 62, 15596, 62, 7890, 198, 220, 220, 220, 220, 220, 7788, 15490, 2751, 198, 220, 220, 220, 220, 220, 220, 220, 5145, 20295, 62, 7700, 220, 220, 220, 220, 220, 220, 41876, 4526, 37, 5390, 1976, 361, 62, 397, 499, 18300, 62, 48317, 62, 13287, 540, 198, 220, 220, 220, 220, 220, 220, 220, 5145, 1990, 62, 5219, 220, 220, 220, 220, 220, 41876, 1312, 198, 220, 220, 220, 220, 220, 17926, 1797, 2751, 198, 220, 220, 220, 220, 220, 220, 220, 1976, 66, 87, 62, 397, 499, 18300, 62, 1069, 4516, 13, 198, 220, 220, 220, 337, 36252, 50, 6569, 62, 47103, 62, 805, 541, 5768, 198, 220, 220, 220, 220, 220, 30023, 9863, 2751, 198, 220, 220, 220, 220, 220, 220, 220, 5145, 271, 62, 15596, 62, 7890, 41876, 1259, 62, 15596, 62, 7890, 198, 220, 220, 220, 220, 220, 7788, 15490, 2751, 198, 220, 220, 220, 220, 220, 220, 220, 5145, 20295, 62, 7700, 220, 220, 220, 220, 220, 220, 41876, 4526, 37, 5390, 1976, 361, 62, 397, 499, 18300, 62, 48317, 62, 13287, 540, 198, 220, 220, 220, 220, 220, 220, 220, 5145, 1990, 62, 5219, 220, 220, 220, 220, 220, 41876, 1312, 198, 220, 220, 220, 220, 220, 17926, 1797, 2751, 198, 220, 220, 220, 220, 220, 220, 220, 1976, 66, 87, 62, 397, 499, 18300, 62, 1069, 4516, 13, 198, 220, 220, 220, 337, 36252, 50, 31841, 62, 48317, 62, 4658, 198, 220, 220, 220, 220, 220, 30023, 9863, 2751, 198, 220, 220, 220, 220, 220, 220, 220, 5145, 271, 62, 15596, 62, 7890, 41876, 1259, 62, 15596, 62, 7890, 198, 220, 220, 220, 220, 220, 7788, 15490, 2751, 198, 220, 220, 220, 220, 220, 220, 220, 5145, 20295, 62, 7700, 220, 220, 220, 220, 220, 220, 41876, 4526, 37, 5390, 1976, 361, 62, 397, 499, 18300, 62, 48317, 62, 13287, 540, 198, 220, 220, 220, 220, 220, 220, 220, 5145, 1990, 62, 5219, 220, 220, 220, 220, 220, 41876, 1312, 198, 220, 220, 220, 220, 220, 17926, 1797, 2751, 198, 220, 220, 220, 220, 220, 220, 220, 1976, 66 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1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1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
TYPES: BEGIN OF t_input, row TYPE string, END OF t_input. * Input declaration DATA: lv_input TYPE TABLE OF t_input, wa_input LIKE LINE OF lv_input. * Assign with the puzzle input. lv_input = VALUE #( ( row = '33' ) ( row = '18' ) ( row = '22' ) ( row = '44' ) ( row = '49' ) ( row = '15' ) ( row = '12' ) ( row = '38' ) ( row = '41' ) ( row = '46' ) ( row = '3' ) ( row = '42' ) ( row = '37' ) ( row = '19' ) ( row = '13' ) ( row = '7' ) ( row = '21' ) ( row = '29' ) ( row = '34' ) ( row = '40' ) ( row = '39' ) ( row = '35' ) ( row = '27' ) ( row = '25' ) ( row = '48' ) ( row = '87' ) ( row = '10' ) ( row = '16' ) ( row = '17' ) ( row = '45' ) ( row = '18' ) ( row = '30' ) ( row = '20' ) ( row = '22' ) ( row = '23' ) ( row = '73' ) ( row = '24' ) ( row = '26' ) ( row = '28' ) ( row = '53' ) ( row = '31' ) ( row = '37' ) ( row = '51' ) ( row = '32' ) ( row = '33' ) ( row = '34' ) ( row = '36' ) ( row = '35' ) ( row = '54' ) ( row = '27' ) ( row = '38' ) ( row = '39' ) ( row = '40' ) ( row = '74' ) ( row = '70' ) ( row = '41' ) ( row = '93' ) ( row = '144' ) ( row = '45' ) ( row = '63' ) ( row = '87' ) ( row = '66' ) ( row = '65' ) ( row = '55' ) ( row = '58' ) ( row = '62' ) ( row = '72' ) ( row = '105' ) ( row = '59' ) ( row = '76' ) ( row = '61' ) ( row = '67' ) ( row = '68' ) ( row = '77' ) ( row = '106' ) ( row = '78' ) ( row = '79' ) ( row = '183' ) ( row = '86' ) ( row = '117' ) ( row = '96' ) ( row = '100' ) ( row = '108' ) ( row = '104' ) ( row = '123' ) ( row = '113' ) ( row = '114' ) ( row = '116' ) ( row = '129' ) ( row = '119' ) ( row = '178' ) ( row = '120' ) ( row = '196' ) ( row = '126' ) ( row = '177' ) ( row = '184' ) ( row = '135' ) ( row = '182' ) ( row = '192' ) ( row = '201' ) ( row = '174' ) ( row = '360' ) ( row = '186' ) ( row = '190' ) ( row = '210' ) ( row = '248' ) ( row = '214' ) ( row = '282' ) ( row = '217' ) ( row = '227' ) ( row = '229' ) ( row = '304' ) ( row = '235' ) ( row = '370' ) ( row = '308' ) ( row = '261' ) ( row = '302' ) ( row = '300' ) ( row = '542' ) ( row = '376' ) ( row = '309' ) ( row = '317' ) ( row = '356' ) ( row = '364' ) ( row = '375' ) ( row = '407' ) ( row = '396' ) ( row = '400' ) ( row = '404' ) ( row = '585' ) ( row = '599' ) ( row = '514' ) ( row = '444' ) ( row = '907' ) ( row = '456' ) ( row = '633' ) ( row = '687' ) ( row = '496' ) ( row = '665' ) ( row = '561' ) ( row = '563' ) ( row = '832' ) ( row = '1056' ) ( row = '626' ) ( row = '673' ) ( row = '681' ) ( row = '720' ) ( row = '731' ) ( row = '840' ) ( row = '819' ) ( row = '796' ) ( row = '800' ) ( row = '1033' ) ( row = '1117' ) ( row = '900' ) ( row = '958' ) ( row = '940' ) ( row = '952' ) ( row = '1017' ) ( row = '1019' ) ( row = '1748' ) ( row = '1177' ) ( row = '1422' ) ( row = '1124' ) ( row = '1578' ) ( row = '1189' ) ( row = '1299' ) ( row = '1678' ) ( row = '1307' ) ( row = '1354' ) ( row = '2702' ) ( row = '2476' ) ( row = '1689' ) ( row = '3775' ) ( row = '1740' ) ( row = '2813' ) ( row = '2706' ) ( row = '1977' ) ( row = '1898' ) ( row = '1840' ) ( row = '2630' ) ( row = '2864' ) ( row = '1971' ) ( row = '2439' ) ( row = '2143' ) ( row = '2932' ) ( row = '2301' ) ( row = '2313' ) ( row = '2423' ) ( row = '2488' ) ( row = '2496' ) ( row = '3194' ) ( row = '2661' ) ( row = '2996' ) ( row = '3043' ) ( row = '4416' ) ( row = '3429' ) ( row = '3529' ) ( row = '3580' ) ( row = '3638' ) ( row = '3738' ) ( row = '3983' ) ( row = '4830' ) ( row = '3811' ) ( row = '4114' ) ( row = '4724' ) ( row = '5782' ) ( row = '4394' ) ( row = '4444' ) ( row = '7143' ) ( row = '6623' ) ( row = '6882' ) ( row = '7267' ) ( row = '5149' ) ( row = '7823' ) ( row = '5855' ) ( row = '5657' ) ( row = '5704' ) ( row = '6425' ) ( row = '7026' ) ( row = '6958' ) ( row = '9666' ) ( row = '7109' ) ( row = '7218' ) ( row = '10249' ) ( row = '8535' ) ( row = '7794' ) ( row = '11512' ) ( row = '14327' ) ( row = '9969' ) ( row = '15906' ) ( row = '8838' ) ( row = '10101' ) ( row = '9593' ) ( row = '12082' ) ( row = '10806' ) ( row = '10853' ) ( row = '13451' ) ( row = '17489' ) ( row = '13073' ) ( row = '11361' ) ( row = '12129' ) ( row = '17210' ) ( row = '13383' ) ( row = '13984' ) ( row = '30562' ) ( row = '16329' ) ( row = '14903' ) ( row = '15753' ) ( row = '19306' ) ( row = '16632' ) ( row = '23920' ) ( row = '26456' ) ( row = '26113' ) ( row = '18431' ) ( row = '27032' ) ( row = '19644' ) ( row = '27882' ) ( row = '20399' ) ( row = '37885' ) ( row = '21659' ) ( row = '27976' ) ( row = '24812' ) ( row = '23490' ) ( row = '24744' ) ( row = '25345' ) ( row = '25512' ) ( row = '42785' ) ( row = '27367' ) ( row = '29737' ) ( row = '30656' ) ( row = '45579' ) ( row = '31535' ) ( row = '32385' ) ( row = '35063' ) ( row = '52788' ) ( row = '38075' ) ( row = '38830' ) ( row = '44544' ) ( row = '40090' ) ( row = '40043' ) ( row = '55249' ) ( row = '57897' ) ( row = '42058' ) ( row = '45149' ) ( row = '52712' ) ( row = '48234' ) ( row = '48302' ) ( row = '72946' ) ( row = '50089' ) ( row = '64342' ) ( row = '52879' ) ( row = '103551' ) ( row = '57104' ) ( row = '72428' ) ( row = '62191' ) ( row = '79837' ) ( row = '63920' ) ( row = '71215' ) ( row = '73138' ) ( row = '80133' ) ( row = '84587' ) ( row = '82148' ) ( row = '156430' ) ( row = '90132' ) ( row = '152323' ) ( row = '113146' ) ( row = '90360' ) ( row = '197733' ) ( row = '100946' ) ( row = '105591' ) ( row = '101113' ) ( row = '98391' ) ( row = '288093' ) ( row = '154280' ) ( row = '109983' ) ( row = '204497' ) ( row = '164424' ) ( row = '152975' ) ( row = '137058' ) ( row = '126111' ) ( row = '191473' ) ( row = '181079' ) ( row = '144353' ) ( row = '153271' ) ( row = '170265' ) ( row = '166735' ) ( row = '183261' ) ( row = '180492' ) ( row = '188523' ) ( row = '236094' ) ( row = '235449' ) ( row = '188751' ) ( row = '202059' ) ( row = '262815' ) ( row = '305610' ) ( row = '199504' ) ( row = '208374' ) ( row = '247041' ) ( row = '312042' ) ( row = '254336' ) ( row = '440591' ) ( row = '353175' ) ( row = '442859' ) ( row = '263169' ) ( row = '270464' ) ( row = '616344' ) ( row = '297624' ) ( row = '311088' ) ( row = '320006' ) ( row = '402829' ) ( row = '377274' ) ( row = '363753' ) ( row = '369015' ) ( row = '501377' ) ( row = '388255' ) ( row = '390810' ) ( row = '397125' ) ( row = '401563' ) ( row = '407878' ) ( row = '446545' ) ( row = '455415' ) ( row = '471543' ) ( row = '732768' ) ( row = '524800' ) ( row = '751679' ) ( row = '1043856' ) ( row = '533633' ) ( row = '626922' ) ( row = '568088' ) ( row = '581552' ) ( row = '608712' ) ( row = '699343' ) ( row = '631094' ) ( row = '697280' ) ( row = '779065' ) ( row = '926958' ) ( row = '921925' ) ( row = '868668' ) ( row = '785380' ) ( row = '969651' ) ( row = '856978' ) ( row = '798688' ) ( row = '809441' ) ( row = '989430' ) ( row = '901960' ) ( row = '1036967' ) ( row = '996343' ) ( row = '1285312' ) ( row = '1133512' ) ( row = '1101721' ) ( row = '1195010' ) ( row = '1115185' ) ( row = '1149640' ) ( row = '1330437' ) ( row = '1911355' ) ( row = '1239806' ) ( row = '1328374' ) ( row = '1912577' ) ( row = '1476345' ) ( row = '3239729' ) ( row = '1654048' ) ( row = '1655666' ) ( row = '1594821' ) ( row = '1584068' ) ( row = '1608129' ) ( row = '1758938' ) ( row = '1700648' ) ( row = '1711401' ) ( row = '2365341' ) ( row = '1898303' ) ( row = '2895658' ) ( row = '2098064' ) ( row = '2216906' ) ( row = '4654596' ) ( row = '3293074' ) ( row = '2769233' ) ( row = '2354991' ) ( row = '3039775' ) ( row = '2834627' ) ( row = '3238116' ) ( row = '3810880' ) ( row = '3132011' ) ( row = '3060413' ) ( row = '3178889' ) ( row = '3284716' ) ( row = '3192197' ) ( row = '3202950' ) ( row = '3295469' ) ( row = '4253294' ) ( row = '3928307' ) ( row = '3412049' ) ( row = '4720332' ) ( row = '4993722' ) ( row = '4867297' ) ( row = '3996367' ) ( row = '4571897' ) ( row = '8152013' ) ( row = '4986139' ) ( row = '5124224' ) ( row = '5189618' ) ( row = '6472462' ) ( row = '5394766' ) ( row = '5874402' ) ( row = '5895040' ) ( row = '7003077' ) ( row = '6192424' ) ( row = '7385305' ) ( row = '8181601' ) ( row = '6476913' ) ( row = '6395147' ) ( row = '6487666' ) ( row = '8716699' ) ( row = '6707518' ) ( row = '7408416' ) ( row = '8398188' ) ( row = '7983946' ) ( row = '8568264' ) ( row = '8863664' ) ( row = '8982506' ) ( row = '9120591' ) ( row = '13184431' ) ( row = '10860541' ) ( row = '10110363' ) ( row = '10313842' ) ( row = '10584384' ) ( row = '11289806' ) ( row = '15470172' ) ( row = '11769442' ) ( row = '12382706' ) ( row = '16579789' ) ( row = '15056088' ) ( row = '12872060' ) ( row = '13896082' ) ( row = '12964579' ) ( row = '13102665' ) ( row = '25185888' ) ( row = '24474237' ) ( row = '14115934' ) ( row = '20633106' ) ( row = '16382134' ) ( row = '16552210' ) ( row = '23098440' ) ( row = '19092869' ) ( row = '18103097' ) ( row = '24209924' ) ( row = '24392471' ) ( row = '27842016' ) ( row = '24254385' ) ( row = '28687481' ) ( row = '24152148' ) ( row = '23059248' ) ( row = '38150467' ) ( row = '24641502' ) ( row = '25347285' ) ( row = '25836639' ) ( row = '42357482' ) ( row = '36023827' ) ( row = '26067244' ) ( row = '27080513' ) ( row = '35645079' ) ( row = '49033973' ) ( row = '30498068' ) ( row = '39463219' ) ( row = '42619454' ) ( row = '32934344' ) ( row = '34655307' ) ( row = '29221323' ) ( row = '37195966' ) ( row = '60665329' ) ( row = '62725592' ) ( row = '47313633' ) ( row = '50901264' ) ( row = '47211396' ) ( row = '82958712' ) ( row = '47700750' ) ( row = '48406533' ) ( row = '49988787' ) ( row = '50708746' ) ( row = '51183924' ) ( row = '51903883' ) ( row = '53147757' ) ( row = '88497192' ) ( row = '77789259' ) ( row = '56301836' ) ( row = '86546343' ) ( row = '67694034' ) ( row = '59719391' ) ( row = '70130310' ) ( row = '81340877' ) ( row = '101892670' ) ( row = '63876630' ) ( row = '66417289' ) ( row = '84407362' ) ( row = '96107283' ) ( row = '94525029' ) ( row = '146096070' ) ( row = '94912146' ) ( row = '95617929' ) ( row = '103087807' ) ( row = '101554290' ) ( row = '180025291' ) ( row = '103136544' ) ( row = '102612629' ) ( row = '110903315' ) ( row = '105051640' ) ( row = '109449593' ) ( row = '116021227' ) ( row = '120178466' ) ( row = '122719125' ) ( row = '178932391' ) ( row = '197661573' ) ( row = '123596021' ) ( row = '167971579' ) ( row = '130293919' ) ( row = '283113098' ) ( row = '199576669' ) ( row = '245349680' ) ( row = '199243827' ) ( row = '189437175' ) ( row = '213515944' ) ( row = '190530075' ) ( row = '196466436' ) ( row = '197172219' ) ( row = '233045614' ) ( row = '390106744' ) ( row = '223315010' ) ( row = '225331754' ) ( row = '207664269' ) ( row = '214501233' ) ( row = '396748888' ) ( row = '225470820' ) ( row = '291567600' ) ( row = '312156300' ) ( row = '478395294' ) ( row = '343809863' ) ( row = '253889940' ) ( row = '298265498' ) ( row = '509328519' ) ( row = '319731094' ) ( row = '472550273' ) ( row = '379967250' ) ( row = '385903611' ) ( row = '386609394' ) ( row = '479221694' ) ( row = '711440908' ) ( row = '545201914' ) ( row = '393638655' ) ( row = '629794502' ) ( row = '422165502' ) ( row = '439972053' ) ( row = '680214542' ) ( row = '461554209' ) ( row = '433135089' ) ( row = '468391173' ) ( row = '1024423608' ) ( row = '479360760' ) ( row = '545457540' ) ( row = '552155438' ) ( row = '854294784' ) ( row = '573621034' ) ( row = '617996592' ) ( row = '678232748' ) ( row = '705634705' ) ( row = '699698344' ) ( row = '938840569' ) ( row = '773605905' ) ( row = '772513005' ) ( row = '780248049' ) ( row = '815804157' ) ( row = '1170152030' ) ( row = '826773744' ) ( row = '855192864' ) ( row = '1418201329' ) ( row = '862137555' ) ( row = '1794033433' ) ( row = '1024818300' ) ( row = '894689298' ) ( row = '1051131681' ) ( row = '1163454132' ) ( row = '1031516198' ) ( row = '1052981794' ) ( row = '1119078574' ) ( row = '1125776472' ) ( row = '1191617626' ) ( row = '1450745753' ) ( row = '1485882754' ) ( row = '1377931092' ) ( row = '1405333049' ) ( row = '1472211349' ) ( row = '2266130803' ) ( row = '1546118910' ) ( row = '1552761054' ) ( row = '2576522225' ) ( row = '1642577901' ) ( row = '1717330419' ) ( row = '1681966608' ) ( row = '1749882162' ) ( row = '2300022347' ) ( row = '1886955855' ) ( row = '2216435926' ) ( row = '1919507598' ) ( row = '2242749307' ) ( row = '2084497992' ) ( row = '2150594772' ) ( row = '2157292670' ) ( row = '2172060368' ) ( row = '2244855046' ) ( row = '2317394098' ) ( row = '2569548718' ) ( row = '2891215803' ) ( row = '2783264141' ) ( row = '2850142441' ) ( row = '2877544398' ) ( row = '3762554836' ) ( row = '3098879964' ) ( row = '4533830024' ) ( row = '3195338955' ) ( row = '4384520339' ) ( row = '5066578367' ) ( row = '3399297027' ) ( row = '3568922463' ) ( row = '3636838017' ) ( row = '8170668041' ) ( row = '6514382415' ) ( row = '4373728596' ) ( row = '4467988870' ) ( row = '4322655140' ) ( row = '6446466861' ) ( row = '4307887442' ) ( row = '5674479944' ) ( row = '4416915414' ) ( row = '7406767406' ) ( row = '5100658239' ) ( row = '5352812859' ) ( row = '5978603096' ) ( row = '7105919281' ) ( row = '6498176991' ) ( row = '8669580702' ) ( row = '6294218919' ) ( row = '6735717981' ) ( row = '11048212439' ) ( row = '8021358356' ) ( row = '6968219490' ) ( row = '11573908151' ) ( row = '7036135044' ) ( row = '7205760480' ) ( row = '7944725459' ) ( row = '9423313379' ) ( row = '8630542582' ) ( row = '8790644010' ) ( row = '17868127070' ) ( row = '8724802856' ) ( row = '9408545681' ) ( row = '9982367386' ) ( row = '10453471098' ) ( row = '9517573653' ) ( row = '11079261335' ) ( row = '12792395910' ) ( row = '18253972919' ) ( row = '12272822015' ) ( row = '13400138200' ) ( row = '13233894972' ) ( row = '13029936900' ) ( row = '13262438409' ) ( row = '14912944949' ) ( row = '14004354534' ) ( row = '27677286298' ) ( row = '17188127866' ) ( row = '20436273244' ) ( row = '14241895524' ) ( row = '21790395668' ) ( row = '20502574714' ) ( row = '17421186592' ) ( row = '19499941039' ) ( row = '17515446866' ) ( row = '25912930722' ) ( row = '23687366070' ) ( row = '18926119334' ) ( row = '20435838484' ) ( row = '25672960215' ) ( row = '24109198235' ) ( row = '44865414164' ) ( row = '25065217925' ) ( row = '25302758915' ) ( row = '25506716987' ) ( row = '26263831872' ) ( row = '30683625001' ) ( row = '27034291434' ) ( row = '27504333933' ) ( row = '28246250058' ) ( row = '31192482400' ) ( row = '48104811593' ) ( row = '36921127631' ) ( row = '33168014858' ) ( row = '31663082116' ) ( row = '42486404517' ) ( row = '34936633458' ) ( row = '43188407081' ) ( row = '50683461724' ) ( row = '36441566200' ) ( row = '43991337259' ) ( row = '81786541795' ) ( row = '39361957818' ) ( row = '44545036719' ) ( row = '49174416160' ) ( row = '49411957150' ) ( row = '61876107401' ) ( row = '50367976840' ) ( row = '53549008973' ) ( row = '51770548859' ) ( row = '53298123306' ) ( row = '54538625367' ) ( row = '55280541492' ) ( row = '59909332174' ) ( row = '84348590608' ) ( row = '87706640225' ) ( row = '64831096974' ) ( row = '82346543840' ) ( row = '71025039934' ) ( row = '66599715574' ) ( row = '71378199658' ) ( row = '126331578514' ) ( row = '75803524018' ) ( row = '121746176498' ) ( row = '93956993869' ) ( row = '115923236377' ) ( row = '89729934658' ) ( row = '83906994537' ) ( row = '93719452879' ) ( row = '143131410029' ) ( row = '99779933990' ) ( row = '102138525699' ) ( row = '136119139467' ) ( row = '125563665301' ) ( row = '106309174226' ) ( row = '107836748673' ) ( row = '109819166859' ) ( row = '115189873666' ) ( row = '126509047748' ) ( row = '185622690877' ) ( row = '147177640814' ) ( row = '131430812548' ) ( row = '287761216576' ) ( row = '137624755508' ) ( row = '192931294088' ) ( row = '165533458676' ) ( row = '159710518555' ) ( row = '177626447416' ) ( row = '201793742542' ) ( row = '173636929195' ) ( row = '183449387537' ) ( row = '183686928527' ) ( row = '186045520236' ) ( row = '193499386869' ) ( row = '206089108216' ) ( row = '217655915532' ) ( row = '208447699925' ) ( row = '407882850758' ) ( row = '423745023748' ) ( row = '232818221974' ) ( row = '239267561221' ) ( row = '300145976943' ) ( row = '241698921414' ) ( row = '314880200085' ) ( row = '269055568056' ) ( row = '330627028351' ) ( row = '291141331103' ) ( row = '353209905424' ) ( row = '343159906092' ) ( row = '392134628452' ) ( row = '325243977231' ) ( row = '351263376611' ) ( row = '363671967652' ) ( row = '357086316732' ) ( row = '416505150501' ) ( row = '367136316064' ) ( row = '399588495085' ) ( row = '394493220161' ) ( row = '745756596772' ) ( row = '414536808141' ) ( row = '426103615457' ) ( row = '441265921899' ) ( row = '472085783195' ) ( row = '584858827506' ) ( row = '474517143388' ) ( row = '592477466645' ) ( row = '709373420246' ) ( row = '510754489470' ) ( row = '783641466565' ) ( row = '560196899159' ) ( row = '841653459452' ) ( row = '616385308334' ) ( row = '694423282703' ) ( row = '719737197392' ) ( row = '676507353842' ) ( row = '886622591336' ) ( row = '720758284384' ) ( row = '724222632796' ) ( row = '1071000574003' ) ( row = '810998370662' ) ( row = '1010962442963' ) ( row = '794081715246' ) ( row = '1208618523387' ) ( row = '1150639342145' ) ( row = '1001462821058' ) ( row = '867369537356' ) ( row = '915783065287' ) ( row = '946602926583' ) ( row = '985271632858' ) ( row = '1034714042547' ) ( row = '1176582207493' ) ( row = '1070951388629' ) ( row = '1127139797804' ) ( row = '1587106734748' ) ( row = '1812461191720' ) ( row = '2502889800035' ) ( row = '1292892662176' ) ( row = '1370930636545' ) ( row = '1396244551234' ) ( row = '1607380875720' ) ( row = '3537603842582' ) ( row = '1444980917180' ) ( row = '1795174021425' ) ( row = '1938370111359' ) ( row = '1661451252602' ) ( row = '1709864780533' ) ( row = '2086974377422' ) ( row = '1950497107834' ) ( row = '1813972463939' ) ( row = '1783152602643' ) ( row = '2105665431176' ) ( row = '1986734453916' ) ( row = '1931874559441' ) ( row = '2019985675405' ) ( row = '3108456766934' ) ( row = '2198091186433' ) ( row = '2788591050406' ) ( row = '2420032459980' ) ( row = '2689137213410' ) ( row = '3769887056559' ) ( row = '4136461297792' ) ( row = '2663823298721' ) ( row = '2767175187779' ) ( row = '3003625426954' ) ( row = '4056162539010' ) ( row = '3106432169782' ) ( row = '3228133519823' ) ( row = '3371316033135' ) ( row = '3733649710477' ) ( row = '4887228399843' ) ( row = '3493017383176' ) ( row = '3597125066582' ) ( row = '5109290858130' ) ( row = '3803138278048' ) ( row = '5917270733233' ) ( row = '4125651106581' ) ( row = '3951860234846' ) ( row = '4129965745874' ) ( row = '4218076861838' ) ( row = '4618123646413' ) ( row = '4861914485154' ) ( row = '5109169673390' ) ( row = '7773114156851' ) ( row = '6156840681897' ) ( row = '6840081880259' ) ( row = '5430998486500' ) ( row = '5667448725675' ) ( row = '6500824898256' ) ( row = '6110057596736' ) ( row = '6721150902999' ) ( row = '10235708703317' ) ( row = '7446210381661' ) ( row = '6968441099717' ) ( row = '7090142449758' ) ( row = '8743774752994' ) ( row = '7296155661224' ) ( row = '7400263344630' ) ( row = '8912307951438' ) ( row = '8665052763202' ) ( row = '8077511341427' ) ( row = '8081825980720' ) ( row = '9079991346992' ) ( row = '15069148633335' ) ( row = '10374917543735' ) ( row = '13510320941366' ) ( row = '9971084158544' ) ( row = '11219227270126' ) ( row = '14917593221686' ) ( row = '12271080366759' ) ( row = '11098447212175' ) ( row = '12168273623931' ) ( row = '11777506322411' ) ( row = '12610882494992' ) ( row = '12831208499735' ) ( row = '13689592002716' ) ( row = '14058583549475' ) ( row = '14264596760941' ) ( row = '14368704444347' ) ( row = '14386298110982' ) ( row = '14696419005854' ) ( row = '23369527578934' ) ( row = '20231471844365' ) ( row = '16159337322147' ) ( row = '24824390085349' ) ( row = '25915646275980' ) ( row = '26997180605974' ) ( row = '25678594565297' ) ( row = '22242164525303' ) ( row = '22802292658279' ) ( row = '22139357782475' ) ( row = '21069531370719' ) ( row = '22317674482301' ) ( row = '22875953534586' ) ( row = '25442090994727' ) ( row = '28961015766795' ) ( row = '25836089871886' ) ( row = '26042103083352' ) ( row = '26300474497708' ) ( row = '40284350720327' ) ( row = '28755002555329' ) ( row = '28323180310416' ) ( row = '35334128131660' ) ( row = '51203180292098' ) ( row = '36525655893457' ) ( row = '45044457183582' ) ( row = '45193628016887' ) ( row = '36390809166512' ) ( row = '42074983598127' ) ( row = '48153764354187' ) ( row = '43311695896022' ) ( row = '49176428032294' ) ( row = '43208889153194' ) ( row = '43387205853020' ) ( row = '43871824028998' ) ( row = '44457032264776' ) ( row = '73989854226073' ) ( row = '47759765477028' ) ( row = '48318044529313' ) ( row = '51278180866613' ) ( row = '54591092427215' ) ( row = '69044979025080' ) ( row = '52342577581060' ) ( row = '54623654808124' ) ( row = '57078182865745' ) ( row = '76082945787444' ) ( row = '92610796618963' ) ( row = '71724937298172' ) ( row = '72916465059969' ) ( row = '78465792764639' ) ( row = '79599698319706' ) ( row = '81584437183399' ) ( row = '79702505062534' ) ( row = '122092893092263' ) ( row = '86596095006214' ) ( row = '86520585049216' ) ( row = '87080713182192' ) ( row = '96799609845836' ) ( row = '87259029882018' ) ( row = '99080687072900' ) ). DATA: lv_checked TYPE abap_bool VALUE abap_false, lv_current_index TYPE i VALUE 0. " Task 1 LOOP AT lv_input INTO wa_input. IF lines( lv_input ) GE ( sy-tabix + 25 ). lv_checked = abap_false. lv_current_index = sy-tabix + 25. READ TABLE lv_input INTO DATA(wa_cur_result) INDEX lv_current_index. " Go through the preamble DO 25 TIMES. DATA(lv_cur_index_a) = sy-index. DO 25 TIMES. DATA(lv_cur_index_b) = sy-index. READ TABLE lv_input INTO DATA(lv_number_a) INDEX lv_current_index - lv_cur_index_a. READ TABLE lv_input INTO DATA(lv_number_b) INDEX lv_current_index - lv_cur_index_b. DATA(lv_check_result) = lv_number_a-row + lv_number_b-row. IF lv_check_result EQ wa_cur_result-row. lv_checked = abap_true. EXIT. ENDIF. ENDDO. IF lv_checked EQ abap_true. EXIT. ENDIF. ENDDO. IF lv_checked EQ abap_false. WRITE: 'Task 1 - Found value: ' && wa_cur_result-row. EXIT. ENDIF. ELSE. EXIT. ENDIF. ENDLOOP. " Task 2 LOOP AT lv_input INTO DATA(wa_input_a). DATA(lv_cur_range) = sy-tabix. LOOP AT lv_input INTO DATA(wa_input_b). DATA(lv_cur_range_sum) = 0. DATA(lv_cur_range_index) = sy-tabix. DO lv_cur_range TIMES. READ TABLE lv_input INTO DATA(lv_cur_num) INDEX ( sy-index + lv_cur_range_index - 1 ). IF sy-index EQ 1. DATA(lv_cur_range_start) = lv_cur_num-row. ENDIF. lv_cur_range_sum = lv_cur_range_sum + lv_cur_num-row. ENDDO. DATA(lv_cur_range_end) = lv_cur_num-row. IF lv_cur_range_sum EQ wa_cur_result-row. EXIT. ENDIF. ENDLOOP. IF lv_cur_range_sum EQ wa_cur_result-row. EXIT. ENDIF. ENDLOOP. DATA(lv_result) = lv_cur_range_start + lv_cur_range_end. WRITE: 'Task 2 - Found range sum: ' && lv_result && ' (' && lv_cur_range_start && '-' && lv_cur_range_start && ')'.
[ 9936, 47, 1546, 25, 347, 43312, 3963, 256, 62, 15414, 11, 198, 220, 220, 220, 220, 220, 220, 220, 220, 5752, 41876, 4731, 11, 198, 220, 220, 220, 220, 220, 220, 23578, 3963, 256, 62, 15414, 13, 198, 198, 9, 23412, 14305, 198, 26947, 25, 300, 85, 62, 15414, 41876, 43679, 3963, 256, 62, 15414, 11, 198, 220, 220, 220, 220, 220, 2082, 62, 15414, 34178, 48920, 3963, 300, 85, 62, 15414, 13, 198, 198, 9, 2195, 570, 351, 262, 15027, 5128, 13, 198, 6780, 62, 15414, 796, 26173, 8924, 1303, 7, 198, 357, 5752, 796, 705, 2091, 6, 1267, 198, 357, 5752, 796, 705, 1507, 6, 1267, 198, 357, 5752, 796, 705, 1828, 6, 1267, 198, 357, 5752, 796, 705, 2598, 6, 1267, 198, 357, 5752, 796, 705, 2920, 6, 1267, 198, 357, 5752, 796, 705, 1314, 6, 1267, 198, 357, 5752, 796, 705, 1065, 6, 1267, 198, 357, 5752, 796, 705, 2548, 6, 1267, 198, 357, 5752, 796, 705, 3901, 6, 1267, 198, 357, 5752, 796, 705, 3510, 6, 1267, 198, 357, 5752, 796, 705, 18, 6, 1267, 198, 357, 5752, 796, 705, 3682, 6, 1267, 198, 357, 5752, 796, 705, 2718, 6, 1267, 198, 357, 5752, 796, 705, 1129, 6, 1267, 198, 357, 5752, 796, 705, 1485, 6, 1267, 198, 357, 5752, 796, 705, 22, 6, 1267, 198, 357, 5752, 796, 705, 2481, 6, 1267, 198, 357, 5752, 796, 705, 1959, 6, 1267, 198, 357, 5752, 796, 705, 2682, 6, 1267, 198, 357, 5752, 796, 705, 1821, 6, 1267, 198, 357, 5752, 796, 705, 2670, 6, 1267, 198, 357, 5752, 796, 705, 2327, 6, 1267, 198, 357, 5752, 796, 705, 1983, 6, 1267, 198, 357, 5752, 796, 705, 1495, 6, 1267, 198, 357, 5752, 796, 705, 2780, 6, 1267, 198, 357, 5752, 796, 705, 5774, 6, 1267, 198, 357, 5752, 796, 705, 940, 6, 1267, 198, 357, 5752, 796, 705, 1433, 6, 1267, 198, 357, 5752, 796, 705, 1558, 6, 1267, 198, 357, 5752, 796, 705, 2231, 6, 1267, 198, 357, 5752, 796, 705, 1507, 6, 1267, 198, 357, 5752, 796, 705, 1270, 6, 1267, 198, 357, 5752, 796, 705, 1238, 6, 1267, 198, 357, 5752, 796, 705, 1828, 6, 1267, 198, 357, 5752, 796, 705, 1954, 6, 1267, 198, 357, 5752, 796, 705, 4790, 6, 1267, 198, 357, 5752, 796, 705, 1731, 6, 1267, 198, 357, 5752, 796, 705, 2075, 6, 1267, 198, 357, 5752, 796, 705, 2078, 6, 1267, 198, 357, 5752, 796, 705, 4310, 6, 1267, 198, 357, 5752, 796, 705, 3132, 6, 1267, 198, 357, 5752, 796, 705, 2718, 6, 1267, 198, 357, 5752, 796, 705, 4349, 6, 1267, 198, 357, 5752, 796, 705, 2624, 6, 1267, 198, 357, 5752, 796, 705, 2091, 6, 1267, 198, 357, 5752, 796, 705, 2682, 6, 1267, 198, 357, 5752, 796, 705, 2623, 6, 1267, 198, 357, 5752, 796, 705, 2327, 6, 1267, 198, 357, 5752, 796, 705, 4051, 6, 1267, 198, 357, 5752, 796, 705, 1983, 6, 1267, 198, 357, 5752, 796, 705, 2548, 6, 1267, 198, 357, 5752, 796, 705, 2670, 6, 1267, 198, 357, 5752, 796, 705, 1821, 6, 1267, 198, 357, 5752, 796, 705, 4524, 6, 1267, 198, 357, 5752, 796, 705, 2154, 6, 1267, 198, 357, 5752, 796, 705, 3901, 6, 1267, 198, 357, 5752, 796, 705, 6052, 6, 1267, 198, 357, 5752, 796, 705, 18444, 6, 1267, 198, 357, 5752, 796, 705, 2231, 6, 1267, 198, 357, 5752, 796, 705, 5066, 6, 1267, 198, 357, 5752, 796, 705, 5774, 6, 1267, 198, 357, 5752, 796, 705, 2791, 6, 1267, 198, 357, 5752, 796, 705, 2996, 6, 1267, 198, 357, 5752, 796, 705, 2816, 6, 1267, 198, 357, 5752, 796, 705, 3365, 6, 1267, 198, 357, 5752, 796, 705, 5237, 6, 1267, 198, 357, 5752, 796, 705, 4761, 6, 1267, 198, 357, 5752, 796, 705, 13348, 6, 1267, 198, 357, 5752, 796, 705, 3270, 6, 1267, 198, 357, 5752, 796, 705, 4304, 6, 1267, 198, 357, 5752, 796, 705, 5333, 6, 1267, 198, 357, 5752, 796, 705, 3134, 6, 1267, 198, 357, 5752, 796, 705, 3104, 6, 1267, 198, 357, 5752, 796, 705, 3324, 6, 1267, 198, 357, 5752, 796, 705, 15801, 6, 1267, 198, 357, 5752, 796, 705, 3695, 6, 1267, 198, 357, 5752, 796, 705, 3720, 6, 1267, 198, 357, 5752, 796, 705, 24839, 6, 1267, 198, 357, 5752, 796, 705, 4521, 6, 1267, 198, 357, 5752, 796, 705, 17657, 6, 1267, 198, 357, 5752, 796, 705, 4846, 6, 1267, 198, 357, 5752, 796, 705, 3064, 6, 1267, 198, 357, 5752, 796, 705, 15711, 6, 1267, 198, 357, 5752, 796, 705, 13464, 6, 1267, 198, 357, 5752, 796, 705, 10163, 6, 1267, 198, 357, 5752, 796, 705, 16616, 6, 1267, 198, 357, 5752, 796, 705, 16562, 6, 1267, 198, 357, 5752, 796, 705, 18298, 6, 1267, 198, 357, 5752, 796, 705, 18741, 6, 1267, 198, 357, 5752, 796, 705, 16315, 6, 1267, 198, 357, 5752, 796, 705, 23188, 6, 1267, 198, 357, 5752, 796, 705, 10232, 6, 1267, 198, 357, 5752, 796, 705, 25272, 6, 1267, 198, 357, 5752, 796, 705, 19420, 6, 1267, 198, 357, 5752, 796, 705, 22413, 6, 1267, 198, 357, 5752, 796, 705, 22883, 6, 1267, 198, 357, 5752, 796, 705, 17059, 6, 1267, 198, 357, 5752, 796, 705, 24294, 6, 1267, 198, 357, 5752, 796, 705, 17477, 6, 1267, 198, 357, 5752, 796, 705, 1264, 6, 1267, 198, 357, 5752, 796, 705, 22985, 6, 1267, 198, 357, 5752, 796, 705, 15277, 6, 1267, 198, 357, 5752, 796, 705, 25096, 6, 1267, 198, 357, 5752, 796, 705, 19782, 6, 1267, 198, 357, 5752, 796, 705, 21536, 6, 1267, 198, 357, 5752, 796, 705, 23045, 6, 1267, 198, 357, 5752, 796, 705, 22291, 6, 1267, 198, 357, 5752, 796, 705, 32568, 6, 1267, 198, 357, 5752, 796, 705, 24591, 6, 1267, 198, 357, 5752, 796, 705, 24403, 6, 1267, 198, 357, 5752, 796, 705, 23539, 6, 1267, 198, 357, 5752, 796, 705, 21288, 6, 1267, 198, 357, 5752, 796, 705, 22370, 6, 1267, 198, 357, 5752, 796, 705, 20167, 6, 1267, 198, 357, 5752, 796, 705, 21495, 6, 1267, 198, 357, 5752, 796, 705, 30057, 6, 1267, 198, 357, 5752, 796 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1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1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
class ZCX_IDOC_DATA_NOT_FOR_SEND definition public inheriting from CX_STATIC_CHECK final create public . public section. *"* public components of class ZCX_IDOC_DATA_NOT_FOR_SEND *"* do not include other source files here!!! constants ZCX_IDOC_DATA_NOT_FOR_SEND type SOTR_CONC value '00505697691A1ED98BBA9DB88013C51D' ##NO_TEXT. data MSG type STRING . methods CONSTRUCTOR importing !TEXTID like TEXTID optional !PREVIOUS like PREVIOUS optional !MSG type STRING optional . protected section. *"* protected components of class ZCX_IDOC_DATA_NOT_FOR_SEND *"* do not include other source files here!!! private section. *"* private components of class ZCX_IDOC_DATA_NOT_FOR_SEND *"* do not include other source files here!!! ENDCLASS. CLASS ZCX_IDOC_DATA_NOT_FOR_SEND IMPLEMENTATION. method CONSTRUCTOR. CALL METHOD SUPER->CONSTRUCTOR EXPORTING TEXTID = TEXTID PREVIOUS = PREVIOUS . IF textid IS INITIAL. me->textid = ZCX_IDOC_DATA_NOT_FOR_SEND . ENDIF. me->MSG = MSG . endmethod. ENDCLASS.
[ 4871, 1168, 34, 55, 62, 2389, 4503, 62, 26947, 62, 11929, 62, 13775, 62, 50, 10619, 6770, 198, 220, 1171, 198, 220, 10639, 1780, 422, 327, 55, 62, 35744, 2149, 62, 50084, 198, 220, 2457, 198, 220, 2251, 1171, 764, 198, 198, 11377, 2665, 13, 198, 198, 9, 1, 9, 1171, 6805, 286, 1398, 1168, 34, 55, 62, 2389, 4503, 62, 26947, 62, 11929, 62, 13775, 62, 50, 10619, 198, 9, 1, 9, 466, 407, 2291, 584, 2723, 3696, 994, 10185, 198, 220, 38491, 1168, 34, 55, 62, 2389, 4503, 62, 26947, 62, 11929, 62, 13775, 62, 50, 10619, 2099, 311, 2394, 49, 62, 10943, 34, 1988, 705, 405, 31654, 40035, 49541, 32, 16, 1961, 4089, 33, 4339, 24, 11012, 3459, 30273, 34, 4349, 35, 6, 22492, 15285, 62, 32541, 13, 198, 220, 1366, 49064, 2099, 19269, 2751, 764, 628, 220, 5050, 7102, 46126, 1581, 198, 220, 220, 220, 33332, 198, 220, 220, 220, 220, 220, 5145, 32541, 2389, 588, 40383, 2389, 11902, 198, 220, 220, 220, 220, 220, 5145, 46437, 12861, 20958, 588, 22814, 12861, 20958, 11902, 198, 220, 220, 220, 220, 220, 5145, 5653, 38, 2099, 19269, 2751, 11902, 764, 198, 24326, 2665, 13, 198, 9, 1, 9, 6861, 6805, 286, 1398, 1168, 34, 55, 62, 2389, 4503, 62, 26947, 62, 11929, 62, 13775, 62, 50, 10619, 198, 9, 1, 9, 466, 407, 2291, 584, 2723, 3696, 994, 10185, 198, 19734, 2665, 13, 198, 9, 1, 9, 2839, 6805, 286, 1398, 1168, 34, 55, 62, 2389, 4503, 62, 26947, 62, 11929, 62, 13775, 62, 50, 10619, 198, 9, 1, 9, 466, 407, 2291, 584, 2723, 3696, 994, 10185, 198, 10619, 31631, 13, 628, 198, 198, 31631, 1168, 34, 55, 62, 2389, 4503, 62, 26947, 62, 11929, 62, 13775, 62, 50, 10619, 30023, 2538, 10979, 6234, 13, 628, 198, 220, 2446, 7102, 46126, 1581, 13, 198, 34, 7036, 337, 36252, 33088, 3784, 10943, 46126, 1581, 198, 6369, 15490, 2751, 198, 32541, 2389, 796, 40383, 2389, 198, 46437, 12861, 20958, 796, 22814, 12861, 20958, 198, 13, 198, 16876, 2420, 312, 3180, 3268, 2043, 12576, 13, 198, 220, 220, 502, 3784, 5239, 312, 796, 1168, 34, 55, 62, 2389, 4503, 62, 26947, 62, 11929, 62, 13775, 62, 50, 10619, 764, 198, 23578, 5064, 13, 198, 1326, 3784, 5653, 38, 796, 49064, 764, 198, 220, 886, 24396, 13, 198, 10619, 31631, 13, 198 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,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