content
stringlengths
4
1.04M
input_ids
sequencelengths
2
1.02k
attention_mask
sequencelengths
2
1.02k
CLASS zcl_aoc_check_75 DEFINITION PUBLIC INHERITING FROM zcl_aoc_super_root CREATE PUBLIC . PUBLIC SECTION. METHODS constructor . METHODS get_message_text REDEFINITION . METHODS if_ci_test~query_attributes REDEFINITION . METHODS put_attributes REDEFINITION . METHODS run REDEFINITION . METHODS get_attributes REDEFINITION . PROTECTED SECTION. DATA mv_language TYPE char20 . PRIVATE SECTION. ENDCLASS. CLASS ZCL_AOC_CHECK_75 IMPLEMENTATION. METHOD constructor. super->constructor( ). version = '001'. position = '075'. has_documentation = abap_true. has_attributes = abap_true. attributes_ok = abap_true. mv_language = sy-langu. add_obj_type( 'TRAN' ). add_obj_type( 'PROG' ). add_obj_type( 'CLAS' ). add_obj_type( 'INTF' ). add_obj_type( 'FUGR' ). add_obj_type( 'DOMA' ). add_obj_type( 'DTEL' ). add_obj_type( 'TTYP' ). add_obj_type( 'TABL' ). add_obj_type( 'VIEW' ). add_obj_type( 'SSFO' ). add_obj_type( 'FORM' ). ENDMETHOD. METHOD get_attributes. EXPORT mv_errty = mv_errty mv_language = mv_language TO DATA BUFFER p_attributes. ENDMETHOD. METHOD get_message_text. CLEAR p_text. CASE p_code. WHEN '001'. p_text = 'Wrong master language: &1'. "#EC NOTEXT WHEN OTHERS. super->get_message_text( EXPORTING p_test = p_test p_code = p_code IMPORTING p_text = p_text ). ENDCASE. ENDMETHOD. METHOD if_ci_test~query_attributes. zzaoc_top. zzaoc_fill_att mv_errty 'Error Type' ''. "#EC NOTEXT zzaoc_fill_att mv_language 'Language' ''. "#EC NOTEXT zzaoc_popup. ENDMETHOD. METHOD put_attributes. IMPORT mv_errty = mv_errty mv_language = mv_language FROM DATA BUFFER p_attributes. "#EC CI_USE_WANTED ASSERT sy-subrc = 0. ENDMETHOD. METHOD run. * abapOpenChecks * https://github.com/larshp/abapOpenChecks * MIT License DATA: lv_lang TYPE tadir-masterlang. SELECT SINGLE masterlang FROM tadir INTO lv_lang WHERE pgmid = 'R3TR' AND object = object_type AND obj_name = object_name. IF sy-subrc <> 0 OR lv_lang CA mv_language. RETURN. ENDIF. inform( p_test = myname p_kind = mv_errty p_param_1 = lv_lang p_code = '001' ). ENDMETHOD. ENDCLASS.
[ 31631, 1976, 565, 62, 64, 420, 62, 9122, 62, 2425, 5550, 20032, 17941, 198, 220, 44731, 198, 220, 3268, 16879, 2043, 2751, 16034, 1976, 565, 62, 64, 420, 62, 16668, 62, 15763, 198, 220, 29244, 6158, 44731, 764, 628, 220, 44731, 44513, 13, 628, 220, 220, 220, 337, 36252, 50, 23772, 764, 628, 220, 220, 220, 337, 36252, 50, 651, 62, 20500, 62, 5239, 198, 220, 220, 220, 220, 220, 220, 220, 23848, 36, 20032, 17941, 764, 198, 220, 220, 220, 337, 36252, 50, 611, 62, 979, 62, 9288, 93, 22766, 62, 1078, 7657, 198, 220, 220, 220, 220, 220, 220, 220, 23848, 36, 20032, 17941, 764, 198, 220, 220, 220, 337, 36252, 50, 1234, 62, 1078, 7657, 198, 220, 220, 220, 220, 220, 220, 220, 23848, 36, 20032, 17941, 764, 198, 220, 220, 220, 337, 36252, 50, 1057, 198, 220, 220, 220, 220, 220, 220, 220, 23848, 36, 20032, 17941, 764, 198, 220, 220, 220, 337, 36252, 50, 651, 62, 1078, 7657, 198, 220, 220, 220, 220, 220, 220, 220, 23848, 36, 20032, 17941, 764, 198, 220, 48006, 9782, 1961, 44513, 13, 628, 220, 220, 220, 42865, 285, 85, 62, 16129, 41876, 1149, 1238, 764, 198, 220, 4810, 3824, 6158, 44513, 13, 198, 10619, 31631, 13, 628, 198, 198, 31631, 1168, 5097, 62, 32, 4503, 62, 50084, 62, 2425, 30023, 2538, 10979, 6234, 13, 628, 198, 220, 337, 36252, 23772, 13, 628, 220, 220, 220, 2208, 3784, 41571, 273, 7, 6739, 628, 220, 220, 220, 2196, 220, 796, 705, 8298, 4458, 198, 220, 220, 220, 2292, 796, 705, 46396, 4458, 628, 220, 220, 220, 468, 62, 22897, 341, 796, 450, 499, 62, 7942, 13, 198, 220, 220, 220, 468, 62, 1078, 7657, 796, 450, 499, 62, 7942, 13, 198, 220, 220, 220, 12608, 62, 482, 220, 796, 450, 499, 62, 7942, 13, 628, 220, 220, 220, 285, 85, 62, 16129, 796, 827, 12, 75, 2303, 13, 628, 220, 220, 220, 751, 62, 26801, 62, 4906, 7, 705, 5446, 1565, 6, 6739, 198, 220, 220, 220, 751, 62, 26801, 62, 4906, 7, 705, 4805, 7730, 6, 6739, 198, 220, 220, 220, 751, 62, 26801, 62, 4906, 7, 705, 5097, 1921, 6, 6739, 198, 220, 220, 220, 751, 62, 26801, 62, 4906, 7, 705, 1268, 10234, 6, 6739, 198, 220, 220, 220, 751, 62, 26801, 62, 4906, 7, 705, 37, 7340, 49, 6, 6739, 198, 220, 220, 220, 751, 62, 26801, 62, 4906, 7, 705, 39170, 32, 6, 6739, 198, 220, 220, 220, 751, 62, 26801, 62, 4906, 7, 705, 24544, 3698, 6, 6739, 198, 220, 220, 220, 751, 62, 26801, 62, 4906, 7, 705, 51, 9936, 47, 6, 6739, 198, 220, 220, 220, 751, 62, 26801, 62, 4906, 7, 705, 5603, 9148, 6, 6739, 198, 220, 220, 220, 751, 62, 26801, 62, 4906, 7, 705, 28206, 6, 6739, 198, 220, 220, 220, 751, 62, 26801, 62, 4906, 7, 705, 5432, 6080, 6, 6739, 198, 220, 220, 220, 751, 62, 26801, 62, 4906, 7, 705, 21389, 6, 6739, 628, 220, 23578, 49273, 13, 628, 198, 220, 337, 36252, 651, 62, 1078, 7657, 13, 628, 220, 220, 220, 7788, 15490, 198, 220, 220, 220, 220, 220, 285, 85, 62, 8056, 774, 796, 285, 85, 62, 8056, 774, 198, 220, 220, 220, 220, 220, 285, 85, 62, 16129, 796, 285, 85, 62, 16129, 198, 220, 220, 220, 220, 220, 5390, 42865, 20571, 45746, 279, 62, 1078, 7657, 13, 628, 220, 23578, 49273, 13, 628, 198, 220, 337, 36252, 651, 62, 20500, 62, 5239, 13, 628, 220, 220, 220, 30301, 1503, 279, 62, 5239, 13, 628, 220, 220, 220, 42001, 279, 62, 8189, 13, 198, 220, 220, 220, 220, 220, 42099, 705, 8298, 4458, 198, 220, 220, 220, 220, 220, 220, 220, 279, 62, 5239, 796, 705, 39213, 506, 4958, 3303, 25, 1222, 16, 4458, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 25113, 2943, 5626, 13918, 198, 220, 220, 220, 220, 220, 42099, 440, 4221, 4877, 13, 198, 220, 220, 220, 220, 220, 220, 220, 2208, 3784, 1136, 62, 20500, 62, 5239, 7, 7788, 15490, 2751, 279, 62, 9288, 796, 279, 62, 9288, 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, 279, 62, 8189, 796, 279, 62, 8189, 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, 30023, 9863, 2751, 279, 62, 5239, 796, 279, 62, 5239, 6739, 198, 220, 220, 220, 23578, 34, 11159, 13, 628, 220, 23578, 49273, 13, 628, 198, 220, 337, 36252, 611, 62, 979, 62, 9288, 93, 22766, 62, 1078, 7657, 13, 628, 220, 220, 220, 1976, 4496, 420, 62, 4852, 13, 628, 220, 220, 220, 1976, 4496, 420, 62, 20797, 62, 1078, 285, 85, 62, 8056, 774, 705, 12331, 5994, 6, 705, 4458, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 25113, 2943, 5626, 13918, 198, 220, 220, 220, 1976, 4496, 420, 62, 20797, 62, 1078, 285, 85, 62, 16129, 705, 32065, 6, 705, 4458, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 25113, 2943, 5626, 13918, 628, 220, 220, 220, 1976, 4496, 420, 62, 12924, 929, 13, 628, 220, 23578, 49273, 13, 628, 198, 220, 337, 36252, 1234, 62, 1078, 7657, 13, 628, 220, 220, 220, 30023, 9863, 198, 220, 220, 220, 220, 220, 285, 85, 62, 8056, 774, 796, 285, 85, 62, 8056, 774, 198, 220, 220, 220, 220, 220, 285, 85, 62, 16129, 796, 285, 85, 62, 16129, 198, 220, 220, 220, 220, 220, 16034, 42865, 20571, 45746, 279, 62, 1078, 7657, 13, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 25113, 2943, 14514, 62, 19108, 62, 54, 8643, 1961, 198, 220, 220, 220, 24994, 17395, 827, 12, 7266, 6015, 796, 657, 13, 628, 220, 23578, 49273, 13, 628, 198, 220, 337 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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 ]
CLASS zcl_aoc_check_98 DEFINITION PUBLIC INHERITING FROM zcl_aoc_super CREATE PUBLIC . PUBLIC SECTION. METHODS constructor . METHODS check REDEFINITION . PROTECTED SECTION. PRIVATE SECTION. ENDCLASS. CLASS ZCL_AOC_CHECK_98 IMPLEMENTATION. METHOD check. DATA lt_structures TYPE ty_structures_tt. DATA lv_empty_catch_count TYPE i. FIELD-SYMBOLS <ls_structure_try> LIKE LINE OF io_scan->structures. FIELD-SYMBOLS <ls_structure_catch> LIKE LINE OF io_scan->structures. FIELD-SYMBOLS <ls_statement> LIKE LINE OF io_scan->statements. lt_structures = io_scan->structures. LOOP AT io_scan->structures ASSIGNING <ls_structure_try> WHERE stmnt_type = zcl_aoc_scan=>gc_structure_statement-try. CLEAR lv_empty_catch_count. LOOP AT lt_structures ASSIGNING <ls_structure_catch> FROM <ls_structure_try>-struc_from TO <ls_structure_try>-struc_to WHERE stmnt_type = zcl_aoc_scan=>gc_structure_statement-catch. IF <ls_structure_catch>-struc_to < <ls_structure_catch>-struc_from. "Empty catch. lv_empty_catch_count = lv_empty_catch_count + 1. ENDIF. IF lv_empty_catch_count = 2. READ TABLE io_scan->statements ASSIGNING <ls_statement> INDEX <ls_structure_catch>-stmnt_from. inform( p_sub_obj_name = program_name p_line = <ls_statement>-trow p_kind = mv_errty p_test = myname p_code = '001' ). ENDIF. ENDLOOP. ENDLOOP. ENDMETHOD. METHOD constructor. super->constructor( ). version = '001'. position = '098'. has_attributes = abap_true. attributes_ok = abap_true. add_obj_type( 'PROG' ). add_obj_type( 'CLAS' ). add_obj_type( 'FUGR' ). enable_rfc( ). insert_scimessage( iv_code = '001' iv_text = 'Empty catches should be combined'(m01) ). ENDMETHOD. ENDCLASS.
[ 31631, 1976, 565, 62, 64, 420, 62, 9122, 62, 4089, 5550, 20032, 17941, 198, 220, 44731, 198, 220, 3268, 16879, 2043, 2751, 16034, 1976, 565, 62, 64, 420, 62, 16668, 198, 220, 29244, 6158, 44731, 764, 628, 220, 44731, 44513, 13, 628, 220, 220, 220, 337, 36252, 50, 23772, 764, 628, 220, 220, 220, 337, 36252, 50, 2198, 198, 220, 220, 220, 220, 220, 220, 220, 23848, 36, 20032, 17941, 764, 198, 220, 48006, 9782, 1961, 44513, 13, 198, 220, 4810, 3824, 6158, 44513, 13, 198, 198, 10619, 31631, 13, 628, 198, 198, 31631, 1168, 5097, 62, 32, 4503, 62, 50084, 62, 4089, 30023, 2538, 10979, 6234, 13, 628, 198, 220, 337, 36252, 2198, 13, 628, 220, 220, 220, 42865, 300, 83, 62, 7249, 942, 220, 220, 220, 220, 220, 220, 220, 41876, 1259, 62, 7249, 942, 62, 926, 13, 198, 220, 220, 220, 42865, 300, 85, 62, 28920, 62, 40198, 62, 9127, 41876, 1312, 13, 628, 220, 220, 220, 18930, 24639, 12, 23060, 10744, 3535, 50, 1279, 7278, 62, 301, 5620, 62, 28311, 29, 220, 220, 34178, 48920, 3963, 33245, 62, 35836, 3784, 7249, 942, 13, 198, 220, 220, 220, 18930, 24639, 12, 23060, 10744, 3535, 50, 1279, 7278, 62, 301, 5620, 62, 40198, 29, 34178, 48920, 3963, 33245, 62, 35836, 3784, 7249, 942, 13, 198, 220, 220, 220, 18930, 24639, 12, 23060, 10744, 3535, 50, 1279, 7278, 62, 26090, 29, 220, 220, 220, 220, 220, 220, 34178, 48920, 3963, 33245, 62, 35836, 3784, 14269, 3196, 13, 628, 220, 220, 220, 300, 83, 62, 7249, 942, 796, 33245, 62, 35836, 3784, 7249, 942, 13, 628, 220, 220, 220, 17579, 3185, 5161, 33245, 62, 35836, 3784, 7249, 942, 24994, 3528, 15871, 1279, 7278, 62, 301, 5620, 62, 28311, 29, 198, 220, 220, 220, 220, 220, 220, 220, 33411, 336, 76, 429, 62, 4906, 796, 1976, 565, 62, 64, 420, 62, 35836, 14804, 36484, 62, 301, 5620, 62, 26090, 12, 28311, 13, 628, 220, 220, 220, 220, 220, 30301, 1503, 300, 85, 62, 28920, 62, 40198, 62, 9127, 13, 628, 220, 220, 220, 220, 220, 17579, 3185, 5161, 300, 83, 62, 7249, 942, 220, 24994, 3528, 15871, 1279, 7278, 62, 301, 5620, 62, 40198, 29, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 16034, 1279, 7278, 62, 301, 5620, 62, 28311, 29, 12, 19554, 66, 62, 6738, 5390, 1279, 7278, 62, 301, 5620, 62, 28311, 29, 12, 19554, 66, 62, 1462, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 33411, 336, 76, 429, 62, 4906, 796, 1976, 565, 62, 64, 420, 62, 35836, 14804, 36484, 62, 301, 5620, 62, 26090, 12, 40198, 13, 628, 220, 220, 220, 220, 220, 220, 220, 16876, 1279, 7278, 62, 301, 5620, 62, 40198, 29, 12, 19554, 66, 62, 1462, 1279, 1279, 7278, 62, 301, 5620, 62, 40198, 29, 12, 19554, 66, 62, 6738, 13, 220, 220, 220, 220, 220, 366, 40613, 4929, 13, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 300, 85, 62, 28920, 62, 40198, 62, 9127, 796, 300, 85, 62, 28920, 62, 40198, 62, 9127, 1343, 352, 13, 198, 220, 220, 220, 220, 220, 220, 220, 23578, 5064, 13, 628, 220, 220, 220, 220, 220, 220, 220, 16876, 300, 85, 62, 28920, 62, 40198, 62, 9127, 796, 362, 13, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 20832, 43679, 33245, 62, 35836, 3784, 14269, 3196, 24994, 3528, 15871, 1279, 7278, 62, 26090, 29, 24413, 6369, 1279, 7278, 62, 301, 5620, 62, 40198, 29, 12, 301, 76, 429, 62, 6738, 13, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 4175, 7, 279, 62, 7266, 62, 26801, 62, 3672, 796, 1430, 62, 3672, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 279, 62, 1370, 220, 220, 220, 220, 220, 220, 220, 220, 796, 1279, 7278, 62, 26090, 29, 12, 83, 808, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 279, 62, 11031, 220, 220, 220, 220, 220, 220, 220, 220, 796, 285, 85, 62, 8056, 774, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 279, 62, 9288, 220, 220, 220, 220, 220, 220, 220, 220, 796, 616, 3672, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 279, 62, 8189, 220, 220, 220, 220, 220, 220, 220, 220, 796, 705, 8298, 6, 6739, 198, 220, 220, 220, 220, 220, 220, 220, 23578, 5064, 13, 198, 220, 220, 220, 220, 220, 23578, 21982, 3185, 13, 198, 220, 220, 220, 23578, 21982, 3185, 13, 628, 220, 23578, 49273, 13, 628, 198, 220, 337, 36252, 23772, 13, 628, 220, 220, 220, 2208, 3784, 41571, 273, 7, 6739, 628, 220, 220, 220, 2196, 220, 796, 705, 8298, 4458, 198, 220, 220, 220, 2292, 796, 705, 2931, 23, 4458, 628, 220, 220, 220, 468, 62, 1078, 7657, 796, 450, 499, 62, 7942, 13, 198, 220, 220, 220, 12608, 62, 482, 220, 796, 450, 499, 62, 7942, 13, 628, 220, 220, 220, 751, 62, 26801, 62, 4906, 7, 705, 4805, 7730, 6, 6739, 198, 220, 220, 220, 751, 62, 26801, 62, 4906, 7, 705, 5097, 1921, 6, 6739, 198, 220, 220, 220, 751, 62, 26801, 62, 4906, 7, 705, 37, 7340, 49, 6, 6739, 628, 220, 220, 220, 7139, 62, 81, 16072, 7, 6739, 628, 220, 220, 220, 7550, 62, 1416, 320, 7589, 7, 198, 220, 220, 220, 220, 220, 220, 220, 21628, 62, 8189, 796, 705, 8298, 6, 198, 220, 220, 220, 220, 220, 220, 220, 21628, 62, 5239, 796, 705, 40613, 17591, 815, 307, 5929, 6, 7, 76, 486, 8, 6739, 628, 220, 23578, 49273, 13, 198, 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, 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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 ]
CLASS zcl_abapgit_gui_page_code_insp DEFINITION PUBLIC FINAL CREATE PUBLIC INHERITING FROM zcl_abapgit_gui_page_codi_base. PUBLIC SECTION. INTERFACES: zif_abapgit_gui_page_hotkey. METHODS: constructor IMPORTING io_repo TYPE REF TO zcl_abapgit_repo io_stage TYPE REF TO zcl_abapgit_stage OPTIONAL RAISING zcx_abapgit_exception, zif_abapgit_gui_event_handler~on_event REDEFINITION, zif_abapgit_gui_renderable~render REDEFINITION. PROTECTED SECTION. METHODS: render_content REDEFINITION. PRIVATE SECTION. CONSTANTS: BEGIN OF c_actions, stage TYPE string VALUE 'stage' ##NO_TEXT, commit TYPE string VALUE 'commit' ##NO_TEXT, rerun TYPE string VALUE 'rerun' ##NO_TEXT, END OF c_actions. DATA: mo_stage TYPE REF TO zcl_abapgit_stage, mv_check_variant TYPE sci_chkv. METHODS: build_menu RETURNING VALUE(ro_menu) TYPE REF TO zcl_abapgit_html_toolbar RAISING zcx_abapgit_exception, run_code_inspector RAISING zcx_abapgit_exception, has_inspection_errors RETURNING VALUE(rv_has_inspection_errors) TYPE abap_bool, is_stage_allowed RETURNING VALUE(rv_is_stage_allowed) TYPE abap_bool, ask_user_for_check_variant RETURNING VALUE(rv_check_variant) TYPE sci_chkv RAISING zcx_abapgit_exception, determine_check_variant RAISING zcx_abapgit_exception. ENDCLASS. CLASS ZCL_ABAPGIT_GUI_PAGE_CODE_INSP IMPLEMENTATION. METHOD ask_user_for_check_variant. DATA: lt_return TYPE STANDARD TABLE OF ddshretval. FIELD-SYMBOLS: <ls_return> LIKE LINE OF lt_return. CALL FUNCTION 'F4IF_FIELD_VALUE_REQUEST' EXPORTING tabname = 'SCI_DYNP' fieldname = 'CHKV' TABLES return_tab = lt_return EXCEPTIONS field_not_found = 1 no_help_for_field = 2 inconsistent_help = 3 no_values_found = 4 OTHERS = 5. IF sy-subrc <> 0. zcx_abapgit_exception=>raise_t100( ). ENDIF. READ TABLE lt_return ASSIGNING <ls_return> WITH KEY retfield = 'SCI_DYNP-CHKV'. IF sy-subrc <> 0. zcx_abapgit_exception=>raise( |Please select a check variant.| ). ENDIF. rv_check_variant = <ls_return>-fieldval. ENDMETHOD. METHOD build_menu. DATA: lv_opt TYPE c LENGTH 1. CREATE OBJECT ro_menu. ro_menu->add( iv_txt = 'Re-Run' iv_act = c_actions-rerun iv_cur = abap_false ) ##NO_TEXT. IF is_stage_allowed( ) = abap_false. lv_opt = zif_abapgit_html=>c_html_opt-crossout. ENDIF. IF mo_repo->is_offline( ) = abap_true. RETURN. ENDIF. IF mo_stage IS BOUND. " Staging info already available, we can directly " offer to commit ro_menu->add( iv_txt = 'Commit' iv_act = c_actions-commit iv_cur = abap_false iv_opt = lv_opt ) ##NO_TEXT. ELSE. ro_menu->add( iv_txt = 'Stage' iv_act = c_actions-stage iv_cur = abap_false iv_opt = lv_opt ) ##NO_TEXT. ENDIF. ENDMETHOD. METHOD constructor. super->constructor( ). mo_repo = io_repo. mo_stage = io_stage. ms_control-page_title = 'Code Inspector'. determine_check_variant( ). run_code_inspector( ). ENDMETHOD. METHOD determine_check_variant. mv_check_variant = mo_repo->get_local_settings( )-code_inspector_check_variant. IF mv_check_variant IS INITIAL. mv_check_variant = ask_user_for_check_variant( ). ENDIF. ENDMETHOD. METHOD has_inspection_errors. READ TABLE mt_result TRANSPORTING NO FIELDS WITH KEY kind = 'E'. rv_has_inspection_errors = boolc( sy-subrc = 0 ). ENDMETHOD. METHOD is_stage_allowed. rv_is_stage_allowed = boolc( NOT ( mo_repo->get_local_settings( )-block_commit = abap_true AND has_inspection_errors( ) = abap_true ) ). ENDMETHOD. METHOD render_content. CREATE OBJECT ro_html. IF mv_check_variant IS INITIAL. ro_html->add( zcl_abapgit_gui_chunk_lib=>render_error( iv_error = 'No check variant supplied.' ) ). RETURN. ENDIF. ro_html->add( '<div class="ci-head">' ). ro_html->add( |Code inspector check variant: <span class="ci-variant">{ mv_check_variant }</span>| ). ro_html->add( |<div class="float-right package-name">{ zcl_abapgit_html=>icon( 'box/grey70' ) }<span>{ mo_repo->get_package( ) }</span></div>| ). ro_html->add( '</div>' ). IF lines( mt_result ) = 0. ro_html->add( '<div class="dummydiv success">' ). ro_html->add( zcl_abapgit_html=>icon( 'check' ) ). ro_html->add( 'No code inspector findings' ). ro_html->add( '</div>' ). ELSE. render_result( io_html = ro_html it_result = mt_result ). ENDIF. ENDMETHOD. METHOD run_code_inspector. DATA: li_code_inspector TYPE REF TO zif_abapgit_code_inspector. li_code_inspector = zcl_abapgit_factory=>get_code_inspector( mo_repo->get_package( ) ). mt_result = li_code_inspector->run( iv_variant = |{ mv_check_variant }| iv_save = abap_true ). DELETE mt_result WHERE kind = 'N'. ENDMETHOD. METHOD zif_abapgit_gui_event_handler~on_event. DATA: lo_repo_online TYPE REF TO zcl_abapgit_repo_online. CASE iv_action. WHEN c_actions-stage. lo_repo_online ?= mo_repo. IF is_stage_allowed( ) = abap_true. " we need to refresh as the source might have changed lo_repo_online->refresh( ). CREATE OBJECT ei_page TYPE zcl_abapgit_gui_page_stage EXPORTING io_repo = lo_repo_online. ev_state = zcl_abapgit_gui=>c_event_state-new_page. ELSE. ei_page = me. ev_state = zcl_abapgit_gui=>c_event_state-no_more_act. ENDIF. WHEN c_actions-commit. lo_repo_online ?= mo_repo. IF is_stage_allowed( ) = abap_true. CREATE OBJECT ei_page TYPE zcl_abapgit_gui_page_commit EXPORTING io_repo = lo_repo_online io_stage = mo_stage. ev_state = zcl_abapgit_gui=>c_event_state-new_page. ELSE. ei_page = me. ev_state = zcl_abapgit_gui=>c_event_state-no_more_act. ENDIF. WHEN c_actions-rerun. run_code_inspector( ). ei_page = me. ev_state = zcl_abapgit_gui=>c_event_state-re_render. WHEN OTHERS. super->zif_abapgit_gui_event_handler~on_event( EXPORTING iv_action = iv_action iv_getdata = iv_getdata it_postdata = it_postdata IMPORTING ei_page = ei_page ev_state = ev_state ). ENDCASE. ENDMETHOD. METHOD zif_abapgit_gui_page_hotkey~get_hotkey_actions. DATA: ls_hotkey_action LIKE LINE OF rt_hotkey_actions. ls_hotkey_action-name = |Stage|. ls_hotkey_action-action = c_actions-stage. ls_hotkey_action-hotkey = |s|. INSERT ls_hotkey_action INTO TABLE rt_hotkey_actions. ls_hotkey_action-name = |Re-Run|. ls_hotkey_action-action = c_actions-rerun. ls_hotkey_action-hotkey = |r|. INSERT ls_hotkey_action INTO TABLE rt_hotkey_actions. ENDMETHOD. METHOD zif_abapgit_gui_renderable~render. ms_control-page_menu = build_menu( ). ri_html = super->zif_abapgit_gui_renderable~render( ). ENDMETHOD. ENDCLASS.
[ 31631, 1976, 565, 62, 397, 499, 18300, 62, 48317, 62, 7700, 62, 8189, 62, 1040, 79, 5550, 20032, 17941, 44731, 25261, 29244, 6158, 44731, 198, 220, 220, 220, 3268, 16879, 2043, 2751, 16034, 1976, 565, 62, 397, 499, 18300, 62, 48317, 62, 7700, 62, 19815, 72, 62, 8692, 13, 628, 220, 44731, 44513, 13, 198, 220, 220, 220, 23255, 37, 2246, 1546, 25, 1976, 361, 62, 397, 499, 18300, 62, 48317, 62, 7700, 62, 8940, 2539, 13, 628, 220, 220, 220, 337, 36252, 50, 25, 198, 220, 220, 220, 220, 220, 23772, 198, 220, 220, 220, 220, 220, 220, 220, 30023, 9863, 2751, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 33245, 62, 260, 7501, 220, 41876, 4526, 37, 5390, 1976, 565, 62, 397, 499, 18300, 62, 260, 7501, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 33245, 62, 14247, 41876, 4526, 37, 5390, 1976, 565, 62, 397, 499, 18300, 62, 14247, 39852, 2849, 1847, 198, 220, 220, 220, 220, 220, 220, 220, 17926, 1797, 2751, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 1976, 66, 87, 62, 397, 499, 18300, 62, 1069, 4516, 11, 628, 220, 220, 220, 220, 220, 1976, 361, 62, 397, 499, 18300, 62, 48317, 62, 15596, 62, 30281, 93, 261, 62, 15596, 198, 220, 220, 220, 220, 220, 220, 220, 23848, 36, 20032, 17941, 11, 628, 220, 220, 220, 220, 220, 1976, 361, 62, 397, 499, 18300, 62, 48317, 62, 13287, 540, 93, 13287, 198, 220, 220, 220, 220, 220, 220, 220, 23848, 36, 20032, 17941, 13, 628, 220, 48006, 9782, 1961, 44513, 13, 628, 220, 220, 220, 337, 36252, 50, 25, 198, 220, 220, 220, 220, 220, 8543, 62, 11299, 220, 220, 23848, 36, 20032, 17941, 13, 628, 220, 4810, 3824, 6158, 44513, 13, 198, 220, 220, 220, 7102, 2257, 1565, 4694, 25, 198, 220, 220, 220, 220, 220, 347, 43312, 3963, 269, 62, 4658, 11, 198, 220, 220, 220, 220, 220, 220, 220, 3800, 220, 41876, 4731, 26173, 8924, 705, 14247, 6, 22492, 15285, 62, 32541, 11, 198, 220, 220, 220, 220, 220, 220, 220, 4589, 41876, 4731, 26173, 8924, 705, 41509, 6, 22492, 15285, 62, 32541, 11, 198, 220, 220, 220, 220, 220, 220, 220, 302, 5143, 220, 41876, 4731, 26173, 8924, 705, 260, 5143, 6, 22492, 15285, 62, 32541, 11, 198, 220, 220, 220, 220, 220, 23578, 3963, 269, 62, 4658, 13, 628, 220, 220, 220, 42865, 25, 198, 220, 220, 220, 220, 220, 6941, 62, 14247, 220, 220, 220, 220, 220, 220, 220, 220, 41876, 4526, 37, 5390, 1976, 565, 62, 397, 499, 18300, 62, 14247, 11, 198, 220, 220, 220, 220, 220, 285, 85, 62, 9122, 62, 25641, 415, 41876, 20681, 62, 354, 74, 85, 13, 628, 220, 220, 220, 337, 36252, 50, 25, 198, 220, 220, 220, 220, 220, 1382, 62, 26272, 198, 220, 220, 220, 220, 220, 220, 220, 30826, 4261, 15871, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 26173, 8924, 7, 305, 62, 26272, 8, 41876, 4526, 37, 5390, 1976, 565, 62, 397, 499, 18300, 62, 6494, 62, 25981, 5657, 198, 220, 220, 220, 220, 220, 220, 220, 17926, 1797, 2751, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 1976, 66, 87, 62, 397, 499, 18300, 62, 1069, 4516, 11, 628, 220, 220, 220, 220, 220, 1057, 62, 8189, 62, 1040, 806, 273, 198, 220, 220, 220, 220, 220, 220, 220, 17926, 1797, 2751, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 1976, 66, 87, 62, 397, 499, 18300, 62, 1069, 4516, 11, 628, 220, 220, 220, 220, 220, 468, 62, 1040, 14978, 62, 48277, 198, 220, 220, 220, 220, 220, 220, 220, 30826, 4261, 15871, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 26173, 8924, 7, 81, 85, 62, 10134, 62, 1040, 14978, 62, 48277, 8, 41876, 450, 499, 62, 30388, 11, 628, 220, 220, 220, 220, 220, 318, 62, 14247, 62, 40845, 198, 220, 220, 220, 220, 220, 220, 220, 30826, 4261, 15871, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 26173, 8924, 7, 81, 85, 62, 271, 62, 14247, 62, 40845, 8, 41876, 450, 499, 62, 30388, 11, 628, 220, 220, 220, 220, 220, 1265, 62, 7220, 62, 1640, 62, 9122, 62, 25641, 415, 198, 220, 220, 220, 220, 220, 220, 220, 30826, 4261, 15871, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 26173, 8924, 7, 81, 85, 62, 9122, 62, 25641, 415, 8, 41876, 20681, 62, 354, 74, 85, 198, 220, 220, 220, 220, 220, 220, 220, 17926, 1797, 2751, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 1976, 66, 87, 62, 397, 499, 18300, 62, 1069, 4516, 11, 628, 220, 220, 220, 220, 220, 5004, 62, 9122, 62, 25641, 415, 198, 220, 220, 220, 220, 220, 220, 220, 17926, 1797, 2751, 198, 220, 220, 220, 220, 220, 220, 220, 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, 40156, 62, 4537, 8264, 62, 34, 16820, 62, 1268, 4303, 30023, 2538, 10979, 6234, 13, 628, 198, 220, 337, 36252, 1265, 62, 7220, 62, 1640, 62, 9122, 62, 25641, 415, 13, 628, 220, 220, 220, 42865, 25, 300, 83, 62, 7783, 41876, 49053, 9795, 43679, 3963, 49427, 1477, 1186, 2100, 13, 628, 220, 220, 220, 18930, 24639, 12, 23060, 10744, 3535, 50, 25, 1279, 7278, 62, 7783, 29, 34178, 48920, 3963, 300, 83, 62, 7783, 13, 628, 220, 220, 220, 42815, 29397, 4177, 2849, 705, 37, 19, 5064, 62, 44603, 62, 39488, 62, 2200, 35780, 6, 198, 220, 220, 220, 220, 220, 7788, 15490, 2751, 198, 220, 220, 220, 220, 220, 220, 220, 7400, 3672, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 796, 705, 6173, 40, 62, 35, 56, 22182, 6, 198, 220, 220, 220, 220, 220, 220, 220, 2214, 3672, 220, 220, 220, 220, 220, 220, 220, 220, 796, 705, 3398, 42, 53, 6, 198, 220, 220, 220, 220, 220, 309, 6242, 28378, 198, 220, 220, 220, 220, 220, 220, 220, 1441, 62, 8658, 220, 220, 220, 220, 220, 220, 220 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
class ZCL_FLOW_TEST_SQL definition public create public . public section. methods CONSTRUCTOR importing !IV_SQL type STRING . PROTECTED SECTION. PRIVATE SECTION. ENDCLASS. CLASS ZCL_FLOW_TEST_SQL IMPLEMENTATION. METHOD CONSTRUCTOR. * dummy class RETURN. ENDMETHOD. ENDCLASS.
[ 4871, 1168, 5097, 62, 3697, 3913, 62, 51, 6465, 62, 17861, 6770, 198, 220, 1171, 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, 3824, 62, 17861, 2099, 19269, 2751, 764, 198, 220, 48006, 9782, 1961, 44513, 13, 198, 220, 4810, 3824, 6158, 44513, 13, 198, 10619, 31631, 13, 628, 198, 198, 31631, 1168, 5097, 62, 3697, 3913, 62, 51, 6465, 62, 17861, 30023, 2538, 10979, 6234, 13, 628, 198, 220, 337, 36252, 7102, 46126, 1581, 13, 198, 198, 9, 31548, 1398, 198, 220, 220, 220, 30826, 27064, 13, 628, 220, 23578, 49273, 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 ]
class ZCL_MONSTER_SIMULATOR definition public create public . public section. interfaces ZIF_MONSTER_SIMULATOR . data MD_SCARINESS type ZDE_MONSTER_SCARINESS read-only . data MD_FLUFFINESS type ZDE_MONSTER_FLUFFINESS read-only . data MD_BOLTS_IN_NECK type ZDE_BOLTS_IN_NECK read-only . data MD_COLOR type ZDE_MONSTER_COLOR read-only . methods SIMULATE_MONSTER_BOM importing !IS_BOM_INPUT_DATA type ZST_MONSTER_INPUT_DATA exporting !ET_BOM_DATA type ZTT_MONSTER_ITEMS . methods CONSTRUCTOR importing !ID_CREATOR type ZDE_MONSTER_CREATOR_NAME !IO_PERS_LAYER type ref to ZIF_MONSTER_SIM_PERS_LAYER optional !IO_LOGGER type ref to ZIF_MONSTER_LOGGER optional !IO_MONSTER_MAKING_MACHINE type ref to ZIF_MONSTER_MAKING_MACHINE optional . methods OPEN_MONSTERS_EYES . methods GET_COMPONENT_SPLIT importing !ID_STRENGTH type ZDE_MONSTER_STRENGTH !ID_BRAIN_SIZE type ZDE_MONSTER_BRAIN_SIZE !ID_SANITY type ZDE_MONSTER_SANITY exporting !ID_SSATN type ZDE_COMPONENT_TYPE_PERCENTAGE !ID_SSPDT type ZDE_COMPONENT_TYPE_PERCENTAGE . PROTECTED SECTION. private section. *--------------------------------------------------------------------* * Listing 05.06 : Helper Classes as Private Instance Variables of Main Class *--------------------------------------------------------------------* data MO_LOGGER type ref to ZIF_MONSTER_LOGGER . data MO_PERS_LAYER type ref to ZIF_MONSTER_SIM_PERS_LAYER . data MO_MONSTER_MAKING_MACHINE type ref to ZIF_MONSTER_MAKING_MACHINE . data MD_CREATOR type ZDE_MONSTER_CREATOR_NAME . ENDCLASS. CLASS ZCL_MONSTER_SIMULATOR IMPLEMENTATION. METHOD constructor. *--------------------------------------------------------------------* * listing 05.07 : Variables Set Up during Construction of Object Instance * Listing 05.08 : Constructor Implementation *--------------------------------------------------------------------* md_creator = id_creator. *--------------------------------------------------------------------* * 05.07 - Bad way to do things (Direct Creation) *--------------------------------------------------------------------* CREATE OBJECT mo_logger TYPE zcl_monster_logger. CREATE OBJECT mo_monster_making_machine TYPE zcl_monster_making_machine. CREATE OBJECT mo_pers_layer TYPE zcl_monster_sim_pers_layer EXPORTING io_logger = mo_logger " Logging Class id_valid_on = sy-datum. " Validaty Date *--------------------------------------------------------------------* * 05.08 - Better way to do things (Parameter Injection) *--------------------------------------------------------------------* IF io_logger IS BOUND. mo_logger = io_logger. ELSE. CREATE OBJECT mo_logger TYPE zcl_monster_logger. ENDIF. IF io_monster_making_machine IS BOUND. mo_monster_making_machine = io_monster_making_machine. ELSE. CREATE OBJECT mo_monster_making_machine TYPE zcl_monster_making_machine. ENDIF. IF io_pers_layer IS BOUND. mo_pers_layer = io_pers_layer. ELSE. CREATE OBJECT mo_pers_layer TYPE zcl_monster_sim_pers_layer EXPORTING io_logger = mo_logger id_valid_on = sy-datum. ENDIF. *--------------------------------------------------------------------* * 05.09 - Best way to do things (Instance Creation via Factory) *--------------------------------------------------------------------* DATA(lo_factory) = zcl_monster_object_factory=>get_instance( ). mo_logger = lo_factory->get_logger( ). "During creation of the PL by the factory the correct instance "of the logger is inserted (using the factory!) mo_pers_layer = lo_factory->get_persistency_layer( ). mo_monster_making_machine = lo_factory->get_monster_making_machine( ). ENDMETHOD. METHOD get_component_split. * Real Business Logic Goes Here * BRF+ Decision most likely ENDMETHOD. METHOD open_monsters_eyes. ENDMETHOD. METHOD simulate_monster_bom. ENDMETHOD. METHOD zif_monster_simulator~calculate_scariness. * Real Business Logic Goes Here ENDMETHOD. ENDCLASS.
[ 4871, 1168, 5097, 62, 27857, 41809, 62, 48913, 6239, 25633, 6770, 198, 220, 1171, 198, 220, 2251, 1171, 764, 198, 198, 11377, 2665, 13, 628, 220, 20314, 1168, 5064, 62, 27857, 41809, 62, 48913, 6239, 25633, 764, 628, 220, 1366, 10670, 62, 6173, 1503, 44180, 2099, 1168, 7206, 62, 27857, 41809, 62, 6173, 1503, 44180, 1100, 12, 8807, 764, 198, 220, 1366, 10670, 62, 3697, 47588, 44180, 2099, 1168, 7206, 62, 27857, 41809, 62, 3697, 47588, 44180, 1100, 12, 8807, 764, 198, 220, 1366, 10670, 62, 33, 3535, 4694, 62, 1268, 62, 45, 25171, 2099, 1168, 7206, 62, 33, 3535, 4694, 62, 1268, 62, 45, 25171, 1100, 12, 8807, 764, 198, 220, 1366, 10670, 62, 46786, 2099, 1168, 7206, 62, 27857, 41809, 62, 46786, 1100, 12, 8807, 764, 628, 220, 5050, 23749, 6239, 6158, 62, 27857, 41809, 62, 33, 2662, 198, 220, 220, 220, 33332, 198, 220, 220, 220, 220, 220, 5145, 1797, 62, 33, 2662, 62, 1268, 30076, 62, 26947, 2099, 1168, 2257, 62, 27857, 41809, 62, 1268, 30076, 62, 26947, 198, 220, 220, 220, 39133, 198, 220, 220, 220, 220, 220, 5145, 2767, 62, 33, 2662, 62, 26947, 2099, 1168, 15751, 62, 27857, 41809, 62, 2043, 39201, 764, 198, 220, 5050, 7102, 46126, 1581, 198, 220, 220, 220, 33332, 198, 220, 220, 220, 220, 220, 5145, 2389, 62, 43387, 25633, 2099, 1168, 7206, 62, 27857, 41809, 62, 43387, 25633, 62, 20608, 198, 220, 220, 220, 220, 220, 5145, 9399, 62, 47, 4877, 62, 43, 4792, 1137, 2099, 1006, 284, 1168, 5064, 62, 27857, 41809, 62, 48913, 62, 47, 4877, 62, 43, 4792, 1137, 11902, 198, 220, 220, 220, 220, 220, 5145, 9399, 62, 25294, 30373, 2099, 1006, 284, 1168, 5064, 62, 27857, 41809, 62, 25294, 30373, 11902, 198, 220, 220, 220, 220, 220, 5145, 9399, 62, 27857, 41809, 62, 5673, 37286, 62, 44, 16219, 8881, 2099, 1006, 284, 1168, 5064, 62, 27857, 41809, 62, 5673, 37286, 62, 44, 16219, 8881, 11902, 764, 198, 220, 5050, 38303, 62, 27857, 2257, 4877, 62, 22348, 1546, 764, 198, 220, 5050, 17151, 62, 9858, 47, 1340, 3525, 62, 4303, 43, 2043, 198, 220, 220, 220, 33332, 198, 220, 220, 220, 220, 220, 5145, 2389, 62, 18601, 49494, 2099, 1168, 7206, 62, 27857, 41809, 62, 18601, 49494, 198, 220, 220, 220, 220, 220, 5145, 2389, 62, 33, 3861, 1268, 62, 33489, 2099, 1168, 7206, 62, 27857, 41809, 62, 33, 3861, 1268, 62, 33489, 198, 220, 220, 220, 220, 220, 5145, 2389, 62, 36753, 9050, 2099, 1168, 7206, 62, 27857, 41809, 62, 36753, 9050, 198, 220, 220, 220, 39133, 198, 220, 220, 220, 220, 220, 5145, 2389, 62, 5432, 1404, 45, 2099, 1168, 7206, 62, 9858, 47, 1340, 3525, 62, 25216, 62, 18973, 43960, 11879, 198, 220, 220, 220, 220, 220, 5145, 2389, 62, 50, 4303, 24544, 2099, 1168, 7206, 62, 9858, 47, 1340, 3525, 62, 25216, 62, 18973, 43960, 11879, 764, 198, 220, 48006, 9782, 1961, 44513, 13, 198, 19734, 2665, 13, 198, 198, 9, 10097, 650, 9, 198, 9, 7343, 278, 8870, 13, 3312, 1058, 5053, 525, 38884, 355, 15348, 2262, 590, 15965, 2977, 286, 8774, 5016, 198, 9, 10097, 650, 9, 198, 220, 1366, 13070, 62, 25294, 30373, 2099, 1006, 284, 1168, 5064, 62, 27857, 41809, 62, 25294, 30373, 764, 198, 220, 1366, 13070, 62, 47, 4877, 62, 43, 4792, 1137, 2099, 1006, 284, 1168, 5064, 62, 27857, 41809, 62, 48913, 62, 47, 4877, 62, 43, 4792, 1137, 764, 198, 220, 1366, 13070, 62, 27857, 41809, 62, 5673, 37286, 62, 44, 16219, 8881, 2099, 1006, 284, 1168, 5064, 62, 27857, 41809, 62, 5673, 37286, 62, 44, 16219, 8881, 764, 198, 220, 1366, 10670, 62, 43387, 25633, 2099, 1168, 7206, 62, 27857, 41809, 62, 43387, 25633, 62, 20608, 764, 198, 10619, 31631, 13, 628, 198, 198, 31631, 1168, 5097, 62, 27857, 41809, 62, 48913, 6239, 25633, 30023, 2538, 10979, 6234, 13, 628, 198, 220, 337, 36252, 23772, 13, 198, 9, 10097, 650, 9, 198, 9, 13487, 8870, 13, 2998, 1058, 15965, 2977, 5345, 3205, 1141, 20395, 286, 9515, 2262, 590, 198, 9, 7343, 278, 8870, 13, 2919, 1058, 28407, 273, 46333, 198, 9, 10097, 650, 9, 198, 220, 220, 220, 45243, 62, 45382, 796, 4686, 62, 45382, 13, 198, 198, 9, 10097, 650, 9, 198, 9, 8870, 13, 2998, 532, 7772, 835, 284, 466, 1243, 357, 13470, 21582, 8, 198, 9, 10097, 650, 9, 198, 220, 220, 220, 29244, 6158, 25334, 23680, 6941, 62, 6404, 1362, 41876, 1976, 565, 62, 39050, 62, 6404, 1362, 13, 628, 220, 220, 220, 29244, 6158, 25334, 23680, 6941, 62, 39050, 62, 8601, 62, 30243, 41876, 1976, 565, 62, 39050, 62, 8601, 62, 30243, 13, 628, 220, 220, 220, 29244, 6158, 25334, 23680, 6941, 62, 19276, 62, 29289, 41876, 1976, 565, 62, 39050, 62, 14323, 62, 19276, 62, 29289, 198, 220, 220, 220, 220, 220, 7788, 15490, 2751, 198, 220, 220, 220, 220, 220, 220, 220, 33245, 62, 6404, 1362, 220, 220, 796, 6941, 62, 6404, 1362, 220, 220, 220, 366, 5972, 2667, 5016, 198, 220, 220, 220, 220, 220, 220, 220, 4686, 62, 12102, 62, 261, 796, 827, 12, 19608, 388, 13, 220, 220, 220, 366, 48951, 265, 88, 7536, 198, 198, 9, 10097, 650, 9, 198, 9, 8870, 13, 2919, 532, 11625, 835, 284, 466, 1243, 357, 36301, 554, 29192, 8, 198, 9, 10097, 650, 9, 198, 220, 220, 220, 16876, 33245, 62, 6404, 1362, 3180, 347, 15919, 13, 198, 220, 220, 220, 220, 220, 6941, 62, 6404, 1362, 796, 33245, 62, 6404, 1362, 13, 198, 220, 220, 220, 17852, 5188, 13, 198, 220, 220, 220, 220, 220, 29244, 6158, 25334, 23680, 6941, 62, 6404, 1362, 41876, 1976, 565, 62, 39050, 62, 6404, 1362, 13, 198, 220, 220, 220, 23578, 5064, 13, 628, 220, 220, 220, 16876, 33245, 62, 39050, 62, 8601, 62, 30243, 3180, 347, 15919, 13, 198, 220, 220, 220, 220, 220, 6941, 62, 39050, 62, 8601, 62, 30243, 796, 33245, 62, 39050, 62, 8601, 62, 30243, 13, 198, 220, 220, 220, 17852, 5188, 13, 198, 220, 220, 220, 220, 220, 29244, 6158, 25334, 23680, 6941, 62, 39050, 62, 8601, 62, 30243, 41876, 1976, 565, 62, 39050, 62, 8601, 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 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
CLASS ltc_asterisk DEFINITION INHERITING FROM y_unit_test_base FOR TESTING RISK LEVEL HARMLESS DURATION SHORT. PROTECTED SECTION. METHODS get_cut REDEFINITION. METHODS get_code_with_issue REDEFINITION. METHODS get_code_without_issue REDEFINITION. METHODS get_code_with_exemption REDEFINITION. ENDCLASS. CLASS ltc_asterisk IMPLEMENTATION. METHOD get_cut. result ?= NEW y_check_comment_type( ). ENDMETHOD. METHOD get_code_with_issue. result = VALUE #( ( 'REPORT y_example. ' ) ( ' CLASS y_example_class DEFINITION. ' ) ( ' PROTECTED SECTION. ' ) ( ' METHODS test. ' ) ( ' ENDCLASS. ' ) ( ' CLASS y_example_class IMPLEMENTATION. ' ) ( ' METHOD test. ' ) ( '* anti-pattern ' ) ( ' DATA(variable) = 1. ' ) ( ' ENDMETHOD. ' ) ( ' ENDCLASS. ' ) ). ENDMETHOD. METHOD get_code_without_issue. result = VALUE #( ( 'REPORT y_example. ' ) ( ' CLASS y_example_class DEFINITION. ' ) ( ' PROTECTED SECTION. ' ) ( ' METHODS test. ' ) ( ' ENDCLASS. ' ) ( ' CLASS y_example_class IMPLEMENTATION. ' ) ( ' METHOD test. ' ) ( ' " Example Comment ' ) ( ' DATA(variable) = 1. ' ) ( ' ENDMETHOD. ' ) ( ' ENDCLASS. ' ) ). ENDMETHOD. METHOD get_code_with_exemption. result = VALUE #( ). ENDMETHOD. ENDCLASS. CLASS ltc_generated_include DEFINITION INHERITING FROM ltc_asterisk FOR TESTING RISK LEVEL HARMLESS DURATION SHORT. PROTECTED SECTION. METHODS get_code_without_issue REDEFINITION. ENDCLASS. CLASS ltc_generated_include IMPLEMENTATION. METHOD get_code_without_issue. result = VALUE #( ( 'REPORT y_example. ' ) ( '*&---------------------------------------------------------------------* ' ) ( '*& Include y_example ' ) ( '*&---------------------------------------------------------------------* ' ) ). ENDMETHOD. ENDCLASS.
[ 31631, 300, 23047, 62, 1603, 1984, 5550, 20032, 17941, 3268, 16879, 2043, 2751, 16034, 331, 62, 20850, 62, 9288, 62, 8692, 7473, 43001, 2751, 45698, 42, 49277, 43638, 5805, 7597, 360, 4261, 6234, 6006, 9863, 13, 198, 220, 48006, 9782, 1961, 44513, 13, 198, 220, 220, 220, 337, 36252, 50, 651, 62, 8968, 23848, 36, 20032, 17941, 13, 198, 220, 220, 220, 337, 36252, 50, 651, 62, 8189, 62, 4480, 62, 21949, 23848, 36, 20032, 17941, 13, 198, 220, 220, 220, 337, 36252, 50, 651, 62, 8189, 62, 19419, 62, 21949, 23848, 36, 20032, 17941, 13, 198, 220, 220, 220, 337, 36252, 50, 651, 62, 8189, 62, 4480, 62, 1069, 11221, 23848, 36, 20032, 17941, 13, 198, 10619, 31631, 13, 198, 198, 31631, 300, 23047, 62, 1603, 1984, 30023, 2538, 10979, 6234, 13, 628, 220, 337, 36252, 651, 62, 8968, 13, 198, 220, 220, 220, 1255, 5633, 28, 12682, 331, 62, 9122, 62, 23893, 62, 4906, 7, 6739, 198, 220, 23578, 49273, 13, 628, 220, 337, 36252, 651, 62, 8189, 62, 4480, 62, 21949, 13, 198, 220, 220, 220, 1255, 796, 26173, 8924, 1303, 7, 198, 220, 220, 220, 220, 220, 357, 705, 2200, 15490, 331, 62, 20688, 13, 705, 1267, 628, 220, 220, 220, 220, 220, 357, 705, 42715, 331, 62, 20688, 62, 4871, 5550, 20032, 17941, 13, 705, 1267, 198, 220, 220, 220, 220, 220, 357, 705, 220, 220, 48006, 9782, 1961, 44513, 13, 705, 1267, 198, 220, 220, 220, 220, 220, 357, 705, 220, 220, 220, 220, 337, 36252, 50, 1332, 13, 705, 1267, 198, 220, 220, 220, 220, 220, 357, 705, 23578, 31631, 13, 705, 1267, 628, 220, 220, 220, 220, 220, 357, 705, 42715, 331, 62, 20688, 62, 4871, 30023, 2538, 10979, 6234, 13, 705, 1267, 198, 220, 220, 220, 220, 220, 357, 705, 220, 220, 337, 36252, 1332, 13, 705, 1267, 198, 220, 220, 220, 220, 220, 357, 705, 9, 220, 220, 220, 3098, 12, 33279, 705, 1267, 198, 220, 220, 220, 220, 220, 357, 705, 220, 220, 220, 220, 42865, 7, 45286, 8, 796, 352, 13, 705, 1267, 198, 220, 220, 220, 220, 220, 357, 705, 220, 220, 23578, 49273, 13, 705, 1267, 198, 220, 220, 220, 220, 220, 357, 705, 23578, 31631, 13, 705, 1267, 198, 220, 220, 220, 6739, 198, 220, 23578, 49273, 13, 628, 220, 337, 36252, 651, 62, 8189, 62, 19419, 62, 21949, 13, 198, 220, 220, 220, 1255, 796, 26173, 8924, 1303, 7, 198, 220, 220, 220, 220, 220, 357, 705, 2200, 15490, 331, 62, 20688, 13, 705, 1267, 628, 220, 220, 220, 220, 220, 357, 705, 42715, 331, 62, 20688, 62, 4871, 5550, 20032, 17941, 13, 705, 1267, 198, 220, 220, 220, 220, 220, 357, 705, 220, 220, 48006, 9782, 1961, 44513, 13, 705, 1267, 198, 220, 220, 220, 220, 220, 357, 705, 220, 220, 220, 220, 337, 36252, 50, 1332, 13, 705, 1267, 198, 220, 220, 220, 220, 220, 357, 705, 23578, 31631, 13, 705, 1267, 628, 220, 220, 220, 220, 220, 357, 705, 42715, 331, 62, 20688, 62, 4871, 30023, 2538, 10979, 6234, 13, 705, 1267, 198, 220, 220, 220, 220, 220, 357, 705, 220, 220, 337, 36252, 1332, 13, 705, 1267, 198, 220, 220, 220, 220, 220, 357, 705, 220, 220, 220, 220, 366, 17934, 18957, 705, 1267, 198, 220, 220, 220, 220, 220, 357, 705, 220, 220, 220, 220, 42865, 7, 45286, 8, 796, 352, 13, 705, 1267, 198, 220, 220, 220, 220, 220, 357, 705, 220, 220, 23578, 49273, 13, 705, 1267, 198, 220, 220, 220, 220, 220, 357, 705, 23578, 31631, 13, 705, 1267, 198, 220, 220, 220, 6739, 198, 220, 23578, 49273, 13, 628, 220, 337, 36252, 651, 62, 8189, 62, 4480, 62, 1069, 11221, 13, 198, 220, 220, 220, 1255, 796, 26173, 8924, 1303, 7, 6739, 198, 220, 23578, 49273, 13, 198, 198, 10619, 31631, 13, 198, 198, 31631, 300, 23047, 62, 27568, 62, 17256, 5550, 20032, 17941, 3268, 16879, 2043, 2751, 16034, 300, 23047, 62, 1603, 1984, 7473, 43001, 2751, 45698, 42, 49277, 43638, 5805, 7597, 360, 4261, 6234, 6006, 9863, 13, 198, 220, 48006, 9782, 1961, 44513, 13, 198, 220, 220, 220, 337, 36252, 50, 651, 62, 8189, 62, 19419, 62, 21949, 23848, 36, 20032, 17941, 13, 198, 10619, 31631, 13, 198, 198, 31631, 300, 23047, 62, 27568, 62, 17256, 30023, 2538, 10979, 6234, 13, 628, 220, 337, 36252, 651, 62, 8189, 62, 19419, 62, 21949, 13, 198, 220, 220, 220, 1255, 796, 26173, 8924, 1303, 7, 198, 220, 220, 220, 220, 220, 357, 705, 2200, 15490, 331, 62, 20688, 13, 705, 1267, 198, 220, 220, 220, 220, 220, 357, 705, 9, 5, 10097, 30934, 9, 705, 1267, 198, 220, 220, 220, 220, 220, 357, 705, 9, 5, 40348, 220, 220, 220, 220, 220, 220, 220, 220, 220, 331, 62, 20688, 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, 705, 1267, 198, 220, 220, 220, 220, 220, 357, 705, 9, 5, 10097, 30934, 9, 705, 1267, 198, 220, 220, 220, 6739, 198, 220, 23578, 49273, 13, 198, 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, 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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 ]
*&---------------------------------------------------------------------* *& Include ZDEMO_CALENDAR_CLASSES *&---------------------------------------------------------------------* *&---------------------------------------------------------------------* *& Class ZCL_DATE_CALCULATION *&---------------------------------------------------------------------* * Text *----------------------------------------------------------------------* CLASS zcl_date_calculation DEFINITION. PUBLIC SECTION. CLASS-METHODS: months_between_two_dates IMPORTING i_date_from TYPE datum i_date_to TYPE datum i_incl_to TYPE flag EXPORTING e_month TYPE i. ENDCLASS. "ZCL_DATE_CALCULATION *----------------------------------------------------------------------* * CLASS ZCL_DATE_CALCULATION IMPLEMENTATION *----------------------------------------------------------------------* * *----------------------------------------------------------------------* CLASS zcl_date_calculation IMPLEMENTATION. METHOD months_between_two_dates. DATA: date_to TYPE datum. DATA: BEGIN OF datum_von, jjjj(4) TYPE n, mm(2) TYPE n, tt(2) TYPE n, END OF datum_von. DATA: BEGIN OF datum_bis, jjjj(4) TYPE n, mm(2) TYPE n, tt(2) TYPE n, END OF datum_bis. e_month = 0. CHECK i_date_from IS NOT INITIAL AND i_date_to IS NOT INITIAL. date_to = i_date_to. IF i_incl_to = abap_true. date_to = date_to + 1. ENDIF. datum_von = i_date_from. datum_bis = date_to. e_month = ( datum_bis-jjjj - datum_von-jjjj ) * 12 + ( datum_bis-mm - datum_von-mm ). ENDMETHOD. "MONTHS_BETWEEN_TWO_DATES ENDCLASS. "ZCL_DATE_CALCULATION IMPLEMENTATION *----------------------------------------------------------------------* * CLASS zcl_date_calculation_test DEFINITION *----------------------------------------------------------------------* * *----------------------------------------------------------------------* CLASS zcl_date_calculation_test DEFINITION FOR TESTING DURATION SHORT RISK LEVEL HARMLESS . PRIVATE SECTION. METHODS: months_between_two_dates FOR TESTING. ENDCLASS. "zcl_date_calculation_test DEFINITION *----------------------------------------------------------------------* * CLASS zcl_date_calculation_test IMPLEMENTATION *----------------------------------------------------------------------* * *----------------------------------------------------------------------* CLASS zcl_date_calculation_test IMPLEMENTATION. METHOD months_between_two_dates. DATA: date_from TYPE datum VALUE '20120101', date_to TYPE datum VALUE '20121231'. DATA: month TYPE i. zcl_date_calculation=>months_between_two_dates( EXPORTING i_date_from = date_from i_date_to = date_to i_incl_to = abap_true IMPORTING e_month = month ). cl_abap_unit_assert=>assert_equals( exp = 12 " Data Object with Expected Type act = month " Data Object with Current Value msg = 'Calculated date is wrong' " Message in Case of Error ). ENDMETHOD. "months_between_two_dates ENDCLASS. "zcl_date_calculation_test IMPLEMENTATION *----------------------------------------------------------------------* * CLASS zcl_helper DEFINITION *----------------------------------------------------------------------* * *----------------------------------------------------------------------* CLASS zcl_helper DEFINITION. PUBLIC SECTION. CLASS-METHODS: load_image IMPORTING filename TYPE string RETURNING VALUE(r_image) TYPE xstring, add_calendar IMPORTING i_date_from TYPE datum i_date_to TYPE datum i_from_row TYPE zexcel_cell_row i_from_col TYPE zexcel_cell_column_alpha i_day_style TYPE zexcel_cell_style i_cw_style TYPE zexcel_cell_style CHANGING c_worksheet TYPE REF TO zcl_excel_worksheet RAISING zcx_excel, add_calendar_landscape IMPORTING i_date_from TYPE datum i_date_to TYPE datum i_from_row TYPE zexcel_cell_row i_from_col TYPE zexcel_cell_column_alpha i_day_style TYPE zexcel_cell_style i_cw_style TYPE zexcel_cell_style CHANGING c_worksheet TYPE REF TO zcl_excel_worksheet RAISING zcx_excel, add_a2x_footer IMPORTING i_from_row TYPE zexcel_cell_row i_from_col TYPE zexcel_cell_column_alpha CHANGING c_worksheet TYPE REF TO zcl_excel_worksheet RAISING zcx_excel, add_calender_week IMPORTING i_date TYPE datum i_row TYPE zexcel_cell_row i_col TYPE zexcel_cell_column_alpha i_style TYPE zexcel_cell_style CHANGING c_worksheet TYPE REF TO zcl_excel_worksheet RAISING zcx_excel. ENDCLASS. "zcl_helper DEFINITION *----------------------------------------------------------------------* * CLASS zcl_helper IMPLEMENTATION *----------------------------------------------------------------------* * *----------------------------------------------------------------------* CLASS zcl_helper IMPLEMENTATION. METHOD load_image. "Load samle image DATA: lt_bin TYPE solix_tab, lv_len TYPE i. CALL METHOD cl_gui_frontend_services=>gui_upload EXPORTING filename = filename filetype = 'BIN' IMPORTING filelength = lv_len CHANGING data_tab = lt_bin EXCEPTIONS file_open_error = 1 file_read_error = 2 no_batch = 3 gui_refuse_filetransfer = 4 invalid_type = 5 no_authority = 6 unknown_error = 7 bad_data_format = 8 header_not_allowed = 9 separator_not_allowed = 10 header_too_long = 11 unknown_dp_error = 12 access_denied = 13 dp_out_of_memory = 14 disk_full = 15 dp_timeout = 16 not_supported_by_gui = 17 error_no_gui = 18 OTHERS = 19. IF sy-subrc <> 0. MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4. ENDIF. CALL FUNCTION 'SCMS_BINARY_TO_XSTRING' EXPORTING input_length = lv_len IMPORTING buffer = r_image TABLES binary_tab = lt_bin EXCEPTIONS failed = 1 OTHERS = 2. IF sy-subrc <> 0. MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4. ENDIF. ENDMETHOD. "load_image METHOD add_calendar. DATA: day_names TYPE TABLE OF t246. DATA: row TYPE zexcel_cell_row, row_max TYPE i, col_int TYPE zexcel_cell_column, col_max TYPE i, from_col_int TYPE zexcel_cell_column, col TYPE zexcel_cell_column_alpha, lo_column TYPE REF TO zcl_excel_column, lo_row TYPE REF TO zcl_excel_row. DATA: lv_date TYPE datum, value TYPE string, weekday TYPE wotnr, weekrow TYPE wotnr VALUE 1, day TYPE i, width TYPE f, height TYPE f. DATA: hyperlink TYPE REF TO zcl_excel_hyperlink. FIELD-SYMBOLS: <day_name> LIKE LINE OF day_names. lv_date = i_date_from. from_col_int = zcl_excel_common=>convert_column2int( i_from_col ). " Add description for Calendar Week c_worksheet->set_cell( EXPORTING ip_column = i_from_col " Cell Column ip_row = i_from_row " Cell Row ip_value = 'CW'(001) " Cell Value ip_style = i_cw_style ). " Add Days CALL FUNCTION 'DAY_NAMES_GET' TABLES day_names = day_names. LOOP AT day_names ASSIGNING <day_name>. row = i_from_row. col_int = from_col_int + <day_name>-wotnr. col = zcl_excel_common=>convert_column2alpha( col_int ). value = <day_name>-langt. c_worksheet->set_cell( EXPORTING ip_column = col " Cell Column ip_row = row " Cell Row ip_value = value " Cell Value ip_style = i_cw_style ). ENDLOOP. WHILE lv_date <= i_date_to. day = lv_date+6(2). CALL FUNCTION 'FIMA_X_DAY_IN_MONTH_COMPUTE' EXPORTING i_datum = lv_date IMPORTING e_wochentag_nr = weekday. row = i_from_row + weekrow. col_int = from_col_int + weekday. col = zcl_excel_common=>convert_column2alpha( col_int ). value = day. CONDENSE value. c_worksheet->set_cell( EXPORTING ip_column = col " Cell Column ip_row = row " Cell Row ip_value = value " Cell Value ip_style = i_day_style " Single-Character Indicator ). IF weekday = 7. " Add Calender Week zcl_helper=>add_calender_week( EXPORTING i_date = lv_date i_row = row i_col = i_from_col i_style = i_cw_style CHANGING c_worksheet = c_worksheet ). weekrow = weekrow + 1. ENDIF. lv_date = lv_date + 1. ENDWHILE. " Add Calender Week zcl_helper=>add_calender_week( EXPORTING i_date = lv_date i_row = row i_col = i_from_col i_style = i_cw_style CHANGING c_worksheet = c_worksheet ). " Add Created with abap2xlsx row = row + 2. zcl_helper=>add_a2x_footer( EXPORTING i_from_row = row i_from_col = i_from_col CHANGING c_worksheet = c_worksheet ). col_int = from_col_int. col_max = from_col_int + 7. WHILE col_int <= col_max. col = zcl_excel_common=>convert_column2alpha( col_int ). IF sy-index = 1. width = '5.0'. ELSE. width = '11.4'. ENDIF. lo_column = c_worksheet->get_column( col ). lo_column->set_width( width ). col_int = col_int + 1. ENDWHILE. row = i_from_row + 1. row_max = i_from_row + 6. WHILE row <= row_max. height = 50. lo_row = c_worksheet->get_row( row ). lo_row->set_row_height( height ). row = row + 1. ENDWHILE. ENDMETHOD. "add_calendar METHOD add_a2x_footer. DATA: value TYPE string, hyperlink TYPE REF TO zcl_excel_hyperlink. value = 'Created with abap2xlsx. Find more information at https://github.com/sapmentors/abap2xlsx.'(002). hyperlink = zcl_excel_hyperlink=>create_external_link( 'https://github.com/sapmentors/abap2xlsx' ). "#EC NOTEXT c_worksheet->set_cell( EXPORTING ip_column = i_from_col " Cell Column ip_row = i_from_row " Cell Row ip_value = value " Cell Value ip_hyperlink = hyperlink ). ENDMETHOD. "add_a2x_footer METHOD add_calendar_landscape. DATA: day_names TYPE TABLE OF t246. DATA: lv_date TYPE datum, day TYPE i, value TYPE string, weekday TYPE wotnr. DATA: row TYPE zexcel_cell_row, from_col_int TYPE zexcel_cell_column, col_int TYPE zexcel_cell_column, col TYPE zexcel_cell_column_alpha. DATA: lo_column TYPE REF TO zcl_excel_column, lo_row TYPE REF TO zcl_excel_row. FIELD-SYMBOLS: <day_name> LIKE LINE OF day_names. lv_date = i_date_from. " Add Days CALL FUNCTION 'DAY_NAMES_GET' TABLES day_names = day_names. WHILE lv_date <= i_date_to. day = lv_date+6(2). CALL FUNCTION 'FIMA_X_DAY_IN_MONTH_COMPUTE' EXPORTING i_datum = lv_date IMPORTING e_wochentag_nr = weekday. " Day name row row = i_from_row. col_int = from_col_int + day + 2. col = zcl_excel_common=>convert_column2alpha( col_int ). READ TABLE day_names ASSIGNING <day_name> WITH KEY wotnr = weekday. value = <day_name>-kurzt. c_worksheet->set_cell( EXPORTING ip_column = col " Cell Column ip_row = row " Cell Row ip_value = value " Cell Value ip_style = i_cw_style ). " Day row row = i_from_row + 1. value = day. CONDENSE value. c_worksheet->set_cell( EXPORTING ip_column = col " Cell Column ip_row = row " Cell Row ip_value = value " Cell Value ip_style = i_day_style " Single-Character Indicator ). " width lo_column = c_worksheet->get_column( col ). lo_column->set_width( '3.6' ). lv_date = lv_date + 1. ENDWHILE. " Add ABAP2XLSX Footer row = i_from_row + 2. c_worksheet->set_cell( EXPORTING ip_column = col " Cell Column ip_row = row " Cell Row ip_value = ' ' " Cell Value ). lo_row = c_worksheet->get_row( row ). lo_row->set_row_height( '5.0' ). row = i_from_row + 3. zcl_helper=>add_a2x_footer( EXPORTING i_from_row = row i_from_col = i_from_col CHANGING c_worksheet = c_worksheet ). " Set with for all 31 coulumns WHILE day < 32. day = day + 1. col_int = from_col_int + day + 2. col = zcl_excel_common=>convert_column2alpha( col_int ). " width lo_column = c_worksheet->get_column( col ). lo_column->set_width( '3.6' ). ENDWHILE. ENDMETHOD. "ADD_CALENDAR_LANDSCAPE METHOD add_calender_week. DATA: week TYPE kweek, week_int TYPE i, value TYPE string. " Add Calender Week CALL FUNCTION 'DATE_GET_WEEK' EXPORTING date = i_date " Date for which the week should be calculated IMPORTING week = week. " Week for date (format:YYYYWW) value = week+4(2). week_int = value. value = week_int. CONDENSE value. c_worksheet->set_cell( EXPORTING ip_column = i_col " Cell Column ip_row = i_row " Cell Row ip_value = value " Cell Value ip_style = i_style ). ENDMETHOD. "add_calender_week ENDCLASS. "zcl_helper IMPLEMENTATION
[ 9, 5, 10097, 30934, 9, 198, 9, 5, 220, 40348, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 1168, 39429, 46, 62, 34, 1847, 10619, 1503, 62, 31631, 1546, 198, 9, 5, 10097, 30934, 9, 198, 198, 9, 5, 10097, 30934, 9, 198, 9, 5, 220, 220, 220, 220, 220, 220, 5016, 1168, 5097, 62, 35, 6158, 62, 34, 1847, 34, 6239, 6234, 198, 9, 5, 10097, 30934, 9, 198, 9, 220, 220, 220, 220, 220, 220, 220, 8255, 198, 9, 10097, 23031, 9, 198, 31631, 1976, 565, 62, 4475, 62, 9948, 14902, 5550, 20032, 17941, 13, 198, 220, 44731, 44513, 13, 198, 220, 220, 220, 42715, 12, 49273, 50, 25, 1933, 62, 23395, 62, 11545, 62, 19581, 198, 220, 220, 220, 220, 220, 30023, 9863, 2751, 198, 220, 220, 220, 220, 220, 220, 220, 1312, 62, 4475, 62, 6738, 41876, 4818, 388, 198, 220, 220, 220, 220, 220, 220, 220, 1312, 62, 4475, 62, 1462, 220, 220, 41876, 4818, 388, 198, 220, 220, 220, 220, 220, 220, 220, 1312, 62, 259, 565, 62, 1462, 220, 220, 41876, 6056, 198, 220, 220, 220, 220, 220, 7788, 15490, 2751, 198, 220, 220, 220, 220, 220, 220, 220, 304, 62, 8424, 220, 220, 220, 220, 41876, 1312, 13, 198, 10619, 31631, 13, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 366, 57, 5097, 62, 35, 6158, 62, 34, 1847, 34, 6239, 6234, 628, 198, 9, 10097, 23031, 9, 198, 9, 220, 220, 220, 220, 220, 220, 42715, 1168, 5097, 62, 35, 6158, 62, 34, 1847, 34, 6239, 6234, 30023, 2538, 10979, 6234, 198, 9, 10097, 23031, 9, 198, 9, 198, 9, 10097, 23031, 9, 198, 31631, 1976, 565, 62, 4475, 62, 9948, 14902, 30023, 2538, 10979, 6234, 13, 198, 220, 337, 36252, 1933, 62, 23395, 62, 11545, 62, 19581, 13, 198, 220, 220, 220, 42865, 25, 3128, 62, 1462, 41876, 4818, 388, 13, 198, 220, 220, 220, 42865, 25, 347, 43312, 3963, 4818, 388, 62, 26982, 11, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 474, 41098, 73, 7, 19, 8, 41876, 299, 11, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 8085, 7, 17, 8, 220, 220, 41876, 299, 11, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 256, 83, 7, 17, 8, 220, 220, 41876, 299, 11, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 23578, 3963, 4818, 388, 62, 26982, 13, 628, 220, 220, 220, 42865, 25, 347, 43312, 3963, 4818, 388, 62, 41907, 11, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 474, 41098, 73, 7, 19, 8, 41876, 299, 11, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 8085, 7, 17, 8, 220, 220, 41876, 299, 11, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 256, 83, 7, 17, 8, 220, 220, 41876, 299, 11, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 23578, 3963, 4818, 388, 62, 41907, 13, 628, 220, 220, 220, 304, 62, 8424, 796, 657, 13, 628, 220, 220, 220, 5870, 25171, 1312, 62, 4475, 62, 6738, 3180, 5626, 3268, 2043, 12576, 5357, 1312, 62, 4475, 62, 1462, 3180, 5626, 3268, 2043, 12576, 13, 628, 220, 220, 220, 3128, 62, 1462, 796, 1312, 62, 4475, 62, 1462, 13, 198, 220, 220, 220, 16876, 1312, 62, 259, 565, 62, 1462, 796, 450, 499, 62, 7942, 13, 198, 220, 220, 220, 220, 220, 3128, 62, 1462, 796, 3128, 62, 1462, 1343, 352, 13, 198, 220, 220, 220, 23578, 5064, 13, 628, 220, 220, 220, 4818, 388, 62, 26982, 796, 1312, 62, 4475, 62, 6738, 13, 198, 220, 220, 220, 4818, 388, 62, 41907, 796, 3128, 62, 1462, 13, 628, 220, 220, 220, 304, 62, 8424, 220, 220, 796, 220, 220, 357, 4818, 388, 62, 41907, 12, 41098, 41098, 532, 4818, 388, 62, 26982, 12, 41098, 41098, 1267, 1635, 1105, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 1343, 357, 4818, 388, 62, 41907, 12, 3020, 220, 220, 532, 4818, 388, 62, 26982, 12, 3020, 220, 220, 6739, 198, 220, 23578, 49273, 13, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 366, 27857, 4221, 50, 62, 33, 2767, 8845, 1677, 62, 34551, 46, 62, 35, 29462, 198, 10619, 31631, 13, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 366, 57, 5097, 62, 35, 6158, 62, 34, 1847, 34, 6239, 6234, 30023, 2538, 10979, 6234, 198, 198, 9, 10097, 23031, 9, 198, 9, 220, 220, 220, 220, 220, 220, 42715, 1976, 565, 62, 4475, 62, 9948, 14902, 62, 9288, 5550, 20032, 17941, 198, 9, 10097, 23031, 9, 198, 9, 198, 9, 10097, 23031, 9, 198, 31631, 1976, 565, 62, 4475, 62, 9948, 14902, 62, 9288, 5550, 20032, 17941, 7473, 43001, 2751, 198, 220, 220, 220, 360, 4261, 6234, 6006, 9863, 198, 220, 220, 220, 45698, 42, 49277, 43638, 5805, 7597, 198, 220, 764, 198, 220, 4810, 3824, 6158, 44513, 13, 198, 220, 220, 220, 337, 36252, 50, 25, 198, 220, 220, 220, 220, 220, 1933, 62, 23395, 62, 11545, 62, 19581, 7473, 43001, 2751, 13, 198, 10619, 31631, 13, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 366, 89, 565, 62, 4475, 62, 9948, 14902, 62, 9288, 5550, 20032, 17941, 198, 9, 10097, 23031, 9, 198, 9, 220, 220, 220, 220, 220, 220, 42715, 1976, 565, 62, 4475, 62, 9948, 14902, 62, 9288, 30023, 2538, 10979, 6234, 198, 9, 10097, 23031, 9, 198, 9, 198, 9, 10097, 23031, 9, 198, 31631, 1976, 565, 62, 4475, 62, 9948, 14902, 62, 9288, 30023, 2538, 10979, 6234, 13, 198, 220, 337, 36252, 1933, 62, 23395, 62, 11545, 62, 19581, 13, 628, 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, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
INTERFACE zif_aff_chko_v1 PUBLIC. TYPES: "! <p class="shorttext">Parameter</p> "! A parameter of an ATC check object BEGIN OF ty_parameter, "! <p class="shorttext">Parameter Name</p> "! Name of a parameter name TYPE string, "! <p class="shorttext">Parameter Description</p> "! Description of a parameter description TYPE c LENGTH 255, "! <p class="shorttext">Is Hidden</p> "! The parameter is hidden hidden TYPE abap_bool, END OF ty_parameter. TYPES: "! <p class="shorttext">Parameters</p> "! List of parameters ty_parameters TYPE HASHED TABLE OF ty_parameter WITH UNIQUE KEY name. "! <p class="shorttext">Check Type</p> "! Check type "! $values {@link if_aff_chko_v1.data:co_check_type} TYPES ty_check_type TYPE c LENGTH 1. TYPES: "! <p class="shorttext">ATC Check</p> "! ATC check object properties BEGIN OF ty_main, "! $required format_version TYPE zif_aff_types_v1=>ty_format_version, "! <p class="shorttext">Header</p> "! Header "! $required header TYPE zif_aff_types_v1=>ty_header_60, "! <p class="shorttext">Category</p> "! The parent category of an ATC check object "! $required category TYPE zif_aff_types_v1=>ty_object_name_30, "! <p class="shorttext">Implementing Class</p> "! The implementing class of the ATC check object "! $required implementing_class TYPE zif_aff_types_v1=>ty_object_name_30, "! <p class="shorttext">Check Type</p> "! The check type of ATC check check_type TYPE ty_check_type, "! <p class="shorttext">Parameters</p> "! Parameters of the ATC check object parameters TYPE ty_parameters, END OF ty_main. CONSTANTS: "! <p class="shorttext">Check Type</p> "! Check type BEGIN OF co_check_type, "! <p class="shorttext">Local</p> "! Local local TYPE ty_check_type VALUE 'L', "! <p class="shorttext">Remote Enabled</p> "! Remote enabled remote_enabled TYPE ty_check_type VALUE 'R', END OF co_check_type. ENDINTERFACE.
[ 41358, 49836, 1976, 361, 62, 2001, 62, 354, 7204, 62, 85, 16, 198, 220, 44731, 13, 628, 220, 24412, 47, 1546, 25, 198, 220, 220, 220, 366, 0, 1279, 79, 1398, 2625, 19509, 5239, 5320, 36301, 3556, 79, 29, 198, 220, 220, 220, 366, 0, 317, 11507, 286, 281, 317, 4825, 2198, 2134, 198, 220, 220, 220, 347, 43312, 3963, 1259, 62, 17143, 2357, 11, 198, 220, 220, 220, 220, 220, 366, 0, 1279, 79, 1398, 2625, 19509, 5239, 5320, 36301, 6530, 3556, 79, 29, 198, 220, 220, 220, 220, 220, 366, 0, 6530, 286, 257, 11507, 198, 220, 220, 220, 220, 220, 1438, 220, 220, 220, 220, 220, 220, 220, 220, 41876, 4731, 11, 198, 220, 220, 220, 220, 220, 366, 0, 1279, 79, 1398, 2625, 19509, 5239, 5320, 36301, 12489, 3556, 79, 29, 198, 220, 220, 220, 220, 220, 366, 0, 12489, 286, 257, 11507, 198, 220, 220, 220, 220, 220, 6764, 220, 41876, 269, 406, 49494, 14280, 11, 198, 220, 220, 220, 220, 220, 366, 0, 1279, 79, 1398, 2625, 19509, 5239, 5320, 3792, 20458, 3556, 79, 29, 198, 220, 220, 220, 220, 220, 366, 0, 383, 11507, 318, 7104, 198, 220, 220, 220, 220, 220, 7104, 220, 220, 220, 220, 220, 220, 41876, 450, 499, 62, 30388, 11, 198, 220, 220, 220, 23578, 3963, 1259, 62, 17143, 2357, 13, 628, 220, 24412, 47, 1546, 25, 198, 220, 220, 220, 366, 0, 1279, 79, 1398, 2625, 19509, 5239, 5320, 48944, 3556, 79, 29, 198, 220, 220, 220, 366, 0, 7343, 286, 10007, 198, 220, 220, 220, 1259, 62, 17143, 7307, 41876, 367, 11211, 1961, 43679, 3963, 1259, 62, 17143, 2357, 13315, 4725, 33866, 8924, 35374, 1438, 13, 628, 220, 366, 0, 1279, 79, 1398, 2625, 19509, 5239, 5320, 9787, 5994, 3556, 79, 29, 198, 220, 366, 0, 6822, 2099, 198, 220, 366, 0, 720, 27160, 1391, 31, 8726, 611, 62, 2001, 62, 354, 7204, 62, 85, 16, 13, 7890, 25, 1073, 62, 9122, 62, 4906, 92, 198, 220, 24412, 47, 1546, 1259, 62, 9122, 62, 4906, 41876, 269, 406, 49494, 352, 13, 628, 220, 24412, 47, 1546, 25, 198, 220, 220, 220, 366, 0, 1279, 79, 1398, 2625, 19509, 5239, 5320, 1404, 34, 6822, 3556, 79, 29, 198, 220, 220, 220, 366, 0, 317, 4825, 2198, 2134, 6608, 198, 220, 220, 220, 347, 43312, 3963, 1259, 62, 12417, 11, 198, 220, 220, 220, 220, 220, 366, 0, 720, 35827, 198, 220, 220, 220, 220, 220, 5794, 62, 9641, 220, 220, 220, 220, 41876, 1976, 361, 62, 2001, 62, 19199, 62, 85, 16, 14804, 774, 62, 18982, 62, 9641, 11, 198, 220, 220, 220, 220, 220, 366, 0, 1279, 79, 1398, 2625, 19509, 5239, 5320, 39681, 3556, 79, 29, 198, 220, 220, 220, 220, 220, 366, 0, 48900, 198, 220, 220, 220, 220, 220, 366, 0, 720, 35827, 198, 220, 220, 220, 220, 220, 13639, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 41876, 1976, 361, 62, 2001, 62, 19199, 62, 85, 16, 14804, 774, 62, 25677, 62, 1899, 11, 198, 220, 220, 220, 220, 220, 366, 0, 1279, 79, 1398, 2625, 19509, 5239, 5320, 27313, 3556, 79, 29, 198, 220, 220, 220, 220, 220, 366, 0, 383, 2560, 6536, 286, 281, 317, 4825, 2198, 2134, 198, 220, 220, 220, 220, 220, 366, 0, 720, 35827, 198, 220, 220, 220, 220, 220, 6536, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 41876, 1976, 361, 62, 2001, 62, 19199, 62, 85, 16, 14804, 774, 62, 15252, 62, 3672, 62, 1270, 11, 198, 220, 220, 220, 220, 220, 366, 0, 1279, 79, 1398, 2625, 19509, 5239, 5320, 3546, 26908, 278, 5016, 3556, 79, 29, 198, 220, 220, 220, 220, 220, 366, 0, 383, 15427, 1398, 286, 262, 317, 4825, 2198, 2134, 198, 220, 220, 220, 220, 220, 366, 0, 720, 35827, 198, 220, 220, 220, 220, 220, 15427, 62, 4871, 41876, 1976, 361, 62, 2001, 62, 19199, 62, 85, 16, 14804, 774, 62, 15252, 62, 3672, 62, 1270, 11, 198, 220, 220, 220, 220, 220, 366, 0, 1279, 79, 1398, 2625, 19509, 5239, 5320, 9787, 5994, 3556, 79, 29, 198, 220, 220, 220, 220, 220, 366, 0, 383, 2198, 2099, 286, 317, 4825, 2198, 198, 220, 220, 220, 220, 220, 2198, 62, 4906, 220, 220, 220, 220, 41876, 1259, 62, 9122, 62, 4906, 11, 198, 220, 220, 220, 220, 220, 366, 0, 1279, 79, 1398, 2625, 19509, 5239, 5320, 48944, 3556, 79, 29, 198, 220, 220, 220, 220, 220, 366, 0, 40117, 286, 262, 317, 4825, 2198, 2134, 198, 220, 220, 220, 220, 220, 10007, 220, 220, 220, 220, 220, 220, 220, 220, 41876, 1259, 62, 17143, 7307, 11, 198, 220, 220, 220, 23578, 3963, 1259, 62, 12417, 13, 628, 220, 7102, 2257, 1565, 4694, 25, 198, 220, 220, 220, 366, 0, 1279, 79, 1398, 2625, 19509, 5239, 5320, 9787, 5994, 3556, 79, 29, 198, 220, 220, 220, 366, 0, 6822, 2099, 198, 220, 220, 220, 347, 43312, 3963, 763, 62, 9122, 62, 4906, 11, 198, 220, 220, 220, 220, 220, 366, 0, 1279, 79, 1398, 2625, 19509, 5239, 5320, 14565, 3556, 79, 29, 198, 220, 220, 220, 220, 220, 366, 0, 10714, 198, 220, 220, 220, 220, 220, 1957, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 41876, 1259, 62, 9122, 62, 4906, 26173, 8924, 705, 43, 3256, 198, 220, 220, 220, 220, 220, 366, 0, 1279, 79, 1398, 2625, 19509, 5239, 5320, 36510, 37344, 3556, 79, 29, 198, 220, 220, 220, 220, 220, 366, 0, 21520, 9343, 198, 220, 220, 220, 220, 220, 6569, 62, 25616, 220, 220, 220, 220, 41876, 1259, 62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TYPE mkpf-mblnr . DATA v_mjahr TYPE mkpf-mjahr . METHODS convert_material IMPORTING !iv_plant TYPE marc-werks !iv_ext_material TYPE mgv_material_external !iv_vendor TYPE lifnr CHANGING !cv_material TYPE matnr RAISING zcx_idoc_preprocess_error . METHODS convert_uom CHANGING !cs_e1bp2017_gm_item_create TYPE e1bp2017_gm_item_create RAISING zcx_idoc_preprocess_error . METHODS postprocess REDEFINITION . METHODS preprocess REDEFINITION . METHODS process_idoc_fm REDEFINITION . PRIVATE SECTION. ENDCLASS. CLASS zcl_idoc_input_gm IMPLEMENTATION. METHOD convert_material. DATA: lv_material LIKE cv_material, lv_ext_material TYPE eina-idnlf, lv_purch_org TYPE eine-ekorg, ls_extension LIKE LINE OF me->t_extension. IF cv_material IS NOT INITIAL. lv_ext_material = cv_material. ELSEIF iv_ext_material IS NOT INITIAL. lv_ext_material = iv_ext_material. ENDIF. CASE me->s_idoc_options-matnr_conv. WHEN 'IN_EINA'. IF iv_vendor IS INITIAL. * VENDOR not populated for conversion IN_EINA me->append_idoc_status( iv_status = c_status_in_err iv_msgty = c_msg_type_error iv_msgid = 'AD' iv_msgno = '010' iv_msgv1 = 'VENDOR not populated for conversion' iv_msgv2 = me->s_idoc_options-matnr_conv ). RAISE EXCEPTION TYPE zcx_idoc_preprocess_error. ENDIF. lv_material = me->convert_material_with_eina( iv_vendor = iv_vendor iv_ext_material = lv_ext_material ). WHEN 'IN_EINA_EINE'. IF iv_vendor IS INITIAL. * VENDOR not populated for conversion IN_EINA_EINE me->append_idoc_status( iv_status = c_status_in_err iv_msgty = c_msg_type_error iv_msgid = 'AD' iv_msgno = '010' iv_msgv1 = 'VENDOR not populated for conversion' iv_msgv2 = me->s_idoc_options-matnr_conv ). RAISE EXCEPTION TYPE zcx_idoc_preprocess_error. ENDIF. * Get Purchasing Org from default PURCH_ORG value mapped in Extension READ TABLE me->t_extension INTO ls_extension TRANSPORTING valuepart1 WITH KEY structure = 'PURCH_ORG' BINARY SEARCH. IF sy-subrc = 0 AND ls_extension-valuepart1 IS NOT INITIAL. lv_purch_org = ls_extension-valuepart1. ELSE. * PURCH_ORG not populated for conversion IN_EINA_EINE me->append_idoc_status( iv_status = c_status_in_err iv_msgty = c_msg_type_error iv_msgid = 'AD' iv_msgno = '010' iv_msgv1 = 'PURCH_ORG not populated for conversion' iv_msgv2 = me->s_idoc_options-matnr_conv ). RAISE EXCEPTION TYPE zcx_idoc_preprocess_error. ENDIF. lv_material = me->convert_material_with_eina( iv_vendor = iv_vendor iv_ext_material = lv_ext_material iv_purch_org = lv_purch_org iv_plant = iv_plant ). WHEN 'IN_MARA'. lv_material = me->convert_mat_with_marc_mara( cv_material ). WHEN 'IN_MARA_MG'. IF me->s_idoc_options-matkl IS INITIAL. * MATKL not populated for conversion IN_MARA_MG me->append_idoc_status( iv_status = c_status_in_err iv_msgty = c_msg_type_error iv_msgid = 'AD' iv_msgno = '010' iv_msgv1 = 'MATKL not populated for conversion' iv_msgv2 = me->s_idoc_options-matnr_conv ). RAISE EXCEPTION TYPE zcx_idoc_preprocess_error. ENDIF. lv_material = me->convert_mat_with_marc_mara( iv_ext_material = cv_material iv_material_group = me->s_idoc_options-matkl ). WHEN 'IN_MARC_MARA'. lv_material = me->convert_mat_with_marc_mara( iv_plant = iv_plant iv_ext_material = cv_material ). WHEN 'IN_MARC_MARA_MG'. IF me->s_idoc_options-matkl IS INITIAL. * MATKL not populated for conversion IN_MARC_MARA_MG me->append_idoc_status( iv_status = c_status_in_err iv_msgty = c_msg_type_error iv_msgid = 'AD' iv_msgno = '010' iv_msgv1 = 'MATKL not populated for conversion' iv_msgv2 = me->s_idoc_options-matnr_conv ). RAISE EXCEPTION TYPE zcx_idoc_preprocess_error. ENDIF. lv_material = me->convert_mat_with_marc_mara( iv_plant = iv_plant iv_ext_material = cv_material iv_material_group = me->s_idoc_options-matkl ). ENDCASE. * Raise error if the conversion was not successful IF lv_material IS INITIAL. * Material & does not exist me->append_idoc_status( iv_status = c_status_in_err iv_msgty = c_msg_type_error iv_msgid = 'M3' iv_msgno = '238' iv_msgv1 = lv_ext_material ). ELSE. cv_material = lv_material. ENDIF. ENDMETHOD. "convert_material METHOD convert_uom. CASE me->s_idoc_options-uom_conv. WHEN 'SAP_2_ISO'. cs_e1bp2017_gm_item_create-entry_uom_iso = me->convert_uom_sap_to_iso( cs_e1bp2017_gm_item_create-entry_uom_iso ). WHEN 'SAP_2_ISO_CUNIT'. cs_e1bp2017_gm_item_create-entry_uom_iso = me->convert_uom_sap_to_iso( iv_sapuom = cs_e1bp2017_gm_item_create-entry_uom_iso iv_cunit_conversion = 'X' ). ENDCASE. ENDMETHOD. METHOD postprocess. FIELD-SYMBOLS: <lfs_edids> LIKE LINE OF me->ref_idoc_status->*. * Change message returned from BAPI for successful message creation LOOP AT me->ref_idoc_status->* ASSIGNING <lfs_edids>. IF ( <lfs_edids>-msgid = 'B1' AND <lfs_edids>-msgno = '501' ). "BAPI & has been called successfully * MIGO(012) - Material document & posted <lfs_edids>-msgid = 'MIGO'. <lfs_edids>-msgty = c_msg_type_success. <lfs_edids>-msgno = '012'. <lfs_edids>-msgv1 = me->v_mblnr. ENDIF. ENDLOOP. ENDMETHOD. "postprocess METHOD preprocess. FIELD-SYMBOLS: <lfs_edidd> LIKE LINE OF me->ref_idoc_data->*, <lfs_e1bp2017_gm_item_create> TYPE e1bp2017_gm_item_create. DATA: lv_material TYPE matnr. * Retrieve all the data populated in the extension segment E1BPPAREX and store in instance attribute me->extract_extension_data( iv_sort = 'X' ). * Default preprocessing from configuration LOOP AT me->ref_idoc_data->* ASSIGNING <lfs_edidd>. CASE <lfs_edidd>-segnam. WHEN 'E1BP2017_GM_ITEM_CREATE'. ASSIGN <lfs_edidd>-sdata TO <lfs_e1bp2017_gm_item_create> CASTING. IF me->s_idoc_options-matnr_conv IS NOT INITIAL. lv_material = <lfs_e1bp2017_gm_item_create>-material. me->convert_material( EXPORTING iv_plant = <lfs_e1bp2017_gm_item_create>-plant iv_ext_material = <lfs_e1bp2017_gm_item_create>-material_external iv_vendor = <lfs_e1bp2017_gm_item_create>-vendor CHANGING cv_material = lv_material ). <lfs_e1bp2017_gm_item_create>-material = lv_material. IF <lfs_e1bp2017_gm_item_create>-move_mat IS NOT INITIAL OR <lfs_e1bp2017_gm_item_create>-move_mat_external IS NOT INITIAL. lv_material = <lfs_e1bp2017_gm_item_create>-move_mat. me->convert_material( EXPORTING iv_plant = <lfs_e1bp2017_gm_item_create>-move_plant iv_ext_material = <lfs_e1bp2017_gm_item_create>-move_mat_external iv_vendor = <lfs_e1bp2017_gm_item_create>-vendor CHANGING cv_material = lv_material ). <lfs_e1bp2017_gm_item_create>-move_mat = lv_material. ENDIF. ENDIF. IF me->s_idoc_options-uom_conv IS NOT INITIAL. me->convert_uom( CHANGING cs_e1bp2017_gm_item_create = <lfs_e1bp2017_gm_item_create> ). ENDIF. ENDCASE. ENDLOOP. * Raise IDoc error if there are any error message collected IF me->ref_idoc_status->* IS NOT INITIAL. RAISE EXCEPTION TYPE zcx_idoc_preprocess_error. ENDIF. ENDMETHOD. METHOD process_idoc_fm. DATA: ls_retvar LIKE LINE OF me->ref_return_variables->*. CALL FUNCTION 'IDOC_INPUT_MBGMCR' EXPORTING input_method = me->v_input_method mass_processing = me->v_mass_processing IMPORTING workflow_result = me->v_workflow_result application_variable = me->v_application_variable in_update_task = me->v_in_update_task call_transaction_done = me->v_call_transaction_done TABLES idoc_contrl = me->ref_idoc_contrl->* idoc_data = me->ref_idoc_data->* idoc_status = me->ref_idoc_status->* return_variables = me->ref_return_variables->* serialization_info = me->ref_serialization_info->* EXCEPTIONS wrong_function_called = 1 error_message = 2. CASE sy-subrc. WHEN 0. * Process return messages from BAPI - rollback, commit or trigger exception me->process_bapi_return( ). * If it's successful, get the MatDoc and year READ TABLE me->ref_return_variables->* INTO ls_retvar WITH KEY wf_param = c_wf_param_appobj. IF sy-subrc = 0. me->v_mblnr = ls_retvar-doc_number+00. me->v_mjahr = ls_retvar-doc_number+10. ENDIF. WHEN 1. RAISE EXCEPTION TYPE zcx_wrong_function_called. WHEN 2. * Catch and store any error messages that did not propagate through call stack with RAISING me->append_idoc_status( iv_status = c_status_in_err iv_msgty = c_msg_type_error iv_msgid = sy-msgid iv_msgno = sy-msgno iv_msgv1 = sy-msgv1 iv_msgv2 = sy-msgv2 iv_msgv3 = sy-msgv3 iv_msgv4 = sy-msgv4 ). me->set_retvar_wf_error( ). RAISE EXCEPTION TYPE zcx_idoc_fm_error. ENDCASE. ENDMETHOD. ENDCLASS.
[ 31631, 1976, 565, 62, 312, 420, 62, 15414, 62, 39870, 5550, 20032, 17941, 198, 220, 44731, 198, 220, 3268, 16879, 2043, 2751, 16034, 1976, 565, 62, 312, 420, 62, 15414, 198, 220, 29244, 6158, 44731, 764, 628, 220, 44731, 44513, 13, 198, 220, 48006, 9782, 1961, 44513, 13, 628, 220, 220, 220, 42865, 410, 62, 2022, 18755, 81, 41876, 33480, 79, 69, 12, 2022, 18755, 81, 764, 198, 220, 220, 220, 42865, 410, 62, 76, 31558, 81, 41876, 33480, 79, 69, 12, 76, 31558, 81, 764, 628, 220, 220, 220, 337, 36252, 50, 10385, 62, 33665, 198, 220, 220, 220, 220, 220, 30023, 9863, 2751, 198, 220, 220, 220, 220, 220, 220, 220, 5145, 452, 62, 15060, 220, 220, 220, 220, 220, 220, 220, 41876, 1667, 66, 12, 15448, 591, 198, 220, 220, 220, 220, 220, 220, 220, 5145, 452, 62, 2302, 62, 33665, 41876, 10527, 85, 62, 33665, 62, 22615, 198, 220, 220, 220, 220, 220, 220, 220, 5145, 452, 62, 85, 18738, 220, 220, 220, 220, 220, 220, 41876, 3868, 48624, 198, 220, 220, 220, 220, 220, 5870, 15567, 2751, 198, 220, 220, 220, 220, 220, 220, 220, 5145, 33967, 62, 33665, 220, 220, 220, 220, 41876, 2603, 48624, 198, 220, 220, 220, 220, 220, 17926, 1797, 2751, 198, 220, 220, 220, 220, 220, 220, 220, 1976, 66, 87, 62, 312, 420, 62, 3866, 14681, 62, 18224, 764, 198, 220, 220, 220, 337, 36252, 50, 10385, 62, 84, 296, 198, 220, 220, 220, 220, 220, 5870, 15567, 2751, 198, 220, 220, 220, 220, 220, 220, 220, 5145, 6359, 62, 68, 16, 46583, 5539, 62, 39870, 62, 9186, 62, 17953, 41876, 304, 16, 46583, 5539, 62, 39870, 62, 9186, 62, 17953, 198, 220, 220, 220, 220, 220, 17926, 1797, 2751, 198, 220, 220, 220, 220, 220, 220, 220, 1976, 66, 87, 62, 312, 420, 62, 3866, 14681, 62, 18224, 764, 628, 220, 220, 220, 337, 36252, 50, 1281, 14681, 198, 220, 220, 220, 220, 220, 220, 220, 23848, 36, 20032, 17941, 764, 198, 220, 220, 220, 337, 36252, 50, 662, 14681, 198, 220, 220, 220, 220, 220, 220, 220, 23848, 36, 20032, 17941, 764, 198, 220, 220, 220, 337, 36252, 50, 1429, 62, 312, 420, 62, 38353, 198, 220, 220, 220, 220, 220, 220, 220, 23848, 36, 20032, 17941, 764, 628, 220, 4810, 3824, 6158, 44513, 13, 198, 10619, 31631, 13, 628, 198, 198, 31631, 1976, 565, 62, 312, 420, 62, 15414, 62, 39870, 30023, 2538, 10979, 6234, 13, 628, 198, 220, 337, 36252, 10385, 62, 33665, 13, 628, 220, 220, 220, 42865, 25, 198, 220, 220, 220, 220, 220, 300, 85, 62, 33665, 220, 220, 220, 220, 34178, 269, 85, 62, 33665, 11, 198, 220, 220, 220, 220, 220, 300, 85, 62, 2302, 62, 33665, 41876, 304, 1437, 12, 312, 77, 1652, 11, 198, 220, 220, 220, 220, 220, 300, 85, 62, 79, 2575, 62, 2398, 220, 220, 220, 41876, 304, 500, 12, 988, 2398, 11, 198, 220, 220, 220, 220, 220, 43979, 62, 2302, 3004, 220, 220, 220, 34178, 48920, 3963, 502, 3784, 83, 62, 2302, 3004, 13, 628, 220, 220, 220, 16876, 269, 85, 62, 33665, 3180, 5626, 3268, 2043, 12576, 13, 198, 220, 220, 220, 220, 220, 300, 85, 62, 2302, 62, 33665, 796, 269, 85, 62, 33665, 13, 198, 220, 220, 220, 17852, 5188, 5064, 21628, 62, 2302, 62, 33665, 3180, 5626, 3268, 2043, 12576, 13, 198, 220, 220, 220, 220, 220, 300, 85, 62, 2302, 62, 33665, 796, 21628, 62, 2302, 62, 33665, 13, 198, 220, 220, 220, 23578, 5064, 13, 628, 220, 220, 220, 42001, 502, 3784, 82, 62, 312, 420, 62, 25811, 12, 6759, 48624, 62, 42946, 13, 198, 220, 220, 220, 220, 220, 42099, 705, 1268, 62, 36, 28893, 4458, 198, 220, 220, 220, 220, 220, 220, 220, 16876, 21628, 62, 85, 18738, 3180, 3268, 2043, 12576, 13, 198, 9, 220, 220, 220, 220, 220, 220, 569, 10619, 1581, 407, 22331, 329, 11315, 3268, 62, 36, 28893, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 502, 3784, 33295, 62, 312, 420, 62, 13376, 7, 21628, 62, 13376, 796, 269, 62, 13376, 62, 259, 62, 8056, 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, 21628, 62, 19662, 774, 220, 796, 269, 62, 19662, 62, 4906, 62, 18224, 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, 21628, 62, 19662, 312, 220, 796, 705, 2885, 6, 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, 21628, 62, 19662, 3919, 220, 796, 705, 20943, 6, 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, 21628, 62, 19662, 85, 16, 220, 796, 705, 53, 10619, 1581, 407, 22331, 329, 11315, 6, 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, 21628, 62, 19662, 85, 17, 220, 796, 502, 3784, 82, 62, 312, 420, 62, 25811, 12, 6759, 48624, 62, 42946, 6739, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 17926, 24352, 7788, 42006, 2849, 41876, 1976, 66, 87, 62, 312, 420, 62, 3866, 14681, 62, 18224, 13, 198, 220, 220, 220, 220, 220, 220, 220, 23578, 5064, 13, 198, 220, 220, 220, 220, 220, 220, 220, 300, 85, 62, 33665, 220, 220, 220, 220, 796, 502, 3784, 1102, 1851, 62, 33665, 62, 4480, 62, 68, 1437, 7, 21628, 62, 85, 18738, 220, 220, 220, 220, 220, 220, 796, 21628, 62, 85, 18738, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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 ]
CLASS /gal/search_help DEFINITION PUBLIC CREATE PUBLIC . PUBLIC SECTION. TYPE-POOLS abap . TYPE-POOLS shlp . CLASS cl_abap_typedescr DEFINITION LOAD . DATA search_help_description TYPE shlp_descr_t READ-ONLY . CLASS-METHODS get_by_data_element IMPORTING !data_element TYPE rollname RETURNING VALUE(search_help) TYPE REF TO /gal/search_help RAISING /gal/cx_search_help_exception . CLASS-METHODS get_by_name_and_type IMPORTING !search_help_name TYPE shlpname !search_help_type TYPE ddshlptyp DEFAULT 'SH' RETURNING VALUE(search_help) TYPE REF TO /gal/search_help RAISING /gal/cx_search_help_exception . METHODS add_select_option IMPORTING !field TYPE ddshselopt-shlpfield !sign TYPE ddshselopt-sign DEFAULT 'I' !option TYPE ddshselopt-option DEFAULT 'EQ' !low TYPE ddshselopt-low OPTIONAL !high TYPE ddshselopt-high OPTIONAL . METHODS constructor IMPORTING !search_help_description TYPE shlp_descr_t . METHODS get_select_options RETURNING VALUE(select_options) TYPE /gal/search_help_sel_options . METHODS remove_select_options IMPORTING !field TYPE ddshselopt-shlpfield DEFAULT '*' . METHODS set_select_options IMPORTING !select_options TYPE /gal/search_help_sel_options . METHODS show IMPORTING !max_no_of_records TYPE i DEFAULT 500 "#EC NUMBER_OK !read_only TYPE abap_bool DEFAULT abap_false EXPORTING !result TYPE any RAISING /gal/cx_search_help_exception . protected section. private section. ENDCLASS. CLASS /GAL/SEARCH_HELP IMPLEMENTATION. METHOD ADD_SELECT_OPTION. DATA l_wa_select_options TYPE ddshselopt. * Add single select option to search help description l_wa_select_options-shlpfield = field. l_wa_select_options-sign = sign. l_wa_select_options-option = option. l_wa_select_options-low = low. l_wa_select_options-high = high. INSERT l_wa_select_options INTO TABLE search_help_description-selopt. ENDMETHOD. METHOD constructor. * Store Search Help description me->search_help_description = search_help_description. ENDMETHOD. METHOD get_by_data_element. DATA l_tabname TYPE tabname. DATA l_fieldname TYPE fieldname. DATA l_field_infos TYPE STANDARD TABLE OF dfies. DATA l_data_element_info TYPE dtelinfo. DATA l_domain_info TYPE dd01v. DATA l_search_help_descr TYPE shlp_descr_t. DATA l_message_stack TYPE REF TO /gal/message_stack. DATA l_message TYPE string. DATA l_data_element TYPE string. DATA l_error_flag TYPE abap_bool. FIELD-SYMBOLS <l_field_info> TYPE dfies. * Note: Data Elements need to be store in table name field! l_tabname = data_element. * 1. Try: SAP default method CALL FUNCTION 'F4IF_DETERMINE_SEARCHHELP' EXPORTING tabname = l_tabname fieldname = l_fieldname IMPORTING shlp = l_search_help_descr EXCEPTIONS OTHERS = 1. * 2. Try: Consider check tables IF sy-subrc <> 0. CREATE OBJECT l_message_stack. l_message_stack->push( ). CALL FUNCTION 'DDIF_NAMETAB_GET' EXPORTING tabname = data_element all_types = abap_true IMPORTING dtelinfo_wa = l_data_element_info EXCEPTIONS OTHERS = 1. IF sy-subrc = 0. CALL FUNCTION 'DDIF_DOMA_GET' EXPORTING name = l_data_element_info-refname IMPORTING dd01v_wa = l_domain_info EXCEPTIONS OTHERS = 1. ENDIF. IF sy-subrc = 0. CALL FUNCTION 'DDIF_FIELDINFO_GET' EXPORTING tabname = l_domain_info-entitytab TABLES dfies_tab = l_field_infos EXCEPTIONS OTHERS = 1. ENDIF. IF sy-subrc = 0. READ TABLE l_field_infos WITH KEY keyflag = abap_true rollname = data_element ASSIGNING <l_field_info>. IF sy-subrc <> 0. READ TABLE l_field_infos WITH KEY keyflag = abap_true domname = l_domain_info-domname ASSIGNING <l_field_info>. ENDIF. ENDIF. IF sy-subrc = 0. CALL FUNCTION 'DD_SHLP_GET_HELPMETHOD' EXPORTING tabname = l_domain_info-entitytab fieldname = <l_field_info>-fieldname get_entitytab = 'X' CHANGING shlp = l_search_help_descr EXCEPTIONS OTHERS = 1. ENDIF. IF sy-subrc <> 0. l_error_flag = abap_true. ENDIF. l_message_stack->pop( ). ENDIF. * Fehlerbehandlung IF l_error_flag = abap_true. MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4 INTO l_message. l_data_element = data_element. RAISE EXCEPTION TYPE /gal/cx_search_help_exception EXPORTING textid = /gal/cx_search_help_exception=>no_search_help_for_data_elem var1 = l_data_element var2 = l_message. ENDIF. * Create instance of Search Help CREATE OBJECT search_help EXPORTING search_help_description = l_search_help_descr. ENDMETHOD. METHOD get_by_name_and_type. DATA l_search_help_name TYPE string. DATA l_search_help_type TYPE string. DATA l_search_help_descr TYPE shlp_descr_t. * Read Search Help Description CALL FUNCTION 'F4IF_GET_SHLP_DESCR' EXPORTING shlpname = search_help_name shlptype = search_help_type IMPORTING shlp = l_search_help_descr. IF l_search_help_descr-interface IS INITIAL AND l_search_help_descr-fielddescr IS INITIAL AND l_search_help_descr-fieldprop IS INITIAL. l_search_help_name = search_help_name. l_search_help_type = search_help_type. RAISE EXCEPTION TYPE /gal/cx_search_help_exception EXPORTING textid = /gal/cx_search_help_exception=>search_help_not_found var1 = l_search_help_name var2 = l_search_help_type. ENDIF. * Create instance of Search Help CREATE OBJECT search_help EXPORTING search_help_description = l_search_help_descr. ENDMETHOD. METHOD get_select_options. * Return all select options from search help description select_options = search_help_description-selopt. ENDMETHOD. METHOD remove_select_options. IF field <> '*'. * Remove select option(s) from search help description DELETE search_help_description-selopt WHERE shlpfield = field. ELSE. * Remove all select options from search help description CLEAR search_help_description-selopt. ENDIF. ENDMETHOD. METHOD set_select_options. * Replace select options stored in search help description search_help_description-selopt = select_options. ENDMETHOD. METHOD show. DATA l_values TYPE STANDARD TABLE OF ddshretval. DATA l_wa TYPE REF TO data. DATA l_type_kind TYPE c. DATA l_multi TYPE abap_bool. DATA l_ret_code TYPE sysubrc. DATA l_message TYPE string. FIELD-SYMBOLS <l_value> TYPE ddshretval. FIELD-SYMBOLS <l_wa> TYPE any. FIELD-SYMBOLS <l_table> TYPE ANY TABLE. * Initialize result CLEAR result. * Determine type of target field DESCRIBE FIELD result TYPE l_type_kind. IF l_type_kind = cl_abap_typedescr=>typekind_table. l_multi = abap_true. ENDIF. * Show Search Help CALL FUNCTION 'F4IF_START_VALUE_REQUEST' EXPORTING shlp = search_help_description disponly = read_only maxrecords = max_no_of_records multisel = l_multi IMPORTING rc = l_ret_code TABLES return_values = l_values EXCEPTIONS OTHERS = 1. IF sy-subrc <> 0. MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4 INTO l_message. RAISE EXCEPTION TYPE /gal/cx_search_help_exception EXPORTING textid = /gal/cx_search_help_exception=>custom_exception var1 = l_message. ELSEIF l_ret_code <> 0 OR l_values IS INITIAL. RAISE EXCEPTION TYPE /gal/cx_search_help_exception EXPORTING textid = /gal/cx_search_help_exception=>aborted_by_user aborted = abap_true. ENDIF. * Return result IF l_type_kind = cl_abap_typedescr=>typekind_table. ASSIGN result TO <l_table>. CREATE DATA l_wa LIKE LINE OF <l_table>. ASSIGN l_wa->* TO <l_wa>. LOOP AT l_values ASSIGNING <l_value>. <l_wa> = <l_value>-fieldval. INSERT <l_wa> INTO TABLE <l_table>. ENDLOOP. ELSE. LOOP AT l_values ASSIGNING <l_value>. result = <l_value>-fieldval. ENDLOOP. ENDIF. ENDMETHOD. ENDCLASS.
[ 31631, 1220, 13528, 14, 12947, 62, 16794, 5550, 20032, 17941, 198, 220, 44731, 198, 220, 29244, 6158, 44731, 764, 628, 220, 44731, 44513, 13, 198, 220, 220, 220, 41876, 12, 16402, 3535, 50, 450, 499, 764, 198, 220, 220, 220, 41876, 12, 16402, 3535, 50, 427, 34431, 764, 198, 31631, 537, 62, 397, 499, 62, 774, 9124, 3798, 81, 5550, 20032, 17941, 17579, 2885, 764, 628, 220, 42865, 2989, 62, 16794, 62, 11213, 41876, 427, 34431, 62, 20147, 81, 62, 83, 20832, 12, 1340, 11319, 764, 628, 220, 42715, 12, 49273, 50, 651, 62, 1525, 62, 7890, 62, 30854, 198, 220, 220, 220, 30023, 9863, 2751, 198, 220, 220, 220, 220, 220, 5145, 7890, 62, 30854, 220, 220, 220, 220, 220, 41876, 4836, 3672, 198, 220, 220, 220, 30826, 4261, 15871, 198, 220, 220, 220, 220, 220, 26173, 8924, 7, 12947, 62, 16794, 8, 41876, 4526, 37, 5390, 1220, 13528, 14, 12947, 62, 16794, 198, 220, 220, 220, 17926, 1797, 2751, 198, 220, 220, 220, 220, 220, 1220, 13528, 14, 66, 87, 62, 12947, 62, 16794, 62, 1069, 4516, 764, 198, 220, 42715, 12, 49273, 50, 651, 62, 1525, 62, 3672, 62, 392, 62, 4906, 198, 220, 220, 220, 30023, 9863, 2751, 198, 220, 220, 220, 220, 220, 5145, 12947, 62, 16794, 62, 3672, 220, 41876, 427, 34431, 3672, 198, 220, 220, 220, 220, 220, 5145, 12947, 62, 16794, 62, 4906, 220, 41876, 49427, 1477, 75, 457, 4464, 5550, 38865, 705, 9693, 6, 198, 220, 220, 220, 30826, 4261, 15871, 198, 220, 220, 220, 220, 220, 26173, 8924, 7, 12947, 62, 16794, 8, 41876, 4526, 37, 5390, 1220, 13528, 14, 12947, 62, 16794, 198, 220, 220, 220, 17926, 1797, 2751, 198, 220, 220, 220, 220, 220, 1220, 13528, 14, 66, 87, 62, 12947, 62, 16794, 62, 1069, 4516, 764, 198, 220, 337, 36252, 50, 751, 62, 19738, 62, 18076, 198, 220, 220, 220, 30023, 9863, 2751, 198, 220, 220, 220, 220, 220, 5145, 3245, 220, 41876, 49427, 1477, 741, 8738, 12, 1477, 34431, 3245, 198, 220, 220, 220, 220, 220, 5145, 12683, 220, 220, 41876, 49427, 1477, 741, 8738, 12, 12683, 5550, 38865, 705, 40, 6, 198, 220, 220, 220, 220, 220, 5145, 18076, 41876, 49427, 1477, 741, 8738, 12, 18076, 5550, 38865, 705, 36, 48, 6, 198, 220, 220, 220, 220, 220, 5145, 9319, 220, 220, 220, 41876, 49427, 1477, 741, 8738, 12, 9319, 39852, 2849, 1847, 198, 220, 220, 220, 220, 220, 5145, 8929, 220, 220, 41876, 49427, 1477, 741, 8738, 12, 8929, 39852, 2849, 1847, 764, 198, 220, 337, 36252, 50, 23772, 198, 220, 220, 220, 30023, 9863, 2751, 198, 220, 220, 220, 220, 220, 5145, 12947, 62, 16794, 62, 11213, 41876, 427, 34431, 62, 20147, 81, 62, 83, 764, 198, 220, 337, 36252, 50, 651, 62, 19738, 62, 25811, 198, 220, 220, 220, 30826, 4261, 15871, 198, 220, 220, 220, 220, 220, 26173, 8924, 7, 19738, 62, 25811, 8, 41876, 1220, 13528, 14, 12947, 62, 16794, 62, 741, 62, 25811, 764, 198, 220, 337, 36252, 50, 4781, 62, 19738, 62, 25811, 198, 220, 220, 220, 30023, 9863, 2751, 198, 220, 220, 220, 220, 220, 5145, 3245, 41876, 49427, 1477, 741, 8738, 12, 1477, 34431, 3245, 5550, 38865, 705, 9, 6, 764, 198, 220, 337, 36252, 50, 900, 62, 19738, 62, 25811, 198, 220, 220, 220, 30023, 9863, 2751, 198, 220, 220, 220, 220, 220, 5145, 19738, 62, 25811, 41876, 1220, 13528, 14, 12947, 62, 16794, 62, 741, 62, 25811, 764, 198, 220, 337, 36252, 50, 905, 198, 220, 220, 220, 30023, 9863, 2751, 198, 220, 220, 220, 220, 220, 5145, 9806, 62, 3919, 62, 1659, 62, 8344, 3669, 41876, 1312, 5550, 38865, 5323, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 25113, 2943, 36871, 13246, 62, 11380, 198, 220, 220, 220, 220, 220, 5145, 961, 62, 8807, 220, 220, 220, 220, 220, 220, 220, 220, 41876, 450, 499, 62, 30388, 5550, 38865, 450, 499, 62, 9562, 198, 220, 220, 220, 7788, 15490, 2751, 198, 220, 220, 220, 220, 220, 5145, 20274, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 41876, 597, 198, 220, 220, 220, 17926, 1797, 2751, 198, 220, 220, 220, 220, 220, 1220, 13528, 14, 66, 87, 62, 12947, 62, 16794, 62, 1069, 4516, 764, 198, 24326, 2665, 13, 198, 19734, 2665, 13, 198, 10619, 31631, 13, 628, 198, 198, 31631, 1220, 38, 1847, 14, 5188, 31315, 62, 39, 3698, 47, 30023, 2538, 10979, 6234, 13, 628, 198, 49273, 27841, 62, 46506, 62, 3185, 24131, 13, 198, 220, 42865, 300, 62, 10247, 62, 19738, 62, 25811, 41876, 49427, 1477, 741, 8738, 13, 198, 198, 9, 3060, 2060, 2922, 3038, 284, 2989, 1037, 6764, 198, 220, 300, 62, 10247, 62, 19738, 62, 25811, 12, 1477, 34431, 3245, 796, 2214, 13, 198, 220, 300, 62, 10247, 62, 19738, 62, 25811, 12, 12683, 220, 220, 220, 220, 220, 796, 1051, 13, 198, 220, 300, 62, 10247, 62, 19738, 62, 25811, 12, 18076, 220, 220, 220, 796, 3038, 13, 198, 220, 300, 62, 10247, 62, 19738, 62, 25811, 12, 9319, 220, 220, 220, 220, 220, 220, 796, 1877, 13, 198, 220, 300, 62, 10247, 62, 19738, 62, 25811, 12, 8929, 220, 220, 220, 220, 220, 796, 1029, 13, 628, 220, 29194, 17395, 300, 62, 10247, 62, 19738, 62, 25811, 39319, 43679, 2989, 62, 16794, 62, 11213, 12, 741, 8738, 13, 198, 10619, 49273, 13, 628, 198, 49273, 23772, 13, 198, 198, 9, 9363, 11140, 10478, 6764, 198, 220, 502, 3784, 12947, 62, 16794, 62, 11213, 796, 2989, 62, 16794, 62, 11213, 13, 198, 10619, 49273, 13, 628, 198, 49273, 651, 62, 1525, 62, 7890, 62, 30854, 13, 198, 220, 42865, 300, 62, 8658, 3672, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 41876, 7400, 3672, 13, 198, 220, 42865, 300, 62, 3245, 3672, 220, 220, 220, 220, 220, 220, 220, 220, 41876, 2214, 3672, 13, 628, 220, 42865, 300, 62, 3245, 62, 10745, 418, 220, 220, 220, 220, 220, 220, 41876, 49053, 9795, 43679, 3963, 47764, 444, 13, 198, 220, 42865, 300, 62, 7890, 62, 30854, 62, 10951, 41876, 288, 37524, 10951, 13, 198, 220, 42865, 300, 62, 27830, 62, 10951, 220 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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 ]
CLASS /dmo/bp_booking_u30 DEFINITION PUBLIC ABSTRACT FINAL FOR BEHAVIOR OF /dmo/i_travel_u30 . PUBLIC SECTION. PROTECTED SECTION. PRIVATE SECTION. ENDCLASS. CLASS /dmo/bp_booking_u30 IMPLEMENTATION. ENDCLASS.
[ 31631, 1220, 67, 5908, 14, 46583, 62, 2070, 278, 62, 84, 1270, 5550, 20032, 17941, 198, 220, 44731, 198, 220, 9564, 18601, 10659, 198, 220, 25261, 198, 220, 7473, 9348, 7801, 12861, 1581, 3963, 1220, 67, 5908, 14, 72, 62, 35927, 62, 84, 1270, 764, 628, 220, 44731, 44513, 13, 198, 220, 48006, 9782, 1961, 44513, 13, 198, 220, 4810, 3824, 6158, 44513, 13, 198, 10619, 31631, 13, 628, 198, 198, 31631, 1220, 67, 5908, 14, 46583, 62, 2070, 278, 62, 84, 1270, 30023, 2538, 10979, 6234, 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 ]
CLASS zcl_capi_executor_service DEFINITION PUBLIC CREATE PUBLIC . PUBLIC SECTION. INTERFACES zif_capi_executor_service . METHODS constructor IMPORTING !iv_server_group TYPE rfcgr !iv_max_no_of_tasks TYPE i DEFAULT 10 !iv_no_resubmission_on_error TYPE boole_d DEFAULT abap_false !io_capi_message_handler TYPE REF TO zif_capi_message_handler . PROTECTED SECTION. PRIVATE SECTION. DATA mo_capi_spta_wrapper TYPE REF TO zcl_capi_spta_wrapper . DATA mv_server_group TYPE rfcgr . DATA mv_max_no_of_tasks TYPE i . DATA mv_no_resubmission_on_error TYPE boole_d . DATA mo_capi_message_handler TYPE REF TO zif_capi_message_handler . ENDCLASS. CLASS ZCL_CAPI_EXECUTOR_SERVICE IMPLEMENTATION. METHOD constructor. mv_server_group = iv_server_group. mv_max_no_of_tasks = iv_max_no_of_tasks. mv_no_resubmission_on_error = iv_no_resubmission_on_error. mo_capi_message_handler = io_capi_message_handler. ENDMETHOD. METHOD zif_capi_executor_service~invoke_all. CREATE OBJECT mo_capi_spta_wrapper EXPORTING iv_server_group = mv_server_group iv_max_no_of_tasks = mv_max_no_of_tasks iv_no_resubmission_on_error = mv_no_resubmission_on_error io_capi_message_handler = mo_capi_message_handler. ro_results = mo_capi_spta_wrapper->start( io_tasks ). ENDMETHOD. ENDCLASS.
[ 31631, 1976, 565, 62, 11128, 72, 62, 18558, 38409, 62, 15271, 5550, 20032, 17941, 198, 220, 44731, 198, 220, 29244, 6158, 44731, 764, 628, 220, 44731, 44513, 13, 628, 220, 220, 220, 23255, 37, 2246, 1546, 1976, 361, 62, 11128, 72, 62, 18558, 38409, 62, 15271, 764, 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, 5145, 452, 62, 15388, 62, 8094, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 41876, 374, 16072, 2164, 198, 220, 220, 220, 220, 220, 220, 220, 5145, 452, 62, 9806, 62, 3919, 62, 1659, 62, 83, 6791, 220, 220, 220, 220, 220, 220, 220, 220, 220, 41876, 1312, 5550, 38865, 838, 198, 220, 220, 220, 220, 220, 220, 220, 5145, 452, 62, 3919, 62, 411, 549, 3411, 62, 261, 62, 18224, 41876, 1489, 2305, 62, 67, 5550, 38865, 450, 499, 62, 9562, 198, 220, 220, 220, 220, 220, 220, 220, 5145, 952, 62, 11128, 72, 62, 20500, 62, 30281, 220, 220, 220, 220, 41876, 4526, 37, 5390, 1976, 361, 62, 11128, 72, 62, 20500, 62, 30281, 764, 198, 220, 48006, 9782, 1961, 44513, 13, 198, 220, 4810, 3824, 6158, 44513, 13, 628, 220, 220, 220, 42865, 6941, 62, 11128, 72, 62, 82, 32283, 62, 48553, 41876, 4526, 37, 5390, 1976, 565, 62, 11128, 72, 62, 82, 32283, 62, 48553, 764, 198, 220, 220, 220, 42865, 285, 85, 62, 15388, 62, 8094, 41876, 374, 16072, 2164, 764, 198, 220, 220, 220, 42865, 285, 85, 62, 9806, 62, 3919, 62, 1659, 62, 83, 6791, 41876, 1312, 764, 198, 220, 220, 220, 42865, 285, 85, 62, 3919, 62, 411, 549, 3411, 62, 261, 62, 18224, 41876, 1489, 2305, 62, 67, 764, 198, 220, 220, 220, 42865, 6941, 62, 11128, 72, 62, 20500, 62, 30281, 41876, 4526, 37, 5390, 1976, 361, 62, 11128, 72, 62, 20500, 62, 30281, 764, 198, 10619, 31631, 13, 628, 198, 198, 31631, 1168, 5097, 62, 34, 17614, 62, 6369, 2943, 3843, 1581, 62, 35009, 27389, 30023, 2538, 10979, 6234, 13, 628, 198, 220, 337, 36252, 23772, 13, 628, 220, 220, 220, 285, 85, 62, 15388, 62, 8094, 796, 21628, 62, 15388, 62, 8094, 13, 198, 220, 220, 220, 285, 85, 62, 9806, 62, 3919, 62, 1659, 62, 83, 6791, 796, 21628, 62, 9806, 62, 3919, 62, 1659, 62, 83, 6791, 13, 198, 220, 220, 220, 285, 85, 62, 3919, 62, 411, 549, 3411, 62, 261, 62, 18224, 796, 21628, 62, 3919, 62, 411, 549, 3411, 62, 261, 62, 18224, 13, 198, 220, 220, 220, 6941, 62, 11128, 72, 62, 20500, 62, 30281, 796, 33245, 62, 11128, 72, 62, 20500, 62, 30281, 13, 628, 220, 23578, 49273, 13, 628, 198, 220, 337, 36252, 1976, 361, 62, 11128, 72, 62, 18558, 38409, 62, 15271, 93, 37669, 62, 439, 13, 628, 220, 220, 220, 29244, 6158, 25334, 23680, 6941, 62, 11128, 72, 62, 82, 32283, 62, 48553, 198, 220, 220, 220, 220, 220, 7788, 15490, 2751, 198, 220, 220, 220, 220, 220, 220, 220, 21628, 62, 15388, 62, 8094, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 796, 285, 85, 62, 15388, 62, 8094, 198, 220, 220, 220, 220, 220, 220, 220, 21628, 62, 9806, 62, 3919, 62, 1659, 62, 83, 6791, 220, 220, 220, 220, 220, 220, 220, 220, 220, 796, 285, 85, 62, 9806, 62, 3919, 62, 1659, 62, 83, 6791, 198, 220, 220, 220, 220, 220, 220, 220, 21628, 62, 3919, 62, 411, 549, 3411, 62, 261, 62, 18224, 796, 285, 85, 62, 3919, 62, 411, 549, 3411, 62, 261, 62, 18224, 198, 220, 220, 220, 220, 220, 220, 220, 33245, 62, 11128, 72, 62, 20500, 62, 30281, 220, 220, 220, 220, 796, 6941, 62, 11128, 72, 62, 20500, 62,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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 ]
CLASS zcl_abapgit_object_sprx DEFINITION PUBLIC INHERITING FROM zcl_abapgit_objects_super FINAL. PUBLIC SECTION. INTERFACES: zif_abapgit_object. METHODS: constructor IMPORTING is_item TYPE zif_abapgit_definitions=>ty_item iv_language TYPE spras RAISING zcx_abapgit_exception. PROTECTED SECTION. PRIVATE SECTION. CONSTANTS: BEGIN OF c_proxy, data TYPE string VALUE 'PROXY_DATA' ##NO_TEXT, header TYPE string VALUE 'PROXY_HEADER' ##NO_TEXT, END OF c_proxy . DATA mv_object TYPE sproxhdr-object . DATA mv_obj_name TYPE sproxhdr-obj_name . METHODS load_db RETURNING VALUE(rs_data) TYPE sprx_db_data . METHODS get_object_and_name EXPORTING !ev_object TYPE sproxhdr-object !ev_obj_name TYPE sproxhdr-obj_name . METHODS delta_handling IMPORTING !ii_xml TYPE REF TO zif_abapgit_xml_input EXPORTING !et_sproxhdr_new TYPE sprx_hdr_t !et_sproxdat_new TYPE sprx_dat_t RAISING zcx_abapgit_exception . METHODS check_sprx_tadir RAISING zcx_abapgit_exception . METHODS save IMPORTING !it_sproxhdr_new TYPE sprx_hdr_t !it_sproxdat_new TYPE sprx_dat_t . ENDCLASS. CLASS zcl_abapgit_object_sprx IMPLEMENTATION. METHOD check_sprx_tadir. DATA: lt_abap_keys TYPE prx_abapobjects, ls_abap_key LIKE LINE OF lt_abap_keys, lx_error TYPE REF TO cx_proxy_gen_error. ls_abap_key-object = mv_object. ls_abap_key-obj_name = mv_obj_name. APPEND ls_abap_key TO lt_abap_keys. TRY. cl_proxy_utils=>check_sprx_tadir( objects = lt_abap_keys repair = abap_true ). CATCH cx_proxy_gen_error INTO lx_error. zcx_abapgit_exception=>raise_with_text( lx_error ). ENDTRY. ENDMETHOD. METHOD constructor. super->constructor( is_item = is_item iv_language = iv_language ). get_object_and_name( IMPORTING ev_object = mv_object ev_obj_name = mv_obj_name ). ENDMETHOD. METHOD delta_handling. DATA: lo_proxy TYPE REF TO cl_proxy, lt_delta TYPE sprx_t_delta, ls_db_data TYPE sprx_db_data. "add Delta-Handling to avoid that single objects created without the dependent objects. "Thereby the dependent objects will be deleted TRY. lo_proxy = cl_proxy_fact=>load_by_abap_name( object = mv_object obj_name = mv_obj_name ). lt_delta = lo_proxy->get_delta_all( ). ls_db_data = cl_proxy_db=>serialize( proxy = lo_proxy inactive = abap_false delta = lt_delta ). et_sproxhdr_new = ls_db_data-sproxhdr. et_sproxdat_new = ls_db_data-sproxdat. CATCH cx_proxy_gen_error. "No delta for this object -> create ii_xml->read( EXPORTING iv_name = c_proxy-header CHANGING cg_data = et_sproxhdr_new ). IF et_sproxhdr_new IS INITIAL. zcx_abapgit_exception=>raise( |SPRX - error deserialize: { ms_item-obj_name }| ). ENDIF. ii_xml->read( EXPORTING iv_name = c_proxy-data CHANGING cg_data = et_sproxdat_new ). ENDTRY. ENDMETHOD. METHOD get_object_and_name. ev_object = ms_item-obj_name(4). ev_obj_name = ms_item-obj_name+4. ENDMETHOD. METHOD load_db. * method cl_proxy_db=>load_by_abap_name does not exist in lower releases DATA: lt_packages TYPE prx_t_namespace_package, ls_package LIKE LINE OF lt_packages, ls_hdr TYPE prx_s_proxy_hdr, lv_package TYPE tadir-devclass, lt_ids TYPE prx_ids. cl_proxy_query=>get_hdr_by_abap_name( EXPORTING object = mv_object obj_name = mv_obj_name IMPORTING hdr = ls_hdr ). APPEND ls_hdr-id TO lt_ids. IF ls_hdr-gen_appl = 'WEBSERVICES'. cl_proxy_utils=>get_package( EXPORTING object = mv_object obj_name = mv_obj_name RECEIVING rval = lv_package EXCEPTIONS OTHERS = 0 ). ls_package-namespace = ls_hdr-esr_nspce. ls_package-prefix = ls_hdr-prefix. ls_package-package = lv_package. APPEND ls_package TO lt_packages. ENDIF. rs_data = cl_proxy_db=>load( inactive = abap_false ids = lt_ids generating_application = ls_hdr-gen_appl packages = lt_packages ). ENDMETHOD. METHOD save. DATA: lt_sproxhdr_old TYPE sprx_hdr_t, lt_sproxdat_old TYPE sprx_dat_t, lt_sproxsvar_old TYPE sprx_svar_t, lt_sproxintf_old TYPE sprx_matchintf_t, lt_sproxsvar_new TYPE sprx_svar_t, lt_sproxintf_new TYPE sprx_matchintf_t. cl_proxy_data=>db_save( sproxhdr_old = lt_sproxhdr_old sproxdat_old = lt_sproxdat_old sproxsvar_old = lt_sproxsvar_old sproxintf_old = lt_sproxintf_old sproxhdr_new = it_sproxhdr_new sproxdat_new = it_sproxdat_new sproxsvar_new = lt_sproxsvar_new sproxintf_new = lt_sproxintf_new ). ENDMETHOD. METHOD zif_abapgit_object~changed_by. DATA lv_changed_by TYPE sproxhdr-changed_by. rv_user = c_user_unknown. SELECT SINGLE changed_by FROM sproxhdr INTO lv_changed_by WHERE object = mv_object AND obj_name = mv_obj_name AND inactive = abap_false. IF sy-subrc = 0 AND lv_changed_by IS NOT INITIAL. rv_user = lv_changed_by. ENDIF. ENDMETHOD. METHOD zif_abapgit_object~delete. DATA: lv_object TYPE sproxhdr-object, lv_obj_name TYPE sproxhdr-obj_name, lv_return_code TYPE i, lt_log TYPE sprx_log_t. get_object_and_name( IMPORTING ev_object = lv_object ev_obj_name = lv_obj_name ). cl_proxy_data=>delete_single_proxy( EXPORTING object = lv_object obj_name = lv_obj_name CHANGING c_return_code = lv_return_code ct_log = lt_log ). IF lv_return_code <> 0. zcx_abapgit_exception=>raise( 'SPRX: Error from DELETE_SINGLE_PROXY' ). ENDIF. ENDMETHOD. METHOD zif_abapgit_object~deserialize. DATA: lt_sproxhdr_new TYPE sprx_hdr_t, lt_sproxdat_new TYPE sprx_dat_t. tadir_insert( iv_package ). delta_handling( EXPORTING ii_xml = io_xml IMPORTING et_sproxhdr_new = lt_sproxhdr_new et_sproxdat_new = lt_sproxdat_new ). save( it_sproxhdr_new = lt_sproxhdr_new it_sproxdat_new = lt_sproxdat_new ). COMMIT WORK. check_sprx_tadir( ). ENDMETHOD. METHOD zif_abapgit_object~exists. DATA: lv_status TYPE prx_status, lv_status_text TYPE prx_status_t. cl_proxy_data=>db_get_status( EXPORTING object = mv_object obj_name = mv_obj_name IMPORTING status = lv_status status_text = lv_status_text ). rv_bool = xsdbool( lv_status = if_proxy=>c_state_active ). ENDMETHOD. METHOD zif_abapgit_object~get_comparator. RETURN. ENDMETHOD. METHOD zif_abapgit_object~get_deserialize_steps. APPEND zif_abapgit_object=>gc_step_id-abap TO rt_steps. ENDMETHOD. METHOD zif_abapgit_object~get_metadata. rs_metadata = get_metadata( ). ENDMETHOD. METHOD zif_abapgit_object~is_active. rv_active = abap_true. "dummy implementation ENDMETHOD. METHOD zif_abapgit_object~is_locked. rv_is_locked = abap_false. ENDMETHOD. METHOD zif_abapgit_object~jump. " Covered by ZCL_ABAPGIT_OBJECTS=>JUMP ENDMETHOD. METHOD zif_abapgit_object~serialize. DATA: ls_sprx_db_data TYPE sprx_db_data. FIELD-SYMBOLS: <ls_sproxheader> LIKE LINE OF ls_sprx_db_data-sproxhdr, <ls_sproxdat> LIKE LINE OF ls_sprx_db_data-sproxdat. IF zif_abapgit_object~exists( ) = abap_false. RETURN. ENDIF. ls_sprx_db_data = load_db( ). DELETE ls_sprx_db_data-sproxhdr WHERE object <> mv_object OR obj_name <> mv_obj_name. DELETE ls_sprx_db_data-sproxdat WHERE object <> mv_object OR obj_name <> mv_obj_name. DELETE ls_sprx_db_data-sproxsvar WHERE object <> mv_object OR obj_name <> mv_obj_name. DELETE ls_sprx_db_data-sproxpck WHERE object <> mv_object OR obj_name <> mv_obj_name. DELETE ls_sprx_db_data-sproxintf WHERE object <> mv_object OR obj_name <> mv_obj_name. IF lines( ls_sprx_db_data-sproxhdr ) <> 1. zcx_abapgit_exception=>raise( |SPRX, no header found, { mv_object }, { mv_obj_name }| ). ENDIF. LOOP AT ls_sprx_db_data-sproxhdr ASSIGNING <ls_sproxheader>. CLEAR: <ls_sproxheader>-created_by, <ls_sproxheader>-created_on, <ls_sproxheader>-changed_by, <ls_sproxheader>-changed_on. ENDLOOP. LOOP AT ls_sprx_db_data-sproxdat ASSIGNING <ls_sproxdat>. CLEAR <ls_sproxdat>-warnings. ENDLOOP. io_xml->add( iv_name = c_proxy-header ig_data = ls_sprx_db_data-sproxhdr ). io_xml->add( iv_name = c_proxy-data ig_data = ls_sprx_db_data-sproxdat ). ENDMETHOD. ENDCLASS.
[ 31631, 1976, 565, 62, 397, 499, 18300, 62, 15252, 62, 34975, 87, 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, 25, 198, 220, 220, 220, 220, 220, 1976, 361, 62, 397, 499, 18300, 62, 15252, 13, 628, 220, 220, 220, 337, 36252, 50, 25, 198, 220, 220, 220, 220, 220, 23772, 198, 220, 220, 220, 220, 220, 220, 220, 30023, 9863, 2751, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 318, 62, 9186, 220, 220, 220, 220, 41876, 1976, 361, 62, 397, 499, 18300, 62, 4299, 50101, 14804, 774, 62, 9186, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 21628, 62, 16129, 41876, 7500, 292, 198, 220, 220, 220, 220, 220, 220, 220, 17926, 1797, 2751, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 1976, 66, 87, 62, 397, 499, 18300, 62, 1069, 4516, 13, 628, 220, 48006, 9782, 1961, 44513, 13, 198, 220, 4810, 3824, 6158, 44513, 13, 628, 220, 220, 220, 7102, 2257, 1565, 4694, 25, 198, 220, 220, 220, 220, 220, 347, 43312, 3963, 269, 62, 36436, 11, 198, 220, 220, 220, 220, 220, 220, 220, 1366, 220, 220, 41876, 4731, 26173, 8924, 705, 31190, 34278, 62, 26947, 6, 22492, 15285, 62, 32541, 11, 198, 220, 220, 220, 220, 220, 220, 220, 13639, 41876, 4731, 26173, 8924, 705, 31190, 34278, 62, 37682, 1137, 6, 22492, 15285, 62, 32541, 11, 198, 220, 220, 220, 220, 220, 23578, 3963, 269, 62, 36436, 764, 198, 220, 220, 220, 42865, 285, 85, 62, 15252, 41876, 599, 13907, 71, 7109, 12, 15252, 764, 198, 220, 220, 220, 42865, 285, 85, 62, 26801, 62, 3672, 41876, 599, 13907, 71, 7109, 12, 26801, 62, 3672, 764, 628, 220, 220, 220, 337, 36252, 50, 3440, 62, 9945, 198, 220, 220, 220, 220, 220, 30826, 4261, 15871, 198, 220, 220, 220, 220, 220, 220, 220, 26173, 8924, 7, 3808, 62, 7890, 8, 41876, 7500, 87, 62, 9945, 62, 7890, 764, 198, 220, 220, 220, 337, 36252, 50, 651, 62, 15252, 62, 392, 62, 3672, 198, 220, 220, 220, 220, 220, 7788, 15490, 2751, 198, 220, 220, 220, 220, 220, 220, 220, 5145, 1990, 62, 15252, 220, 220, 41876, 599, 13907, 71, 7109, 12, 15252, 198, 220, 220, 220, 220, 220, 220, 220, 5145, 1990, 62, 26801, 62, 3672, 41876, 599, 13907, 71, 7109, 12, 26801, 62, 3672, 764, 198, 220, 220, 220, 337, 36252, 50, 25979, 62, 4993, 1359, 198, 220, 220, 220, 220, 220, 30023, 9863, 2751, 198, 220, 220, 220, 220, 220, 220, 220, 5145, 4178, 62, 19875, 220, 220, 220, 220, 220, 220, 220, 220, 220, 41876, 4526, 37, 5390, 1976, 361, 62, 397, 499, 18300, 62, 19875, 62, 15414, 198, 220, 220, 220, 220, 220, 7788, 15490, 2751, 198, 220, 220, 220, 220, 220, 220, 220, 5145, 316, 62, 82, 1676, 87, 71, 7109, 62, 3605, 41876, 7500, 87, 62, 71, 7109, 62, 83, 198, 220, 220, 220, 220, 220, 220, 220, 5145, 316, 62, 82, 1676, 87, 19608, 62, 3605, 41876, 7500, 87, 62, 19608, 62, 83, 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, 2198, 62, 34975, 87, 62, 83, 324, 343, 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, 3613, 198, 220, 220, 220, 220, 220, 30023, 9863, 2751, 198, 220, 220, 220, 220, 220, 220, 220, 5145, 270, 62, 82, 1676, 87, 71, 7109, 62, 3605, 41876, 7500, 87, 62, 71, 7109, 62, 83, 198, 220, 220, 220, 220, 220, 220, 220, 5145, 270, 62, 82, 1676, 87, 19608, 62, 3605, 41876, 7500, 87, 62, 19608, 62, 83, 764, 198, 10619, 31631, 13, 628, 198, 198, 31631, 1976, 565, 62, 397, 499, 18300, 62, 15252, 62, 34975, 87, 30023, 2538, 10979, 6234, 13, 628, 198, 220, 337, 36252, 2198, 62, 34975, 87, 62, 83, 324, 343, 13, 628, 220, 220, 220, 42865, 25, 300, 83, 62, 397, 499, 62, 13083, 41876, 778, 87, 62, 397, 499, 48205, 11, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 43979, 62, 397, 499, 62, 2539, 220, 34178, 48920, 3963, 300, 83, 62, 397, 499, 62, 13083, 11, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 300, 87, 62, 18224, 220, 220, 220, 220, 41876, 4526, 37, 5390, 43213, 62, 36436, 62, 5235, 62, 18224, 13, 628, 220, 220, 220, 43979, 62, 397, 499, 62, 2539, 12, 15252, 220, 220, 796, 285, 85, 62, 15252, 13, 198, 220, 220, 220, 43979, 62, 397, 499, 62, 2539, 12, 26801, 62, 3672, 796, 285, 85, 62, 26801, 62, 3672, 13, 198, 220, 220, 220, 43504, 10619, 43979, 62, 397, 499, 62, 2539, 5390, 300, 83, 62, 397, 499, 62, 13083, 13, 628, 220, 220, 220, 7579, 56, 13, 198, 220, 220, 220, 220, 220, 220, 220, 537, 62, 36436, 62, 26791, 14804, 9122, 62, 34975, 87, 62, 83, 324, 343, 7, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 5563, 796, 300, 83, 62, 397, 499, 62, 13083, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 9185, 220, 796, 450, 499, 62, 7942, 6739, 628, 220, 220, 220, 220, 220, 327, 11417, 43213, 62, 36436, 62, 5235, 62, 18224, 39319, 300, 87, 62, 18224, 13, 198, 220, 220, 220, 220, 220, 220, 220, 1976, 66, 87, 62, 397, 499, 18300, 62, 1069, 4516, 14804, 40225, 62, 4480, 62, 5239, 7, 300, 87, 62, 18224, 6739, 198, 220, 220, 220, 23578, 40405, 13, 628, 220, 23578, 49273, 13, 628, 198, 220, 337, 36252, 23772, 13, 628, 220, 220, 220, 2208, 3784, 41571, 273, 7, 318, 62, 9186, 220, 220, 220, 220, 796, 318, 62, 9186, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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 ]
class ZCL_ZEWM_ROBCO_DPC definition public inheriting from /IWBEP/CL_MGW_PUSH_ABS_DATA abstract create public . public section. interfaces /IWBEP/IF_SB_DPC_COMM_SERVICES . interfaces /IWBEP/IF_SB_GEN_DPC_INJECTION . methods /IWBEP/IF_MGW_APPL_SRV_RUNTIME~GET_ENTITYSET redefinition . methods /IWBEP/IF_MGW_APPL_SRV_RUNTIME~GET_ENTITY redefinition . methods /IWBEP/IF_MGW_APPL_SRV_RUNTIME~UPDATE_ENTITY redefinition . methods /IWBEP/IF_MGW_APPL_SRV_RUNTIME~CREATE_ENTITY redefinition . methods /IWBEP/IF_MGW_APPL_SRV_RUNTIME~DELETE_ENTITY redefinition . protected section. data mo_injection type ref to /IWBEP/IF_SB_GEN_DPC_INJECTION . methods WAREHOUSEORDERSE_UPDATE_ENTITY importing !IV_ENTITY_NAME type STRING !IV_ENTITY_SET_NAME type STRING !IV_SOURCE_NAME type STRING !IT_KEY_TAB type /IWBEP/T_MGW_NAME_VALUE_PAIR !IO_TECH_REQUEST_CONTEXT type ref to /IWBEP/IF_MGW_REQ_ENTITY_U optional !IT_NAVIGATION_PATH type /IWBEP/T_MGW_NAVIGATION_PATH !IO_DATA_PROVIDER type ref to /IWBEP/IF_MGW_ENTRY_PROVIDER optional exporting !ER_ENTITY type ZCL_ZEWM_ROBCO_MPC=>TS_WAREHOUSEORDER raising /IWBEP/CX_MGW_BUSI_EXCEPTION /IWBEP/CX_MGW_TECH_EXCEPTION . methods WAREHOUSEORDERSE_GET_ENTITYSET importing !IV_ENTITY_NAME type STRING !IV_ENTITY_SET_NAME type STRING !IV_SOURCE_NAME type STRING !IT_FILTER_SELECT_OPTIONS type /IWBEP/T_MGW_SELECT_OPTION !IS_PAGING type /IWBEP/S_MGW_PAGING !IT_KEY_TAB type /IWBEP/T_MGW_NAME_VALUE_PAIR !IT_NAVIGATION_PATH type /IWBEP/T_MGW_NAVIGATION_PATH !IT_ORDER type /IWBEP/T_MGW_SORTING_ORDER !IV_FILTER_STRING type STRING !IV_SEARCH_STRING type STRING !IO_TECH_REQUEST_CONTEXT type ref to /IWBEP/IF_MGW_REQ_ENTITYSET optional exporting !ET_ENTITYSET type ZCL_ZEWM_ROBCO_MPC=>TT_WAREHOUSEORDER !ES_RESPONSE_CONTEXT type /IWBEP/IF_MGW_APPL_SRV_RUNTIME=>TY_S_MGW_RESPONSE_CONTEXT raising /IWBEP/CX_MGW_BUSI_EXCEPTION /IWBEP/CX_MGW_TECH_EXCEPTION . methods WAREHOUSEORDERSE_GET_ENTITY importing !IV_ENTITY_NAME type STRING !IV_ENTITY_SET_NAME type STRING !IV_SOURCE_NAME type STRING !IT_KEY_TAB type /IWBEP/T_MGW_NAME_VALUE_PAIR !IO_REQUEST_OBJECT type ref to /IWBEP/IF_MGW_REQ_ENTITY optional !IO_TECH_REQUEST_CONTEXT type ref to /IWBEP/IF_MGW_REQ_ENTITY optional !IT_NAVIGATION_PATH type /IWBEP/T_MGW_NAVIGATION_PATH exporting !ER_ENTITY type ZCL_ZEWM_ROBCO_MPC=>TS_WAREHOUSEORDER !ES_RESPONSE_CONTEXT type /IWBEP/IF_MGW_APPL_SRV_RUNTIME=>TY_S_MGW_RESPONSE_ENTITY_CNTXT raising /IWBEP/CX_MGW_BUSI_EXCEPTION /IWBEP/CX_MGW_TECH_EXCEPTION . methods WAREHOUSEORDERSE_DELETE_ENTITY importing !IV_ENTITY_NAME type STRING !IV_ENTITY_SET_NAME type STRING !IV_SOURCE_NAME type STRING !IT_KEY_TAB type /IWBEP/T_MGW_NAME_VALUE_PAIR !IO_TECH_REQUEST_CONTEXT type ref to /IWBEP/IF_MGW_REQ_ENTITY_D optional !IT_NAVIGATION_PATH type /IWBEP/T_MGW_NAVIGATION_PATH raising /IWBEP/CX_MGW_BUSI_EXCEPTION /IWBEP/CX_MGW_TECH_EXCEPTION . methods WAREHOUSEORDERSE_CREATE_ENTITY importing !IV_ENTITY_NAME type STRING !IV_ENTITY_SET_NAME type STRING !IV_SOURCE_NAME type STRING !IT_KEY_TAB type /IWBEP/T_MGW_NAME_VALUE_PAIR !IO_TECH_REQUEST_CONTEXT type ref to /IWBEP/IF_MGW_REQ_ENTITY_C optional !IT_NAVIGATION_PATH type /IWBEP/T_MGW_NAVIGATION_PATH !IO_DATA_PROVIDER type ref to /IWBEP/IF_MGW_ENTRY_PROVIDER optional exporting !ER_ENTITY type ZCL_ZEWM_ROBCO_MPC=>TS_WAREHOUSEORDER raising /IWBEP/CX_MGW_BUSI_EXCEPTION /IWBEP/CX_MGW_TECH_EXCEPTION . methods WAREHOUSENUMBERS_UPDATE_ENTITY importing !IV_ENTITY_NAME type STRING !IV_ENTITY_SET_NAME type STRING !IV_SOURCE_NAME type STRING !IT_KEY_TAB type /IWBEP/T_MGW_NAME_VALUE_PAIR !IO_TECH_REQUEST_CONTEXT type ref to /IWBEP/IF_MGW_REQ_ENTITY_U optional !IT_NAVIGATION_PATH type /IWBEP/T_MGW_NAVIGATION_PATH !IO_DATA_PROVIDER type ref to /IWBEP/IF_MGW_ENTRY_PROVIDER optional exporting !ER_ENTITY type ZCL_ZEWM_ROBCO_MPC=>TS_WAREHOUSENUMBER raising /IWBEP/CX_MGW_BUSI_EXCEPTION /IWBEP/CX_MGW_TECH_EXCEPTION . methods WAREHOUSENUMBERS_GET_ENTITYSET importing !IV_ENTITY_NAME type STRING !IV_ENTITY_SET_NAME type STRING !IV_SOURCE_NAME type STRING !IT_FILTER_SELECT_OPTIONS type /IWBEP/T_MGW_SELECT_OPTION !IS_PAGING type /IWBEP/S_MGW_PAGING !IT_KEY_TAB type /IWBEP/T_MGW_NAME_VALUE_PAIR !IT_NAVIGATION_PATH type /IWBEP/T_MGW_NAVIGATION_PATH !IT_ORDER type /IWBEP/T_MGW_SORTING_ORDER !IV_FILTER_STRING type STRING !IV_SEARCH_STRING type STRING !IO_TECH_REQUEST_CONTEXT type ref to /IWBEP/IF_MGW_REQ_ENTITYSET optional exporting !ET_ENTITYSET type ZCL_ZEWM_ROBCO_MPC=>TT_WAREHOUSENUMBER !ES_RESPONSE_CONTEXT type /IWBEP/IF_MGW_APPL_SRV_RUNTIME=>TY_S_MGW_RESPONSE_CONTEXT raising /IWBEP/CX_MGW_BUSI_EXCEPTION /IWBEP/CX_MGW_TECH_EXCEPTION . methods WAREHOUSENUMBERS_GET_ENTITY importing !IV_ENTITY_NAME type STRING !IV_ENTITY_SET_NAME type STRING !IV_SOURCE_NAME type STRING !IT_KEY_TAB type /IWBEP/T_MGW_NAME_VALUE_PAIR !IO_REQUEST_OBJECT type ref to /IWBEP/IF_MGW_REQ_ENTITY optional !IO_TECH_REQUEST_CONTEXT type ref to /IWBEP/IF_MGW_REQ_ENTITY optional !IT_NAVIGATION_PATH type /IWBEP/T_MGW_NAVIGATION_PATH exporting !ER_ENTITY type ZCL_ZEWM_ROBCO_MPC=>TS_WAREHOUSENUMBER !ES_RESPONSE_CONTEXT type /IWBEP/IF_MGW_APPL_SRV_RUNTIME=>TY_S_MGW_RESPONSE_ENTITY_CNTXT raising /IWBEP/CX_MGW_BUSI_EXCEPTION /IWBEP/CX_MGW_TECH_EXCEPTION . methods WAREHOUSENUMBERS_DELETE_ENTITY importing !IV_ENTITY_NAME type STRING !IV_ENTITY_SET_NAME type STRING !IV_SOURCE_NAME type STRING !IT_KEY_TAB type /IWBEP/T_MGW_NAME_VALUE_PAIR !IO_TECH_REQUEST_CONTEXT type ref to /IWBEP/IF_MGW_REQ_ENTITY_D optional !IT_NAVIGATION_PATH type /IWBEP/T_MGW_NAVIGATION_PATH raising /IWBEP/CX_MGW_BUSI_EXCEPTION /IWBEP/CX_MGW_TECH_EXCEPTION . methods WAREHOUSENUMBERS_CREATE_ENTITY importing !IV_ENTITY_NAME type STRING !IV_ENTITY_SET_NAME type STRING !IV_SOURCE_NAME type STRING !IT_KEY_TAB type /IWBEP/T_MGW_NAME_VALUE_PAIR !IO_TECH_REQUEST_CONTEXT type ref to /IWBEP/IF_MGW_REQ_ENTITY_C optional !IT_NAVIGATION_PATH type /IWBEP/T_MGW_NAVIGATION_PATH !IO_DATA_PROVIDER type ref to /IWBEP/IF_MGW_ENTRY_PROVIDER optional exporting !ER_ENTITY type ZCL_ZEWM_ROBCO_MPC=>TS_WAREHOUSENUMBER raising /IWBEP/CX_MGW_BUSI_EXCEPTION /IWBEP/CX_MGW_TECH_EXCEPTION . methods WAREHOUSEDESCRIP_UPDATE_ENTITY importing !IV_ENTITY_NAME type STRING !IV_ENTITY_SET_NAME type STRING !IV_SOURCE_NAME type STRING !IT_KEY_TAB type /IWBEP/T_MGW_NAME_VALUE_PAIR !IO_TECH_REQUEST_CONTEXT type ref to /IWBEP/IF_MGW_REQ_ENTITY_U optional !IT_NAVIGATION_PATH type /IWBEP/T_MGW_NAVIGATION_PATH !IO_DATA_PROVIDER type ref to /IWBEP/IF_MGW_ENTRY_PROVIDER optional exporting !ER_ENTITY type ZCL_ZEWM_ROBCO_MPC=>TS_WAREHOUSEDESCRIPTION raising /IWBEP/CX_MGW_BUSI_EXCEPTION /IWBEP/CX_MGW_TECH_EXCEPTION . methods WAREHOUSEDESCRIP_GET_ENTITYSET importing !IV_ENTITY_NAME type STRING !IV_ENTITY_SET_NAME type STRING !IV_SOURCE_NAME type STRING !IT_FILTER_SELECT_OPTIONS type /IWBEP/T_MGW_SELECT_OPTION !IS_PAGING type /IWBEP/S_MGW_PAGING !IT_KEY_TAB type /IWBEP/T_MGW_NAME_VALUE_PAIR !IT_NAVIGATION_PATH type /IWBEP/T_MGW_NAVIGATION_PATH !IT_ORDER type /IWBEP/T_MGW_SORTING_ORDER !IV_FILTER_STRING type STRING !IV_SEARCH_STRING type STRING !IO_TECH_REQUEST_CONTEXT type ref to /IWBEP/IF_MGW_REQ_ENTITYSET optional exporting !ET_ENTITYSET type ZCL_ZEWM_ROBCO_MPC=>TT_WAREHOUSEDESCRIPTION !ES_RESPONSE_CONTEXT type /IWBEP/IF_MGW_APPL_SRV_RUNTIME=>TY_S_MGW_RESPONSE_CONTEXT raising /IWBEP/CX_MGW_BUSI_EXCEPTION /IWBEP/CX_MGW_TECH_EXCEPTION . methods WAREHOUSEDESCRIP_GET_ENTITY importing !IV_ENTITY_NAME type STRING !IV_ENTITY_SET_NAME type STRING !IV_SOURCE_NAME type STRING !IT_KEY_TAB type /IWBEP/T_MGW_NAME_VALUE_PAIR !IO_REQUEST_OBJECT type ref to /IWBEP/IF_MGW_REQ_ENTITY optional !IO_TECH_REQUEST_CONTEXT type ref to /IWBEP/IF_MGW_REQ_ENTITY optional !IT_NAVIGATION_PATH type /IWBEP/T_MGW_NAVIGATION_PATH exporting !ER_ENTITY type ZCL_ZEWM_ROBCO_MPC=>TS_WAREHOUSEDESCRIPTION !ES_RESPONSE_CONTEXT type /IWBEP/IF_MGW_APPL_SRV_RUNTIME=>TY_S_MGW_RESPONSE_ENTITY_CNTXT raising /IWBEP/CX_MGW_BUSI_EXCEPTION /IWBEP/CX_MGW_TECH_EXCEPTION . methods WAREHOUSEDESCRIP_DELETE_ENTITY importing !IV_ENTITY_NAME type STRING !IV_ENTITY_SET_NAME type STRING !IV_SOURCE_NAME type STRING !IT_KEY_TAB type /IWBEP/T_MGW_NAME_VALUE_PAIR !IO_TECH_REQUEST_CONTEXT type ref to /IWBEP/IF_MGW_REQ_ENTITY_D optional !IT_NAVIGATION_PATH type /IWBEP/T_MGW_NAVIGATION_PATH raising /IWBEP/CX_MGW_BUSI_EXCEPTION /IWBEP/CX_MGW_TECH_EXCEPTION . methods WAREHOUSEDESCRIP_CREATE_ENTITY importing !IV_ENTITY_NAME type STRING !IV_ENTITY_SET_NAME type STRING !IV_SOURCE_NAME type STRING !IT_KEY_TAB type /IWBEP/T_MGW_NAME_VALUE_PAIR !IO_TECH_REQUEST_CONTEXT type ref to /IWBEP/IF_MGW_REQ_ENTITY_C optional !IT_NAVIGATION_PATH type /IWBEP/T_MGW_NAVIGATION_PATH !IO_DATA_PROVIDER type ref to /IWBEP/IF_MGW_ENTRY_PROVIDER optional exporting !ER_ENTITY type ZCL_ZEWM_ROBCO_MPC=>TS_WAREHOUSEDESCRIPTION raising /IWBEP/CX_MGW_BUSI_EXCEPTION /IWBEP/CX_MGW_TECH_EXCEPTION . methods STORAGEBINSET_UPDATE_ENTITY importing !IV_ENTITY_NAME type STRING !IV_ENTITY_SET_NAME type STRING !IV_SOURCE_NAME type STRING !IT_KEY_TAB type /IWBEP/T_MGW_NAME_VALUE_PAIR !IO_TECH_REQUEST_CONTEXT type ref to /IWBEP/IF_MGW_REQ_ENTITY_U optional !IT_NAVIGATION_PATH type /IWBEP/T_MGW_NAVIGATION_PATH !IO_DATA_PROVIDER type ref to /IWBEP/IF_MGW_ENTRY_PROVIDER optional exporting !ER_ENTITY type ZCL_ZEWM_ROBCO_MPC=>TS_STORAGEBIN raising /IWBEP/CX_MGW_BUSI_EXCEPTION /IWBEP/CX_MGW_TECH_EXCEPTION . methods STORAGEBINSET_GET_ENTITYSET importing !IV_ENTITY_NAME type STRING !IV_ENTITY_SET_NAME type STRING !IV_SOURCE_NAME type STRING !IT_FILTER_SELECT_OPTIONS type /IWBEP/T_MGW_SELECT_OPTION !IS_PAGING type /IWBEP/S_MGW_PAGING !IT_KEY_TAB type /IWBEP/T_MGW_NAME_VALUE_PAIR !IT_NAVIGATION_PATH type /IWBEP/T_MGW_NAVIGATION_PATH !IT_ORDER type /IWBEP/T_MGW_SORTING_ORDER !IV_FILTER_STRING type STRING !IV_SEARCH_STRING type STRING !IO_TECH_REQUEST_CONTEXT type ref to /IWBEP/IF_MGW_REQ_ENTITYSET optional exporting !ET_ENTITYSET type ZCL_ZEWM_ROBCO_MPC=>TT_STORAGEBIN !ES_RESPONSE_CONTEXT type /IWBEP/IF_MGW_APPL_SRV_RUNTIME=>TY_S_MGW_RESPONSE_CONTEXT raising /IWBEP/CX_MGW_BUSI_EXCEPTION /IWBEP/CX_MGW_TECH_EXCEPTION . methods STORAGEBINSET_GET_ENTITY importing !IV_ENTITY_NAME type STRING !IV_ENTITY_SET_NAME type STRING !IV_SOURCE_NAME type STRING !IT_KEY_TAB type /IWBEP/T_MGW_NAME_VALUE_PAIR !IO_REQUEST_OBJECT type ref to /IWBEP/IF_MGW_REQ_ENTITY optional !IO_TECH_REQUEST_CONTEXT type ref to /IWBEP/IF_MGW_REQ_ENTITY optional !IT_NAVIGATION_PATH type /IWBEP/T_MGW_NAVIGATION_PATH exporting !ER_ENTITY type ZCL_ZEWM_ROBCO_MPC=>TS_STORAGEBIN !ES_RESPONSE_CONTEXT type /IWBEP/IF_MGW_APPL_SRV_RUNTIME=>TY_S_MGW_RESPONSE_ENTITY_CNTXT raising /IWBEP/CX_MGW_BUSI_EXCEPTION /IWBEP/CX_MGW_TECH_EXCEPTION . methods STORAGEBINSET_DELETE_ENTITY importing !IV_ENTITY_NAME type STRING !IV_ENTITY_SET_NAME type STRING !IV_SOURCE_NAME type STRING !IT_KEY_TAB type /IWBEP/T_MGW_NAME_VALUE_PAIR !IO_TECH_REQUEST_CONTEXT type ref to /IWBEP/IF_MGW_REQ_ENTITY_D optional !IT_NAVIGATION_PATH type /IWBEP/T_MGW_NAVIGATION_PATH raising /IWBEP/CX_MGW_BUSI_EXCEPTION /IWBEP/CX_MGW_TECH_EXCEPTION . methods STORAGEBINSET_CREATE_ENTITY importing !IV_ENTITY_NAME type STRING !IV_ENTITY_SET_NAME type STRING !IV_SOURCE_NAME type STRING !IT_KEY_TAB type /IWBEP/T_MGW_NAME_VALUE_PAIR !IO_TECH_REQUEST_CONTEXT type ref to /IWBEP/IF_MGW_REQ_ENTITY_C optional !IT_NAVIGATION_PATH type /IWBEP/T_MGW_NAVIGATION_PATH !IO_DATA_PROVIDER type ref to /IWBEP/IF_MGW_ENTRY_PROVIDER optional exporting !ER_ENTITY type ZCL_ZEWM_ROBCO_MPC=>TS_STORAGEBIN raising /IWBEP/CX_MGW_BUSI_EXCEPTION /IWBEP/CX_MGW_TECH_EXCEPTION . methods ROBOTSET_UPDATE_ENTITY importing !IV_ENTITY_NAME type STRING !IV_ENTITY_SET_NAME type STRING !IV_SOURCE_NAME type STRING !IT_KEY_TAB type /IWBEP/T_MGW_NAME_VALUE_PAIR !IO_TECH_REQUEST_CONTEXT type ref to /IWBEP/IF_MGW_REQ_ENTITY_U optional !IT_NAVIGATION_PATH type /IWBEP/T_MGW_NAVIGATION_PATH !IO_DATA_PROVIDER type ref to /IWBEP/IF_MGW_ENTRY_PROVIDER optional exporting !ER_ENTITY type ZCL_ZEWM_ROBCO_MPC=>TS_ROBOT raising /IWBEP/CX_MGW_BUSI_EXCEPTION /IWBEP/CX_MGW_TECH_EXCEPTION . methods ROBOTSET_GET_ENTITYSET importing !IV_ENTITY_NAME type STRING !IV_ENTITY_SET_NAME type STRING !IV_SOURCE_NAME type STRING !IT_FILTER_SELECT_OPTIONS type /IWBEP/T_MGW_SELECT_OPTION !IS_PAGING type /IWBEP/S_MGW_PAGING !IT_KEY_TAB type /IWBEP/T_MGW_NAME_VALUE_PAIR !IT_NAVIGATION_PATH type /IWBEP/T_MGW_NAVIGATION_PATH !IT_ORDER type /IWBEP/T_MGW_SORTING_ORDER !IV_FILTER_STRING type STRING !IV_SEARCH_STRING type STRING !IO_TECH_REQUEST_CONTEXT type ref to /IWBEP/IF_MGW_REQ_ENTITYSET optional exporting !ET_ENTITYSET type ZCL_ZEWM_ROBCO_MPC=>TT_ROBOT !ES_RESPONSE_CONTEXT type /IWBEP/IF_MGW_APPL_SRV_RUNTIME=>TY_S_MGW_RESPONSE_CONTEXT raising /IWBEP/CX_MGW_BUSI_EXCEPTION /IWBEP/CX_MGW_TECH_EXCEPTION . methods ROBOTSET_GET_ENTITY importing !IV_ENTITY_NAME type STRING !IV_ENTITY_SET_NAME type STRING !IV_SOURCE_NAME type STRING !IT_KEY_TAB type /IWBEP/T_MGW_NAME_VALUE_PAIR !IO_REQUEST_OBJECT type ref to /IWBEP/IF_MGW_REQ_ENTITY optional !IO_TECH_REQUEST_CONTEXT type ref to /IWBEP/IF_MGW_REQ_ENTITY optional !IT_NAVIGATION_PATH type /IWBEP/T_MGW_NAVIGATION_PATH exporting !ER_ENTITY type ZCL_ZEWM_ROBCO_MPC=>TS_ROBOT !ES_RESPONSE_CONTEXT type /IWBEP/IF_MGW_APPL_SRV_RUNTIME=>TY_S_MGW_RESPONSE_ENTITY_CNTXT raising /IWBEP/CX_MGW_BUSI_EXCEPTION /IWBEP/CX_MGW_TECH_EXCEPTION . methods ROBOTSET_DELETE_ENTITY importing !IV_ENTITY_NAME type STRING !IV_ENTITY_SET_NAME type STRING !IV_SOURCE_NAME type STRING !IT_KEY_TAB type /IWBEP/T_MGW_NAME_VALUE_PAIR !IO_TECH_REQUEST_CONTEXT type ref to /IWBEP/IF_MGW_REQ_ENTITY_D optional !IT_NAVIGATION_PATH type /IWBEP/T_MGW_NAVIGATION_PATH raising /IWBEP/CX_MGW_BUSI_EXCEPTION /IWBEP/CX_MGW_TECH_EXCEPTION . methods ROBOTSET_CREATE_ENTITY importing !IV_ENTITY_NAME type STRING !IV_ENTITY_SET_NAME type STRING !IV_SOURCE_NAME type STRING !IT_KEY_TAB type /IWBEP/T_MGW_NAME_VALUE_PAIR !IO_TECH_REQUEST_CONTEXT type ref to /IWBEP/IF_MGW_REQ_ENTITY_C optional !IT_NAVIGATION_PATH type /IWBEP/T_MGW_NAVIGATION_PATH !IO_DATA_PROVIDER type ref to /IWBEP/IF_MGW_ENTRY_PROVIDER optional exporting !ER_ENTITY type ZCL_ZEWM_ROBCO_MPC=>TS_ROBOT raising /IWBEP/CX_MGW_BUSI_EXCEPTION /IWBEP/CX_MGW_TECH_EXCEPTION . methods OPENWAREHOUSETAS_UPDATE_ENTITY importing !IV_ENTITY_NAME type STRING !IV_ENTITY_SET_NAME type STRING !IV_SOURCE_NAME type STRING !IT_KEY_TAB type /IWBEP/T_MGW_NAME_VALUE_PAIR !IO_TECH_REQUEST_CONTEXT type ref to /IWBEP/IF_MGW_REQ_ENTITY_U optional !IT_NAVIGATION_PATH type /IWBEP/T_MGW_NAVIGATION_PATH !IO_DATA_PROVIDER type ref to /IWBEP/IF_MGW_ENTRY_PROVIDER optional exporting !ER_ENTITY type ZCL_ZEWM_ROBCO_MPC=>TS_OPENWAREHOUSETASK raising /IWBEP/CX_MGW_BUSI_EXCEPTION /IWBEP/CX_MGW_TECH_EXCEPTION . methods OPENWAREHOUSETAS_GET_ENTITYSET importing !IV_ENTITY_NAME type STRING !IV_ENTITY_SET_NAME type STRING !IV_SOURCE_NAME type STRING !IT_FILTER_SELECT_OPTIONS type /IWBEP/T_MGW_SELECT_OPTION !IS_PAGING type /IWBEP/S_MGW_PAGING !IT_KEY_TAB type /IWBEP/T_MGW_NAME_VALUE_PAIR !IT_NAVIGATION_PATH type /IWBEP/T_MGW_NAVIGATION_PATH !IT_ORDER type /IWBEP/T_MGW_SORTING_ORDER !IV_FILTER_STRING type STRING !IV_SEARCH_STRING type STRING !IO_TECH_REQUEST_CONTEXT type ref to /IWBEP/IF_MGW_REQ_ENTITYSET optional exporting !ET_ENTITYSET type ZCL_ZEWM_ROBCO_MPC=>TT_OPENWAREHOUSETASK !ES_RESPONSE_CONTEXT type /IWBEP/IF_MGW_APPL_SRV_RUNTIME=>TY_S_MGW_RESPONSE_CONTEXT raising /IWBEP/CX_MGW_BUSI_EXCEPTION /IWBEP/CX_MGW_TECH_EXCEPTION . methods OPENWAREHOUSETAS_GET_ENTITY importing !IV_ENTITY_NAME type STRING !IV_ENTITY_SET_NAME type STRING !IV_SOURCE_NAME type STRING !IT_KEY_TAB type /IWBEP/T_MGW_NAME_VALUE_PAIR !IO_REQUEST_OBJECT type ref to /IWBEP/IF_MGW_REQ_ENTITY optional !IO_TECH_REQUEST_CONTEXT type ref to /IWBEP/IF_MGW_REQ_ENTITY optional !IT_NAVIGATION_PATH type /IWBEP/T_MGW_NAVIGATION_PATH exporting !ER_ENTITY type ZCL_ZEWM_ROBCO_MPC=>TS_OPENWAREHOUSETASK !ES_RESPONSE_CONTEXT type /IWBEP/IF_MGW_APPL_SRV_RUNTIME=>TY_S_MGW_RESPONSE_ENTITY_CNTXT raising /IWBEP/CX_MGW_BUSI_EXCEPTION /IWBEP/CX_MGW_TECH_EXCEPTION . methods OPENWAREHOUSETAS_DELETE_ENTITY importing !IV_ENTITY_NAME type STRING !IV_ENTITY_SET_NAME type STRING !IV_SOURCE_NAME type STRING !IT_KEY_TAB type /IWBEP/T_MGW_NAME_VALUE_PAIR !IO_TECH_REQUEST_CONTEXT type ref to /IWBEP/IF_MGW_REQ_ENTITY_D optional !IT_NAVIGATION_PATH type /IWBEP/T_MGW_NAVIGATION_PATH raising /IWBEP/CX_MGW_BUSI_EXCEPTION /IWBEP/CX_MGW_TECH_EXCEPTION . methods OPENWAREHOUSETAS_CREATE_ENTITY importing !IV_ENTITY_NAME type STRING !IV_ENTITY_SET_NAME type STRING !IV_SOURCE_NAME type STRING !IT_KEY_TAB type /IWBEP/T_MGW_NAME_VALUE_PAIR !IO_TECH_REQUEST_CONTEXT type ref to /IWBEP/IF_MGW_REQ_ENTITY_C optional !IT_NAVIGATION_PATH type /IWBEP/T_MGW_NAVIGATION_PATH !IO_DATA_PROVIDER type ref to /IWBEP/IF_MGW_ENTRY_PROVIDER optional exporting !ER_ENTITY type ZCL_ZEWM_ROBCO_MPC=>TS_OPENWAREHOUSETASK raising /IWBEP/CX_MGW_BUSI_EXCEPTION /IWBEP/CX_MGW_TECH_EXCEPTION . methods CHECK_SUBSCRIPTION_AUTHORITY redefinition . private section. ENDCLASS. CLASS ZCL_ZEWM_ROBCO_DPC IMPLEMENTATION. method /IWBEP/IF_MGW_APPL_SRV_RUNTIME~CREATE_ENTITY. *&----------------------------------------------------------------------------------------------* *& Include /IWBEP/DPC_TEMP_CRT_ENTITY_BASE *&* This class has been generated on 16.04.2019 08:53:09 in client 100 *&* *&* WARNING--> NEVER MODIFY THIS CLASS <--WARNING *&* If you want to change the DPC implementation, use the *&* generated methods inside the DPC provider subclass - ZCL_ZEWM_ROBCO_DPC_EXT *&-----------------------------------------------------------------------------------------------* DATA openwarehousetas_create_entity TYPE zcl_zewm_robco_mpc=>ts_openwarehousetask. DATA warehouseorderse_create_entity TYPE zcl_zewm_robco_mpc=>ts_warehouseorder. DATA robotset_create_entity TYPE zcl_zewm_robco_mpc=>ts_robot. DATA storagebinset_create_entity TYPE zcl_zewm_robco_mpc=>ts_storagebin. DATA warehousenumbers_create_entity TYPE zcl_zewm_robco_mpc=>ts_warehousenumber. DATA warehousedescrip_create_entity TYPE zcl_zewm_robco_mpc=>ts_warehousedescription. DATA lv_entityset_name TYPE string. lv_entityset_name = io_tech_request_context->get_entity_set_name( ). CASE lv_entityset_name. *-------------------------------------------------------------------------* * EntitySet - OpenWarehouseTaskSet *-------------------------------------------------------------------------* WHEN 'OpenWarehouseTaskSet'. * Call the entity set generated method openwarehousetas_create_entity( EXPORTING iv_entity_name = iv_entity_name iv_entity_set_name = iv_entity_set_name iv_source_name = iv_source_name io_data_provider = io_data_provider it_key_tab = it_key_tab it_navigation_path = it_navigation_path io_tech_request_context = io_tech_request_context IMPORTING er_entity = openwarehousetas_create_entity ). * Send specific entity data to the caller interfaces copy_data_to_ref( EXPORTING is_data = openwarehousetas_create_entity CHANGING cr_data = er_entity ). *-------------------------------------------------------------------------* * EntitySet - WarehouseOrderSet *-------------------------------------------------------------------------* WHEN 'WarehouseOrderSet'. * Call the entity set generated method warehouseorderse_create_entity( EXPORTING iv_entity_name = iv_entity_name iv_entity_set_name = iv_entity_set_name iv_source_name = iv_source_name io_data_provider = io_data_provider it_key_tab = it_key_tab it_navigation_path = it_navigation_path io_tech_request_context = io_tech_request_context IMPORTING er_entity = warehouseorderse_create_entity ). * Send specific entity data to the caller interfaces copy_data_to_ref( EXPORTING is_data = warehouseorderse_create_entity CHANGING cr_data = er_entity ). *-------------------------------------------------------------------------* * EntitySet - RobotSet *-------------------------------------------------------------------------* WHEN 'RobotSet'. * Call the entity set generated method robotset_create_entity( EXPORTING iv_entity_name = iv_entity_name iv_entity_set_name = iv_entity_set_name iv_source_name = iv_source_name io_data_provider = io_data_provider it_key_tab = it_key_tab it_navigation_path = it_navigation_path io_tech_request_context = io_tech_request_context IMPORTING er_entity = robotset_create_entity ). * Send specific entity data to the caller interfaces copy_data_to_ref( EXPORTING is_data = robotset_create_entity CHANGING cr_data = er_entity ). *-------------------------------------------------------------------------* * EntitySet - StorageBinSet *-------------------------------------------------------------------------* WHEN 'StorageBinSet'. * Call the entity set generated method storagebinset_create_entity( EXPORTING iv_entity_name = iv_entity_name iv_entity_set_name = iv_entity_set_name iv_source_name = iv_source_name io_data_provider = io_data_provider it_key_tab = it_key_tab it_navigation_path = it_navigation_path io_tech_request_context = io_tech_request_context IMPORTING er_entity = storagebinset_create_entity ). * Send specific entity data to the caller interfaces copy_data_to_ref( EXPORTING is_data = storagebinset_create_entity CHANGING cr_data = er_entity ). *-------------------------------------------------------------------------* * EntitySet - WarehouseNumberSet *-------------------------------------------------------------------------* WHEN 'WarehouseNumberSet'. * Call the entity set generated method warehousenumbers_create_entity( EXPORTING iv_entity_name = iv_entity_name iv_entity_set_name = iv_entity_set_name iv_source_name = iv_source_name io_data_provider = io_data_provider it_key_tab = it_key_tab it_navigation_path = it_navigation_path io_tech_request_context = io_tech_request_context IMPORTING er_entity = warehousenumbers_create_entity ). * Send specific entity data to the caller interfaces copy_data_to_ref( EXPORTING is_data = warehousenumbers_create_entity CHANGING cr_data = er_entity ). *-------------------------------------------------------------------------* * EntitySet - WarehouseDescriptionSet *-------------------------------------------------------------------------* WHEN 'WarehouseDescriptionSet'. * Call the entity set generated method warehousedescrip_create_entity( EXPORTING iv_entity_name = iv_entity_name iv_entity_set_name = iv_entity_set_name iv_source_name = iv_source_name io_data_provider = io_data_provider it_key_tab = it_key_tab it_navigation_path = it_navigation_path io_tech_request_context = io_tech_request_context IMPORTING er_entity = warehousedescrip_create_entity ). * Send specific entity data to the caller interfaces copy_data_to_ref( EXPORTING is_data = warehousedescrip_create_entity CHANGING cr_data = er_entity ). when others. super->/iwbep/if_mgw_appl_srv_runtime~create_entity( EXPORTING iv_entity_name = iv_entity_name iv_entity_set_name = iv_entity_set_name iv_source_name = iv_source_name io_data_provider = io_data_provider it_key_tab = it_key_tab it_navigation_path = it_navigation_path IMPORTING er_entity = er_entity ). ENDCASE. endmethod. method /IWBEP/IF_MGW_APPL_SRV_RUNTIME~DELETE_ENTITY. *&----------------------------------------------------------------------------------------------* *& Include /IWBEP/DPC_TEMP_DEL_ENTITY_BASE *&* This class has been generated on 16.04.2019 08:53:09 in client 100 *&* *&* WARNING--> NEVER MODIFY THIS CLASS <--WARNING *&* If you want to change the DPC implementation, use the *&* generated methods inside the DPC provider subclass - ZCL_ZEWM_ROBCO_DPC_EXT *&-----------------------------------------------------------------------------------------------* DATA lv_entityset_name TYPE string. lv_entityset_name = io_tech_request_context->get_entity_set_name( ). CASE lv_entityset_name. *-------------------------------------------------------------------------* * EntitySet - OpenWarehouseTaskSet *-------------------------------------------------------------------------* when 'OpenWarehouseTaskSet'. * Call the entity set generated method openwarehousetas_delete_entity( EXPORTING iv_entity_name = iv_entity_name iv_entity_set_name = iv_entity_set_name iv_source_name = iv_source_name it_key_tab = it_key_tab it_navigation_path = it_navigation_path io_tech_request_context = io_tech_request_context ). *-------------------------------------------------------------------------* * EntitySet - RobotSet *-------------------------------------------------------------------------* when 'RobotSet'. * Call the entity set generated method robotset_delete_entity( EXPORTING iv_entity_name = iv_entity_name iv_entity_set_name = iv_entity_set_name iv_source_name = iv_source_name it_key_tab = it_key_tab it_navigation_path = it_navigation_path io_tech_request_context = io_tech_request_context ). *-------------------------------------------------------------------------* * EntitySet - StorageBinSet *-------------------------------------------------------------------------* when 'StorageBinSet'. * Call the entity set generated method storagebinset_delete_entity( EXPORTING iv_entity_name = iv_entity_name iv_entity_set_name = iv_entity_set_name iv_source_name = iv_source_name it_key_tab = it_key_tab it_navigation_path = it_navigation_path io_tech_request_context = io_tech_request_context ). *-------------------------------------------------------------------------* * EntitySet - WarehouseDescriptionSet *-------------------------------------------------------------------------* when 'WarehouseDescriptionSet'. * Call the entity set generated method warehousedescrip_delete_entity( EXPORTING iv_entity_name = iv_entity_name iv_entity_set_name = iv_entity_set_name iv_source_name = iv_source_name it_key_tab = it_key_tab it_navigation_path = it_navigation_path io_tech_request_context = io_tech_request_context ). *-------------------------------------------------------------------------* * EntitySet - WarehouseNumberSet *-------------------------------------------------------------------------* when 'WarehouseNumberSet'. * Call the entity set generated method warehousenumbers_delete_entity( EXPORTING iv_entity_name = iv_entity_name iv_entity_set_name = iv_entity_set_name iv_source_name = iv_source_name it_key_tab = it_key_tab it_navigation_path = it_navigation_path io_tech_request_context = io_tech_request_context ). *-------------------------------------------------------------------------* * EntitySet - WarehouseOrderSet *-------------------------------------------------------------------------* when 'WarehouseOrderSet'. * Call the entity set generated method warehouseorderse_delete_entity( EXPORTING iv_entity_name = iv_entity_name iv_entity_set_name = iv_entity_set_name iv_source_name = iv_source_name it_key_tab = it_key_tab it_navigation_path = it_navigation_path io_tech_request_context = io_tech_request_context ). when others. super->/iwbep/if_mgw_appl_srv_runtime~delete_entity( EXPORTING iv_entity_name = iv_entity_name iv_entity_set_name = iv_entity_set_name iv_source_name = iv_source_name it_key_tab = it_key_tab it_navigation_path = it_navigation_path ). ENDCASE. endmethod. method /IWBEP/IF_MGW_APPL_SRV_RUNTIME~GET_ENTITY. *&-----------------------------------------------------------------------------------------------* *& Include /IWBEP/DPC_TEMP_GETENTITY_BASE *&* This class has been generated on 16.04.2019 08:53:09 in client 100 *&* *&* WARNING--> NEVER MODIFY THIS CLASS <--WARNING *&* If you want to change the DPC implementation, use the *&* generated methods inside the DPC provider subclass - ZCL_ZEWM_ROBCO_DPC_EXT *&-----------------------------------------------------------------------------------------------* DATA warehousedescrip_get_entity TYPE zcl_zewm_robco_mpc=>ts_warehousedescription. DATA storagebinset_get_entity TYPE zcl_zewm_robco_mpc=>ts_storagebin. DATA warehousenumbers_get_entity TYPE zcl_zewm_robco_mpc=>ts_warehousenumber. DATA robotset_get_entity TYPE zcl_zewm_robco_mpc=>ts_robot. DATA openwarehousetas_get_entity TYPE zcl_zewm_robco_mpc=>ts_openwarehousetask. DATA warehouseorderse_get_entity TYPE zcl_zewm_robco_mpc=>ts_warehouseorder. DATA lv_entityset_name TYPE string. DATA lr_entity TYPE REF TO data. "#EC NEEDED lv_entityset_name = io_tech_request_context->get_entity_set_name( ). CASE lv_entityset_name. *-------------------------------------------------------------------------* * EntitySet - WarehouseDescriptionSet *-------------------------------------------------------------------------* WHEN 'WarehouseDescriptionSet'. * Call the entity set generated method warehousedescrip_get_entity( EXPORTING iv_entity_name = iv_entity_name iv_entity_set_name = iv_entity_set_name iv_source_name = iv_source_name it_key_tab = it_key_tab it_navigation_path = it_navigation_path io_tech_request_context = io_tech_request_context IMPORTING er_entity = warehousedescrip_get_entity es_response_context = es_response_context ). IF warehousedescrip_get_entity IS NOT INITIAL. * Send specific entity data to the caller interface copy_data_to_ref( EXPORTING is_data = warehousedescrip_get_entity CHANGING cr_data = er_entity ). ELSE. * In case of initial values - unbind the entity reference er_entity = lr_entity. ENDIF. *-------------------------------------------------------------------------* * EntitySet - StorageBinSet *-------------------------------------------------------------------------* WHEN 'StorageBinSet'. * Call the entity set generated method storagebinset_get_entity( EXPORTING iv_entity_name = iv_entity_name iv_entity_set_name = iv_entity_set_name iv_source_name = iv_source_name it_key_tab = it_key_tab it_navigation_path = it_navigation_path io_tech_request_context = io_tech_request_context IMPORTING er_entity = storagebinset_get_entity es_response_context = es_response_context ). IF storagebinset_get_entity IS NOT INITIAL. * Send specific entity data to the caller interface copy_data_to_ref( EXPORTING is_data = storagebinset_get_entity CHANGING cr_data = er_entity ). ELSE. * In case of initial values - unbind the entity reference er_entity = lr_entity. ENDIF. *-------------------------------------------------------------------------* * EntitySet - WarehouseNumberSet *-------------------------------------------------------------------------* WHEN 'WarehouseNumberSet'. * Call the entity set generated method warehousenumbers_get_entity( EXPORTING iv_entity_name = iv_entity_name iv_entity_set_name = iv_entity_set_name iv_source_name = iv_source_name it_key_tab = it_key_tab it_navigation_path = it_navigation_path io_tech_request_context = io_tech_request_context IMPORTING er_entity = warehousenumbers_get_entity es_response_context = es_response_context ). IF warehousenumbers_get_entity IS NOT INITIAL. * Send specific entity data to the caller interface copy_data_to_ref( EXPORTING is_data = warehousenumbers_get_entity CHANGING cr_data = er_entity ). ELSE. * In case of initial values - unbind the entity reference er_entity = lr_entity. ENDIF. *-------------------------------------------------------------------------* * EntitySet - RobotSet *-------------------------------------------------------------------------* WHEN 'RobotSet'. * Call the entity set generated method robotset_get_entity( EXPORTING iv_entity_name = iv_entity_name iv_entity_set_name = iv_entity_set_name iv_source_name = iv_source_name it_key_tab = it_key_tab it_navigation_path = it_navigation_path io_tech_request_context = io_tech_request_context IMPORTING er_entity = robotset_get_entity es_response_context = es_response_context ). IF robotset_get_entity IS NOT INITIAL. * Send specific entity data to the caller interface copy_data_to_ref( EXPORTING is_data = robotset_get_entity CHANGING cr_data = er_entity ). ELSE. * In case of initial values - unbind the entity reference er_entity = lr_entity. ENDIF. *-------------------------------------------------------------------------* * EntitySet - OpenWarehouseTaskSet *-------------------------------------------------------------------------* WHEN 'OpenWarehouseTaskSet'. * Call the entity set generated method openwarehousetas_get_entity( EXPORTING iv_entity_name = iv_entity_name iv_entity_set_name = iv_entity_set_name iv_source_name = iv_source_name it_key_tab = it_key_tab it_navigation_path = it_navigation_path io_tech_request_context = io_tech_request_context IMPORTING er_entity = openwarehousetas_get_entity es_response_context = es_response_context ). IF openwarehousetas_get_entity IS NOT INITIAL. * Send specific entity data to the caller interface copy_data_to_ref( EXPORTING is_data = openwarehousetas_get_entity CHANGING cr_data = er_entity ). ELSE. * In case of initial values - unbind the entity reference er_entity = lr_entity. ENDIF. *-------------------------------------------------------------------------* * EntitySet - WarehouseOrderSet *-------------------------------------------------------------------------* WHEN 'WarehouseOrderSet'. * Call the entity set generated method warehouseorderse_get_entity( EXPORTING iv_entity_name = iv_entity_name iv_entity_set_name = iv_entity_set_name iv_source_name = iv_source_name it_key_tab = it_key_tab it_navigation_path = it_navigation_path io_tech_request_context = io_tech_request_context IMPORTING er_entity = warehouseorderse_get_entity es_response_context = es_response_context ). IF warehouseorderse_get_entity IS NOT INITIAL. * Send specific entity data to the caller interface copy_data_to_ref( EXPORTING is_data = warehouseorderse_get_entity CHANGING cr_data = er_entity ). ELSE. * In case of initial values - unbind the entity reference er_entity = lr_entity. ENDIF. WHEN OTHERS. super->/iwbep/if_mgw_appl_srv_runtime~get_entity( EXPORTING iv_entity_name = iv_entity_name iv_entity_set_name = iv_entity_set_name iv_source_name = iv_source_name it_key_tab = it_key_tab it_navigation_path = it_navigation_path IMPORTING er_entity = er_entity ). ENDCASE. endmethod. method /IWBEP/IF_MGW_APPL_SRV_RUNTIME~GET_ENTITYSET. *&----------------------------------------------------------------------------------------------* *& Include /IWBEP/DPC_TMP_ENTITYSET_BASE *&* This class has been generated on 16.04.2019 08:53:09 in client 100 *&* *&* WARNING--> NEVER MODIFY THIS CLASS <--WARNING *&* If you want to change the DPC implementation, use the *&* generated methods inside the DPC provider subclass - ZCL_ZEWM_ROBCO_DPC_EXT *&-----------------------------------------------------------------------------------------------* DATA warehousedescrip_get_entityset TYPE zcl_zewm_robco_mpc=>tt_warehousedescription. DATA storagebinset_get_entityset TYPE zcl_zewm_robco_mpc=>tt_storagebin. DATA warehousenumbers_get_entityset TYPE zcl_zewm_robco_mpc=>tt_warehousenumber. DATA robotset_get_entityset TYPE zcl_zewm_robco_mpc=>tt_robot. DATA openwarehousetas_get_entityset TYPE zcl_zewm_robco_mpc=>tt_openwarehousetask. DATA warehouseorderse_get_entityset TYPE zcl_zewm_robco_mpc=>tt_warehouseorder. DATA lv_entityset_name TYPE string. lv_entityset_name = io_tech_request_context->get_entity_set_name( ). CASE lv_entityset_name. *-------------------------------------------------------------------------* * EntitySet - WarehouseDescriptionSet *-------------------------------------------------------------------------* WHEN 'WarehouseDescriptionSet'. * Call the entity set generated method warehousedescrip_get_entityset( EXPORTING iv_entity_name = iv_entity_name iv_entity_set_name = iv_entity_set_name iv_source_name = iv_source_name it_filter_select_options = it_filter_select_options it_order = it_order is_paging = is_paging it_navigation_path = it_navigation_path it_key_tab = it_key_tab iv_filter_string = iv_filter_string iv_search_string = iv_search_string io_tech_request_context = io_tech_request_context IMPORTING et_entityset = warehousedescrip_get_entityset es_response_context = es_response_context ). * Send specific entity data to the caller interface copy_data_to_ref( EXPORTING is_data = warehousedescrip_get_entityset CHANGING cr_data = er_entityset ). *-------------------------------------------------------------------------* * EntitySet - StorageBinSet *-------------------------------------------------------------------------* WHEN 'StorageBinSet'. * Call the entity set generated method storagebinset_get_entityset( EXPORTING iv_entity_name = iv_entity_name iv_entity_set_name = iv_entity_set_name iv_source_name = iv_source_name it_filter_select_options = it_filter_select_options it_order = it_order is_paging = is_paging it_navigation_path = it_navigation_path it_key_tab = it_key_tab iv_filter_string = iv_filter_string iv_search_string = iv_search_string io_tech_request_context = io_tech_request_context IMPORTING et_entityset = storagebinset_get_entityset es_response_context = es_response_context ). * Send specific entity data to the caller interface copy_data_to_ref( EXPORTING is_data = storagebinset_get_entityset CHANGING cr_data = er_entityset ). *-------------------------------------------------------------------------* * EntitySet - WarehouseNumberSet *-------------------------------------------------------------------------* WHEN 'WarehouseNumberSet'. * Call the entity set generated method warehousenumbers_get_entityset( EXPORTING iv_entity_name = iv_entity_name iv_entity_set_name = iv_entity_set_name iv_source_name = iv_source_name it_filter_select_options = it_filter_select_options it_order = it_order is_paging = is_paging it_navigation_path = it_navigation_path it_key_tab = it_key_tab iv_filter_string = iv_filter_string iv_search_string = iv_search_string io_tech_request_context = io_tech_request_context IMPORTING et_entityset = warehousenumbers_get_entityset es_response_context = es_response_context ). * Send specific entity data to the caller interface copy_data_to_ref( EXPORTING is_data = warehousenumbers_get_entityset CHANGING cr_data = er_entityset ). *-------------------------------------------------------------------------* * EntitySet - RobotSet *-------------------------------------------------------------------------* WHEN 'RobotSet'. * Call the entity set generated method robotset_get_entityset( EXPORTING iv_entity_name = iv_entity_name iv_entity_set_name = iv_entity_set_name iv_source_name = iv_source_name it_filter_select_options = it_filter_select_options it_order = it_order is_paging = is_paging it_navigation_path = it_navigation_path it_key_tab = it_key_tab iv_filter_string = iv_filter_string iv_search_string = iv_search_string io_tech_request_context = io_tech_request_context IMPORTING et_entityset = robotset_get_entityset es_response_context = es_response_context ). * Send specific entity data to the caller interface copy_data_to_ref( EXPORTING is_data = robotset_get_entityset CHANGING cr_data = er_entityset ). *-------------------------------------------------------------------------* * EntitySet - OpenWarehouseTaskSet *-------------------------------------------------------------------------* WHEN 'OpenWarehouseTaskSet'. * Call the entity set generated method openwarehousetas_get_entityset( EXPORTING iv_entity_name = iv_entity_name iv_entity_set_name = iv_entity_set_name iv_source_name = iv_source_name it_filter_select_options = it_filter_select_options it_order = it_order is_paging = is_paging it_navigation_path = it_navigation_path it_key_tab = it_key_tab iv_filter_string = iv_filter_string iv_search_string = iv_search_string io_tech_request_context = io_tech_request_context IMPORTING et_entityset = openwarehousetas_get_entityset es_response_context = es_response_context ). * Send specific entity data to the caller interface copy_data_to_ref( EXPORTING is_data = openwarehousetas_get_entityset CHANGING cr_data = er_entityset ). *-------------------------------------------------------------------------* * EntitySet - WarehouseOrderSet *-------------------------------------------------------------------------* WHEN 'WarehouseOrderSet'. * Call the entity set generated method warehouseorderse_get_entityset( EXPORTING iv_entity_name = iv_entity_name iv_entity_set_name = iv_entity_set_name iv_source_name = iv_source_name it_filter_select_options = it_filter_select_options it_order = it_order is_paging = is_paging it_navigation_path = it_navigation_path it_key_tab = it_key_tab iv_filter_string = iv_filter_string iv_search_string = iv_search_string io_tech_request_context = io_tech_request_context IMPORTING et_entityset = warehouseorderse_get_entityset es_response_context = es_response_context ). * Send specific entity data to the caller interface copy_data_to_ref( EXPORTING is_data = warehouseorderse_get_entityset CHANGING cr_data = er_entityset ). WHEN OTHERS. super->/iwbep/if_mgw_appl_srv_runtime~get_entityset( EXPORTING iv_entity_name = iv_entity_name iv_entity_set_name = iv_entity_set_name iv_source_name = iv_source_name it_filter_select_options = it_filter_select_options it_order = it_order is_paging = is_paging it_navigation_path = it_navigation_path it_key_tab = it_key_tab iv_filter_string = iv_filter_string iv_search_string = iv_search_string io_tech_request_context = io_tech_request_context IMPORTING er_entityset = er_entityset ). ENDCASE. endmethod. method /IWBEP/IF_MGW_APPL_SRV_RUNTIME~UPDATE_ENTITY. *&----------------------------------------------------------------------------------------------* *& Include /IWBEP/DPC_TEMP_UPD_ENTITY_BASE *&* This class has been generated on 16.04.2019 08:53:09 in client 100 *&* *&* WARNING--> NEVER MODIFY THIS CLASS <--WARNING *&* If you want to change the DPC implementation, use the *&* generated methods inside the DPC provider subclass - ZCL_ZEWM_ROBCO_DPC_EXT *&-----------------------------------------------------------------------------------------------* DATA warehousedescrip_update_entity TYPE zcl_zewm_robco_mpc=>ts_warehousedescription. DATA warehousenumbers_update_entity TYPE zcl_zewm_robco_mpc=>ts_warehousenumber. DATA storagebinset_update_entity TYPE zcl_zewm_robco_mpc=>ts_storagebin. DATA robotset_update_entity TYPE zcl_zewm_robco_mpc=>ts_robot. DATA warehouseorderse_update_entity TYPE zcl_zewm_robco_mpc=>ts_warehouseorder. DATA openwarehousetas_update_entity TYPE zcl_zewm_robco_mpc=>ts_openwarehousetask. DATA lv_entityset_name TYPE string. DATA lr_entity TYPE REF TO data. "#EC NEEDED lv_entityset_name = io_tech_request_context->get_entity_set_name( ). CASE lv_entityset_name. *-------------------------------------------------------------------------* * EntitySet - WarehouseDescriptionSet *-------------------------------------------------------------------------* WHEN 'WarehouseDescriptionSet'. * Call the entity set generated method warehousedescrip_update_entity( EXPORTING iv_entity_name = iv_entity_name iv_entity_set_name = iv_entity_set_name iv_source_name = iv_source_name io_data_provider = io_data_provider it_key_tab = it_key_tab it_navigation_path = it_navigation_path io_tech_request_context = io_tech_request_context IMPORTING er_entity = warehousedescrip_update_entity ). IF warehousedescrip_update_entity IS NOT INITIAL. * Send specific entity data to the caller interface copy_data_to_ref( EXPORTING is_data = warehousedescrip_update_entity CHANGING cr_data = er_entity ). ELSE. * In case of initial values - unbind the entity reference er_entity = lr_entity. ENDIF. *-------------------------------------------------------------------------* * EntitySet - WarehouseNumberSet *-------------------------------------------------------------------------* WHEN 'WarehouseNumberSet'. * Call the entity set generated method warehousenumbers_update_entity( EXPORTING iv_entity_name = iv_entity_name iv_entity_set_name = iv_entity_set_name iv_source_name = iv_source_name io_data_provider = io_data_provider it_key_tab = it_key_tab it_navigation_path = it_navigation_path io_tech_request_context = io_tech_request_context IMPORTING er_entity = warehousenumbers_update_entity ). IF warehousenumbers_update_entity IS NOT INITIAL. * Send specific entity data to the caller interface copy_data_to_ref( EXPORTING is_data = warehousenumbers_update_entity CHANGING cr_data = er_entity ). ELSE. * In case of initial values - unbind the entity reference er_entity = lr_entity. ENDIF. *-------------------------------------------------------------------------* * EntitySet - StorageBinSet *-------------------------------------------------------------------------* WHEN 'StorageBinSet'. * Call the entity set generated method storagebinset_update_entity( EXPORTING iv_entity_name = iv_entity_name iv_entity_set_name = iv_entity_set_name iv_source_name = iv_source_name io_data_provider = io_data_provider it_key_tab = it_key_tab it_navigation_path = it_navigation_path io_tech_request_context = io_tech_request_context IMPORTING er_entity = storagebinset_update_entity ). IF storagebinset_update_entity IS NOT INITIAL. * Send specific entity data to the caller interface copy_data_to_ref( EXPORTING is_data = storagebinset_update_entity CHANGING cr_data = er_entity ). ELSE. * In case of initial values - unbind the entity reference er_entity = lr_entity. ENDIF. *-------------------------------------------------------------------------* * EntitySet - RobotSet *-------------------------------------------------------------------------* WHEN 'RobotSet'. * Call the entity set generated method robotset_update_entity( EXPORTING iv_entity_name = iv_entity_name iv_entity_set_name = iv_entity_set_name iv_source_name = iv_source_name io_data_provider = io_data_provider it_key_tab = it_key_tab it_navigation_path = it_navigation_path io_tech_request_context = io_tech_request_context IMPORTING er_entity = robotset_update_entity ). IF robotset_update_entity IS NOT INITIAL. * Send specific entity data to the caller interface copy_data_to_ref( EXPORTING is_data = robotset_update_entity CHANGING cr_data = er_entity ). ELSE. * In case of initial values - unbind the entity reference er_entity = lr_entity. ENDIF. *-------------------------------------------------------------------------* * EntitySet - WarehouseOrderSet *-------------------------------------------------------------------------* WHEN 'WarehouseOrderSet'. * Call the entity set generated method warehouseorderse_update_entity( EXPORTING iv_entity_name = iv_entity_name iv_entity_set_name = iv_entity_set_name iv_source_name = iv_source_name io_data_provider = io_data_provider it_key_tab = it_key_tab it_navigation_path = it_navigation_path io_tech_request_context = io_tech_request_context IMPORTING er_entity = warehouseorderse_update_entity ). IF warehouseorderse_update_entity IS NOT INITIAL. * Send specific entity data to the caller interface copy_data_to_ref( EXPORTING is_data = warehouseorderse_update_entity CHANGING cr_data = er_entity ). ELSE. * In case of initial values - unbind the entity reference er_entity = lr_entity. ENDIF. *-------------------------------------------------------------------------* * EntitySet - OpenWarehouseTaskSet *-------------------------------------------------------------------------* WHEN 'OpenWarehouseTaskSet'. * Call the entity set generated method openwarehousetas_update_entity( EXPORTING iv_entity_name = iv_entity_name iv_entity_set_name = iv_entity_set_name iv_source_name = iv_source_name io_data_provider = io_data_provider it_key_tab = it_key_tab it_navigation_path = it_navigation_path io_tech_request_context = io_tech_request_context IMPORTING er_entity = openwarehousetas_update_entity ). IF openwarehousetas_update_entity IS NOT INITIAL. * Send specific entity data to the caller interface copy_data_to_ref( EXPORTING is_data = openwarehousetas_update_entity CHANGING cr_data = er_entity ). ELSE. * In case of initial values - unbind the entity reference er_entity = lr_entity. ENDIF. WHEN OTHERS. super->/iwbep/if_mgw_appl_srv_runtime~update_entity( EXPORTING iv_entity_name = iv_entity_name iv_entity_set_name = iv_entity_set_name iv_source_name = iv_source_name io_data_provider = io_data_provider it_key_tab = it_key_tab it_navigation_path = it_navigation_path IMPORTING er_entity = er_entity ). ENDCASE. endmethod. method /IWBEP/IF_SB_DPC_COMM_SERVICES~COMMIT_WORK. * Call RFC commit work functionality DATA lt_message TYPE bapiret2. "#EC NEEDED DATA lv_message_text TYPE BAPI_MSG. DATA lo_logger TYPE REF TO /iwbep/cl_cos_logger. DATA lv_subrc TYPE syst-subrc. lo_logger = /iwbep/if_mgw_conv_srv_runtime~get_logger( ). IF iv_rfc_dest IS INITIAL OR iv_rfc_dest EQ 'NONE'. CALL FUNCTION 'BAPI_TRANSACTION_COMMIT' EXPORTING wait = abap_true IMPORTING return = lt_message. ELSE. CALL FUNCTION 'BAPI_TRANSACTION_COMMIT' DESTINATION iv_rfc_dest EXPORTING wait = abap_true IMPORTING return = lt_message EXCEPTIONS communication_failure = 1000 MESSAGE lv_message_text system_failure = 1001 MESSAGE lv_message_text OTHERS = 1002. IF sy-subrc <> 0. lv_subrc = sy-subrc. /iwbep/cl_sb_gen_dpc_rt_util=>rfc_exception_handling( EXPORTING iv_subrc = lv_subrc iv_exp_message_text = lv_message_text io_logger = lo_logger ). ENDIF. ENDIF. endmethod. method /IWBEP/IF_SB_DPC_COMM_SERVICES~GET_GENERATION_STRATEGY. * Get generation strategy rv_generation_strategy = '1'. endmethod. method /IWBEP/IF_SB_DPC_COMM_SERVICES~LOG_MESSAGE. * Log message in the application log DATA lo_logger TYPE REF TO /iwbep/cl_cos_logger. DATA lv_text TYPE /iwbep/sup_msg_longtext. MESSAGE ID iv_msg_id TYPE iv_msg_type NUMBER iv_msg_number WITH iv_msg_v1 iv_msg_v2 iv_msg_v3 iv_msg_v4 INTO lv_text. lo_logger = mo_context->get_logger( ). lo_logger->log_message( EXPORTING iv_msg_type = iv_msg_type iv_msg_id = iv_msg_id iv_msg_number = iv_msg_number iv_msg_text = lv_text iv_msg_v1 = iv_msg_v1 iv_msg_v2 = iv_msg_v2 iv_msg_v3 = iv_msg_v3 iv_msg_v4 = iv_msg_v4 iv_agent = 'DPC' ). endmethod. method /IWBEP/IF_SB_DPC_COMM_SERVICES~RFC_EXCEPTION_HANDLING. * RFC call exception handling DATA lo_logger TYPE REF TO /iwbep/cl_cos_logger. lo_logger = /iwbep/if_mgw_conv_srv_runtime~get_logger( ). /iwbep/cl_sb_gen_dpc_rt_util=>rfc_exception_handling( EXPORTING iv_subrc = iv_subrc iv_exp_message_text = iv_exp_message_text io_logger = lo_logger ). endmethod. method /IWBEP/IF_SB_DPC_COMM_SERVICES~RFC_SAVE_LOG. DATA lo_logger TYPE REF TO /iwbep/cl_cos_logger. DATA lo_message_container TYPE REF TO /iwbep/if_message_container. lo_logger = /iwbep/if_mgw_conv_srv_runtime~get_logger( ). lo_message_container = /iwbep/if_mgw_conv_srv_runtime~get_message_container( ). " Save the RFC call log in the application log /iwbep/cl_sb_gen_dpc_rt_util=>rfc_save_log( EXPORTING is_return = is_return iv_entity_type = iv_entity_type it_return = it_return it_key_tab = it_key_tab io_logger = lo_logger io_message_container = lo_message_container ). endmethod. method /IWBEP/IF_SB_DPC_COMM_SERVICES~SET_INJECTION. * Unit test injection IF io_unit IS BOUND. mo_injection = io_unit. ELSE. mo_injection = me. ENDIF. endmethod. method CHECK_SUBSCRIPTION_AUTHORITY. RAISE EXCEPTION TYPE /iwbep/cx_mgw_not_impl_exc EXPORTING textid = /iwbep/cx_mgw_not_impl_exc=>method_not_implemented method = 'CHECK_SUBSCRIPTION_AUTHORITY'. endmethod. method OPENWAREHOUSETAS_CREATE_ENTITY. RAISE EXCEPTION TYPE /iwbep/cx_mgw_not_impl_exc EXPORTING textid = /iwbep/cx_mgw_not_impl_exc=>method_not_implemented method = 'OPENWAREHOUSETAS_CREATE_ENTITY'. endmethod. method OPENWAREHOUSETAS_DELETE_ENTITY. RAISE EXCEPTION TYPE /iwbep/cx_mgw_not_impl_exc EXPORTING textid = /iwbep/cx_mgw_not_impl_exc=>method_not_implemented method = 'OPENWAREHOUSETAS_DELETE_ENTITY'. endmethod. method OPENWAREHOUSETAS_GET_ENTITY. RAISE EXCEPTION TYPE /iwbep/cx_mgw_not_impl_exc EXPORTING textid = /iwbep/cx_mgw_not_impl_exc=>method_not_implemented method = 'OPENWAREHOUSETAS_GET_ENTITY'. endmethod. method OPENWAREHOUSETAS_GET_ENTITYSET. RAISE EXCEPTION TYPE /iwbep/cx_mgw_not_impl_exc EXPORTING textid = /iwbep/cx_mgw_not_impl_exc=>method_not_implemented method = 'OPENWAREHOUSETAS_GET_ENTITYSET'. endmethod. method OPENWAREHOUSETAS_UPDATE_ENTITY. RAISE EXCEPTION TYPE /iwbep/cx_mgw_not_impl_exc EXPORTING textid = /iwbep/cx_mgw_not_impl_exc=>method_not_implemented method = 'OPENWAREHOUSETAS_UPDATE_ENTITY'. endmethod. method ROBOTSET_CREATE_ENTITY. RAISE EXCEPTION TYPE /iwbep/cx_mgw_not_impl_exc EXPORTING textid = /iwbep/cx_mgw_not_impl_exc=>method_not_implemented method = 'ROBOTSET_CREATE_ENTITY'. endmethod. method ROBOTSET_DELETE_ENTITY. RAISE EXCEPTION TYPE /iwbep/cx_mgw_not_impl_exc EXPORTING textid = /iwbep/cx_mgw_not_impl_exc=>method_not_implemented method = 'ROBOTSET_DELETE_ENTITY'. endmethod. method ROBOTSET_GET_ENTITY. RAISE EXCEPTION TYPE /iwbep/cx_mgw_not_impl_exc EXPORTING textid = /iwbep/cx_mgw_not_impl_exc=>method_not_implemented method = 'ROBOTSET_GET_ENTITY'. endmethod. method ROBOTSET_GET_ENTITYSET. RAISE EXCEPTION TYPE /iwbep/cx_mgw_not_impl_exc EXPORTING textid = /iwbep/cx_mgw_not_impl_exc=>method_not_implemented method = 'ROBOTSET_GET_ENTITYSET'. endmethod. method ROBOTSET_UPDATE_ENTITY. RAISE EXCEPTION TYPE /iwbep/cx_mgw_not_impl_exc EXPORTING textid = /iwbep/cx_mgw_not_impl_exc=>method_not_implemented method = 'ROBOTSET_UPDATE_ENTITY'. endmethod. method STORAGEBINSET_CREATE_ENTITY. RAISE EXCEPTION TYPE /iwbep/cx_mgw_not_impl_exc EXPORTING textid = /iwbep/cx_mgw_not_impl_exc=>method_not_implemented method = 'STORAGEBINSET_CREATE_ENTITY'. endmethod. method STORAGEBINSET_DELETE_ENTITY. RAISE EXCEPTION TYPE /iwbep/cx_mgw_not_impl_exc EXPORTING textid = /iwbep/cx_mgw_not_impl_exc=>method_not_implemented method = 'STORAGEBINSET_DELETE_ENTITY'. endmethod. method STORAGEBINSET_GET_ENTITY. RAISE EXCEPTION TYPE /iwbep/cx_mgw_not_impl_exc EXPORTING textid = /iwbep/cx_mgw_not_impl_exc=>method_not_implemented method = 'STORAGEBINSET_GET_ENTITY'. endmethod. method STORAGEBINSET_GET_ENTITYSET. RAISE EXCEPTION TYPE /iwbep/cx_mgw_not_impl_exc EXPORTING textid = /iwbep/cx_mgw_not_impl_exc=>method_not_implemented method = 'STORAGEBINSET_GET_ENTITYSET'. endmethod. method STORAGEBINSET_UPDATE_ENTITY. RAISE EXCEPTION TYPE /iwbep/cx_mgw_not_impl_exc EXPORTING textid = /iwbep/cx_mgw_not_impl_exc=>method_not_implemented method = 'STORAGEBINSET_UPDATE_ENTITY'. endmethod. method WAREHOUSEDESCRIP_CREATE_ENTITY. RAISE EXCEPTION TYPE /iwbep/cx_mgw_not_impl_exc EXPORTING textid = /iwbep/cx_mgw_not_impl_exc=>method_not_implemented method = 'WAREHOUSEDESCRIP_CREATE_ENTITY'. endmethod. method WAREHOUSEDESCRIP_DELETE_ENTITY. RAISE EXCEPTION TYPE /iwbep/cx_mgw_not_impl_exc EXPORTING textid = /iwbep/cx_mgw_not_impl_exc=>method_not_implemented method = 'WAREHOUSEDESCRIP_DELETE_ENTITY'. endmethod. method WAREHOUSEDESCRIP_GET_ENTITY. RAISE EXCEPTION TYPE /iwbep/cx_mgw_not_impl_exc EXPORTING textid = /iwbep/cx_mgw_not_impl_exc=>method_not_implemented method = 'WAREHOUSEDESCRIP_GET_ENTITY'. endmethod. method WAREHOUSEDESCRIP_GET_ENTITYSET. RAISE EXCEPTION TYPE /iwbep/cx_mgw_not_impl_exc EXPORTING textid = /iwbep/cx_mgw_not_impl_exc=>method_not_implemented method = 'WAREHOUSEDESCRIP_GET_ENTITYSET'. endmethod. method WAREHOUSEDESCRIP_UPDATE_ENTITY. RAISE EXCEPTION TYPE /iwbep/cx_mgw_not_impl_exc EXPORTING textid = /iwbep/cx_mgw_not_impl_exc=>method_not_implemented method = 'WAREHOUSEDESCRIP_UPDATE_ENTITY'. endmethod. method WAREHOUSENUMBERS_CREATE_ENTITY. RAISE EXCEPTION TYPE /iwbep/cx_mgw_not_impl_exc EXPORTING textid = /iwbep/cx_mgw_not_impl_exc=>method_not_implemented method = 'WAREHOUSENUMBERS_CREATE_ENTITY'. endmethod. method WAREHOUSENUMBERS_DELETE_ENTITY. RAISE EXCEPTION TYPE /iwbep/cx_mgw_not_impl_exc EXPORTING textid = /iwbep/cx_mgw_not_impl_exc=>method_not_implemented method = 'WAREHOUSENUMBERS_DELETE_ENTITY'. endmethod. method WAREHOUSENUMBERS_GET_ENTITY. RAISE EXCEPTION TYPE /iwbep/cx_mgw_not_impl_exc EXPORTING textid = /iwbep/cx_mgw_not_impl_exc=>method_not_implemented method = 'WAREHOUSENUMBERS_GET_ENTITY'. endmethod. method WAREHOUSENUMBERS_GET_ENTITYSET. RAISE EXCEPTION TYPE /iwbep/cx_mgw_not_impl_exc EXPORTING textid = /iwbep/cx_mgw_not_impl_exc=>method_not_implemented method = 'WAREHOUSENUMBERS_GET_ENTITYSET'. endmethod. method WAREHOUSENUMBERS_UPDATE_ENTITY. RAISE EXCEPTION TYPE /iwbep/cx_mgw_not_impl_exc EXPORTING textid = /iwbep/cx_mgw_not_impl_exc=>method_not_implemented method = 'WAREHOUSENUMBERS_UPDATE_ENTITY'. endmethod. method WAREHOUSEORDERSE_CREATE_ENTITY. RAISE EXCEPTION TYPE /iwbep/cx_mgw_not_impl_exc EXPORTING textid = /iwbep/cx_mgw_not_impl_exc=>method_not_implemented method = 'WAREHOUSEORDERSE_CREATE_ENTITY'. endmethod. method WAREHOUSEORDERSE_DELETE_ENTITY. RAISE EXCEPTION TYPE /iwbep/cx_mgw_not_impl_exc EXPORTING textid = /iwbep/cx_mgw_not_impl_exc=>method_not_implemented method = 'WAREHOUSEORDERSE_DELETE_ENTITY'. endmethod. method WAREHOUSEORDERSE_GET_ENTITY. RAISE EXCEPTION TYPE /iwbep/cx_mgw_not_impl_exc EXPORTING textid = /iwbep/cx_mgw_not_impl_exc=>method_not_implemented method = 'WAREHOUSEORDERSE_GET_ENTITY'. endmethod. method WAREHOUSEORDERSE_GET_ENTITYSET. RAISE EXCEPTION TYPE /iwbep/cx_mgw_not_impl_exc EXPORTING textid = /iwbep/cx_mgw_not_impl_exc=>method_not_implemented method = 'WAREHOUSEORDERSE_GET_ENTITYSET'. endmethod. method WAREHOUSEORDERSE_UPDATE_ENTITY. RAISE EXCEPTION TYPE /iwbep/cx_mgw_not_impl_exc EXPORTING textid = /iwbep/cx_mgw_not_impl_exc=>method_not_implemented method = 'WAREHOUSEORDERSE_UPDATE_ENTITY'. endmethod. ENDCLASS.
[ 4871, 1168, 5097, 62, 57, 6217, 44, 62, 13252, 2749, 46, 62, 35, 5662, 6770, 198, 220, 1171, 198, 220, 10639, 1780, 422, 1220, 40, 45607, 8905, 14, 5097, 62, 20474, 54, 62, 47, 27143, 62, 32, 4462, 62, 26947, 198, 220, 12531, 198, 220, 2251, 1171, 764, 198, 198, 11377, 2665, 13, 628, 220, 20314, 1220, 40, 45607, 8905, 14, 5064, 62, 16811, 62, 35, 5662, 62, 9858, 44, 62, 35009, 53, 34444, 764, 198, 220, 20314, 1220, 40, 45607, 8905, 14, 5064, 62, 16811, 62, 35353, 62, 35, 5662, 62, 1268, 23680, 2849, 764, 628, 220, 5050, 1220, 40, 45607, 8905, 14, 5064, 62, 20474, 54, 62, 2969, 6489, 62, 12562, 53, 62, 49, 4944, 34694, 93, 18851, 62, 3525, 9050, 28480, 198, 220, 220, 220, 34087, 17750, 764, 198, 220, 5050, 1220, 40, 45607, 8905, 14, 5064, 62, 20474, 54, 62, 2969, 6489, 62, 12562, 53, 62, 49, 4944, 34694, 93, 18851, 62, 3525, 9050, 198, 220, 220, 220, 34087, 17750, 764, 198, 220, 5050, 1220, 40, 45607, 8905, 14, 5064, 62, 20474, 54, 62, 2969, 6489, 62, 12562, 53, 62, 49, 4944, 34694, 93, 16977, 62, 3525, 9050, 198, 220, 220, 220, 34087, 17750, 764, 198, 220, 5050, 1220, 40, 45607, 8905, 14, 5064, 62, 20474, 54, 62, 2969, 6489, 62, 12562, 53, 62, 49, 4944, 34694, 93, 43387, 6158, 62, 3525, 9050, 198, 220, 220, 220, 34087, 17750, 764, 198, 220, 5050, 1220, 40, 45607, 8905, 14, 5064, 62, 20474, 54, 62, 2969, 6489, 62, 12562, 53, 62, 49, 4944, 34694, 93, 7206, 2538, 9328, 62, 3525, 9050, 198, 220, 220, 220, 34087, 17750, 764, 198, 24326, 2665, 13, 628, 220, 1366, 6941, 62, 259, 29192, 2099, 1006, 284, 1220, 40, 45607, 8905, 14, 5064, 62, 16811, 62, 35353, 62, 35, 5662, 62, 1268, 23680, 2849, 764, 628, 220, 5050, 11837, 42413, 2606, 5188, 12532, 4877, 36, 62, 16977, 62, 3525, 9050, 198, 220, 220, 220, 33332, 198, 220, 220, 220, 220, 220, 5145, 3824, 62, 3525, 9050, 62, 20608, 2099, 19269, 2751, 198, 220, 220, 220, 220, 220, 5145, 3824, 62, 3525, 9050, 62, 28480, 62, 20608, 2099, 19269, 2751, 198, 220, 220, 220, 220, 220, 5145, 3824, 62, 47690, 62, 20608, 2099, 19269, 2751, 198, 220, 220, 220, 220, 220, 5145, 2043, 62, 20373, 62, 5603, 33, 2099, 1220, 40, 45607, 8905, 14, 51, 62, 20474, 54, 62, 20608, 62, 39488, 62, 4537, 4663, 198, 220, 220, 220, 220, 220, 5145, 9399, 62, 51, 25994, 62, 2200, 35780, 62, 10943, 32541, 2099, 1006, 284, 1220, 40, 45607, 8905, 14, 5064, 62, 20474, 54, 62, 2200, 48, 62, 3525, 9050, 62, 52, 11902, 198, 220, 220, 220, 220, 220, 5145, 2043, 62, 4535, 53, 3528, 6234, 62, 34219, 2099, 1220, 40, 45607, 8905, 14, 51, 62, 20474, 54, 62, 4535, 53, 3528, 6234, 62, 34219, 198, 220, 220, 220, 220, 220, 5145, 9399, 62, 26947, 62, 41283, 41237, 2099, 1006, 284, 1220, 40, 45607, 8905, 14, 5064, 62, 20474, 54, 62, 3525, 18276, 62, 41283, 41237, 11902, 198, 220, 220, 220, 39133, 198, 220, 220, 220, 220, 220, 5145, 1137, 62, 3525, 9050, 2099, 1168, 5097, 62, 57, 6217, 44, 62, 13252, 2749, 46, 62, 44, 5662, 14804, 4694, 62, 33746, 46685, 5188, 12532, 1137, 198, 220, 220, 220, 8620, 198, 220, 220, 220, 220, 220, 1220, 40, 45607, 8905, 14, 34, 55, 62, 20474, 54, 62, 45346, 40, 62, 6369, 42006, 2849, 198, 220, 220, 220, 220, 220, 1220, 40, 45607, 8905, 14, 34, 55, 62, 20474, 54, 62, 51, 25994, 62, 6369, 42006, 2849, 764, 198, 220, 5050, 11837, 42413, 2606, 5188, 12532, 4877, 36, 62, 18851, 62, 3525, 9050, 28480, 198, 220, 220, 220, 33332, 198, 220, 220, 220, 220, 220, 5145, 3824, 62, 3525, 9050, 62, 20608, 2099, 19269, 2751, 198, 220, 220, 220, 220, 220, 5145, 3824, 62, 3525, 9050, 62, 28480, 62, 20608, 2099, 19269, 2751, 198, 220, 220, 220, 220, 220, 5145, 3824, 62, 47690, 62, 20608, 2099, 19269, 2751, 198, 220, 220, 220, 220, 220, 5145, 2043, 62, 46700, 5781, 62, 46506, 62, 3185, 51, 11053, 2099, 1220, 40, 45607, 8905, 14, 51, 62, 20474, 54, 62, 46506, 62, 3185, 24131, 198, 220, 220, 220, 220, 220, 5145, 1797, 62, 4537, 38, 2751, 2099, 1220, 40, 45607, 8905, 14, 50, 62, 20474, 54, 62, 4537, 38, 2751, 198, 220, 220, 220, 220, 220, 5145, 2043, 62, 20373, 62, 5603, 33, 2099, 1220, 40, 45607, 8905, 14, 51, 62, 20474, 54, 62, 20608, 62, 39488, 62, 4537, 4663, 198, 220, 220, 220, 220, 220, 5145, 2043, 62, 4535, 53, 3528, 6234, 62, 34219, 2099, 1220, 40, 45607, 8905, 14, 51, 62, 20474, 54, 62, 4535, 53, 3528, 6234, 62, 34219, 198, 220, 220, 220, 220, 220, 5145, 2043, 62, 12532, 1137, 2099, 1220, 40, 45607, 8905, 14, 51, 62, 20474, 54, 62, 50, 9863, 2751, 62, 12532, 1137, 198, 220, 220, 220, 220, 220, 5145, 3824, 62, 46700, 5781, 62, 18601, 2751, 2099, 19269, 2751, 198, 220, 220, 220, 220, 220, 5145, 3824, 62, 5188, 31315, 62, 18601, 2751, 2099, 19269, 2751, 198, 220, 220, 220, 220, 220, 5145, 9399, 62, 51, 25994, 62, 2200, 35780, 62, 10943, 32541, 2099, 1006, 284, 1220, 40, 45607, 8905, 14, 5064, 62, 20474, 54, 62, 2200, 48, 62, 3525, 9050, 28480, 11902, 198, 220, 220, 220, 39133, 198, 220, 220, 220, 220, 220, 5145, 2767, 62, 3525, 9050, 28480, 2099, 1168, 5097, 62, 57, 6217, 44, 62, 13252, 2749, 46, 62, 44, 5662, 14804, 15751, 62, 33746, 46685, 5188, 12532, 1137, 198, 220, 220, 220, 220, 220, 5145, 1546, 62, 19535, 47, 1340, 5188, 62, 10943, 32541, 2099, 1220, 40, 45607, 8905, 14, 5064, 62, 20474, 54, 62, 2969, 6489, 62, 12562, 53, 62, 49, 4944, 34694, 14804, 9936, 62, 50, 62, 20474, 54, 62, 19535, 47, 1340, 5188, 62, 10943, 32541, 198, 220, 220, 220, 8620, 198, 220, 220, 220, 220, 220, 1220, 40, 45607, 8905, 14, 34, 55, 62, 20474, 54, 62, 45346, 40, 62, 6369, 42006, 2849, 198, 220, 220, 220, 220, 220, 1220, 40, 45607, 8905, 14, 34, 55, 62, 20474, 54, 62, 51, 25994, 62, 6369, 42006, 2849, 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, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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 ]
CLASS zcx_input_error DEFINITION PUBLIC INHERITING FROM cx_no_check CREATE PUBLIC . PUBLIC SECTION. INTERFACES if_t100_dyn_msg . INTERFACES if_t100_message . METHODS constructor IMPORTING !textid LIKE if_t100_message=>t100key OPTIONAL !previous LIKE previous OPTIONAL. ENDCLASS. CLASS zcx_input_error IMPLEMENTATION. METHOD constructor ##ADT_SUPPRESS_GENERATION. 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.
[ 31631, 1976, 66, 87, 62, 15414, 62, 18224, 5550, 20032, 17941, 198, 220, 44731, 198, 220, 3268, 16879, 2043, 2751, 16034, 43213, 62, 3919, 62, 9122, 198, 220, 29244, 6158, 44731, 764, 628, 220, 44731, 44513, 13, 628, 220, 220, 220, 23255, 37, 2246, 1546, 611, 62, 83, 3064, 62, 67, 2047, 62, 19662, 764, 198, 220, 220, 220, 23255, 37, 2246, 1546, 611, 62, 83, 3064, 62, 20500, 764, 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, 5145, 5239, 312, 220, 220, 34178, 611, 62, 83, 3064, 62, 20500, 14804, 83, 3064, 2539, 39852, 2849, 1847, 198, 220, 220, 220, 220, 220, 220, 220, 5145, 3866, 1442, 34178, 2180, 39852, 2849, 1847, 13, 198, 198, 10619, 31631, 13, 628, 198, 198, 31631, 1976, 66, 87, 62, 15414, 62, 18224, 30023, 2538, 10979, 6234, 13, 628, 220, 337, 36252, 23772, 22492, 2885, 51, 62, 40331, 32761, 62, 35353, 1137, 6234, 13, 198, 220, 220, 220, 42815, 337, 36252, 2208, 3784, 41571, 273, 198, 220, 220, 220, 220, 220, 7788, 15490, 2751, 198, 220, 220, 220, 220, 220, 220, 220, 2180, 796, 2180, 13, 198, 220, 220, 220, 30301, 1503, 502, 3784, 5239, 312, 13, 198, 220, 220, 220, 16876, 2420, 312, 3180, 3268, 2043, 12576, 13, 198, 220, 220, 220, 220, 220, 611, 62, 83, 3064, 62, 20500, 93, 83, 3064, 2539, 796, 611, 62, 83, 3064, 62, 20500, 14804, 12286, 62, 5239, 312, 13, 198, 220, 220, 220, 17852, 5188, 13, 198, 220, 220, 220, 220, 220, 611, 62, 83, 3064, 62, 20500, 93, 83, 3064, 2539, 796, 2420, 312, 13, 198, 220, 220, 220, 23578, 5064, 13, 198, 220, 23578, 49273, 13, 198, 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, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
"! @testing /DMO/CL_I_TRAVEL_TUM "! @testing /DMO/CL_C_TRAVEL_TUM "! @testing /DMO/CL_FLIGHT_LEGACY10 "! @testing FUGR:/DMO/FLIGHT_TRAVEL_API10 CLASS ltc DEFINITION FINAL INHERITING FROM /dmo/tc_flight_travel_api10 FOR TESTING RISK LEVEL HARMLESS DURATION MEDIUM. ENDCLASS.
[ 40484, 2488, 33407, 1220, 35, 11770, 14, 5097, 62, 40, 62, 51, 3861, 18697, 62, 51, 5883, 198, 40484, 2488, 33407, 1220, 35, 11770, 14, 5097, 62, 34, 62, 51, 3861, 18697, 62, 51, 5883, 198, 40484, 2488, 33407, 1220, 35, 11770, 14, 5097, 62, 3697, 9947, 62, 2538, 38, 43300, 940, 198, 40484, 2488, 33407, 376, 7340, 49, 14079, 35, 11770, 14, 3697, 9947, 62, 51, 3861, 18697, 62, 17614, 940, 198, 31631, 300, 23047, 5550, 20032, 17941, 25261, 3268, 16879, 2043, 2751, 16034, 1220, 67, 5908, 14, 23047, 62, 22560, 62, 35927, 62, 15042, 940, 7473, 43001, 2751, 45698, 42, 49277, 43638, 5805, 7597, 360, 4261, 6234, 26112, 41796, 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 ]
"! <h1>API for Deleting a Travel</h1> "! "! <p> "! Function module to delete a single Travel instance. "! It will also delete all related subnodes of Booking and Booking Supplement. "! </p> "! "! @parameter iv_travel_id | ID of the Travel to be deleted "! @parameter et_messages | Table of occurred messages "! FUNCTION /DMO/FLIGHT_TRAVEL_DELETE28. *"---------------------------------------------------------------------- *"*"Local Interface: *" IMPORTING *" REFERENCE(IV_TRAVEL_ID) TYPE /DMO/TRAVEL_ID28 *" EXPORTING *" REFERENCE(ET_MESSAGES) TYPE /DMO/IF_FLIGHT_LEGACY28=>TT_MESSAGE *"---------------------------------------------------------------------- CLEAR et_messages. /dmo/cl_flight_legacy28=>get_instance( )->delete_travel( EXPORTING iv_travel_id = iv_travel_id IMPORTING et_messages = DATA(lt_messages) ). /dmo/cl_flight_legacy28=>get_instance( )->convert_messages( EXPORTING it_messages = lt_messages IMPORTING et_messages = et_messages ). ENDFUNCTION.
[ 40484, 1279, 71, 16, 29, 17614, 329, 42226, 889, 257, 13524, 3556, 71, 16, 29, 198, 40484, 198, 40484, 1279, 79, 29, 198, 40484, 15553, 8265, 284, 12233, 257, 2060, 13524, 4554, 13, 198, 40484, 632, 481, 635, 12233, 477, 3519, 850, 77, 4147, 286, 4897, 278, 290, 4897, 278, 23150, 13, 198, 40484, 7359, 79, 29, 198, 40484, 198, 40484, 2488, 17143, 2357, 21628, 62, 35927, 62, 312, 220, 220, 220, 220, 220, 220, 220, 220, 220, 930, 4522, 286, 262, 13524, 284, 307, 13140, 198, 40484, 2488, 17143, 2357, 2123, 62, 37348, 1095, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 930, 8655, 286, 5091, 6218, 198, 40484, 198, 42296, 4177, 2849, 1220, 35, 11770, 14, 3697, 9947, 62, 51, 3861, 18697, 62, 7206, 2538, 9328, 2078, 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, 3824, 62, 51, 3861, 18697, 62, 2389, 8, 41876, 220, 1220, 35, 11770, 14, 51, 3861, 18697, 62, 2389, 2078, 198, 9, 1, 220, 7788, 15490, 2751, 198, 9, 1, 220, 220, 220, 220, 4526, 24302, 18310, 7, 2767, 62, 44, 1546, 4090, 48075, 8, 41876, 220, 1220, 35, 11770, 14, 5064, 62, 3697, 9947, 62, 2538, 38, 43300, 2078, 14804, 15751, 62, 44, 1546, 4090, 8264, 198, 9, 1, 10097, 23031, 198, 220, 30301, 1503, 2123, 62, 37348, 1095, 13, 628, 220, 1220, 67, 5908, 14, 565, 62, 22560, 62, 1455, 1590, 2078, 14804, 1136, 62, 39098, 7, 1267, 3784, 33678, 62, 35927, 7, 7788, 15490, 2751, 21628, 62, 35927, 62, 312, 796, 21628, 62, 35927, 62, 312, 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, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 30023, 9863, 2751, 2123, 62, 37348, 1095, 220, 796, 42865, 7, 2528, 62, 37348, 1095, 8, 6739, 628, 220, 1220, 67, 5908, 14, 565, 62, 22560, 62, 1455, 1590, 2078, 14804, 1136, 62, 39098, 7, 1267, 3784, 1102, 1851, 62, 37348, 1095, 7, 7788, 15490, 2751, 340, 62, 37348, 1095, 796, 300, 83, 62, 37348, 1095, 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, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 30023, 9863, 2751, 2123, 62, 37348, 1095, 796, 2123, 62, 37348, 1095, 6739, 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, 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ct_hosts TYPE ty_icm_sinfo2_tt . METHODS allow_sap_objects RETURNING VALUE(rv_allowed) TYPE abap_bool . METHODS change_proxy_url IMPORTING !iv_repo_url TYPE csequence CHANGING !cv_proxy_url TYPE string . METHODS change_proxy_port IMPORTING !iv_repo_url TYPE csequence CHANGING !cv_proxy_port TYPE string . METHODS change_proxy_authentication IMPORTING !iv_repo_url TYPE csequence CHANGING !cv_proxy_authentication TYPE abap_bool . METHODS create_http_client IMPORTING !iv_url TYPE string RETURNING VALUE(ri_client) TYPE REF TO if_http_client RAISING zcx_abapgit_exception . METHODS http_client IMPORTING !iv_url TYPE string !ii_client TYPE REF TO if_http_client . METHODS change_tadir IMPORTING !iv_package TYPE devclass !ii_log TYPE REF TO zif_abapgit_log CHANGING !ct_tadir TYPE zif_abapgit_definitions=>ty_tadir_tt . METHODS get_ssl_id RETURNING VALUE(rv_ssl_id) TYPE ssfapplssl . METHODS custom_serialize_abap_clif IMPORTING !is_class_key TYPE seoclskey RETURNING VALUE(rt_source) TYPE zif_abapgit_definitions=>ty_string_tt RAISING zcx_abapgit_exception . METHODS deserialize_postprocess IMPORTING !is_step TYPE zif_abapgit_definitions=>ty_step_data !ii_log TYPE REF TO zif_abapgit_log . ENDINTERFACE.
[ 41358, 49836, 1976, 361, 62, 397, 499, 18300, 62, 37023, 198, 220, 44731, 764, 628, 198, 220, 24412, 47, 1546, 25, 198, 220, 220, 220, 1259, 62, 291, 76, 62, 82, 10951, 17, 62, 926, 41876, 49053, 9795, 43679, 3963, 14158, 76, 62, 82, 10951, 17, 13315, 5550, 38865, 35374, 764, 628, 220, 337, 36252, 50, 1487, 62, 12001, 62, 4774, 198, 220, 220, 220, 5870, 15567, 2751, 198, 220, 220, 220, 220, 220, 5145, 310, 62, 4774, 82, 41876, 1259, 62, 291, 76, 62, 82, 10951, 17, 62, 926, 764, 198, 220, 337, 36252, 50, 1249, 62, 82, 499, 62, 48205, 198, 220, 220, 220, 30826, 4261, 15871, 198, 220, 220, 220, 220, 220, 26173, 8924, 7, 81, 85, 62, 40845, 8, 41876, 450, 499, 62, 30388, 764, 198, 220, 337, 36252, 50, 1487, 62, 36436, 62, 6371, 198, 220, 220, 220, 30023, 9863, 2751, 198, 220, 220, 220, 220, 220, 5145, 452, 62, 260, 7501, 62, 6371, 220, 41876, 269, 43167, 198, 220, 220, 220, 5870, 15567, 2751, 198, 220, 220, 220, 220, 220, 5145, 33967, 62, 36436, 62, 6371, 41876, 4731, 764, 198, 220, 337, 36252, 50, 1487, 62, 36436, 62, 634, 198, 220, 220, 220, 30023, 9863, 2751, 198, 220, 220, 220, 220, 220, 5145, 452, 62, 260, 7501, 62, 6371, 220, 220, 41876, 269, 43167, 198, 220, 220, 220, 5870, 15567, 2751, 198, 220, 220, 220, 220, 220, 5145, 33967, 62, 36436, 62, 634, 41876, 4731, 764, 198, 220, 337, 36252, 50, 1487, 62, 36436, 62, 41299, 3299, 198, 220, 220, 220, 30023, 9863, 2751, 198, 220, 220, 220, 220, 220, 5145, 452, 62, 260, 7501, 62, 6371, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 41876, 269, 43167, 198, 220, 220, 220, 5870, 15567, 2751, 198, 220, 220, 220, 220, 220, 5145, 33967, 62, 36436, 62, 41299, 3299, 41876, 450, 499, 62, 30388, 764, 198, 220, 337, 36252, 50, 2251, 62, 4023, 62, 16366, 198, 220, 220, 220, 30023, 9863, 2751, 198, 220, 220, 220, 220, 220, 5145, 452, 62, 6371, 220, 220, 220, 220, 220, 220, 220, 220, 220, 41876, 4731, 198, 220, 220, 220, 30826, 4261, 15871, 198, 220, 220, 220, 220, 220, 26173, 8924, 7, 380, 62, 16366, 8, 41876, 4526, 37, 5390, 611, 62, 4023, 62, 16366, 198, 220, 220, 220, 17926, 1797, 2751, 198, 220, 220, 220, 220, 220, 1976, 66, 87, 62, 397, 499, 18300, 62, 1069, 4516, 764, 198, 220, 337, 36252, 50, 2638, 62, 16366, 198, 220, 220, 220, 30023, 9863, 2751, 198, 220, 220, 220, 220, 220, 5145, 452, 62, 6371, 220, 220, 220, 41876, 4731, 198, 220, 220, 220, 220, 220, 5145, 4178, 62, 16366, 41876, 4526, 37, 5390, 611, 62, 4023, 62, 16366, 764, 198, 220, 337, 36252, 50, 1487, 62, 83, 324, 343, 198, 220, 220, 220, 30023, 9863, 2751, 198, 220, 220, 220, 220, 220, 5145, 452, 62, 26495, 41876, 1614, 4871, 198, 220, 220, 220, 220, 220, 5145, 4178, 62, 6404, 220, 220, 220, 220, 41876, 4526, 37, 5390, 1976, 361, 62, 397, 499, 18300, 62, 6404, 198, 220, 220, 220, 5870, 15567, 2751, 198, 220, 220, 220, 220, 220, 5145, 310, 62, 83, 324, 343, 220, 220, 41876, 1976, 361, 62, 397, 499, 18300, 62, 4299, 50101, 14804, 774, 62, 83, 324, 343, 62, 926, 764, 198, 220, 337, 36252, 50, 651, 62, 45163, 62, 312, 198, 220, 220, 220, 30826, 4261, 15871, 198, 220, 220, 220, 220, 220, 26173, 8924, 7, 81, 85, 62, 45163, 62, 312, 8, 41876, 264, 28202, 1324, 75, 45163, 764, 198, 220, 337, 36252, 50, 2183, 62, 46911, 1096, 62, 397, 499, 62, 565, 361, 198, 220, 220, 220, 30023, 9863, 2751, 198, 220, 220, 220, 220, 220, 5145, 271, 62, 4871, 62, 2539, 220, 220, 220, 41876, 384, 420, 7278, 2539, 198, 220, 220, 220, 30826, 4261, 15871, 198, 220, 220, 220, 220, 220, 26173, 8924, 7, 17034, 62, 10459, 8, 41876, 1976, 361, 62, 397, 499, 18300, 62, 4299, 50101, 14804, 774, 62, 8841, 62, 926, 198, 220, 220, 220, 17926, 1797, 2751, 198, 220, 220, 220, 220, 220, 1976, 66, 87, 62, 397, 499, 18300, 62, 1069, 4516, 764, 198, 220, 337, 36252, 50, 748, 48499, 1096, 62, 7353, 14681, 198, 220, 220, 220, 30023, 9863, 2751, 198, 220, 220, 220, 220, 220, 5145, 271, 62, 9662, 41876, 1976, 361, 62, 397, 499, 18300, 62, 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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 ]
*&---------------------------------------------------------------------* *& Include ZLOCK_R_MANAGEMENT_F01 *&---------------------------------------------------------------------* FORM user_command USING pe_ucomm. mo_controller->on_user_command( pe_ucomm ). ENDFORM.
[ 9, 5, 10097, 30934, 9, 198, 9, 5, 220, 40348, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 1168, 36840, 62, 49, 62, 10725, 4760, 12529, 62, 37, 486, 198, 9, 5, 10097, 30934, 9, 198, 198, 21389, 2836, 62, 21812, 1294, 2751, 613, 62, 84, 9503, 13, 198, 220, 6941, 62, 36500, 3784, 261, 62, 7220, 62, 21812, 7, 613, 62, 84, 9503, 6739, 198, 1677, 8068, 1581, 44, 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 ]
*&---------------------------------------------------------------------* *& Report YJRS_ABAP_0004 *&---------------------------------------------------------------------* * This programs will measure: REPORT YJRS_ABAP_0004. DEFINE START_MEASUREMENT. CALL METHOD &1->start_measurement EXPORTING pi_id = &2. END-OF-DEFINITION. DEFINE END_MEASUREMENT. CALL METHOD &1->end_measurement EXPORTING pi_id = &2. END-OF-DEFINITION. PARAMETERS: p_seed TYPE i DEFAULT 1, p_times TYPE i DEFAULT 5000. SELECTION-SCREEN: BEGIN OF LINE. SELECTION-SCREEN COMMENT 5(29) d_postxt. PARAMETERS: p_minpos TYPE i DEFAULT 5, p_maxpos TYPE i. SELECTION-SCREEN: END OF LINE. PARAMETERS: p_ops TYPE i DEFAULT 10000. PARAMETERS: p_exec TYPE i DEFAULT 100. INITIALIZATION. PERFORM initialization. START-OF-SELECTION. PERFORM start_of_selection. *&---------------------------------------------------------------------* *& Form INITIALIZATION *&---------------------------------------------------------------------* FORM initialization . d_postxt = 'Positions'. ENDFORM. *&---------------------------------------------------------------------* *& Form START_OF_SELECTION *&---------------------------------------------------------------------* FORM start_of_selection . TYPES: BEGIN OF lt_position, docnr TYPE n LENGTH 10, gjahr TYPE gjahr, posnr TYPE n LENGTH 3, END OF lt_position. DATA: lo_runtime_1 TYPE REF TO yjrs_runtime_measurement, lo_runtime_2 TYPE REF TO yjrs_runtime_measurement, lo_runtime_3 TYPE REF TO yjrs_runtime_measurement, lo_random_gjahr TYPE REF TO cl_abap_random_int, lo_random_pos TYPE REF TO cl_abap_random_int, l_times_pos TYPE i, l_docnr TYPE i, l_gjahr TYPE gjahr, li_operations TYPE STANDARD TABLE OF lt_position WITH HEADER LINE, li_positions TYPE STANDARD TABLE OF lt_position WITH HEADER LINE, li_positions_sorted TYPE SORTED TABLE OF lt_position WITH UNIQUE KEY docnr gjahr posnr WITH HEADER LINE, li_positions_hashed TYPE HASHED TABLE OF lt_position WITH UNIQUE KEY docnr gjahr posnr WITH HEADER LINE, li_positions_sec_sorted TYPE STANDARD TABLE OF lt_position WITH UNIQUE SORTED KEY sort_key COMPONENTS docnr gjahr posnr WITH HEADER LINE, li_positions_sec_hashed TYPE STANDARD TABLE OF lt_position WITH UNIQUE SORTED KEY hash_key COMPONENTS docnr gjahr posnr WITH HEADER LINE. CREATE OBJECT lo_runtime_1. CREATE OBJECT lo_runtime_2. CREATE OBJECT lo_runtime_3. ********************************************************************** * Populating test internal tables. CALL METHOD cl_abap_random_int=>create EXPORTING seed = p_seed min = 2000 max = 2020 RECEIVING prng = lo_random_gjahr. IF NOT p_maxpos IS INITIAL. CALL METHOD cl_abap_random_int=>create EXPORTING seed = p_seed min = p_minpos max = p_maxpos RECEIVING prng = lo_random_pos. ENDIF. DO p_times TIMES. l_docnr = sy-index. l_gjahr = lo_random_gjahr->get_next( ). IF p_maxpos IS INITIAL. l_times_pos = p_minpos. ELSE. l_times_pos = lo_random_pos->get_next( ). ENDIF. DO l_times_pos TIMES. li_positions-posnr = sy-index. li_positions-docnr = l_docnr. li_positions-gjahr = l_gjahr. APPEND li_positions. ENDDO. ENDDO. INSERT LINES OF li_positions INTO TABLE li_positions_sorted. INSERT LINES OF li_positions INTO TABLE li_positions_hashed. INSERT LINES OF li_positions INTO TABLE li_positions_sec_sorted. INSERT LINES OF li_positions INTO TABLE li_positions_sec_hashed. ********************************************************************** WRITE: / 'Seed:', p_seed. WRITE: /. WRITE: / 'Head entries:', p_times. IF p_maxpos IS INITIAL. WRITE: / 'Positions per head:', p_minpos. ELSE. WRITE: / 'Positions per head:', p_minpos, '-', p_maxpos. ENDIF. WRITE: / 'Total positions:', LINES( li_positions ). WRITE: /. DO p_ops TIMES. ADD 1 TO l_docnr. l_gjahr = lo_random_gjahr->get_next( ). li_operations-posnr = sy-index. li_operations-docnr = l_docnr. li_operations-gjahr = l_gjahr. APPEND li_operations. ENDDO. DO p_exec TIMES. START_MEASUREMENT lo_runtime_1 'APPEND STANDARD TABLE'. LOOP AT li_operations. APPEND li_operations TO li_positions. ENDLOOP. END_MEASUREMENT lo_runtime_1 'APPEND STANDARD TABLE'. START_MEASUREMENT lo_runtime_1 'INSERT SORTED TABLE'. LOOP AT li_operations. INSERT li_operations INTO TABLE li_positions_sorted. ENDLOOP. END_MEASUREMENT lo_runtime_1 'INSERT SORTED TABLE'. START_MEASUREMENT lo_runtime_1 'INSERT HASHED TABLE'. LOOP AT li_operations. INSERT li_operations INTO TABLE li_positions_hashed. ENDLOOP. END_MEASUREMENT lo_runtime_1 'INSERT HASHED TABLE'. START_MEASUREMENT lo_runtime_1 'INSERT SEC SORTED TABLE'. LOOP AT li_operations. INSERT li_operations INTO TABLE li_positions_sec_sorted. ENDLOOP. END_MEASUREMENT lo_runtime_1 'INSERT SEC SORTED TABLE'. START_MEASUREMENT lo_runtime_1 'INSERT SEC HASHED TABLE'. LOOP AT li_operations. INSERT li_operations INTO TABLE li_positions_sec_hashed. ENDLOOP. END_MEASUREMENT lo_runtime_1 'INSERT SEC HASHED TABLE'. SORT li_positions BY docnr gjahr posnr. START_MEASUREMENT lo_runtime_2 'DELETE STANDARD TABLE'. LOOP AT li_operations. READ TABLE li_positions WITH KEY docnr = li_operations-docnr gjahr = li_operations-gjahr posnr = li_operations-posnr BINARY SEARCH. IF sy-subrc = 0. DELETE li_positions INDEX sy-tabix. ENDIF. ENDLOOP. END_MEASUREMENT lo_runtime_2 'DELETE STANDARD TABLE'. START_MEASUREMENT lo_runtime_2 'DELETE SORTED TABLE'. LOOP AT li_operations. DELETE li_positions_sorted WHERE docnr = li_operations-docnr AND gjahr = li_operations-gjahr AND posnr = li_operations-posnr. ENDLOOP. END_MEASUREMENT lo_runtime_2 'DELETE SORTED TABLE'. START_MEASUREMENT lo_runtime_2 'DELETE HASHED TABLE'. LOOP AT li_operations. DELETE li_positions_hashed WHERE docnr = li_operations-docnr AND gjahr = li_operations-gjahr AND posnr = li_operations-posnr. ENDLOOP. END_MEASUREMENT lo_runtime_2 'DELETE HASHED TABLE'. START_MEASUREMENT lo_runtime_2 'DELETE SEC SORTED TABLE'. LOOP AT li_operations. DELETE li_positions_sec_sorted USING KEY sort_key WHERE docnr = li_operations-docnr AND gjahr = li_operations-gjahr AND posnr = li_operations-posnr. ENDLOOP. END_MEASUREMENT lo_runtime_2 'DELETE SEC SORTED TABLE'. START_MEASUREMENT lo_runtime_2 'DELETE SEC HASHED TABLE'. LOOP AT li_operations. DELETE li_positions_sec_hashed USING KEY hash_key WHERE docnr = li_operations-docnr AND gjahr = li_operations-gjahr AND posnr = li_operations-posnr. ENDLOOP. END_MEASUREMENT lo_runtime_2 'DELETE SEC HASHED TABLE'. START_MEASUREMENT lo_runtime_3 'APPEND STANDARD TABLE (LINES)'. APPEND LINES OF li_operations TO li_positions. END_MEASUREMENT lo_runtime_3 'APPEND STANDARD TABLE (LINES)'. START_MEASUREMENT lo_runtime_3 'INSERT SORTED TABLE (LINES)'. INSERT LINES OF li_operations INTO TABLE li_positions_sorted. END_MEASUREMENT lo_runtime_3 'INSERT SORTED TABLE (LINES)'. START_MEASUREMENT lo_runtime_3 'INSERT HASHED TABLE (LINES)'. INSERT LINES OF li_operations INTO TABLE li_positions_hashed. END_MEASUREMENT lo_runtime_3 'INSERT HASHED TABLE (LINES)'. START_MEASUREMENT lo_runtime_3 'INSERT SEC SORTED TABLE (LINES)'. INSERT LINES OF li_operations INTO TABLE li_positions_sec_sorted. END_MEASUREMENT lo_runtime_3 'INSERT SEC SORTED TABLE (LINES)'. START_MEASUREMENT lo_runtime_3 'INSERT SEC HASHED TABLE (LINES)'. INSERT LINES OF li_operations INTO TABLE li_positions_sec_hashed. END_MEASUREMENT lo_runtime_3 'INSERT SEC HASHED TABLE (LINES)'. ********************************************************************** * Tables cleaning. SORT li_positions BY docnr gjahr posnr. LOOP AT li_operations. READ TABLE li_positions WITH KEY docnr = li_operations-docnr gjahr = li_operations-gjahr posnr = li_operations-posnr BINARY SEARCH. IF sy-subrc = 0. DELETE li_positions INDEX sy-tabix. ENDIF. ENDLOOP. LOOP AT li_operations. DELETE li_positions_sorted WHERE docnr = li_operations-docnr AND gjahr = li_operations-gjahr AND posnr = li_operations-posnr. ENDLOOP. LOOP AT li_operations. DELETE li_positions_hashed WHERE docnr = li_operations-docnr AND gjahr = li_operations-gjahr AND posnr = li_operations-posnr. ENDLOOP. LOOP AT li_operations. DELETE li_positions_sec_sorted USING KEY sort_key WHERE docnr = li_operations-docnr AND gjahr = li_operations-gjahr AND posnr = li_operations-posnr. ENDLOOP. LOOP AT li_operations. DELETE li_positions_sec_hashed USING KEY hash_key WHERE docnr = li_operations-docnr AND gjahr = li_operations-gjahr AND posnr = li_operations-posnr. ENDLOOP. ********************************************************************** ENDDO. WRITE: / '* INSERT performance'. ULINE. CALL METHOD lo_runtime_1->display_measurement EXPORTING pi_display_mode = yjrs_runtime_measurement=>e_display_mode-graphical pi_time_mode = yjrs_runtime_measurement=>e_time_mode-average. WRITE: /. WRITE: / '* INSERT (LINES) performance'. ULINE. CALL METHOD lo_runtime_3->display_measurement EXPORTING pi_display_mode = yjrs_runtime_measurement=>e_display_mode-graphical pi_time_mode = yjrs_runtime_measurement=>e_time_mode-average. WRITE: /. WRITE: / '* DELETE performance'. ULINE. CALL METHOD lo_runtime_2->display_measurement EXPORTING pi_display_mode = yjrs_runtime_measurement=>e_display_mode-graphical pi_time_mode = yjrs_runtime_measurement=>e_time_mode-average. ENDFORM.
[ 9, 5, 10097, 30934, 9, 198, 9, 5, 6358, 575, 41, 6998, 62, 6242, 2969, 62, 830, 19, 198, 9, 5, 10097, 30934, 9, 198, 9, 770, 4056, 481, 3953, 25, 198, 2200, 15490, 575, 41, 6998, 62, 6242, 2969, 62, 830, 19, 13, 198, 198, 7206, 29940, 33303, 62, 11682, 1921, 11335, 10979, 13, 198, 220, 42815, 337, 36252, 1222, 16, 3784, 9688, 62, 1326, 5015, 434, 198, 220, 220, 220, 7788, 15490, 2751, 198, 220, 220, 220, 220, 220, 31028, 62, 312, 796, 1222, 17, 13, 198, 10619, 12, 19238, 12, 7206, 20032, 17941, 13, 198, 7206, 29940, 23578, 62, 11682, 1921, 11335, 10979, 13, 198, 220, 42815, 337, 36252, 1222, 16, 3784, 437, 62, 1326, 5015, 434, 198, 220, 220, 220, 7788, 15490, 2751, 198, 220, 220, 220, 220, 220, 31028, 62, 312, 796, 1222, 17, 13, 198, 10619, 12, 19238, 12, 7206, 20032, 17941, 13, 198, 198, 27082, 2390, 2767, 4877, 25, 279, 62, 28826, 41876, 1312, 5550, 38865, 352, 11, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 279, 62, 22355, 41876, 1312, 5550, 38865, 23336, 13, 198, 46506, 2849, 12, 6173, 2200, 1677, 25, 347, 43312, 3963, 48920, 13, 198, 220, 33493, 2849, 12, 6173, 2200, 1677, 9440, 10979, 642, 7, 1959, 8, 288, 62, 7353, 742, 13, 198, 220, 29463, 2390, 2767, 4877, 25, 279, 62, 1084, 1930, 41876, 1312, 5550, 38865, 642, 11, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 279, 62, 9806, 1930, 41876, 1312, 13, 198, 46506, 2849, 12, 6173, 2200, 1677, 25, 23578, 3963, 48920, 13, 198, 27082, 2390, 2767, 4877, 25, 279, 62, 2840, 41876, 1312, 5550, 38865, 33028, 13, 198, 27082, 2390, 2767, 4877, 25, 279, 62, 18558, 41876, 1312, 5550, 38865, 1802, 13, 198, 198, 1268, 2043, 12576, 14887, 6234, 13, 198, 220, 19878, 21389, 37588, 13, 198, 2257, 7227, 12, 19238, 12, 46506, 2849, 13, 198, 220, 19878, 21389, 923, 62, 1659, 62, 49283, 13, 198, 9, 5, 10097, 30934, 9, 198, 9, 5, 5178, 3268, 2043, 12576, 14887, 6234, 198, 9, 5, 10097, 30934, 9, 198, 21389, 37588, 764, 198, 220, 288, 62, 7353, 742, 796, 705, 21604, 1756, 4458, 198, 1677, 8068, 1581, 44, 13, 198, 9, 5, 10097, 30934, 9, 198, 9, 5, 5178, 33303, 62, 19238, 62, 46506, 2849, 198, 9, 5, 10097, 30934, 9, 198, 21389, 923, 62, 1659, 62, 49283, 764, 198, 220, 24412, 47, 1546, 25, 347, 43312, 3963, 300, 83, 62, 9150, 11, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 2205, 48624, 41876, 299, 406, 49494, 838, 11, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 308, 31558, 81, 41876, 308, 31558, 81, 11, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 1426, 48624, 41876, 299, 406, 49494, 513, 11, 198, 220, 220, 220, 220, 220, 220, 220, 220, 23578, 3963, 300, 83, 62, 9150, 13, 628, 220, 42865, 25, 2376, 62, 43282, 62, 16, 41876, 4526, 37, 5390, 331, 73, 3808, 62, 43282, 62, 1326, 5015, 434, 11, 198, 220, 220, 220, 220, 220, 220, 220, 2376, 62, 43282, 62, 17, 41876, 4526, 37, 5390, 331, 73, 3808, 62, 43282, 62, 1326, 5015, 434, 11, 198, 220, 220, 220, 220, 220, 220, 220, 2376, 62, 43282, 62, 18, 41876, 4526, 37, 5390, 331, 73, 3808, 62, 43282, 62, 1326, 5015, 434, 11, 628, 220, 220, 220, 220, 220, 220, 220, 2376, 62, 25120, 62, 70, 31558, 81, 41876, 4526, 37, 5390, 537, 62, 397, 499, 62, 25120, 62, 600, 11, 198, 220, 220, 220, 220, 220, 220, 220, 2376, 62, 25120, 62, 1930, 41876, 4526, 37, 5390, 537, 62, 397, 499, 62, 25120, 62, 600, 11, 628, 220, 220, 220, 220, 220, 220, 220, 300, 62, 22355, 62, 1930, 41876, 1312, 11, 628, 220, 220, 220, 220, 220, 220, 220, 300, 62, 15390, 48624, 41876, 1312, 11, 198, 220, 220, 220, 220, 220, 220, 220, 300, 62, 70, 31558, 81, 41876, 308, 31558, 81, 11, 628, 220, 220, 220, 220, 220, 220, 220, 7649, 62, 3575, 602, 41876, 49053, 9795, 43679, 3963, 300, 83, 62, 9150, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 13315, 39837, 1137, 48920, 11, 628, 220, 220, 220, 220, 220, 220, 220, 7649, 62, 1930, 1756, 41876, 49053, 9795, 43679, 3963, 300, 83, 62, 9150, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 13315, 39837, 1137, 48920, 11, 198, 220, 220, 220, 220, 220, 220, 220, 7649, 62, 1930, 1756, 62, 82, 9741, 41876, 311, 9863, 1961, 43679, 3963, 300, 83, 62, 9150, 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, 13315, 4725, 33866, 8924, 35374, 2205, 48624, 308, 31558, 81, 1426, 48624, 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, 13315, 39837, 1137, 48920, 11, 198, 220, 220, 220, 220, 220, 220, 220, 7649, 62, 1930, 1756, 62, 71, 5263, 41876, 367, 11211, 1961, 43679, 3963, 300, 83, 62, 9150, 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, 13315, 4725, 33866, 8924, 35374, 2205, 48624, 308, 31558, 81, 1426, 48624, 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, 13315, 39837, 1137, 48920, 11, 198, 220, 220, 220, 220, 220, 220, 220, 7649, 62, 1930, 1756, 62, 2363, 62, 82, 9741, 41876, 49053, 9795, 43679, 3963, 300, 83, 62, 9150, 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, 13315, 4725, 33866, 8924, 311 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1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at_oea_source_object PUBLIC . INTERFACES: zif_advoat_oea_object. ALIASES: get_name FOR zif_advoat_oea_object~get_name, get_display_name FOR zif_advoat_oea_object~get_display_name. TYPES: ty_table TYPE STANDARD TABLE OF REF TO zif_advoat_oea_source_object WITH EMPTY KEY. METHODS: "! <p class="shorttext synchronized" lang="en">Checks if the source object exists</p> exists RETURNING VALUE(result) TYPE abap_bool, "! <p class="shorttext synchronized" lang="en">Determines object environment</p> determine_environment, "! <p class="shorttext synchronized" lang="en">Persists the current</p> persist IMPORTING analysis_id TYPE sysuuid_x16, "! <p class="shorttext synchronized" lang="en">Sets the ID of the source object</p> set_id IMPORTING id TYPE sysuuid_c32, "! <p class="shorttext synchronized" lang="en">Returns the value of the attribute 'id'</p> get_id RETURNING VALUE(result) TYPE sysuuid_x16, "! <p class="shorttext synchronized" lang="en">Sets reference to parent</p> set_parent_ref IMPORTING parent_ref TYPE sysuuid_x16, "! <p class="shorttext synchronized" lang="en">Sets the value for the 'generated' flag</p> set_generated IMPORTING generated TYPE abap_bool DEFAULT abap_true, "! <p class="shorttext synchronized" lang="en">Sets the value for the 'processing' flag</p> set_processing IMPORTING processing TYPE abap_bool DEFAULT abap_true, "! <p class="shorttext synchronized" lang="en">Returns value for the flag 'processing'</p> needs_processing RETURNING VALUE(result) TYPE abap_bool, "! <p class="shorttext synchronized" lang="en">Returns the object in structure form</p> to_structure RETURNING VALUE(result) TYPE zif_advoat_ty_oea=>ty_source_object_ext. ENDINTERFACE.
[ 40484, 1279, 79, 1398, 2625, 19509, 5239, 47192, 1, 42392, 2625, 268, 5320, 7416, 9515, 329, 543, 440, 16412, 373, 13973, 3556, 79, 29, 198, 41358, 49836, 1976, 361, 62, 324, 13038, 265, 62, 2577, 64, 62, 10459, 62, 15252, 198, 220, 44731, 764, 628, 220, 23255, 37, 2246, 1546, 25, 198, 220, 220, 220, 1976, 361, 62, 324, 13038, 265, 62, 2577, 64, 62, 15252, 13, 628, 220, 8355, 43429, 1546, 25, 198, 220, 220, 220, 651, 62, 3672, 220, 220, 220, 220, 220, 220, 220, 220, 7473, 1976, 361, 62, 324, 13038, 265, 62, 2577, 64, 62, 15252, 93, 1136, 62, 3672, 11, 198, 220, 220, 220, 651, 62, 13812, 62, 3672, 7473, 1976, 361, 62, 324, 13038, 265, 62, 2577, 64, 62, 15252, 93, 1136, 62, 13812, 62, 3672, 13, 628, 220, 24412, 47, 1546, 25, 198, 220, 220, 220, 1259, 62, 11487, 41876, 49053, 9795, 43679, 3963, 4526, 37, 5390, 1976, 361, 62, 324, 13038, 265, 62, 2577, 64, 62, 10459, 62, 15252, 13315, 38144, 9936, 35374, 13, 628, 220, 337, 36252, 50, 25, 198, 220, 220, 220, 366, 0, 1279, 79, 1398, 2625, 19509, 5239, 47192, 1, 42392, 2625, 268, 5320, 7376, 4657, 611, 262, 2723, 2134, 7160, 3556, 79, 29, 198, 220, 220, 220, 7160, 198, 220, 220, 220, 220, 220, 30826, 4261, 15871, 198, 220, 220, 220, 220, 220, 220, 220, 26173, 8924, 7, 20274, 8, 41876, 450, 499, 62, 30388, 11, 628, 220, 220, 220, 366, 0, 1279, 79, 1398, 2625, 19509, 5239, 47192, 1, 42392, 2625, 268, 5320, 35, 13221, 274, 2134, 2858, 3556, 79, 29, 198, 220, 220, 220, 5004, 62, 38986, 11, 628, 220, 220, 220, 366, 0, 1279, 79, 1398, 2625, 19509, 5239, 47192, 1, 42392, 2625, 268, 5320, 30946, 1023, 262, 1459, 3556, 79, 29, 198, 220, 220, 220, 21160, 198, 220, 220, 220, 220, 220, 30023, 9863, 2751, 198, 220, 220, 220, 220, 220, 220, 220, 3781, 62, 312, 41876, 827, 2385, 27112, 62, 87, 1433, 11, 628, 220, 220, 220, 366, 0, 1279, 79, 1398, 2625, 19509, 5239, 47192, 1, 42392, 2625, 268, 5320, 50, 1039, 262, 4522, 286, 262, 2723, 2134, 3556, 79, 29, 198, 220, 220, 220, 900, 62, 312, 198, 220, 220, 220, 220, 220, 30023, 9863, 2751, 198, 220, 220, 220, 220, 220, 220, 220, 4686, 41876, 827, 2385, 27112, 62, 66, 2624, 11, 628, 220, 220, 220, 366, 0, 1279, 79, 1398, 2625, 19509, 5239, 47192, 1, 42392, 2625, 268, 5320, 35561, 262, 1988, 286, 262, 11688, 705, 312, 6, 3556, 79, 29, 198, 220, 220, 220, 651, 62, 312, 198, 220, 220, 220, 220, 220, 30826, 4261, 15871, 198, 220, 220, 220, 220, 220, 220, 220, 26173, 8924, 7, 20274, 8, 41876, 827, 2385, 27112, 62, 87, 1433, 11, 628, 220, 220, 220, 366, 0, 1279, 79, 1398, 2625, 19509, 5239, 47192, 1, 42392, 2625, 268, 5320, 50, 1039, 4941, 284, 2560, 3556, 79, 29, 198, 220, 220, 220, 900, 62, 8000, 62, 5420, 198, 220, 220, 220, 220, 220, 30023, 9863, 2751, 198, 220, 220, 220, 220, 220, 220, 220, 2560, 62, 5420, 41876, 827, 2385, 27112, 62, 87, 1433, 11, 628, 220, 220, 220, 366, 0, 1279, 79, 1398, 2625, 19509, 5239, 47192, 1, 42392, 2625, 268, 5320, 50, 1039, 262, 1988, 329, 262, 705, 27568, 6, 6056, 3556, 79, 29, 198, 220, 220, 220, 900, 62, 27568, 198, 220, 220, 220, 220, 220, 30023, 9863, 2751, 198, 220, 220, 220, 220, 220, 220, 220, 7560, 41876, 450, 499, 62, 30388, 5550, 38865, 450, 499, 62, 7942, 11, 628, 220, 220, 220, 366, 0, 1279, 79, 1398, 2625, 19509, 5239, 47192, 1, 42392, 2625, 268, 5320, 50, 1039, 262, 1988, 329, 262, 705, 36948, 6, 6056, 3556, 79, 29, 198, 220, 220, 220, 900, 62, 36948, 198, 220, 220, 220, 220, 220, 30023, 9863, 2751, 198, 220, 220, 220, 220, 220, 220, 220, 7587, 41876, 450, 499, 62, 30388, 5550, 38865, 450, 499, 62, 7942, 11, 628, 220, 220, 220, 366, 0, 1279, 79, 1398, 2625, 19509, 5239, 47192, 1, 42392, 2625, 268, 5320, 35561, 1988, 329, 262, 6056, 705, 36948, 6, 3556, 79, 29, 198, 220, 220, 220, 2476, 62, 36948, 198, 220, 220, 220, 220, 220, 30826, 4261, 15871, 198, 220, 220, 220, 220, 220, 220, 220, 26173, 8924, 7, 20274, 8, 41876, 450, 499, 62, 30388, 11, 628, 220, 220, 220, 366, 0, 1279, 79, 1398, 2625, 19509, 5239, 47192, 1, 42392, 2625, 268, 5320, 35561, 262, 2134, 287, 4645, 1296, 3556, 79, 29, 198, 220, 220, 220, 284, 62, 301, 5620, 198, 220, 220, 220, 220, 220, 30826, 4261, 15871, 198, 220, 220, 220, 220, 220, 220, 220, 26173, 8924, 7, 20274, 8, 41876, 1976, 361, 62, 324, 13038, 265, 62, 774, 62, 2577, 64, 14804, 774, 62, 10459, 62, 15252, 62, 2302, 13, 198, 10619, 41358, 49836, 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,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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 ]
"! <p class="shorttext synchronized" lang="en"></p> "! CLASS zcl_csr_2022jp DEFINITION PUBLIC INHERITING FROM zcl_csr_2022 CREATE PUBLIC . PUBLIC SECTION. METHODS get_name REDEFINITION . METHODS get_language REDEFINITION . METHODS match REDEFINITION . PROTECTED SECTION. PRIVATE SECTION. ENDCLASS. CLASS zcl_csr_2022jp IMPLEMENTATION. METHOD get_language. language = 'jp'. ENDMETHOD. METHOD get_name. name = 'ISO-2022-JP'. ENDMETHOD. METHOD match. ENDMETHOD. ENDCLASS.
[ 40484, 1279, 79, 1398, 2625, 19509, 5239, 47192, 1, 42392, 2625, 268, 23984, 79, 29, 198, 40484, 198, 31631, 1976, 565, 62, 6359, 81, 62, 1238, 1828, 34523, 5550, 20032, 17941, 198, 220, 44731, 198, 220, 3268, 16879, 2043, 2751, 16034, 1976, 565, 62, 6359, 81, 62, 1238, 1828, 198, 220, 29244, 6158, 44731, 764, 628, 220, 44731, 44513, 13, 628, 220, 220, 220, 337, 36252, 50, 651, 62, 3672, 198, 220, 220, 220, 220, 220, 220, 220, 23848, 36, 20032, 17941, 764, 198, 220, 220, 220, 337, 36252, 50, 651, 62, 16129, 198, 220, 220, 220, 220, 220, 220, 220, 23848, 36, 20032, 17941, 764, 198, 220, 220, 220, 337, 36252, 50, 2872, 198, 220, 220, 220, 220, 220, 220, 220, 23848, 36, 20032, 17941, 764, 198, 220, 48006, 9782, 1961, 44513, 13, 198, 220, 4810, 3824, 6158, 44513, 13, 198, 10619, 31631, 13, 628, 198, 198, 31631, 1976, 565, 62, 6359, 81, 62, 1238, 1828, 34523, 30023, 2538, 10979, 6234, 13, 628, 198, 220, 337, 36252, 651, 62, 16129, 13, 628, 220, 220, 220, 3303, 796, 705, 34523, 4458, 628, 220, 23578, 49273, 13, 628, 198, 220, 337, 36252, 651, 62, 3672, 13, 628, 220, 220, 220, 1438, 796, 705, 40734, 12, 1238, 1828, 12, 12889, 4458, 628, 220, 23578, 49273, 13, 628, 198, 220, 337, 36252, 2872, 13, 628, 198, 220, 23578, 49273, 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 ]
CLASS zcl_abapgit_html_toolbar DEFINITION PUBLIC CREATE PUBLIC . PUBLIC SECTION. METHODS: constructor IMPORTING iv_id TYPE string OPTIONAL, add IMPORTING iv_txt TYPE string io_sub TYPE REF TO zcl_abapgit_html_toolbar OPTIONAL iv_typ TYPE c DEFAULT zif_abapgit_definitions=>gc_action_type-sapevent iv_act TYPE string OPTIONAL iv_ico TYPE string OPTIONAL iv_cur TYPE abap_bool OPTIONAL iv_opt TYPE c OPTIONAL iv_chk TYPE abap_bool DEFAULT abap_undefined iv_aux TYPE string OPTIONAL iv_id TYPE string OPTIONAL, count RETURNING VALUE(rv_count) TYPE i, render IMPORTING iv_right TYPE abap_bool OPTIONAL iv_sort TYPE abap_bool OPTIONAL RETURNING VALUE(ro_html) TYPE REF TO zcl_abapgit_html, render_as_droplist IMPORTING iv_label TYPE string iv_right TYPE abap_bool OPTIONAL iv_sort TYPE abap_bool OPTIONAL iv_corner TYPE abap_bool OPTIONAL iv_action TYPE string OPTIONAL RETURNING VALUE(ro_html) TYPE REF TO zcl_abapgit_html. PRIVATE SECTION. TYPES: BEGIN OF ty_item, txt TYPE string, act TYPE string, ico TYPE string, sub TYPE REF TO zcl_abapgit_html_toolbar, opt TYPE char1, typ TYPE char1, cur TYPE abap_bool, chk TYPE abap_bool, aux TYPE string, id TYPE string, END OF ty_item. TYPES tt_items TYPE STANDARD TABLE OF ty_item. DATA: mt_items TYPE tt_items, mv_id TYPE string. METHODS: render_items IMPORTING iv_sort TYPE abap_bool OPTIONAL RETURNING VALUE(ro_html) TYPE REF TO zcl_abapgit_html. ENDCLASS. CLASS zcl_abapgit_html_toolbar IMPLEMENTATION. METHOD add. DATA ls_item TYPE ty_item. ASSERT iv_typ = zif_abapgit_definitions=>gc_action_type-separator " sep doesn't have action OR iv_typ = zif_abapgit_definitions=>gc_action_type-onclick " click may have no action (assigned in JS) OR iv_typ = zif_abapgit_definitions=>gc_action_type-dummy " dummy may have no action OR iv_act IS INITIAL AND io_sub IS NOT INITIAL OR iv_act IS NOT INITIAL AND io_sub IS INITIAL. " Only one supplied ASSERT NOT ( iv_chk <> abap_undefined AND io_sub IS NOT INITIAL ). ls_item-txt = iv_txt. ls_item-act = iv_act. ls_item-ico = iv_ico. ls_item-sub = io_sub. ls_item-opt = iv_opt. ls_item-typ = iv_typ. ls_item-cur = iv_cur. ls_item-chk = iv_chk. ls_item-aux = iv_aux. ls_item-id = iv_id. APPEND ls_item TO mt_items. ENDMETHOD. "add METHOD constructor. mv_id = iv_id. ENDMETHOD. "constructor METHOD count. rv_count = lines( mt_items ). ENDMETHOD. METHOD render. DATA: lv_class TYPE string. CREATE OBJECT ro_html. lv_class = 'nav-container' ##NO_TEXT. IF iv_right = abap_true. lv_class = lv_class && ' float-right'. ENDIF. ro_html->add( |<div class="{ lv_class }">| ). ro_html->add( render_items( iv_sort = iv_sort ) ). ro_html->add( '</div>' ). ENDMETHOD. "render METHOD render_as_droplist. DATA: lv_class TYPE string. CREATE OBJECT ro_html. lv_class = 'nav-container' ##NO_TEXT. IF iv_right = abap_true. lv_class = lv_class && ' float-right'. ENDIF. IF iv_corner = abap_true. lv_class = lv_class && ' corner'. ENDIF. ro_html->add( |<div class="{ lv_class }">| ). ro_html->add( '<ul><li>' ). ro_html->add_a( iv_txt = iv_label iv_typ = zif_abapgit_definitions=>gc_action_type-sapevent iv_act = iv_action ). ro_html->add( '<div class="minizone"></div>' ). ro_html->add( render_items( iv_sort = iv_sort ) ). ro_html->add( '</li></ul>' ). ro_html->add( '</div>' ). ENDMETHOD. "render_as_droplist METHOD render_items. DATA: lv_class TYPE string, lv_icon TYPE string, lv_id TYPE string, lv_check TYPE string, lv_aux TYPE string, lv_has_icons TYPE abap_bool. FIELD-SYMBOLS <ls_item> LIKE LINE OF mt_items. CREATE OBJECT ro_html. IF iv_sort = abap_true. SORT mt_items BY txt ASCENDING AS TEXT. ENDIF. " Check has icons or check boxes LOOP AT mt_items ASSIGNING <ls_item> WHERE ico IS NOT INITIAL OR chk <> abap_undefined. lv_has_icons = abap_true. lv_class = ' class="with-icons"'. EXIT. ENDLOOP. IF mv_id IS NOT INITIAL. lv_id = | id="{ mv_id }"|. ENDIF. ro_html->add( |<ul{ lv_id }{ lv_class }>| ). " Render items LOOP AT mt_items ASSIGNING <ls_item>. CLEAR: lv_class, lv_icon. IF <ls_item>-typ = zif_abapgit_definitions=>gc_action_type-separator. ro_html->add( |<li class="separator">{ <ls_item>-txt }</li>| ). CONTINUE. ENDIF. IF lv_has_icons = abap_true. IF <ls_item>-chk = abap_true. lv_icon = zcl_abapgit_html=>icon( 'check/blue' ). lv_check = ' data-check="X"'. ELSEIF <ls_item>-chk = abap_false. lv_icon = zcl_abapgit_html=>icon( 'check/grey' ). lv_check = ' data-check=""'. ELSE. " abap_undefined -> not a check box lv_icon = zcl_abapgit_html=>icon( <ls_item>-ico ). ENDIF. ENDIF. IF <ls_item>-cur = abap_true. lv_class = ' class="current-menu-item"'. ENDIF. IF <ls_item>-aux IS NOT INITIAL. lv_aux = | data-aux="{ <ls_item>-aux }"|. ENDIF. ro_html->add( |<li{ lv_class }{ lv_check }{ lv_aux }>| ). IF <ls_item>-sub IS INITIAL. ro_html->add_a( iv_txt = lv_icon && <ls_item>-txt iv_typ = <ls_item>-typ iv_act = <ls_item>-act iv_id = <ls_item>-id iv_opt = <ls_item>-opt ). ELSE. ro_html->add_a( iv_txt = lv_icon && <ls_item>-txt iv_typ = zif_abapgit_definitions=>gc_action_type-dummy iv_act = '' iv_id = <ls_item>-id iv_opt = <ls_item>-opt ). ro_html->add( <ls_item>-sub->render_items( iv_sort ) ). ENDIF. ro_html->add( '</li>' ). ENDLOOP. ro_html->add( '</ul>' ). ENDMETHOD. "render_items ENDCLASS.
[ 31631, 1976, 565, 62, 397, 499, 18300, 62, 6494, 62, 25981, 5657, 5550, 20032, 17941, 198, 220, 44731, 198, 220, 29244, 6158, 44731, 764, 628, 220, 44731, 44513, 13, 198, 220, 220, 220, 337, 36252, 50, 25, 198, 220, 220, 220, 220, 220, 23772, 198, 220, 220, 220, 220, 220, 220, 220, 30023, 9863, 2751, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 21628, 62, 312, 41876, 4731, 39852, 2849, 1847, 11, 198, 220, 220, 220, 220, 220, 751, 198, 220, 220, 220, 220, 220, 220, 220, 30023, 9863, 2751, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 21628, 62, 14116, 41876, 4731, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 33245, 62, 7266, 41876, 4526, 37, 5390, 1976, 565, 62, 397, 499, 18300, 62, 6494, 62, 25981, 5657, 39852, 2849, 1847, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 21628, 62, 28004, 41876, 269, 220, 220, 220, 220, 220, 220, 220, 220, 5550, 38865, 1976, 361, 62, 397, 499, 18300, 62, 4299, 50101, 14804, 36484, 62, 2673, 62, 4906, 12, 82, 1758, 1151, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 21628, 62, 529, 41876, 4731, 220, 220, 220, 39852, 2849, 1847, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 21628, 62, 3713, 41876, 4731, 220, 220, 220, 39852, 2849, 1847, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 21628, 62, 22019, 41876, 450, 499, 62, 30388, 39852, 2849, 1847, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 21628, 62, 8738, 41876, 269, 220, 220, 220, 220, 220, 220, 220, 220, 39852, 2849, 1847, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 21628, 62, 354, 74, 41876, 450, 499, 62, 30388, 5550, 38865, 450, 499, 62, 917, 18156, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 21628, 62, 14644, 41876, 4731, 220, 220, 220, 39852, 2849, 1847, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 21628, 62, 312, 220, 41876, 4731, 220, 220, 220, 39852, 2849, 1847, 11, 198, 220, 220, 220, 220, 220, 954, 198, 220, 220, 220, 220, 220, 220, 220, 30826, 4261, 15871, 26173, 8924, 7, 81, 85, 62, 9127, 8, 41876, 1312, 11, 198, 220, 220, 220, 220, 220, 8543, 198, 220, 220, 220, 220, 220, 220, 220, 30023, 9863, 2751, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 21628, 62, 3506, 220, 220, 220, 220, 220, 220, 41876, 450, 499, 62, 30388, 39852, 2849, 1847, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 21628, 62, 30619, 220, 220, 220, 220, 220, 220, 220, 41876, 450, 499, 62, 30388, 39852, 2849, 1847, 198, 220, 220, 220, 220, 220, 220, 220, 30826, 4261, 15871, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 26173, 8924, 7, 305, 62, 6494, 8, 41876, 4526, 37, 5390, 1976, 565, 62, 397, 499, 18300, 62, 6494, 11, 198, 220, 220, 220, 220, 220, 8543, 62, 292, 62, 22285, 489, 396, 198, 220, 220, 220, 220, 220, 220, 220, 30023, 9863, 2751, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 21628, 62, 18242, 220, 220, 220, 220, 220, 220, 41876, 4731, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 21628, 62, 3506, 220, 220, 220, 220, 220, 220, 41876, 450, 499, 62, 30388, 39852, 2849, 1847, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 21628, 62, 30619, 220, 220, 220, 220, 220, 220, 220, 41876, 450, 499, 62, 30388, 39852, 2849, 1847, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 21628, 62, 10215, 1008, 220, 220, 220, 220, 220, 41876, 450, 499, 62, 30388, 39852, 2849, 1847, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 21628, 62, 2673, 220, 220, 220, 220, 220, 41876, 4731, 39852, 2849, 1847, 198, 220, 220, 220, 220, 220, 220, 220, 30826, 4261, 15871, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 26173, 8924, 7, 305, 62, 6494, 8, 41876, 4526, 37, 5390, 1976, 565, 62, 397, 499, 18300, 62, 6494, 13, 628, 220, 4810, 3824, 6158, 44513, 13, 198, 220, 220, 220, 24412, 47, 1546, 25, 198, 220, 220, 220, 220, 220, 347, 43312, 3963, 1259, 62, 9186, 11, 198, 220, 220, 220, 220, 220, 220, 220, 256, 742, 41876, 4731, 11, 198, 220, 220, 220, 220, 220, 220, 220, 719, 41876, 4731, 11, 198, 220, 220, 220, 220, 220, 220, 220, 220, 3713, 41876, 4731, 11, 198, 220, 220, 220, 220, 220, 220, 220, 850, 41876, 4526, 37, 5390, 1976, 565, 62, 397, 499, 18300, 62, 6494, 62, 25981, 5657, 11, 198, 220, 220, 220, 220, 220, 220, 220, 2172, 41876, 1149, 16, 11, 198, 220, 220, 220, 220, 220, 220, 220, 2170, 41876, 1149, 16, 11, 198, 220, 220, 220, 220, 220, 220, 220, 1090, 41876, 450, 499, 62, 30388, 11, 198, 220, 220, 220, 220, 220, 220, 220, 442, 74, 41876, 450, 499, 62, 30388, 11, 198, 220, 220, 220, 220, 220, 220, 220, 27506, 41876, 4731, 11, 198, 220, 220, 220, 220, 220, 220, 220, 4686, 220, 41876, 4731, 11, 198, 220, 220, 220, 220, 220, 23578, 3963, 1259, 62, 9186, 13, 628, 220, 220, 220, 24412, 47, 1546, 256, 83, 62, 23814, 41876, 49053, 9795, 43679, 3963, 1259, 62, 9186, 13, 628, 220, 220, 220, 42865, 25, 45079, 62, 23814, 41876, 256, 83, 62, 23814, 11, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 285, 85, 62, 312, 220, 220, 220, 41876, 4731, 13, 628, 220, 220, 220, 337, 36252, 50, 25, 198, 220, 220, 220, 220, 220, 8543, 62, 23814, 198, 220, 220, 220, 220, 220, 220, 220, 30023, 9863, 2751, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 21628, 62, 30619, 220, 220, 220, 220, 220, 220, 220, 41876, 450, 499, 62, 30388, 39852, 2849, 1847, 198, 220, 220, 220, 220, 220, 220, 220, 30826, 4261, 15871, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 26173, 8924, 7, 305, 62, 6494, 8, 41876, 4526, 37, 5390, 1976, 565, 62, 397, 499, 18300, 62, 6494, 13, 198, 198, 10619, 31631, 13, 628, 198, 198, 31631, 1976, 565, 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, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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 ]
CLASS /iwbep/cl_mgw_push_abs_data DEFINITION PUBLIC ABSTRACT CREATE PUBLIC. PUBLIC SECTION. INTERFACES /iwbep/if_mgw_core_srv_runtime. INTERFACES /iwbep/if_mgw_conv_srv_runtime. INTERFACES /iwbep/if_mgw_appl_srv_runtime. PROTECTED SECTION. DATA mo_context TYPE REF TO /iwbep/if_mgw_context. METHODS check_subscription_authority IMPORTING is_subscription_data TYPE /iwbep/s_mgw_db_sub_data RAISING /iwbep/cx_mgw_busi_exception /iwbep/cx_mgw_tech_exception. PRIVATE SECTION. ENDCLASS. CLASS /iwbep/cl_mgw_push_abs_data IMPLEMENTATION. METHOD check_subscription_authority. RETURN. ENDMETHOD. METHOD /iwbep/if_mgw_appl_srv_runtime~create_deep_entity. RETURN. ENDMETHOD. METHOD /iwbep/if_mgw_appl_srv_runtime~get_stream. RETURN. ENDMETHOD. METHOD /iwbep/if_mgw_appl_srv_runtime~update_stream. RETURN. ENDMETHOD. METHOD /iwbep/if_mgw_core_srv_runtime~init. RETURN. ENDMETHOD. METHOD /iwbep/if_mgw_conv_srv_runtime~get_message_container. RETURN. ENDMETHOD. METHOD /iwbep/if_mgw_conv_srv_runtime~set_header. RETURN. ENDMETHOD. ENDCLASS.
[ 31631, 1220, 14246, 65, 538, 14, 565, 62, 11296, 86, 62, 14689, 62, 8937, 62, 7890, 5550, 20032, 17941, 44731, 9564, 18601, 10659, 29244, 6158, 44731, 13, 628, 220, 44731, 44513, 13, 198, 220, 220, 220, 23255, 37, 2246, 1546, 1220, 14246, 65, 538, 14, 361, 62, 11296, 86, 62, 7295, 62, 27891, 85, 62, 43282, 13, 198, 220, 220, 220, 23255, 37, 2246, 1546, 1220, 14246, 65, 538, 14, 361, 62, 11296, 86, 62, 42946, 62, 27891, 85, 62, 43282, 13, 198, 220, 220, 220, 23255, 37, 2246, 1546, 1220, 14246, 65, 538, 14, 361, 62, 11296, 86, 62, 1324, 75, 62, 27891, 85, 62, 43282, 13, 198, 220, 48006, 9782, 1961, 44513, 13, 198, 220, 220, 220, 42865, 6941, 62, 22866, 41876, 4526, 37, 5390, 1220, 14246, 65, 538, 14, 361, 62, 11296, 86, 62, 22866, 13, 198, 220, 220, 220, 337, 36252, 50, 2198, 62, 7266, 33584, 62, 9800, 414, 198, 220, 220, 220, 220, 220, 30023, 9863, 2751, 198, 220, 220, 220, 220, 220, 220, 220, 318, 62, 7266, 33584, 62, 7890, 41876, 1220, 14246, 65, 538, 14, 82, 62, 11296, 86, 62, 9945, 62, 7266, 62, 7890, 198, 220, 220, 220, 220, 220, 17926, 1797, 2751, 198, 220, 220, 220, 220, 220, 220, 220, 1220, 14246, 65, 538, 14, 66, 87, 62, 11296, 86, 62, 10885, 72, 62, 1069, 4516, 198, 220, 220, 220, 220, 220, 220, 220, 1220, 14246, 65, 538, 14, 66, 87, 62, 11296, 86, 62, 13670, 62, 1069, 4516, 13, 198, 220, 4810, 3824, 6158, 44513, 13, 198, 198, 10619, 31631, 13, 198, 198, 31631, 1220, 14246, 65, 538, 14, 565, 62, 11296, 86, 62, 14689, 62, 8937, 62, 7890, 30023, 2538, 10979, 6234, 13, 628, 220, 337, 36252, 2198, 62, 7266, 33584, 62, 9800, 414, 13, 198, 220, 220, 220, 30826, 27064, 13, 198, 220, 23578, 49273, 13, 628, 220, 337, 36252, 1220, 14246, 65, 538, 14, 361, 62, 11296, 86, 62, 1324, 75, 62, 27891, 85, 62, 43282, 93, 17953, 62, 22089, 62, 26858, 13, 198, 220, 220, 220, 30826, 27064, 13, 198, 220, 23578, 49273, 13, 628, 220, 337, 36252, 1220, 14246, 65, 538, 14, 361, 62, 11296, 86, 62, 1324, 75, 62, 27891, 85, 62, 43282, 93, 1136, 62, 5532, 13, 198, 220, 220, 220, 30826, 27064, 13, 198, 220, 23578, 49273, 13, 628, 220, 337, 36252, 1220, 14246, 65, 538, 14, 361, 62, 11296, 86, 62, 1324, 75, 62, 27891, 85, 62, 43282, 93, 19119, 62, 5532, 13, 198, 220, 220, 220, 30826, 27064, 13, 198, 220, 23578, 49273, 13, 628, 220, 337, 36252, 1220, 14246, 65, 538, 14, 361, 62, 11296, 86, 62, 7295, 62, 27891, 85, 62, 43282, 93, 15003, 13, 198, 220, 220, 220, 30826, 27064, 13, 198, 220, 23578, 49273, 13, 628, 220, 337, 36252, 1220, 14246, 65, 538, 14, 361, 62, 11296, 86, 62, 42946, 62, 27891, 85, 62, 43282, 93, 1136, 62, 20500, 62, 34924, 13, 198, 220, 220, 220, 30826, 27064, 13, 198, 220, 23578, 49273, 13, 628, 220, 337, 36252, 1220, 14246, 65, 538, 14, 361, 62, 11296, 86, 62, 42946, 62, 27891, 85, 62, 43282, 93, 2617, 62, 25677, 13, 198, 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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 ]
*"* use this source file for your ABAP unit test classes *--------------------------------------------------------------------* * Test double: Single use container [0-1] *--------------------------------------------------------------------* CLASS lcl_single_use_container DEFINITION FINAL FOR TESTING. PUBLIC SECTION. INTERFACES: /usi/if_bal_data_container. METHODS constructor IMPORTING i_serialized_data_container TYPE /usi/bal_xml_string. PRIVATE SECTION. DATA: serialized_data_container TYPE /usi/bal_xml_string. ENDCLASS. CLASS lcl_single_use_container IMPLEMENTATION. METHOD constructor. serialized_data_container = i_serialized_data_container. ENDMETHOD. METHOD /usi/if_bal_data_container~is_multiple_use_allowed. r_result = abap_false. ENDMETHOD. METHOD /usi/if_bal_data_container~deserialize. CREATE OBJECT r_result TYPE lcl_single_use_container EXPORTING i_serialized_data_container = i_serialized_data_container. ENDMETHOD. METHOD /usi/if_bal_data_container~get_classname. r_result = 'LCL_SINGLE_USE_CONTAINER'. ENDMETHOD. METHOD /usi/if_bal_data_container~get_description. r_result = 'Dummy description'. ENDMETHOD. METHOD /usi/if_bal_data_container~serialize. r_result = serialized_data_container. ENDMETHOD. ENDCLASS. *--------------------------------------------------------------------* * Test double: Multi use container [0-n] *--------------------------------------------------------------------* CLASS lcl_multi_use_container DEFINITION FINAL FOR TESTING. PUBLIC SECTION. INTERFACES: /usi/if_bal_data_container. METHODS constructor IMPORTING i_serialized_data_container TYPE /usi/bal_xml_string. PRIVATE SECTION. DATA serialized_data_container TYPE /usi/bal_xml_string. ENDCLASS. CLASS lcl_multi_use_container IMPLEMENTATION. METHOD constructor. serialized_data_container = i_serialized_data_container. ENDMETHOD. METHOD /usi/if_bal_data_container~is_multiple_use_allowed. r_result = abap_true. ENDMETHOD. METHOD /usi/if_bal_data_container~deserialize. CREATE OBJECT r_result TYPE lcl_multi_use_container EXPORTING i_serialized_data_container = i_serialized_data_container. ENDMETHOD. METHOD /usi/if_bal_data_container~get_classname. r_result = 'LCL_MULTI_USE_CONTAINER'. ENDMETHOD. METHOD /usi/if_bal_data_container~get_description. r_result = 'Dummy description'. ENDMETHOD. METHOD /usi/if_bal_data_container~serialize. r_result = serialized_data_container. ENDMETHOD. ENDCLASS. *--------------------------------------------------------------------* * Test double: defect data container *--------------------------------------------------------------------* CLASS lcl_defect_container DEFINITION FINAL FOR TESTING. PUBLIC SECTION. INTERFACES: /usi/if_bal_data_container. CLASS-METHODS class_constructor. CLASS-METHODS set_return_invalid_classname IMPORTING i_return_invalid_classname TYPE abap_bool. CLASS-METHODS set_throw_on_deserialize IMPORTING i_throw_on_deserialize TYPE abap_bool. CLASS-METHODS set_throw_on_serialize IMPORTING i_throw_on_serialize TYPE abap_bool. CLASS-METHODS reset_to_defaults. METHODS constructor IMPORTING i_serialized_data_container TYPE /usi/bal_xml_string. PRIVATE SECTION. CONSTANTS: BEGIN OF classnames, right TYPE /usi/bal_data_cont_classname VALUE 'LCL_DEFECT_CONTAINER', wrong TYPE /usi/bal_data_cont_classname VALUE 'LCL_UNKNOWN_CLASS', END OF classnames. CLASS-DATA: my_classname TYPE /usi/bal_data_cont_classname, throw_on_deserialize TYPE abap_bool, throw_on_serialize TYPE abap_bool. DATA serialized_data_container TYPE /usi/bal_xml_string. ENDCLASS. CLASS lcl_defect_container IMPLEMENTATION. METHOD class_constructor. reset_to_defaults( ). ENDMETHOD. METHOD reset_to_defaults. set_return_invalid_classname( abap_false ). set_throw_on_deserialize( abap_false ). set_throw_on_serialize( abap_false ). ENDMETHOD. METHOD set_return_invalid_classname. IF i_return_invalid_classname EQ abap_true. my_classname = classnames-wrong. ELSE. my_classname = classnames-right. ENDIF. ENDMETHOD. METHOD set_throw_on_deserialize. throw_on_deserialize = i_throw_on_deserialize. ENDMETHOD. METHOD set_throw_on_serialize. throw_on_serialize = i_throw_on_serialize. ENDMETHOD. METHOD constructor. serialized_data_container = i_serialized_data_container. ENDMETHOD. METHOD /usi/if_bal_data_container~is_multiple_use_allowed. r_result = abap_true. ENDMETHOD. METHOD /usi/if_bal_data_container~deserialize. IF throw_on_deserialize EQ abap_false. CREATE OBJECT r_result TYPE lcl_defect_container EXPORTING i_serialized_data_container = i_serialized_data_container. ELSE. RAISE EXCEPTION TYPE /usi/cx_bal_type_mismatch EXPORTING textid = /usi/cx_bal_type_mismatch=>/usi/cx_bal_type_mismatch. ENDIF. ENDMETHOD. METHOD /usi/if_bal_data_container~get_classname. r_result = my_classname. ENDMETHOD. METHOD /usi/if_bal_data_container~get_description. r_result = 'Dummy description'. ENDMETHOD. METHOD /usi/if_bal_data_container~serialize. IF throw_on_serialize EQ abap_false. r_result = serialized_data_container. ELSE. RAISE EXCEPTION TYPE /usi/cx_bal_invalid_input EXPORTING textid = /usi/cx_bal_invalid_input=>/usi/cx_bal_invalid_input. ENDIF. ENDMETHOD. ENDCLASS. *--------------------------------------------------------------------* * Unit test: Cardinality *--------------------------------------------------------------------* CLASS lcl_unit_test_cardinality DEFINITION FINAL FOR TESTING. "#AU Risk_Level Harmless "#AU Duration Short PRIVATE SECTION. DATA cut TYPE REF TO /usi/if_bal_data_container_col. METHODS setup. METHODS test_single_use_restriction FOR TESTING. METHODS test_no_duplicates_restriction FOR TESTING. METHODS test_multi_use_is_working FOR TESTING. METHODS get_single_use_container IMPORTING i_serialized_data_container TYPE /usi/bal_xml_string RETURNING VALUE(r_result) TYPE REF TO /usi/if_bal_data_container. METHODS get_multi_use_container IMPORTING i_serialized_data_container TYPE /usi/bal_xml_string RETURNING VALUE(r_result) TYPE REF TO /usi/if_bal_data_container. METHODS assert_has_container IMPORTING i_data_container TYPE REF TO /usi/if_bal_data_container. METHODS assert_not_has_container IMPORTING i_data_container TYPE REF TO /usi/if_bal_data_container. METHODS has_container IMPORTING i_data_container TYPE REF TO /usi/if_bal_data_container RETURNING VALUE(r_result) TYPE abap_bool. ENDCLASS. CLASS lcl_unit_test_cardinality IMPLEMENTATION. METHOD setup. CREATE OBJECT cut TYPE /usi/cl_bal_dc_collection. ENDMETHOD. METHOD test_single_use_restriction. DATA: data_container_1 TYPE REF TO /usi/if_bal_data_container, data_container_2 TYPE REF TO /usi/if_bal_data_container. data_container_1 = get_single_use_container( 'Data_1' ). data_container_2 = get_single_use_container( 'Data_2' ). cut->insert( data_container_1 ). cut->insert( data_container_2 ). assert_has_container( data_container_1 ). assert_not_has_container( data_container_2 ). ENDMETHOD. METHOD test_no_duplicates_restriction. CONSTANTS the_very_same_data TYPE /usi/bal_xml_string VALUE 'The very same data'. DATA: data_container TYPE REF TO /usi/if_bal_data_container, duplicate TYPE REF TO /usi/if_bal_data_container. data_container = get_multi_use_container( the_very_same_data ). duplicate = get_multi_use_container( the_very_same_data ). cut->insert( data_container ). cut->insert( duplicate ). assert_has_container( data_container ). assert_not_has_container( duplicate ). ENDMETHOD. METHOD test_multi_use_is_working. DATA: data_container_1 TYPE REF TO /usi/if_bal_data_container, data_container_2 TYPE REF TO /usi/if_bal_data_container. data_container_1 = get_multi_use_container( 'Data_1' ). data_container_2 = get_multi_use_container( 'Data_2' ). cut->insert( data_container_1 ). cut->insert( data_container_2 ). assert_has_container( data_container_1 ). assert_has_container( data_container_2 ). ENDMETHOD. METHOD get_single_use_container. CREATE OBJECT r_result TYPE lcl_single_use_container EXPORTING i_serialized_data_container = i_serialized_data_container. ENDMETHOD. METHOD get_multi_use_container. CREATE OBJECT r_result TYPE lcl_multi_use_container EXPORTING i_serialized_data_container = i_serialized_data_container. ENDMETHOD. METHOD assert_has_container. DATA data_container_classname TYPE /usi/bal_data_cont_classname. IF has_container( i_data_container ) NE abap_true. data_container_classname = i_data_container->get_classname( ). cl_aunit_assert=>fail( msg = `Expected container is missing!` detail = data_container_classname ). ENDIF. ENDMETHOD. METHOD assert_not_has_container. DATA data_container_classname TYPE /usi/bal_data_cont_classname. IF has_container( i_data_container ) EQ abap_true. data_container_classname = i_data_container->get_classname( ). cl_aunit_assert=>fail( msg = `Unexpected container found!` detail = data_container_classname ). ENDIF. ENDMETHOD. METHOD has_container. DATA data_containers TYPE /usi/bal_data_containers. data_containers = cut->get_data_containers( ). READ TABLE data_containers TRANSPORTING NO FIELDS WITH KEY table_line = i_data_container. IF sy-subrc EQ 0. r_result = abap_true. ENDIF. ENDMETHOD. ENDCLASS. *--------------------------------------------------------------------* * Unit test: Cardinality *--------------------------------------------------------------------* CLASS lcl_unit_test_serialization DEFINITION FINAL FOR TESTING. "#AU Risk_Level Harmless "#AU Duration Short PRIVATE SECTION. TYPES: BEGIN OF ty_flattened_data_container, data_container_classname TYPE /usi/bal_data_cont_classname, serialized_data_container TYPE /usi/bal_xml_string, END OF ty_flattened_data_container, ty_flattened_data_containers TYPE SORTED TABLE OF ty_flattened_data_container WITH UNIQUE KEY data_container_classname serialized_data_container. METHODS test_serialize_deserialize FOR TESTING. METHODS test_deserialize_total_garbage FOR TESTING. METHODS test_deserialize_unknown_class FOR TESTING. METHODS test_deserialize_bad_cont_data FOR TESTING. METHODS test_empty_collection FOR TESTING. METHODS serialize_and_deserialize_coll IMPORTING i_data_container_collection TYPE REF TO /usi/if_bal_data_container_col RETURNING VALUE(r_result) TYPE REF TO /usi/if_bal_data_container_col. METHODS flatten_data_container IMPORTING i_data_container TYPE REF TO /usi/if_bal_data_container RETURNING VALUE(r_result) TYPE ty_flattened_data_container. METHODS flatten_data_cont_coll IMPORTING i_data_container_collection TYPE REF TO /usi/if_bal_data_container_col RETURNING VALUE(r_result) TYPE ty_flattened_data_containers. METHODS get_bad_data_container IMPORTING i_return_invalid_classname TYPE abap_bool DEFAULT abap_false i_throw_on_deserialize TYPE abap_bool DEFAULT abap_false RETURNING VALUE(r_result) TYPE REF TO lcl_defect_container. METHODS get_good_data_container IMPORTING i_serialized_data_container TYPE /usi/bal_xml_string RETURNING VALUE(r_result) TYPE REF TO /usi/if_bal_data_container. ENDCLASS. CLASS lcl_unit_test_serialization IMPLEMENTATION. METHOD test_deserialize_bad_cont_data. DATA: good_data_container TYPE REF TO /usi/if_bal_data_container, bad_data_container TYPE REF TO lcl_defect_container, cut TYPE REF TO /usi/if_bal_data_container_col, actual_result TYPE ty_flattened_data_containers, expected_result TYPE ty_flattened_data_containers. CREATE OBJECT cut TYPE /usi/cl_bal_dc_collection. good_data_container = get_good_data_container( `data` ). cut->insert( good_data_container ). expected_result = flatten_data_cont_coll( cut ). " Deserialize( ) should skip bad_container due to errors bad_data_container = get_bad_data_container( i_throw_on_deserialize = abap_true ). cut->insert( bad_data_container ). cut = serialize_and_deserialize_coll( cut ). actual_result = flatten_data_cont_coll( cut ). cl_aunit_assert=>assert_equals( exp = expected_result act = actual_result msg = `Data altered during serialization/deserialization!` ). ENDMETHOD. METHOD test_deserialize_unknown_class. DATA: good_data_container TYPE REF TO /usi/if_bal_data_container, bad_data_container TYPE REF TO lcl_defect_container, cut TYPE REF TO /usi/if_bal_data_container_col, actual_result TYPE ty_flattened_data_containers, expected_result TYPE ty_flattened_data_containers. CREATE OBJECT cut TYPE /usi/cl_bal_dc_collection. good_data_container = get_good_data_container( `data` ). cut->insert( good_data_container ). expected_result = flatten_data_cont_coll( cut ). " Deserialize( ) should skip bad_container due to errors bad_data_container = get_bad_data_container( i_return_invalid_classname = abap_true ). cut->insert( bad_data_container ). cut = serialize_and_deserialize_coll( cut ). actual_result = flatten_data_cont_coll( cut ). cl_aunit_assert=>assert_equals( exp = expected_result act = actual_result msg = `Data altered during serialization/deserialization!` ). ENDMETHOD. METHOD test_deserialize_total_garbage. TRY. /usi/cl_bal_dc_collection=>deserialize( `Absolute garbage, that can not be parsed.` ). cl_aunit_assert=>fail( `Errors on collection level should raise an exception!` ). CATCH /usi/cx_bal_root. RETURN. ENDTRY. ENDMETHOD. METHOD test_serialize_deserialize. DATA: data_container_1 TYPE REF TO /usi/if_bal_data_container, data_container_2 TYPE REF TO /usi/if_bal_data_container, data_container_3 TYPE REF TO /usi/if_bal_data_container, cut TYPE REF TO /usi/if_bal_data_container_col, actual_result TYPE ty_flattened_data_containers, expected_result TYPE ty_flattened_data_containers. data_container_1 = get_good_data_container( `First container` ). data_container_2 = get_good_data_container( `Second container` ). data_container_3 = get_good_data_container( `Third container` ). CREATE OBJECT cut TYPE /usi/cl_bal_dc_collection. cut->insert( data_container_1 ). cut->insert( data_container_2 ). cut->insert( data_container_3 ). expected_result = flatten_data_cont_coll( cut ). cut = serialize_and_deserialize_coll( cut ). actual_result = flatten_data_cont_coll( cut ). cl_aunit_assert=>assert_equals( exp = expected_result act = actual_result msg = `Data altered during serialization/deserialization!` ). ENDMETHOD. METHOD test_empty_collection. DATA: cut TYPE REF TO /usi/if_bal_data_container_col, actual_result TYPE ty_flattened_data_containers, expected_result TYPE ty_flattened_data_containers. CREATE OBJECT cut TYPE /usi/cl_bal_dc_collection. cut = serialize_and_deserialize_coll( cut ). actual_result = flatten_data_cont_coll( cut ). cl_aunit_assert=>assert_initial( act = actual_result msg = `Empty collection returned containers!` ). ENDMETHOD. METHOD get_bad_data_container. CREATE OBJECT r_result EXPORTING i_serialized_data_container = `Data`. r_result->set_return_invalid_classname( i_return_invalid_classname ). r_result->set_throw_on_deserialize( i_throw_on_deserialize ). ENDMETHOD. METHOD get_good_data_container. CREATE OBJECT r_result TYPE lcl_multi_use_container EXPORTING i_serialized_data_container = i_serialized_data_container. ENDMETHOD. METHOD flatten_data_cont_coll. DATA: data_containers TYPE /usi/bal_data_containers, flattened_container TYPE ty_flattened_data_container. FIELD-SYMBOLS <data_container> TYPE REF TO /usi/if_bal_data_container. data_containers = i_data_container_collection->get_data_containers( ). LOOP AT data_containers ASSIGNING <data_container>. flattened_container = flatten_data_container( <data_container> ). INSERT flattened_container INTO TABLE r_result. ENDLOOP. ENDMETHOD. METHOD flatten_data_container. DATA unexpected_exception TYPE REF TO /usi/cx_bal_root. r_result-data_container_classname = i_data_container->get_classname( ). TRY. r_result-serialized_data_container = i_data_container->serialize( ). CATCH /usi/cx_bal_root INTO unexpected_exception. /usi/cl_bal_aunit_exception=>fail_on_unexpected_exception( unexpected_exception ). ENDTRY. ENDMETHOD. METHOD serialize_and_deserialize_coll. DATA: serialized_data_cont_coll TYPE /usi/bal_xml_string, unexpected_exception TYPE REF TO /usi/cx_bal_root. serialized_data_cont_coll = i_data_container_collection->serialize( ). TRY. r_result = /usi/cl_bal_dc_collection=>deserialize( serialized_data_cont_coll ). CATCH /usi/cx_bal_root INTO unexpected_exception. /usi/cl_bal_aunit_exception=>fail_on_unexpected_exception( unexpected_exception ). ENDTRY. ENDMETHOD. ENDCLASS. *--------------------------------------------------------------------* * Unit test *--------------------------------------------------------------------* CLASS lcl_unit_test_convenience DEFINITION FINAL FOR TESTING. "#AU Risk_Level Harmless "#AU Duration Short PRIVATE SECTION. METHODS test_insert_returns_itself FOR TESTING. ENDCLASS. CLASS lcl_unit_test_convenience IMPLEMENTATION. METHOD test_insert_returns_itself. DATA: actual_result TYPE REF TO /usi/if_bal_data_container_col, cut TYPE REF TO /usi/if_bal_data_container_col, data_container TYPE REF TO /usi/if_bal_data_container. CREATE OBJECT data_container TYPE lcl_single_use_container EXPORTING i_serialized_data_container = 'Data_1'. CREATE OBJECT cut TYPE /usi/cl_bal_dc_collection. actual_result = cut->insert( data_container ). cl_aunit_assert=>assert_equals( msg = 'Insert( ) has to return the collection itself (me)!' exp = cut act = actual_result ). ENDMETHOD. ENDCLASS. *--------------------------------------------------------------------* * Unit test *--------------------------------------------------------------------* CLASS lcl_unit_test_bad_data_cont DEFINITION FINAL FOR TESTING. "#AU Risk_Level Harmless "#AU Duration Short PRIVATE SECTION. DATA cut TYPE REF TO /usi/if_bal_data_container_col. METHODS setup. METHODS test_insert_bad_data_container FOR TESTING. METHODS test_serialize_bad_data_cont FOR TESTING. ENDCLASS. CLASS lcl_unit_test_bad_data_cont IMPLEMENTATION. METHOD setup. CREATE OBJECT cut TYPE /usi/cl_bal_dc_collection. lcl_defect_container=>reset_to_defaults( ). ENDMETHOD. METHOD test_insert_bad_data_container. DATA: bad_data_container TYPE REF TO lcl_defect_container, has_containers TYPE abap_bool. CREATE OBJECT bad_data_container EXPORTING i_serialized_data_container = `data`. bad_data_container->set_throw_on_serialize( abap_true ). cut->insert( bad_data_container ). has_containers = cut->has_data_containers( ). cl_aunit_assert=>assert_equals( exp = abap_false act = has_containers msg = `Invalid container was added` ). ENDMETHOD. METHOD test_serialize_bad_data_cont. DATA: bad_data_container TYPE REF TO lcl_defect_container, has_containers TYPE abap_bool, serialized_data_cont_coll TYPE /usi/bal_xml_string, unexpected_exception TYPE REF TO /usi/cx_bal_root. CREATE OBJECT bad_data_container EXPORTING i_serialized_data_container = `data`. cut->insert( bad_data_container ). has_containers = cut->has_data_containers( ). cl_aunit_assert=>assert_equals( exp = abap_true act = has_containers msg = `Container should have been added` ). bad_data_container->set_throw_on_serialize( abap_true ). serialized_data_cont_coll = cut->serialize( ). TRY. cut = cut->deserialize( serialized_data_cont_coll ). CATCH /usi/cx_bal_root INTO unexpected_exception. /usi/cl_bal_aunit_exception=>fail_on_unexpected_exception( unexpected_exception ). ENDTRY. has_containers = cut->has_data_containers( ). cl_aunit_assert=>assert_equals( exp = abap_false act = has_containers msg = `Container should have been dropped due to serialization errors` ). ENDMETHOD. ENDCLASS.
[ 9, 1, 9, 779, 428, 2723, 2393, 329, 534, 9564, 2969, 4326, 1332, 6097, 198, 198, 9, 10097, 650, 9, 198, 9, 6208, 4274, 25, 14206, 779, 9290, 685, 15, 12, 16, 60, 198, 9, 10097, 650, 9, 198, 31631, 300, 565, 62, 29762, 62, 1904, 62, 34924, 5550, 20032, 17941, 25261, 7473, 43001, 2751, 13, 198, 220, 44731, 44513, 13, 198, 220, 220, 220, 23255, 37, 2246, 1546, 25, 1220, 385, 72, 14, 361, 62, 6893, 62, 7890, 62, 34924, 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, 1312, 62, 46911, 1143, 62, 7890, 62, 34924, 41876, 1220, 385, 72, 14, 6893, 62, 19875, 62, 8841, 13, 628, 220, 4810, 3824, 6158, 44513, 13, 198, 220, 220, 220, 42865, 25, 11389, 1143, 62, 7890, 62, 34924, 41876, 1220, 385, 72, 14, 6893, 62, 19875, 62, 8841, 13, 198, 10619, 31631, 13, 198, 198, 31631, 300, 565, 62, 29762, 62, 1904, 62, 34924, 30023, 2538, 10979, 6234, 13, 198, 220, 337, 36252, 23772, 13, 198, 220, 220, 220, 11389, 1143, 62, 7890, 62, 34924, 796, 1312, 62, 46911, 1143, 62, 7890, 62, 34924, 13, 198, 220, 23578, 49273, 13, 628, 220, 337, 36252, 1220, 385, 72, 14, 361, 62, 6893, 62, 7890, 62, 34924, 93, 271, 62, 48101, 62, 1904, 62, 40845, 13, 198, 220, 220, 220, 374, 62, 20274, 796, 450, 499, 62, 9562, 13, 198, 220, 23578, 49273, 13, 628, 220, 337, 36252, 1220, 385, 72, 14, 361, 62, 6893, 62, 7890, 62, 34924, 93, 8906, 48499, 1096, 13, 198, 220, 220, 220, 29244, 6158, 25334, 23680, 374, 62, 20274, 41876, 300, 565, 62, 29762, 62, 1904, 62, 34924, 198, 220, 220, 220, 220, 220, 7788, 15490, 2751, 198, 220, 220, 220, 220, 220, 220, 220, 1312, 62, 46911, 1143, 62, 7890, 62, 34924, 796, 1312, 62, 46911, 1143, 62, 7890, 62, 34924, 13, 198, 220, 23578, 49273, 13, 628, 220, 337, 36252, 1220, 385, 72, 14, 361, 62, 6893, 62, 7890, 62, 34924, 93, 1136, 62, 4871, 3672, 13, 198, 220, 220, 220, 374, 62, 20274, 796, 705, 43, 5097, 62, 50, 2751, 2538, 62, 19108, 62, 10943, 30339, 1137, 4458, 198, 220, 23578, 49273, 13, 628, 220, 337, 36252, 1220, 385, 72, 14, 361, 62, 6893, 62, 7890, 62, 34924, 93, 1136, 62, 11213, 13, 198, 220, 220, 220, 374, 62, 20274, 796, 705, 35, 13513, 6764, 4458, 198, 220, 23578, 49273, 13, 628, 220, 337, 36252, 1220, 385, 72, 14, 361, 62, 6893, 62, 7890, 62, 34924, 93, 46911, 1096, 13, 198, 220, 220, 220, 374, 62, 20274, 796, 11389, 1143, 62, 7890, 62, 34924, 13, 198, 220, 23578, 49273, 13, 198, 10619, 31631, 13, 198, 198, 9, 10097, 650, 9, 198, 9, 6208, 4274, 25, 15237, 779, 9290, 685, 15, 12, 77, 60, 198, 9, 10097, 650, 9, 198, 31631, 300, 565, 62, 41684, 62, 1904, 62, 34924, 5550, 20032, 17941, 25261, 7473, 43001, 2751, 13, 198, 220, 44731, 44513, 13, 198, 220, 220, 220, 23255, 37, 2246, 1546, 25, 1220, 385, 72, 14, 361, 62, 6893, 62, 7890, 62, 34924, 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, 1312, 62, 46911, 1143, 62, 7890, 62, 34924, 41876, 1220, 385, 72, 14, 6893, 62, 19875, 62, 8841, 13, 628, 220, 4810, 3824, 6158, 44513, 13, 198, 220, 220, 220, 42865, 11389, 1143, 62, 7890, 62, 34924, 41876, 1220, 385, 72, 14, 6893, 62, 19875, 62, 8841, 13, 198, 10619, 31631, 13, 198, 198, 31631, 300, 565, 62, 41684, 62, 1904, 62, 34924, 30023, 2538, 10979, 6234, 13, 198, 220, 337, 36252, 23772, 13, 198, 220, 220, 220, 11389, 1143, 62, 7890, 62, 34924, 796, 1312, 62, 46911, 1143, 62, 7890, 62, 34924, 13, 198, 220, 23578, 49273, 13, 628, 220, 337, 36252, 1220, 385, 72, 14, 361, 62, 6893, 62, 7890, 62, 34924, 93, 271, 62, 48101, 62, 1904, 62, 40845, 13, 198, 220, 220, 220, 374, 62, 20274, 796, 450, 499, 62, 7942, 13, 198, 220, 23578, 49273, 13, 628, 220, 337, 36252, 1220, 385, 72, 14, 361, 62, 6893, 62, 7890, 62, 34924, 93, 8906, 48499, 1096, 13, 198, 220, 220, 220, 29244, 6158, 25334, 23680, 374, 62, 20274, 41876, 300, 565, 62, 41684, 62, 1904, 62, 34924, 198, 220, 220, 220, 220, 220, 7788, 15490, 2751, 198, 220, 220, 220, 220, 220, 220, 220, 1312, 62, 46911, 1143, 62, 7890, 62, 34924, 796, 1312, 62, 46911, 1143, 62, 7890, 62, 34924, 13, 198, 220, 23578, 49273, 13, 628, 220, 337, 36252, 1220, 385, 72, 14, 361, 62, 6893, 62, 7890, 62, 34924, 93, 1136, 62, 4871, 3672, 13, 198, 220, 220, 220, 374, 62, 20274, 796, 705, 43, 5097, 62, 44, 16724, 40, 62, 19108, 62, 10943, 30339, 1137, 4458, 198, 220, 23578, 49273, 13, 628, 220, 337, 36252, 1220, 385, 72, 14, 361, 62, 6893, 62, 7890, 62, 34924, 93, 1136, 62, 11213, 13, 198, 220, 220, 220, 374, 62, 20274, 796, 705, 35, 13513, 6764, 4458, 198, 220, 23578, 49273, 13, 628, 220, 337, 36252, 1220, 385, 72, 14, 361, 62, 6893, 62, 7890, 62, 34924, 93, 46911, 1096, 13, 198, 220, 220, 220, 374, 62, 20274, 796, 11389, 1143, 62, 7890, 62, 34924, 13, 198, 220, 23578, 49273, 13, 198, 10619, 31631, 13, 198, 198, 9, 10097, 650, 9, 198, 9, 6208, 4274, 25, 11855, 1366, 9290, 198, 9, 10097, 650, 9, 198, 31631, 300, 565, 62, 4299, 478, 62, 34924, 5550, 20032, 17941, 25261, 7473, 43001, 2751, 13, 198, 220, 44731, 44513, 13, 198, 220, 220, 220, 23255, 37, 2246, 1546, 25, 1220, 385, 72, 14, 361, 62, 6893, 62, 7890, 62, 34924, 13, 628, 220, 220, 220, 42715, 12, 49273, 50, 1398, 62, 41571, 273, 13, 628, 220, 220, 220, 42715, 12, 49273, 50, 900, 62, 7783, 62, 259, 12102, 62, 4871, 3672, 198, 220, 220, 220, 220, 220, 30023, 9863, 2751, 198, 220, 220, 220, 220, 220, 220, 220, 1312, 62, 7783, 62, 259, 12102, 62, 4871, 3672, 41876, 450, 499, 62, 30388 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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 ]
interface zif_aps_object_packetizer public. methods: "! <p class="shorttext synchronized" lang="en"></p> "! Starts the object packetization of App with Config "! @parameter i_objects | <p class="shorttext synchronized" lang="en">Object list to be packetized</p> "! @parameter result | <p class="shorttext synchronized" lang="en">Packages</p> packetize importing i_objects type zaps_parameter_set_list returning value(result) type ref to zaps_packages. endinterface.
[ 39994, 1976, 361, 62, 1686, 62, 15252, 62, 8002, 316, 7509, 198, 220, 1171, 13, 198, 220, 220, 220, 5050, 25, 198, 220, 220, 220, 220, 220, 366, 0, 1279, 79, 1398, 2625, 19509, 5239, 47192, 1, 42392, 2625, 268, 23984, 79, 29, 198, 220, 220, 220, 220, 220, 366, 0, 50181, 262, 2134, 19638, 1634, 286, 2034, 351, 17056, 198, 220, 220, 220, 220, 220, 366, 0, 2488, 17143, 2357, 1312, 62, 48205, 930, 1279, 79, 1398, 2625, 19509, 5239, 47192, 1, 42392, 2625, 268, 5320, 10267, 1351, 284, 307, 19638, 1143, 3556, 79, 29, 198, 220, 220, 220, 220, 220, 366, 0, 2488, 17143, 2357, 1255, 930, 1279, 79, 1398, 2625, 19509, 5239, 47192, 1, 42392, 2625, 268, 5320, 11869, 1095, 3556, 79, 29, 198, 220, 220, 220, 220, 220, 19638, 1096, 198, 220, 220, 220, 220, 220, 220, 220, 33332, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 1312, 62, 48205, 220, 220, 2099, 1976, 1686, 62, 17143, 2357, 62, 2617, 62, 4868, 198, 220, 220, 220, 220, 220, 220, 220, 8024, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 1988, 7, 20274, 8, 220, 2099, 1006, 284, 1976, 1686, 62, 43789, 13, 198, 437, 39994, 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 ]
CLASS ltcl_event DEFINITION FOR TESTING RISK LEVEL HARMLESS DURATION SHORT FINAL. PRIVATE SECTION. METHODS query_wrong_data FOR TESTING RAISING zcx_abapgit_exception. METHODS form_wrong_data FOR TESTING RAISING zcx_abapgit_exception. METHODS query FOR TESTING RAISING zcx_abapgit_exception. METHODS form_data FOR TESTING RAISING zcx_abapgit_exception. METHODS immutability FOR TESTING RAISING zcx_abapgit_exception. ENDCLASS. CLASS ltcl_event IMPLEMENTATION. METHOD query_wrong_data. DATA li_cut TYPE REF TO zif_abapgit_gui_event. DATA lo_map TYPE REF TO zcl_abapgit_string_map. li_cut = NEW zcl_abapgit_gui_event( iv_action = 'XXX' iv_getdata = 'not_a_param' ). lo_map = li_cut->query( ). cl_abap_unit_assert=>assert_equals( act = lo_map->size( ) exp = 0 ). ENDMETHOD. METHOD form_wrong_data. DATA li_cut TYPE REF TO zif_abapgit_gui_event. DATA lo_map TYPE REF TO zcl_abapgit_string_map. li_cut = NEW zcl_abapgit_gui_event( iv_action = 'XXX' ). lo_map = li_cut->form_data( ). cl_abap_unit_assert=>assert_equals( act = lo_map->size( ) exp = 0 ). ENDMETHOD. METHOD query. DATA li_cut TYPE REF TO zif_abapgit_gui_event. DATA lo_map TYPE REF TO zcl_abapgit_string_map. li_cut = NEW zcl_abapgit_gui_event( iv_action = 'XXX' iv_getdata = 'a=b&b=c' ). " Cross check just in case cl_abap_unit_assert=>assert_equals( act = li_cut->form_data( )->size( ) exp = 0 ). lo_map = li_cut->query( ). cl_abap_unit_assert=>assert_equals( act = lo_map->size( ) exp = 2 ). cl_abap_unit_assert=>assert_equals( act = lo_map->get( 'a' ) exp = 'b' ). cl_abap_unit_assert=>assert_equals( act = lo_map->get( 'b' ) exp = 'c' ). " Case insensitivity cl_abap_unit_assert=>assert_equals( act = lo_map->get( 'A' ) exp = 'b' ). cl_abap_unit_assert=>assert_equals( act = lo_map->get( 'B' ) exp = 'c' ). ENDMETHOD. METHOD form_data. DATA li_cut TYPE REF TO zif_abapgit_gui_event. DATA lo_map TYPE REF TO zcl_abapgit_string_map. DATA lt_postdata TYPE zif_abapgit_html_viewer=>ty_post_data. APPEND 'a=b&b=c' TO lt_postdata. li_cut = NEW zcl_abapgit_gui_event( iv_action = 'XXX' it_postdata = lt_postdata ). " Cross check just in case cl_abap_unit_assert=>assert_equals( act = li_cut->query( )->size( ) exp = 0 ). lo_map = li_cut->form_data( ). cl_abap_unit_assert=>assert_equals( act = lo_map->size( ) exp = 2 ). cl_abap_unit_assert=>assert_equals( act = lo_map->get( 'a' ) exp = 'b' ). cl_abap_unit_assert=>assert_equals( act = lo_map->get( 'b' ) exp = 'c' ). " Case insensitivity cl_abap_unit_assert=>assert_equals( act = lo_map->size( ) exp = 2 ). cl_abap_unit_assert=>assert_equals( act = lo_map->get( 'A' ) exp = 'b' ). cl_abap_unit_assert=>assert_equals( act = lo_map->get( 'B' ) exp = 'c' ). ENDMETHOD. METHOD immutability. DATA li_cut TYPE REF TO zif_abapgit_gui_event. DATA lo_x TYPE REF TO zcx_abapgit_exception. li_cut = NEW zcl_abapgit_gui_event( iv_getdata = 'a=b&b=c' iv_action = 'XXX' ). TRY. li_cut->form_data( )->set( iv_key = 'x' iv_val = 'y' ). cl_abap_unit_assert=>fail( ). CATCH zcx_abapgit_exception INTO lo_x. cl_abap_unit_assert=>assert_char_cp( act = lo_x->get_text( ) exp = '*immutable*' ). ENDTRY. TRY. li_cut->query( )->set( iv_key = 'x' iv_val = 'y' ). cl_abap_unit_assert=>fail( ). CATCH zcx_abapgit_exception INTO lo_x. cl_abap_unit_assert=>assert_char_cp( act = lo_x->get_text( ) exp = '*immutable*' ). ENDTRY. ENDMETHOD. ENDCLASS.
[ 31631, 300, 83, 565, 62, 15596, 5550, 20032, 17941, 198, 220, 7473, 43001, 2751, 198, 220, 45698, 42, 49277, 43638, 5805, 7597, 198, 220, 360, 4261, 6234, 6006, 9863, 198, 220, 25261, 13, 628, 220, 4810, 3824, 6158, 44513, 13, 628, 220, 220, 220, 337, 36252, 50, 12405, 62, 36460, 62, 7890, 7473, 43001, 2751, 17926, 1797, 2751, 1976, 66, 87, 62, 397, 499, 18300, 62, 1069, 4516, 13, 198, 220, 220, 220, 337, 36252, 50, 1296, 62, 36460, 62, 7890, 7473, 43001, 2751, 17926, 1797, 2751, 1976, 66, 87, 62, 397, 499, 18300, 62, 1069, 4516, 13, 198, 220, 220, 220, 337, 36252, 50, 12405, 7473, 43001, 2751, 17926, 1797, 2751, 1976, 66, 87, 62, 397, 499, 18300, 62, 1069, 4516, 13, 198, 220, 220, 220, 337, 36252, 50, 1296, 62, 7890, 7473, 43001, 2751, 17926, 1797, 2751, 1976, 66, 87, 62, 397, 499, 18300, 62, 1069, 4516, 13, 198, 220, 220, 220, 337, 36252, 50, 2296, 315, 1799, 7473, 43001, 2751, 17926, 1797, 2751, 1976, 66, 87, 62, 397, 499, 18300, 62, 1069, 4516, 13, 198, 198, 10619, 31631, 13, 198, 198, 31631, 300, 83, 565, 62, 15596, 30023, 2538, 10979, 6234, 13, 628, 220, 337, 36252, 12405, 62, 36460, 62, 7890, 13, 628, 220, 220, 220, 42865, 7649, 62, 8968, 41876, 4526, 37, 5390, 1976, 361, 62, 397, 499, 18300, 62, 48317, 62, 15596, 13, 198, 220, 220, 220, 42865, 2376, 62, 8899, 41876, 4526, 37, 5390, 1976, 565, 62, 397, 499, 18300, 62, 8841, 62, 8899, 13, 628, 220, 220, 220, 7649, 62, 8968, 796, 12682, 1976, 565, 62, 397, 499, 18300, 62, 48317, 62, 15596, 7, 21628, 62, 2673, 796, 705, 43145, 6, 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, 21628, 62, 1136, 7890, 796, 705, 1662, 62, 64, 62, 17143, 6, 6739, 628, 220, 220, 220, 2376, 62, 8899, 796, 7649, 62, 8968, 3784, 22766, 7, 6739, 198, 220, 220, 220, 537, 62, 397, 499, 62, 20850, 62, 30493, 14804, 30493, 62, 4853, 874, 7, 198, 220, 220, 220, 220, 220, 719, 796, 2376, 62, 8899, 3784, 7857, 7, 1267, 198, 220, 220, 220, 220, 220, 1033, 796, 657, 6739, 628, 220, 23578, 49273, 13, 628, 220, 337, 36252, 1296, 62, 36460, 62, 7890, 13, 628, 220, 220, 220, 42865, 7649, 62, 8968, 41876, 4526, 37, 5390, 1976, 361, 62, 397, 499, 18300, 62, 48317, 62, 15596, 13, 198, 220, 220, 220, 42865, 2376, 62, 8899, 41876, 4526, 37, 5390, 1976, 565, 62, 397, 499, 18300, 62, 8841, 62, 8899, 13, 628, 220, 220, 220, 7649, 62, 8968, 796, 12682, 1976, 565, 62, 397, 499, 18300, 62, 48317, 62, 15596, 7, 21628, 62, 2673, 796, 705, 43145, 6, 6739, 628, 220, 220, 220, 2376, 62, 8899, 796, 7649, 62, 8968, 3784, 687, 62, 7890, 7, 6739, 198, 220, 220, 220, 537, 62, 397, 499, 62, 20850, 62, 30493, 14804, 30493, 62, 4853, 874, 7, 198, 220, 220, 220, 220, 220, 719, 796, 2376, 62, 8899, 3784, 7857, 7, 1267, 198, 220, 220, 220, 220, 220, 1033, 796, 657, 6739, 628, 220, 23578, 49273, 13, 628, 220, 337, 36252, 12405, 13, 628, 220, 220, 220, 42865, 7649, 62, 8968, 41876, 4526, 37, 5390, 1976, 361, 62, 397, 499, 18300, 62, 48317, 62, 15596, 13, 198, 220, 220, 220, 42865, 2376, 62, 8899, 41876, 4526, 37, 5390, 1976, 565, 62, 397, 499, 18300, 62, 8841, 62, 8899, 13, 628, 220, 220, 220, 7649, 62, 8968, 796, 12682, 1976, 565, 62, 397, 499, 18300, 62, 48317, 62, 15596, 7, 21628, 62, 2673, 796, 705, 43145, 6, 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, 21628, 62, 1136, 7890, 796, 705, 64, 28, 65, 5, 65, 28, 66, 6, 6739, 628, 220, 220, 220, 366, 6372, 2198, 655, 287, 1339, 198, 220, 220, 220, 537, 62, 397, 499, 62, 20850, 62, 30493, 14804, 30493, 62, 4853, 874, 7, 198, 220, 220, 220, 220, 220, 719, 796, 7649, 62, 8968, 3784, 687, 62, 7890, 7, 1267, 3784, 7857, 7, 1267, 198, 220, 220, 220, 220, 220, 1033, 796, 657, 6739, 628, 220, 220, 220, 2376, 62, 8899, 796, 7649, 62, 8968, 3784, 22766, 7, 6739, 198, 220, 220, 220, 537, 62, 397, 499, 62, 20850, 62, 30493, 14804, 30493, 62, 4853, 874, 7, 198, 220, 220, 220, 220, 220, 719, 796, 2376, 62, 8899, 3784, 7857, 7, 1267, 198, 220, 220, 220, 220, 220, 1033, 796, 362, 6739, 628, 220, 220, 220, 537, 62, 397, 499, 62, 20850, 62, 30493, 14804, 30493, 62, 4853, 874, 7, 198, 220, 220, 220, 220, 220, 719, 796, 2376, 62, 8899, 3784, 1136, 7, 705, 64, 6, 1267, 198, 220, 220, 220, 220, 220, 1033, 796, 705, 65, 6, 6739, 198, 220, 220, 220, 537, 62, 397, 499, 62, 20850, 62, 30493, 14804, 30493, 62, 4853, 874, 7, 198, 220, 220, 220, 220, 220, 719, 796, 2376, 62, 8899, 3784, 1136, 7, 705, 65, 6, 1267, 198, 220, 220, 220, 220, 220, 1033, 796, 705, 66, 6, 6739, 628, 220, 220, 220, 366, 8913, 1035, 40545, 198, 220, 220, 220, 537, 62, 397, 499, 62, 20850, 62, 30493, 14804, 30493, 62, 4853, 874, 7, 198, 220, 220, 220, 220, 220, 719, 796, 2376, 62, 8899, 3784, 1136, 7, 705, 32, 6, 1267, 198, 220, 220, 220, 220, 220, 1033, 796, 705, 65, 6, 6739, 198, 220, 220, 220, 537, 62, 397, 499, 62, 20850, 62, 30493, 14804, 30493, 62, 4853, 874, 7, 198, 220, 220, 220, 220, 220, 719, 796, 2376, 62, 8899, 3784, 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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 ]
CLASS lcl_parse DEFINITION FINAL. PUBLIC SECTION. CLASS-METHODS: parse IMPORTING iv_code TYPE string RETURNING VALUE(ro_tokens) TYPE REF TO zcl_aoc_boolean_tokens. ENDCLASS. CLASS lcl_parse IMPLEMENTATION. METHOD parse. DATA: lt_code TYPE string_table, lt_statements TYPE sstmnt_tab ##NEEDED, lt_tokens TYPE stokesx_tab. APPEND iv_code TO lt_code. SCAN ABAP-SOURCE lt_code TOKENS INTO lt_tokens STATEMENTS INTO lt_statements WITH ANALYSIS WITH COMMENTS WITH PRAGMAS abap_true. cl_abap_unit_assert=>assert_subrc( ). CREATE OBJECT ro_tokens EXPORTING it_tokens = lt_tokens. ENDMETHOD. ENDCLASS. CLASS ltcl_parse DEFINITION FOR TESTING DURATION SHORT RISK LEVEL HARMLESS FINAL. PRIVATE SECTION. METHODS: parse IMPORTING iv_string TYPE string RETURNING VALUE(rv_result) TYPE string, test001 FOR TESTING, test002 FOR TESTING, test003 FOR TESTING, test004 FOR TESTING, test005 FOR TESTING, test006 FOR TESTING, test007 FOR TESTING, test008 FOR TESTING, test009 FOR TESTING, test010 FOR TESTING, test011 FOR TESTING, test012 FOR TESTING, test013 FOR TESTING, test014 FOR TESTING, test015 FOR TESTING, test016 FOR TESTING, test017 FOR TESTING, test018 FOR TESTING, test019 FOR TESTING, test020 FOR TESTING, test021 FOR TESTING, test022 FOR TESTING, test023 FOR TESTING, test024 FOR TESTING, test025 FOR TESTING, test026 FOR TESTING, test027 FOR TESTING, test028 FOR TESTING, test029 FOR TESTING, test030 FOR TESTING, test031 FOR TESTING, test032 FOR TESTING, test033 FOR TESTING, test034 FOR TESTING, test035 FOR TESTING, test036 FOR TESTING, test037 FOR TESTING, test038 FOR TESTING, test039 FOR TESTING, test040 FOR TESTING, test041 FOR TESTING, test042 FOR TESTING, test043 FOR TESTING, test044 FOR TESTING, test045 FOR TESTING, test046 FOR TESTING. ENDCLASS. "ltcl_Test CLASS ltcl_parse IMPLEMENTATION. METHOD parse. DATA: lt_tokens TYPE stokesx_tab, lo_node TYPE REF TO zcl_aoc_boolean_node. lt_tokens = lcl_parse=>parse( iv_string )->remove( 1 )->get_tokens( ). lo_node = zcl_aoc_boolean=>parse( lt_tokens ). cl_abap_unit_assert=>assert_bound( lo_node ). rv_result = lo_node->to_string( ). ENDMETHOD. METHOD test001. DATA: lv_result TYPE string. lv_result = parse( 'IF foo = bar.' ). cl_abap_unit_assert=>assert_equals( act = lv_result exp = 'COMPARE' ). ENDMETHOD. METHOD test002. DATA: lv_result TYPE string. lv_result = parse( 'IF foo NE bar.' ). cl_abap_unit_assert=>assert_equals( act = lv_result exp = 'COMPARE' ). ENDMETHOD. METHOD test003. DATA: lv_result TYPE string. lv_result = parse( 'IF foo <> bar.' ). cl_abap_unit_assert=>assert_equals( act = lv_result exp = 'COMPARE' ). ENDMETHOD. METHOD test004. DATA: lv_result TYPE string. lv_result = parse( 'IF foo( ) = bar( ).' ). cl_abap_unit_assert=>assert_equals( act = lv_result exp = 'COMPARE' ). ENDMETHOD. METHOD test005. DATA: lv_result TYPE string. lv_result = parse( 'IF ( foo = bar ).' ). cl_abap_unit_assert=>assert_equals( act = lv_result exp = '( COMPARE )' ). ENDMETHOD. METHOD test006. DATA: lv_result TYPE string. lv_result = parse( 'IF foo = bar AND moo = boo.' ). cl_abap_unit_assert=>assert_equals( act = lv_result exp = 'AND( COMPARE COMPARE )' ). ENDMETHOD. METHOD test007. DATA: lv_result TYPE string. lv_result = parse( 'IF ( foo = bar AND moo = boo ).' ). cl_abap_unit_assert=>assert_equals( act = lv_result exp = '( AND( COMPARE COMPARE ) )' ). ENDMETHOD. METHOD test008. DATA: lv_result TYPE string. lv_result = parse( 'IF ( foo = bar ) AND ( moo = boo ).' ). cl_abap_unit_assert=>assert_equals( act = lv_result exp = 'AND( ( COMPARE ) ( COMPARE ) )' ). ENDMETHOD. METHOD test009. DATA: lv_result TYPE string. lv_result = parse( 'IF ( ( foo = bar ) AND ( moo = boo ) ).' ). cl_abap_unit_assert=>assert_equals( act = lv_result exp = '( AND( ( COMPARE ) ( COMPARE ) ) )' ). ENDMETHOD. METHOD test010. DATA: lv_result TYPE string. lv_result = parse( 'IF method( value ) = 1.' ). cl_abap_unit_assert=>assert_equals( act = lv_result exp = 'COMPARE' ). ENDMETHOD. METHOD test011. DATA: lv_result TYPE string. lv_result = parse( 'IF method( field = value ) = 1.' ). cl_abap_unit_assert=>assert_equals( act = lv_result exp = 'COMPARE' ). ENDMETHOD. METHOD test012. DATA: lv_result TYPE string. lv_result = parse( 'IF method( VALUE #( foo = bar ) ) = 1.' ). cl_abap_unit_assert=>assert_equals( act = lv_result exp = 'COMPARE' ). ENDMETHOD. METHOD test013. DATA: lv_result TYPE string. lv_result = parse( 'IF foo->method( field = value ) = 1.' ). cl_abap_unit_assert=>assert_equals( act = lv_result exp = 'COMPARE' ). ENDMETHOD. METHOD test014. DATA: lv_result TYPE string. lv_result = parse( 'IF moo-foo->method( field = value ) = 1.' ). cl_abap_unit_assert=>assert_equals( act = lv_result exp = 'COMPARE' ). ENDMETHOD. METHOD test015. DATA: lv_result TYPE string. lv_result = parse( 'IF method1( method2( ) ) = 1.' ). cl_abap_unit_assert=>assert_equals( act = lv_result exp = 'COMPARE' ). ENDMETHOD. METHOD test016. DATA: lv_result TYPE string. lv_result = parse( 'IF NOT 2 = 3.' ). cl_abap_unit_assert=>assert_equals( act = lv_result exp = 'NOT( COMPARE )' ). ENDMETHOD. METHOD test017. DATA: lv_result TYPE string. lv_result = parse( 'IF NOT 2 = 3 AND NOT 1 = 2.' ). cl_abap_unit_assert=>assert_equals( act = lv_result exp = 'AND( NOT( COMPARE ) NOT( COMPARE ) )' ). ENDMETHOD. METHOD test018. DATA: lv_result TYPE string. lv_result = parse( 'IF NOT ( 2 = 3 AND NOT 1 = 2 ).' ). cl_abap_unit_assert=>assert_equals( act = lv_result exp = 'NOT( ( AND( COMPARE NOT( COMPARE ) ) ) )' ). ENDMETHOD. METHOD test019. DATA: lv_result TYPE string. lv_result = parse( 'IF 2 = 3 AND NOT 1 = 2.' ). cl_abap_unit_assert=>assert_equals( act = lv_result exp = 'AND( COMPARE NOT( COMPARE ) )' ). ENDMETHOD. METHOD test020. DATA: lv_result TYPE string. lv_result = parse( 'IF 2 = 3 AND NOT 1 = 2 AND 3 = 1.' ). cl_abap_unit_assert=>assert_equals( act = lv_result exp = 'AND( COMPARE AND( NOT( COMPARE ) COMPARE ) )' ). ENDMETHOD. METHOD test021. DATA: lv_result TYPE string. lv_result = parse( 'IF 2 = 3 OR 3 = 1.' ). cl_abap_unit_assert=>assert_equals( act = lv_result exp = 'OR( COMPARE COMPARE )' ). ENDMETHOD. METHOD test022. DATA: lv_result TYPE string. lv_result = parse( 'IF foo IS INITLAL.' ). cl_abap_unit_assert=>assert_equals( act = lv_result exp = 'COMPARE' ). ENDMETHOD. METHOD test023. DATA: lv_result TYPE string. lv_result = parse( 'IF foo IS NOT INITIAL.' ). cl_abap_unit_assert=>assert_equals( act = lv_result exp = 'COMPARE' ). ENDMETHOD. METHOD test024. DATA: lv_result TYPE string. lv_result = parse( 'IF foo = moo + 1.' ). cl_abap_unit_assert=>assert_equals( act = lv_result exp = 'COMPARE' ). ENDMETHOD. METHOD test025. DATA: lv_result TYPE string. lv_result = parse( 'IF foo = moo - boo + 1.' ). cl_abap_unit_assert=>assert_equals( act = lv_result exp = 'COMPARE' ). ENDMETHOD. METHOD test026. DATA: lv_result TYPE string. lv_result = parse( 'IF lines( lt_cache ) > 0.' ). cl_abap_unit_assert=>assert_equals( act = lv_result exp = 'COMPARE' ). ENDMETHOD. METHOD test027. DATA: lv_result TYPE string. lv_result = parse( 'IF <ls_visit>-object->type( ) = 2.' ). cl_abap_unit_assert=>assert_equals( act = lv_result exp = 'COMPARE' ). ENDMETHOD. METHOD test028. DATA: lv_result TYPE string. lv_result = parse( 'IF foo IN bar.' ). cl_abap_unit_assert=>assert_equals( act = lv_result exp = 'COMPARE' ). ENDMETHOD. METHOD test029. DATA: lv_result TYPE string. lv_result = parse( 'IF foo NOT IN bar.' ). cl_abap_unit_assert=>assert_equals( act = lv_result exp = 'COMPARE' ). ENDMETHOD. METHOD test030. DATA: lv_result TYPE string. lv_result = parse( 'IF var + strlen( var ) >= 1.' ). cl_abap_unit_assert=>assert_equals( act = lv_result exp = 'COMPARE' ). ENDMETHOD. METHOD test031. DATA: lv_result TYPE string. lv_result = parse( 'IF lo_object->zif_name~method( ) = 2.' ). cl_abap_unit_assert=>assert_equals( act = lv_result exp = 'COMPARE' ). ENDMETHOD. METHOD test032. DATA: lv_result TYPE string. lv_result = parse( 'IF lv_x BIT-AND lc_128 = lc_128.' ). cl_abap_unit_assert=>assert_equals( act = lv_result exp = 'COMPARE' ). ENDMETHOD. METHOD test033. DATA: lv_result TYPE string. lv_result = parse( 'IF var BETWEEN moo AND foo.' ). cl_abap_unit_assert=>assert_equals( act = lv_result exp = 'COMPARE' ). ENDMETHOD. METHOD test034. DATA: lv_result TYPE string. lv_result = parse( 'IF ( lv_offset + 1 ) MOD 8 = 0.' ). cl_abap_unit_assert=>assert_equals( act = lv_result exp = 'COMPARE' ). ENDMETHOD. METHOD test035. DATA: lv_result TYPE string. lv_result = parse( 'IF lv_foo+0(1) EQ foo.' ). cl_abap_unit_assert=>assert_equals( act = lv_result exp = 'COMPARE' ). ENDMETHOD. METHOD test036. DATA: lv_result TYPE string. lv_result = parse( 'IF foo EQ |A|.' ). cl_abap_unit_assert=>assert_equals( act = lv_result exp = 'COMPARE' ). ENDMETHOD. METHOD test037. DATA: lv_result TYPE string. lv_result = parse( 'IF lv_path = mv_base && mv_swagger_html.' ). cl_abap_unit_assert=>assert_equals( act = lv_result exp = 'COMPARE' ). ENDMETHOD. METHOD test038. DATA: lv_result TYPE string. lv_result = parse( 'IF foo < bar * ( moo + 1 ).' ). cl_abap_unit_assert=>assert_equals( act = lv_result exp = 'COMPARE' ). ENDMETHOD. METHOD test039. DATA: lv_result TYPE string. lv_result = parse( 'IF lt_foo[ 1 ]-address CS ''bar''.' ). cl_abap_unit_assert=>assert_equals( act = lv_result exp = 'COMPARE' ). ENDMETHOD. METHOD test040. DATA: lv_result TYPE string. lv_result = parse( 'IF boolean_function( bar ).' ). cl_abap_unit_assert=>assert_equals( act = lv_result exp = 'COMPARE' ). ENDMETHOD. METHOD test041. DATA: lv_result TYPE string. lv_result = parse( 'IF boolean_function( bar ) AND another( ).' ). cl_abap_unit_assert=>assert_equals( act = lv_result exp = 'AND( COMPARE COMPARE )' ). ENDMETHOD. METHOD test042. DATA: lv_result TYPE string. lv_result = parse( 'IF method( )-field = 2.' ). cl_abap_unit_assert=>assert_equals( act = lv_result exp = 'COMPARE' ). ENDMETHOD. METHOD test043. DATA: lv_result TYPE string. lv_result = parse( 'IF lv_line CS |FOO({ lv_name })|.' ). cl_abap_unit_assert=>assert_equals( act = lv_result exp = 'COMPARE' ). ENDMETHOD. METHOD test044. DATA: lv_result TYPE string. lv_result = parse( 'IF lv_blah IS INSTANCE OF if_sxml_value_node.' ). cl_abap_unit_assert=>assert_equals( act = lv_result exp = 'COMPARE' ). ENDMETHOD. METHOD test045. DATA: lv_result TYPE string. lv_result = parse( 'IF moo EQ foo OR ( baa EQ bar AND lr_object->/ui2/moo~method( ) = space ).' ). cl_abap_unit_assert=>assert_equals( act = lv_result exp = 'OR( COMPARE ( AND( COMPARE COMPARE ) ) )' ). ENDMETHOD. METHOD test046. DATA: lv_result TYPE string. lv_result = parse( 'IF lr_object->/ui2/if_edm_model_entity~get_entity_name( ) = space.' ). cl_abap_unit_assert=>assert_equals( act = lv_result exp = 'COMPARE' ). ENDMETHOD. ENDCLASS. CLASS ltcl_remove_strings DEFINITION DEFERRED. CLASS zcl_aoc_boolean DEFINITION LOCAL FRIENDS ltcl_remove_strings. CLASS ltcl_remove_strings DEFINITION FOR TESTING DURATION SHORT RISK LEVEL HARMLESS FINAL. PRIVATE SECTION. METHODS: test IMPORTING iv_code TYPE string iv_exp TYPE string, test01 FOR TESTING, test02 FOR TESTING, test03 FOR TESTING. ENDCLASS. CLASS ltcl_remove_strings IMPLEMENTATION. METHOD test. DATA: lv_result TYPE string, lo_tokens TYPE REF TO zcl_aoc_boolean_tokens. lo_tokens = lcl_parse=>parse( iv_code ). zcl_aoc_boolean=>remove_strings( lo_tokens ). cl_abap_unit_assert=>assert_bound( lo_tokens ). lv_result = lo_tokens->to_string( ). cl_abap_unit_assert=>assert_equals( act = lv_result exp = to_upper( iv_exp ) ). ENDMETHOD. METHOD test01. test( iv_code = 'bar' iv_exp = 'bar' ). ENDMETHOD. METHOD test02. test( iv_code = '''bar''' iv_exp = 'str' ). ENDMETHOD. METHOD test03. test( iv_code = '`bar`' iv_exp = 'str' ). ENDMETHOD. ENDCLASS. CLASS ltcl_remove_method_calls DEFINITION DEFERRED. CLASS zcl_aoc_boolean DEFINITION LOCAL FRIENDS ltcl_remove_method_calls. CLASS ltcl_remove_method_calls DEFINITION FOR TESTING DURATION SHORT RISK LEVEL HARMLESS FINAL. PRIVATE SECTION. METHODS: test IMPORTING iv_code TYPE string iv_exp TYPE string, test01 FOR TESTING, test02 FOR TESTING, test03 FOR TESTING, test04 FOR TESTING, test05 FOR TESTING, test06 FOR TESTING, test07 FOR TESTING, test08 FOR TESTING, test09 FOR TESTING, test10 FOR TESTING, test11 FOR TESTING. ENDCLASS. "ltcl_Remove_Method_Calls CLASS ltcl_remove_method_calls IMPLEMENTATION. METHOD test. DATA: lv_result TYPE string, lo_tokens TYPE REF TO zcl_aoc_boolean_tokens. lo_tokens = lcl_parse=>parse( iv_code ). zcl_aoc_boolean=>remove_method_calls( lo_tokens ). cl_abap_unit_assert=>assert_bound( lo_tokens ). lv_result = lo_tokens->to_string( ). cl_abap_unit_assert=>assert_equals( act = lv_result exp = to_upper( iv_exp ) ). ENDMETHOD. METHOD test01. test( iv_code = 'foo( )' iv_exp = 'method' ). ENDMETHOD. METHOD test02. test( iv_code = 'foo( )->bar( )' iv_exp = 'method' ). ENDMETHOD. METHOD test03. test( iv_code = 'foo( bar( ) )' iv_exp = 'method' ). ENDMETHOD. METHOD test04. test( iv_code = 'bar->method( )' iv_exp = 'method' ). ENDMETHOD. METHOD test05. test( iv_code = 'bar=>method( )' iv_exp = 'method' ). ENDMETHOD. METHOD test06. test( iv_code = 'foo-bar->method( )' iv_exp = 'method' ). ENDMETHOD. METHOD test07. test( iv_code = 'foo( ) = bar( )' iv_exp = 'method = method' ). ENDMETHOD. METHOD test08. test( iv_code = 'NEW zcl_foo( )->bar( )' iv_exp = 'method' ). ENDMETHOD. METHOD test09. test( iv_code = 'CONV integer( lv_date )' iv_exp = 'method' ). ENDMETHOD. METHOD test10. test( iv_code = 'VALUE #( lt_tab[ id = 2 ] OPTIONAL )' iv_exp = 'method' ). ENDMETHOD. METHOD test11. test( iv_code = 'lr_object->/ui2/if_edm_model_entity~get_entity_name( )' iv_exp = 'method' ). ENDMETHOD. ENDCLASS. CLASS ltcl_remove_templates DEFINITION DEFERRED. CLASS zcl_aoc_boolean DEFINITION LOCAL FRIENDS ltcl_remove_templates. CLASS ltcl_remove_templates DEFINITION FOR TESTING DURATION SHORT RISK LEVEL HARMLESS FINAL. PRIVATE SECTION. METHODS: test IMPORTING iv_code TYPE string iv_exp TYPE string, test01 FOR TESTING, test02 FOR TESTING, test03 FOR TESTING, test04 FOR TESTING. ENDCLASS. CLASS ltcl_remove_templates IMPLEMENTATION. METHOD test. DATA: lv_result TYPE string, lo_tokens TYPE REF TO zcl_aoc_boolean_tokens. lo_tokens = lcl_parse=>parse( iv_code ). zcl_aoc_boolean=>remove_templates( lo_tokens ). cl_abap_unit_assert=>assert_bound( lo_tokens ). lv_result = lo_tokens->to_string( ). cl_abap_unit_assert=>assert_equals( act = lv_result exp = to_upper( iv_exp ) ). ENDMETHOD. METHOD test01. test( iv_code = 'lv_offset' iv_exp = 'lv_offset' ). ENDMETHOD. METHOD test02. test( iv_code = '|foobar|' iv_exp = 'TEMPLATE' ). ENDMETHOD. METHOD test03. test( iv_code = '|foobar { bar }|' iv_exp = 'TEMPLATE' ). ENDMETHOD. METHOD test04. test( iv_code = '|foobar { moo( |blah| ) }|' iv_exp = 'TEMPLATE' ). ENDMETHOD. ENDCLASS. CLASS ltcl_remove_calculations DEFINITION DEFERRED. CLASS zcl_aoc_boolean DEFINITION LOCAL FRIENDS ltcl_remove_calculations. CLASS ltcl_remove_calculations DEFINITION FOR TESTING DURATION SHORT RISK LEVEL HARMLESS FINAL. PRIVATE SECTION. METHODS: test IMPORTING iv_code TYPE string iv_exp TYPE string, test01 FOR TESTING, test02 FOR TESTING, test03 FOR TESTING, test04 FOR TESTING. ENDCLASS. CLASS ltcl_remove_calculations IMPLEMENTATION. METHOD test. DATA: lv_result TYPE string, lo_tokens TYPE REF TO zcl_aoc_boolean_tokens. lo_tokens = lcl_parse=>parse( iv_code ). zcl_aoc_boolean=>remove_calculations( lo_tokens ). cl_abap_unit_assert=>assert_bound( lo_tokens ). lv_result = lo_tokens->to_string( ). cl_abap_unit_assert=>assert_equals( act = lv_result exp = to_upper( iv_exp ) ). ENDMETHOD. METHOD test01. test( iv_code = 'lv_offset + 1' iv_exp = 'lv_offset' ). ENDMETHOD. METHOD test02. test( iv_code = 'lv_offset + 1 - 1' iv_exp = 'lv_offset' ). ENDMETHOD. METHOD test03. test( iv_code = '( lv_offset + 1 )' iv_exp = 'lv_offset' ). ENDMETHOD. METHOD test04. test( iv_code = 'bar * ( moo + 1 )' iv_exp = 'bar' ). ENDMETHOD. ENDCLASS.
[ 31631, 300, 565, 62, 29572, 5550, 20032, 17941, 25261, 13, 628, 220, 44731, 44513, 13, 198, 220, 220, 220, 42715, 12, 49273, 50, 25, 198, 220, 220, 220, 220, 220, 21136, 30023, 9863, 2751, 21628, 62, 8189, 220, 220, 220, 220, 220, 220, 220, 220, 220, 41876, 4731, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 30826, 4261, 15871, 26173, 8924, 7, 305, 62, 83, 482, 641, 8, 41876, 4526, 37, 5390, 1976, 565, 62, 64, 420, 62, 2127, 21052, 62, 83, 482, 641, 13, 198, 198, 10619, 31631, 13, 198, 198, 31631, 300, 565, 62, 29572, 30023, 2538, 10979, 6234, 13, 628, 220, 337, 36252, 21136, 13, 628, 220, 220, 220, 42865, 25, 300, 83, 62, 8189, 220, 220, 220, 220, 220, 220, 41876, 4731, 62, 11487, 11, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 300, 83, 62, 14269, 3196, 41876, 264, 301, 76, 429, 62, 8658, 22492, 12161, 1961, 1961, 11, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 300, 83, 62, 83, 482, 641, 220, 220, 220, 220, 41876, 336, 3369, 87, 62, 8658, 13, 628, 198, 220, 220, 220, 43504, 10619, 21628, 62, 8189, 5390, 300, 83, 62, 8189, 13, 628, 220, 220, 220, 6374, 1565, 9564, 2969, 12, 47690, 300, 83, 62, 8189, 198, 220, 220, 220, 220, 220, 220, 220, 220, 5390, 42, 16938, 220, 220, 220, 220, 220, 220, 220, 39319, 300, 83, 62, 83, 482, 641, 198, 220, 220, 220, 220, 220, 220, 220, 220, 15486, 12529, 50, 220, 220, 220, 39319, 300, 83, 62, 14269, 3196, 198, 220, 220, 220, 220, 220, 220, 220, 220, 13315, 3537, 1847, 16309, 1797, 198, 220, 220, 220, 220, 220, 220, 220, 220, 13315, 9440, 28957, 198, 220, 220, 220, 220, 220, 220, 220, 220, 13315, 350, 3861, 15548, 1921, 220, 450, 499, 62, 7942, 13, 198, 220, 220, 220, 537, 62, 397, 499, 62, 20850, 62, 30493, 14804, 30493, 62, 7266, 6015, 7, 6739, 628, 220, 220, 220, 29244, 6158, 25334, 23680, 686, 62, 83, 482, 641, 7788, 15490, 2751, 340, 62, 83, 482, 641, 796, 300, 83, 62, 83, 482, 641, 13, 628, 220, 23578, 49273, 13, 198, 198, 10619, 31631, 13, 198, 198, 31631, 300, 83, 565, 62, 29572, 5550, 20032, 17941, 7473, 43001, 2751, 360, 4261, 6234, 6006, 9863, 45698, 42, 49277, 43638, 5805, 7597, 25261, 13, 628, 220, 4810, 3824, 6158, 44513, 13, 198, 220, 220, 220, 337, 36252, 50, 25, 198, 220, 220, 220, 220, 220, 21136, 30023, 9863, 2751, 21628, 62, 8841, 220, 220, 220, 220, 220, 220, 220, 41876, 4731, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 30826, 4261, 15871, 26173, 8924, 7, 81, 85, 62, 20274, 8, 41876, 4731, 11, 198, 220, 220, 220, 220, 220, 1332, 8298, 7473, 43001, 2751, 11, 198, 220, 220, 220, 220, 220, 1332, 21601, 7473, 43001, 2751, 11, 198, 220, 220, 220, 220, 220, 1332, 11245, 7473, 43001, 2751, 11, 198, 220, 220, 220, 220, 220, 1332, 22914, 7473, 43001, 2751, 11, 198, 220, 220, 220, 220, 220, 1332, 22544, 7473, 43001, 2751, 11, 198, 220, 220, 220, 220, 220, 1332, 28041, 7473, 43001, 2751, 11, 198, 220, 220, 220, 220, 220, 1332, 25816, 7473, 43001, 2751, 11, 198, 220, 220, 220, 220, 220, 1332, 25257, 7473, 43001, 2751, 11, 198, 220, 220, 220, 220, 220, 1332, 28694, 7473, 43001, 2751, 11, 198, 220, 220, 220, 220, 220, 1332, 20943, 7473, 43001, 2751, 11, 198, 220, 220, 220, 220, 220, 1332, 28555, 7473, 43001, 2751, 11, 198, 220, 220, 220, 220, 220, 1332, 30206, 7473, 43001, 2751, 11, 198, 220, 220, 220, 220, 220, 1332, 30273, 7473, 43001, 2751, 11, 198, 220, 220, 220, 220, 220, 1332, 28645, 7473, 43001, 2751, 11, 198, 220, 220, 220, 220, 220, 1332, 25150, 7473, 43001, 2751, 11, 198, 220, 220, 220, 220, 220, 1332, 27037, 7473, 43001, 2751, 11, 198, 220, 220, 220, 220, 220, 1332, 29326, 7473, 43001, 2751, 11, 198, 220, 220, 220, 220, 220, 1332, 29159, 7473, 43001, 2751, 11, 198, 220, 220, 220, 220, 220, 1332, 30484, 7473, 43001, 2751, 11, 198, 220, 220, 220, 220, 220, 1332, 33618, 7473, 43001, 2751, 11, 198, 220, 220, 220, 220, 220, 1332, 46821, 7473, 43001, 2751, 11, 198, 220, 220, 220, 220, 220, 1332, 44087, 7473, 43001, 2751, 11, 198, 220, 220, 220, 220, 220, 1332, 45310, 7473, 43001, 2751, 11, 198, 220, 220, 220, 220, 220, 1332, 40839, 7473, 43001, 2751, 11, 198, 220, 220, 220, 220, 220, 1332, 36629, 7473, 43001, 2751, 11, 198, 220, 220, 220, 220, 220, 1332, 45987, 7473, 43001, 2751, 11, 198, 220, 220, 220, 220, 220, 1332, 44698, 7473, 43001, 2751, 11, 198, 220, 220, 220, 220, 220, 1332, 46957, 7473, 43001, 2751, 11, 198, 220, 220, 220, 220, 220, 1332, 48891, 7473, 43001, 2751, 11, 198, 220, 220, 220, 220, 220, 1332, 39101, 7473, 43001, 2751, 11, 198, 220, 220, 220, 220, 220, 1332, 43637, 7473, 43001, 2751, 11, 198, 220, 220, 220, 220, 220, 1332, 49959, 7473, 43001, 2751, 11, 198, 220, 220, 220, 220, 220, 1332, 44427, 7473, 43001, 2751, 11, 198, 220, 220, 220, 220, 220, 1332, 49841, 7473, 43001, 2751, 11, 198, 220, 220, 220, 220, 220, 1332, 44215, 7473, 43001, 2751, 11, 198, 220, 220, 220, 220, 220, 1332, 48597, 7473, 43001, 2751, 11, 198, 220, 220, 220, 220, 220, 1332, 15, 2718, 7473, 43001, 2751, 11, 198, 220, 220, 220, 220, 220, 1332, 15, 2548, 7473, 43001, 2751, 11, 198, 220, 220, 220, 220, 220, 1332, 15, 2670, 7473, 43001, 2751, 11, 198, 220, 220, 220, 220, 220, 1332, 36676, 7473, 43001, 2751, 11, 198, 220, 220, 220, 220, 220, 1332, 50049, 7473, 43001, 2751, 11, 198, 220, 220, 220, 220, 220, 1332, 3023, 17, 7473, 43001, 2751, 11, 198, 220, 220, 220, 220, 220, 1332, 48768, 7473, 43001, 2751, 11, 198, 220, 220, 220, 220, 220, 1332, 43977, 7473, 43001, 2751, 11, 198, 220, 220, 220, 220, 220, 1332, 40350, 7473, 43001, 2751, 11, 198, 220, 220, 220, 220, 220, 1332, 45438, 7473, 43001, 2751, 13, 198, 198, 10619, 31631, 13, 220, 220, 220, 220, 220 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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 ]
CLASS zcl_abapgit_branch_overview DEFINITION PUBLIC FINAL CREATE PRIVATE GLOBAL FRIENDS zcl_abapgit_factory . PUBLIC SECTION. INTERFACES zif_abapgit_branch_overview . CONSTANTS c_deleted_branch_name_prefix TYPE string VALUE '__DELETED_BRANCH_' ##NO_TEXT. METHODS constructor IMPORTING io_repo TYPE REF TO zcl_abapgit_repo_online RAISING zcx_abapgit_exception . PROTECTED SECTION. PRIVATE SECTION. DATA mt_branches TYPE zif_abapgit_definitions=>ty_git_branch_list_tt . DATA mt_commits TYPE zif_abapgit_definitions=>ty_commit_tt . DATA mt_tags TYPE zif_abapgit_definitions=>ty_git_tag_list_tt . METHODS compress_internal IMPORTING !iv_name TYPE string CHANGING !ct_temp TYPE zif_abapgit_definitions=>ty_commit_tt !ct_commits TYPE zif_abapgit_definitions=>ty_commit_tt . METHODS parse_annotated_tags IMPORTING !it_objects TYPE zif_abapgit_definitions=>ty_objects_tt RAISING zcx_abapgit_exception . METHODS determine_branch RAISING zcx_abapgit_exception . METHODS determine_merges RAISING zcx_abapgit_exception . METHODS fixes RAISING zcx_abapgit_exception . METHODS get_git_objects IMPORTING !io_repo TYPE REF TO zcl_abapgit_repo_online RETURNING VALUE(rt_objects) TYPE zif_abapgit_definitions=>ty_objects_tt RAISING zcx_abapgit_exception . METHODS determine_tags RAISING zcx_abapgit_exception . ENDCLASS. CLASS ZCL_ABAPGIT_BRANCH_OVERVIEW IMPLEMENTATION. METHOD compress_internal. FIELD-SYMBOLS: <ls_temp> LIKE LINE OF ct_temp, <ls_new> LIKE LINE OF ct_commits, <ls_temp_end> LIKE LINE OF ct_temp. IF lines( ct_temp ) >= 10. READ TABLE ct_temp ASSIGNING <ls_temp> INDEX 1. ASSERT sy-subrc = 0. READ TABLE ct_temp ASSIGNING <ls_temp_end> INDEX lines( ct_temp ). ASSERT sy-subrc = 0. APPEND INITIAL LINE TO ct_commits ASSIGNING <ls_new>. <ls_new>-sha1 = <ls_temp_end>-sha1. <ls_new>-parent1 = <ls_temp>-parent1. <ls_new>-time = <ls_temp>-time. <ls_new>-message = |Compressed, { lines( ct_temp ) } commits|. <ls_new>-branch = iv_name. <ls_new>-compressed = abap_true. ELSE. APPEND LINES OF ct_temp TO ct_commits. ENDIF. CLEAR ct_temp. ENDMETHOD. METHOD constructor. DATA: lt_objects TYPE zif_abapgit_definitions=>ty_objects_tt. lt_objects = get_git_objects( io_repo ). mt_commits = zcl_abapgit_git_commit=>parse_commits( lt_objects ). zcl_abapgit_git_commit=>sort_commits( CHANGING ct_commits = mt_commits ). parse_annotated_tags( lt_objects ). CLEAR lt_objects. determine_branch( ). determine_merges( ). determine_tags( ). fixes( ). ENDMETHOD. METHOD determine_branch. CONSTANTS: lc_head TYPE string VALUE 'HEAD'. TYPES: BEGIN OF ty_branch_with_time, time TYPE string, name TYPE string, sha1 TYPE zif_abapgit_definitions=>ty_sha1, END OF ty_branch_with_time. DATA: lt_branches_sorted_by_time TYPE SORTED TABLE OF ty_branch_with_time WITH NON-UNIQUE KEY time, ls_branches_with_time TYPE ty_branch_with_time. FIELD-SYMBOLS: <ls_branch> LIKE LINE OF mt_branches, <ls_branch_sorted_by_time> LIKE LINE OF lt_branches_sorted_by_time, <ls_head> LIKE LINE OF mt_branches, <ls_commit> LIKE LINE OF mt_commits, <ls_create> LIKE LINE OF <ls_commit>-create. * Exchange HEAD, and make sure the branch determination starts with the HEAD branch READ TABLE mt_branches ASSIGNING <ls_head> WITH KEY name = lc_head. ASSERT sy-subrc = 0. LOOP AT mt_branches ASSIGNING <ls_branch> WHERE sha1 = <ls_head>-sha1 AND name <> lc_head. <ls_head>-name = <ls_branch>-name. DELETE mt_branches INDEX sy-tabix. EXIT. ENDLOOP. * Sort Branches by Commit Time LOOP AT mt_branches ASSIGNING <ls_branch>. READ TABLE mt_commits ASSIGNING <ls_commit> WITH KEY sha1 = <ls_branch>-sha1. IF sy-subrc = 0. ls_branches_with_time-name = <ls_branch>-name+11. ls_branches_with_time-sha1 = <ls_branch>-sha1. IF <ls_branch>-is_head = abap_true. ls_branches_with_time-time = '0000000000'. "Force HEAD to be the first one ELSE. ls_branches_with_time-time = <ls_commit>-time. ENDIF. INSERT ls_branches_with_time INTO TABLE lt_branches_sorted_by_time. CLEAR ls_branches_with_time. ENDIF. ENDLOOP. LOOP AT lt_branches_sorted_by_time ASSIGNING <ls_branch_sorted_by_time>. READ TABLE mt_commits ASSIGNING <ls_commit> WITH KEY sha1 = <ls_branch_sorted_by_time>-sha1. ASSERT sy-subrc = 0. DO. IF <ls_commit>-branch IS INITIAL. <ls_commit>-branch = <ls_branch_sorted_by_time>-name. ELSE. APPEND INITIAL LINE TO <ls_commit>-create ASSIGNING <ls_create>. <ls_create>-name = <ls_branch_sorted_by_time>-name. <ls_create>-parent = <ls_commit>-branch. EXIT. ENDIF. IF <ls_commit>-parent1 IS INITIAL. EXIT. ELSE. READ TABLE mt_commits ASSIGNING <ls_commit> WITH KEY sha1 = <ls_commit>-parent1. ASSERT sy-subrc = 0. ENDIF. ENDDO. ENDLOOP. ENDMETHOD. METHOD determine_merges. DATA: BEGIN OF ls_deleted_branch_info, created TYPE abap_bool, index TYPE string, name TYPE string, END OF ls_deleted_branch_info. FIELD-SYMBOLS: <ls_merged_branch_commit> TYPE zif_abapgit_definitions=>ty_commit, <ls_merged_branch_parent> TYPE zif_abapgit_definitions=>ty_commit, <ls_commit> TYPE zif_abapgit_definitions=>ty_commit, <ls_create> TYPE zif_abapgit_definitions=>ty_create. * we need latest first here: latest -> initial zcl_abapgit_git_commit=>reverse_sort_order( CHANGING ct_commits = mt_commits ). LOOP AT mt_commits ASSIGNING <ls_commit> WHERE NOT parent2 IS INITIAL. ASSERT NOT <ls_commit>-branch IS INITIAL. READ TABLE mt_commits ASSIGNING <ls_merged_branch_commit> WITH KEY sha1 = <ls_commit>-parent2. IF sy-subrc = 0. <ls_commit>-merge = <ls_merged_branch_commit>-branch. * orphaned, branch has been deleted after merge ls_deleted_branch_info-created = abap_false. WHILE <ls_merged_branch_commit>-branch IS INITIAL. IF ls_deleted_branch_info-created = abap_false. ls_deleted_branch_info-created = abap_true. ls_deleted_branch_info-index = ls_deleted_branch_info-index + 1. ls_deleted_branch_info-name = c_deleted_branch_name_prefix && ls_deleted_branch_info-index && '__'. CONDENSE ls_deleted_branch_info-name NO-GAPS. <ls_commit>-merge = ls_deleted_branch_info-name. ENDIF. <ls_merged_branch_commit>-branch = ls_deleted_branch_info-name. READ TABLE mt_commits ASSIGNING <ls_merged_branch_parent> WITH KEY sha1 = <ls_merged_branch_commit>-parent1. IF sy-subrc <> 0. EXIT. ELSE. ASSIGN <ls_merged_branch_parent> TO <ls_merged_branch_commit>. ENDIF. ENDWHILE. IF <ls_merged_branch_parent> IS ASSIGNED. APPEND INITIAL LINE TO <ls_merged_branch_parent>-create ASSIGNING <ls_create>. <ls_create>-name = ls_deleted_branch_info-name. <ls_create>-parent = <ls_commit>-branch. ENDIF. ENDIF. ENDLOOP. " switch back to initial -> latest zcl_abapgit_git_commit=>reverse_sort_order( CHANGING ct_commits = mt_commits ). ENDMETHOD. METHOD determine_tags. DATA: lv_tag TYPE LINE OF zif_abapgit_definitions=>ty_commit-tags. FIELD-SYMBOLS: <ls_tag> LIKE LINE OF mt_tags, <ls_commit> LIKE LINE OF mt_commits. LOOP AT mt_tags ASSIGNING <ls_tag>. IF <ls_tag>-type = zif_abapgit_definitions=>c_git_branch_type-lightweight_tag. READ TABLE mt_commits WITH KEY sha1 = <ls_tag>-sha1 ASSIGNING <ls_commit>. "#EC CI_SUBRC ELSEIF <ls_tag>-type = zif_abapgit_definitions=>c_git_branch_type-annotated_tag. READ TABLE mt_commits WITH KEY sha1 = <ls_tag>-object ASSIGNING <ls_commit>. ENDIF. CHECK sy-subrc = 0. lv_tag = zcl_abapgit_git_tag=>remove_tag_prefix( <ls_tag>-name ). INSERT lv_tag INTO TABLE <ls_commit>-tags. ENDLOOP. ENDMETHOD. METHOD fixes. FIELD-SYMBOLS: <ls_commit> LIKE LINE OF mt_commits. LOOP AT mt_commits ASSIGNING <ls_commit> WHERE NOT merge IS INITIAL. * commits from old branches IF <ls_commit>-branch = <ls_commit>-merge. CLEAR <ls_commit>-merge. ENDIF. ENDLOOP. ENDMETHOD. METHOD get_git_objects. DATA: lo_branch_list TYPE REF TO zcl_abapgit_git_branch_list, li_progress TYPE REF TO zif_abapgit_progress, lt_branches_and_tags TYPE zif_abapgit_definitions=>ty_git_branch_list_tt, lt_tags TYPE zif_abapgit_definitions=>ty_git_branch_list_tt, ls_tag LIKE LINE OF mt_tags. FIELD-SYMBOLS: <ls_branch> LIKE LINE OF lt_tags. li_progress = zcl_abapgit_progress=>get_instance( 1 ). li_progress->show( iv_current = 1 iv_text = |Get git objects { io_repo->get_name( ) }| ). * get objects directly from git, mo_repo only contains a shallow clone of only * the selected branch "TODO refactor lo_branch_list = zcl_abapgit_git_transport=>branches( io_repo->get_url( ) ). mt_branches = lo_branch_list->get_branches_only( ). INSERT LINES OF mt_branches INTO TABLE lt_branches_and_tags. lt_tags = lo_branch_list->get_tags_only( ). INSERT LINES OF lt_tags INTO TABLE lt_branches_and_tags. LOOP AT lt_tags ASSIGNING <ls_branch>. IF <ls_branch>-name CP '*^{}'. CONTINUE. ENDIF. MOVE-CORRESPONDING <ls_branch> TO ls_tag. INSERT ls_tag INTO TABLE mt_tags. ENDLOOP. zcl_abapgit_git_transport=>upload_pack_by_branch( EXPORTING iv_url = io_repo->get_url( ) iv_branch_name = io_repo->get_selected_branch( ) iv_deepen_level = 0 it_branches = lt_branches_and_tags IMPORTING et_objects = rt_objects ). DELETE rt_objects WHERE type = zif_abapgit_definitions=>c_type-blob. ENDMETHOD. METHOD parse_annotated_tags. DATA: ls_raw TYPE zcl_abapgit_git_pack=>ty_tag. FIELD-SYMBOLS: <ls_object> LIKE LINE OF it_objects, <ls_tag> LIKE LINE OF mt_tags. LOOP AT it_objects ASSIGNING <ls_object> USING KEY type WHERE type = zif_abapgit_definitions=>c_type-tag. ls_raw = zcl_abapgit_git_pack=>decode_tag( <ls_object>-data ). READ TABLE mt_tags ASSIGNING <ls_tag> WITH KEY sha1 = <ls_object>-sha1. ASSERT sy-subrc = 0. <ls_tag>-name = zif_abapgit_definitions=>c_git_branch-tags_prefix && ls_raw-tag. <ls_tag>-sha1 = <ls_object>-sha1. <ls_tag>-object = ls_raw-object. <ls_tag>-type = zif_abapgit_definitions=>c_git_branch_type-annotated_tag. <ls_tag>-display_name = ls_raw-tag. <ls_tag>-tagger_name = ls_raw-tagger_name. <ls_tag>-tagger_email = ls_raw-tagger_email. <ls_tag>-message = ls_raw-message. <ls_tag>-body = ls_raw-body. ENDLOOP. ENDMETHOD. METHOD zif_abapgit_branch_overview~compress. DATA: lv_previous TYPE i, lv_index TYPE i, lv_name TYPE string, lt_temp LIKE it_commits. FIELD-SYMBOLS: <ls_branch> LIKE LINE OF mt_branches, <ls_commit> LIKE LINE OF it_commits. LOOP AT mt_branches ASSIGNING <ls_branch>. CLEAR lt_temp. lv_name = <ls_branch>-name+11. LOOP AT it_commits ASSIGNING <ls_commit> WHERE branch = lv_name. lv_index = sy-tabix. IF NOT <ls_commit>-merge IS INITIAL OR NOT <ls_commit>-create IS INITIAL. * always show these vertices lv_previous = -1. ENDIF. IF lv_previous + 1 <> sy-tabix. compress_internal( EXPORTING iv_name = lv_name CHANGING ct_temp = lt_temp ct_commits = rt_commits ). ENDIF. lv_previous = lv_index. APPEND <ls_commit> TO lt_temp. ENDLOOP. compress_internal( EXPORTING iv_name = lv_name CHANGING ct_temp = lt_temp ct_commits = rt_commits ). ENDLOOP. zcl_abapgit_git_commit=>sort_commits( CHANGING ct_commits = rt_commits ). ENDMETHOD. METHOD zif_abapgit_branch_overview~get_branches. rt_branches = mt_branches. ENDMETHOD. METHOD zif_abapgit_branch_overview~get_commits. rt_commits = mt_commits. ENDMETHOD. METHOD zif_abapgit_branch_overview~get_tags. rt_tags = mt_tags. ENDMETHOD. ENDCLASS.
[ 31631, 1976, 565, 62, 397, 499, 18300, 62, 1671, 3702, 62, 2502, 1177, 5550, 20032, 17941, 198, 220, 44731, 198, 220, 25261, 198, 220, 29244, 6158, 4810, 3824, 6158, 198, 220, 10188, 9864, 1847, 48167, 1677, 5258, 1976, 565, 62, 397, 499, 18300, 62, 69, 9548, 764, 628, 220, 44731, 44513, 13, 198, 220, 220, 220, 23255, 37, 2246, 1546, 1976, 361, 62, 397, 499, 18300, 62, 1671, 3702, 62, 2502, 1177, 764, 198, 220, 220, 220, 7102, 2257, 1565, 4694, 269, 62, 2934, 33342, 62, 1671, 3702, 62, 3672, 62, 40290, 41876, 4731, 26173, 8924, 705, 834, 7206, 28882, 1961, 62, 11473, 1565, 3398, 62, 6, 22492, 15285, 62, 32541, 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, 33245, 62, 260, 7501, 41876, 4526, 37, 5390, 1976, 565, 62, 397, 499, 18300, 62, 260, 7501, 62, 25119, 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, 628, 220, 48006, 9782, 1961, 44513, 13, 198, 220, 4810, 3824, 6158, 44513, 13, 198, 220, 220, 220, 42865, 45079, 62, 1671, 12140, 41876, 1976, 361, 62, 397, 499, 18300, 62, 4299, 50101, 14804, 774, 62, 18300, 62, 1671, 3702, 62, 4868, 62, 926, 764, 198, 220, 220, 220, 42865, 45079, 62, 9503, 896, 41876, 1976, 361, 62, 397, 499, 18300, 62, 4299, 50101, 14804, 774, 62, 41509, 62, 926, 764, 198, 220, 220, 220, 42865, 45079, 62, 31499, 41876, 1976, 361, 62, 397, 499, 18300, 62, 4299, 50101, 14804, 774, 62, 18300, 62, 12985, 62, 4868, 62, 926, 764, 628, 220, 220, 220, 337, 36252, 50, 27413, 62, 32538, 198, 220, 220, 220, 220, 220, 30023, 9863, 2751, 198, 220, 220, 220, 220, 220, 220, 220, 5145, 452, 62, 3672, 220, 220, 220, 41876, 4731, 198, 220, 220, 220, 220, 220, 5870, 15567, 2751, 198, 220, 220, 220, 220, 220, 220, 220, 5145, 310, 62, 29510, 220, 220, 220, 41876, 1976, 361, 62, 397, 499, 18300, 62, 4299, 50101, 14804, 774, 62, 41509, 62, 926, 198, 220, 220, 220, 220, 220, 220, 220, 5145, 310, 62, 9503, 896, 41876, 1976, 361, 62, 397, 499, 18300, 62, 4299, 50101, 14804, 774, 62, 41509, 62, 926, 764, 198, 220, 220, 220, 337, 36252, 50, 21136, 62, 34574, 515, 62, 31499, 198, 220, 220, 220, 220, 220, 30023, 9863, 2751, 198, 220, 220, 220, 220, 220, 220, 220, 5145, 270, 62, 48205, 41876, 1976, 361, 62, 397, 499, 18300, 62, 4299, 50101, 14804, 774, 62, 48205, 62, 926, 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, 5004, 62, 1671, 3702, 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, 5004, 62, 647, 3212, 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, 13040, 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, 651, 62, 18300, 62, 48205, 198, 220, 220, 220, 220, 220, 30023, 9863, 2751, 198, 220, 220, 220, 220, 220, 220, 220, 5145, 952, 62, 260, 7501, 220, 220, 220, 220, 220, 220, 220, 220, 220, 41876, 4526, 37, 5390, 1976, 565, 62, 397, 499, 18300, 62, 260, 7501, 62, 25119, 198, 220, 220, 220, 220, 220, 30826, 4261, 15871, 198, 220, 220, 220, 220, 220, 220, 220, 26173, 8924, 7, 17034, 62, 48205, 8, 41876, 1976, 361, 62, 397, 499, 18300, 62, 4299, 50101, 14804, 774, 62, 48205, 62, 926, 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, 5004, 62, 31499, 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, 10619, 31631, 13, 628, 198, 198, 31631, 1168, 5097, 62, 6242, 2969, 38, 2043, 62, 11473, 1565, 3398, 62, 41983, 28206, 30023, 2538, 10979, 6234, 13, 628, 198, 220, 337, 36252, 27413, 62, 32538, 13, 628, 220, 220, 220, 18930, 24639, 12, 23060, 10744, 3535, 50, 25, 1279, 7278, 62, 29510, 29, 220, 220, 220, 220, 34178, 48920, 3963, 269, 83, 62, 29510, 11, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 1279, 7278, 62, 3605, 29, 220, 220, 220, 220, 220, 34178, 48920, 3963, 269, 83, 62, 9503, 896, 11, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 1279, 7278, 62, 29510, 62, 437, 29, 34178, 48920, 3963, 269, 83, 62, 29510, 13, 628, 198, 220, 220, 220, 16876, 3951, 7, 269, 83, 62, 29510, 1267, 18189, 838, 13, 198, 220, 220, 220, 220, 220, 20832, 43679, 269, 83, 62, 29510, 24994, 3528, 15871, 1279, 7278, 62, 29510, 29, 24413, 6369, 352, 13, 198, 220, 220, 220, 220, 220, 24994, 17395, 827, 12, 7266, 6015, 796, 657, 13, 198, 220, 220, 220, 220, 220, 20832, 43679, 269, 83, 62, 29510, 24994, 3528, 15871, 1279, 7278, 62, 29510, 62, 437, 29, 24413, 6369, 3951, 7, 269, 83, 62, 29510, 6739, 198, 220, 220, 220, 220, 220, 24994, 17395, 827, 12, 7266, 6015, 796, 657, 13, 198, 220, 220, 220, 220, 220, 43504, 10619, 3268, 2043, 12576, 48920, 5390, 269, 83, 62, 9503, 896, 24994, 3528, 15871, 1279, 7278, 62, 3605, 28401, 198, 220, 220, 220, 220, 220, 1279, 7278, 62, 3605, 29, 12, 26270, 16 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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 ]
CLASS zcl_where_clause DEFINITION PUBLIC FINAL CREATE PRIVATE . PUBLIC SECTION. CONSTANTS gc_and TYPE char3 VALUE 'AND' ##NO_TEXT. CONSTANTS gc_or TYPE char3 VALUE 'OR' ##NO_TEXT. CONSTANTS gc_not TYPE char3 VALUE 'NOT' ##NO_TEXT. CONSTANTS gc_eq TYPE char4 VALUE 'EQ' ##NO_TEXT. CONSTANTS gc_ne TYPE char4 VALUE 'NE' ##NO_TEXT. CONSTANTS gc_bt TYPE char7 VALUE 'BETWEEN' ##NO_TEXT. CONSTANTS gc_like TYPE char4 VALUE 'LIKE' ##NO_TEXT. METHODS add_and_eq IMPORTING !i_fieldname TYPE fieldname !i_value TYPE string. METHODS add_and_ne IMPORTING !i_fieldname TYPE fieldname !i_value TYPE string. METHODS add_and_like IMPORTING !i_fieldname TYPE fieldname !i_value TYPE string. METHODS add_or_eq IMPORTING !i_fieldname TYPE fieldname !i_value TYPE string. METHODS add_or_ne IMPORTING !i_fieldname TYPE fieldname !i_value TYPE string. METHODS add_or_like IMPORTING !i_fieldname TYPE fieldname !i_value TYPE string. METHODS get RETURNING VALUE(r_where_clause) TYPE string . CLASS-METHODS create_as_eq IMPORTING !i_fieldname TYPE fieldname !i_value TYPE string RETURNING VALUE(ro_where_clause) TYPE REF TO zcl_where_clause. CLASS-METHODS create_as_ne IMPORTING !i_fieldname TYPE fieldname !i_value TYPE string RETURNING VALUE(ro_where_clause) TYPE REF TO zcl_where_clause. CLASS-METHODS create_as_like IMPORTING !i_fieldname TYPE fieldname !i_value TYPE string RETURNING VALUE(ro_where_clause) TYPE REF TO zcl_where_clause. METHODS clear . PROTECTED SECTION. PRIVATE SECTION. DATA where_clause TYPE string . DATA: tr_c_like_types TYPE RANGE OF abap_typecategory . METHODS add IMPORTING !i_sql_chain_operator TYPE char3 !i_fieldname TYPE fieldname !i_expr_operator TYPE char4 !i_value TYPE string. METHODS prepare_value IMPORTING i_expr_operator TYPE char4 i_value TYPE string RETURNING value(r_string) TYPE string. METHODS constructor IMPORTING i_fieldname TYPE fieldname i_expr_operator TYPE char4 i_value TYPE string. ENDCLASS. CLASS zcl_where_clause IMPLEMENTATION. METHOD constructor. where_clause = |{ i_fieldname } { i_expr_operator } { prepare_value( i_expr_operator = i_expr_operator i_value = i_value ) }|. ENDMETHOD. METHOD clear. CLEAR where_clause. ENDMETHOD. METHOD create_as_eq. ro_where_clause = NEW zcl_where_clause( i_fieldname = i_fieldname i_expr_operator = gc_eq i_value = i_value ). ENDMETHOD. METHOD create_as_like. ro_where_clause = NEW zcl_where_clause( i_fieldname = i_fieldname i_expr_operator = gc_like i_value = i_value ). ENDMETHOD. METHOD create_as_ne. ro_where_clause = NEW zcl_where_clause( i_fieldname = i_fieldname i_expr_operator = gc_ne i_value = i_value ). ENDMETHOD. METHOD get. r_where_clause = where_clause. ENDMETHOD. METHOD add. where_clause = |{ where_clause } { i_sql_chain_operator } { i_fieldname } { i_expr_operator } { prepare_value( i_expr_operator = i_expr_operator i_value = i_value ) }|. ENDMETHOD. METHOD add_and_eq. add( i_sql_chain_operator = gc_and i_fieldname = i_fieldname i_expr_operator = gc_eq i_value = i_value ). ENDMETHOD. METHOD add_and_like. add( i_sql_chain_operator = gc_and i_fieldname = i_fieldname i_expr_operator = gc_like i_value = i_value ). ENDMETHOD. METHOD add_and_ne. add( i_sql_chain_operator = gc_and i_fieldname = i_fieldname i_expr_operator = gc_ne i_value = i_value ). ENDMETHOD. METHOD add_or_eq. add( i_sql_chain_operator = gc_or i_fieldname = i_fieldname i_expr_operator = gc_eq i_value = i_value ). ENDMETHOD. METHOD add_or_like. add( i_sql_chain_operator = gc_or i_fieldname = i_fieldname i_expr_operator = gc_like i_value = i_value ). ENDMETHOD. METHOD add_or_ne. add( i_sql_chain_operator = gc_or i_fieldname = i_fieldname i_expr_operator = gc_ne i_value = i_value ). ENDMETHOD. METHOD prepare_value. DATA: lo_string TYPE REF TO zcl_string. tr_c_like_types = VALUE #( sign = if_slad_select_options=>c_signs-including option = if_slad_select_options=>c_options-eq ( low = cl_abap_typedescr=>typekind_char ) ( low = cl_abap_typedescr=>typekind_clike ) ( low = cl_abap_typedescr=>typekind_csequence ) ( low = cl_abap_typedescr=>typekind_string ) ( low = cl_abap_typedescr=>typekind_num ) ( low = cl_abap_typedescr=>typekind_xstring ) ). lo_string = new zcl_string( i_value ). IF i_expr_operator = gc_like AND NOT lo_string->ends_with( '%' ). lo_string->append( '%' ). ENDIF. "add single quotes to value DESCRIBE FIELD i_value TYPE DATA(l_value_type). IF l_value_type in tr_c_like_types. lo_string->add_single_quotes( ). ENDIF. r_string = lo_string->get_value( ). ENDMETHOD. ENDCLASS.
[ 31631, 1976, 565, 62, 3003, 62, 565, 682, 5550, 20032, 17941, 198, 220, 44731, 198, 220, 25261, 198, 220, 29244, 6158, 4810, 3824, 6158, 764, 628, 220, 44731, 44513, 13, 628, 220, 220, 220, 7102, 2257, 1565, 4694, 308, 66, 62, 392, 41876, 1149, 18, 26173, 8924, 705, 6981, 6, 22492, 15285, 62, 32541, 13, 198, 220, 220, 220, 7102, 2257, 1565, 4694, 308, 66, 62, 273, 41876, 1149, 18, 26173, 8924, 705, 1581, 6, 22492, 15285, 62, 32541, 13, 198, 220, 220, 220, 7102, 2257, 1565, 4694, 308, 66, 62, 1662, 41876, 1149, 18, 26173, 8924, 705, 11929, 6, 22492, 15285, 62, 32541, 13, 198, 220, 220, 220, 7102, 2257, 1565, 4694, 308, 66, 62, 27363, 41876, 1149, 19, 26173, 8924, 705, 36, 48, 6, 22492, 15285, 62, 32541, 13, 198, 220, 220, 220, 7102, 2257, 1565, 4694, 308, 66, 62, 710, 41876, 1149, 19, 26173, 8924, 705, 12161, 6, 22492, 15285, 62, 32541, 13, 198, 220, 220, 220, 7102, 2257, 1565, 4694, 308, 66, 62, 18347, 41876, 1149, 22, 26173, 8924, 705, 33, 2767, 8845, 1677, 6, 22492, 15285, 62, 32541, 13, 198, 220, 220, 220, 7102, 2257, 1565, 4694, 308, 66, 62, 2339, 41876, 1149, 19, 26173, 8924, 705, 31271, 7336, 6, 22492, 15285, 62, 32541, 13, 628, 198, 220, 220, 220, 337, 36252, 50, 751, 62, 392, 62, 27363, 198, 220, 220, 220, 220, 220, 30023, 9863, 2751, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 5145, 72, 62, 3245, 3672, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 41876, 2214, 3672, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 5145, 72, 62, 8367, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 41876, 4731, 13, 198, 220, 220, 220, 337, 36252, 50, 751, 62, 392, 62, 710, 198, 220, 220, 220, 220, 220, 30023, 9863, 2751, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 5145, 72, 62, 3245, 3672, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 41876, 2214, 3672, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 5145, 72, 62, 8367, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 41876, 4731, 13, 198, 220, 220, 220, 337, 36252, 50, 751, 62, 392, 62, 2339, 198, 220, 220, 220, 220, 220, 30023, 9863, 2751, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 5145, 72, 62, 3245, 3672, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 41876, 2214, 3672, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 5145, 72, 62, 8367, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 41876, 4731, 13, 198, 220, 220, 220, 337, 36252, 50, 751, 62, 273, 62, 27363, 198, 220, 220, 220, 220, 220, 30023, 9863, 2751, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 5145, 72, 62, 3245, 3672, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 41876, 2214, 3672, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 5145, 72, 62, 8367, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 41876, 4731, 13, 198, 220, 220, 220, 337, 36252, 50, 751, 62, 273, 62, 710, 198, 220, 220, 220, 220, 220, 30023, 9863, 2751, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 5145, 72, 62, 3245, 3672, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 41876, 2214, 3672, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 5145, 72, 62, 8367, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 41876, 4731, 13, 198, 220, 220, 220, 337, 36252, 50, 751, 62, 273, 62, 2339, 198, 220, 220, 220, 220, 220, 30023, 9863, 2751, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 5145, 72, 62, 3245, 3672, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 41876, 2214, 3672, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 5145, 72, 62, 8367, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 41876, 4731, 13, 198, 220, 220, 220, 337, 36252, 50, 651, 198, 220, 220, 220, 220, 220, 30826, 4261, 15871, 198, 220, 220, 220, 220, 220, 220, 220, 26173, 8924, 7, 81, 62, 3003, 62, 565, 682, 8, 41876, 4731, 764, 198, 220, 220, 220, 42715, 12, 49273, 50, 2251, 62, 292, 62, 27363, 198, 220, 220, 220, 220, 220, 30023, 9863, 2751, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 5145, 72, 62, 3245, 3672, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 41876, 2214, 3672, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 5145, 72, 62, 8367, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 41876, 4731, 198, 220, 220, 220, 220, 220, 30826, 4261, 15871, 26173, 8924, 7, 305, 62, 3003, 62, 565, 682, 8, 41876, 4526, 37, 5390, 1976, 565, 62, 3003, 62, 565, 682, 13, 198, 220, 220, 220, 42715, 12, 49273, 50, 2251, 62, 292, 62, 710, 198, 220, 220, 220, 220, 220, 30023, 9863, 2751, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 5145, 72, 62, 3245, 3672, 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, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
CLASS ltcl_test DEFINITION FOR TESTING DURATION SHORT RISK LEVEL HARMLESS. PRIVATE SECTION. METHODS: repo_host FOR TESTING RAISING zcx_abapgit_exception, repo_name1 FOR TESTING RAISING zcx_abapgit_exception, repo_name2 FOR TESTING RAISING zcx_abapgit_exception, repo_name3 FOR TESTING RAISING zcx_abapgit_exception, repo_name4 FOR TESTING RAISING zcx_abapgit_exception, repo_name5 FOR TESTING RAISING zcx_abapgit_exception, repo_address1 FOR TESTING RAISING zcx_abapgit_exception, repo_address2 FOR TESTING RAISING zcx_abapgit_exception, repo_address3 FOR TESTING RAISING zcx_abapgit_exception, repo_address4 FOR TESTING RAISING zcx_abapgit_exception, repo_address5_dots FOR TESTING RAISING zcx_abapgit_exception, repo_address6_dots_and_git FOR TESTING RAISING zcx_abapgit_exception, repo_error FOR TESTING, url_validate1 FOR TESTING, url_validate2 FOR TESTING, url_validate3 FOR TESTING. ENDCLASS. CLASS ltcl_test IMPLEMENTATION. METHOD repo_error. TRY. zcl_abapgit_url=>host( 'not a real url' ). cl_abap_unit_assert=>fail( ). CATCH zcx_abapgit_exception. "#EC NO_HANDLER ENDTRY. ENDMETHOD. METHOD repo_host. DATA: lv_host TYPE string. lv_host = zcl_abapgit_url=>host( 'https://github.com/larshp/Foobar.git' ). cl_abap_unit_assert=>assert_equals( exp = 'https://github.com' act = lv_host ). ENDMETHOD. METHOD repo_name1. DATA: lv_name TYPE string. lv_name = zcl_abapgit_url=>name( 'https://github.com/larshp/Foobar.git' ). cl_abap_unit_assert=>assert_equals( exp = 'Foobar' act = lv_name ). ENDMETHOD. METHOD repo_name2. DATA: lv_name TYPE string. lv_name = zcl_abapgit_url=>name( 'https://git.hanatrial.ondemand.com/p12345trial/yay' ). cl_abap_unit_assert=>assert_equals( exp = 'yay' act = lv_name ). ENDMETHOD. METHOD repo_name3. DATA: lv_name TYPE string. lv_name = zcl_abapgit_url=>name( 'https://github.com/larshp/Foobar/' ). cl_abap_unit_assert=>assert_equals( exp = 'Foobar' act = lv_name ). ENDMETHOD. METHOD repo_name4. DATA: lv_name TYPE string. lv_name = zcl_abapgit_url=>name( 'https://github.com/larshp/foo-bar/' ). cl_abap_unit_assert=>assert_equals( exp = 'foo-bar' act = lv_name ). ENDMETHOD. METHOD repo_name5. DATA: lv_name TYPE string. lv_name = zcl_abapgit_url=>name( 'https://github.com/larshp/foo_bar/' ). cl_abap_unit_assert=>assert_equals( exp = 'foo_bar' act = lv_name ). ENDMETHOD. METHOD repo_address1. DATA: lv_url_address TYPE string. lv_url_address = zcl_abapgit_url=>url_address( 'https://github.com/abapGit/abapGit.git' ). cl_abap_unit_assert=>assert_equals( exp = 'https://github.com/abapGit/abapGit' act = lv_url_address ). ENDMETHOD. METHOD repo_address2. DATA: lv_url_address TYPE string. lv_url_address = zcl_abapgit_url=>url_address( 'https://git.hanatrial.ondemand.com/abapGit/abapGit.git' ). cl_abap_unit_assert=>assert_equals( exp = 'https://git.hanatrial.ondemand.com/abapGit/abapGit' act = lv_url_address ). ENDMETHOD. METHOD repo_address3. DATA: lv_url_address TYPE string. lv_url_address = zcl_abapgit_url=>url_address( 'https://github.com/abapGit/abapGit/' ). cl_abap_unit_assert=>assert_equals( exp = 'https://github.com/abapGit/abapGit' act = lv_url_address ). ENDMETHOD. METHOD repo_address4. DATA: lv_url_address TYPE string. lv_url_address = zcl_abapgit_url=>url_address( 'https://github.com/abapGit/abapGit' ). cl_abap_unit_assert=>assert_equals( exp = 'https://github.com/abapGit/abapGit' act = lv_url_address ). ENDMETHOD. METHOD repo_address5_dots. DATA: lv_url_address TYPE string. lv_url_address = zcl_abapgit_url=>url_address( 'https://github.com/jfilak/abap.awesome.app1' ). cl_abap_unit_assert=>assert_equals( exp = 'https://github.com/jfilak/abap.awesome.app1' act = lv_url_address ). ENDMETHOD. METHOD repo_address6_dots_and_git. DATA: lv_url_address TYPE string. lv_url_address = zcl_abapgit_url=>url_address( 'https://github.com/jfilak/abap.awesome.app1.git' ). cl_abap_unit_assert=>assert_equals( exp = 'https://github.com/jfilak/abap.awesome.app1' act = lv_url_address ). ENDMETHOD. METHOD url_validate1. TRY. zcl_abapgit_url=>validate( 'http://github.com/larshp/Foobar.git' ). CATCH zcx_abapgit_exception. cl_abap_unit_assert=>fail( ). ENDTRY. ENDMETHOD. METHOD url_validate2. TRY. zcl_abapgit_url=>validate( 'https://github.com/larshp/Foobar.git' ). CATCH zcx_abapgit_exception. cl_abap_unit_assert=>fail( ). ENDTRY. ENDMETHOD. METHOD url_validate3. TRY. zcl_abapgit_url=>validate( 'XYZ://github.com/larshp/Foobar.git' ). cl_abap_unit_assert=>fail( ). CATCH zcx_abapgit_exception. "#EC NO_HANDLER ENDTRY. ENDMETHOD. ENDCLASS.
[ 31631, 300, 83, 565, 62, 9288, 5550, 20032, 17941, 7473, 43001, 2751, 360, 4261, 6234, 6006, 9863, 45698, 42, 49277, 43638, 5805, 7597, 13, 628, 220, 4810, 3824, 6158, 44513, 13, 628, 220, 220, 220, 337, 36252, 50, 25, 198, 220, 220, 220, 220, 220, 29924, 62, 4774, 7473, 43001, 2751, 17926, 1797, 2751, 1976, 66, 87, 62, 397, 499, 18300, 62, 1069, 4516, 11, 198, 220, 220, 220, 220, 220, 29924, 62, 3672, 16, 7473, 43001, 2751, 17926, 1797, 2751, 1976, 66, 87, 62, 397, 499, 18300, 62, 1069, 4516, 11, 198, 220, 220, 220, 220, 220, 29924, 62, 3672, 17, 7473, 43001, 2751, 17926, 1797, 2751, 1976, 66, 87, 62, 397, 499, 18300, 62, 1069, 4516, 11, 198, 220, 220, 220, 220, 220, 29924, 62, 3672, 18, 7473, 43001, 2751, 17926, 1797, 2751, 1976, 66, 87, 62, 397, 499, 18300, 62, 1069, 4516, 11, 198, 220, 220, 220, 220, 220, 29924, 62, 3672, 19, 7473, 43001, 2751, 17926, 1797, 2751, 1976, 66, 87, 62, 397, 499, 18300, 62, 1069, 4516, 11, 198, 220, 220, 220, 220, 220, 29924, 62, 3672, 20, 7473, 43001, 2751, 17926, 1797, 2751, 1976, 66, 87, 62, 397, 499, 18300, 62, 1069, 4516, 11, 198, 220, 220, 220, 220, 220, 29924, 62, 21975, 16, 7473, 43001, 2751, 17926, 1797, 2751, 1976, 66, 87, 62, 397, 499, 18300, 62, 1069, 4516, 11, 198, 220, 220, 220, 220, 220, 29924, 62, 21975, 17, 7473, 43001, 2751, 17926, 1797, 2751, 1976, 66, 87, 62, 397, 499, 18300, 62, 1069, 4516, 11, 198, 220, 220, 220, 220, 220, 29924, 62, 21975, 18, 7473, 43001, 2751, 17926, 1797, 2751, 1976, 66, 87, 62, 397, 499, 18300, 62, 1069, 4516, 11, 198, 220, 220, 220, 220, 220, 29924, 62, 21975, 19, 7473, 43001, 2751, 17926, 1797, 2751, 1976, 66, 87, 62, 397, 499, 18300, 62, 1069, 4516, 11, 198, 220, 220, 220, 220, 220, 29924, 62, 21975, 20, 62, 67, 1747, 7473, 43001, 2751, 17926, 1797, 2751, 1976, 66, 87, 62, 397, 499, 18300, 62, 1069, 4516, 11, 198, 220, 220, 220, 220, 220, 29924, 62, 21975, 21, 62, 67, 1747, 62, 392, 62, 18300, 7473, 43001, 2751, 17926, 1797, 2751, 1976, 66, 87, 62, 397, 499, 18300, 62, 1069, 4516, 11, 198, 220, 220, 220, 220, 220, 29924, 62, 18224, 7473, 43001, 2751, 11, 198, 220, 220, 220, 220, 220, 19016, 62, 12102, 378, 16, 7473, 43001, 2751, 11, 198, 220, 220, 220, 220, 220, 19016, 62, 12102, 378, 17, 7473, 43001, 2751, 11, 198, 220, 220, 220, 220, 220, 19016, 62, 12102, 378, 18, 7473, 43001, 2751, 13, 198, 198, 10619, 31631, 13, 628, 198, 31631, 300, 83, 565, 62, 9288, 30023, 2538, 10979, 6234, 13, 628, 220, 337, 36252, 29924, 62, 18224, 13, 628, 220, 220, 220, 7579, 56, 13, 198, 220, 220, 220, 220, 220, 220, 220, 1976, 565, 62, 397, 499, 18300, 62, 6371, 14804, 4774, 7, 705, 1662, 257, 1103, 19016, 6, 6739, 198, 220, 220, 220, 220, 220, 220, 220, 537, 62, 397, 499, 62, 20850, 62, 30493, 14804, 32165, 7, 6739, 198, 220, 220, 220, 220, 220, 327, 11417, 1976, 66, 87, 62, 397, 499, 18300, 62, 1069, 4516, 13, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 25113, 2943, 8005, 62, 39, 6981, 39878, 198, 220, 220, 220, 23578, 40405, 13, 628, 220, 23578, 49273, 13, 628, 220, 337, 36252, 29924, 62, 4774, 13, 628, 220, 220, 220, 42865, 25, 300, 85, 62, 4774, 41876, 4731, 13, 628, 220, 220, 220, 300, 85, 62, 4774, 796, 1976, 565, 62, 397, 499, 18300, 62, 6371, 14804, 4774, 7, 705, 5450, 1378, 12567, 13, 785, 14, 75, 5406, 79, 14, 37, 78, 30973, 13, 18300, 6, 6739, 628, 220, 220, 220, 537, 62, 397, 499, 62, 20850, 62, 30493, 14804, 30493, 62, 4853, 874, 7, 198, 220, 220, 220, 220, 220, 220, 220, 1033, 796, 705, 5450, 1378, 12567, 13, 785, 6, 198, 220, 220, 220, 220, 220, 220, 220, 719, 796, 300, 85, 62, 4774, 6739, 628, 220, 23578, 49273, 13, 628, 220, 337, 36252, 29924, 62, 3672, 16, 13, 628, 220, 220, 220, 42865, 25, 300, 85, 62, 3672, 41876, 4731, 13, 628, 220, 220, 220, 300, 85, 62, 3672, 796, 1976, 565, 62, 397, 499, 18300, 62, 6371, 14804, 3672, 7, 705, 5450, 1378, 12567, 13, 785, 14, 75, 5406, 79, 14, 37, 78, 30973, 13, 18300, 6, 6739, 628, 220, 220, 220, 537, 62, 397, 499, 62, 20850, 62, 30493, 14804, 30493, 62, 4853, 874, 7, 198, 220, 220, 220, 220, 220, 220, 220, 1033, 796, 705, 37, 78, 30973, 6, 198, 220, 220, 220, 220, 220, 220, 220, 719, 796, 300, 85, 62, 3672, 6739, 628, 220, 23578, 49273, 13, 628, 220, 337, 36252, 29924, 62, 3672, 17, 13, 628, 220, 220, 220, 42865, 25, 300, 85, 62, 3672, 41876, 4731, 13, 628, 220, 220, 220, 300, 85, 62, 3672, 796, 1976, 565, 62, 397, 499, 18300, 62, 6371, 14804, 3672, 7, 705, 5450, 1378, 18300, 13, 7637, 265, 4454, 13, 623, 368, 392, 13, 785, 14, 79, 10163, 2231, 45994, 14, 88, 323, 6, 6739, 628, 220, 220, 220, 537, 62, 397, 499, 62, 20850, 62, 30493, 14804, 30493, 62, 4853, 874, 7, 198, 220, 220, 220, 220, 220, 220, 220, 1033, 796, 705, 88, 323, 6, 198, 220, 220, 220, 220, 220, 220, 220, 719, 796, 300, 85, 62, 3672, 6739, 628, 220, 23578, 49273, 13, 628, 220, 337, 36252, 29924, 62, 3672, 18, 13, 628, 220, 220, 220, 42865, 25, 300, 85, 62, 3672, 41876, 4731, 13, 628, 220, 220, 220, 300, 85, 62, 3672, 796, 1976, 565, 62, 397, 499, 18300, 62, 6371, 14804, 3672, 7, 705, 5450, 1378, 12567, 13, 785, 14, 75, 5406, 79, 14, 37, 78, 30973, 14, 6, 6739, 628, 220, 220, 220, 537, 62, 397, 499, 62, 20850, 62, 30493, 14804, 30493, 62, 4853, 874, 7, 198, 220, 220, 220, 220, 220, 220, 220, 1033, 796, 705, 37, 78, 30973, 6, 198, 220, 220, 220, 220, 220, 220, 220, 719, 796, 300, 85, 62, 3672, 6739, 628, 220, 23578, 49273 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 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_page_addonline DEFINITION PUBLIC INHERITING FROM zcl_abapgit_gui_component FINAL CREATE PRIVATE . PUBLIC SECTION. INTERFACES zif_abapgit_gui_event_handler. INTERFACES zif_abapgit_gui_renderable. CLASS-METHODS create " TODO importing prefilled form data RETURNING VALUE(ri_page) TYPE REF TO zif_abapgit_gui_renderable RAISING zcx_abapgit_exception. METHODS constructor RAISING zcx_abapgit_exception. PROTECTED SECTION. PRIVATE SECTION. CONSTANTS: BEGIN OF c_id, url TYPE string VALUE 'url', package TYPE string VALUE 'package', branch_name TYPE string VALUE 'branch_name', display_name TYPE string VALUE 'display_name', folder_logic TYPE string VALUE 'folder_logic', ignore_subpackages TYPE string VALUE 'ignore_subpackages', master_lang_only TYPE string VALUE 'master_lang_only', END OF c_id. CONSTANTS: BEGIN OF c_event, go_back TYPE string VALUE 'go-back', choose_package TYPE string VALUE 'choose-package', create_package TYPE string VALUE 'create-package', choose_branch TYPE string VALUE 'choose-branch', add_online_repo TYPE string VALUE 'add-repo-online', END OF c_event. DATA mo_validation_log TYPE REF TO zcl_abapgit_string_map. DATA mo_form_data TYPE REF TO zcl_abapgit_string_map. METHODS parse_form IMPORTING it_post_data TYPE cnht_post_data_tab RETURNING VALUE(ro_form_data) TYPE REF TO zcl_abapgit_string_map RAISING zcx_abapgit_exception. METHODS validate_form IMPORTING io_form_data TYPE REF TO zcl_abapgit_string_map RETURNING VALUE(ro_validation_log) TYPE REF TO zcl_abapgit_string_map RAISING zcx_abapgit_exception. ENDCLASS. CLASS ZCL_ABAPGIT_GUI_PAGE_ADDONLINE IMPLEMENTATION. METHOD constructor. super->constructor( ). CREATE OBJECT mo_validation_log. CREATE OBJECT mo_form_data. ENDMETHOD. METHOD create. DATA lo_component TYPE REF TO zcl_abapgit_gui_page_addonline. CREATE OBJECT lo_component. ri_page = zcl_abapgit_gui_page_hoc=>create( iv_page_title = 'Clone online repository' ii_child_component = lo_component ). ENDMETHOD. METHOD parse_form. DATA lt_form TYPE tihttpnvp. DATA ls_field LIKE LINE OF lt_form. lt_form = zcl_abapgit_html_action_utils=>parse_post_data( it_post_data ). CREATE OBJECT ro_form_data. LOOP AT lt_form INTO ls_field. CASE ls_field-name. WHEN c_id-url OR c_id-package OR c_id-branch_name OR c_id-display_name OR c_id-folder_logic. IF ls_field-name = c_id-package. ls_field-value = to_upper( ls_field-value ). ENDIF. ro_form_data->set( iv_key = ls_field-name iv_val = ls_field-value ). WHEN c_id-ignore_subpackages OR c_id-master_lang_only. " Flags ro_form_data->set( iv_key = ls_field-name iv_val = boolc( ls_field-value = 'on' ) ). WHEN OTHERS. zcx_abapgit_exception=>raise( |Unexpected form field [{ ls_field-name }]| ). ENDCASE. ENDLOOP. ENDMETHOD. METHOD validate_form. DATA lx_err TYPE REF TO zcx_abapgit_exception. CREATE OBJECT ro_validation_log. IF io_form_data->get( c_id-url ) IS INITIAL. ro_validation_log->set( iv_key = c_id-url iv_val = 'Url cannot be empty' ). ELSE. TRY. zcl_abapgit_url=>validate( io_form_data->get( c_id-url ) ). CATCH zcx_abapgit_exception INTO lx_err. ro_validation_log->set( iv_key = c_id-url iv_val = lx_err->get_text( ) ). ENDTRY. ENDIF. IF io_form_data->get( c_id-package ) IS INITIAL. ro_validation_log->set( iv_key = c_id-package iv_val = 'Package cannot be empty' ). ELSE. TRY. zcl_abapgit_repo_srv=>get_instance( )->validate_package( iv_package = |{ io_form_data->get( c_id-package ) }| iv_ign_subpkg = |{ io_form_data->get( c_id-ignore_subpackages ) }| ). CATCH zcx_abapgit_exception INTO lx_err. ro_validation_log->set( iv_key = c_id-package iv_val = lx_err->get_text( ) ). ENDTRY. ENDIF. IF io_form_data->get( c_id-folder_logic ) <> zif_abapgit_dot_abapgit=>c_folder_logic-prefix AND io_form_data->get( c_id-folder_logic ) <> zif_abapgit_dot_abapgit=>c_folder_logic-full. ro_validation_log->set( iv_key = c_id-folder_logic iv_val = |Invalid folder logic { io_form_data->get( c_id-folder_logic ) }. Must be { zif_abapgit_dot_abapgit=>c_folder_logic-prefix } or { zif_abapgit_dot_abapgit=>c_folder_logic-full } | ). ENDIF. ENDMETHOD. METHOD zif_abapgit_gui_event_handler~on_event. DATA ls_repo_params TYPE zif_abapgit_services_repo=>ty_repo_params. mo_form_data = parse_form( it_postdata ). " import data from html before re-render CASE iv_action. WHEN c_event-go_back. ev_state = zcl_abapgit_gui=>c_event_state-go_back. WHEN c_event-create_package. mo_form_data->set( iv_key = c_id-package iv_val = zcl_abapgit_services_basis=>create_package( iv_prefill_package = |{ mo_form_data->get( 'package' ) }| ) ). IF mo_form_data->get( c_id-package ) IS NOT INITIAL. mo_validation_log = validate_form( mo_form_data ). ev_state = zcl_abapgit_gui=>c_event_state-re_render. ELSE. ev_state = zcl_abapgit_gui=>c_event_state-no_more_act. ENDIF. WHEN c_event-choose_package. mo_form_data->set( iv_key = c_id-package iv_val = zcl_abapgit_ui_factory=>get_popups( )->popup_search_help( 'TDEVC-DEVCLASS' ) ). IF mo_form_data->get( c_id-package ) IS NOT INITIAL. mo_validation_log = validate_form( mo_form_data ). ev_state = zcl_abapgit_gui=>c_event_state-re_render. ELSE. ev_state = zcl_abapgit_gui=>c_event_state-no_more_act. ENDIF. WHEN c_event-choose_branch. mo_validation_log = validate_form( mo_form_data ). IF mo_validation_log->has( c_id-url ) = abap_true. mo_validation_log->set( iv_key = c_id-branch_name iv_val = 'Check URL issues' ). ev_state = zcl_abapgit_gui=>c_event_state-re_render. " Display errors RETURN. ENDIF. mo_form_data->set( iv_key = c_id-branch_name iv_val = zcl_abapgit_ui_factory=>get_popups( )->branch_list_popup( mo_form_data->get( c_id-url ) )-name ). IF mo_form_data->get( c_id-branch_name ) IS INITIAL. ev_state = zcl_abapgit_gui=>c_event_state-no_more_act. ELSE. mo_form_data->set( iv_key = c_id-branch_name iv_val = replace( " strip technical val = mo_form_data->get( c_id-branch_name ) sub = 'refs/heads/' with = '' ) ). ev_state = zcl_abapgit_gui=>c_event_state-re_render. ENDIF. WHEN c_event-add_online_repo. mo_validation_log = validate_form( mo_form_data ). IF mo_validation_log->is_empty( ) = abap_true. mo_form_data->to_abap( CHANGING cs_container = ls_repo_params ). zcl_abapgit_services_repo=>new_online( ls_repo_params ). ev_state = zcl_abapgit_gui=>c_event_state-go_back. ELSE. ev_state = zcl_abapgit_gui=>c_event_state-re_render. " Display errors ENDIF. ENDCASE. ENDMETHOD. METHOD zif_abapgit_gui_renderable~render. DATA lo_form TYPE REF TO zcl_abapgit_html_form. gui_services( )->register_event_handler( me ). ri_html = zcl_abapgit_html=>create( ). lo_form = zcl_abapgit_html_form=>create( iv_form_id = 'add-repo-online-form' ). lo_form->text( iv_name = c_id-url iv_required = abap_true iv_label = 'Git repository URL' iv_hint = 'HTTPS address of the repository to clone' iv_placeholder = 'https://github.com/...git' ). lo_form->text( iv_name = c_id-package iv_side_action = c_event-choose_package iv_required = abap_true iv_label = 'Package' iv_hint = 'SAP package for the code (should be a dedicated one)' iv_placeholder = 'Z... / $...' ). lo_form->text( iv_name = c_id-branch_name iv_side_action = c_event-choose_branch iv_label = 'Branch' iv_hint = 'Switch to a specific branch on clone (default: master)' iv_placeholder = 'master' ). lo_form->radio( iv_name = c_id-folder_logic iv_default_value = zif_abapgit_dot_abapgit=>c_folder_logic-prefix iv_label = 'Folder logic' iv_hint = 'Define how package folders are named in the repo (see https://docs.abapgit.org)' ). lo_form->option( iv_label = 'Prefix' iv_value = zif_abapgit_dot_abapgit=>c_folder_logic-prefix ). lo_form->option( iv_label = 'Full' iv_value = zif_abapgit_dot_abapgit=>c_folder_logic-full ). lo_form->text( iv_name = c_id-display_name iv_label = 'Display name' iv_hint = 'Name to show instead of original repo name (optional)' ). lo_form->checkbox( iv_name = c_id-ignore_subpackages iv_label = 'Ignore subpackages' iv_hint = 'Syncronize root package only (see https://docs.abapgit.org)' ). lo_form->checkbox( iv_name = c_id-master_lang_only iv_label = 'Serialize master language only' iv_hint = 'Ignore translations, serialize just master language' ). lo_form->command( iv_label = 'Clone online repo' iv_is_main = abap_true iv_action = c_event-add_online_repo ). lo_form->command( iv_label = 'Create package' iv_action = c_event-create_package ). lo_form->command( iv_label = 'Back' iv_action = c_event-go_back ). ri_html->add( lo_form->render( iv_form_class = 'dialog w600px m-em5-sides margin-v1' " to center add wmax600px and auto-center instead io_values = mo_form_data io_validation_log = mo_validation_log ) ). ENDMETHOD. ENDCLASS.
[ 31631, 1976, 565, 62, 397, 499, 18300, 62, 48317, 62, 7700, 62, 2860, 25119, 5550, 20032, 17941, 198, 220, 44731, 198, 220, 3268, 16879, 2043, 2751, 16034, 1976, 565, 62, 397, 499, 18300, 62, 48317, 62, 42895, 198, 220, 25261, 198, 220, 29244, 6158, 4810, 3824, 6158, 764, 628, 220, 44731, 44513, 13, 198, 220, 220, 220, 23255, 37, 2246, 1546, 1976, 361, 62, 397, 499, 18300, 62, 48317, 62, 15596, 62, 30281, 13, 198, 220, 220, 220, 23255, 37, 2246, 1546, 1976, 361, 62, 397, 499, 18300, 62, 48317, 62, 13287, 540, 13, 628, 220, 220, 220, 42715, 12, 49273, 50, 2251, 198, 220, 220, 220, 220, 220, 366, 16926, 46, 33332, 7694, 2967, 1296, 1366, 198, 220, 220, 220, 220, 220, 30826, 4261, 15871, 198, 220, 220, 220, 220, 220, 220, 220, 26173, 8924, 7, 380, 62, 7700, 8, 41876, 4526, 37, 5390, 1976, 361, 62, 397, 499, 18300, 62, 48317, 62, 13287, 540, 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, 628, 220, 220, 220, 337, 36252, 50, 23772, 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, 628, 220, 48006, 9782, 1961, 44513, 13, 198, 220, 4810, 3824, 6158, 44513, 13, 628, 220, 220, 220, 7102, 2257, 1565, 4694, 25, 198, 220, 220, 220, 220, 220, 347, 43312, 3963, 269, 62, 312, 11, 198, 220, 220, 220, 220, 220, 220, 220, 19016, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 41876, 4731, 26173, 8924, 705, 6371, 3256, 198, 220, 220, 220, 220, 220, 220, 220, 5301, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 41876, 4731, 26173, 8924, 705, 26495, 3256, 198, 220, 220, 220, 220, 220, 220, 220, 8478, 62, 3672, 220, 220, 220, 220, 220, 220, 220, 41876, 4731, 26173, 8924, 705, 1671, 3702, 62, 3672, 3256, 198, 220, 220, 220, 220, 220, 220, 220, 3359, 62, 3672, 220, 220, 220, 220, 220, 220, 41876, 4731, 26173, 8924, 705, 13812, 62, 3672, 3256, 198, 220, 220, 220, 220, 220, 220, 220, 9483, 62, 6404, 291, 220, 220, 220, 220, 220, 220, 41876, 4731, 26173, 8924, 705, 43551, 62, 6404, 291, 3256, 198, 220, 220, 220, 220, 220, 220, 220, 8856, 62, 7266, 43789, 41876, 4731, 26173, 8924, 705, 46430, 62, 7266, 43789, 3256, 198, 220, 220, 220, 220, 220, 220, 220, 4958, 62, 17204, 62, 8807, 220, 220, 41876, 4731, 26173, 8924, 705, 9866, 62, 17204, 62, 8807, 3256, 198, 220, 220, 220, 220, 220, 23578, 3963, 269, 62, 312, 13, 628, 220, 220, 220, 7102, 2257, 1565, 4694, 25, 198, 220, 220, 220, 220, 220, 347, 43312, 3963, 269, 62, 15596, 11, 198, 220, 220, 220, 220, 220, 220, 220, 467, 62, 1891, 220, 220, 220, 220, 220, 220, 220, 220, 41876, 4731, 26173, 8924, 705, 2188, 12, 1891, 3256, 198, 220, 220, 220, 220, 220, 220, 220, 3853, 62, 26495, 220, 41876, 4731, 26173, 8924, 705, 6679, 577, 12, 26495, 3256, 198, 220, 220, 220, 220, 220, 220, 220, 2251, 62, 26495, 220, 41876, 4731, 26173, 8924, 705, 17953, 12, 26495, 3256, 198, 220, 220, 220, 220, 220, 220, 220, 3853, 62, 1671, 3702, 220, 220, 41876, 4731, 26173, 8924, 705, 6679, 577, 12, 1671, 3702, 3256, 198, 220, 220, 220, 220, 220, 220, 220, 751, 62, 25119, 62, 260, 7501, 41876, 4731, 26173, 8924, 705, 2860, 12, 260, 7501, 12, 25119, 3256, 198, 220, 220, 220, 220, 220, 23578, 3963, 269, 62, 15596, 13, 628, 220, 220, 220, 42865, 6941, 62, 12102, 341, 62, 6404, 41876, 4526, 37, 5390, 1976, 565, 62, 397, 499, 18300, 62, 8841, 62, 8899, 13, 198, 220, 220, 220, 42865, 6941, 62, 687, 62, 7890, 41876, 4526, 37, 5390, 1976, 565, 62, 397, 499, 18300, 62, 8841, 62, 8899, 13, 628, 220, 220, 220, 337, 36252, 50, 21136, 62, 687, 198, 220, 220, 220, 220, 220, 30023, 9863, 2751, 198, 220, 220, 220, 220, 220, 220, 220, 340, 62, 7353, 62, 7890, 41876, 269, 77, 4352, 62, 7353, 62, 7890, 62, 8658, 198, 220, 220, 220, 220, 220, 30826, 4261, 15871, 198, 220, 220, 220, 220, 220, 220, 220, 26173, 8924, 7, 305, 62, 687, 62, 7890, 8, 41876, 4526, 37, 5390, 1976, 565, 62, 397, 499, 18300, 62, 8841, 62, 8899, 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, 628, 220, 220, 220, 337, 36252, 50, 26571, 62, 687, 198, 220, 220, 220, 220, 220, 30023, 9863, 2751, 198, 220, 220, 220, 220, 220, 220, 220, 33245, 62, 687, 62, 7890, 41876, 4526, 37, 5390, 1976, 565, 62, 397, 499, 18300, 62, 8841, 62, 8899, 198, 220, 220, 220, 220, 220, 30826, 4261, 15871, 198, 220, 220, 220, 220, 220, 220, 220, 26173, 8924, 7, 305, 62, 12102, 341, 62, 6404, 8, 41876, 4526, 37, 5390, 1976, 565, 62, 397, 499, 18300, 62, 8841, 62, 8899, 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, 198, 10619, 31631, 13, 628, 198, 198, 31631, 1168, 5097, 62, 6242, 2969, 38, 2043, 62, 40156, 62, 4537, 8264, 62, 29266, 1340, 24027, 30023, 2538, 10979, 6234, 13, 628, 198, 220, 337, 36252, 23772, 13, 198, 220, 220, 220, 2208, 3784, 41571, 273, 7, 6739, 198, 220, 220, 220, 29244, 6158, 25334, 23680, 6941, 62, 12102, 341, 62, 6404, 13, 198, 220, 220, 220, 29244, 6158, 25334, 23680, 6941, 62, 687, 62, 7890, 13, 198, 220, 23578, 49273, 13, 628, 198, 220, 337, 36252, 2251, 13, 628, 220, 220, 220, 42865, 2376, 62, 42895, 41876, 4526, 37, 5390, 1976, 565, 62, 397, 499, 18300, 62, 48317, 62, 7700, 62, 2860, 25119, 13, 628, 220, 220, 220, 29244, 6158, 25334, 23680, 2376, 62, 42895, 13, 628, 220, 220, 220, 374, 72, 62, 7700, 796, 1976 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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 ]
*&---------------------------------------------------------------------* *& Report zp_dp_servant_sd_sip *&---------------------------------------------------------------------* *& *&---------------------------------------------------------------------* REPORT zp_dp_servant_sd_sip. DATA obj TYPE REF TO object. PARAMETERS: p_clsnm TYPE seoclsname. START-OF-SELECTION. TRY. CREATE OBJECT obj TYPE (p_clsnm). DATA(merkez) = NEW zcl_dp_Servant_merkez( ). merkez->guvenli_kayit_at( EXPORTING gelen_json = 'DUMMY' uygulayan = CAST #( obj ) IMPORTING donen_json = DATA(donen_json) ). NEW-LINE. WRITE donen_json. CATCH cx_root INTO DATA(genel_Hata). DATA(Hata_metni) = genel_Hata->get_text( ). NEW-LINE. WRITE hata_metni. ENDTRY.
[ 9, 5, 10097, 30934, 9, 198, 9, 5, 6358, 1976, 79, 62, 26059, 62, 3168, 415, 62, 21282, 62, 82, 541, 198, 9, 5, 10097, 30934, 9, 198, 9, 5, 198, 9, 5, 10097, 30934, 9, 198, 2200, 15490, 1976, 79, 62, 26059, 62, 3168, 415, 62, 21282, 62, 82, 541, 13, 198, 198, 26947, 26181, 41876, 4526, 37, 5390, 2134, 13, 198, 198, 27082, 2390, 2767, 4877, 25, 279, 62, 565, 16184, 76, 41876, 384, 420, 7278, 3672, 13, 198, 198, 2257, 7227, 12, 19238, 12, 46506, 2849, 13, 198, 220, 7579, 56, 13, 198, 220, 220, 220, 220, 220, 29244, 6158, 25334, 23680, 26181, 41876, 357, 79, 62, 565, 16184, 76, 737, 198, 220, 220, 220, 220, 220, 42865, 7, 647, 365, 89, 8, 796, 12682, 1976, 565, 62, 26059, 62, 11838, 415, 62, 647, 365, 89, 7, 6739, 628, 220, 220, 220, 220, 220, 4017, 365, 89, 3784, 5162, 574, 4528, 62, 5568, 270, 62, 265, 7, 198, 220, 220, 220, 220, 220, 220, 220, 7788, 15490, 2751, 20383, 268, 62, 17752, 796, 705, 35, 5883, 26708, 6, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 334, 35641, 377, 22931, 220, 796, 327, 11262, 1303, 7, 26181, 1267, 198, 220, 220, 220, 220, 220, 220, 220, 30023, 9863, 2751, 836, 268, 62, 17752, 796, 42865, 7, 9099, 268, 62, 17752, 8, 6739, 628, 220, 220, 220, 220, 220, 12682, 12, 24027, 13, 198, 220, 220, 220, 220, 220, 44423, 836, 268, 62, 17752, 13, 628, 220, 220, 220, 327, 11417, 43213, 62, 15763, 39319, 42865, 7, 5235, 417, 62, 39, 1045, 737, 198, 220, 220, 220, 220, 220, 42865, 7, 39, 1045, 62, 4164, 8461, 8, 796, 2429, 417, 62, 39, 1045, 3784, 1136, 62, 5239, 7, 6739, 198, 220, 220, 220, 220, 220, 12682, 12, 24027, 13, 198, 220, 220, 220, 220, 220, 44423, 289, 1045, 62, 4164, 8461, 13, 198, 220, 23578, 40405, 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, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
interface ZIF_IO_BACKEND_WRITER public . interfaces ZIF_IO_CLOSE_RESOURCE . interfaces ZIF_IO_FILE_WRITER . interfaces ZIF_IO_WRITER . endinterface.
[ 39994, 1168, 5064, 62, 9399, 62, 31098, 10619, 62, 18564, 2043, 1137, 198, 220, 1171, 764, 628, 198, 220, 20314, 1168, 5064, 62, 9399, 62, 32737, 62, 19535, 31033, 764, 198, 220, 20314, 1168, 5064, 62, 9399, 62, 25664, 62, 18564, 2043, 1137, 764, 198, 220, 20314, 1168, 5064, 62, 9399, 62, 18564, 2043, 1137, 764, 198, 437, 39994, 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 ]
"! <p class="shorttext synchronized" lang="en">HTML element</p> CLASS zcl_html5_element_html DEFINITION INHERITING FROM zcl_html5_element_normal PUBLIC FINAL CREATE PUBLIC . PUBLIC SECTION. INTERFACES zif_html5_content_flow. METHODS constructor IMPORTING parent TYPE REF TO zcl_html5_node. METHODS add_body RETURNING VALUE(body) TYPE REF TO zcl_html5_element_body. PROTECTED SECTION. PRIVATE SECTION. ENDCLASS. CLASS zcl_html5_element_html IMPLEMENTATION. METHOD constructor. super->constructor( parent = parent tag = 'html' ) ##NO_TEXT. ENDMETHOD. METHOD add_body. body = NEW #( parent = me ). * APPEND body TO content_nodes. ENDMETHOD. ENDCLASS.
[ 40484, 1279, 79, 1398, 2625, 19509, 5239, 47192, 1, 42392, 2625, 268, 5320, 28656, 5002, 3556, 79, 29, 198, 31631, 1976, 565, 62, 6494, 20, 62, 30854, 62, 6494, 5550, 20032, 17941, 198, 220, 3268, 16879, 2043, 2751, 16034, 1976, 565, 62, 6494, 20, 62, 30854, 62, 11265, 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, 6494, 20, 62, 11299, 62, 11125, 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, 2560, 41876, 4526, 37, 5390, 1976, 565, 62, 6494, 20, 62, 17440, 13, 628, 220, 220, 220, 337, 36252, 50, 751, 62, 2618, 198, 220, 220, 220, 220, 220, 30826, 4261, 15871, 198, 220, 220, 220, 220, 220, 220, 220, 26173, 8924, 7, 2618, 8, 41876, 4526, 37, 5390, 1976, 565, 62, 6494, 20, 62, 30854, 62, 2618, 13, 628, 220, 48006, 9782, 1961, 44513, 13, 198, 220, 4810, 3824, 6158, 44513, 13, 198, 198, 10619, 31631, 13, 628, 198, 198, 31631, 1976, 565, 62, 6494, 20, 62, 30854, 62, 6494, 30023, 2538, 10979, 6234, 13, 628, 198, 220, 337, 36252, 23772, 13, 628, 220, 220, 220, 2208, 3784, 41571, 273, 7, 2560, 796, 2560, 7621, 796, 705, 6494, 6, 1267, 22492, 15285, 62, 32541, 13, 628, 220, 23578, 49273, 13, 628, 198, 220, 337, 36252, 751, 62, 2618, 13, 628, 220, 220, 220, 1767, 796, 12682, 1303, 7, 2560, 796, 502, 6739, 198, 9, 220, 220, 220, 43504, 10619, 1767, 5390, 2695, 62, 77, 4147, 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, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
*&---------------------------------------------------------------------* *& Include ZALGOR_FIND_FAULTY_MACHINE_UT *&---------------------------------------------------------------------* CLASS lcl_ut DEFINITION FOR TESTING DURATION SHORT RISK LEVEL HARMLESS. PRIVATE SECTION. METHODS: setup, ut_01 FOR TESTING. CLASS-DATA: obj_machines TYPE REF TO lcl_machines, missing_idx TYPE i. ENDCLASS. CLASS lcl_ut IMPLEMENTATION. METHOD setup. DATA: lv_timestp TYPE timestamp. * use timestamp to randomly miss one machine GET TIME STAMP FIELD lv_timestp. missing_idx = substring( val = |{ lv_timestp }| off = 12 len = 2 ). obj_machines = NEW lcl_machines( ). DO 100 TIMES. lcl_ut=>obj_machines->add_machine( ). ENDDO. obj_machines->get_machines( IMPORTING et_machines = DATA(lt_machines) ). *-- Deliberately miss one machine here DELETE lt_machines INDEX missing_idx. LOOP AT lt_machines ASSIGNING FIELD-SYMBOL(<lo_machine>). lcl_ut=>obj_machines->add_machine( <lo_machine>->get_guid( ) ). ENDLOOP. ENDMETHOD. METHOD ut_01. cl_abap_unit_assert=>assert_equals( EXPORTING act = lcl_ut=>obj_machines->check_machines( ) " Data object with current value exp = lcl_ut=>obj_machines->get_machine( missing_idx )->get_guid( ) " Data object with expected type ). ENDMETHOD. ENDCLASS.
[ 9, 5, 10097, 30934, 9, 198, 9, 5, 40348, 220, 220, 220, 220, 220, 220, 220, 220, 220, 1168, 1847, 38, 1581, 62, 37, 12115, 62, 7708, 6239, 9936, 62, 44, 16219, 8881, 62, 3843, 198, 9, 5, 10097, 30934, 9, 198, 198, 31631, 300, 565, 62, 315, 5550, 20032, 17941, 198, 220, 7473, 43001, 2751, 198, 220, 360, 4261, 6234, 6006, 9863, 198, 220, 45698, 42, 49277, 43638, 5805, 7597, 13, 628, 220, 4810, 3824, 6158, 44513, 13, 198, 220, 220, 220, 337, 36252, 50, 25, 198, 220, 220, 220, 220, 220, 9058, 11, 198, 220, 220, 220, 220, 220, 3384, 62, 486, 7473, 43001, 2751, 13, 198, 220, 220, 220, 42715, 12, 26947, 25, 198, 220, 220, 220, 220, 220, 26181, 62, 76, 620, 1127, 41876, 4526, 37, 5390, 300, 565, 62, 76, 620, 1127, 11, 198, 220, 220, 220, 220, 220, 4814, 62, 312, 87, 220, 41876, 1312, 13, 198, 198, 10619, 31631, 13, 198, 198, 31631, 300, 565, 62, 315, 30023, 2538, 10979, 6234, 13, 198, 220, 337, 36252, 9058, 13, 198, 220, 220, 220, 42865, 25, 198, 220, 220, 220, 220, 220, 300, 85, 62, 16514, 395, 79, 220, 220, 220, 220, 41876, 41033, 13, 198, 198, 9, 779, 41033, 284, 15456, 2051, 530, 4572, 198, 220, 220, 220, 17151, 20460, 3563, 23518, 18930, 24639, 300, 85, 62, 16514, 395, 79, 13, 198, 220, 220, 220, 4814, 62, 312, 87, 796, 3293, 1806, 7, 1188, 796, 930, 90, 300, 85, 62, 16514, 395, 79, 1782, 91, 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, 572, 796, 1105, 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, 18896, 796, 362, 6739, 628, 220, 220, 220, 26181, 62, 76, 620, 1127, 796, 12682, 300, 565, 62, 76, 620, 1127, 7, 6739, 628, 220, 220, 220, 8410, 1802, 31742, 1546, 13, 198, 220, 220, 220, 220, 220, 300, 565, 62, 315, 14804, 26801, 62, 76, 620, 1127, 3784, 2860, 62, 30243, 7, 6739, 198, 220, 220, 220, 23578, 18227, 13, 628, 220, 220, 220, 26181, 62, 76, 620, 1127, 3784, 1136, 62, 76, 620, 1127, 7, 198, 220, 220, 220, 220, 220, 30023, 9863, 2751, 198, 220, 220, 220, 220, 220, 220, 220, 2123, 62, 76, 620, 1127, 796, 42865, 7, 2528, 62, 76, 620, 1127, 8, 198, 220, 220, 220, 6739, 198, 198, 9, 438, 4216, 1856, 1286, 2051, 530, 4572, 994, 198, 220, 220, 220, 5550, 2538, 9328, 300, 83, 62, 76, 620, 1127, 24413, 6369, 4814, 62, 312, 87, 13, 628, 220, 220, 220, 17579, 3185, 5161, 300, 83, 62, 76, 620, 1127, 24994, 3528, 15871, 18930, 24639, 12, 23060, 10744, 3535, 7, 27, 5439, 62, 30243, 29, 737, 198, 220, 220, 220, 220, 220, 300, 565, 62, 315, 14804, 26801, 62, 76, 620, 1127, 3784, 2860, 62, 30243, 7, 1279, 5439, 62, 30243, 29, 3784, 1136, 62, 5162, 312, 7, 1267, 6739, 198, 220, 220, 220, 23578, 21982, 3185, 13, 198, 220, 23578, 49273, 13, 628, 220, 337, 36252, 3384, 62, 486, 13, 198, 220, 220, 220, 537, 62, 397, 499, 62, 20850, 62, 30493, 14804, 30493, 62, 4853, 874, 7, 198, 220, 220, 220, 220, 220, 7788, 15490, 2751, 198, 220, 220, 220, 220, 220, 220, 220, 719, 796, 300, 565, 62, 315, 14804, 26801, 62, 76, 620, 1127, 3784, 9122, 62, 76, 620, 1127, 7, 1267, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 366, 6060, 2134, 351, 1459, 1988, 198, 220, 220, 220, 220, 220, 220, 220, 1033, 796, 300, 565, 62, 315, 14804, 26801, 62, 76, 620, 1127, 3784, 1136, 62, 30243, 7, 4814, 62, 312, 87, 1267, 3784, 1136, 62, 5162, 312, 7, 1267, 366, 6060, 2134, 351, 2938, 2099, 198, 220, 220, 220, 6739, 198, 220, 23578, 49273, 13, 198, 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, 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 ]
CLASS zcl_abapgit_object_xinx DEFINITION PUBLIC INHERITING FROM zcl_abapgit_objects_super FINAL. PUBLIC SECTION. INTERFACES zif_abapgit_object. ALIASES mo_files FOR zif_abapgit_object~mo_files. METHODS: constructor IMPORTING is_item TYPE zif_abapgit_definitions=>ty_item iv_language TYPE spras. PRIVATE SECTION. TYPES: BEGIN OF ty_extension_index, dd12v TYPE dd12v, t_dd17v TYPE STANDARD TABLE OF dd17v WITH NON-UNIQUE DEFAULT KEY, END OF ty_extension_index. DATA: mv_name TYPE ddobjname, mv_id TYPE ddobjectid. ENDCLASS. CLASS zcl_abapgit_object_xinx IMPLEMENTATION. METHOD constructor. super->constructor( is_item = is_item iv_language = iv_language ). cl_wb_object_type=>get_key_components_from_id( EXPORTING p_key = |{ ms_item-obj_name }| p_external_id = swbm_c_type_ddic_db_tabxinx IMPORTING p_key_component1 = mv_name p_key_component2 = mv_id EXCEPTIONS too_many_key_components = 1 objecttype_not_existing = 2 OTHERS = 3 ). ASSERT sy-subrc = 0. ENDMETHOD. METHOD zif_abapgit_object~changed_by. rv_user = c_user_unknown. " todo 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. " RS_DD_INDX_DELETE calls the GUI. Someday we need a better solution CALL FUNCTION 'RS_DD_INDX_DELETE' EXPORTING objname = mv_name indexname = mv_id extension = abap_true EXCEPTIONS object_not_found = 1 object_not_specified = 2 permission_failure = 3 action_cancelled = 4 OTHERS = 5. IF sy-subrc <> 0. zcx_abapgit_exception=>raise( |Error from RS_DD_INDX_DELETE { sy-subrc }| ). ENDIF. ENDMETHOD. METHOD zif_abapgit_object~deserialize. DATA: ls_extension_index TYPE ty_extension_index, rc TYPE sy-subrc. io_xml->read( EXPORTING iv_name = 'XINX' CHANGING cg_data = ls_extension_index ). tadir_insert( iv_package ). CALL FUNCTION 'DDIF_INDX_PUT' EXPORTING name = mv_name id = mv_id dd12v_wa = ls_extension_index-dd12v TABLES dd17v_tab = ls_extension_index-t_dd17v EXCEPTIONS indx_not_found = 1 name_inconsistent = 2 indx_inconsistent = 3 put_failure = 4 put_refused = 5 OTHERS = 6. IF sy-subrc <> 0. zcx_abapgit_exception=>raise( |Error from DDIF_INDX_PUT { sy-subrc }| ). ENDIF. CALL FUNCTION 'DDIF_INDX_ACTIVATE' EXPORTING name = mv_name id = mv_id IMPORTING rc = rc EXCEPTIONS not_found = 1 put_failure = 2 OTHERS = 3. IF sy-subrc <> 0. zcx_abapgit_exception=>raise( |Error from DDIF_INDX_ACTIVATE { sy-subrc }| ). ENDIF. IF rc <> 0. zcx_abapgit_exception=>raise( |Cannot activate extension index { mv_id } of table { mv_name }| ). ENDIF. ENDMETHOD. METHOD zif_abapgit_object~exists. DATA: lv_dd12v TYPE dd12v. CALL FUNCTION 'DDIF_INDX_GET' EXPORTING name = mv_name id = mv_id IMPORTING dd12v_wa = lv_dd12v EXCEPTIONS illegal_input = 1 OTHERS = 2. rv_bool = boolc( lv_dd12v IS NOT INITIAL ). ENDMETHOD. METHOD zif_abapgit_object~get_metadata. rs_metadata = get_metadata( ). ENDMETHOD. METHOD zif_abapgit_object~has_changed_since. rv_changed = abap_true. ENDMETHOD. METHOD zif_abapgit_object~jump. CALL FUNCTION 'RS_TOOL_ACCESS' EXPORTING operation = 'SHOW' object_name = ms_item-obj_name object_type = ms_item-obj_type in_new_window = abap_true EXCEPTIONS not_executed = 1 invalid_object_type = 2 OTHERS = 3. IF sy-subrc <> 0. zcx_abapgit_exception=>raise( |Error from RS_TOOL_ACCESS { sy-subrc }| ). ENDIF. ENDMETHOD. METHOD zif_abapgit_object~serialize. DATA: ls_extension_index TYPE ty_extension_index. CALL FUNCTION 'DDIF_INDX_GET' EXPORTING name = mv_name id = mv_id langu = sy-langu IMPORTING dd12v_wa = ls_extension_index-dd12v TABLES dd17v_tab = ls_extension_index-t_dd17v EXCEPTIONS illegal_input = 1 OTHERS = 2. IF sy-subrc <> 0. zcx_abapgit_exception=>raise( |Error from DDIF_INDX_GET { sy-subrc }| ). ENDIF. CLEAR: ls_extension_index-dd12v-as4user, ls_extension_index-dd12v-as4date, ls_extension_index-dd12v-as4time. io_xml->add( iv_name = 'XINX' ig_data = ls_extension_index ). ENDMETHOD. METHOD zif_abapgit_object~is_locked. rv_is_locked = abap_false. ENDMETHOD. METHOD zif_abapgit_object~is_active. rv_active = is_active( ). ENDMETHOD. ENDCLASS.
[ 31631, 1976, 565, 62, 397, 499, 18300, 62, 15252, 62, 87, 28413, 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, 337, 36252, 50, 25, 198, 220, 220, 220, 220, 220, 23772, 198, 220, 220, 220, 220, 220, 220, 220, 30023, 9863, 2751, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 318, 62, 9186, 220, 220, 220, 220, 41876, 1976, 361, 62, 397, 499, 18300, 62, 4299, 50101, 14804, 774, 62, 9186, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 21628, 62, 16129, 41876, 7500, 292, 13, 628, 220, 4810, 3824, 6158, 44513, 13, 198, 220, 220, 220, 24412, 47, 1546, 25, 347, 43312, 3963, 1259, 62, 2302, 3004, 62, 9630, 11, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 49427, 1065, 85, 220, 220, 41876, 49427, 1065, 85, 11, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 256, 62, 1860, 1558, 85, 41876, 49053, 9795, 43679, 3963, 49427, 1558, 85, 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, 13315, 44521, 12, 4944, 33866, 8924, 5550, 38865, 35374, 11, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 23578, 3963, 1259, 62, 2302, 3004, 62, 9630, 13, 198, 220, 220, 220, 42865, 25, 198, 220, 220, 220, 220, 220, 285, 85, 62, 3672, 41876, 49427, 26801, 3672, 11, 198, 220, 220, 220, 220, 220, 285, 85, 62, 312, 220, 220, 41876, 49427, 15252, 312, 13, 198, 198, 10619, 31631, 13, 628, 198, 198, 31631, 1976, 565, 62, 397, 499, 18300, 62, 15252, 62, 87, 28413, 30023, 2538, 10979, 6234, 13, 628, 198, 220, 337, 36252, 23772, 13, 628, 220, 220, 220, 2208, 3784, 41571, 273, 7, 318, 62, 9186, 220, 220, 220, 220, 796, 318, 62, 9186, 198, 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, 16129, 796, 21628, 62, 16129, 6739, 628, 220, 220, 220, 537, 62, 39346, 62, 15252, 62, 4906, 14804, 1136, 62, 2539, 62, 5589, 3906, 62, 6738, 62, 312, 7, 198, 220, 220, 220, 220, 220, 7788, 15490, 2751, 198, 220, 220, 220, 220, 220, 220, 220, 279, 62, 2539, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 796, 930, 90, 13845, 62, 9186, 12, 26801, 62, 3672, 1782, 91, 198, 220, 220, 220, 220, 220, 220, 220, 279, 62, 22615, 62, 312, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 796, 1509, 20475, 62, 66, 62, 4906, 62, 1860, 291, 62, 9945, 62, 8658, 87, 28413, 198, 220, 220, 220, 220, 220, 30023, 9863, 2751, 198, 220, 220, 220, 220, 220, 220, 220, 279, 62, 2539, 62, 42895, 16, 220, 220, 220, 220, 220, 220, 220, 796, 285, 85, 62, 3672, 198, 220, 220, 220, 220, 220, 220, 220, 279, 62, 2539, 62, 42895, 17, 220, 220, 220, 220, 220, 220, 220, 796, 285, 85, 62, 312, 198, 220, 220, 220, 220, 220, 7788, 42006, 11053, 198, 220, 220, 220, 220, 220, 220, 220, 1165, 62, 21834, 62, 2539, 62, 5589, 3906, 796, 352, 198, 220, 220, 220, 220, 220, 220, 220, 2134, 4906, 62, 1662, 62, 25687, 796, 362, 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, 220, 220, 796, 513, 6739, 628, 220, 220, 220, 24994, 17395, 827, 12, 7266, 6015, 796, 657, 13, 628, 220, 23578, 49273, 13, 628, 198, 220, 337, 36252, 1976, 361, 62, 397, 499, 18300, 62, 15252, 93, 40985, 62, 1525, 13, 198, 220, 220, 220, 374, 85, 62, 7220, 796, 269, 62, 7220, 62, 34680, 13, 366, 284, 4598, 198, 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, 366, 19340, 62, 16458, 62, 12115, 55, 62, 7206, 2538, 9328, 3848, 262, 25757, 13, 9995, 23712, 356, 761, 257, 1365, 4610, 628, 220, 220, 220, 42815, 29397, 4177, 2849, 705, 6998, 62, 16458, 62, 12115, 55, 62, 7206, 2538, 9328, 6, 198, 220, 220, 220, 220, 220, 7788, 15490, 2751, 198, 220, 220, 220, 220, 220, 220, 220, 26181, 3672, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 796, 285, 85, 62, 3672, 198, 220, 220, 220, 220, 220, 220, 220, 6376, 3672, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 796, 285, 85, 62, 312, 198, 220, 220, 220, 220, 220, 220, 220, 7552, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 796, 450, 499, 62, 7942, 198, 220, 220, 220, 220, 220, 7788, 42006, 11053, 198, 220, 220, 220, 220, 220, 220, 220, 2134, 62, 1662, 62, 9275, 220, 220, 220, 220, 796, 352, 198, 220, 220, 220, 220, 220, 220, 220, 2134, 62, 1662, 62, 23599, 796, 362, 198, 220, 220, 220, 220, 220, 220, 220, 7170, 62, 32165, 495, 220, 220, 796, 513, 198, 220, 220, 220, 220, 220, 220, 220, 2223, 62, 66, 590, 3353, 220, 220, 220, 220, 796, 604, 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, 796, 642, 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, 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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 ]
CLASS zcl_abapgit_data_factory DEFINITION PUBLIC CREATE PUBLIC GLOBAL FRIENDS zcl_abapgit_data_injector . PUBLIC SECTION. CLASS-METHODS get_serializer RETURNING VALUE(ri_serializer) TYPE REF TO zif_abapgit_data_serializer . CLASS-METHODS get_deserializer RETURNING VALUE(ri_deserializer) TYPE REF TO zif_abapgit_data_deserializer . PROTECTED SECTION. PRIVATE SECTION. CLASS-DATA gi_serializer TYPE REF TO zif_abapgit_data_serializer . CLASS-DATA gi_deserializer TYPE REF TO zif_abapgit_data_deserializer . ENDCLASS. CLASS ZCL_ABAPGIT_DATA_FACTORY IMPLEMENTATION. METHOD get_deserializer. IF gi_deserializer IS INITIAL. CREATE OBJECT gi_deserializer TYPE zcl_abapgit_data_deserializer. ENDIF. ri_deserializer = gi_deserializer. ENDMETHOD. METHOD get_serializer. IF gi_serializer IS INITIAL. CREATE OBJECT gi_serializer TYPE zcl_abapgit_data_serializer. ENDIF. ri_serializer = gi_serializer. ENDMETHOD. ENDCLASS.
[ 31631, 1976, 565, 62, 397, 499, 18300, 62, 7890, 62, 69, 9548, 5550, 20032, 17941, 198, 220, 44731, 198, 220, 29244, 6158, 44731, 198, 220, 10188, 9864, 1847, 48167, 1677, 5258, 1976, 565, 62, 397, 499, 18300, 62, 7890, 62, 259, 752, 273, 764, 628, 220, 44731, 44513, 13, 628, 220, 220, 220, 42715, 12, 49273, 50, 651, 62, 46911, 7509, 198, 220, 220, 220, 220, 220, 30826, 4261, 15871, 198, 220, 220, 220, 220, 220, 220, 220, 26173, 8924, 7, 380, 62, 46911, 7509, 8, 41876, 4526, 37, 5390, 1976, 361, 62, 397, 499, 18300, 62, 7890, 62, 46911, 7509, 764, 198, 220, 220, 220, 42715, 12, 49273, 50, 651, 62, 8906, 48499, 7509, 198, 220, 220, 220, 220, 220, 30826, 4261, 15871, 198, 220, 220, 220, 220, 220, 220, 220, 26173, 8924, 7, 380, 62, 8906, 48499, 7509, 8, 41876, 4526, 37, 5390, 1976, 361, 62, 397, 499, 18300, 62, 7890, 62, 8906, 48499, 7509, 764, 198, 220, 48006, 9782, 1961, 44513, 13, 198, 220, 4810, 3824, 6158, 44513, 13, 628, 220, 220, 220, 42715, 12, 26947, 308, 72, 62, 46911, 7509, 41876, 4526, 37, 5390, 1976, 361, 62, 397, 499, 18300, 62, 7890, 62, 46911, 7509, 764, 198, 220, 220, 220, 42715, 12, 26947, 308, 72, 62, 8906, 48499, 7509, 41876, 4526, 37, 5390, 1976, 361, 62, 397, 499, 18300, 62, 7890, 62, 8906, 48499, 7509, 764, 198, 10619, 31631, 13, 628, 198, 198, 31631, 1168, 5097, 62, 6242, 2969, 38, 2043, 62, 26947, 62, 37, 10659, 15513, 30023, 2538, 10979, 6234, 13, 628, 198, 220, 337, 36252, 651, 62, 8906, 48499, 7509, 13, 628, 220, 220, 220, 16876, 308, 72, 62, 8906, 48499, 7509, 3180, 3268, 2043, 12576, 13, 198, 220, 220, 220, 220, 220, 29244, 6158, 25334, 23680, 308, 72, 62, 8906, 48499, 7509, 41876, 1976, 565, 62, 397, 499, 18300, 62, 7890, 62, 8906, 48499, 7509, 13, 198, 220, 220, 220, 23578, 5064, 13, 628, 220, 220, 220, 374, 72, 62, 8906, 48499, 7509, 796, 308, 72, 62, 8906, 48499, 7509, 13, 628, 220, 23578, 49273, 13, 628, 198, 220, 337, 36252, 651, 62, 46911, 7509, 13, 628, 220, 220, 220, 16876, 308, 72, 62, 46911, 7509, 3180, 3268, 2043, 12576, 13, 198, 220, 220, 220, 220, 220, 29244, 6158, 25334, 23680, 308, 72, 62, 46911, 7509, 41876, 1976, 565, 62, 397, 499, 18300, 62, 7890, 62, 46911, 7509, 13, 198, 220, 220, 220, 23578, 5064, 13, 628, 220, 220, 220, 374, 72, 62, 46911, 7509, 796, 308, 72, 62, 46911, 7509, 13, 628, 220, 23578, 49273, 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, 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ui_page_commit DEFINITION PUBLIC INHERITING FROM zcl_abapgit_gui_component FINAL CREATE PRIVATE. PUBLIC SECTION. INTERFACES zif_abapgit_gui_event_handler. INTERFACES zif_abapgit_gui_renderable. CLASS-METHODS create IMPORTING !io_repo TYPE REF TO zcl_abapgit_repo_online !io_stage TYPE REF TO zcl_abapgit_stage !iv_sci_result TYPE zif_abapgit_definitions=>ty_sci_result DEFAULT zif_abapgit_definitions=>c_sci_result-no_run RETURNING VALUE(ri_page) TYPE REF TO zif_abapgit_gui_renderable RAISING zcx_abapgit_exception. METHODS constructor IMPORTING !io_repo TYPE REF TO zcl_abapgit_repo_online !io_stage TYPE REF TO zcl_abapgit_stage !iv_sci_result TYPE zif_abapgit_definitions=>ty_sci_result RAISING zcx_abapgit_exception. PROTECTED SECTION. PRIVATE SECTION. CONSTANTS: BEGIN OF c_id, committer TYPE string VALUE 'committer', committer_name TYPE string VALUE 'committer_name', committer_email TYPE string VALUE 'committer_email', message TYPE string VALUE 'message', comment TYPE string VALUE 'comment', body TYPE string VALUE 'body', author TYPE string VALUE 'author', author_name TYPE string VALUE 'author_name', author_email TYPE string VALUE 'author_email', new_branch_name TYPE string VALUE 'new_branch_name', END OF c_id. CONSTANTS: BEGIN OF c_event, commit TYPE string VALUE 'commit', END OF c_event. DATA mo_form TYPE REF TO zcl_abapgit_html_form. DATA mo_form_data TYPE REF TO zcl_abapgit_string_map. DATA mo_form_util TYPE REF TO zcl_abapgit_html_form_utils. DATA mo_validation_log TYPE REF TO zcl_abapgit_string_map. DATA mo_settings TYPE REF TO zcl_abapgit_settings. DATA mo_repo TYPE REF TO zcl_abapgit_repo_online. DATA mo_stage TYPE REF TO zcl_abapgit_stage. DATA mt_stage TYPE zif_abapgit_definitions=>ty_stage_tt. DATA ms_commit TYPE zif_abapgit_services_git=>ty_commit_fields. DATA mv_sci_result TYPE zif_abapgit_definitions=>ty_sci_result. METHODS render_stage_summary RETURNING VALUE(ri_html) TYPE REF TO zif_abapgit_html RAISING zcx_abapgit_exception. METHODS render_stage_details RETURNING VALUE(ri_html) TYPE REF TO zif_abapgit_html RAISING zcx_abapgit_exception. METHODS validate_form IMPORTING !io_form_data TYPE REF TO zcl_abapgit_string_map RETURNING VALUE(ro_validation_log) TYPE REF TO zcl_abapgit_string_map RAISING zcx_abapgit_exception. METHODS get_form_schema RETURNING VALUE(ro_form) TYPE REF TO zcl_abapgit_html_form. METHODS get_defaults RAISING zcx_abapgit_exception. METHODS get_committer_name RETURNING VALUE(rv_user) TYPE string RAISING zcx_abapgit_exception. METHODS get_committer_email RETURNING VALUE(rv_email) TYPE string RAISING zcx_abapgit_exception. METHODS get_comment_default RETURNING VALUE(rv_text) TYPE string. METHODS get_comment_object IMPORTING !it_stage TYPE zif_abapgit_definitions=>ty_stage_tt RETURNING VALUE(rv_text) TYPE string. METHODS get_comment_file IMPORTING !it_stage TYPE zif_abapgit_definitions=>ty_stage_tt RETURNING VALUE(rv_text) TYPE string. METHODS branch_name_to_internal IMPORTING iv_branch_name TYPE string RETURNING VALUE(rv_new_branch_name) TYPE string. ENDCLASS. CLASS zcl_abapgit_gui_page_commit IMPLEMENTATION. METHOD branch_name_to_internal. rv_new_branch_name = zcl_abapgit_git_branch_list=>complete_heads_branch_name( zcl_abapgit_git_branch_list=>normalize_branch_name( iv_branch_name ) ). ENDMETHOD. METHOD constructor. super->constructor( ). mo_repo = io_repo. mo_stage = io_stage. mt_stage = mo_stage->get_all( ). mv_sci_result = iv_sci_result. " Get settings from DB mo_settings = zcl_abapgit_persist_factory=>get_settings( )->read( ). CREATE OBJECT mo_validation_log. CREATE OBJECT mo_form_data. mo_form = get_form_schema( ). mo_form_util = zcl_abapgit_html_form_utils=>create( mo_form ). ENDMETHOD. METHOD create. DATA lo_component TYPE REF TO zcl_abapgit_gui_page_commit. CREATE OBJECT lo_component EXPORTING io_repo = io_repo io_stage = io_stage iv_sci_result = iv_sci_result. ri_page = zcl_abapgit_gui_page_hoc=>create( iv_page_title = 'Commit' ii_child_component = lo_component ). ENDMETHOD. METHOD get_comment_default. rv_text = mo_settings->get_commitmsg_comment_default( ). IF rv_text IS INITIAL. RETURN. ENDIF. REPLACE '$FILE' IN rv_text WITH get_comment_file( mt_stage ). REPLACE '$OBJECT' IN rv_text WITH get_comment_object( mt_stage ). ENDMETHOD. METHOD get_comment_file. DATA: lv_count TYPE i, lv_value TYPE c LENGTH 10. FIELD-SYMBOLS <ls_stage> LIKE LINE OF it_stage. lv_count = lines( it_stage ). IF lv_count = 1. " Just one file so we use the file name READ TABLE it_stage ASSIGNING <ls_stage> INDEX 1. ASSERT sy-subrc = 0. rv_text = <ls_stage>-file-filename. ELSE. " For multiple file we use the count instead WRITE lv_count TO lv_value LEFT-JUSTIFIED. CONCATENATE lv_value 'files' INTO rv_text SEPARATED BY space. ENDIF. ENDMETHOD. METHOD get_comment_object. DATA: lv_count TYPE i, lv_value TYPE c LENGTH 10, ls_item TYPE zif_abapgit_definitions=>ty_item, lt_items TYPE zif_abapgit_definitions=>ty_items_tt. FIELD-SYMBOLS <ls_stage> LIKE LINE OF it_stage. " Get objects LOOP AT it_stage ASSIGNING <ls_stage>. CLEAR ls_item. ls_item-obj_type = <ls_stage>-status-obj_type. ls_item-obj_name = <ls_stage>-status-obj_name. COLLECT ls_item INTO lt_items. ENDLOOP. lv_count = lines( lt_items ). IF lv_count = 1. " Just one object so we use the object name READ TABLE lt_items INTO ls_item INDEX 1. ASSERT sy-subrc = 0. CONCATENATE ls_item-obj_type ls_item-obj_name INTO rv_text SEPARATED BY space. ELSE. " For multiple objects we use the count instead WRITE lv_count TO lv_value LEFT-JUSTIFIED. CONCATENATE lv_value 'objects' INTO rv_text SEPARATED BY space. ENDIF. ENDMETHOD. METHOD get_committer_email. DATA li_user TYPE REF TO zif_abapgit_persist_user. li_user = zcl_abapgit_persistence_user=>get_instance( ). rv_email = li_user->get_repo_git_user_email( mo_repo->get_url( ) ). IF rv_email IS INITIAL. rv_email = li_user->get_default_git_user_email( ). ENDIF. IF rv_email IS INITIAL. " get default from user record rv_email = zcl_abapgit_user_record=>get_instance( sy-uname )->get_email( ). ENDIF. ENDMETHOD. METHOD get_committer_name. DATA li_user TYPE REF TO zif_abapgit_persist_user. li_user = zcl_abapgit_persistence_user=>get_instance( ). rv_user = li_user->get_repo_git_user_name( mo_repo->get_url( ) ). IF rv_user IS INITIAL. rv_user = li_user->get_default_git_user_name( ). ENDIF. IF rv_user IS INITIAL. " get default from user record rv_user = zcl_abapgit_user_record=>get_instance( sy-uname )->get_name( ). ENDIF. ENDMETHOD. METHOD get_defaults. ms_commit-committer_name = get_committer_name( ). ms_commit-committer_email = get_committer_email( ). ms_commit-comment = get_comment_default( ). " Committer mo_form_data->set( iv_key = c_id-committer_name iv_val = ms_commit-committer_name ). mo_form_data->set( iv_key = c_id-committer_email iv_val = ms_commit-committer_email ). " Message mo_form_data->set( iv_key = c_id-comment iv_val = ms_commit-comment ). ENDMETHOD. METHOD get_form_schema. DATA: lv_commitmsg_comment_length TYPE i. ro_form = zcl_abapgit_html_form=>create( iv_form_id = 'commit-form' iv_help_page = 'https://docs.abapgit.org/guide-stage-commit.html' ). lv_commitmsg_comment_length = mo_settings->get_commitmsg_comment_length( ). ro_form->text( iv_name = c_id-comment iv_label = 'Comment' iv_required = abap_true iv_max = lv_commitmsg_comment_length iv_placeholder = |Add a mandatory comment with max { lv_commitmsg_comment_length } characters| )->textarea( iv_name = c_id-body iv_label = 'Body' iv_rows = 6 iv_cols = mo_settings->get_commitmsg_body_size( ) iv_placeholder = 'Add an optional description...' )->text( iv_name = c_id-committer_name iv_label = 'Committer Name' iv_required = abap_true )->text( iv_name = c_id-committer_email iv_label = 'Committer Email' iv_required = abap_true ). IF mo_settings->get_commitmsg_hide_author( ) IS INITIAL. ro_form->text( iv_name = c_id-author_name iv_label = 'Author Name' iv_placeholder = 'Optionally, specify an author (same as committer by default)' )->text( iv_name = c_id-author_email iv_label = 'Author Email' ). ENDIF. ro_form->text( iv_name = c_id-new_branch_name iv_label = 'New Branch Name' iv_placeholder = 'Optionally, enter a new branch name for this commit' iv_condense = abap_true ). ro_form->command( iv_label = 'Commit' iv_cmd_type = zif_abapgit_html_form=>c_cmd_type-input_main iv_action = c_event-commit )->command( iv_label = 'Back' iv_action = zif_abapgit_definitions=>c_action-go_back ). ENDMETHOD. METHOD render_stage_details. FIELD-SYMBOLS <ls_stage> LIKE LINE OF mt_stage. CREATE OBJECT ri_html TYPE zcl_abapgit_html. ri_html->add( '<table class="stage_tab">' ). ri_html->add( '<thead>' ). ri_html->add( '<tr>' ). ri_html->add( '<th colspan="3">Staged Files (See <a href="#top">Summary</a> Above)</th>' ). ri_html->add( '</tr>' ). ri_html->add( '</thead>' ). ri_html->add( '<tbody>' ). LOOP AT mt_stage ASSIGNING <ls_stage>. ri_html->add( '<tr>' ). ri_html->add( '<td>' ). ri_html->add( zcl_abapgit_gui_chunk_lib=>render_item_state( iv_lstate = <ls_stage>-status-lstate iv_rstate = <ls_stage>-status-rstate ) ). ri_html->add( '</td>' ). ri_html->add( '<td class="method">' ). ri_html->add( zcl_abapgit_stage=>method_description( <ls_stage>-method ) ). ri_html->add( '</td>' ). ri_html->add( '<td>' ). ri_html->add( <ls_stage>-file-path && <ls_stage>-file-filename ). ri_html->add( '</td>' ). ri_html->add( '</tr>' ). ENDLOOP. ri_html->add( '</tbody>' ). ri_html->add( '</table>' ). ENDMETHOD. METHOD render_stage_summary. DATA: BEGIN OF ls_sum, method TYPE string, count TYPE i, END OF ls_sum, lt_sum LIKE STANDARD TABLE OF ls_sum WITH DEFAULT KEY. FIELD-SYMBOLS <ls_stage> LIKE LINE OF mt_stage. CREATE OBJECT ri_html TYPE zcl_abapgit_html. LOOP AT mt_stage ASSIGNING <ls_stage>. ls_sum-method = <ls_stage>-method. ls_sum-count = 1. COLLECT ls_sum INTO lt_sum. ENDLOOP. ri_html->add( 'Stage Summary: ' ). READ TABLE lt_sum INTO ls_sum WITH TABLE KEY method = zif_abapgit_definitions=>c_method-add. IF sy-subrc = 0. ri_html->add( |<span class="diff_banner diff_ins" title="add">+ { ls_sum-count }</span>| ). ENDIF. READ TABLE lt_sum INTO ls_sum WITH TABLE KEY method = zif_abapgit_definitions=>c_method-rm. IF sy-subrc = 0. ri_html->add( |<span class="diff_banner diff_del" title="remove">- { ls_sum-count }</span>| ). ENDIF. READ TABLE lt_sum INTO ls_sum WITH TABLE KEY method = zif_abapgit_definitions=>c_method-ignore. IF sy-subrc = 0. ri_html->add( |<span class="diff_banner diff_upd" title="ignore">~ { ls_sum-count }</span>| ). ENDIF. IF lines( mt_stage ) = 1. ri_html->add( 'file' ). ELSE. ri_html->add( 'files' ). ENDIF. ri_html->add( '(See <a href="#stage-details">Details</a> Below)' ). ENDMETHOD. METHOD validate_form. DATA: lt_branches TYPE zif_abapgit_definitions=>ty_git_branch_list_tt, lv_new_branch_name TYPE string. ro_validation_log = mo_form_util->validate( io_form_data ). IF zcl_abapgit_utils=>is_valid_email( io_form_data->get( c_id-committer_email ) ) = abap_false. ro_validation_log->set( iv_key = c_id-committer_email iv_val = |Invalid email address| ). ENDIF. IF zcl_abapgit_utils=>is_valid_email( io_form_data->get( c_id-author_email ) ) = abap_false. ro_validation_log->set( iv_key = c_id-author_email iv_val = |Invalid email address| ). ENDIF. lv_new_branch_name = io_form_data->get( c_id-new_branch_name ). IF lv_new_branch_name IS NOT INITIAL. " check if branch already exists lt_branches = zcl_abapgit_git_transport=>branches( mo_repo->get_url( ) )->get_branches_only( ). READ TABLE lt_branches TRANSPORTING NO FIELDS WITH TABLE KEY name_key COMPONENTS name = branch_name_to_internal( lv_new_branch_name ). IF sy-subrc = 0. ro_validation_log->set( iv_key = c_id-new_branch_name iv_val = |Branch already exists| ). ENDIF. ENDIF. ENDMETHOD. METHOD zif_abapgit_gui_event_handler~on_event. DATA lv_new_branch_name TYPE string. mo_form_data = mo_form_util->normalize( ii_event->form_data( ) ). CASE ii_event->mv_action. WHEN zif_abapgit_definitions=>c_action-go_back. rs_handled-state = zcl_abapgit_gui=>c_event_state-go_back. WHEN c_event-commit. " Validate form entries before committing mo_validation_log = validate_form( mo_form_data ). IF mo_validation_log->is_empty( ) = abap_true. " new branch fields not needed in commit data mo_form_data->strict( abap_false ). mo_form_data->to_abap( CHANGING cs_container = ms_commit ). REPLACE ALL OCCURRENCES OF zif_abapgit_definitions=>c_crlf IN ms_commit-body WITH zif_abapgit_definitions=>c_newline. lv_new_branch_name = mo_form_data->get( c_id-new_branch_name ). " create new branch and commit to it if branch name is not empty IF lv_new_branch_name IS NOT INITIAL. lv_new_branch_name = branch_name_to_internal( lv_new_branch_name ). " creates a new branch and automatically switches to it mo_repo->create_branch( lv_new_branch_name ). ENDIF. zcl_abapgit_services_git=>commit( is_commit = ms_commit io_repo = mo_repo io_stage = mo_stage ). MESSAGE 'Commit was successful' TYPE 'S'. rs_handled-state = zcl_abapgit_gui=>c_event_state-go_back_to_bookmark. ELSE. rs_handled-state = zcl_abapgit_gui=>c_event_state-re_render. ENDIF. ENDCASE. ENDMETHOD. METHOD zif_abapgit_gui_renderable~render. gui_services( )->register_event_handler( me ). IF mo_form_util->is_empty( mo_form_data ) = abap_true. get_defaults( ). ENDIF. CREATE OBJECT ri_html TYPE zcl_abapgit_html. ri_html->add( '<div id="top" class="paddings">' ). ri_html->add( zcl_abapgit_gui_chunk_lib=>render_repo_top( mo_repo ) ). ri_html->add( '</div>' ). ri_html->add( '<div id="stage-summary" class="dialog w800px paddings">' ). ri_html->add( render_stage_summary( ) ). ri_html->add( '</div>' ). ri_html->add( mo_form->render( iv_form_class = 'w800px' io_values = mo_form_data io_validation_log = mo_validation_log ) ). ri_html->add( '<div id="stage-details" class="dialog w800px">' ). ri_html->add( render_stage_details( ) ). ri_html->add( '</div>' ). ENDMETHOD. ENDCLASS.
[ 31631, 1976, 565, 62, 397, 499, 18300, 62, 48317, 62, 7700, 62, 41509, 5550, 20032, 17941, 198, 220, 44731, 198, 220, 3268, 16879, 2043, 2751, 16034, 1976, 565, 62, 397, 499, 18300, 62, 48317, 62, 42895, 198, 220, 25261, 198, 220, 29244, 6158, 4810, 3824, 6158, 13, 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, 198, 220, 220, 220, 23255, 37, 2246, 1546, 1976, 361, 62, 397, 499, 18300, 62, 48317, 62, 13287, 540, 13, 628, 220, 220, 220, 42715, 12, 49273, 50, 2251, 198, 220, 220, 220, 220, 220, 30023, 9863, 2751, 198, 220, 220, 220, 220, 220, 220, 220, 5145, 952, 62, 260, 7501, 220, 220, 220, 220, 220, 220, 41876, 4526, 37, 5390, 1976, 565, 62, 397, 499, 18300, 62, 260, 7501, 62, 25119, 198, 220, 220, 220, 220, 220, 220, 220, 5145, 952, 62, 14247, 220, 220, 220, 220, 220, 41876, 4526, 37, 5390, 1976, 565, 62, 397, 499, 18300, 62, 14247, 198, 220, 220, 220, 220, 220, 220, 220, 5145, 452, 62, 36216, 62, 20274, 41876, 1976, 361, 62, 397, 499, 18300, 62, 4299, 50101, 14804, 774, 62, 36216, 62, 20274, 5550, 38865, 1976, 361, 62, 397, 499, 18300, 62, 4299, 50101, 14804, 66, 62, 36216, 62, 20274, 12, 3919, 62, 5143, 198, 220, 220, 220, 220, 220, 30826, 4261, 15871, 198, 220, 220, 220, 220, 220, 220, 220, 26173, 8924, 7, 380, 62, 7700, 8, 41876, 4526, 37, 5390, 1976, 361, 62, 397, 499, 18300, 62, 48317, 62, 13287, 540, 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, 23772, 198, 220, 220, 220, 220, 220, 30023, 9863, 2751, 198, 220, 220, 220, 220, 220, 220, 220, 5145, 952, 62, 260, 7501, 220, 220, 220, 220, 220, 220, 41876, 4526, 37, 5390, 1976, 565, 62, 397, 499, 18300, 62, 260, 7501, 62, 25119, 198, 220, 220, 220, 220, 220, 220, 220, 5145, 952, 62, 14247, 220, 220, 220, 220, 220, 41876, 4526, 37, 5390, 1976, 565, 62, 397, 499, 18300, 62, 14247, 198, 220, 220, 220, 220, 220, 220, 220, 5145, 452, 62, 36216, 62, 20274, 41876, 1976, 361, 62, 397, 499, 18300, 62, 4299, 50101, 14804, 774, 62, 36216, 62, 20274, 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, 628, 220, 48006, 9782, 1961, 44513, 13, 198, 220, 4810, 3824, 6158, 44513, 13, 628, 220, 220, 220, 7102, 2257, 1565, 4694, 25, 198, 220, 220, 220, 220, 220, 347, 43312, 3963, 269, 62, 312, 11, 198, 220, 220, 220, 220, 220, 220, 220, 725, 1967, 220, 220, 220, 220, 220, 220, 41876, 4731, 26173, 8924, 705, 9503, 1967, 3256, 198, 220, 220, 220, 220, 220, 220, 220, 725, 1967, 62, 3672, 220, 41876, 4731, 26173, 8924, 705, 9503, 1967, 62, 3672, 3256, 198, 220, 220, 220, 220, 220, 220, 220, 725, 1967, 62, 12888, 41876, 4731, 26173, 8924, 705, 9503, 1967, 62, 12888, 3256, 198, 220, 220, 220, 220, 220, 220, 220, 3275, 220, 220, 220, 220, 220, 220, 220, 220, 41876, 4731, 26173, 8924, 705, 20500, 3256, 198, 220, 220, 220, 220, 220, 220, 220, 2912, 220, 220, 220, 220, 220, 220, 220, 220, 41876, 4731, 26173, 8924, 705, 23893, 3256, 198, 220, 220, 220, 220, 220, 220, 220, 1767, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 41876, 4731, 26173, 8924, 705, 2618, 3256, 198, 220, 220, 220, 220, 220, 220, 220, 1772, 220, 220, 220, 220, 220, 220, 220, 220, 220, 41876, 4731, 26173, 8924, 705, 9800, 3256, 198, 220, 220, 220, 220, 220, 220, 220, 1772, 62, 3672, 220, 220, 220, 220, 41876, 4731, 26173, 8924, 705, 9800, 62, 3672, 3256, 198, 220, 220, 220, 220, 220, 220, 220, 1772, 62, 12888, 220, 220, 220, 41876, 4731, 26173, 8924, 705, 9800, 62, 12888, 3256, 198, 220, 220, 220, 220, 220, 220, 220, 649, 62, 1671, 3702, 62, 3672, 41876, 4731, 26173, 8924, 705, 3605, 62, 1671, 3702, 62, 3672, 3256, 198, 220, 220, 220, 220, 220, 23578, 3963, 269, 62, 312, 13, 628, 220, 220, 220, 7102, 2257, 1565, 4694, 25, 198, 220, 220, 220, 220, 220, 347, 43312, 3963, 269, 62, 15596, 11, 198, 220, 220, 220, 220, 220, 220, 220, 4589, 41876, 4731, 26173, 8924, 705, 41509, 3256, 198, 220, 220, 220, 220, 220, 23578, 3963, 269, 62, 15596, 13, 628, 220, 220, 220, 42865, 6941, 62, 687, 41876, 4526, 37, 5390, 1976, 565, 62, 397, 499, 18300, 62, 6494, 62, 687, 13, 198, 220, 220, 220, 42865, 6941, 62, 687, 62, 7890, 41876, 4526, 37, 5390, 1976, 565, 62, 397, 499, 18300, 62, 8841, 62, 8899, 13, 198, 220, 220, 220, 42865, 6941, 62, 687, 62, 22602, 41876, 4526, 37, 5390, 1976, 565, 62, 397, 499, 18300, 62, 6494, 62, 687, 62, 26791, 13, 198, 220, 220, 220, 42865, 6941, 62, 12102, 341, 62, 6404, 41876, 4526, 37, 5390, 1976, 565, 62, 397, 499, 18300, 62, 8841, 62, 8899, 13, 198, 220, 220, 220, 42865, 6941, 62, 33692, 41876, 4526, 37, 5390, 1976, 565, 62, 397, 499, 18300, 62, 33692, 13, 198, 220, 220, 220, 42865, 6941, 62, 260, 7501, 41876, 4526, 37, 5390, 1976, 565, 62, 397, 499, 18300, 62, 260, 7501, 62, 25119, 13, 198, 220, 220, 220, 42865, 6941, 62, 14247, 41876, 4526, 37, 5390, 1976, 565, 62, 397, 499, 18300, 62, 14247, 13, 198, 220, 220, 220, 42865, 45079, 62, 14247, 41876, 1976, 361, 62, 397, 499, 18300, 62, 4299, 50101, 14804, 774, 62, 14247, 62, 926, 13, 198, 220, 220, 220, 42865, 13845, 62, 41509, 41876, 1976, 361, 62, 397, 499, 18300, 62, 30416, 62, 18300, 14804, 774, 62, 41509, 62, 25747, 13, 198, 220, 220, 220, 42865, 285, 85, 62, 36216, 62, 20274, 41876, 1976, 361, 62, 397, 499, 18300, 62, 4299, 50101, 14804, 774, 62, 36216, 62, 20274, 13, 628, 220, 220, 220, 337, 36252, 50 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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 ]
CLASS zcl_abapgit_persist_settings DEFINITION PUBLIC CREATE PRIVATE GLOBAL FRIENDS zcl_abapgit_persist_factory . PUBLIC SECTION. INTERFACES zif_abapgit_persist_settings . PROTECTED SECTION. PRIVATE SECTION. DATA mo_settings TYPE REF TO zcl_abapgit_settings . ENDCLASS. CLASS ZCL_ABAPGIT_PERSIST_SETTINGS IMPLEMENTATION. METHOD zif_abapgit_persist_settings~modify. DATA: lv_settings TYPE string, ls_user_settings TYPE zif_abapgit_definitions=>ty_s_user_settings. lv_settings = io_settings->get_settings_xml( ). zcl_abapgit_persistence_db=>get_instance( )->modify( iv_type = zcl_abapgit_persistence_db=>c_type_settings iv_value = '' iv_data = lv_settings ). ls_user_settings = io_settings->get_user_settings( ). zcl_abapgit_persistence_user=>get_instance( )->set_settings( ls_user_settings ). " Settings have been modified: Update Buffered Settings IF mo_settings IS BOUND. mo_settings->set_xml_settings( lv_settings ). mo_settings->set_user_settings( ls_user_settings ). ENDIF. ENDMETHOD. METHOD zif_abapgit_persist_settings~read. IF mo_settings IS BOUND. " Return Buffered Settings ro_settings = mo_settings. RETURN. ENDIF. " Settings have changed or have not yet been loaded ro_settings = NEW #( ). TRY. ro_settings->set_xml_settings( zcl_abapgit_persistence_db=>get_instance( )->read( iv_type = zcl_abapgit_persistence_db=>c_type_settings iv_value = '' ) ). ro_settings->set_user_settings( zcl_abapgit_persistence_user=>get_instance( )->get_settings( ) ). CATCH zcx_abapgit_not_found zcx_abapgit_exception. ro_settings->set_defaults( ). ENDTRY. mo_settings = ro_settings. ENDMETHOD. ENDCLASS.
[ 31631, 1976, 565, 62, 397, 499, 18300, 62, 19276, 396, 62, 33692, 5550, 20032, 17941, 198, 220, 44731, 198, 220, 29244, 6158, 4810, 3824, 6158, 198, 220, 10188, 9864, 1847, 48167, 1677, 5258, 1976, 565, 62, 397, 499, 18300, 62, 19276, 396, 62, 69, 9548, 764, 628, 220, 44731, 44513, 13, 628, 220, 220, 220, 23255, 37, 2246, 1546, 1976, 361, 62, 397, 499, 18300, 62, 19276, 396, 62, 33692, 764, 198, 220, 48006, 9782, 1961, 44513, 13, 198, 220, 4810, 3824, 6158, 44513, 13, 198, 220, 220, 220, 42865, 6941, 62, 33692, 41876, 4526, 37, 5390, 1976, 565, 62, 397, 499, 18300, 62, 33692, 764, 198, 198, 10619, 31631, 13, 628, 198, 198, 31631, 1168, 5097, 62, 6242, 2969, 38, 2043, 62, 47, 4877, 8808, 62, 28480, 51, 20754, 30023, 2538, 10979, 6234, 13, 628, 198, 220, 337, 36252, 1976, 361, 62, 397, 499, 18300, 62, 19276, 396, 62, 33692, 93, 4666, 1958, 13, 628, 220, 220, 220, 42865, 25, 300, 85, 62, 33692, 220, 220, 220, 220, 220, 41876, 4731, 11, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 43979, 62, 7220, 62, 33692, 41876, 1976, 361, 62, 397, 499, 18300, 62, 4299, 50101, 14804, 774, 62, 82, 62, 7220, 62, 33692, 13, 628, 198, 220, 220, 220, 300, 85, 62, 33692, 796, 33245, 62, 33692, 3784, 1136, 62, 33692, 62, 19875, 7, 6739, 628, 220, 220, 220, 1976, 565, 62, 397, 499, 18300, 62, 19276, 13274, 62, 9945, 14804, 1136, 62, 39098, 7, 1267, 3784, 4666, 1958, 7, 198, 220, 220, 220, 220, 220, 21628, 62, 4906, 220, 220, 220, 220, 220, 220, 796, 1976, 565, 62, 397, 499, 18300, 62, 19276, 13274, 62, 9945, 14804, 66, 62, 4906, 62, 33692, 198, 220, 220, 220, 220, 220, 21628, 62, 8367, 220, 220, 220, 220, 220, 796, 10148, 198, 220, 220, 220, 220, 220, 21628, 62, 7890, 220, 220, 220, 220, 220, 220, 796, 300, 85, 62, 33692, 6739, 628, 220, 220, 220, 43979, 62, 7220, 62, 33692, 796, 33245, 62, 33692, 3784, 1136, 62, 7220, 62, 33692, 7, 6739, 628, 220, 220, 220, 1976, 565, 62, 397, 499, 18300, 62, 19276, 13274, 62, 7220, 14804, 1136, 62, 39098, 7, 1267, 3784, 2617, 62, 33692, 7, 43979, 62, 7220, 62, 33692, 6739, 628, 220, 220, 220, 366, 16163, 423, 587, 9518, 25, 10133, 8792, 1068, 16163, 198, 220, 220, 220, 16876, 6941, 62, 33692, 3180, 347, 15919, 13, 198, 220, 220, 220, 220, 220, 6941, 62, 33692, 3784, 2617, 62, 19875, 62, 33692, 7, 300, 85, 62, 33692, 6739, 198, 220, 220, 220, 220, 220, 6941, 62, 33692, 3784, 2617, 62, 7220, 62, 33692, 7, 43979, 62, 7220, 62, 33692, 6739, 198, 220, 220, 220, 23578, 5064, 13, 628, 220, 23578, 49273, 13, 628, 198, 220, 337, 36252, 1976, 361, 62, 397, 499, 18300, 62, 19276, 396, 62, 33692, 93, 961, 13, 628, 220, 220, 220, 16876, 6941, 62, 33692, 3180, 347, 15919, 13, 198, 220, 220, 220, 220, 220, 366, 8229, 8792, 1068, 16163, 198, 220, 220, 220, 220, 220, 686, 62, 33692, 796, 6941, 62, 33692, 13, 198, 220, 220, 220, 220, 220, 30826, 27064, 13, 198, 220, 220, 220, 23578, 5064, 13, 628, 220, 220, 220, 366, 16163, 423, 3421, 393, 423, 407, 1865, 587, 9639, 198, 220, 220, 220, 686, 62, 33692, 796, 12682, 1303, 7, 6739, 628, 220, 220, 220, 7579, 56, 13, 628, 220, 220, 220, 220, 220, 220, 220, 686, 62, 33692, 3784, 2617, 62, 19875, 62, 33692, 7, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 1976, 565, 62, 397, 499, 18300, 62, 19276, 13274, 62, 9945, 14804, 1136, 62, 39098, 7, 1267, 3784, 961, 7, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 21628, 62, 4906, 220, 796, 1976, 565, 62, 397, 499, 18300, 62, 19276, 13274, 62, 9945, 14804, 66, 62, 4906, 62, 33692, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 21628, 62, 8367, 796, 10148, 1267, 6739, 628, 220, 220, 220, 220, 220, 220, 220, 686, 62, 33692, 3784, 2617, 62, 7220, 62, 33692, 7, 1976, 565, 62, 397, 499, 18300, 62, 19276, 13274, 62, 7220, 14804, 1136, 62, 39098, 7, 1267, 3784, 1136, 62, 33692, 7, 1267, 6739, 628, 220, 220, 220, 220, 220, 327, 11417, 1976, 66, 87, 62, 397, 499, 18300, 62, 1662, 62, 9275, 1976, 66, 87, 62, 397, 499, 18300, 62, 1069, 4516, 13, 628, 220, 220, 220, 220, 220, 220, 220, 686, 62, 33692, 3784, 2617, 62, 12286, 82, 7, 6739, 628, 220, 220, 220, 23578, 40405, 13, 628, 220, 220, 220, 6941, 62, 33692, 796, 686, 62, 33692, 13, 628, 220, 23578, 49273, 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,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_root !it_tor_root_before_sstring TYPE /scmtms/t_em_bo_tor_root !it_tor_item_sstring TYPE /scmtms/t_em_bo_tor_item !it_tor_item_before_sstring TYPE /scmtms/t_em_bo_tor_item !it_tor_stop_sstring TYPE /scmtms/t_em_bo_tor_stop !it_tor_stop_addr_sstring TYPE /scmtms/t_em_bo_loc_addr . METHODS get_delivery_items RETURNING VALUE(rr_deliveries) TYPE REF TO data . PROTECTED SECTION. PRIVATE SECTION. DATA mt_tor_root TYPE /scmtms/t_em_bo_tor_root . DATA mt_tor_root_before TYPE /scmtms/t_em_bo_tor_root . DATA mt_tor_item TYPE /scmtms/t_em_bo_tor_item . DATA mt_tor_item_before TYPE /scmtms/t_em_bo_tor_item . DATA mt_tor_stop TYPE /scmtms/t_em_bo_tor_stop . DATA mt_tor_stop_before TYPE /scmtms/t_em_bo_tor_stop . DATA mt_tor_stop_addr TYPE /scmtms/t_em_bo_loc_addr . DATA mt_allowed_fu_type TYPE zif_gtt_mia_ctp_types=>tt_tor_type . DATA mt_deliveries TYPE zif_gtt_mia_ctp_types=>tt_delivery . DATA mt_delivery_item TYPE zif_gtt_mia_ctp_types=>tt_delivery_chng . METHODS add_delivery_item IMPORTING !is_tor_root TYPE /scmtms/s_em_bo_tor_root !is_tor_item TYPE /scmtms/s_em_bo_tor_item !iv_change_mode TYPE /bobf/conf_change_mode CHANGING !ct_delivery_item TYPE zif_gtt_mia_ctp_types=>tt_delivery_chng . METHODS add_delivery_items_by_tor_root IMPORTING !is_tor_root TYPE /scmtms/s_em_bo_tor_root !iv_change_mode TYPE /bobf/conf_change_mode CHANGING !ct_delivery_item TYPE zif_gtt_mia_ctp_types=>tt_delivery_chng . METHODS convert_dlv_number IMPORTING !iv_dlv_num TYPE clike RETURNING VALUE(rv_vbeln) TYPE vbeln_vl . METHODS get_allowed_fu_types RETURNING VALUE(rt_fu_type) TYPE zif_gtt_mia_ctp_types=>tt_tor_type . METHODS get_aotype_restrictions EXPORTING !et_aotype TYPE zif_gtt_mia_ctp_types=>tt_aotype_rst . METHODS get_dlv_item_based_on_tor_root CHANGING !ct_delivery_item TYPE zif_gtt_mia_ctp_types=>tt_delivery_chng . METHODS get_dlv_item_based_on_tor_item CHANGING !ct_delivery_item TYPE zif_gtt_mia_ctp_types=>tt_delivery_chng . METHODS get_dlv_item_based_on_tor_stop CHANGING !ct_delivery_item TYPE zif_gtt_mia_ctp_types=>tt_delivery_chng . METHODS get_tor_types EXPORTING !et_tor_types TYPE zif_gtt_mia_ctp_types=>tt_tor_type_rst . METHODS get_tor_stop_before RETURNING VALUE(rt_tor_stop_before) TYPE /scmtms/t_em_bo_tor_stop . METHODS init_deliveries . ENDCLASS. CLASS zcl_gtt_mia_ctp_tor_changes IMPLEMENTATION. METHOD add_delivery_item. DATA: ls_delivery_item TYPE zif_gtt_mia_ctp_types=>ts_delivery_chng. ls_delivery_item-vbeln = convert_dlv_number( iv_dlv_num = is_tor_item-base_btd_id ). ls_delivery_item-posnr = is_tor_item-base_btditem_id. ls_delivery_item-tor_id = is_tor_root-tor_id. ls_delivery_item-item_id = is_tor_item-item_id. ls_delivery_item-quantity = is_tor_item-qua_pcs_val. ls_delivery_item-quantityuom = is_tor_item-qua_pcs_uni. ls_delivery_item-change_mode = iv_change_mode. INSERT ls_delivery_item INTO TABLE ct_delivery_item. ENDMETHOD. METHOD add_delivery_items_by_tor_root. DATA: ls_delivery_item TYPE zif_gtt_mia_ctp_types=>ts_delivery_chng. LOOP AT mt_tor_item ASSIGNING FIELD-SYMBOL(<ls_tor_item>) USING KEY item_parent WHERE parent_node_id = is_tor_root-node_id. IF <ls_tor_item>-base_btd_tco = zif_gtt_mia_ctp_tor_constants=>cv_base_btd_tco_inb_dlv AND <ls_tor_item>-base_btd_id IS NOT INITIAL AND <ls_tor_item>-base_btditem_id IS NOT INITIAL. add_delivery_item( EXPORTING is_tor_root = is_tor_root is_tor_item = <ls_tor_item> iv_change_mode = iv_change_mode CHANGING ct_delivery_item = ct_delivery_item ). ENDIF. ENDLOOP. ENDMETHOD. METHOD constructor. mt_tor_root = it_tor_root_sstring. mt_tor_root_before = it_tor_root_before_sstring. mt_tor_item = it_tor_item_sstring. mt_tor_item_before = it_tor_item_before_sstring. mt_tor_stop = it_tor_stop_sstring. mt_tor_stop_addr = it_tor_stop_addr_sstring. mt_tor_stop_before = get_tor_stop_before( ). mt_allowed_fu_type = get_allowed_fu_types( ). init_deliveries( ). ENDMETHOD. METHOD convert_dlv_number. rv_vbeln = |{ iv_dlv_num ALPHA = IN }|. ENDMETHOD. METHOD get_allowed_fu_types. DATA: lt_aotype TYPE zif_gtt_mia_ctp_types=>tt_aottype, lt_aotype_rst TYPE zif_gtt_mia_ctp_types=>tt_aotype_rst, lt_tor_type_rst TYPE zif_gtt_mia_ctp_types=>tt_tor_type_rst. get_tor_types( IMPORTING et_tor_types = lt_tor_type_rst ). get_aotype_restrictions( IMPORTING et_aotype = lt_aotype_rst ). IF lt_tor_type_rst[] IS NOT INITIAL. SELECT type AS tor_type, aotype FROM /scmtms/c_torty INTO TABLE @lt_aotype WHERE type IN @lt_tor_type_rst AND aotype IN @lt_aotype_rst. ELSE. CLEAR rt_fu_type. ENDIF. ENDMETHOD. METHOD get_aotype_restrictions. et_aotype = VALUE #( ( low = 'ZGTT_IDLV_HD_*' option = 'CP' sign = 'I' ) ). ENDMETHOD. METHOD get_delivery_items. rr_deliveries = REF #( mt_delivery_item ). ENDMETHOD. METHOD get_dlv_item_based_on_tor_item. DATA ls_delivery_item TYPE zif_gtt_mia_ctp_types=>ts_delivery_chng. LOOP AT mt_tor_item ASSIGNING FIELD-SYMBOL(<ls_tor_item>) WHERE base_btd_tco = zif_gtt_mia_ctp_tor_constants=>cv_base_btd_tco_inb_dlv AND ( change_mode = /bobf/if_frw_c=>sc_modify_delete OR change_mode = /bobf/if_frw_c=>sc_modify_create ) AND base_btd_id IS NOT INITIAL AND base_btditem_id IS NOT INITIAL. ASSIGN mt_tor_root[ node_id = <ls_tor_item>-parent_node_id ] TO FIELD-SYMBOL(<ls_tor_root>). IF sy-subrc = 0 AND <ls_tor_root>-tor_cat = /scmtms/if_tor_const=>sc_tor_category-freight_unit. add_delivery_item( EXPORTING is_tor_root = <ls_tor_root> is_tor_item = <ls_tor_item> iv_change_mode = <ls_tor_item>-change_mode CHANGING ct_delivery_item = ct_delivery_item ). ENDIF. ENDLOOP. ENDMETHOD. METHOD get_dlv_item_based_on_tor_root. LOOP AT mt_tor_root ASSIGNING FIELD-SYMBOL(<ls_tor_root>) WHERE tor_cat = /scmtms/if_tor_const=>sc_tor_category-freight_unit. CHECK line_exists( mt_allowed_fu_type[ table_line = <ls_tor_root>-tor_type ] ) AND ( <ls_tor_root>-base_btd_tco = zif_gtt_mia_ctp_tor_constants=>cv_base_btd_tco_inb_dlv ). IF <ls_tor_root>-change_mode = /bobf/if_frw_c=>sc_modify_delete. add_delivery_items_by_tor_root( EXPORTING is_tor_root = <ls_tor_root> iv_change_mode = /bobf/if_frw_c=>sc_modify_delete CHANGING ct_delivery_item = ct_delivery_item ). CONTINUE. ENDIF. ASSIGN mt_tor_root_before[ node_id = <ls_tor_root>-node_id ] TO FIELD-SYMBOL(<ls_tor_root_before>). IF sy-subrc = 0. CHECK <ls_tor_root_before>-base_btd_tco <> zif_gtt_mia_ctp_tor_constants=>cv_base_btd_tco_inb_dlv. add_delivery_items_by_tor_root( EXPORTING is_tor_root = <ls_tor_root> iv_change_mode = /bobf/if_frw_c=>sc_modify_update CHANGING ct_delivery_item = ct_delivery_item ). ELSE. add_delivery_items_by_tor_root( EXPORTING is_tor_root = <ls_tor_root> iv_change_mode = /bobf/if_frw_c=>sc_modify_create CHANGING ct_delivery_item = ct_delivery_item ). ENDIF. ENDLOOP. ENDMETHOD. METHOD get_dlv_item_based_on_tor_stop. DATA lv_tabix TYPE sy-tabix. LOOP AT mt_tor_stop ASSIGNING FIELD-SYMBOL(<ls_tor_stop>) GROUP BY ( parent_node_id = <ls_tor_stop>-parent_node_id group_size = GROUP SIZE ) ASSIGNING FIELD-SYMBOL(<lt_group>). LOOP AT GROUP <lt_group> ASSIGNING FIELD-SYMBOL(<ls_tor_stop_current>). lv_tabix += 1. CHECK lv_tabix = <lt_group>-group_size. ASSIGN mt_tor_stop_before[ node_id = <ls_tor_stop_current>-node_id ] TO FIELD-SYMBOL(<ls_tor_stop_before>). CHECK ( sy-subrc = 0 AND <ls_tor_stop_current>-log_locid <> <ls_tor_stop_before>-log_locid ) OR sy-subrc <> 0. " Freight Unit destination was changed => send IDOC ASSIGN mt_tor_root[ node_id = <ls_tor_stop_current>-parent_node_id ] TO FIELD-SYMBOL(<ls_tor_root>). CHECK sy-subrc = 0 AND <ls_tor_root>-tor_cat = /scmtms/if_tor_const=>sc_tor_category-freight_unit. add_delivery_items_by_tor_root( EXPORTING is_tor_root = <ls_tor_root> iv_change_mode = /bobf/if_frw_c=>sc_modify_update CHANGING ct_delivery_item = ct_delivery_item ). ENDLOOP. CLEAR lv_tabix. ENDLOOP. ENDMETHOD. METHOD get_tor_stop_before. DATA: ls_tor_stop_before TYPE /scmtms/s_em_bo_tor_stop. /scmtms/cl_tor_helper_stop=>get_stop_sequence( EXPORTING it_root_key = VALUE #( FOR <ls_tor_root> IN mt_tor_root ( key = <ls_tor_root>-node_id ) ) iv_before_image = abap_true IMPORTING et_stop_seq_d = DATA(lt_stop_seq_d) ). LOOP AT lt_stop_seq_d ASSIGNING FIELD-SYMBOL(<ls_stop_seq_d>). LOOP AT <ls_stop_seq_d>-stop_seq ASSIGNING FIELD-SYMBOL(<ls_stop_seq>). DATA(lv_tabix) = sy-tabix. MOVE-CORRESPONDING <ls_stop_seq> TO ls_tor_stop_before. ls_tor_stop_before-parent_node_id = <ls_stop_seq>-root_key. ASSIGN <ls_stop_seq_d>-stop_map[ tabix = lv_tabix ] TO FIELD-SYMBOL(<ls_stop_map>). ls_tor_stop_before-node_id = <ls_stop_map>-stop_key. INSERT ls_tor_stop_before INTO TABLE rt_tor_stop_before. ENDLOOP. ENDLOOP. ENDMETHOD. METHOD get_tor_types. et_tor_types = VALUE #( FOR <ls_tor_root> IN mt_tor_root WHERE ( tor_cat = /scmtms/if_tor_const=>sc_tor_category-freight_unit ) ( low = <ls_tor_root>-tor_type option = 'EQ' sign = 'I' ) ). ENDMETHOD. METHOD init_deliveries. CLEAR: mt_delivery_item. get_dlv_item_based_on_tor_root( CHANGING ct_delivery_item = mt_delivery_item ). get_dlv_item_based_on_tor_item( CHANGING ct_delivery_item = mt_delivery_item ). get_dlv_item_based_on_tor_stop( CHANGING ct_delivery_item = mt_delivery_item ). ENDMETHOD. ENDCLASS.
[ 31631, 1976, 565, 62, 70, 926, 62, 20730, 62, 310, 79, 62, 13165, 62, 36653, 5550, 20032, 17941, 198, 220, 44731, 198, 220, 29244, 6158, 44731, 764, 628, 220, 44731, 44513, 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, 5145, 270, 62, 13165, 62, 15763, 62, 82, 8841, 220, 220, 220, 220, 220, 220, 220, 41876, 1220, 1416, 16762, 907, 14, 83, 62, 368, 62, 2127, 62, 13165, 62, 15763, 198, 220, 220, 220, 220, 220, 220, 220, 5145, 270, 62, 13165, 62, 15763, 62, 19052, 62, 82, 8841, 41876, 1220, 1416, 16762, 907, 14, 83, 62, 368, 62, 2127, 62, 13165, 62, 15763, 198, 220, 220, 220, 220, 220, 220, 220, 5145, 270, 62, 13165, 62, 9186, 62, 82, 8841, 220, 220, 220, 220, 220, 220, 220, 41876, 1220, 1416, 16762, 907, 14, 83, 62, 368, 62, 2127, 62, 13165, 62, 9186, 198, 220, 220, 220, 220, 220, 220, 220, 5145, 270, 62, 13165, 62, 9186, 62, 19052, 62, 82, 8841, 41876, 1220, 1416, 16762, 907, 14, 83, 62, 368, 62, 2127, 62, 13165, 62, 9186, 198, 220, 220, 220, 220, 220, 220, 220, 5145, 270, 62, 13165, 62, 11338, 62, 82, 8841, 220, 220, 220, 220, 220, 220, 220, 41876, 1220, 1416, 16762, 907, 14, 83, 62, 368, 62, 2127, 62, 13165, 62, 11338, 198, 220, 220, 220, 220, 220, 220, 220, 5145, 270, 62, 13165, 62, 11338, 62, 29851, 62, 82, 8841, 220, 220, 41876, 1220, 1416, 16762, 907, 14, 83, 62, 368, 62, 2127, 62, 17946, 62, 29851, 764, 198, 220, 220, 220, 337, 36252, 50, 651, 62, 12381, 6315, 62, 23814, 198, 220, 220, 220, 220, 220, 30826, 4261, 15871, 198, 220, 220, 220, 220, 220, 220, 220, 26173, 8924, 7, 21062, 62, 12381, 1428, 444, 8, 41876, 4526, 37, 5390, 1366, 764, 198, 220, 48006, 9782, 1961, 44513, 13, 198, 220, 4810, 3824, 6158, 44513, 13, 628, 220, 220, 220, 42865, 45079, 62, 13165, 62, 15763, 41876, 1220, 1416, 16762, 907, 14, 83, 62, 368, 62, 2127, 62, 13165, 62, 15763, 764, 198, 220, 220, 220, 42865, 45079, 62, 13165, 62, 15763, 62, 19052, 41876, 1220, 1416, 16762, 907, 14, 83, 62, 368, 62, 2127, 62, 13165, 62, 15763, 764, 198, 220, 220, 220, 42865, 45079, 62, 13165, 62, 9186, 41876, 1220, 1416, 16762, 907, 14, 83, 62, 368, 62, 2127, 62, 13165, 62, 9186, 764, 198, 220, 220, 220, 42865, 45079, 62, 13165, 62, 9186, 62, 19052, 41876, 1220, 1416, 16762, 907, 14, 83, 62, 368, 62, 2127, 62, 13165, 62, 9186, 764, 198, 220, 220, 220, 42865, 45079, 62, 13165, 62, 11338, 41876, 1220, 1416, 16762, 907, 14, 83, 62, 368, 62, 2127, 62, 13165, 62, 11338, 764, 198, 220, 220, 220, 42865, 45079, 62, 13165, 62, 11338, 62, 19052, 41876, 1220, 1416, 16762, 907, 14, 83, 62, 368, 62, 2127, 62, 13165, 62, 11338, 764, 198, 220, 220, 220, 42865, 45079, 62, 13165, 62, 11338, 62, 29851, 41876, 1220, 1416, 16762, 907, 14, 83, 62, 368, 62, 2127, 62, 17946, 62, 29851, 764, 198, 220, 220, 220, 42865, 45079, 62, 40845, 62, 20942, 62, 4906, 41876, 1976, 361, 62, 70, 926, 62, 20730, 62, 310, 79, 62, 19199, 14804, 926, 62, 13165, 62, 4906, 764, 198, 220, 220, 220, 42865, 45079, 62, 12381, 1428, 444, 41876, 1976, 361, 62, 70, 926, 62, 20730, 62, 310, 79, 62, 19199, 14804, 926, 62, 12381, 6315, 764, 198, 220, 220, 220, 42865, 45079, 62, 12381, 6315, 62, 9186, 41876, 1976, 361, 62, 70, 926, 62, 20730, 62, 310, 79, 62, 19199, 14804, 926, 62, 12381, 6315, 62, 354, 782, 764, 628, 220, 220, 220, 337, 36252, 50, 751, 62, 12381, 6315, 62, 9186, 198, 220, 220, 220, 220, 220, 30023, 9863, 2751, 198, 220, 220, 220, 220, 220, 220, 220, 5145, 271, 62, 13165, 62, 15763, 220, 220, 220, 220, 220, 41876, 1220, 1416, 16762, 907, 14, 82, 62, 368, 62, 2127, 62, 13165, 62, 15763, 198, 220, 220, 220, 220, 220, 220, 220, 5145, 271, 62, 13165, 62, 9186, 220, 220, 220, 220, 220, 41876, 1220, 1416, 16762, 907, 14, 82, 62, 368, 62, 2127, 62, 13165, 62, 9186, 198, 220, 220, 220, 220, 220, 220, 220, 5145, 452, 62, 3803, 62, 14171, 220, 220, 41876, 1220, 65, 672, 69, 14, 10414, 62, 3803, 62, 14171, 198, 220, 220, 220, 220, 220, 5870, 15567, 2751, 198, 220, 220, 220, 220, 220, 220, 220, 5145, 310, 62, 12381, 6315, 62, 9186, 41876, 1976, 361, 62, 70, 926, 62, 20730, 62, 310, 79, 62, 19199, 14804, 926, 62, 12381, 6315, 62, 354, 782, 764, 198, 220, 220, 220, 337, 36252, 50, 751, 62, 12381, 6315, 62, 23814, 62, 1525, 62, 13165, 62, 15763, 198, 220, 220, 220, 220, 220, 30023, 9863, 2751, 198, 220, 220, 220, 220, 220, 220, 220, 5145, 271, 62, 13165, 62, 15763, 220, 220, 220, 220, 220, 41876, 1220, 1416, 16762, 907, 14, 82, 62, 368, 62, 2127, 62, 13165, 62, 15763, 198, 220, 220, 220, 220, 220, 220, 220, 5145, 452, 62, 3803, 62, 14171, 220, 220, 41876, 1220, 65, 672, 69, 14, 10414, 62, 3803, 62, 14171, 198, 220, 220, 220, 220, 220, 5870, 15567, 2751, 198, 220, 220, 220, 220, 220, 220, 220, 5145, 310, 62, 12381, 6315, 62, 9186, 41876, 1976, 361, 62, 70, 926, 62, 20730, 62, 310, 79, 62, 19199, 14804, 926, 62, 12381, 6315, 62, 354, 782, 764, 198, 220, 220, 220, 337, 36252, 50, 10385, 62, 67, 6780, 62, 17618, 198, 220, 220, 220, 220, 220, 30023, 9863, 2751, 198, 220, 220, 220, 220, 220, 220, 220, 5145, 452, 62, 67, 6780, 62, 22510, 220, 220, 220, 220, 41876, 537, 522, 198, 220, 220, 220, 220, 220, 30826, 4261, 15871, 198, 220, 220, 220, 220, 220, 220, 220, 26173, 8924, 7, 81, 85, 62, 85, 6667, 77, 8, 41876, 410, 6667, 77, 62, 19279, 764, 198, 220, 220, 220, 337, 36252, 50, 651, 62, 40845, 62, 20942, 62, 19199, 198, 220, 220, 220, 220, 220, 30826, 4261, 15871, 198, 220, 220, 220, 220, 220, 220, 220, 26173, 8924, 7 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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 ]
CLASS zcl_abapgit_xml_output DEFINITION PUBLIC INHERITING FROM zcl_abapgit_xml CREATE PUBLIC. PUBLIC SECTION. METHODS add IMPORTING !iv_name TYPE clike !ig_data TYPE any RAISING zcx_abapgit_exception . METHODS set_raw IMPORTING !ii_raw TYPE REF TO if_ixml_element . METHODS add_xml IMPORTING !iv_name TYPE clike !ii_xml TYPE REF TO if_ixml_element . METHODS build_asx_node RETURNING VALUE(ri_element) TYPE REF TO if_ixml_element . METHODS render IMPORTING !iv_normalize TYPE sap_bool DEFAULT abap_true !is_metadata TYPE zif_abapgit_definitions=>ty_metadata OPTIONAL RETURNING VALUE(rv_xml) TYPE string . PROTECTED SECTION. PRIVATE SECTION. DATA: mi_raw TYPE REF TO if_ixml_element. ENDCLASS. CLASS ZCL_ABAPGIT_XML_OUTPUT IMPLEMENTATION. METHOD add. DATA: li_node TYPE REF TO if_ixml_node, li_doc TYPE REF TO if_ixml_document, lt_stab TYPE abap_trans_srcbind_tab. FIELD-SYMBOLS: <ls_stab> LIKE LINE OF lt_stab. ASSERT NOT iv_name IS INITIAL. IF ig_data IS INITIAL. RETURN. ENDIF. APPEND INITIAL LINE TO lt_stab ASSIGNING <ls_stab>. <ls_stab>-name = iv_name. GET REFERENCE OF ig_data INTO <ls_stab>-value. li_doc = cl_ixml=>create( )->create_document( ). CALL TRANSFORMATION id OPTIONS initial_components = 'suppress' SOURCE (lt_stab) RESULT XML li_doc. li_node = mi_xml_doc->get_root( )->get_first_child( ). IF li_node IS BOUND. mi_xml_doc->get_root( )->get_first_child( )->get_first_child( )->append_child( li_doc->get_root( )->get_first_child( )->get_first_child( )->get_first_child( ) ). ELSE. mi_xml_doc->get_root( )->append_child( li_doc->get_root( )->get_first_child( ) ). ENDIF. ENDMETHOD. METHOD add_xml. DATA: li_element TYPE REF TO if_ixml_element. li_element = mi_xml_doc->create_element( iv_name ). li_element->append_child( ii_xml ). mi_xml_doc->get_root( )->get_first_child( )->get_first_child( )->append_child( li_element ). ENDMETHOD. METHOD build_asx_node. DATA: li_attr TYPE REF TO if_ixml_attribute. ri_element = mi_xml_doc->create_element_ns( name = 'abap' prefix = 'asx' ). li_attr = mi_xml_doc->create_attribute_ns( 'version' ). li_attr->if_ixml_node~set_value( '1.0' ). ri_element->set_attribute_node_ns( li_attr ). li_attr = mi_xml_doc->create_attribute_ns( name = 'asx' prefix = 'xmlns' ). li_attr->if_ixml_node~set_value( 'http://www.sap.com/abapxml' ). ri_element->set_attribute_node_ns( li_attr ). ENDMETHOD. METHOD render. DATA: li_git TYPE REF TO if_ixml_element, li_abap TYPE REF TO if_ixml_element. IF mi_raw IS INITIAL. li_abap ?= mi_xml_doc->get_root( )->get_first_child( ). mi_xml_doc->get_root( )->remove_child( li_abap ). IF li_abap IS INITIAL. li_abap = build_asx_node( ). ENDIF. ELSE. li_abap = mi_raw. ENDIF. li_git = mi_xml_doc->create_element( c_abapgit_tag ). li_git->set_attribute( name = c_attr_version value = zif_abapgit_version=>gc_xml_version ). IF NOT is_metadata IS INITIAL. li_git->set_attribute( name = c_attr_serializer value = is_metadata-class ). li_git->set_attribute( name = c_attr_serializer_version value = is_metadata-version ). ENDIF. li_git->append_child( li_abap ). mi_xml_doc->get_root( )->append_child( li_git ). rv_xml = to_xml( iv_normalize ). ENDMETHOD. METHOD set_raw. mi_raw = ii_raw. ENDMETHOD. ENDCLASS.
[ 31631, 1976, 565, 62, 397, 499, 18300, 62, 19875, 62, 22915, 5550, 20032, 17941, 198, 220, 44731, 198, 220, 3268, 16879, 2043, 2751, 16034, 1976, 565, 62, 397, 499, 18300, 62, 19875, 198, 220, 29244, 6158, 44731, 13, 628, 220, 44731, 44513, 13, 628, 220, 220, 220, 337, 36252, 50, 751, 198, 220, 220, 220, 220, 220, 30023, 9863, 2751, 198, 220, 220, 220, 220, 220, 220, 220, 5145, 452, 62, 3672, 41876, 537, 522, 198, 220, 220, 220, 220, 220, 220, 220, 5145, 328, 62, 7890, 41876, 597, 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, 900, 62, 1831, 198, 220, 220, 220, 220, 220, 30023, 9863, 2751, 198, 220, 220, 220, 220, 220, 220, 220, 5145, 4178, 62, 1831, 41876, 4526, 37, 5390, 611, 62, 844, 4029, 62, 30854, 764, 198, 220, 220, 220, 337, 36252, 50, 751, 62, 19875, 198, 220, 220, 220, 220, 220, 30023, 9863, 2751, 198, 220, 220, 220, 220, 220, 220, 220, 5145, 452, 62, 3672, 41876, 537, 522, 198, 220, 220, 220, 220, 220, 220, 220, 5145, 4178, 62, 19875, 220, 41876, 4526, 37, 5390, 611, 62, 844, 4029, 62, 30854, 764, 198, 220, 220, 220, 337, 36252, 50, 1382, 62, 292, 87, 62, 17440, 198, 220, 220, 220, 220, 220, 30826, 4261, 15871, 198, 220, 220, 220, 220, 220, 220, 220, 26173, 8924, 7, 380, 62, 30854, 8, 41876, 4526, 37, 5390, 611, 62, 844, 4029, 62, 30854, 764, 198, 220, 220, 220, 337, 36252, 50, 8543, 198, 220, 220, 220, 220, 220, 30023, 9863, 2751, 198, 220, 220, 220, 220, 220, 220, 220, 5145, 452, 62, 11265, 1096, 41876, 31841, 62, 30388, 5550, 38865, 450, 499, 62, 7942, 198, 220, 220, 220, 220, 220, 220, 220, 5145, 271, 62, 38993, 220, 41876, 1976, 361, 62, 397, 499, 18300, 62, 4299, 50101, 14804, 774, 62, 38993, 39852, 2849, 1847, 198, 220, 220, 220, 220, 220, 30826, 4261, 15871, 198, 220, 220, 220, 220, 220, 220, 220, 26173, 8924, 7, 81, 85, 62, 19875, 8, 41876, 4731, 764, 198, 220, 48006, 9782, 1961, 44513, 13, 198, 220, 4810, 3824, 6158, 44513, 13, 198, 220, 220, 220, 42865, 25, 21504, 62, 1831, 220, 41876, 4526, 37, 5390, 611, 62, 844, 4029, 62, 30854, 13, 198, 198, 10619, 31631, 13, 628, 198, 198, 31631, 1168, 5097, 62, 6242, 2969, 38, 2043, 62, 55, 5805, 62, 2606, 7250, 3843, 30023, 2538, 10979, 6234, 13, 628, 198, 220, 337, 36252, 751, 13, 628, 220, 220, 220, 42865, 25, 7649, 62, 17440, 41876, 4526, 37, 5390, 611, 62, 844, 4029, 62, 17440, 11, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 7649, 62, 15390, 220, 41876, 4526, 37, 5390, 611, 62, 844, 4029, 62, 22897, 11, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 300, 83, 62, 39029, 41876, 450, 499, 62, 7645, 62, 10677, 21653, 62, 8658, 13, 628, 220, 220, 220, 18930, 24639, 12, 23060, 10744, 3535, 50, 25, 1279, 7278, 62, 39029, 29, 34178, 48920, 3963, 300, 83, 62, 39029, 13, 628, 198, 220, 220, 220, 24994, 17395, 5626, 21628, 62, 3672, 3180, 3268, 2043, 12576, 13, 628, 220, 220, 220, 16876, 45329, 62, 7890, 3180, 3268, 2043, 12576, 13, 198, 220, 220, 220, 220, 220, 30826, 27064, 13, 198, 220, 220, 220, 23578, 5064, 13, 628, 220, 220, 220, 43504, 10619, 3268, 2043, 12576, 48920, 5390, 300, 83, 62, 39029, 24994, 3528, 15871, 1279, 7278, 62, 39029, 28401, 198, 220, 220, 220, 1279, 7278, 62, 39029, 29, 12, 3672, 796, 21628, 62, 3672, 13, 198, 220, 220, 220, 17151, 4526, 24302, 18310, 3963, 45329, 62, 7890, 39319, 1279, 7278, 62, 39029, 29, 12, 8367, 13, 628, 220, 220, 220, 7649, 62, 15390, 796, 537, 62, 844, 4029, 14804, 17953, 7, 1267, 3784, 17953, 62, 22897, 7, 6739, 628, 220, 220, 220, 42815, 44069, 35036, 4686, 198, 220, 220, 220, 220, 220, 39852, 11053, 4238, 62, 5589, 3906, 796, 705, 18608, 601, 6, 198, 220, 220, 220, 220, 220, 311, 31033, 357, 2528, 62, 39029, 8, 198, 220, 220, 220, 220, 220, 15731, 16724, 23735, 7649, 62, 15390, 13, 628, 220, 220, 220, 7649, 62, 17440, 796, 21504, 62, 19875, 62, 15390, 3784, 1136, 62, 15763, 7, 1267, 3784, 1136, 62, 11085, 62, 9410, 7, 6739, 198, 220, 220, 220, 16876, 7649, 62, 17440, 3180, 347, 15919, 13, 198, 220, 220, 220, 220, 220, 21504, 62, 19875, 62, 15390, 3784, 1136, 62, 15763, 7, 1267, 3784, 1136, 62, 11085, 62, 9410, 7, 1267, 3784, 1136, 62, 11085, 62, 9410, 7, 1267, 3784, 33295, 62, 9410, 7, 198, 220, 220, 220, 220, 220, 220, 220, 7649, 62, 15390, 3784, 1136, 62, 15763, 7, 1267, 3784, 1136, 62, 11085, 62, 9410, 7, 1267, 3784, 1136, 62, 11085, 62, 9410, 7, 1267, 3784, 1136, 62, 11085, 62, 9410, 7, 1267, 6739, 198, 220, 220, 220, 17852, 5188, 13, 198, 220, 220, 220, 220, 220, 21504, 62, 19875, 62, 15390, 3784, 1136, 62, 15763, 7, 1267, 3784, 33295, 62, 9410, 7, 7649, 62, 15390, 3784, 1136, 62, 15763, 7, 1267, 3784, 1136, 62, 11085, 62, 9410, 7, 1267, 6739, 198, 220, 220, 220, 23578, 5064, 13, 628, 220, 23578, 49273, 13, 628, 198, 220, 337, 36252, 751, 62, 19875, 13, 628, 220, 220, 220, 42865, 25, 7649, 62, 30854, 41876, 4526, 37, 5390, 611, 62, 844, 4029, 62, 30854, 13, 628, 220, 220, 220, 7649, 62, 30854, 796, 21504, 62, 19875, 62, 15390, 3784, 17953, 62, 30854, 7, 21628, 62, 3672, 6739, 198, 220, 220, 220, 7649, 62, 30854, 3784, 33295, 62, 9410, 7, 21065, 62, 19875, 6739, 628, 220, 220, 220, 21504, 62, 19875, 62, 15390, 3784, 1136, 62, 15763, 7, 1267, 3784, 1136, 62, 11085, 62, 9410, 7, 1267, 3784, 1136, 62, 11085, 62, 9410, 7, 1267, 3784, 33295, 62, 9410, 7, 7649, 62, 30854, 6739, 628, 220, 23578, 49273, 13, 628, 198, 220, 337, 36252, 1382, 62, 292, 87, 62, 17440, 13, 628, 220, 220, 220, 42865, 25, 7649, 62, 35226, 41876, 4526, 37, 5390, 611, 62, 844 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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 ]
"! <p class="shorttext synchronized" lang="en">Action: Create transport request (ABSTRACT)</p> CLASS zcl_tt_a_task_create_tr DEFINITION PUBLIC INHERITING FROM /bobf/cl_lib_a_supercl_simple ABSTRACT CREATE PUBLIC . PUBLIC SECTION. METHODS /bobf/if_frw_action~execute REDEFINITION . PROTECTED SECTION. METHODS get_tr_type ABSTRACT RETURNING VALUE(type) TYPE trfunction. METHODS read_project IMPORTING code TYPE ztt_project_code RETURNING VALUE(project) TYPE ztti_projects. PRIVATE SECTION. DATA: context TYPE /bobf/s_frw_ctx_act, read TYPE REF TO /bobf/if_frw_read, modify TYPE REF TO /bobf/if_frw_modify. METHODS create_request IMPORTING type TYPE trfunction task TYPE zstti_tasks RETURNING VALUE(new_request) TYPE trkorr RAISING zcx_tt_management. METHODS create_bo IMPORTING new_request TYPE trkorr task TYPE zstti_tasks error_after_creation TYPE abap_bool DEFAULT abap_false RETURNING VALUE(created_request) TYPE zttti_task_transport_request. ENDCLASS. CLASS zcl_tt_a_task_create_tr IMPLEMENTATION. METHOD /bobf/if_frw_action~execute. DATA: tasks TYPE zttti_tasks. context = is_ctx. read = io_read. modify = io_modify. io_read->retrieve( EXPORTING iv_node = is_ctx-node_key it_key = it_key IMPORTING et_data = tasks ). LOOP AT tasks INTO DATA(task). DATA(error_after_creation) = abap_false. TRY. DATA(new_request) = create_request( type = get_tr_type( ) task = task ). CATCH zcx_tt_after_req_creation INTO DATA(lx_after_req_creation). zcx_tt_management=>collect_bo_message( EXPORTING textid = lx_after_req_creation->if_t100_message~t100key text1 = lx_after_req_creation->text1 text2 = lx_after_req_creation->text2 text3 = lx_after_req_creation->text3 text4 = lx_after_req_creation->text4 message_type = 'W' node = is_ctx-node_key key = task-key CHANGING bo_messages = eo_message ). error_after_creation = abap_true. CATCH zcx_tt_management INTO DATA(lx_management). zcx_tt_management=>collect_bo_message( EXPORTING textid = lx_management->if_t100_message~t100key text1 = lx_management->text1 text2 = lx_management->text2 text3 = lx_management->text3 text4 = lx_management->text4 node = is_ctx-node_key key = task-key CHANGING bo_messages = eo_message ). INSERT VALUE #( key = task-key ) INTO TABLE et_failed_key. CONTINUE. ENDTRY. create_bo( new_request = new_request task = task error_after_creation = error_after_creation ). ENDLOOP. ENDMETHOD. METHOD create_request. DATA: users TYPE scts_users, attributes TYPE scts_attrs, new_request_header TYPE trwbo_request_header. DATA(project) = read_project( task-project_code ). DATA(request_copy_text) = CONV as4text( task-description ). IF task-functional_responsible IS NOT INITIAL. INSERT VALUE #( user = task-functional_responsible type = 'X' ) INTO TABLE users. ENDIF. IF task-technical_responsible IS NOT INITIAL. INSERT VALUE #( user = task-technical_responsible type = 'X' ) INTO TABLE users. ENDIF. attributes = COND #( WHEN project-cts_project IS NOT INITIAL THEN VALUE #( ( attribute = 'SAP_CTS_PROJECT' value = project-cts_project ) ) ). CALL FUNCTION 'TR_INSERT_REQUEST_WITH_TASKS' EXPORTING iv_type = type iv_text = request_copy_text iv_target = project-tr_target it_attributes = attributes it_users = users iv_with_badi_check = abap_true IMPORTING es_request_header = new_request_header EXCEPTIONS insert_failed = 1 enqueue_failed = 2 OTHERS = 3. IF sy-subrc <> 0. zcx_tt_management=>raise_syst( ). ENDIF. new_request = new_request_header-trkorr. ENDMETHOD. METHOD create_bo. DATA(copy_request) = VALUE zstti_task_transport_request( transport_request = new_request ). modify->create( EXPORTING iv_node = zif_tt_i_tasks_c=>sc_node-ztt_i_task_transport_request iv_assoc_key = zif_tt_i_tasks_c=>sc_association-ztt_i_tasks-_transportrequests iv_source_node_key = zif_tt_i_tasks_c=>sc_node-ztt_i_tasks iv_source_key = task-key is_data = REF #( copy_request ) IMPORTING ev_key = DATA(lv_key) ). IF lv_key IS NOT INITIAL. read->retrieve( EXPORTING iv_node = zif_tt_i_tasks_c=>sc_node-ztt_i_task_transport_request it_key = VALUE #( ( key = lv_key ) ) iv_before_image = abap_true IMPORTING et_data = created_request ). ENDIF. ENDMETHOD. METHOD read_project. SELECT SINGLE * INTO @project FROM ztt_projects WHERE code = @code. ENDMETHOD. ENDCLASS.
[ 40484, 1279, 79, 1398, 2625, 19509, 5239, 47192, 1, 42392, 2625, 268, 5320, 12502, 25, 13610, 4839, 2581, 357, 6242, 18601, 10659, 36475, 79, 29, 198, 31631, 1976, 565, 62, 926, 62, 64, 62, 35943, 62, 17953, 62, 2213, 5550, 20032, 17941, 198, 220, 44731, 198, 220, 3268, 16879, 2043, 2751, 16034, 1220, 65, 672, 69, 14, 565, 62, 8019, 62, 64, 62, 16668, 565, 62, 36439, 198, 220, 9564, 18601, 10659, 198, 220, 29244, 6158, 44731, 764, 628, 220, 44731, 44513, 13, 198, 220, 220, 220, 337, 36252, 50, 1220, 65, 672, 69, 14, 361, 62, 8310, 86, 62, 2673, 93, 41049, 198, 220, 220, 220, 220, 220, 220, 220, 23848, 36, 20032, 17941, 764, 628, 220, 48006, 9782, 1961, 44513, 13, 198, 220, 220, 220, 337, 36252, 50, 651, 62, 2213, 62, 4906, 9564, 18601, 10659, 198, 220, 220, 220, 220, 220, 30826, 4261, 15871, 198, 220, 220, 220, 220, 220, 220, 220, 26173, 8924, 7, 4906, 8, 41876, 491, 8818, 13, 628, 220, 220, 220, 337, 36252, 50, 1100, 62, 16302, 198, 220, 220, 220, 220, 220, 30023, 9863, 2751, 198, 220, 220, 220, 220, 220, 220, 220, 2438, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 41876, 1976, 926, 62, 16302, 62, 8189, 198, 220, 220, 220, 220, 220, 30826, 4261, 15871, 198, 220, 220, 220, 220, 220, 220, 220, 26173, 8924, 7, 16302, 8, 41876, 1976, 35671, 62, 42068, 13, 628, 220, 4810, 3824, 6158, 44513, 13, 198, 220, 220, 220, 42865, 25, 198, 220, 220, 220, 220, 220, 4732, 41876, 1220, 65, 672, 69, 14, 82, 62, 8310, 86, 62, 49464, 62, 529, 11, 198, 220, 220, 220, 220, 220, 1100, 220, 220, 220, 41876, 4526, 37, 5390, 1220, 65, 672, 69, 14, 361, 62, 8310, 86, 62, 961, 11, 198, 220, 220, 220, 220, 220, 13096, 220, 41876, 4526, 37, 5390, 1220, 65, 672, 69, 14, 361, 62, 8310, 86, 62, 4666, 1958, 13, 628, 220, 220, 220, 337, 36252, 50, 2251, 62, 25927, 198, 220, 220, 220, 220, 220, 30023, 9863, 2751, 198, 220, 220, 220, 220, 220, 220, 220, 2099, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 41876, 491, 8818, 198, 220, 220, 220, 220, 220, 220, 220, 4876, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 41876, 1976, 301, 20259, 62, 83, 6791, 198, 220, 220, 220, 220, 220, 30826, 4261, 15871, 198, 220, 220, 220, 220, 220, 220, 220, 26173, 8924, 7, 3605, 62, 25927, 8, 41876, 491, 74, 38890, 198, 220, 220, 220, 220, 220, 17926, 1797, 2751, 198, 220, 220, 220, 220, 220, 220, 220, 1976, 66, 87, 62, 926, 62, 27604, 13, 628, 220, 220, 220, 337, 36252, 50, 2251, 62, 2127, 198, 220, 220, 220, 220, 220, 30023, 9863, 2751, 198, 220, 220, 220, 220, 220, 220, 220, 649, 62, 25927, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 41876, 491, 74, 38890, 198, 220, 220, 220, 220, 220, 220, 220, 4876, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 41876, 1976, 301, 20259, 62, 83, 6791, 198, 220, 220, 220, 220, 220, 220, 220, 4049, 62, 8499, 62, 38793, 220, 220, 41876, 450, 499, 62, 30388, 5550, 38865, 450, 499, 62, 9562, 198, 220, 220, 220, 220, 220, 30826, 4261, 15871, 198, 220, 220, 220, 220, 220, 220, 220, 26173, 8924, 7, 25598, 62, 25927, 8, 41876, 1976, 926, 20259, 62, 35943, 62, 7645, 634, 62, 25927, 13, 198, 198, 10619, 31631, 13, 628, 198, 198, 31631, 1976, 565, 62, 926, 62, 64, 62, 35943, 62, 17953, 62, 2213, 30023, 2538, 10979, 6234, 13, 628, 198, 220, 337, 36252, 1220, 65, 672, 69, 14, 361, 62, 8310, 86, 62, 2673, 93, 41049, 13, 628, 220, 220, 220, 42865, 25, 8861, 41876, 1976, 926, 20259, 62, 83, 6791, 13, 628, 220, 220, 220, 4732, 796, 318, 62, 49464, 13, 198, 220, 220, 220, 1100, 220, 220, 220, 796, 33245, 62, 961, 13, 198, 220, 220, 220, 13096, 220, 796, 33245, 62, 4666, 1958, 13, 628, 220, 220, 220, 33245, 62, 961, 3784, 1186, 30227, 7, 7788, 15490, 2751, 21628, 62, 17440, 796, 318, 62, 49464, 12, 17440, 62, 2539, 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, 340, 62, 2539, 220, 796, 340, 62, 2539, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 30023, 9863, 2751, 2123, 62, 7890, 796, 8861, 6739, 628, 220, 220, 220, 17579, 3185, 5161, 8861, 39319, 42865, 7, 35943, 737, 628, 220, 220, 220, 220, 220, 42865, 7, 18224, 62, 8499, 62, 38793, 8, 796, 450, 499, 62, 9562, 13, 628, 220, 220, 220, 220, 220, 7579, 56, 13, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 42865, 7, 3605, 62, 25927, 8, 796, 2251, 62, 25927, 7, 2099, 220, 796, 651, 62, 2213, 62, 4906, 7, 1267, 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, 4876, 796, 4876, 6739, 198, 220, 220, 220, 220, 220, 220, 220, 327, 11417, 1976, 66, 87, 62, 926, 62, 8499, 62, 42180, 62, 38793, 39319, 42865, 7, 75, 87, 62, 8499, 62, 42180, 62, 38793, 737, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 1976, 66, 87, 62, 926, 62, 27604, 14804, 33327, 62, 2127, 62, 20500, 7, 7788, 15490, 2751, 2420, 312, 220, 220, 220, 220, 220, 220, 796, 300, 87, 62, 8499, 62, 42180, 62, 38793, 3784, 361, 62, 83, 3064, 62, 20500, 93, 83, 3064, 2539, 198, 220, 220, 220, 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 ]
*"* components of interface /IWBEP/IF_MGW_DP_FACADE interface /IWBEP/IF_MGW_DP_FACADE public . methods GET_REQUEST_HEADER returning value(RT_HEADER) type TIHTTPNVP . endinterface.
[ 9, 1, 9, 6805, 286, 7071, 1220, 40, 45607, 8905, 14, 5064, 62, 20474, 54, 62, 6322, 62, 37, 2246, 19266, 198, 39994, 1220, 40, 45607, 8905, 14, 5064, 62, 20474, 54, 62, 6322, 62, 37, 2246, 19266, 198, 220, 1171, 764, 628, 198, 220, 5050, 17151, 62, 2200, 35780, 62, 37682, 1137, 198, 220, 220, 220, 8024, 198, 220, 220, 220, 220, 220, 1988, 7, 14181, 62, 37682, 1137, 8, 2099, 31598, 40717, 45, 8859, 764, 198, 437, 39994, 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 ]
CLASS zcl_class_git_push_3 DEFINITION PUBLIC FINAL CREATE PUBLIC . PUBLIC SECTION. PROTECTED SECTION. PRIVATE SECTION. ENDCLASS. CLASS zcl_class_git_push_3 IMPLEMENTATION. ENDCLASS.
[ 31631, 1976, 565, 62, 4871, 62, 18300, 62, 14689, 62, 18, 5550, 20032, 17941, 198, 220, 44731, 198, 220, 25261, 198, 220, 29244, 6158, 44731, 764, 198, 198, 5105, 32936, 44513, 13, 198, 4805, 2394, 9782, 1961, 44513, 13, 198, 4805, 3824, 6158, 44513, 13, 198, 10619, 31631, 13, 628, 198, 198, 31631, 1976, 565, 62, 4871, 62, 18300, 62, 14689, 62, 18, 30023, 2538, 10979, 6234, 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 ]
CLASS zca_app DEFINITION PUBLIC ABSTRACT CREATE PRIVATE GLOBAL FRIENDS zcl_app_report zcl_app_dialog. PUBLIC SECTION. TYPES: BEGIN OF ts_customizing, app_type TYPE zapp_cust-app_type, app_name TYPE zapp_cust-app_name, class_name TYPE zapp_cust-class_name, message_class TYPE zapp_cust-message_class, program_name TYPE zapp_cust-program_name, END OF ts_customizing, tt_container TYPE TABLE OF REF TO zca_app_container, tt_dynpro_stack TYPE TABLE OF REF TO zcl_app_dynpro. CLASS-METHODS: get RETURNING VALUE(ro_result) TYPE REF TO zca_app. METHODS: call_screen IMPORTING iv_screen TYPE sydynnr, call_modal IMPORTING iv_screen TYPE sydynnr * iv_center TYPE abap_bool DEFAULT abap_true iv_x TYPE i DEFAULT 26 iv_y TYPE i DEFAULT 5, debug, get_dynpro RETURNING VALUE(ro_result) TYPE REF TO zcl_app_dynpro, on_table_right_click IMPORTING io_context TYPE REF TO cl_ctmenu, on_table_extension IMPORTING io_table TYPE REF TO zcl_app_container_table, on_table_double_click IMPORTING iv_row TYPE int4 iv_column TYPE string io_table TYPE REF TO zcl_app_container_table, on_table_link_click IMPORTING iv_row TYPE int4 iv_column TYPE string io_table TYPE REF TO zcl_app_container_table, on_table_added_function IMPORTING iv_function TYPE string io_table TYPE REF TO zcl_app_container_table, on_table_before_function IMPORTING iv_function TYPE string io_table TYPE REF TO zcl_app_container_table, on_table_after_function IMPORTING iv_function TYPE string io_table TYPE REF TO zcl_app_container_table, on_tree_after_function IMPORTING iv_function TYPE string io_tree TYPE REF TO zcl_app_container_tree, on_tree_before_function IMPORTING iv_function TYPE string io_tree TYPE REF TO zcl_app_container_tree, on_tree_added_function IMPORTING iv_function TYPE string io_tree TYPE REF TO zcl_app_container_tree, on_tree_checkbox_change IMPORTING iv_column TYPE string iv_checked TYPE abap_bool iv_node TYPE salv_de_node_key io_tree TYPE REF TO zcl_app_container_tree, on_tree_double_click IMPORTING iv_column TYPE string iv_node TYPE salv_de_node_key io_tree TYPE REF TO zcl_app_container_tree, on_tree_expand_empty_folder IMPORTING iv_node TYPE salv_de_node_key io_tree TYPE REF TO zcl_app_container_tree, on_tree_keypress IMPORTING iv_column TYPE string iv_key TYPE int4 iv_node TYPE salv_de_node_key io_tree TYPE REF TO zcl_app_container_tree, on_tree_link_click IMPORTING iv_column TYPE string iv_node TYPE salv_de_node_key io_tree TYPE REF TO zcl_app_container_tree, on_bar_close IMPORTING iv_id TYPE int4 io_bar TYPE REF TO zcl_app_container_bar, on_bar_click IMPORTING iv_id TYPE int4 io_container TYPE REF TO cl_gui_container io_bar TYPE REF TO zcl_app_container_bar, on_bar_empty IMPORTING io_bar TYPE REF TO zcl_app_container_bar, add_container IMPORTING io_container TYPE REF TO zca_app_container, get_container IMPORTING iv_name TYPE string RETURNING VALUE(ro_result) TYPE REF TO zca_app_container RAISING zcx_app, get_screen_resolution RETURNING VALUE(rs_result) TYPE cntl_metric_factors, get_message_class RETURNING VALUE(rv_result) TYPE ts_customizing-message_class, get_program_name RETURNING VALUE(rv_result) TYPE ts_customizing-program_name, get_class_name RETURNING VALUE(rv_result) TYPE ts_customizing-class_name, get_app_type RETURNING VALUE(rv_result) TYPE ts_customizing-app_type, get_app_name RETURNING VALUE(rv_result) TYPE ts_customizing-app_name, get_customizing RETURNING VALUE(rs_result) TYPE ts_customizing, on_pai ABSTRACT IMPORTING io_dynpro TYPE REF TO zcl_app_dynpro, on_pbo ABSTRACT IMPORTING io_dynpro TYPE REF TO zcl_app_dynpro, on_init ABSTRACT IMPORTING io_dynpro TYPE REF TO zcl_app_dynpro, on_poh ABSTRACT IMPORTING io_dynpro TYPE REF TO zcl_app_dynpro, on_pov ABSTRACT IMPORTING io_dynpro TYPE REF TO zcl_app_dynpro, init ABSTRACT, pai ABSTRACT, pbo ABSTRACT, poh ABSTRACT, pov ABSTRACT. PROTECTED SECTION. DATA: mo_dynpro TYPE REF TO zcl_app_dynpro, mt_dynpro_stack TYPE tt_dynpro_stack, mt_container TYPE tt_container. PRIVATE SECTION. CLASS-DATA: mo_app TYPE REF TO zca_app. CLASS-METHODS: create_app RAISING zcx_app, check_customizing RETURNING VALUE(rs_result) TYPE ts_customizing RAISING zcx_app. DATA: ms_customizing TYPE ts_customizing, mo_connector TYPE REF TO object. METHODS: connect_gui RAISING zcx_app, constructor IMPORTING is_customizing TYPE ts_customizing RAISING zcx_app. ENDCLASS. CLASS zca_app IMPLEMENTATION. METHOD debug. BREAK-POINT ID zapp_debug. ENDMETHOD. METHOD add_container. APPEND io_container TO mt_container. ENDMETHOD. METHOD call_modal. DATA lt_params TYPE abap_parmbind_tab. GET REFERENCE OF iv_screen INTO DATA(lr_screen). INSERT VALUE abap_parmbind( name = 'IV_SCREEN' kind = cl_abap_classdescr=>exporting value = lr_screen ) INTO TABLE lt_params. * GET REFERENCE OF iv_center INTO DATA(lr_center). * * INSERT VALUE abap_parmbind( * name = 'IV_CENTER' * kind = cl_abap_classdescr=>exporting * value = lr_center * ) INTO TABLE lt_params. GET REFERENCE OF iv_x INTO DATA(lr_x). INSERT VALUE abap_parmbind( name = 'IV_X' kind = cl_abap_classdescr=>exporting value = lr_x ) INTO TABLE lt_params. GET REFERENCE OF iv_y INTO DATA(lr_y). INSERT VALUE abap_parmbind( name = 'IV_Y' kind = cl_abap_classdescr=>exporting value = lr_y ) INTO TABLE lt_params. CALL METHOD mo_connector->('CALL_MODAL') PARAMETER-TABLE lt_params. ENDMETHOD. METHOD call_screen. DATA lt_params TYPE abap_parmbind_tab. GET REFERENCE OF iv_screen INTO DATA(lr_screen). INSERT VALUE abap_parmbind( name = 'IV_SCREEN' kind = cl_abap_classdescr=>exporting value = lr_screen ) INTO TABLE lt_params. CALL METHOD mo_connector->('CALL_SCREEN') PARAMETER-TABLE lt_params. ENDMETHOD. METHOD check_customizing. SELECT SINGLE app_type, app_name, class_name, message_class, program_name FROM zapp_cust INTO @rs_result WHERE program_name = @sy-cprog. IF sy-subrc <> 0. RAISE EXCEPTION TYPE zcx_app MESSAGE e000 WITH sy-cprog. ENDIF. IF rs_result-message_class IS INITIAL. RAISE EXCEPTION TYPE zcx_app MESSAGE e001. ENDIF. SELECT SINGLE arbgb FROM t100a INTO @DATA(lv_message_class) WHERE arbgb = @rs_result-message_class. IF sy-subrc <> 0. RAISE EXCEPTION TYPE zcx_app MESSAGE e002 WITH rs_result-message_class. ENDIF. IF rs_result-class_name IS INITIAL. RAISE EXCEPTION TYPE zcx_app MESSAGE e003. ENDIF. SELECT SINGLE clsname FROM seoclass INTO @DATA(lv_class_name) WHERE clsname = @rs_result-class_name. IF sy-subrc <> 0. RAISE EXCEPTION TYPE zcx_app MESSAGE e004 WITH rs_result-class_name. ENDIF. ENDMETHOD. METHOD connect_gui. DATA(lv_connect) = |({ ms_customizing-program_name })LCL_GUI_CONNECTOR=>CONNECTION|. ASSIGN (lv_connect) TO FIELD-SYMBOL(<connection>). IF <connection> IS NOT ASSIGNED OR <connection> = abap_false. RAISE EXCEPTION TYPE zcx_app MESSAGE a016. ENDIF. DATA lo_connector TYPE REF TO object. DATA(lv_type) = |\\PROGRAM={ ms_customizing-program_name }\\CLASS=LCL_GUI_CONNECTOR|. CREATE OBJECT mo_connector TYPE (lv_type) EXPORTING io_app = me. IF mo_connector IS NOT BOUND. RAISE EXCEPTION TYPE zcx_app MESSAGE a017. ENDIF. ENDMETHOD. METHOD constructor. ms_customizing = is_customizing. TRY. connect_gui( ). CATCH zcx_app INTO DATA(lx_error). RAISE EXCEPTION lx_error. ENDTRY. ENDMETHOD. METHOD create_app. TRY. DATA(ls_customizing) = check_customizing( ). CATCH zcx_app INTO DATA(lx_error). RAISE EXCEPTION lx_error. ENDTRY. CREATE OBJECT mo_app TYPE (ls_customizing-class_name) EXPORTING is_customizing = ls_customizing. mo_app->init( ). ENDMETHOD. METHOD get. IF mo_app IS NOT BOUND. TRY. create_app( ). CATCH zcx_app INTO DATA(lx_error). MESSAGE lx_error. ENDTRY. ENDIF. ro_result = mo_app. ENDMETHOD. METHOD get_app_name. rv_result = ms_customizing-app_name. ENDMETHOD. METHOD get_app_type. rv_result = ms_customizing-app_type. ENDMETHOD. METHOD get_class_name. rv_result = ms_customizing-class_name. ENDMETHOD. METHOD get_container. LOOP AT mt_container REFERENCE INTO DATA(lr_container). IF lr_container->*->mv_name = iv_name. ro_result = lr_container->*. EXIT. ENDIF. ENDLOOP. IF ro_result IS NOT BOUND. RAISE EXCEPTION TYPE zcx_app MESSAGE e000 WITH iv_name. ENDIF. ENDMETHOD. METHOD get_customizing. rs_result = ms_customizing. ENDMETHOD. METHOD get_dynpro. ro_result = mo_dynpro. ENDMETHOD. METHOD get_message_class. rv_result = ms_customizing-message_class. ENDMETHOD. METHOD get_program_name. rv_result = ms_customizing-program_name. ENDMETHOD. METHOD get_screen_resolution. DATA(lo_consumer) = cl_gui_props_consumer=>create_consumer( ). rs_result = lo_consumer->get_metric_factors( ). ENDMETHOD. METHOD on_bar_click. ENDMETHOD. METHOD on_bar_close. ENDMETHOD. METHOD on_bar_empty. ENDMETHOD. METHOD on_table_added_function. ENDMETHOD. METHOD on_table_after_function. ENDMETHOD. METHOD on_table_before_function. ENDMETHOD. METHOD on_table_double_click. ENDMETHOD. METHOD on_table_right_click. ENDMETHOD. METHOD on_table_extension. ENDMETHOD. METHOD on_table_link_click. ENDMETHOD. METHOD on_tree_added_function. ENDMETHOD. METHOD on_tree_after_function. ENDMETHOD. METHOD on_tree_before_function. ENDMETHOD. METHOD on_tree_checkbox_change. ENDMETHOD. METHOD on_tree_double_click. ENDMETHOD. METHOD on_tree_expand_empty_folder. ENDMETHOD. METHOD on_tree_keypress. ENDMETHOD. METHOD on_tree_link_click. ENDMETHOD. ENDCLASS.
[ 31631, 1976, 6888, 62, 1324, 5550, 20032, 17941, 198, 220, 44731, 198, 220, 9564, 18601, 10659, 198, 220, 29244, 6158, 4810, 3824, 6158, 198, 220, 10188, 9864, 1847, 48167, 1677, 5258, 1976, 565, 62, 1324, 62, 13116, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 1976, 565, 62, 1324, 62, 38969, 519, 13, 628, 220, 44731, 44513, 13, 198, 220, 220, 220, 24412, 47, 1546, 25, 347, 43312, 3963, 40379, 62, 23144, 2890, 11, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 598, 62, 4906, 220, 220, 220, 220, 220, 41876, 1976, 1324, 62, 66, 436, 12, 1324, 62, 4906, 11, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 598, 62, 3672, 220, 220, 220, 220, 220, 41876, 1976, 1324, 62, 66, 436, 12, 1324, 62, 3672, 11, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 1398, 62, 3672, 220, 220, 220, 41876, 1976, 1324, 62, 66, 436, 12, 4871, 62, 3672, 11, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 3275, 62, 4871, 41876, 1976, 1324, 62, 66, 436, 12, 20500, 62, 4871, 11, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 1430, 62, 3672, 220, 41876, 1976, 1324, 62, 66, 436, 12, 23065, 62, 3672, 11, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 23578, 3963, 40379, 62, 23144, 2890, 11, 628, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 256, 83, 62, 34924, 220, 220, 220, 41876, 43679, 3963, 4526, 37, 5390, 1976, 6888, 62, 1324, 62, 34924, 11, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 256, 83, 62, 67, 2047, 1676, 62, 25558, 41876, 43679, 3963, 4526, 37, 5390, 1976, 565, 62, 1324, 62, 67, 2047, 1676, 13, 628, 220, 220, 220, 42715, 12, 49273, 50, 25, 198, 220, 220, 220, 220, 220, 651, 198, 220, 220, 220, 220, 220, 220, 220, 30826, 4261, 15871, 26173, 8924, 7, 305, 62, 20274, 8, 41876, 4526, 37, 5390, 1976, 6888, 62, 1324, 13, 628, 220, 220, 220, 337, 36252, 50, 25, 198, 220, 220, 220, 220, 220, 869, 62, 9612, 198, 220, 220, 220, 220, 220, 220, 220, 30023, 9863, 2751, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 21628, 62, 9612, 41876, 827, 67, 2047, 48624, 11, 198, 220, 220, 220, 220, 220, 869, 62, 4666, 282, 198, 220, 220, 220, 220, 220, 220, 220, 30023, 9863, 2751, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 21628, 62, 9612, 41876, 827, 67, 2047, 48624, 198, 9, 220, 220, 220, 220, 220, 220, 220, 220, 220, 21628, 62, 16159, 41876, 450, 499, 62, 30388, 5550, 38865, 450, 499, 62, 7942, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 21628, 62, 87, 220, 220, 220, 220, 220, 41876, 1312, 5550, 38865, 2608, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 21628, 62, 88, 220, 220, 220, 220, 220, 41876, 1312, 5550, 38865, 642, 11, 198, 220, 220, 220, 220, 220, 14257, 11, 198, 220, 220, 220, 220, 220, 651, 62, 67, 2047, 1676, 198, 220, 220, 220, 220, 220, 220, 220, 30826, 4261, 15871, 26173, 8924, 7, 305, 62, 20274, 8, 41876, 4526, 37, 5390, 1976, 565, 62, 1324, 62, 67, 2047, 1676, 11, 198, 220, 220, 220, 220, 220, 319, 62, 11487, 62, 3506, 62, 12976, 198, 220, 220, 220, 220, 220, 220, 220, 30023, 9863, 2751, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 33245, 62, 22866, 41876, 4526, 37, 5390, 537, 62, 310, 26272, 11, 198, 220, 220, 220, 220, 220, 319, 62, 11487, 62, 2302, 3004, 198, 220, 220, 220, 220, 220, 220, 220, 30023, 9863, 2751, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 33245, 62, 11487, 41876, 4526, 37, 5390, 1976, 565, 62, 1324, 62, 34924, 62, 11487, 11, 198, 220, 220, 220, 220, 220, 319, 62, 11487, 62, 23352, 62, 12976, 198, 220, 220, 220, 220, 220, 220, 220, 30023, 9863, 2751, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 21628, 62, 808, 220, 220, 220, 41876, 493, 19, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 21628, 62, 28665, 41876, 4731, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 33245, 62, 11487, 220, 41876, 4526, 37, 5390, 1976, 565, 62, 1324, 62, 34924, 62, 11487, 11, 198, 220, 220, 220, 220, 220, 319, 62, 11487, 62, 8726, 62, 12976, 198, 220, 220, 220, 220, 220, 220, 220, 30023, 9863, 2751, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 21628, 62, 808, 220, 220, 220, 41876, 493, 19, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 21628, 62, 28665, 41876, 4731, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 33245, 62, 11487, 220, 41876, 4526, 37, 5390, 1976, 565, 62, 1324, 62, 34924, 62, 11487, 11, 198, 220, 220, 220, 220, 220, 319, 62, 11487, 62, 29373, 62, 8818, 198, 220, 220, 220, 220, 220, 220, 220, 30023, 9863, 2751, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 21628, 62, 8818, 41876, 4731, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 33245, 62, 11487, 220, 220, 220, 41876, 4526, 37, 5390, 1976, 565, 62, 1324, 62, 34924, 62, 11487, 11, 198, 220, 220, 220, 220, 220, 319, 62, 11487, 62, 19052, 62, 8818, 198, 220, 220, 220, 220, 220, 220, 220, 30023, 9863, 2751, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 21628, 62, 8818, 41876, 4731, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 33245, 62, 11487, 220, 220, 220, 41876, 4526, 37, 5390, 1976, 565, 62, 1324, 62, 34924, 62, 11487, 11, 198, 220, 220, 220, 220, 220, 319, 62, 11487, 62, 8499, 62, 8818, 198, 220, 220, 220, 220, 220, 220, 220, 30023, 9863, 2751, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 21628, 62, 8818, 41876, 4731, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 33245, 62, 11487, 220, 220, 220, 41876, 4526 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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 ]
CLASS zcl_abapgit_object_shma DEFINITION PUBLIC INHERITING FROM zcl_abapgit_objects_super FINAL. PUBLIC SECTION. INTERFACES zif_abapgit_object. PROTECTED SECTION. PRIVATE SECTION. ENDCLASS. CLASS zcl_abapgit_object_shma IMPLEMENTATION. METHOD zif_abapgit_object~changed_by. SELECT SINGLE chg_user FROM shma_attributes INTO rv_user WHERE area_name = ms_item-obj_name. IF sy-subrc <> 0. rv_user = c_user_unknown. ENDIF. ENDMETHOD. METHOD zif_abapgit_object~delete. " We can't use FM SHMA_DELETE_AREA because it depends " on the corresponding class, but in abapGit it has its own " lifecycle. Therefore we have to reimplement most of the " FMs logic CONSTANTS: lc_request_delete TYPE i VALUE 4. DATA: lv_request TYPE i, lv_area_name TYPE shm_area_name, lv_order TYPE e070-trkorr, lv_korrnum TYPE tadir-korrnum, lv_objname TYPE tadir-obj_name, lv_task TYPE e070-trkorr, lv_append TYPE abap_bool, ls_tadir TYPE tadir, ls_tdevc TYPE tdevc, lo_cts_if TYPE REF TO object. lv_area_name = ms_item-obj_name. TRY. CALL FUNCTION 'ENQUEUE_E_SHM_AREA' EXPORTING mode_shma_attributes = 'E' area_name = lv_area_name x_area_name = ' ' _scope = '2' _wait = ' ' _collect = ' ' EXCEPTIONS foreign_lock = 1 system_failure = 2 OTHERS = 3. IF sy-subrc <> 0. zcx_abapgit_exception=>raise_t100( ). ENDIF. CALL METHOD ('\PROGRAM=SAPMSHM_MONITOR\CLASS=LCL_SHMM')=>('FREE_AREA_BY_NAME') EXPORTING area_name = lv_area_name affect_server = cl_shm_area=>affect_all_servers. CREATE OBJECT lo_cts_if TYPE ('\FUNCTION-POOL=SHMA\CLASS=LCL_CTS_INTERFACE') EXPORTING area = lv_area_name. CALL METHOD lo_cts_if->('CHECK_AREA') EXPORTING request = lc_request_delete IMPORTING access_mode = lv_request appendable = lv_append. IF lv_request <> lc_request_delete. zcx_abapgit_exception=>raise( |Error deleting SHMA { ms_item-obj_name }| ). ENDIF. CALL METHOD lo_cts_if->('INSERT_AREA') EXPORTING request = lc_request_delete IMPORTING order = lv_order task = lv_task. DELETE FROM shma_attributes WHERE area_name = lv_area_name. DELETE FROM shma_start WHERE area_name = lv_area_name. lv_korrnum = lv_order. lv_objname = lv_area_name. CALL FUNCTION 'TR_TADIR_INTERFACE' EXPORTING wi_read_only = abap_true wi_tadir_pgmid = 'R3TR' wi_tadir_object = 'SHMA' wi_tadir_obj_name = lv_objname IMPORTING new_tadir_entry = ls_tadir EXCEPTIONS OTHERS = 0. CALL FUNCTION 'TR_DEVCLASS_GET' EXPORTING iv_devclass = ls_tadir-devclass IMPORTING es_tdevc = ls_tdevc EXCEPTIONS OTHERS = 1. IF sy-subrc = 0 AND ls_tdevc-korrflag IS INITIAL. " TADIR entries for local objects must be deleted 'by hand' CALL FUNCTION 'TR_TADIR_INTERFACE' EXPORTING wi_test_modus = abap_false wi_delete_tadir_entry = abap_true wi_tadir_pgmid = 'R3TR' wi_tadir_object = 'SHMA' wi_tadir_obj_name = lv_objname wi_tadir_korrnum = lv_korrnum EXCEPTIONS OTHERS = 0. ENDIF. CALL METHOD ('\PROGRAM=SAPLSHMA\CLASS=LCL_SHMA_HELPER')=>('DELETE_RUNTIME_SETTINGS') EXPORTING area_name = lv_area_name. CALL FUNCTION 'DEQUEUE_E_SHM_AREA' EXPORTING mode_shma_attributes = 'E' area_name = lv_area_name x_area_name = ' ' _scope = '3' _synchron = ' ' _collect = ' '. CATCH cx_root. zcx_abapgit_exception=>raise( |Error deleting SHMA { ms_item-obj_name }| ). ENDTRY. ENDMETHOD. METHOD zif_abapgit_object~deserialize. DATA: lv_area_name TYPE shm_area_name, ls_area_attributes TYPE shma_attributes. lv_area_name = ms_item-obj_name. io_xml->read( EXPORTING iv_name = 'AREA_ATTRIBUTES' CHANGING cg_data = ls_area_attributes ). tadir_insert( iv_package ). TRY. CALL METHOD ('\PROGRAM=SAPLSHMA\CLASS=LCL_SHMA_HELPER')=>('INSERT_AREA') EXPORTING area_name = lv_area_name attributes = ls_area_attributes force_overwrite = abap_true no_class_generation = abap_false silent_mode = abap_true. CATCH cx_root. zcx_abapgit_exception=>raise( |Error serializing SHMA { ms_item-obj_name }| ). ENDTRY. ENDMETHOD. METHOD zif_abapgit_object~exists. DATA: lv_area_name TYPE shm_area_name. SELECT SINGLE area_name FROM shma_attributes INTO lv_area_name WHERE area_name = ms_item-obj_name. rv_bool = boolc( sy-subrc = 0 ). ENDMETHOD. METHOD zif_abapgit_object~get_comparator. RETURN. ENDMETHOD. METHOD zif_abapgit_object~get_deserialize_steps. APPEND zif_abapgit_object=>gc_step_id-abap TO rt_steps. ENDMETHOD. METHOD zif_abapgit_object~get_metadata. rs_metadata = get_metadata( ). ENDMETHOD. METHOD zif_abapgit_object~is_active. rv_active = is_active( ). ENDMETHOD. METHOD zif_abapgit_object~is_locked. rv_is_locked = abap_false. ENDMETHOD. METHOD zif_abapgit_object~jump. DATA: ls_bcdata TYPE bdcdata, lt_bcdata TYPE STANDARD TABLE OF bdcdata. ls_bcdata-program = 'SAPLSHMA'. ls_bcdata-dynpro = '0100'. ls_bcdata-dynbegin = 'X'. APPEND ls_bcdata TO lt_bcdata. CLEAR ls_bcdata. ls_bcdata-fnam = 'SHMA_ATTRIBUTES-AREA_NAME'. ls_bcdata-fval = ms_item-obj_name. APPEND ls_bcdata TO lt_bcdata. CLEAR ls_bcdata. ls_bcdata-fnam = 'BDC_OKCODE'. ls_bcdata-fval = '=SHOW'. APPEND ls_bcdata TO lt_bcdata. CALL FUNCTION 'ABAP4_CALL_TRANSACTION' STARTING NEW TASK 'GIT' EXPORTING tcode = 'SHMA' mode_val = 'E' TABLES using_tab = lt_bcdata EXCEPTIONS OTHERS = 1. IF sy-subrc <> 0. zcx_abapgit_exception=>raise( 'error from ABAP4_CALL_TRANSACTION, SHMA' ). ENDIF. ENDMETHOD. METHOD zif_abapgit_object~serialize. DATA: lv_area_name TYPE shm_area_name, ls_area_attributes TYPE shma_attributes. lv_area_name = ms_item-obj_name. TRY. CALL METHOD ('\PROGRAM=SAPLSHMA\CLASS=LCL_SHMA_HELPER')=>('READ_AREA_ATTRIBUTES_ALL') EXPORTING area_name = lv_area_name IMPORTING area_attributes = ls_area_attributes. CLEAR: ls_area_attributes-chg_user, ls_area_attributes-chg_date, ls_area_attributes-chg_time, ls_area_attributes-cls_gen_user, ls_area_attributes-cls_gen_date, ls_area_attributes-cls_gen_time. io_xml->add( iv_name = 'AREA_ATTRIBUTES' ig_data = ls_area_attributes ). CATCH cx_root. zcx_abapgit_exception=>raise( |Error serializing SHMA { ms_item-obj_name }| ). ENDTRY. ENDMETHOD. ENDCLASS.
[ 31631, 1976, 565, 62, 397, 499, 18300, 62, 15252, 62, 1477, 2611, 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, 628, 220, 48006, 9782, 1961, 44513, 13, 198, 220, 4810, 3824, 6158, 44513, 13, 198, 10619, 31631, 13, 628, 198, 198, 31631, 1976, 565, 62, 397, 499, 18300, 62, 15252, 62, 1477, 2611, 30023, 2538, 10979, 6234, 13, 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, 442, 70, 62, 7220, 198, 220, 220, 220, 220, 220, 16034, 427, 2611, 62, 1078, 7657, 198, 220, 220, 220, 220, 220, 39319, 374, 85, 62, 7220, 198, 220, 220, 220, 220, 220, 33411, 1989, 62, 3672, 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, 33678, 13, 628, 220, 220, 220, 366, 775, 460, 470, 779, 18695, 6006, 5673, 62, 7206, 2538, 9328, 62, 12203, 32, 780, 340, 8338, 198, 220, 220, 220, 366, 319, 262, 11188, 1398, 11, 475, 287, 450, 499, 38, 270, 340, 468, 663, 898, 198, 220, 220, 220, 366, 3868, 47510, 13, 8447, 356, 423, 284, 21123, 26908, 749, 286, 262, 198, 220, 220, 220, 366, 376, 10128, 9156, 628, 220, 220, 220, 7102, 2257, 1565, 4694, 25, 300, 66, 62, 25927, 62, 33678, 41876, 1312, 26173, 8924, 604, 13, 628, 220, 220, 220, 42865, 25, 300, 85, 62, 25927, 220, 220, 41876, 1312, 11, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 300, 85, 62, 20337, 62, 3672, 41876, 427, 76, 62, 20337, 62, 3672, 11, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 300, 85, 62, 2875, 220, 220, 220, 220, 41876, 304, 43509, 12, 2213, 74, 38890, 11, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 300, 85, 62, 74, 38890, 22510, 220, 220, 41876, 36264, 343, 12, 74, 38890, 22510, 11, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 300, 85, 62, 26801, 3672, 220, 220, 41876, 36264, 343, 12, 26801, 62, 3672, 11, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 300, 85, 62, 35943, 220, 220, 220, 220, 220, 41876, 304, 43509, 12, 2213, 74, 38890, 11, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 300, 85, 62, 33295, 220, 220, 220, 41876, 450, 499, 62, 30388, 11, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 43979, 62, 83, 324, 343, 220, 220, 220, 220, 41876, 36264, 343, 11, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 43979, 62, 83, 7959, 66, 220, 220, 220, 220, 41876, 256, 7959, 66, 11, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 2376, 62, 310, 82, 62, 361, 220, 220, 220, 41876, 4526, 37, 5390, 2134, 13, 628, 220, 220, 220, 300, 85, 62, 20337, 62, 3672, 796, 13845, 62, 9186, 12, 26801, 62, 3672, 13, 628, 220, 220, 220, 7579, 56, 13, 198, 220, 220, 220, 220, 220, 220, 220, 42815, 29397, 4177, 2849, 705, 1677, 48, 8924, 8924, 62, 36, 62, 9693, 44, 62, 12203, 32, 6, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 7788, 15490, 2751, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 4235, 62, 1477, 2611, 62, 1078, 7657, 796, 705, 36, 6, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 1989, 62, 3672, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 796, 300, 85, 62, 20337, 62, 3672, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 2124, 62, 20337, 62, 3672, 220, 220, 220, 220, 220, 220, 220, 220, 220, 796, 705, 705, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 4808, 29982, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 796, 705, 17, 6, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 4808, 17077, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 796, 705, 705, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 4808, 33327, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 796, 705, 705, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 7788, 42006, 11053, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 3215, 62, 5354, 220, 220, 220, 220, 220, 220, 220, 220, 796, 352, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 1080, 62, 32165, 495, 220, 220, 220, 220, 220, 220, 796, 362, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 440, 4221, 4877, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 796, 513, 13, 628, 220, 220, 220, 220, 220, 220, 220, 16876, 827, 12, 7266, 6015, 1279, 29, 657, 13, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 1976, 66, 87, 62, 397, 499, 18300, 62, 1069, 4516, 14804, 40225, 62, 83, 3064, 7, 6739, 198, 220, 220, 220, 220, 220, 220, 220, 23578, 5064, 13, 628, 220, 220, 220, 220, 220, 220, 220, 42815, 337, 36252, 19203, 59, 4805, 7730, 24115, 28, 50, 2969, 5653, 36905, 62, 27857, 2043, 1581, 59, 31631, 28, 43, 5097, 62, 9693, 12038, 11537, 14804, 10786, 39274, 62, 12203, 32, 62, 17513, 62, 20608, 11537, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 7788, 15490, 2751, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 1989, 62, 3672, 220, 220, 220, 220, 796, 300, 85, 62, 20337, 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, 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M /bobf/cl_lib_d_supercl_simple FINAL CREATE PUBLIC . PUBLIC SECTION. METHODS /bobf/if_frw_determination~execute REDEFINITION. PROTECTED SECTION. "! <p class="shorttext synchronized" lang="en">Fill content</p> "! "! @parameter time_log | <p class="shorttext synchronized" lang="en">Time log</p> "! @raising cx_uuid_error | <p class="shorttext synchronized" lang="en">UUID Exception</p> METHODS fill CHANGING time_log TYPE zstti_task_time_log RAISING cx_uuid_error. PRIVATE SECTION. DATA: read TYPE REF TO /bobf/if_frw_read, context TYPE /bobf/s_frw_ctx_det. ENDCLASS. CLASS zcl_tt_d_task_tlog_at_creation IMPLEMENTATION. METHOD /bobf/if_frw_determination~execute. DATA: time_logs TYPE zttti_task_time_log. CLEAR: eo_message, et_failed_key. IF is_ctx-exectime <> /bobf/if_conf_c=>sc_time_after_modify. RAISE EXCEPTION TYPE /bobf/cx_lib EXPORTING textid = /bobf/cx_lib=>wrong_determination_time. ENDIF. eo_message = /bobf/cl_frw_factory=>get_message( ). io_read->retrieve( EXPORTING iv_node = is_ctx-node_key it_key = it_key IMPORTING et_data = time_logs ). read = io_read. context = is_ctx. LOOP AT time_logs INTO DATA(time_log) WHERE task_code IS INITIAL. TRY. fill( CHANGING time_log = time_log ). CATCH cx_uuid_error INTO DATA(lx_uuid_error). eo_message->add_exception( lx_uuid_error ). et_failed_key = it_key. RETURN. ENDTRY. io_modify->update( iv_node = is_ctx-node_key iv_key = time_log-key is_data = REF #( time_log ) ). ENDLOOP. ENDMETHOD. METHOD fill. DATA: tasks TYPE zttti_tasks. read->retrieve_by_association( EXPORTING iv_node = context-node_key it_key = VALUE #( ( key = time_log-key ) ) iv_association = zif_tt_i_tasks_c=>sc_association-ztt_i_task_time_log-to_parent iv_fill_data = abap_true IMPORTING et_data = tasks ). DATA(task) = tasks[ 1 ]. time_log-task_code = task-code. time_log-project_code = task-project_code. time_log-code = cl_system_uuid=>create_uuid_c32_static( ). ENDMETHOD. ENDCLASS.
[ 40484, 1279, 79, 1398, 2625, 19509, 5239, 47192, 1, 42392, 2625, 268, 5320, 35, 29610, 25, 15941, 640, 2604, 379, 6282, 3556, 79, 29, 198, 31631, 1976, 565, 62, 926, 62, 67, 62, 35943, 62, 83, 6404, 62, 265, 62, 38793, 5550, 20032, 17941, 198, 220, 44731, 198, 220, 3268, 16879, 2043, 2751, 16034, 1220, 65, 672, 69, 14, 565, 62, 8019, 62, 67, 62, 16668, 565, 62, 36439, 198, 220, 25261, 198, 220, 29244, 6158, 44731, 764, 628, 220, 44731, 44513, 13, 198, 220, 220, 220, 337, 36252, 50, 1220, 65, 672, 69, 14, 361, 62, 8310, 86, 62, 40869, 93, 41049, 198, 220, 220, 220, 220, 220, 220, 220, 23848, 36, 20032, 17941, 13, 628, 220, 48006, 9782, 1961, 44513, 13, 198, 220, 220, 220, 366, 0, 1279, 79, 1398, 2625, 19509, 5239, 47192, 1, 42392, 2625, 268, 5320, 33762, 2695, 3556, 79, 29, 198, 220, 220, 220, 366, 0, 198, 220, 220, 220, 366, 0, 2488, 17143, 2357, 640, 62, 6404, 930, 1279, 79, 1398, 2625, 19509, 5239, 47192, 1, 42392, 2625, 268, 5320, 7575, 2604, 3556, 79, 29, 198, 220, 220, 220, 366, 0, 2488, 32741, 43213, 62, 12303, 312, 62, 18224, 930, 1279, 79, 1398, 2625, 19509, 5239, 47192, 1, 42392, 2625, 268, 5320, 52, 27586, 35528, 3556, 79, 29, 198, 220, 220, 220, 337, 36252, 50, 6070, 198, 220, 220, 220, 220, 220, 5870, 15567, 2751, 198, 220, 220, 220, 220, 220, 220, 220, 640, 62, 6404, 41876, 1976, 301, 20259, 62, 35943, 62, 2435, 62, 6404, 198, 220, 220, 220, 220, 220, 17926, 1797, 2751, 198, 220, 220, 220, 220, 220, 220, 220, 43213, 62, 12303, 312, 62, 18224, 13, 628, 220, 4810, 3824, 6158, 44513, 13, 198, 220, 220, 220, 42865, 25, 198, 220, 220, 220, 220, 220, 1100, 220, 220, 220, 41876, 4526, 37, 5390, 1220, 65, 672, 69, 14, 361, 62, 8310, 86, 62, 961, 11, 198, 220, 220, 220, 220, 220, 4732, 41876, 1220, 65, 672, 69, 14, 82, 62, 8310, 86, 62, 49464, 62, 15255, 13, 198, 198, 10619, 31631, 13, 628, 198, 198, 31631, 1976, 565, 62, 926, 62, 67, 62, 35943, 62, 83, 6404, 62, 265, 62, 38793, 30023, 2538, 10979, 6234, 13, 628, 198, 220, 337, 36252, 1220, 65, 672, 69, 14, 361, 62, 8310, 86, 62, 40869, 93, 41049, 13, 628, 220, 220, 220, 42865, 25, 640, 62, 6404, 82, 41876, 1976, 926, 20259, 62, 35943, 62, 2435, 62, 6404, 13, 628, 220, 220, 220, 30301, 1503, 25, 304, 78, 62, 20500, 11, 2123, 62, 47904, 62, 2539, 13, 628, 220, 220, 220, 16876, 318, 62, 49464, 12, 1069, 478, 524, 1279, 29, 1220, 65, 672, 69, 14, 361, 62, 10414, 62, 66, 14804, 1416, 62, 2435, 62, 8499, 62, 4666, 1958, 13, 198, 220, 220, 220, 220, 220, 17926, 24352, 7788, 42006, 2849, 41876, 1220, 65, 672, 69, 14, 66, 87, 62, 8019, 198, 220, 220, 220, 220, 220, 220, 220, 7788, 15490, 2751, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 2420, 312, 796, 1220, 65, 672, 69, 14, 66, 87, 62, 8019, 14804, 36460, 62, 40869, 62, 2435, 13, 198, 220, 220, 220, 23578, 5064, 13, 628, 220, 220, 220, 304, 78, 62, 20500, 796, 1220, 65, 672, 69, 14, 565, 62, 8310, 86, 62, 69, 9548, 14804, 1136, 62, 20500, 7, 6739, 628, 220, 220, 220, 33245, 62, 961, 3784, 1186, 30227, 7, 7788, 15490, 2751, 21628, 62, 17440, 796, 318, 62, 49464, 12, 17440, 62, 2539, 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, 340, 62, 2539, 220, 796, 340, 62, 2539, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 30023, 9863, 2751, 2123, 62, 7890, 796, 640, 62, 6404, 82, 6739, 628, 220, 220, 220, 1100, 796, 33245, 62, 961, 13, 198, 220, 220, 220, 4732, 796, 318, 62, 49464, 13, 628, 220, 220, 220, 17579, 3185, 5161, 640, 62, 6404, 82, 39319, 42865, 7, 2435, 62, 6404, 8, 33411, 4876, 62, 8189, 3180, 3268, 2043, 12576, 13, 628, 220, 220, 220, 220, 220, 7579, 56, 13, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 6070, 7, 5870, 15567, 2751, 640, 62, 6404, 796, 640, 62, 6404, 6739, 198, 220, 220, 220, 220, 220, 220, 220, 327, 11417, 43213, 62, 12303, 312, 62, 18224, 39319, 42865, 7, 75, 87, 62, 12303, 312, 62, 18224, 737, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 304, 78, 62, 20500, 3784, 2860, 62, 1069, 4516, 7, 300, 87, 62, 12303, 312, 62, 18224, 6739, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 2123, 62, 47904, 62, 2539, 796, 340, 62, 2539, 13, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 30826, 27064, 13, 198, 220, 220, 220, 220, 220, 23578, 40405, 13, 628, 220, 220, 220, 220, 220, 33245, 62, 4666, 1958, 3784, 19119, 7, 21628, 62, 17440, 796, 318, 62, 49464, 12, 17440, 62, 2539, 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, 21628, 62, 2539, 220, 796, 640, 62, 6404, 12, 2539, 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, 318, 62, 7890, 796, 4526, 37, 1303, 7, 640, 62, 6404, 1267, 6739, 628, 220, 220, 220, 23578, 21982, 3185, 13, 628, 220, 23578, 49273, 13, 628, 198, 220, 337, 36252, 6070, 13, 628, 220, 220, 220, 42865, 25, 8861, 41876, 1976, 926, 20259, 62, 83, 6791, 13, 628, 220, 220, 220, 1100, 3784, 1186, 30227, 62, 1525, 62, 562, 41003, 7, 198, 220, 220, 220, 220, 220, 7788, 15490, 2751, 21628, 62, 17440, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 796, 4732, 12, 17440, 62, 2539, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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 ]
class ZCX_SAT_ADT_ERROR definition public inheriting from ZCX_SAT_APPLICATION_EXC create public . public section. methods CONSTRUCTOR importing !TEXTID like IF_T100_MESSAGE=>T100KEY optional !PREVIOUS like PREVIOUS optional !MSGV1 type SY-MSGV1 optional !MSGV2 type SY-MSGV2 optional !MSGV3 type SY-MSGV3 optional !MSGV4 type SY-MSGV4 optional . class-methods RAISE_ADT_ERROR_FROM_SY raising ZCX_SAT_ADT_ERROR . class-methods RAISE_ADT_ERROR_WITH_TEXT importing !IV_TEXT type STRING raising ZCX_SAT_ADT_ERROR . protected section. private section. ENDCLASS. CLASS ZCX_SAT_ADT_ERROR IMPLEMENTATION. method CONSTRUCTOR. CALL METHOD SUPER->CONSTRUCTOR EXPORTING PREVIOUS = PREVIOUS MSGV1 = MSGV1 MSGV2 = MSGV2 MSGV3 = MSGV3 MSGV4 = MSGV4 . clear me->textid. if textid is initial. IF_T100_MESSAGE~T100KEY = IF_T100_MESSAGE=>DEFAULT_TEXTID. else. IF_T100_MESSAGE~T100KEY = TEXTID. endif. endmethod. METHOD raise_adt_error_from_sy. RAISE EXCEPTION TYPE zcx_sat_adt_error EXPORTING textid = VALUE scx_t100key( msgid = sy-msgid msgno = sy-msgno attr1 = 'ATTR1' attr2 = 'ATTR2' attr3 = 'ATTR3' attr4 = 'ATTR4' ) msgv1 = sy-msgv1 msgv2 = sy-msgv2 msgv3 = sy-msgv3 msgv4 = sy-msgv4. ENDMETHOD. METHOD raise_adt_error_with_text. zcl_sat_message_helper=>split_string_for_message( EXPORTING iv_string = iv_text IMPORTING ev_msgv1 = DATA(lv_msgv1) ev_msgv2 = DATA(lv_msgv2) ev_msgv3 = DATA(lv_msgv3) ev_msgv4 = DATA(lv_msgv4) ). RAISE EXCEPTION TYPE zcx_sat_adt_error EXPORTING textid = general_error msgv1 = lv_msgv1 msgv2 = lv_msgv2 msgv3 = lv_msgv3 msgv4 = lv_msgv4. ENDMETHOD. ENDCLASS.
[ 4871, 1168, 34, 55, 62, 50, 1404, 62, 2885, 51, 62, 24908, 6770, 198, 220, 1171, 198, 220, 10639, 1780, 422, 1168, 34, 55, 62, 50, 1404, 62, 2969, 31484, 6234, 62, 6369, 34, 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, 198, 220, 220, 220, 220, 220, 5145, 5653, 37094, 16, 2099, 19704, 12, 5653, 37094, 16, 11902, 198, 220, 220, 220, 220, 220, 5145, 5653, 37094, 17, 2099, 19704, 12, 5653, 37094, 17, 11902, 198, 220, 220, 220, 220, 220, 5145, 5653, 37094, 18, 2099, 19704, 12, 5653, 37094, 18, 11902, 198, 220, 220, 220, 220, 220, 5145, 5653, 37094, 19, 2099, 19704, 12, 5653, 37094, 19, 11902, 764, 198, 220, 1398, 12, 24396, 82, 17926, 24352, 62, 2885, 51, 62, 24908, 62, 10913, 2662, 62, 23060, 198, 220, 220, 220, 8620, 198, 220, 220, 220, 220, 220, 1168, 34, 55, 62, 50, 1404, 62, 2885, 51, 62, 24908, 764, 198, 220, 1398, 12, 24396, 82, 17926, 24352, 62, 2885, 51, 62, 24908, 62, 54, 10554, 62, 32541, 198, 220, 220, 220, 33332, 198, 220, 220, 220, 220, 220, 5145, 3824, 62, 32541, 2099, 19269, 2751, 198, 220, 220, 220, 8620, 198, 220, 220, 220, 220, 220, 1168, 34, 55, 62, 50, 1404, 62, 2885, 51, 62, 24908, 764, 198, 24326, 2665, 13, 198, 19734, 2665, 13, 198, 10619, 31631, 13, 628, 198, 198, 31631, 1168, 34, 55, 62, 50, 1404, 62, 2885, 51, 62, 24908, 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, 5653, 37094, 16, 796, 6579, 37094, 16, 198, 5653, 37094, 17, 796, 6579, 37094, 17, 198, 5653, 37094, 18, 796, 6579, 37094, 18, 198, 5653, 37094, 19, 796, 6579, 37094, 19, 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, 628, 198, 220, 337, 36252, 5298, 62, 324, 83, 62, 18224, 62, 6738, 62, 1837, 13, 198, 220, 220, 220, 17926, 24352, 7788, 42006, 2849, 41876, 1976, 66, 87, 62, 49720, 62, 324, 83, 62, 18224, 198, 220, 220, 220, 220, 220, 7788, 15490, 2751, 198, 220, 220, 220, 220, 220, 220, 220, 2420, 312, 220, 220, 220, 220, 220, 220, 220, 220, 796, 26173, 8924, 629, 87, 62, 83, 3064, 2539, 7, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 31456, 312, 796, 827, 12, 19662, 312, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 31456, 3919, 796, 827, 12, 19662, 3919, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 708, 81, 16, 796, 705, 1404, 5446, 16, 6, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 708, 81, 17, 796, 705, 1404, 5446, 17, 6, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 708, 81, 18, 796, 705, 1404, 5446, 18, 6, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 708, 81, 19, 796, 705, 1404, 5446, 19, 6, 1267, 198, 220, 220, 220, 220, 220, 220, 220, 31456, 85, 16, 220, 220, 220, 220, 220, 220, 220, 220, 220, 796, 827, 12, 19662, 85, 16, 198, 220, 220, 220, 220, 220, 220, 220, 31456, 85, 17, 220, 220, 220, 220, 220, 220, 220, 220, 220, 796, 827, 12, 19662, 85, 17, 198, 220, 220, 220, 220, 220, 220, 220, 31456, 85, 18, 220, 220, 220, 220, 220, 220, 220, 220, 220, 796, 827, 12, 19662, 85, 18, 198, 220, 220, 220, 220, 220, 220, 220, 31456, 85, 19, 220, 220, 220, 220, 220, 220, 220, 220, 220, 796, 827, 12, 19662, 85, 19, 13, 198, 220, 23578, 49273, 13, 628, 198, 220, 337, 36252, 5298, 62, 324, 83, 62, 18224, 62, 4480, 62, 5239, 13, 198, 220, 220, 220, 1976, 565, 62, 49720, 62, 20500, 62, 2978, 525, 14804, 35312, 62, 8841, 62, 1640, 62, 20500, 7, 198, 220, 220, 220, 220, 220, 7788, 15490, 2751, 198, 220, 220, 220, 220, 220, 220, 220, 21628, 62, 8841, 796, 21628, 62, 5239, 198, 220, 220, 220, 220, 220, 30023, 9863, 2751, 198, 220, 220, 220, 220, 220, 220, 220, 819, 62, 19662, 85, 16, 220, 796, 42865, 7, 6780, 62, 19662, 85, 16, 8, 198, 220, 220, 220, 220, 220, 220, 220, 819, 62, 19662, 85, 17, 220, 796, 42865, 7, 6780, 62, 19662, 85, 17, 8, 198, 220, 220, 220, 220, 220, 220, 220, 819, 62, 19662, 85, 18, 220, 796, 42865, 7, 6780, 62, 19662, 85, 18, 8, 198, 220, 220, 220, 220, 220, 220, 220, 819, 62, 19662, 85, 19, 220, 796, 42865, 7, 6780, 62, 19662, 85, 19, 8, 198, 220, 220, 220, 6739, 628, 220, 220, 220, 17926, 24352, 7788, 42006, 2849, 41876, 1976, 66, 87, 62, 49720, 62, 324, 83, 62, 18224, 198, 220, 220, 220, 220, 220, 7788, 15490, 2751, 198, 220, 220, 220, 220, 220, 220, 220, 2420, 312, 220, 220, 220, 220, 220, 220, 220, 220, 796, 2276, 62, 18224, 198, 220, 220, 220, 220, 220, 220, 220, 31456, 85, 16, 220, 220, 220, 220, 220, 220, 220, 220, 220, 796, 300, 85, 62, 19662, 85, 16, 198, 220, 220, 220, 220, 220, 220, 220, 31456, 85, 17, 220, 220, 220, 220, 220, 220, 220, 220, 220, 796, 300, 85, 62, 19662, 85, 17, 198, 220, 220, 220, 220, 220, 220, 220, 31456, 85, 18, 220, 220, 220, 220, 220 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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 ]
"! <strong>Interface for Flight Legacy Coding</strong><br/> "! Every used structure or table type needed in the API Function Modules "! will be defined here. INTERFACE /dmo/if_flight_legacy10 PUBLIC. *********************** * Version information * *********************** CONSTANTS co_version_major TYPE int2 VALUE 2. CONSTANTS co_version_minor TYPE int2 VALUE 0. " Please do NOT delete old comments " Version x.x Date xx.xx.xxxx Description ... " 0.9 25.07.2018 More or less ready! " 0.91 02.08.2018 Derivations and checks for price / currency " Documentation " 0.92 03.08.2018 Commented out locking " 0.93 09.08.2018 Data Generator Bug Fix; Description searchable short string " 0.94 24.08.2018 Minor corrections " 0.95 07.09.2018 Derivation of Total Price, minor corrections " 0.96 17.09.2018 Performance DELETE " 0.961 18.09.2018 Removed += " 0.962 18.09.2018 Removed ABAPDoc from FuBa, Switched Function Group to Unicode " 1.00 27.09.2018 No real change, only release " 1.01 28.09.2018 Minor text adjustments " 1.02 22.10.2018 Data generator adjustment " Unit Test moved from function group into separate ABAP class " 2.00 05.03.2019 Added ReadOnly and Unmanaged Content " Added AMDP class with Currency Conversion " (Re-)Added ABAPDoc to FuBa ****************************** * Database table table types * ****************************** "! Table type of the table /DMO/TRAVEL10 TYPES tt_travel TYPE SORTED TABLE OF /dmo/travel10 WITH UNIQUE KEY travel_id. "! Table type of the table /DMO/BOOKING10 TYPES tt_booking TYPE SORTED TABLE OF /dmo/booking10 WITH UNIQUE KEY travel_id booking_id. "! Table type of the table /DMO/BOOK_SUP_10 TYPES tt_booking_supplement TYPE SORTED TABLE OF /dmo/book_sup_10 WITH UNIQUE KEY travel_id booking_id booking_supplement_id. "! Table type of the table /DMO/FLIGHT10 TYPES tt_flight TYPE STANDARD TABLE OF /dmo/flight10 WITH KEY client carrier_id connection_id flight_date. ****************** * Key structures * ****************** "! Key structure of Travel TYPES BEGIN OF ts_travel_key. TYPES travel_id TYPE /dmo/travel_id10. TYPES END OF ts_travel_key. "! Table type that contains only the keys of Travel TYPES tt_travel_key TYPE SORTED TABLE OF ts_travel_key WITH UNIQUE KEY travel_id. "! Key structure of Booking TYPES BEGIN OF ts_booking_key. INCLUDE TYPE ts_travel_key. TYPES booking_id TYPE /dmo/booking_id10. TYPES END OF ts_booking_key. "! Table type that contains only the keys of Booking TYPES tt_booking_key TYPE SORTED TABLE OF ts_booking_key WITH UNIQUE KEY travel_id booking_id. "! Key structure of Booking Supplements TYPES BEGIN OF ts_booking_supplement_key. INCLUDE TYPE ts_booking_key. TYPES booking_supplement_id TYPE /dmo/booking_supplement_id10. TYPES END OF ts_booking_supplement_key. "! Table type that contains only the keys of Booking Supplements TYPES tt_booking_supplement_key TYPE SORTED TABLE OF ts_booking_supplement_key WITH UNIQUE KEY travel_id booking_id booking_supplement_id. *********************************************************************************************************************************** * Flag structures for data components * * IMPORTANT: When you add or remove fields from /DMO/TRAVEL10, /DMO/BOOKING10, /DMO/BOOK_SUP_10 you need to change the following types * *********************************************************************************************************************************** TYPES: "! <strong>Flag structure for Travel data. </strong><br/> "! Each component identifies if the corresponding data has been changed. "! Where <em>abap_true</em> represents a change. BEGIN OF ts_travel_intx, agency_id TYPE abap_bool, customer_id TYPE abap_bool, begin_date TYPE abap_bool, end_date TYPE abap_bool, booking_fee TYPE abap_bool, total_price TYPE abap_bool, currency_code TYPE abap_bool, description TYPE abap_bool, status TYPE abap_bool, END OF ts_travel_intx. TYPES: "! <strong>Flag structure for Booking data. </strong><br/> "! Each component identifies if the corresponding data has been changed. "! Where <em>abap_true</em> represents a change. BEGIN OF ts_booking_intx, booking_date TYPE abap_bool, customer_id TYPE abap_bool, carrier_id TYPE abap_bool, connection_id TYPE abap_bool, flight_date TYPE abap_bool, flight_price TYPE abap_bool, currency_code TYPE abap_bool, END OF ts_booking_intx. TYPES: "! <strong>Flag structure for Booking Supplement data. </strong><br/> "! Each component identifies if the corresponding data has been changed. "! Where <em>abap_true</em> represents a change. BEGIN OF ts_booking_supplement_intx, supplement_id TYPE abap_bool, price TYPE abap_bool, currency_code TYPE abap_bool, END OF ts_booking_supplement_intx. ********************************************************************** * Internal ********************************************************************** " Internally we use the full X-structures: With complete key and action code TYPES BEGIN OF ts_travelx. INCLUDE TYPE ts_travel_key. TYPES action_code TYPE /dmo/action_code10. INCLUDE TYPE ts_travel_intx. TYPES END OF ts_travelx. TYPES: tt_travelx TYPE SORTED TABLE OF ts_travelx WITH UNIQUE KEY travel_id. TYPES BEGIN OF ts_bookingx. INCLUDE TYPE ts_booking_key. TYPES action_code TYPE /dmo/action_code10. INCLUDE TYPE ts_booking_intx. TYPES END OF ts_bookingx. TYPES: tt_bookingx TYPE SORTED TABLE OF ts_bookingx WITH UNIQUE KEY travel_id booking_id. TYPES BEGIN OF ts_booking_supplementx. INCLUDE TYPE ts_booking_supplement_key. TYPES action_code TYPE /dmo/action_code10. INCLUDE TYPE ts_booking_supplement_intx. TYPES END OF ts_booking_supplementx. TYPES: tt_booking_supplementx TYPE SORTED TABLE OF ts_booking_supplementx WITH UNIQUE KEY travel_id booking_id booking_supplement_id. ********* * ENUMs * ********* TYPES: "! Action codes for CUD Operations "! <ul> "! <li><em>create</em> = create a node</li> "! <li><em>update</em> = update a node</li> "! <li><em>delete</em> = delete a node</li> "! </ul> BEGIN OF ENUM action_code_enum STRUCTURE action_code BASE TYPE /dmo/action_code10, initial VALUE IS INITIAL, create VALUE 'C', update VALUE 'U', delete VALUE 'D', END OF ENUM action_code_enum STRUCTURE action_code. TYPES: "! Travel Stati "! <ul> "! <li><em>New</em> = New Travel</li> "! <li><em>Planned</em> = Planned Travel</li> "! <li><em>Booked</em> = Booked Travel</li> "! <li><em>Cancelled</em> = Cancelled Travel</li> "! </ul> BEGIN OF ENUM travel_status_enum STRUCTURE travel_status BASE TYPE /dmo/travel_status10, initial VALUE IS INITIAL, new VALUE 'N', planned VALUE 'P', booked VALUE 'B', cancelled VALUE 'X', END OF ENUM travel_status_enum STRUCTURE travel_status. ************************ * Importing structures * ************************ "! INcoming structure of the node Travel. It contains key and data fields.<br/> "! The caller of the BAPI like function modules shall not provide the administrative fields. TYPES BEGIN OF ts_travel_in. INCLUDE TYPE ts_travel_key. INCLUDE TYPE /dmo/travel10_data. TYPES END OF ts_travel_in. "! INcoming structure of the node Booking. It contains the booking key and data fields.<br/> "! The BAPI like function modules always refer to a single travel. "! Therefore the Travel ID is not required in the subnode tables. TYPES BEGIN OF ts_booking_in. TYPES booking_id TYPE /dmo/booking_id10. INCLUDE TYPE /dmo/booking10_data. TYPES END OF ts_booking_in. "! INcoming table type of the node Booking. It contains the booking key and data fields. TYPES tt_booking_in TYPE SORTED TABLE OF ts_booking_in WITH UNIQUE KEY booking_id. "! INcoming structure of the node Booking Supplement. It contains the booking key, booking supplement key and data fields.<br/> "! The BAPI like function modules always refer to a single travel. "! Therefore the Travel ID is not required in the subnode tables but the booking key is required as it refers to it corresponding super node. TYPES BEGIN OF ts_booking_supplement_in. TYPES booking_id TYPE /dmo/booking_id10. TYPES booking_supplement_id TYPE /dmo/booking_supplement_id10. INCLUDE TYPE /dmo/book_sup_10_data. TYPES END OF ts_booking_supplement_in. "! INcoming table type of the node Booking Supplement. It contains the booking key, booking supplement key and data fields. TYPES tt_booking_supplement_in TYPE SORTED TABLE OF ts_booking_supplement_in WITH UNIQUE KEY booking_id booking_supplement_id. "! INcoming flag structure of the node Travel. It contains key and the bit flag to the corresponding fields.<br/> "! The caller of the BAPI like function modules shall not provide the administrative fields. "! Furthermore the action Code is not required for the root (because it is already determined by the function module name). TYPES BEGIN OF ts_travel_inx. INCLUDE TYPE ts_travel_key. INCLUDE TYPE ts_travel_intx. TYPES END OF ts_travel_inx. "! INcoming flag structure of the node Booking. It contains key and the bit flag to the corresponding fields.<br/> "! The BAPI like function modules always refer to a single travel. "! Therefore the Travel ID is not required in the subnode tables. TYPES BEGIN OF ts_booking_inx. TYPES booking_id TYPE /dmo/booking_id10. TYPES action_code TYPE /dmo/action_code10. INCLUDE TYPE ts_booking_intx. TYPES END OF ts_booking_inx. "! INcoming flag table type of the node Booking. It contains key and the bit flag to the corresponding fields. TYPES tt_booking_inx TYPE SORTED TABLE OF ts_booking_inx WITH UNIQUE KEY booking_id. "! INcoming flag structure of the node Booking Supplement. It contains key and the bit flag to the corresponding fields.<br/> "! The BAPI like function modules always refer to a single travel. "! Therefore the Travel ID is not required in the subnode tables. TYPES BEGIN OF ts_booking_supplement_inx. TYPES booking_id TYPE /dmo/booking_id10. TYPES booking_supplement_id TYPE /dmo/booking_supplement_id10. TYPES action_code TYPE /dmo/action_code10. INCLUDE TYPE ts_booking_supplement_intx. TYPES END OF ts_booking_supplement_inx. "! INcoming flag table type of the node Booking Supplement. It contains key and the bit flag to the corresponding fields. TYPES tt_booking_supplement_inx TYPE SORTED TABLE OF ts_booking_supplement_inx WITH UNIQUE KEY booking_id booking_supplement_id. ***************** * Message table * ***************** "! Table of messages TYPES tt_message TYPE STANDARD TABLE OF symsg. "! Table of messages like T100. <br/> "! We have only error messages. "! Currently we do not communicate Warnings or Success Messages. "! Internally we use a table of exceptions. TYPES tt_if_t100_message TYPE STANDARD TABLE OF REF TO if_t100_message WITH EMPTY KEY. ENDINTERFACE.
[ 40484, 1279, 11576, 29, 39317, 329, 13365, 14843, 327, 7656, 3556, 11576, 6927, 1671, 15913, 198, 40484, 3887, 973, 4645, 393, 3084, 2099, 2622, 287, 262, 7824, 15553, 3401, 5028, 198, 40484, 481, 307, 5447, 994, 13, 198, 41358, 49836, 1220, 67, 5908, 14, 361, 62, 22560, 62, 1455, 1590, 940, 198, 220, 44731, 13, 198, 198, 8412, 2466, 8162, 198, 9, 10628, 1321, 1635, 198, 8412, 2466, 8162, 198, 220, 7102, 2257, 1565, 4694, 763, 62, 9641, 62, 22478, 41876, 493, 17, 26173, 8924, 362, 13, 198, 220, 7102, 2257, 1565, 4694, 763, 62, 9641, 62, 1084, 273, 41876, 493, 17, 26173, 8924, 657, 13, 628, 220, 366, 4222, 466, 5626, 12233, 1468, 3651, 198, 220, 366, 10628, 2124, 13, 87, 220, 7536, 31383, 13, 5324, 13, 12343, 220, 12489, 2644, 198, 220, 366, 220, 220, 220, 220, 220, 220, 220, 220, 657, 13, 24, 220, 220, 220, 220, 220, 220, 1679, 13, 2998, 13, 7908, 220, 3125, 393, 1342, 3492, 0, 198, 220, 366, 220, 220, 220, 220, 220, 220, 220, 220, 657, 13, 6420, 220, 220, 220, 220, 220, 7816, 13, 2919, 13, 7908, 220, 9626, 452, 602, 290, 8794, 329, 2756, 1220, 7395, 198, 220, 366, 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, 43925, 198, 220, 366, 220, 220, 220, 220, 220, 220, 220, 220, 657, 13, 5892, 220, 220, 220, 220, 220, 7643, 13, 2919, 13, 7908, 220, 955, 12061, 503, 22656, 198, 220, 366, 220, 220, 220, 220, 220, 220, 220, 220, 657, 13, 6052, 220, 220, 220, 220, 220, 7769, 13, 2919, 13, 7908, 220, 6060, 35986, 15217, 13268, 26, 12489, 2989, 540, 1790, 4731, 198, 220, 366, 220, 220, 220, 220, 220, 220, 220, 220, 657, 13, 5824, 220, 220, 220, 220, 220, 1987, 13, 2919, 13, 7908, 220, 15367, 26251, 198, 220, 366, 220, 220, 220, 220, 220, 220, 220, 220, 657, 13, 3865, 220, 220, 220, 220, 220, 8753, 13, 2931, 13, 7908, 220, 9626, 26939, 286, 7472, 7886, 11, 4159, 26251, 198, 220, 366, 220, 220, 220, 220, 220, 220, 220, 220, 657, 13, 4846, 220, 220, 220, 220, 220, 1596, 13, 2931, 13, 7908, 220, 15193, 5550, 2538, 9328, 198, 220, 366, 220, 220, 220, 220, 220, 220, 220, 220, 657, 13, 4846, 16, 220, 220, 220, 220, 1248, 13, 2931, 13, 7908, 220, 28252, 15853, 198, 220, 366, 220, 220, 220, 220, 220, 220, 220, 220, 657, 13, 4846, 17, 220, 220, 220, 220, 1248, 13, 2931, 13, 7908, 220, 28252, 9564, 2969, 23579, 422, 13333, 34458, 11, 2451, 10981, 15553, 4912, 284, 34371, 198, 220, 366, 220, 220, 220, 220, 220, 220, 220, 220, 352, 13, 405, 220, 220, 220, 220, 220, 2681, 13, 2931, 13, 7908, 220, 1400, 1103, 1487, 11, 691, 2650, 198, 220, 366, 220, 220, 220, 220, 220, 220, 220, 220, 352, 13, 486, 220, 220, 220, 220, 220, 2579, 13, 2931, 13, 7908, 220, 15367, 2420, 16895, 198, 220, 366, 220, 220, 220, 220, 220, 220, 220, 220, 352, 13, 2999, 220, 220, 220, 220, 220, 2534, 13, 940, 13, 7908, 220, 6060, 17301, 15068, 198, 220, 366, 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, 11801, 6208, 3888, 422, 2163, 1448, 656, 4553, 9564, 2969, 1398, 198, 220, 366, 220, 220, 220, 220, 220, 220, 220, 220, 362, 13, 405, 220, 220, 220, 220, 220, 8870, 13, 3070, 13, 23344, 220, 10687, 4149, 10049, 290, 791, 39935, 14041, 198, 220, 366, 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, 10687, 3001, 6322, 1398, 351, 20113, 44101, 198, 220, 366, 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, 357, 3041, 25106, 13003, 9564, 2969, 23579, 284, 13333, 34458, 198, 198, 8412, 46068, 1174, 198, 9, 24047, 3084, 3084, 3858, 1635, 198, 8412, 46068, 1174, 628, 220, 366, 0, 8655, 2099, 286, 262, 3084, 1220, 35, 11770, 14, 51, 3861, 18697, 940, 198, 220, 24412, 47, 1546, 256, 83, 62, 35927, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 41876, 311, 9863, 1961, 43679, 3963, 1220, 67, 5908, 14, 35927, 940, 220, 220, 220, 220, 13315, 4725, 33866, 8924, 35374, 3067, 62, 312, 13, 198, 220, 366, 0, 8655, 2099, 286, 262, 3084, 1220, 35, 11770, 14, 39453, 2751, 940, 198, 220, 24412, 47, 1546, 256, 83, 62, 2070, 278, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 41876, 311, 9863, 1961, 43679, 3963, 1220, 67, 5908, 14, 2070, 278, 940, 220, 220, 220, 13315, 4725, 33866, 8924, 35374, 3067, 62, 312, 220, 25452, 62, 312, 13, 198, 220, 366, 0, 8655, 2099, 286, 262, 3084, 1220, 35, 11770, 14, 39453, 62, 40331, 62, 940, 198, 220, 24412, 47, 1546, 256, 83, 62, 2070, 278, 62, 18608, 1732, 41876, 311, 9863, 1961, 43679, 3963, 1220, 67, 5908, 14, 2070, 62, 37330, 62, 940, 13315, 4725, 33866, 8924, 35374, 3067, 62, 312, 220, 25452, 62, 312, 220, 25452, 62, 18608, 1732, 62, 312, 13, 198, 220, 366, 0, 8655, 2099, 286, 262, 3084, 1220, 35, 11770, 14, 3697, 9947, 940, 198, 220, 24412, 47, 1546, 256, 83, 62, 22560, 41876, 49053, 9795, 43679, 3963, 1220, 67, 5908, 14, 22560, 940, 13315, 35374, 5456, 11920, 62, 312, 4637, 62, 312, 5474, 62, 4475, 13, 628, 198, 198, 8412, 1174, 198, 9, 7383, 8573, 1635, 198, 8412, 1174, 628, 220, 366, 0, 7383, 4645, 286, 13524, 198, 220, 24412, 47, 1546, 347, 43312, 3963, 40379, 62, 35927, 62, 2539, 13, 198, 220, 24412, 47, 1546, 3067, 62, 312, 41876, 1220, 67, 5908, 14, 35927, 62, 312, 940, 13, 198, 220, 24412, 47, 1546, 23578, 3963, 40379, 62, 35927, 62, 2539, 13, 198, 220 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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 ]
CLASS ltcl_login_manager DEFINITION FOR TESTING RISK LEVEL HARMLESS DURATION SHORT FINAL. PRIVATE SECTION. CONSTANTS: c_username TYPE string VALUE 'Aladdin' , c_password TYPE string VALUE 'OpenSesame' . METHODS: setup, teardown, encoding FOR TESTING RAISING zcx_abapgit_exception, same_server FOR TESTING RAISING zcx_abapgit_exception. ENDCLASS. CLASS ltcl_login_manager IMPLEMENTATION. METHOD setup. zcl_abapgit_login_manager=>clear( ). ENDMETHOD. METHOD teardown. zcl_abapgit_login_manager=>clear( ). ENDMETHOD. METHOD encoding. DATA: lv_auth TYPE string. lv_auth = zcl_abapgit_login_manager=>set( iv_uri = 'https://github.com/abapGit/abapGit.git' iv_username = c_username iv_password = c_password ). cl_abap_unit_assert=>assert_equals( act = lv_auth exp = 'Basic QWxhZGRpbjpPcGVuU2VzYW1l' ). ENDMETHOD. METHOD same_server. CONSTANTS: lc_github1 TYPE string VALUE 'https://github.com/abapGit/abapGit.git', lc_github2 TYPE string VALUE 'https://github.com/larshp/Foobar.git'. DATA: lv_auth1 TYPE string, lv_auth2 TYPE string. zcl_abapgit_login_manager=>set( iv_uri = lc_github1 iv_username = c_username iv_password = c_password ). lv_auth1 = zcl_abapgit_login_manager=>load( lc_github1 ). lv_auth2 = zcl_abapgit_login_manager=>load( lc_github2 ). cl_abap_unit_assert=>assert_equals( act = lv_auth1 exp = lv_auth2 ). ENDMETHOD. ENDCLASS.
[ 31631, 300, 83, 565, 62, 38235, 62, 37153, 5550, 20032, 17941, 7473, 43001, 2751, 45698, 42, 49277, 43638, 5805, 7597, 360, 4261, 6234, 6006, 9863, 25261, 13, 628, 220, 4810, 3824, 6158, 44513, 13, 198, 220, 220, 220, 7102, 2257, 1565, 4694, 25, 269, 62, 29460, 41876, 4731, 26173, 8924, 705, 2348, 46782, 6, 837, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 269, 62, 28712, 41876, 4731, 26173, 8924, 705, 11505, 50, 34038, 6, 764, 628, 220, 220, 220, 337, 36252, 50, 25, 198, 220, 220, 220, 220, 220, 9058, 11, 198, 220, 220, 220, 220, 220, 573, 446, 593, 11, 198, 220, 220, 220, 220, 220, 21004, 7473, 43001, 2751, 198, 220, 220, 220, 220, 220, 220, 220, 17926, 1797, 2751, 1976, 66, 87, 62, 397, 499, 18300, 62, 1069, 4516, 11, 198, 220, 220, 220, 220, 220, 976, 62, 15388, 7473, 43001, 2751, 198, 220, 220, 220, 220, 220, 220, 220, 17926, 1797, 2751, 1976, 66, 87, 62, 397, 499, 18300, 62, 1069, 4516, 13, 198, 198, 10619, 31631, 13, 198, 198, 31631, 300, 83, 565, 62, 38235, 62, 37153, 30023, 2538, 10979, 6234, 13, 628, 220, 337, 36252, 9058, 13, 198, 220, 220, 220, 1976, 565, 62, 397, 499, 18300, 62, 38235, 62, 37153, 14804, 20063, 7, 6739, 198, 220, 23578, 49273, 13, 628, 220, 337, 36252, 573, 446, 593, 13, 198, 220, 220, 220, 1976, 565, 62, 397, 499, 18300, 62, 38235, 62, 37153, 14804, 20063, 7, 6739, 198, 220, 23578, 49273, 13, 628, 220, 337, 36252, 21004, 13, 628, 220, 220, 220, 42865, 25, 300, 85, 62, 18439, 41876, 4731, 13, 628, 220, 220, 220, 300, 85, 62, 18439, 796, 1976, 565, 62, 397, 499, 18300, 62, 38235, 62, 37153, 14804, 2617, 7, 198, 220, 220, 220, 220, 220, 21628, 62, 9900, 220, 220, 220, 220, 220, 796, 705, 5450, 1378, 12567, 13, 785, 14, 397, 499, 38, 270, 14, 397, 499, 38, 270, 13, 18300, 6, 198, 220, 220, 220, 220, 220, 21628, 62, 29460, 796, 269, 62, 29460, 198, 220, 220, 220, 220, 220, 21628, 62, 28712, 796, 269, 62, 28712, 6739, 628, 220, 220, 220, 537, 62, 397, 499, 62, 20850, 62, 30493, 14804, 30493, 62, 4853, 874, 7, 198, 220, 220, 220, 220, 220, 719, 796, 300, 85, 62, 18439, 198, 220, 220, 220, 220, 220, 1033, 796, 705, 26416, 1195, 54, 87, 71, 57, 10761, 40842, 34523, 47, 66, 37094, 84, 52, 17, 53, 89, 56, 54, 16, 75, 6, 6739, 628, 220, 23578, 49273, 13, 628, 220, 337, 36252, 976, 62, 15388, 13, 628, 220, 220, 220, 7102, 2257, 1565, 4694, 25, 300, 66, 62, 12567, 16, 41876, 4731, 26173, 8924, 705, 5450, 1378, 12567, 13, 785, 14, 397, 499, 38, 270, 14, 397, 499, 38, 270, 13, 18300, 3256, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 300, 66, 62, 12567, 17, 41876, 4731, 26173, 8924, 705, 5450, 1378, 12567, 13, 785, 14, 75, 5406, 79, 14, 37, 78, 30973, 13, 18300, 4458, 628, 220, 220, 220, 42865, 25, 300, 85, 62, 18439, 16, 41876, 4731, 11, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 300, 85, 62, 18439, 17, 41876, 4731, 13, 628, 198, 220, 220, 220, 1976, 565, 62, 397, 499, 18300, 62, 38235, 62, 37153, 14804, 2617, 7, 198, 220, 220, 220, 220, 220, 21628, 62, 9900, 220, 220, 220, 220, 220, 796, 300, 66, 62, 12567, 16, 198, 220, 220, 220, 220, 220, 21628, 62, 29460, 796, 269, 62, 29460, 198, 220, 220, 220, 220, 220, 21628, 62, 28712, 796, 269, 62, 28712, 6739, 628, 220, 220, 220, 300, 85, 62, 18439, 16, 796, 1976, 565, 62, 397, 499, 18300, 62, 38235, 62, 37153, 14804, 2220, 7, 300, 66, 62, 12567, 16, 6739, 198, 220, 220, 220, 300, 85, 62, 18439, 17, 796, 1976, 565, 62, 397, 499, 18300, 62, 38235, 62, 37153, 14804, 2220, 7, 300, 66, 62, 12567, 17, 6739, 628, 220, 220, 220, 537, 62, 397, 499, 62, 20850, 62, 30493, 14804, 30493, 62, 4853, 874, 7, 198, 220, 220, 220, 220, 220, 719, 796, 300, 85, 62, 18439, 16, 198, 220, 220, 220, 220, 220, 1033, 796, 300, 85, 62, 18439, 17, 6739, 628, 220, 23578, 49273, 13, 198, 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, 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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 ]
** ** Copyright (c) 2019 SAP SE or an SAP affiliate company. All rights reserved. ** ** This file is part of ewm-cloud-robotics ** (see https://github.com/SAP/ewm-cloud-robotics). ** ** This file is licensed under the Apache Software License, v. 2 except as noted otherwise in the LICENSE file (https://github.com/SAP/ewm-cloud-robotics/blob/master/LICENSE) ** function zconfirm_warehouse_task_step_1. *"---------------------------------------------------------------------- *"*"Local Interface: *" IMPORTING *" REFERENCE(IV_LGNUM) TYPE /SCWM/LGNUM *" REFERENCE(IV_TANUM) TYPE /SCWM/TANUM *" REFERENCE(IV_RSRC) TYPE /SCWM/DE_RSRC *" EXPORTING *" REFERENCE(ET_LTAP_VB) TYPE /SCWM/TT_LTAP_VB *" EXCEPTIONS *" ROBOT_NOT_FOUND *" WHT_NOT_CONFIRMED *" WHT_ALREADY_CONFIRMED *" INTERNAL_ERROR *"---------------------------------------------------------------------- data: lv_robot_type type zewm_de_robot_type, ls_rsrc type /scwm/rsrc, lv_severity type bapi_mtype, ls_to_conf type /scwm/to_conf, lt_bapiret type bapirettab, lt_ltap_vb type /scwm/tt_ltap_vb, lt_to_conf type /scwm/to_conf_tt. * Get robot master data call function '/SCWM/RSRC_READ_SINGLE' exporting iv_lgnum = iv_lgnum iv_rsrc = iv_rsrc importing es_rsrc = ls_rsrc exceptions wrong_input = 1 not_found = 2 others = 3. if sy-subrc <> 0. raise robot_not_found. else. * Check if resource is a robot select single robot_type from zewm_trsrc_typ into @lv_robot_type where lgnum = @iv_lgnum and rsrc_type = @ls_rsrc-rsrc_type. if sy-subrc <> 0. raise robot_not_found. endif. endif. * Enqueue resource unassignment from warehouse order call function 'ENQUEUE_EZEWM_ASSIGNROBO' exporting mode_/scwm/rsrc = 'E' mandt = sy-mandt lgnum = iv_lgnum rsrc = iv_rsrc _scope = '3' _wait = abap_true exceptions foreign_lock = 1 system_failure = 2 others = 3. if sy-subrc <> 0. raise internal_error. endif. * Prepare input parameter for Warehouse Task confirmation ls_to_conf-tanum = iv_tanum. ls_to_conf-drsrc = iv_rsrc. append ls_to_conf to lt_to_conf. call function '/SCWM/TO_CONFIRM' exporting iv_lgnum = iv_lgnum iv_wtcode = wmegc_wtcode_rsrc iv_update_task = abap_false iv_commit_work = abap_false it_conf = lt_to_conf iv_processor_det = abap_true importing et_bapiret = lt_bapiret et_ltap_vb = lt_ltap_vb ev_severity = lv_severity. * commit work and wait to ensure next OData calls is getting actual data commit work and wait. * check errors if lv_severity ca 'EAX'. read table lt_bapiret with key type = 'E' id = '/SCWM/L3' number = 022 transporting no fields. if sy-subrc = 0. raise wht_already_confirmed. else. raise wht_not_confirmed. endif. else. et_ltap_vb = lt_ltap_vb. endif. endfunction.
[ 1174, 198, 1174, 15069, 357, 66, 8, 13130, 48323, 7946, 393, 281, 48323, 17375, 1664, 13, 1439, 2489, 10395, 13, 198, 1174, 198, 1174, 770, 2393, 318, 636, 286, 304, 26377, 12, 17721, 12, 305, 13645, 873, 198, 1174, 357, 3826, 3740, 1378, 12567, 13, 785, 14, 50, 2969, 14, 413, 76, 12, 17721, 12, 305, 13645, 873, 737, 198, 1174, 198, 1174, 770, 2393, 318, 11971, 739, 262, 24843, 10442, 13789, 11, 410, 13, 362, 2845, 355, 4367, 4306, 287, 262, 38559, 24290, 2393, 357, 5450, 1378, 12567, 13, 785, 14, 50, 2969, 14, 413, 76, 12, 17721, 12, 305, 13645, 873, 14, 2436, 672, 14, 9866, 14, 43, 2149, 24290, 8, 198, 1174, 198, 8818, 1976, 10414, 2533, 62, 1574, 4803, 62, 35943, 62, 9662, 62, 16, 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, 3824, 62, 43, 16630, 5883, 8, 41876, 220, 1220, 6173, 22117, 14, 43, 16630, 5883, 198, 9, 1, 220, 220, 220, 220, 4526, 24302, 18310, 7, 3824, 62, 51, 1565, 5883, 8, 41876, 220, 1220, 6173, 22117, 14, 51, 1565, 5883, 198, 9, 1, 220, 220, 220, 220, 4526, 24302, 18310, 7, 3824, 62, 6998, 7397, 8, 41876, 220, 1220, 6173, 22117, 14, 7206, 62, 6998, 7397, 198, 9, 1, 220, 7788, 15490, 2751, 198, 9, 1, 220, 220, 220, 220, 4526, 24302, 18310, 7, 2767, 62, 27734, 2969, 62, 44526, 8, 41876, 220, 1220, 6173, 22117, 14, 15751, 62, 27734, 2969, 62, 44526, 198, 9, 1, 220, 7788, 42006, 11053, 198, 9, 1, 220, 220, 220, 220, 220, 36449, 2394, 62, 11929, 62, 37, 15919, 198, 9, 1, 220, 220, 220, 220, 220, 370, 6535, 62, 11929, 62, 10943, 39776, 30733, 198, 9, 1, 220, 220, 220, 220, 220, 370, 6535, 62, 1847, 15675, 56, 62, 10943, 39776, 30733, 198, 9, 1, 220, 220, 220, 220, 220, 23255, 45, 1847, 62, 24908, 198, 9, 1, 10097, 23031, 628, 220, 1366, 25, 300, 85, 62, 305, 13645, 62, 4906, 2099, 1976, 413, 76, 62, 2934, 62, 305, 13645, 62, 4906, 11, 198, 220, 220, 220, 220, 220, 220, 220, 43979, 62, 3808, 6015, 220, 220, 220, 220, 220, 220, 2099, 1220, 1416, 26377, 14, 3808, 6015, 11, 198, 220, 220, 220, 220, 220, 220, 220, 300, 85, 62, 28116, 414, 220, 220, 2099, 275, 15042, 62, 76, 4906, 11, 198, 220, 220, 220, 220, 220, 220, 220, 43979, 62, 1462, 62, 10414, 220, 220, 220, 2099, 1220, 1416, 26377, 14, 1462, 62, 10414, 11, 198, 220, 220, 220, 220, 220, 220, 220, 300, 83, 62, 65, 499, 557, 83, 220, 220, 220, 2099, 275, 499, 557, 926, 397, 11, 198, 220, 220, 220, 220, 220, 220, 220, 300, 83, 62, 2528, 499, 62, 85, 65, 220, 220, 220, 2099, 1220, 1416, 26377, 14, 926, 62, 2528, 499, 62, 85, 65, 11, 198, 220, 220, 220, 220, 220, 220, 220, 300, 83, 62, 1462, 62, 10414, 220, 220, 220, 2099, 1220, 1416, 26377, 14, 1462, 62, 10414, 62, 926, 13, 198, 198, 9, 3497, 9379, 4958, 1366, 198, 220, 869, 2163, 31051, 6173, 22117, 14, 6998, 7397, 62, 15675, 62, 50, 2751, 2538, 6, 198, 220, 220, 220, 39133, 198, 220, 220, 220, 220, 220, 21628, 62, 75, 4593, 388, 220, 220, 220, 796, 21628, 62, 75, 4593, 388, 198, 220, 220, 220, 220, 220, 21628, 62, 3808, 6015, 220, 220, 220, 220, 796, 21628, 62, 3808, 6015, 198, 220, 220, 220, 33332, 198, 220, 220, 220, 220, 220, 1658, 62, 3808, 6015, 220, 220, 220, 220, 796, 43979, 62, 3808, 6015, 198, 220, 220, 220, 13269, 198, 220, 220, 220, 220, 220, 2642, 62, 15414, 796, 352, 198, 220, 220, 220, 220, 220, 407, 62, 9275, 220, 220, 796, 362, 198, 220, 220, 220, 220, 220, 1854, 220, 220, 220, 220, 220, 796, 513, 13, 628, 220, 611, 827, 12, 7266, 6015, 1279, 29, 657, 13, 198, 220, 220, 220, 5298, 9379, 62, 1662, 62, 9275, 13, 198, 220, 2073, 13, 198, 9, 6822, 611, 8271, 318, 257, 9379, 198, 220, 220, 220, 2922, 2060, 9379, 62, 4906, 422, 1976, 413, 76, 62, 2213, 10677, 62, 28004, 656, 2488, 6780, 62, 305, 13645, 62, 4906, 198, 220, 220, 220, 220, 220, 810, 300, 4593, 388, 796, 2488, 452, 62, 75, 4593, 388, 290, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 374, 10677, 62, 4906, 796, 2488, 7278, 62, 3808, 6015, 12, 3808, 6015, 62, 4906, 13, 198, 220, 220, 220, 611, 827, 12, 7266, 6015, 1279, 29, 657, 13, 198, 220, 220, 220, 220, 220, 5298, 9379, 62, 1662, 62, 9275, 13, 198, 220, 220, 220, 45762, 13, 198, 220, 45762, 13, 198, 198, 9, 2039, 36560, 8271, 555, 562, 16747, 422, 20933, 1502, 198, 220, 869, 2163, 705, 1677, 48, 8924, 8924, 62, 36, 57, 6217, 44, 62, 10705, 16284, 13252, 8202, 6, 198, 220, 220, 220, 39133, 198, 220, 220, 220, 220, 220, 4235, 62, 14, 1416, 26377, 14, 3808, 6015, 796, 705, 36, 6, 198, 220, 220, 220, 220, 220, 6855, 83, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 796, 827, 12, 22249, 83, 198, 220, 220, 220, 220, 220, 300, 4593, 388, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 796, 21628, 62, 75, 4593, 388, 198, 220, 220, 220, 220, 220, 374, 10677, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 796, 21628, 62, 3808, 6015, 198, 220, 220, 220, 220, 220, 4808, 29982, 220, 220, 220, 220, 220, 220, 220, 220, 220, 796, 705, 18, 6, 198, 220, 220, 220, 220, 220, 4808, 17077, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 796, 450, 499, 62, 7942, 198, 220, 220, 220, 13269, 198, 220, 220, 220, 220, 220, 3215, 62, 5354, 220, 220, 220, 796, 352, 198, 220, 220, 220, 220, 220, 1080, 62, 32165, 495, 220, 796, 362, 198, 220, 220, 220, 220, 220, 1854, 220, 220, 220, 220, 220, 220, 220, 220, 220, 796, 513, 13, 198, 220, 611, 827 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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 ]
"! <p class="shorttext synchronized" lang="en">Output field configuration</p> CLASS zcl_qdrt_output_field_config DEFINITION PUBLIC FINAL CREATE PUBLIC. PUBLIC SECTION. INTERFACES: zif_qdrt_output_field_config. METHODS: constructor IMPORTING output_fields TYPE zif_qdrt_output_field_config=>ty_output_fields. PROTECTED SECTION. PRIVATE SECTION. CONSTANTS: c_select_all TYPE string VALUE '*'. DATA: output_fields TYPE zif_qdrt_output_field_config=>ty_output_fields, use_count TYPE abap_bool, select_only_specified TYPE abap_bool. ENDCLASS. CLASS zcl_qdrt_output_field_config IMPLEMENTATION. METHOD constructor. me->output_fields = output_fields. ENDMETHOD. METHOD zif_qdrt_output_field_config~get_select_clause. FIELD-SYMBOLS: <result_line> TYPE string. IF output_fields IS INITIAL AND select_only_specified = abap_false. result = VALUE #( ( c_select_all ) ). ELSE. LOOP AT output_fields ASSIGNING FIELD-SYMBOL(<output_field>). IF <result_line> IS ASSIGNED. <result_line> = |{ <result_line> }, |. ENDIF. APPEND INITIAL LINE TO result ASSIGNING <result_line>. IF <output_field>-function IS NOT INITIAL. <result_line> = |{ <output_field>-function }( { <output_field>-field_name } ) AS !{ <output_field>-field_name }|. ELSE. <result_line> = |{ <output_field>-field_name } AS !{ <output_field>-field_name }|. ENDIF. ENDLOOP. IF use_count = abap_true. IF <result_line> IS ASSIGNED. <result_line> = |{ <result_line> }, |. ENDIF. result = VALUE #( BASE result ( |COUNT( * ) AS { zif_qdrt_c_global=>c_special_field_names-group_count }| ) ). ENDIF. ENDIF. ENDMETHOD. METHOD zif_qdrt_output_field_config~set_use_count_field. use_count = value. ENDMETHOD. METHOD zif_qdrt_output_field_config~set_select_only_specified. select_only_specified = abap_true. ENDMETHOD. METHOD zif_qdrt_output_field_config~is_output_field. IF output_fields IS INITIAL AND select_only_specified = abap_false. result = abap_true. ELSE. result = xsdbool( line_exists( output_fields[ field_name = fieldname ] ) ). ENDIF. ENDMETHOD. METHOD zif_qdrt_output_field_config~has_aggr_fields. LOOP AT output_fields ASSIGNING FIELD-SYMBOL(<output_field>) WHERE function IS NOT INITIAL. EXIT. ENDLOOP. result = xsdbool( sy-subrc = 0 ). ENDMETHOD. ENDCLASS.
[ 40484, 1279, 79, 1398, 2625, 19509, 5239, 47192, 1, 42392, 2625, 268, 5320, 26410, 2214, 8398, 3556, 79, 29, 198, 31631, 1976, 565, 62, 80, 7109, 83, 62, 22915, 62, 3245, 62, 11250, 5550, 20032, 17941, 198, 220, 44731, 198, 220, 25261, 198, 220, 29244, 6158, 44731, 13, 628, 220, 44731, 44513, 13, 628, 220, 220, 220, 23255, 37, 2246, 1546, 25, 198, 220, 220, 220, 220, 220, 1976, 361, 62, 80, 7109, 83, 62, 22915, 62, 3245, 62, 11250, 13, 628, 220, 220, 220, 337, 36252, 50, 25, 198, 220, 220, 220, 220, 220, 23772, 198, 220, 220, 220, 220, 220, 220, 220, 30023, 9863, 2751, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 5072, 62, 25747, 41876, 1976, 361, 62, 80, 7109, 83, 62, 22915, 62, 3245, 62, 11250, 14804, 774, 62, 22915, 62, 25747, 13, 198, 220, 48006, 9782, 1961, 44513, 13, 198, 220, 4810, 3824, 6158, 44513, 13, 198, 220, 220, 220, 7102, 2257, 1565, 4694, 25, 198, 220, 220, 220, 220, 220, 269, 62, 19738, 62, 439, 41876, 4731, 26173, 8924, 705, 9, 4458, 628, 220, 220, 220, 42865, 25, 198, 220, 220, 220, 220, 220, 5072, 62, 25747, 220, 220, 220, 220, 220, 220, 220, 220, 41876, 1976, 361, 62, 80, 7109, 83, 62, 22915, 62, 3245, 62, 11250, 14804, 774, 62, 22915, 62, 25747, 11, 198, 220, 220, 220, 220, 220, 779, 62, 9127, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 41876, 450, 499, 62, 30388, 11, 198, 220, 220, 220, 220, 220, 2922, 62, 8807, 62, 23599, 41876, 450, 499, 62, 30388, 13, 198, 10619, 31631, 13, 628, 198, 198, 31631, 1976, 565, 62, 80, 7109, 83, 62, 22915, 62, 3245, 62, 11250, 30023, 2538, 10979, 6234, 13, 628, 198, 220, 337, 36252, 23772, 13, 198, 220, 220, 220, 502, 3784, 22915, 62, 25747, 796, 5072, 62, 25747, 13, 198, 220, 23578, 49273, 13, 628, 198, 220, 337, 36252, 1976, 361, 62, 80, 7109, 83, 62, 22915, 62, 3245, 62, 11250, 93, 1136, 62, 19738, 62, 565, 682, 13, 198, 220, 220, 220, 18930, 24639, 12, 23060, 10744, 3535, 50, 25, 198, 220, 220, 220, 220, 220, 1279, 20274, 62, 1370, 29, 41876, 4731, 13, 628, 220, 220, 220, 16876, 5072, 62, 25747, 3180, 3268, 2043, 12576, 5357, 2922, 62, 8807, 62, 23599, 796, 450, 499, 62, 9562, 13, 198, 220, 220, 220, 220, 220, 1255, 796, 26173, 8924, 1303, 7, 357, 269, 62, 19738, 62, 439, 1267, 6739, 198, 220, 220, 220, 17852, 5188, 13, 628, 220, 220, 220, 220, 220, 17579, 3185, 5161, 5072, 62, 25747, 24994, 3528, 15871, 18930, 24639, 12, 23060, 10744, 3535, 7, 27, 22915, 62, 3245, 29, 737, 198, 220, 220, 220, 220, 220, 220, 220, 16876, 1279, 20274, 62, 1370, 29, 3180, 24994, 16284, 1961, 13, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 1279, 20274, 62, 1370, 29, 796, 930, 90, 1279, 20274, 62, 1370, 29, 8964, 930, 13, 198, 220, 220, 220, 220, 220, 220, 220, 23578, 5064, 13, 628, 220, 220, 220, 220, 220, 220, 220, 43504, 10619, 3268, 2043, 12576, 48920, 5390, 1255, 24994, 3528, 15871, 1279, 20274, 62, 1370, 28401, 198, 220, 220, 220, 220, 220, 220, 220, 16876, 1279, 22915, 62, 3245, 29, 12, 8818, 3180, 5626, 3268, 2043, 12576, 13, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 1279, 20274, 62, 1370, 29, 796, 930, 90, 1279, 22915, 62, 3245, 29, 12, 8818, 1782, 7, 1391, 1279, 22915, 62, 3245, 29, 12, 3245, 62, 3672, 1782, 1267, 7054, 5145, 90, 1279, 22915, 62, 3245, 29, 12, 3245, 62, 3672, 1782, 91, 13, 198, 220, 220, 220, 220, 220, 220, 220, 17852, 5188, 13, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 1279, 20274, 62, 1370, 29, 796, 930, 90, 1279, 22915, 62, 3245, 29, 12, 3245, 62, 3672, 1782, 7054, 5145, 90, 1279, 22915, 62, 3245, 29, 12, 3245, 62, 3672, 1782, 91, 13, 198, 220, 220, 220, 220, 220, 220, 220, 23578, 5064, 13, 198, 220, 220, 220, 220, 220, 23578, 21982, 3185, 13, 628, 220, 220, 220, 220, 220, 16876, 779, 62, 9127, 796, 450, 499, 62, 7942, 13, 198, 220, 220, 220, 220, 220, 220, 220, 16876, 1279, 20274, 62, 1370, 29, 3180, 24994, 16284, 1961, 13, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 1279, 20274, 62, 1370, 29, 796, 930, 90, 1279, 20274, 62, 1370, 29, 8964, 930, 13, 198, 220, 220, 220, 220, 220, 220, 220, 23578, 5064, 13, 198, 220, 220, 220, 220, 220, 220, 220, 1255, 796, 26173, 8924, 1303, 7, 49688, 1255, 357, 930, 34, 28270, 7, 1635, 1267, 7054, 1391, 1976, 361, 62, 80, 7109, 83, 62, 66, 62, 20541, 14804, 66, 62, 20887, 62, 3245, 62, 14933, 12, 8094, 62, 9127, 1782, 91, 1267, 6739, 198, 220, 220, 220, 220, 220, 23578, 5064, 13, 198, 220, 220, 220, 23578, 5064, 13, 198, 220, 23578, 49273, 13, 628, 198, 220, 337, 36252, 1976, 361, 62, 80, 7109, 83, 62, 22915, 62, 3245, 62, 11250, 93, 2617, 62, 1904, 62, 9127, 62, 3245, 13, 198, 220, 220, 220, 779, 62, 9127, 796, 1988, 13, 198, 220, 23578, 49273, 13, 628, 198, 220, 337, 36252, 1976, 361, 62, 80, 7109, 83, 62, 22915, 62, 3245, 62, 11250, 93, 2617, 62, 19738, 62, 8807, 62, 23599, 13, 198, 220, 220, 220, 2922, 62, 8807, 62, 23599, 796, 450, 499, 62, 7942, 13, 198, 220, 23578, 49273, 13, 628, 198, 220, 337, 36252, 1976, 361, 62, 80, 7109, 83, 62, 22915, 62, 3245, 62, 11250, 93, 271, 62, 22915, 62, 3245, 13, 198, 220, 220, 220, 16876, 5072, 62, 25747, 3180, 3268, 2043, 12576, 5357, 2922, 62, 8807, 62, 23599, 796, 450, 499, 62, 9562, 13, 198, 220, 220, 220, 220, 220, 1255, 796, 450, 499, 62, 7942, 13, 198, 220, 220, 220, 17852, 5188, 13, 198, 220, 220, 220, 220, 220, 1255, 796, 2124, 82, 9945, 970, 7, 1627, 62, 1069, 1023, 7, 5072, 62, 25747, 58, 2214, 62, 3672, 796, 2214, 3672, 2361, 1267, 6739, 198, 220, 220, 220, 23578, 5064, 13, 198, 220, 23578, 49273, 13, 628, 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, 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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 ]
CLASS ycl_abapgit_http_client DEFINITION PUBLIC CREATE PUBLIC. PUBLIC SECTION. METHODS: constructor IMPORTING ii_client TYPE REF TO if_http_client, close, set_digest IMPORTING io_digest TYPE REF TO ycl_abapgit_http_digest, send_receive_close IMPORTING iv_data TYPE xstring RETURNING VALUE(rv_data) TYPE xstring RAISING ycx_abapgit_exception, get_cdata RETURNING VALUE(rv_value) TYPE string, check_http_200 RAISING ycx_abapgit_exception, check_smart_response IMPORTING iv_expected_content_type TYPE string iv_content_regex TYPE string RAISING ycx_abapgit_exception, send_receive RAISING ycx_abapgit_exception, set_headers IMPORTING iv_url TYPE string iv_service TYPE string RAISING ycx_abapgit_exception. PRIVATE SECTION. DATA: mi_client TYPE REF TO if_http_client, mo_digest TYPE REF TO ycl_abapgit_http_digest. ENDCLASS. CLASS ycl_abapgit_http_client IMPLEMENTATION. METHOD check_http_200. DATA: lv_code TYPE i, lv_text TYPE string. mi_client->response->get_status( IMPORTING code = lv_code ). CASE lv_code. WHEN 200. RETURN. WHEN 302. ycx_abapgit_exception=>raise( 'HTTP redirect, check URL' ). WHEN 401. ycx_abapgit_exception=>raise( 'HTTP 401, unauthorized' ). WHEN 403. ycx_abapgit_exception=>raise( 'HTTP 403, forbidden' ). WHEN 404. ycx_abapgit_exception=>raise( 'HTTP 404, not found' ). WHEN 415. ycx_abapgit_exception=>raise( 'HTTP 415, unsupported media type' ). WHEN OTHERS. lv_text = mi_client->response->get_cdata( ). ycx_abapgit_exception=>raise( |HTTP error code: { lv_code }, { lv_text }| ). ENDCASE. ENDMETHOD. "http_200 METHOD check_smart_response. DATA: lv_content_type TYPE string. DATA: lv_data TYPE string. IF iv_expected_content_type IS NOT INITIAL. lv_content_type = mi_client->response->get_content_type( ). IF lv_content_type <> iv_expected_content_type. ycx_abapgit_exception=>raise( 'Wrong Content-Type sent by server - no fallback to the dumb protocol!' ). ENDIF. ENDIF. IF iv_content_regex IS NOT INITIAL. lv_data = mi_client->response->get_cdata( ). FIND REGEX iv_content_regex IN lv_data. IF sy-subrc <> 0. ycx_abapgit_exception=>raise( 'Wrong Content sent by server' ). ENDIF. ENDIF. ENDMETHOD. METHOD close. mi_client->close( ). ENDMETHOD. METHOD constructor. mi_client = ii_client. ENDMETHOD. METHOD get_cdata. rv_value = mi_client->response->get_cdata( ). ENDMETHOD. METHOD send_receive. DATA: lv_text TYPE string, lv_code TYPE i, lv_message TYPE string. mi_client->send( ). mi_client->receive( EXCEPTIONS http_communication_failure = 1 http_invalid_state = 2 http_processing_failed = 3 OTHERS = 4 ). IF sy-subrc <> 0. " in case of HTTP_COMMUNICATION_FAILURE " make sure: " a) SSL is setup properly in STRUST " b) no firewalls " check trace file in transaction SMICM mi_client->get_last_error( IMPORTING code = lv_code message = lv_message ). lv_text = |HTTP error { lv_code } occured: { lv_message }|. ycx_abapgit_exception=>raise( lv_text ). ENDIF. ENDMETHOD. "send_receive METHOD send_receive_close. * do not use set_cdata as it modifies the Content-Type header field mi_client->request->set_data( iv_data ). send_receive( ). check_http_200( ). rv_data = mi_client->response->get_data( ). mi_client->close( ). ENDMETHOD. METHOD set_digest. mo_digest = io_digest. ENDMETHOD. METHOD set_headers. DATA: lv_value TYPE string. mi_client->request->set_header_field( name = '~request_method' value = 'POST' ). lv_value = ycl_abapgit_url=>path_name( iv_url ) && '/git-' && iv_service && '-pack'. mi_client->request->set_header_field( name = '~request_uri' value = lv_value ). lv_value = 'application/x-git-' && iv_service && '-pack-request'. "#EC NOTEXT mi_client->request->set_header_field( name = 'Content-Type' value = lv_value ). "#EC NOTEXT lv_value = 'application/x-git-' && iv_service && '-pack-result'. "#EC NOTEXT mi_client->request->set_header_field( name = 'Accept' value = lv_value ). "#EC NOTEXT IF mo_digest IS BOUND. mo_digest->run( mi_client ). ENDIF. ENDMETHOD. "set_headers ENDCLASS.
[ 31631, 331, 565, 62, 397, 499, 18300, 62, 4023, 62, 16366, 5550, 20032, 17941, 44731, 29244, 6158, 44731, 13, 628, 220, 44731, 44513, 13, 628, 220, 220, 220, 337, 36252, 50, 25, 198, 220, 220, 220, 220, 220, 23772, 198, 220, 220, 220, 220, 220, 220, 220, 30023, 9863, 2751, 21065, 62, 16366, 41876, 4526, 37, 5390, 611, 62, 4023, 62, 16366, 11, 198, 220, 220, 220, 220, 220, 1969, 11, 198, 220, 220, 220, 220, 220, 900, 62, 12894, 395, 198, 220, 220, 220, 220, 220, 220, 220, 30023, 9863, 2751, 33245, 62, 12894, 395, 41876, 4526, 37, 5390, 331, 565, 62, 397, 499, 18300, 62, 4023, 62, 12894, 395, 11, 198, 220, 220, 220, 220, 220, 3758, 62, 260, 15164, 62, 19836, 198, 220, 220, 220, 220, 220, 220, 220, 30023, 9863, 2751, 21628, 62, 7890, 220, 220, 220, 220, 220, 220, 220, 41876, 2124, 8841, 198, 220, 220, 220, 220, 220, 220, 220, 30826, 4261, 15871, 26173, 8924, 7, 81, 85, 62, 7890, 8, 41876, 2124, 8841, 198, 220, 220, 220, 220, 220, 220, 220, 17926, 1797, 2751, 220, 220, 331, 66, 87, 62, 397, 499, 18300, 62, 1069, 4516, 11, 198, 220, 220, 220, 220, 220, 651, 62, 66, 7890, 198, 220, 220, 220, 220, 220, 220, 220, 30826, 4261, 15871, 26173, 8924, 7, 81, 85, 62, 8367, 8, 41876, 4731, 11, 198, 220, 220, 220, 220, 220, 2198, 62, 4023, 62, 2167, 198, 220, 220, 220, 220, 220, 220, 220, 17926, 1797, 2751, 331, 66, 87, 62, 397, 499, 18300, 62, 1069, 4516, 11, 198, 220, 220, 220, 220, 220, 2198, 62, 27004, 62, 26209, 198, 220, 220, 220, 220, 220, 220, 220, 30023, 9863, 2751, 21628, 62, 40319, 62, 11299, 62, 4906, 41876, 4731, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 21628, 62, 11299, 62, 260, 25636, 220, 220, 220, 220, 220, 220, 220, 220, 41876, 4731, 198, 220, 220, 220, 220, 220, 220, 220, 17926, 1797, 2751, 220, 220, 331, 66, 87, 62, 397, 499, 18300, 62, 1069, 4516, 11, 198, 220, 220, 220, 220, 220, 3758, 62, 260, 15164, 198, 220, 220, 220, 220, 220, 220, 220, 17926, 1797, 2751, 331, 66, 87, 62, 397, 499, 18300, 62, 1069, 4516, 11, 198, 220, 220, 220, 220, 220, 900, 62, 50145, 198, 220, 220, 220, 220, 220, 220, 220, 30023, 9863, 2751, 21628, 62, 6371, 220, 220, 220, 220, 41876, 4731, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 21628, 62, 15271, 41876, 4731, 198, 220, 220, 220, 220, 220, 220, 220, 17926, 1797, 2751, 220, 220, 331, 66, 87, 62, 397, 499, 18300, 62, 1069, 4516, 13, 628, 220, 4810, 3824, 6158, 44513, 13, 198, 220, 220, 220, 42865, 25, 21504, 62, 16366, 41876, 4526, 37, 5390, 611, 62, 4023, 62, 16366, 11, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 6941, 62, 12894, 395, 41876, 4526, 37, 5390, 331, 565, 62, 397, 499, 18300, 62, 4023, 62, 12894, 395, 13, 198, 198, 10619, 31631, 13, 628, 198, 198, 31631, 331, 565, 62, 397, 499, 18300, 62, 4023, 62, 16366, 30023, 2538, 10979, 6234, 13, 628, 198, 220, 337, 36252, 2198, 62, 4023, 62, 2167, 13, 628, 220, 220, 220, 42865, 25, 300, 85, 62, 8189, 41876, 1312, 11, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 300, 85, 62, 5239, 41876, 4731, 13, 628, 220, 220, 220, 21504, 62, 16366, 3784, 26209, 3784, 1136, 62, 13376, 7, 198, 220, 220, 220, 220, 220, 30023, 9863, 2751, 198, 220, 220, 220, 220, 220, 220, 220, 2438, 220, 220, 796, 300, 85, 62, 8189, 6739, 198, 220, 220, 220, 42001, 300, 85, 62, 8189, 13, 198, 220, 220, 220, 220, 220, 42099, 939, 13, 198, 220, 220, 220, 220, 220, 220, 220, 30826, 27064, 13, 198, 220, 220, 220, 220, 220, 42099, 32591, 13, 198, 220, 220, 220, 220, 220, 220, 220, 331, 66, 87, 62, 397, 499, 18300, 62, 1069, 4516, 14804, 40225, 7, 705, 40717, 18941, 11, 2198, 10289, 6, 6739, 198, 220, 220, 220, 220, 220, 42099, 22219, 13, 198, 220, 220, 220, 220, 220, 220, 220, 331, 66, 87, 62, 397, 499, 18300, 62, 1069, 4516, 14804, 40225, 7, 705, 40717, 22219, 11, 22959, 6, 6739, 198, 220, 220, 220, 220, 220, 42099, 38210, 13, 198, 220, 220, 220, 220, 220, 220, 220, 331, 66, 87, 62, 397, 499, 18300, 62, 1069, 4516, 14804, 40225, 7, 705, 40717, 38210, 11, 19467, 6, 6739, 198, 220, 220, 220, 220, 220, 42099, 32320, 13, 198, 220, 220, 220, 220, 220, 220, 220, 331, 66, 87, 62, 397, 499, 18300, 62, 1069, 4516, 14804, 40225, 7, 705, 40717, 32320, 11, 407, 1043, 6, 6739, 198, 220, 220, 220, 220, 220, 42099, 40643, 13, 198, 220, 220, 220, 220, 220, 220, 220, 331, 66, 87, 62, 397, 499, 18300, 62, 1069, 4516, 14804, 40225, 7, 705, 40717, 40643, 11, 24222, 2056, 2099, 6, 6739, 198, 220, 220, 220, 220, 220, 42099, 440, 4221, 4877, 13, 198, 220, 220, 220, 220, 220, 220, 220, 300, 85, 62, 5239, 796, 21504, 62, 16366, 3784, 26209, 3784, 1136, 62, 66, 7890, 7, 6739, 198, 220, 220, 220, 220, 220, 220, 220, 331, 66, 87, 62, 397, 499, 18300, 62, 1069, 4516, 14804, 40225, 7, 930, 40717, 4049, 2438, 25, 1391, 300, 85, 62, 8189, 8964, 1391, 300, 85, 62, 5239, 1782, 91, 6739, 198, 220, 220, 220, 23578, 34, 11159, 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, 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, 366, 4023, 62, 2167, 628, 198, 220, 337, 36252, 2198, 62, 27004, 62, 26209, 13, 628, 220, 220, 220, 42865, 25, 300, 85, 62, 11299, 62, 4906, 41876, 4731, 13, 198, 220, 220, 220, 42865, 25, 300, 85, 62, 7890, 220, 220, 220, 220, 220, 220, 220, 220, 41876, 4731, 13, 628 ]
[ 1, 1, 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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opener TYPE c, closer TYPE c, END OF chunk_pair. DATA: input_lines TYPE TABLE OF string, char_offset TYPE i, opened_chunks TYPE TABLE OF c, current_char TYPE c, last_opened_chunk TYPE c, score TYPE i, penalties TYPE TABLE OF penalties_line, chunk_pairs TYPE TABLE OF chunk_pair. cl_gui_frontend_services=>gui_upload( EXPORTING filename = 'C:\Data\AdventOfCode\Day10input.txt' CHANGING data_tab = input_lines ). penalties = VALUE #( ( char = ')' penalty = 3 ) ( char = ']' penalty = 57 ) ( char = '}' penalty = 1197 ) ( char = '>' penalty = 25137 ) ). chunk_pairs = VALUE #( ( opener = '(' closer = ')' ) ( opener = '<' closer = '>' ) ( opener = '[' closer = ']' ) ( opener = '{' closer = '}' ) ). LOOP AT input_lines INTO DATA(input_line). DO strlen( input_line ) TIMES. char_offset = sy-index - 1. current_char = input_line+char_offset(1). IF current_char CA '(<[{'. INSERT current_char INTO opened_chunks INDEX 1. ELSE. last_opened_chunk = opened_chunks[ 1 ]. IF current_char = chunk_pairs[ opener = last_opened_chunk ]-closer. DELETE opened_chunks INDEX 1. ELSE. score = score + penalties[ char = current_char ]-penalty . EXIT. ENDIF. ENDIF. ENDDO. ENDLOOP. WRITE: |{ score }|.
[ 2200, 15490, 1976, 62, 324, 1151, 62, 8189, 62, 1238, 2481, 62, 940, 62, 16, 13, 198, 9936, 47, 1546, 25, 347, 43312, 3963, 12970, 62, 1370, 11, 198, 220, 220, 220, 220, 220, 220, 220, 220, 1149, 220, 220, 220, 41876, 269, 11, 198, 220, 220, 220, 220, 220, 220, 220, 220, 7389, 41876, 1312, 11, 198, 220, 220, 220, 220, 220, 220, 23578, 3963, 12970, 62, 1370, 11, 628, 220, 220, 220, 220, 220, 220, 347, 43312, 3963, 16058, 62, 24874, 11, 198, 220, 220, 220, 220, 220, 220, 220, 220, 21996, 41876, 269, 11, 198, 220, 220, 220, 220, 220, 220, 220, 220, 5699, 41876, 269, 11, 198, 220, 220, 220, 220, 220, 220, 23578, 3963, 16058, 62, 24874, 13, 198, 26947, 25, 198, 220, 5128, 62, 6615, 220, 220, 220, 220, 220, 220, 41876, 43679, 3963, 4731, 11, 198, 220, 1149, 62, 28968, 220, 220, 220, 220, 220, 220, 41876, 1312, 11, 198, 220, 4721, 62, 354, 14125, 220, 220, 220, 220, 41876, 43679, 3963, 269, 11, 198, 220, 1459, 62, 10641, 220, 220, 220, 220, 220, 41876, 269, 11, 198, 220, 938, 62, 26350, 62, 354, 2954, 41876, 269, 11, 198, 220, 4776, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 41876, 1312, 11, 198, 220, 12970, 220, 220, 220, 220, 220, 220, 220, 220, 41876, 43679, 3963, 12970, 62, 1370, 11, 198, 220, 16058, 62, 79, 3468, 220, 220, 220, 220, 220, 220, 41876, 43679, 3963, 16058, 62, 24874, 13, 198, 198, 565, 62, 48317, 62, 8534, 437, 62, 30416, 14804, 48317, 62, 25850, 7, 7788, 15490, 2751, 29472, 796, 705, 34, 7479, 6601, 59, 2782, 1151, 5189, 10669, 59, 12393, 940, 15414, 13, 14116, 6, 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, 5870, 15567, 2751, 220, 1366, 62, 8658, 796, 5128, 62, 6615, 6739, 198, 198, 3617, 10355, 796, 26173, 8924, 1303, 7, 357, 1149, 796, 705, 33047, 7389, 796, 513, 1267, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 357, 1149, 796, 705, 49946, 7389, 796, 7632, 1267, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 357, 1149, 796, 705, 92, 6, 7389, 796, 15136, 22, 1267, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 357, 1149, 796, 705, 29, 6, 7389, 796, 1679, 19708, 1267, 6739, 198, 354, 2954, 62, 79, 3468, 796, 26173, 8924, 1303, 7, 357, 21996, 796, 705, 10786, 5699, 796, 705, 33047, 1267, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 357, 21996, 796, 705, 27, 6, 5699, 796, 705, 29, 6, 1267, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 357, 21996, 796, 705, 17816, 5699, 796, 705, 49946, 1267, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 357, 21996, 796, 705, 90, 6, 5699, 796, 705, 92, 6, 1267, 6739, 198, 198, 21982, 3185, 5161, 5128, 62, 6615, 39319, 42865, 7, 15414, 62, 1370, 737, 198, 220, 8410, 965, 11925, 7, 5128, 62, 1370, 1267, 31742, 1546, 13, 198, 220, 220, 220, 1149, 62, 28968, 796, 827, 12, 9630, 532, 352, 13, 198, 220, 220, 220, 1459, 62, 10641, 796, 5128, 62, 1370, 10, 10641, 62, 28968, 7, 16, 737, 198, 220, 220, 220, 16876, 1459, 62, 10641, 7257, 29513, 27, 58, 90, 4458, 198, 220, 220, 220, 220, 220, 29194, 17395, 1459, 62, 10641, 39319, 4721, 62, 354, 14125, 24413, 6369, 352, 13, 198, 220, 220, 220, 17852, 5188, 13, 198, 220, 220, 220, 220, 220, 938, 62, 26350, 62, 354, 2954, 796, 4721, 62, 354, 14125, 58, 352, 20740, 198, 220, 220, 220, 220, 220, 16876, 1459, 62, 10641, 796, 16058, 62, 79, 3468, 58, 21996, 796, 938, 62, 26350, 62, 354, 2954, 2361, 12, 565, 13416, 13, 198, 220, 220, 220, 220, 220, 220, 220, 5550, 2538, 9328, 4721, 62, 354, 14125, 24413, 6369, 352, 13, 198, 220, 220, 220, 220, 220, 17852, 5188, 13, 198, 220, 220, 220, 220, 220, 220, 220, 4776, 796, 4776, 1343, 12970, 58, 1149, 796, 1459, 62, 10641, 2361, 12, 3617, 6017, 220, 220, 764, 198, 220, 220, 220, 220, 220, 220, 220, 7788, 2043, 13, 198, 220, 220, 220, 220, 220, 23578, 5064, 13, 198, 220, 220, 220, 23578, 5064, 13, 198, 220, 23578, 18227, 13, 198, 10619, 21982, 3185, 13, 198, 18564, 12709, 25, 930, 90, 4776, 1782, 91, 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,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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 ]
*&---------------------------------------------------------------------* *& Include LZUITB_GUI_TEMPLATED01 *&---------------------------------------------------------------------* CLASS lcl_exit_callback DEFINITION. PUBLIC SECTION. INTERFACES zif_uitb_exit_callback. PRIVATE SECTION. DATA: mf_exit_cancelled TYPE sap_bool. ENDCLASS. CLASS lcl_local_controller DEFINITION. PUBLIC SECTION. CLASS-METHODS pai. CLASS-METHODS pbo. CLASS-METHODS exit. CLASS-METHODS clean_up. CLASS-METHODS leave_screen. PRIVATE SECTION. CLASS-METHODS clear_functions. CLASS-METHODS fill_dynamic_functions. CLASS-METHODS should_exit CHANGING cf_exit TYPE abap_bool. ENDCLASS. CLASS lcl_pai_callback DEFINITION. PUBLIC SECTION. INTERFACES zif_uitb_pai_callback. ENDCLASS. CLASS lcl_pbo_callback DEFINITION. PUBLIC SECTION. INTERFACES zif_uitb_pbo_callback. METHODS constructor IMPORTING if_first_screen_call TYPE sap_bool. METHODS get_exclude EXPORTING et_exclude_tab TYPE STANDARD TABLE. PRIVATE SECTION. DATA mt_function_exclude TYPE STANDARD TABLE OF sy-ucomm. DATA mf_is_first_screen_call TYPE sap_bool. ENDCLASS.
[ 9, 5, 10097, 30934, 9, 198, 9, 5, 220, 40348, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 406, 57, 52, 2043, 33, 62, 40156, 62, 51, 3620, 6489, 11617, 486, 198, 9, 5, 10097, 30934, 9, 198, 31631, 300, 565, 62, 37023, 62, 47423, 5550, 20032, 17941, 13, 198, 220, 44731, 44513, 13, 198, 220, 220, 220, 23255, 37, 2246, 1546, 1976, 361, 62, 5013, 65, 62, 37023, 62, 47423, 13, 198, 220, 4810, 3824, 6158, 44513, 13, 198, 220, 220, 220, 42865, 25, 285, 69, 62, 37023, 62, 66, 590, 3353, 41876, 31841, 62, 30388, 13, 198, 10619, 31631, 13, 198, 198, 31631, 300, 565, 62, 12001, 62, 36500, 5550, 20032, 17941, 13, 198, 220, 44731, 44513, 13, 198, 220, 220, 220, 42715, 12, 49273, 50, 279, 1872, 13, 198, 220, 220, 220, 42715, 12, 49273, 50, 279, 2127, 13, 198, 220, 220, 220, 42715, 12, 49273, 50, 8420, 13, 198, 220, 220, 220, 42715, 12, 49273, 50, 3424, 62, 929, 13, 198, 220, 220, 220, 42715, 12, 49273, 50, 2666, 62, 9612, 13, 198, 220, 4810, 3824, 6158, 44513, 13, 198, 220, 220, 220, 42715, 12, 49273, 50, 1598, 62, 12543, 2733, 13, 198, 220, 220, 220, 42715, 12, 49273, 50, 6070, 62, 67, 28995, 62, 12543, 2733, 13, 198, 220, 220, 220, 42715, 12, 49273, 50, 815, 62, 37023, 198, 220, 220, 220, 220, 220, 5870, 15567, 2751, 198, 220, 220, 220, 220, 220, 220, 220, 30218, 62, 37023, 41876, 450, 499, 62, 30388, 13, 198, 10619, 31631, 13, 198, 198, 31631, 300, 565, 62, 49712, 62, 47423, 5550, 20032, 17941, 13, 198, 220, 44731, 44513, 13, 198, 220, 220, 220, 23255, 37, 2246, 1546, 1976, 361, 62, 5013, 65, 62, 49712, 62, 47423, 13, 198, 10619, 31631, 13, 198, 198, 31631, 300, 565, 62, 79, 2127, 62, 47423, 5550, 20032, 17941, 13, 628, 220, 44731, 44513, 13, 198, 220, 220, 220, 23255, 37, 2246, 1546, 1976, 361, 62, 5013, 65, 62, 79, 2127, 62, 47423, 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, 611, 62, 11085, 62, 9612, 62, 13345, 41876, 31841, 62, 30388, 13, 198, 220, 220, 220, 337, 36252, 50, 651, 62, 1069, 9152, 198, 220, 220, 220, 220, 220, 7788, 15490, 2751, 198, 220, 220, 220, 220, 220, 220, 220, 2123, 62, 1069, 9152, 62, 8658, 41876, 49053, 9795, 43679, 13, 198, 220, 4810, 3824, 6158, 44513, 13, 198, 220, 220, 220, 42865, 45079, 62, 8818, 62, 1069, 9152, 41876, 49053, 9795, 43679, 3963, 827, 12, 84, 9503, 13, 198, 220, 220, 220, 42865, 285, 69, 62, 271, 62, 11085, 62, 9612, 62, 13345, 41876, 31841, 62, 30388, 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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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 ]
*&---------------------------------------------------------------------* *& Report ZTEST_DEVOPS *&---------------------------------------------------------------------* *& *&---------------------------------------------------------------------* REPORT ZTEST_DEVOPS. Data : Mara type mara.
[ 9, 5, 10097, 30934, 9, 198, 9, 5, 6358, 1168, 51, 6465, 62, 39345, 30737, 198, 9, 5, 10097, 30934, 9, 198, 9, 5, 198, 9, 5, 10097, 30934, 9, 198, 2200, 15490, 1168, 51, 6465, 62, 39345, 30737, 13, 198, 198, 6601, 1058, 40124, 2099, 1667, 64, 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 ]
CLASS ycl_a2g_json_batchupdate_res DEFINITION PUBLIC INHERITING FROM ycl_a2g_jsonbase CREATE PUBLIC . PUBLIC SECTION. "! Build the class "! @parameter if_msg_manager | message managere where soter alla message triggered by the applicaition METHODS constructor IMPORTING if_msg_manager TYPE REF TO yif_a2g_msg_manager. METHODS: yif_a2g_json~new_element REDEFINITION. METHODS: yif_a2g_json~get_element REDEFINITION. METHODS: yif_a2g_json~set_attribute REDEFINITION. METHODS: yif_a2g_json~get_attribute REDEFINITION. TYPES: BEGIN OF ty_s_json_batchupdate_res, spreadsheetid TYPE string, totalupdatedrows TYPE i, totalupdatedcolumns TYPE i, totalupdatedcells TYPE i, totalupdatedsheets TYPE i, responses TYPE ycl_a2g_json_upd_val_response=>ty_t_json_updatevaluesresponse, END OF ty_s_json_batchupdate_res. CONSTANTS: gc_fnam_spreadsheetid TYPE string VALUE 'SPREADSHEETID'. CONSTANTS: gc_fnam_totalupdatedrows TYPE string VALUE 'TOTALUPDATEDROWS'. CONSTANTS: gc_fnam_totalupdatedcolumns TYPE string VALUE 'TOTALUPDATEDCOLUMNS'. CONSTANTS: gc_fnam_totalupdatedcells TYPE string VALUE 'TOTALUPDATEDCELLS'. CONSTANTS: gc_fnam_totalupdatedsheets TYPE string VALUE 'TOTALUPDATEDSHEETS'. CONSTANTS: gc_fnam_responses TYPE string VALUE 'RESPONSES'. PROTECTED SECTION. METHODS generate_rules REDEFINITION. METHODS rebuild_data REDEFINITION. METHODS push_data REDEFINITION. DATA: gs_batchupdate_res TYPE ty_s_json_batchupdate_res. METHODS set_spreadsheetid IMPORTING !i_value TYPE REF TO data. METHODS set_totalupdatedrows IMPORTING !i_value TYPE REF TO data. METHODS set_totalupdatedcolumns IMPORTING !i_value TYPE REF TO data. METHODS set_totalupdatedcells IMPORTING !i_value TYPE REF TO data. METHODS set_totalupdatedsheets IMPORTING !i_value TYPE REF TO data. METHODS NEW_responses RETURNING VALUE(return) TYPE REF TO yif_a2g_json. PRIVATE SECTION. ENDCLASS. CLASS ycl_a2g_json_batchupdate_res IMPLEMENTATION. METHOD push_data. LOOP AT me->gs_batchupdate_res-responses INTO DATA(ls_response). DATA(lif_a2g_json_grid) = me->NEW_responses( ). lif_a2g_json_grid->yif_a2g_context~write_data( REF #( ls_response ) ). ENDLOOP. ENDMETHOD. METHOD rebuild_data. DATA: lif_a2g_json TYPE REF TO yif_a2g_json. FIELD-SYMBOLS <fs_value_range> TYPE any. DATA(lt_names) = me->go_json_array->getpartnamesofinstances( me->gc_fnam_responses ). LOOP AT lt_names INTO DATA(lv_name). lif_a2g_json ?= me->go_json_array->getinstance( lv_name ). DATA(dref_data) = lif_a2g_json->yif_a2g_context~read_data( ). ASSIGN dref_data->* TO <fs_value_range>. APPEND <fs_value_range> TO me->gs_batchupdate_res-responses. ENDLOOP. ENDMETHOD. METHOD constructor. super->constructor( if_msg_manager ). me->gv_data = REF #( me->gs_batchupdate_res ). ENDMETHOD. METHOD generate_rules. ENDMETHOD. METHOD yif_a2g_json~new_element. CASE i_name . WHEN gc_fnam_responses . return = me->NEW_responses( ). ENDCASE. ENDMETHOD. METHOD yif_a2g_json~get_element. CASE i_name . WHEN gc_fnam_responses. DATA(lt_names) = me->go_json_array->getpartnamesofinstances( me->gc_fnam_responses ). TRY. DATA(lv_name) = lt_names[ i_enum ]. return ?= me->go_json_array->getinstance( lv_name ). CATCH cx_sy_itab_line_not_found. ENDTRY. ENDCASE. ENDMETHOD. METHOD NEW_responses . DATA: lo_object TYPE REF TO object. return = me->go_json_factory->build_json_instance( 'YCL_A2G_JSON_UPD_VAL_RESPONSE' ). lo_object ?= return. DATA: lv_line TYPE numc4. DATA(lt_names) = me->go_json_array->getpartnamesofinstances( me->gc_fnam_responses ). lv_line = lines( lt_names ). me->go_json_array->setinstance( im_name = me->gc_fnam_responses && lv_line im_object = lo_object ). ENDMETHOD. METHOD set_spreadsheetid. FIELD-SYMBOLS <fs_value> TYPE STRING. ASSIGN i_value->* TO <fs_value>. IF <fs_value> IS ASSIGNED. CHECK me->gs_batchupdate_res-spreadsheetid <> <fs_value>. me->gs_batchupdate_res-spreadsheetid = <fs_value>. ENDIF. ENDMETHOD. METHOD set_totalupdatedrows. FIELD-SYMBOLS <fs_value> TYPE i. ASSIGN i_value->* TO <fs_value>. IF <fs_value> IS ASSIGNED. CHECK me->gs_batchupdate_res-totalupdatedrows <> <fs_value>. me->gs_batchupdate_res-totalupdatedrows = <fs_value>. ENDIF. ENDMETHOD. METHOD set_totalupdatedcolumns. FIELD-SYMBOLS <fs_value> TYPE i. ASSIGN i_value->* TO <fs_value>. IF <fs_value> IS ASSIGNED. CHECK me->gs_batchupdate_res-totalupdatedcolumns <> <fs_value>. me->gs_batchupdate_res-totalupdatedcolumns = <fs_value>. ENDIF. ENDMETHOD. METHOD set_totalupdatedcells . FIELD-SYMBOLS <fs_value> TYPE i. ASSIGN i_value->* TO <fs_value>. IF <fs_value> IS ASSIGNED. CHECK me->gs_batchupdate_res-totalupdatedcells <> <fs_value>. me->gs_batchupdate_res-totalupdatedcells = <fs_value>. ENDIF. ENDMETHOD. METHOD set_totalupdatedsheets . FIELD-SYMBOLS <fs_value> TYPE i. ASSIGN i_value->* TO <fs_value>. IF <fs_value> IS ASSIGNED. CHECK me->gs_batchupdate_res-totalupdatedsheets <> <fs_value>. me->gs_batchupdate_res-totalupdatedsheets = <fs_value>. ENDIF. ENDMETHOD. METHOD yif_a2g_json~set_attribute. CASE i_name. WHEN gc_fnam_spreadsheetid . me->set_spreadsheetid( i_value ). WHEN gc_fnam_totalupdatedrows . me->set_totalupdatedrows( i_value ). WHEN gc_fnam_totalupdatedcells . me->set_totalupdatedcolumns( i_value ). WHEN gc_fnam_totalupdatedcells . me->set_totalupdatedcells( i_value ). WHEN gc_fnam_totalupdatedsheets . me->set_totalupdatedsheets( i_value ). ENDCASE. ENDMETHOD. METHOD yif_a2g_json~get_attribute. CASE i_name. WHEN gc_fnam_spreadsheetid . return = REF #( me->gs_batchupdate_res-spreadsheetid ). WHEN gc_fnam_totalupdatedrows . return = REF #( me->gs_batchupdate_res-totalupdatedrows ). WHEN gc_fnam_totalupdatedcolumns . return = REF #( me->gs_batchupdate_res-totalupdatedcolumns ). WHEN gc_fnam_totalupdatedcells . return = REF #( me->gs_batchupdate_res-totalupdatedcells ). WHEN gc_fnam_totalupdatedsheets . return = REF #( me->gs_batchupdate_res-totalupdatedsheets ). ENDCASE. ENDMETHOD. ENDCLASS.
[ 31631, 331, 565, 62, 64, 17, 70, 62, 17752, 62, 43501, 19119, 62, 411, 5550, 20032, 17941, 198, 220, 44731, 198, 220, 3268, 16879, 2043, 2751, 16034, 331, 565, 62, 64, 17, 70, 62, 17752, 8692, 198, 220, 29244, 6158, 44731, 764, 628, 220, 44731, 44513, 13, 628, 220, 220, 220, 366, 0, 10934, 262, 1398, 198, 220, 220, 220, 366, 0, 2488, 17143, 2357, 611, 62, 19662, 62, 37153, 930, 3275, 6687, 260, 810, 264, 19543, 477, 64, 3275, 13973, 416, 262, 2161, 64, 653, 198, 220, 220, 220, 337, 36252, 50, 23772, 198, 220, 220, 220, 220, 220, 30023, 9863, 2751, 611, 62, 19662, 62, 37153, 41876, 4526, 37, 5390, 331, 361, 62, 64, 17, 70, 62, 19662, 62, 37153, 13, 628, 220, 220, 220, 337, 36252, 50, 25, 331, 361, 62, 64, 17, 70, 62, 17752, 93, 3605, 62, 30854, 220, 220, 220, 220, 220, 220, 220, 23848, 36, 20032, 17941, 13, 198, 220, 220, 220, 337, 36252, 50, 25, 331, 361, 62, 64, 17, 70, 62, 17752, 93, 1136, 62, 30854, 220, 220, 220, 220, 220, 220, 220, 23848, 36, 20032, 17941, 13, 198, 220, 220, 220, 337, 36252, 50, 25, 331, 361, 62, 64, 17, 70, 62, 17752, 93, 2617, 62, 42348, 220, 220, 220, 220, 220, 23848, 36, 20032, 17941, 13, 198, 220, 220, 220, 337, 36252, 50, 25, 331, 361, 62, 64, 17, 70, 62, 17752, 93, 1136, 62, 42348, 220, 220, 220, 220, 220, 23848, 36, 20032, 17941, 13, 628, 220, 220, 220, 24412, 47, 1546, 25, 347, 43312, 3963, 1259, 62, 82, 62, 17752, 62, 43501, 19119, 62, 411, 11, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 30117, 312, 220, 220, 220, 220, 220, 220, 41876, 4731, 11, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 2472, 43162, 8516, 220, 220, 220, 41876, 1312, 11, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 2472, 43162, 28665, 82, 41876, 1312, 11, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 2472, 43162, 46342, 220, 220, 41876, 1312, 11, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 2472, 43162, 42011, 220, 41876, 1312, 11, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 9109, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 41876, 331, 565, 62, 64, 17, 70, 62, 17752, 62, 929, 67, 62, 2100, 62, 26209, 14804, 774, 62, 83, 62, 17752, 62, 19119, 27160, 26209, 11, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 23578, 3963, 1259, 62, 82, 62, 17752, 62, 43501, 19119, 62, 411, 13, 628, 220, 220, 220, 7102, 2257, 1565, 4694, 25, 308, 66, 62, 69, 7402, 62, 43639, 21760, 312, 220, 220, 220, 220, 220, 220, 41876, 4731, 26173, 8924, 705, 4303, 15675, 9693, 36, 2767, 2389, 4458, 198, 220, 220, 220, 7102, 2257, 1565, 4694, 25, 308, 66, 62, 69, 7402, 62, 23350, 43162, 8516, 220, 220, 220, 41876, 4731, 26173, 8924, 705, 51, 27510, 52, 49316, 49, 22845, 4458, 198, 220, 220, 220, 7102, 2257, 1565, 4694, 25, 308, 66, 62, 69, 7402, 62, 23350, 43162, 28665, 82, 41876, 4731, 26173, 8924, 705, 51, 27510, 52, 49316, 25154, 5883, 8035, 4458, 198, 220, 220, 220, 7102, 2257, 1565, 4694, 25, 308, 66, 62, 69, 7402, 62, 23350, 43162, 46342, 220, 220, 41876, 4731, 26173, 8924, 705, 51, 27510, 52, 49316, 5222, 3069, 50, 4458, 198, 220, 220, 220, 7102, 2257, 1565, 4694, 25, 308, 66, 62, 69, 7402, 62, 23350, 43162, 42011, 220, 41876, 4731, 26173, 8924, 705, 51, 27510, 52, 49316, 9693, 36, 32716, 4458, 198, 220, 220, 220, 7102, 2257, 1565, 4694, 25, 308, 66, 62, 69, 7402, 62, 16733, 274, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 41876, 4731, 26173, 8924, 705, 19535, 47, 19213, 1546, 4458, 628, 198, 220, 48006, 9782, 1961, 44513, 13, 198, 220, 220, 220, 337, 36252, 50, 7716, 62, 38785, 23848, 36, 20032, 17941, 13, 198, 220, 220, 220, 337, 36252, 50, 17884, 62, 7890, 220, 220, 23848, 36, 20032, 17941, 13, 198, 220, 220, 220, 337, 36252, 50, 4574, 62, 7890, 220, 220, 220, 220, 220, 23848, 36, 20032, 17941, 13, 628, 220, 220, 220, 42865, 25, 308, 82, 62, 43501, 19119, 62, 411, 41876, 1259, 62, 82, 62, 17752, 62, 43501, 19119, 62, 411, 13, 628, 220, 220, 220, 337, 36252, 50, 900, 62, 43639, 21760, 312, 220, 220, 220, 220, 220, 220, 30023, 9863, 2751, 5145, 72, 62, 8367, 41876, 4526, 37, 5390, 1366, 13, 198, 220, 220, 220, 337, 36252, 50, 900, 62, 23350, 43162, 8516, 220, 220, 220, 30023, 9863, 2751, 5145, 72, 62, 8367, 41876, 4526, 37, 5390, 1366, 13, 198, 220, 220, 220, 337, 36252, 50, 900, 62, 23350, 43162, 28665, 82, 30023, 9863, 2751, 5145, 72, 62, 8367, 41876, 4526, 37, 5390, 1366, 13, 198, 220, 220, 220, 337, 36252, 50, 900, 62, 23350, 43162, 46342, 220, 220, 30023, 9863, 2751, 5145, 72, 62, 8367, 41876, 4526, 37, 5390, 1366, 13, 198, 220, 220, 220, 337, 36252, 50, 900, 62, 23350, 43162, 42011, 220, 30023, 9863, 2751, 5145, 72, 62, 8367, 41876, 4526, 37, 5390, 1366, 13, 628, 220, 220, 220, 337, 36252, 50, 12682, 62, 16733, 274, 220, 30826, 4261, 15871, 26173, 8924, 7, 7783, 8, 41876, 4526, 37, 5390, 331, 361, 62, 64, 17, 70, 62, 17752, 13, 198, 220, 4810, 3824, 6158, 44513, 13, 198, 10619, 31631, 13, 628, 198, 198, 31631, 331, 565, 62, 64, 17, 70, 62, 17752, 62, 43501, 19119, 62, 411, 30023, 2538, 10979, 6234, 13, 628, 220, 337, 36252, 4574, 62, 7890, 13, 628, 220, 220, 220, 17579, 3185, 5161, 502, 3784, 14542, 62, 43501, 19119, 62, 411, 12, 16733, 274, 39319, 42865, 7, 7278, 62, 26209,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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 ]
CLASS y_check_comment_position DEFINITION PUBLIC INHERITING FROM y_check_base CREATE PUBLIC . PUBLIC SECTION. METHODS constructor. PROTECTED SECTION. METHODS inspect_tokens REDEFINITION. PRIVATE SECTION. METHODS has_wrong_position IMPORTING statement TYPE sstmnt RETURNING VALUE(result) TYPE abap_bool. METHODS is_pseudo_comment IMPORTING token TYPE stokesx RETURNING VALUE(result) TYPE abap_bool. METHODS is_type_asterisk IMPORTING token TYPE stokesx RETURNING VALUE(result) TYPE abap_bool. METHODS is_pragma IMPORTING token TYPE stokesx RETURNING VALUE(result) TYPE abap_bool. METHODS get_next_token IMPORTING current_position TYPE i RETURNING VALUE(result) TYPE stokesx RAISING cx_sy_itab_line_not_found. ENDCLASS. CLASS y_check_comment_position IMPLEMENTATION. METHOD constructor. super->constructor( ). settings-disable_threshold_selection = abap_true. settings-ignore_pseudo_comments = abap_true. settings-threshold = 0. settings-documentation = |{ c_docs_path-checks }comment-position.md|. set_check_message( 'Quote comments indent along with the statements they comment!' ). ENDMETHOD. METHOD inspect_tokens. CHECK statement-type = 'P'. CHECK has_wrong_position( statement ). DATA(check_configuration) = detect_check_configuration( statement ). raise_error( statement_level = statement-level statement_index = index statement_from = statement-from check_configuration = check_configuration ). ENDMETHOD. METHOD has_wrong_position. TRY. DATA(previous_token) = ref_scan->tokens[ statement-to - 1 ]. DATA(current_token) = ref_scan->tokens[ statement-to ]. CATCH cx_sy_itab_line_not_found. RETURN. ENDTRY. IF is_pseudo_comment( current_token ) = abap_true OR is_type_asterisk( current_token ) = abap_true. RETURN. ENDIF. " In-line Comment IF current_token-row = previous_token-row. result = abap_true. RETURN. ENDIF. TRY. DATA(next_token) = get_next_token( statement-to ). CATCH cx_sy_itab_line_not_found. RETURN. ENDTRY. " Empty Branch IF next_token-str CP 'END*'. result = COND #( WHEN next_token-str = 'ENDTRY' THEN xsdbool( current_token-row = next_token-row - 1 AND current_token-col <> next_token-col + 4 ) ELSE xsdbool( current_token-row = next_token-row - 1 AND current_token-col <> next_token-col + 2 ) ). RETURN. ENDIF. " Wrong Position IF current_token-row = next_token-row - 1 AND current_token-col <> next_token-col. result = abap_true. ENDIF. ENDMETHOD. METHOD is_pseudo_comment. TRY. result = xsdbool( token-str(4) = '"#EC' ). CATCH cx_sy_range_out_of_bounds. result = abap_false. ENDTRY. ENDMETHOD. METHOD is_type_asterisk. TRY. result = xsdbool( token-str(1) = '*' ). CATCH cx_sy_range_out_of_bounds. result = abap_false. ENDTRY. ENDMETHOD. METHOD get_next_token. DATA(next_position) = current_position + 1. result = ref_scan->tokens[ next_position ]. IF is_pragma( result ) = abap_true OR is_pseudo_comment( result ) = abap_true. result = get_next_token( next_position ). ENDIF. ENDMETHOD. METHOD is_pragma. TRY. result = xsdbool( token-str(2) = '##' ). CATCH cx_sy_range_out_of_bounds. result = abap_false. ENDTRY. ENDMETHOD. ENDCLASS.
[ 31631, 331, 62, 9122, 62, 23893, 62, 9150, 5550, 20032, 17941, 44731, 3268, 16879, 2043, 2751, 16034, 331, 62, 9122, 62, 8692, 29244, 6158, 44731, 764, 198, 220, 44731, 44513, 13, 198, 220, 220, 220, 337, 36252, 50, 23772, 13, 628, 220, 48006, 9782, 1961, 44513, 13, 198, 220, 220, 220, 337, 36252, 50, 10104, 62, 83, 482, 641, 23848, 36, 20032, 17941, 13, 628, 220, 4810, 3824, 6158, 44513, 13, 198, 220, 220, 220, 337, 36252, 50, 468, 62, 36460, 62, 9150, 30023, 9863, 2751, 2643, 41876, 264, 301, 76, 429, 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, 30826, 4261, 15871, 26173, 8924, 7, 20274, 8, 41876, 450, 499, 62, 30388, 13, 628, 220, 220, 220, 337, 36252, 50, 318, 62, 7752, 12003, 62, 23893, 30023, 9863, 2751, 11241, 41876, 336, 3369, 87, 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, 30826, 4261, 15871, 26173, 8924, 7, 20274, 8, 41876, 450, 499, 62, 30388, 13, 628, 220, 220, 220, 337, 36252, 50, 318, 62, 4906, 62, 1603, 1984, 30023, 9863, 2751, 11241, 41876, 336, 3369, 87, 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, 30826, 4261, 15871, 26173, 8924, 7, 20274, 8, 41876, 450, 499, 62, 30388, 13, 628, 220, 220, 220, 337, 36252, 50, 318, 62, 1050, 363, 2611, 30023, 9863, 2751, 11241, 41876, 336, 3369, 87, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 30826, 4261, 15871, 26173, 8924, 7, 20274, 8, 41876, 450, 499, 62, 30388, 13, 628, 220, 220, 220, 337, 36252, 50, 651, 62, 19545, 62, 30001, 30023, 9863, 2751, 1459, 62, 9150, 41876, 1312, 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, 30826, 4261, 15871, 26173, 8924, 7, 20274, 8, 41876, 336, 3369, 87, 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, 17926, 1797, 2751, 43213, 62, 1837, 62, 270, 397, 62, 1370, 62, 1662, 62, 9275, 13, 198, 198, 10619, 31631, 13, 628, 198, 198, 31631, 331, 62, 9122, 62, 23893, 62, 9150, 30023, 2538, 10979, 6234, 13, 628, 198, 220, 337, 36252, 23772, 13, 198, 220, 220, 220, 2208, 3784, 41571, 273, 7, 6739, 628, 220, 220, 220, 6460, 12, 40223, 62, 400, 10126, 62, 49283, 796, 450, 499, 62, 7942, 13, 198, 220, 220, 220, 6460, 12, 46430, 62, 7752, 12003, 62, 15944, 796, 450, 499, 62, 7942, 13, 198, 220, 220, 220, 6460, 12, 400, 10126, 796, 657, 13, 198, 220, 220, 220, 6460, 12, 22897, 341, 796, 930, 90, 269, 62, 31628, 62, 6978, 12, 42116, 1782, 23893, 12, 9150, 13, 9132, 91, 13, 628, 220, 220, 220, 900, 62, 9122, 62, 20500, 7, 705, 25178, 3651, 33793, 1863, 351, 262, 6299, 484, 2912, 13679, 6739, 198, 220, 23578, 49273, 13, 628, 198, 220, 337, 36252, 10104, 62, 83, 482, 641, 13, 198, 220, 220, 220, 5870, 25171, 2643, 12, 4906, 796, 705, 47, 4458, 198, 220, 220, 220, 5870, 25171, 468, 62, 36460, 62, 9150, 7, 2643, 6739, 628, 220, 220, 220, 42865, 7, 9122, 62, 11250, 3924, 8, 796, 4886, 62, 9122, 62, 11250, 3924, 7, 2643, 6739, 628, 220, 220, 220, 5298, 62, 18224, 7, 2643, 62, 5715, 796, 2643, 12, 5715, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 2643, 62, 9630, 796, 6376, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 2643, 62, 6738, 796, 2643, 12, 6738, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 2198, 62, 11250, 3924, 796, 2198, 62, 11250, 3924, 6739, 198, 220, 23578, 49273, 13, 628, 198, 220, 337, 36252, 468, 62, 36460, 62, 9150, 13, 198, 220, 220, 220, 7579, 56, 13, 198, 220, 220, 220, 220, 220, 220, 220, 42865, 7, 3866, 1442, 62, 30001, 8, 796, 1006, 62, 35836, 3784, 83, 482, 641, 58, 2643, 12, 1462, 532, 352, 20740, 198, 220, 220, 220, 220, 220, 220, 220, 42865, 7, 14421, 62, 30001, 8, 796, 1006, 62, 35836, 3784, 83, 482, 641, 58, 2643, 12, 1462, 20740, 198, 220, 220, 220, 220, 220, 327, 11417, 43213, 62, 1837, 62, 270, 397, 62, 1370, 62, 1662, 62, 9275, 13, 198, 220, 220, 220, 220, 220, 220, 220, 30826, 27064, 13, 198, 220, 220, 220, 23578, 40405, 13, 628, 220, 220, 220, 16876, 318, 62, 7752, 12003, 62, 23893, 7, 1459, 62, 30001, 1267, 796, 450, 499, 62, 7942, 198, 220, 220, 220, 6375, 318, 62, 4906, 62, 1603, 1984, 7, 1459, 62, 30001, 1267, 796, 450, 499, 62, 7942, 13, 198, 220, 220, 220, 220, 220, 30826, 27064, 13, 198, 220, 220, 220, 23578, 5064, 13, 628, 220, 220, 220, 366, 554, 12, 1370, 18957, 198, 220, 220, 220, 16876, 1459, 62, 30001, 12, 808, 796, 2180, 62, 30001, 12, 808, 13, 198, 220, 220, 220, 220, 220, 1255, 796, 450, 499, 62, 7942, 13, 198, 220, 220, 220, 220, 220, 30826, 27064, 13, 198, 220, 220, 220, 23578, 5064, 13, 628, 220, 220, 220, 7579, 56, 13, 198, 220, 220, 220, 220, 220, 220, 220, 42865, 7, 19545, 62, 30001, 8, 796, 651, 62, 19545, 62, 30001, 7, 2643, 12, 1462, 6739, 198, 220, 220, 220, 220, 220, 327, 11417, 43213, 62, 1837, 62, 270, 397, 62, 1370, 62, 1662, 62, 9275, 13, 198, 220, 220, 220, 220, 220, 220, 220, 30826, 27064, 13, 198, 220, 220, 220, 23578, 40405, 13, 628, 220, 220, 220, 366, 33523, 20551, 198, 220, 220, 220 ]
[ 1, 1, 1, 1, 1, 1, 1, 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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SYSTEM *" REFERENCE(I_EVENT_TYPES) TYPE /SAPTRX/EVTYPES *" REFERENCE(I_ALL_APPL_TABLES) TYPE TRXAS_TABCONTAINER *" REFERENCE(I_EVENTTYPE_TAB) TYPE TRXAS_EVENTTYPE_TABS_WA *" REFERENCE(I_EVENT) TYPE TRXAS_EVT_CTAB_WA *" EXPORTING *" VALUE(E_RESULT) LIKE SY-BINPT *" TABLES *" C_LOGTABLE STRUCTURE BAPIRET2 OPTIONAL *" EXCEPTIONS *" PARAMETER_ERROR *" RELEVANCE_DETERM_ERROR *" STOP_PROCESSING *"---------------------------------------------------------------------- TRY. lcl_actual_event=>get_tor_actual_event_class( i_event )->check_event_relevance( EXPORTING i_all_appl_tables = i_all_appl_tables iv_event_code = /scmtms/if_tor_const=>sc_tor_event-popu i_event = i_event IMPORTING e_result = e_result ). CATCH cx_udm_message INTO DATA(lo_udm_message). lcl_tools=>get_errors_log( EXPORTING io_umd_message = lo_udm_message iv_appsys = i_appsys IMPORTING es_bapiret = DATA(ls_bapiret) ). APPEND ls_bapiret TO c_logtable. RAISE stop_processing. ENDTRY. IF e_result = lif_ef_constants=>cs_condition-false. RETURN. ENDIF. CALL FUNCTION '/SCMTMS/REL_EVT_TOR_POPU' EXPORTING i_appsys = i_appsys i_event_types = i_event_types i_all_appl_tables = i_all_appl_tables i_eventtype_tab = i_eventtype_tab i_event = i_event IMPORTING e_result = e_result TABLES c_logtable = c_logtable EXCEPTIONS parameter_error = 1 relevance_determ_error = 2 stop_processing = 3 OTHERS = 4. CASE sy-subrc. WHEN 1. RAISE parameter_error. WHEN 2. RAISE relevance_determ_error. WHEN 3. RAISE stop_processing. ENDCASE. ENDFUNCTION.
[ 42296, 4177, 2849, 1976, 82, 301, 62, 70, 926, 62, 1453, 62, 6513, 62, 12924, 84, 62, 2411, 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, 2969, 3705, 16309, 8, 41876, 220, 1220, 50, 2969, 5446, 55, 14, 2969, 6489, 23060, 25361, 198, 9, 1, 220, 220, 220, 220, 4526, 24302, 18310, 7, 40, 62, 20114, 3525, 62, 9936, 47, 1546, 8, 41876, 220, 1220, 50, 2969, 5446, 55, 14, 20114, 9936, 47, 1546, 198, 9, 1, 220, 220, 220, 220, 4526, 24302, 18310, 7, 40, 62, 7036, 62, 2969, 6489, 62, 5603, 9148, 1546, 8, 41876, 220, 7579, 55, 1921, 62, 5603, 2749, 1340, 30339, 1137, 198, 9, 1, 220, 220, 220, 220, 4526, 24302, 18310, 7, 40, 62, 20114, 3525, 25216, 62, 5603, 33, 8, 41876, 220, 7579, 55, 1921, 62, 20114, 3525, 25216, 62, 5603, 4462, 62, 15543, 198, 9, 1, 220, 220, 220, 220, 4526, 24302, 18310, 7, 40, 62, 20114, 3525, 8, 41876, 220, 7579, 55, 1921, 62, 20114, 51, 62, 4177, 6242, 62, 15543, 198, 9, 1, 220, 7788, 15490, 2751, 198, 9, 1, 220, 220, 220, 220, 26173, 8924, 7, 36, 62, 19535, 16724, 8, 34178, 220, 19704, 12, 33, 1268, 11571, 198, 9, 1, 220, 309, 6242, 28378, 198, 9, 1, 220, 220, 220, 220, 220, 327, 62, 25294, 38148, 19269, 18415, 11335, 220, 347, 17614, 26087, 17, 39852, 2849, 1847, 198, 9, 1, 220, 7788, 42006, 11053, 198, 9, 1, 220, 220, 220, 220, 220, 29463, 2390, 2767, 1137, 62, 24908, 198, 9, 1, 220, 220, 220, 220, 220, 49968, 53, 19240, 62, 35, 2767, 1137, 44, 62, 24908, 198, 9, 1, 220, 220, 220, 220, 220, 44934, 62, 4805, 4503, 7597, 2751, 198, 9, 1, 10097, 23031, 198, 220, 7579, 56, 13, 198, 220, 220, 220, 220, 220, 300, 565, 62, 50039, 62, 15596, 14804, 1136, 62, 13165, 62, 50039, 62, 15596, 62, 4871, 7, 1312, 62, 15596, 1267, 3784, 9122, 62, 15596, 62, 260, 2768, 590, 7, 198, 220, 220, 220, 220, 220, 220, 220, 7788, 15490, 2751, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 1312, 62, 439, 62, 1324, 75, 62, 83, 2977, 796, 1312, 62, 439, 62, 1324, 75, 62, 83, 2977, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 21628, 62, 15596, 62, 8189, 220, 220, 220, 220, 796, 1220, 1416, 16762, 907, 14, 361, 62, 13165, 62, 9979, 14804, 1416, 62, 13165, 62, 15596, 12, 12924, 84, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 1312, 62, 15596, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 796, 1312, 62, 15596, 198, 220, 220, 220, 220, 220, 220, 220, 30023, 9863, 2751, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 304, 62, 20274, 220, 220, 220, 220, 220, 220, 220, 220, 220, 796, 304, 62, 20274, 6739, 198, 220, 220, 220, 327, 11417, 43213, 62, 463, 76, 62, 20500, 39319, 42865, 7, 5439, 62, 463, 76, 62, 20500, 737, 198, 220, 220, 220, 220, 220, 300, 565, 62, 31391, 14804, 1136, 62, 48277, 62, 6404, 7, 198, 220, 220, 220, 220, 220, 220, 220, 7788, 15490, 2751, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 33245, 62, 388, 67, 62, 20500, 796, 2376, 62, 463, 76, 62, 20500, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 21628, 62, 1324, 17597, 220, 220, 220, 220, 220, 796, 1312, 62, 1324, 17597, 198, 220, 220, 220, 220, 220, 220, 220, 30023, 9863, 2751, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 1658, 62, 65, 499, 557, 83, 220, 220, 220, 220, 796, 42865, 7, 7278, 62, 65, 499, 557, 83, 8, 6739, 198, 220, 220, 220, 220, 220, 43504, 10619, 43979, 62, 65, 499, 557, 83, 5390, 269, 62, 6404, 11487, 13, 198, 220, 220, 220, 220, 220, 17926, 24352, 2245, 62, 36948, 13, 198, 220, 23578, 40405, 13, 628, 220, 16876, 304, 62, 20274, 796, 3868, 62, 891, 62, 9979, 1187, 14804, 6359, 62, 31448, 12, 9562, 13, 198, 220, 220, 220, 30826, 27064, 13, 198, 220, 23578, 5064, 13, 628, 220, 42815, 29397, 4177, 2849, 31051, 6173, 13752, 5653, 14, 16448, 62, 20114, 51, 62, 32961, 62, 47, 3185, 52, 6, 198, 220, 220, 220, 7788, 15490, 2751, 198, 220, 220, 220, 220, 220, 1312, 62, 1324, 17597, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 796, 1312, 62, 1324, 17597, 198, 220, 220, 220, 220, 220, 1312, 62, 15596, 62, 19199, 220, 220, 220, 220, 220, 220, 220, 220, 220, 796, 1312, 62, 15596, 62, 19199, 198, 220, 220, 220, 220, 220, 1312, 62, 439, 62, 1324, 75, 62, 83, 2977, 220, 220, 220, 220, 220, 796, 1312, 62, 439, 62, 1324, 75, 62, 83, 2977, 198, 220, 220, 220, 220, 220, 1312, 62, 15596, 4906, 62, 8658, 220, 220, 220, 220, 220, 220, 220, 796, 1312, 62, 15596, 4906, 62, 8658, 198, 220, 220, 220, 220, 220, 1312, 62, 15596, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 796, 1312, 62, 15596, 198, 220, 220, 220, 30023, 9863, 2751, 198, 220, 220, 220, 220, 220, 304, 62, 20274, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 796, 304, 62, 20274, 198, 220, 220, 220, 309, 6242, 28378, 198, 220, 220, 220, 220, 220, 269, 62, 6404, 11487, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 796, 269, 62, 6404, 11487, 198, 220, 220, 220, 7788, 42006, 11053, 198, 220, 220, 220, 220, 220, 11507, 62, 18224, 220, 220, 220, 220, 220, 220, 220, 796, 352, 198, 220, 220, 220, 220, 220, 23082, 62, 67, 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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 ]
CLASS ltcl_isogram DEFINITION FOR TESTING DURATION SHORT RISK LEVEL HARMLESS FINAL. PRIVATE SECTION. DATA mo_cut TYPE REF TO zcl_isogram. METHODS setup. METHODS is_isogram1 FOR TESTING RAISING cx_static_check. METHODS is_isogram2 FOR TESTING RAISING cx_static_check. METHODS is_isogram3 FOR TESTING RAISING cx_static_check. METHODS is_isogram4 FOR TESTING RAISING cx_static_check. METHODS is_not_isogram1 FOR TESTING RAISING cx_static_check. METHODS is_not_isogram2 FOR TESTING RAISING cx_static_check. METHODS is_not_isogram3 FOR TESTING RAISING cx_static_check. ENDCLASS. CLASS ltcl_isogram IMPLEMENTATION. METHOD setup. mo_cut = NEW #( ). ENDMETHOD. METHOD is_isogram1. cl_abap_unit_assert=>assert_equals( act = mo_cut->is_isogram( 'lumberjacks' ) exp = abap_true ). ENDMETHOD. METHOD is_isogram2. cl_abap_unit_assert=>assert_equals( act = mo_cut->is_isogram( 'back ground' ) exp = abap_true ). ENDMETHOD. METHOD is_isogram3. cl_abap_unit_assert=>assert_equals( act = mo_cut->is_isogram( 'six-year-old' ) exp = abap_true ). ENDMETHOD. METHOD is_isogram4. cl_abap_unit_assert=>assert_equals( act = mo_cut->is_isogram( '' ) exp = abap_true ). ENDMETHOD. METHOD is_not_isogram1. cl_abap_unit_assert=>assert_equals( act = mo_cut->is_isogram( 'Advanced Business Application Programming' ) exp = abap_false ). ENDMETHOD. METHOD is_not_isogram2. cl_abap_unit_assert=>assert_equals( act = mo_cut->is_isogram( 'Alphabet' ) exp = abap_false ). ENDMETHOD. METHOD is_not_isogram3. cl_abap_unit_assert=>assert_equals( act = mo_cut->is_isogram( 'Cloud-Application' ) exp = abap_false ). ENDMETHOD. ENDCLASS.
[ 31631, 300, 83, 565, 62, 271, 21857, 5550, 20032, 17941, 7473, 43001, 2751, 360, 4261, 6234, 6006, 9863, 45698, 42, 49277, 43638, 5805, 7597, 25261, 13, 198, 220, 4810, 3824, 6158, 44513, 13, 198, 220, 220, 220, 42865, 6941, 62, 8968, 41876, 4526, 37, 5390, 1976, 565, 62, 271, 21857, 13, 198, 220, 220, 220, 337, 36252, 50, 9058, 13, 198, 220, 220, 220, 337, 36252, 50, 318, 62, 271, 21857, 16, 7473, 43001, 2751, 17926, 1797, 2751, 43213, 62, 12708, 62, 9122, 13, 198, 220, 220, 220, 337, 36252, 50, 318, 62, 271, 21857, 17, 7473, 43001, 2751, 17926, 1797, 2751, 43213, 62, 12708, 62, 9122, 13, 198, 220, 220, 220, 337, 36252, 50, 318, 62, 271, 21857, 18, 7473, 43001, 2751, 17926, 1797, 2751, 43213, 62, 12708, 62, 9122, 13, 198, 220, 220, 220, 337, 36252, 50, 318, 62, 271, 21857, 19, 7473, 43001, 2751, 17926, 1797, 2751, 43213, 62, 12708, 62, 9122, 13, 198, 220, 220, 220, 337, 36252, 50, 318, 62, 1662, 62, 271, 21857, 16, 7473, 43001, 2751, 17926, 1797, 2751, 43213, 62, 12708, 62, 9122, 13, 198, 220, 220, 220, 337, 36252, 50, 318, 62, 1662, 62, 271, 21857, 17, 7473, 43001, 2751, 17926, 1797, 2751, 43213, 62, 12708, 62, 9122, 13, 198, 220, 220, 220, 337, 36252, 50, 318, 62, 1662, 62, 271, 21857, 18, 7473, 43001, 2751, 17926, 1797, 2751, 43213, 62, 12708, 62, 9122, 13, 198, 10619, 31631, 13, 198, 31631, 300, 83, 565, 62, 271, 21857, 30023, 2538, 10979, 6234, 13, 198, 220, 337, 36252, 9058, 13, 198, 220, 220, 220, 6941, 62, 8968, 796, 12682, 1303, 7, 6739, 198, 220, 23578, 49273, 13, 198, 220, 337, 36252, 318, 62, 271, 21857, 16, 13, 198, 220, 220, 220, 537, 62, 397, 499, 62, 20850, 62, 30493, 14804, 30493, 62, 4853, 874, 7, 198, 220, 220, 220, 220, 220, 719, 796, 6941, 62, 8968, 3784, 271, 62, 271, 21857, 7, 705, 75, 4494, 73, 4595, 6, 1267, 198, 220, 220, 220, 220, 220, 1033, 796, 450, 499, 62, 7942, 6739, 198, 220, 23578, 49273, 13, 198, 220, 337, 36252, 318, 62, 271, 21857, 17, 13, 198, 220, 220, 220, 537, 62, 397, 499, 62, 20850, 62, 30493, 14804, 30493, 62, 4853, 874, 7, 198, 220, 220, 220, 220, 220, 719, 796, 6941, 62, 8968, 3784, 271, 62, 271, 21857, 7, 705, 1891, 2323, 6, 1267, 198, 220, 220, 220, 220, 220, 1033, 796, 450, 499, 62, 7942, 6739, 198, 220, 23578, 49273, 13, 198, 220, 337, 36252, 318, 62, 271, 21857, 18, 13, 198, 220, 220, 220, 537, 62, 397, 499, 62, 20850, 62, 30493, 14804, 30493, 62, 4853, 874, 7, 198, 220, 220, 220, 220, 220, 719, 796, 6941, 62, 8968, 3784, 271, 62, 271, 21857, 7, 705, 19412, 12, 1941, 12, 727, 6, 1267, 198, 220, 220, 220, 220, 220, 1033, 796, 450, 499, 62, 7942, 6739, 198, 220, 23578, 49273, 13, 198, 220, 337, 36252, 318, 62, 271, 21857, 19, 13, 198, 220, 220, 220, 537, 62, 397, 499, 62, 20850, 62, 30493, 14804, 30493, 62, 4853, 874, 7, 198, 220, 220, 220, 220, 220, 719, 796, 6941, 62, 8968, 3784, 271, 62, 271, 21857, 7, 10148, 1267, 198, 220, 220, 220, 220, 220, 1033, 796, 450, 499, 62, 7942, 6739, 198, 220, 23578, 49273, 13, 198, 220, 337, 36252, 318, 62, 1662, 62, 271, 21857, 16, 13, 198, 220, 220, 220, 537, 62, 397, 499, 62, 20850, 62, 30493, 14804, 30493, 62, 4853, 874, 7, 198, 220, 220, 220, 220, 220, 719, 796, 6941, 62, 8968, 3784, 271, 62, 271, 21857, 7, 705, 28809, 7320, 15678, 30297, 6, 1267, 198, 220, 220, 220, 220, 220, 1033, 796, 450, 499, 62, 9562, 6739, 198, 220, 23578, 49273, 13, 198, 220, 337, 36252, 318, 62, 1662, 62, 271, 21857, 17, 13, 198, 220, 220, 220, 537, 62, 397, 499, 62, 20850, 62, 30493, 14804, 30493, 62, 4853, 874, 7, 198, 220, 220, 220, 220, 220, 719, 796, 6941, 62, 8968, 3784, 271, 62, 271, 21857, 7, 705, 2348, 19557, 6, 1267, 198, 220, 220, 220, 220, 220, 1033, 796, 450, 499, 62, 9562, 6739, 198, 220, 23578, 49273, 13, 198, 220, 337, 36252, 318, 62, 1662, 62, 271, 21857, 18, 13, 198, 220, 220, 220, 537, 62, 397, 499, 62, 20850, 62, 30493, 14804, 30493, 62, 4853, 874, 7, 198, 220, 220, 220, 220, 220, 719, 796, 6941, 62, 8968, 3784, 271, 62, 271, 21857, 7, 705, 18839, 12, 23416, 6, 1267, 198, 220, 220, 220, 220, 220, 1033, 796, 450, 499, 62, 9562, 6739, 198, 220, 23578, 49273, 13, 198, 10619, 31631, 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,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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 ]
CLASS ltcl_repo_online DEFINITION FINAL FOR TESTING DURATION SHORT RISK LEVEL HARMLESS. PRIVATE SECTION. METHODS: test_repo_commit_show_urls FOR TESTING RAISING cx_static_check. ENDCLASS. CLASS ltcl_repo_online IMPLEMENTATION. METHOD test_repo_commit_show_urls. TYPES: BEGIN OF ty_show_url_test, repo_url TYPE string, show_url TYPE string, END OF ty_show_url_test, ty_show_url_tests TYPE STANDARD TABLE OF ty_show_url_test WITH DEFAULT KEY. DATA: ls_provider_urls TYPE ty_show_url_test, lt_test_urls TYPE ty_show_url_tests, lv_testhash TYPE zif_abapgit_definitions=>ty_sha1 VALUE 'my-SHA1-hash', ls_online_repo TYPE zif_abapgit_persistence=>ty_repo, lr_test_repo TYPE REF TO zcl_abapgit_repo_online, lv_show_url TYPE zif_abapgit_persistence=>ty_repo-url. FIELD-SYMBOLS <ls_provider_urls> TYPE ty_show_url_test. ls_provider_urls-repo_url = |https://github.com/abapGit/abapGit.git|. ls_provider_urls-show_url = |https://github.com/abapGit/abapGit/commit/{ lv_testhash }|. APPEND ls_provider_urls TO lt_test_urls. ls_provider_urls-repo_url = |https://bitbucket.org/abapGit/abapGit.git|. ls_provider_urls-show_url = |https://bitbucket.org/abapGit/abapGit/commits/{ lv_testhash }|. APPEND ls_provider_urls TO lt_test_urls. ls_provider_urls-repo_url = |https://gitlab.com/abapGit/abapGit.git|. ls_provider_urls-show_url = |https://gitlab.com/abapGit/abapGit/-/commit/{ lv_testhash }|. APPEND ls_provider_urls TO lt_test_urls. LOOP AT lt_test_urls ASSIGNING <ls_provider_urls>. ls_online_repo-key = 'TEST'. ls_online_repo-url = <ls_provider_urls>-repo_url. ls_online_repo-branch_name = |master|. ls_online_repo-offline = abap_false. CREATE OBJECT lr_test_repo EXPORTING is_data = ls_online_repo. lv_show_url = lr_test_repo->get_commit_display_url( iv_hash = lv_testhash ). cl_aunit_assert=>assert_equals( exp = <ls_provider_urls>-show_url act = lv_show_url quit = cl_aunit_assert=>no ). ENDLOOP. ENDMETHOD. ENDCLASS.
[ 31631, 300, 83, 565, 62, 260, 7501, 62, 25119, 5550, 20032, 17941, 25261, 7473, 43001, 2751, 198, 220, 360, 4261, 6234, 6006, 9863, 198, 220, 45698, 42, 49277, 43638, 5805, 7597, 13, 628, 220, 4810, 3824, 6158, 44513, 13, 198, 220, 220, 220, 337, 36252, 50, 25, 198, 220, 220, 220, 220, 220, 1332, 62, 260, 7501, 62, 41509, 62, 12860, 62, 6371, 82, 7473, 43001, 2751, 17926, 1797, 2751, 43213, 62, 12708, 62, 9122, 13, 198, 10619, 31631, 13, 628, 198, 31631, 300, 83, 565, 62, 260, 7501, 62, 25119, 30023, 2538, 10979, 6234, 13, 628, 220, 337, 36252, 1332, 62, 260, 7501, 62, 41509, 62, 12860, 62, 6371, 82, 13, 628, 220, 220, 220, 24412, 47, 1546, 25, 347, 43312, 3963, 1259, 62, 12860, 62, 6371, 62, 9288, 11, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 29924, 62, 6371, 41876, 4731, 11, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 905, 62, 6371, 41876, 4731, 11, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 23578, 3963, 220, 1259, 62, 12860, 62, 6371, 62, 9288, 11, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 1259, 62, 12860, 62, 6371, 62, 41989, 41876, 49053, 9795, 43679, 3963, 1259, 62, 12860, 62, 6371, 62, 9288, 13315, 5550, 38865, 35374, 13, 628, 220, 220, 220, 42865, 25, 43979, 62, 15234, 1304, 62, 6371, 82, 41876, 1259, 62, 12860, 62, 6371, 62, 9288, 11, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 300, 83, 62, 9288, 62, 6371, 82, 220, 220, 220, 220, 41876, 1259, 62, 12860, 62, 6371, 62, 41989, 11, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 300, 85, 62, 9288, 17831, 220, 220, 220, 220, 220, 41876, 1976, 361, 62, 397, 499, 18300, 62, 4299, 50101, 14804, 774, 62, 26270, 16, 26173, 8924, 705, 1820, 12, 37596, 16, 12, 17831, 3256, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 43979, 62, 25119, 62, 260, 7501, 220, 220, 41876, 1976, 361, 62, 397, 499, 18300, 62, 19276, 13274, 14804, 774, 62, 260, 7501, 11, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 300, 81, 62, 9288, 62, 260, 7501, 220, 220, 220, 220, 41876, 4526, 37, 5390, 1976, 565, 62, 397, 499, 18300, 62, 260, 7501, 62, 25119, 11, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 300, 85, 62, 12860, 62, 6371, 220, 220, 220, 220, 220, 41876, 1976, 361, 62, 397, 499, 18300, 62, 19276, 13274, 14804, 774, 62, 260, 7501, 12, 6371, 13, 198, 220, 220, 220, 18930, 24639, 12, 23060, 10744, 3535, 50, 1279, 7278, 62, 15234, 1304, 62, 6371, 82, 29, 41876, 1259, 62, 12860, 62, 6371, 62, 9288, 13, 628, 220, 220, 220, 43979, 62, 15234, 1304, 62, 6371, 82, 12, 260, 7501, 62, 6371, 796, 930, 5450, 1378, 12567, 13, 785, 14, 397, 499, 38, 270, 14, 397, 499, 38, 270, 13, 18300, 91, 13, 198, 220, 220, 220, 43979, 62, 15234, 1304, 62, 6371, 82, 12, 12860, 62, 6371, 796, 930, 5450, 1378, 12567, 13, 785, 14, 397, 499, 38, 270, 14, 397, 499, 38, 270, 14, 41509, 14, 90, 300, 85, 62, 9288, 17831, 1782, 91, 13, 198, 220, 220, 220, 43504, 10619, 43979, 62, 15234, 1304, 62, 6371, 82, 5390, 300, 83, 62, 9288, 62, 6371, 82, 13, 198, 220, 220, 220, 43979, 62, 15234, 1304, 62, 6371, 82, 12, 260, 7501, 62, 6371, 796, 930, 5450, 1378, 2545, 27041, 316, 13, 2398, 14, 397, 499, 38, 270, 14, 397, 499, 38, 270, 13, 18300, 91, 13, 198, 220, 220, 220, 43979, 62, 15234, 1304, 62, 6371, 82, 12, 12860, 62, 6371, 796, 930, 5450, 1378, 2545, 27041, 316, 13, 2398, 14, 397, 499, 38, 270, 14, 397, 499, 38, 270, 14, 9503, 896, 14, 90, 300, 85, 62, 9288, 17831, 1782, 91, 13, 198, 220, 220, 220, 43504, 10619, 43979, 62, 15234, 1304, 62, 6371, 82, 5390, 300, 83, 62, 9288, 62, 6371, 82, 13, 198, 220, 220, 220, 43979, 62, 15234, 1304, 62, 6371, 82, 12, 260, 7501, 62, 6371, 796, 930, 5450, 1378, 18300, 23912, 13, 785, 14, 397, 499, 38, 270, 14, 397, 499, 38, 270, 13, 18300, 91, 13, 198, 220, 220, 220, 43979, 62, 15234, 1304, 62, 6371, 82, 12, 12860, 62, 6371, 796, 930, 5450, 1378, 18300, 23912, 13, 785, 14, 397, 499, 38, 270, 14, 397, 499, 38, 270, 16327, 14, 41509, 14, 90, 300, 85, 62, 9288, 17831, 1782, 91, 13, 198, 220, 220, 220, 43504, 10619, 43979, 62, 15234, 1304, 62, 6371, 82, 5390, 300, 83, 62, 9288, 62, 6371, 82, 13, 628, 220, 220, 220, 17579, 3185, 5161, 300, 83, 62, 9288, 62, 6371, 82, 24994, 3528, 15871, 1279, 7278, 62, 15234, 1304, 62, 6371, 82, 28401, 198, 220, 220, 220, 220, 220, 43979, 62, 25119, 62, 260, 7501, 12, 2539, 796, 705, 51, 6465, 4458, 198, 220, 220, 220, 220, 220, 43979, 62, 25119, 62, 260, 7501, 12, 6371, 796, 1279, 7278, 62, 15234, 1304, 62, 6371, 82, 29, 12, 260, 7501, 62, 6371, 13, 198, 220, 220, 220, 220, 220, 43979, 62, 25119, 62, 260, 7501, 12, 1671, 3702, 62, 3672, 796, 930, 9866, 91, 13, 198, 220, 220, 220, 220, 220, 43979, 62, 25119, 62, 260, 7501, 12, 2364, 1370, 796, 450, 499, 62, 9562, 13, 628, 220, 220, 220, 220, 220, 29244, 6158, 25334, 23680, 300, 81, 62, 9288, 62, 260, 7501, 198, 220, 220, 220, 220, 220, 220, 220, 7788, 15490, 2751, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 318, 62, 7890, 796, 43979, 62, 25119, 62, 260, 7501, 13, 628, 220, 220, 220, 220, 220, 300, 85, 62, 12860, 62, 6371, 796, 300, 81, 62, 9288, 62, 260, 7501, 3784, 1136, 62, 41509, 62, 13812, 62, 6371, 7, 21628, 62, 17831, 796, 300, 85, 62, 9288,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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 ]
*&---------------------------------------------------------------------* *& Report z_expimp_table_list_tables *&---------------------------------------------------------------------* *& *&---------------------------------------------------------------------* REPORT z_expimp_table_demo_all_tables. DATA gv_tabname TYPE tabname. SELECT-OPTIONS tabnames FOR gv_tabname. TYPES: ty_info TYPE zcl_expimp_table=>ty_expimp_table_info, BEGIN OF ty_alv, tabname TYPE dd03l-tabname, count_id_fields TYPE i, count_attr_fields TYPE i, info TYPE zcl_expimp_table=>ty_expimp_table_info, END OF ty_alv, tt_alv TYPE STANDARD TABLE OF ty_alv WITH EMPTY KEY. DATA: gt_alv TYPE tt_alv. START-OF-SELECTION. SELECT DISTINCT tabname FROM dd03l WHERE tabname IN @tabnames AND as4local = 'A' AND fieldname = 'CLUSTD' INTO TABLE @DATA(dd03l_s). LOOP AT dd03l_s INTO DATA(dd03l). TRY. DATA(info) = zcl_expimp_table=>get_info( dd03l-tabname ). gt_alv = VALUE #( BASE gt_alv ( tabname = dd03l-tabname count_id_fields = lines( info-id_fields ) count_attr_fields = lines( info-attr_fieldnames ) info = info ) ). CATCH zcx_expimp_table ##NO_HANDLER. ENDTRY. ENDLOOP. cl_salv_table=>factory( IMPORTING r_salv_table = DATA(alv) CHANGING t_table = gt_alv ). DATA(lo_columns) = alv->get_columns( ). lo_columns->set_optimize( ). DATA(lo_functions_list) = alv->get_functions( ). lo_functions_list->set_all( ). lo_functions_list->set_layout_load( IF_SALV_C_BOOL_SAP=>TRUE ). lo_functions_list->set_layout_change( IF_SALV_C_BOOL_SAP=>TRUE ). lo_functions_list->set_layout_maintain( IF_SALV_C_BOOL_SAP=>TRUE ). lo_functions_list->set_layout_save( IF_SALV_C_BOOL_SAP=>TRUE ). LOOP AT lo_columns->get( ) ASSIGNING FIELD-SYMBOL(<ls_column>) WHERE r_column IS BOUND. IF <ls_column>-r_column->get_short_text( ) IS INITIAL. <ls_column>-r_column->set_short_text( CONV #( <ls_column>-columnname ) ). ENDIF. IF <ls_column>-r_column->get_medium_text( ) IS INITIAL. <ls_column>-r_column->set_medium_text( CONV #( <ls_column>-columnname ) ). ENDIF. IF <ls_column>-r_column->get_long_text( ) IS INITIAL. <ls_column>-r_column->set_long_text( CONV #( <ls_column>-columnname ) ). ENDIF. ENDLOOP. alv->display( ).
[ 9, 5, 10097, 30934, 9, 198, 9, 5, 6358, 1976, 62, 11201, 11011, 62, 11487, 62, 4868, 62, 83, 2977, 198, 9, 5, 10097, 30934, 9, 198, 9, 5, 198, 9, 5, 10097, 30934, 9, 198, 2200, 15490, 1976, 62, 11201, 11011, 62, 11487, 62, 9536, 78, 62, 439, 62, 83, 2977, 13, 198, 198, 26947, 308, 85, 62, 8658, 3672, 41876, 7400, 3672, 13, 198, 46506, 12, 3185, 51, 11053, 7400, 14933, 7473, 308, 85, 62, 8658, 3672, 13, 198, 198, 9936, 47, 1546, 25, 1259, 62, 10951, 41876, 1976, 565, 62, 11201, 11011, 62, 11487, 14804, 774, 62, 11201, 11011, 62, 11487, 62, 10951, 11, 198, 220, 220, 220, 220, 220, 220, 347, 43312, 3963, 1259, 62, 282, 85, 11, 198, 220, 220, 220, 220, 220, 220, 220, 220, 7400, 3672, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 41876, 49427, 3070, 75, 12, 8658, 3672, 11, 198, 220, 220, 220, 220, 220, 220, 220, 220, 954, 62, 312, 62, 25747, 220, 220, 41876, 1312, 11, 198, 220, 220, 220, 220, 220, 220, 220, 220, 954, 62, 35226, 62, 25747, 41876, 1312, 11, 198, 220, 220, 220, 220, 220, 220, 220, 220, 7508, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 41876, 1976, 565, 62, 11201, 11011, 62, 11487, 14804, 774, 62, 11201, 11011, 62, 11487, 62, 10951, 11, 198, 220, 220, 220, 220, 220, 220, 23578, 3963, 1259, 62, 282, 85, 11, 198, 220, 220, 220, 220, 220, 220, 256, 83, 62, 282, 85, 41876, 49053, 9795, 43679, 3963, 1259, 62, 282, 85, 13315, 38144, 9936, 35374, 13, 198, 26947, 25, 308, 83, 62, 282, 85, 41876, 256, 83, 62, 282, 85, 13, 198, 198, 2257, 7227, 12, 19238, 12, 46506, 2849, 13, 628, 220, 33493, 360, 8808, 1268, 4177, 7400, 3672, 198, 220, 220, 220, 220, 220, 16034, 49427, 3070, 75, 198, 220, 220, 220, 220, 220, 33411, 7400, 3672, 220, 3268, 2488, 8658, 14933, 198, 220, 220, 220, 220, 220, 220, 220, 5357, 355, 19, 12001, 796, 705, 32, 6, 198, 220, 220, 220, 220, 220, 220, 220, 5357, 2214, 3672, 796, 705, 5097, 7759, 35, 6, 198, 220, 220, 220, 220, 220, 39319, 43679, 2488, 26947, 7, 1860, 3070, 75, 62, 82, 737, 628, 220, 17579, 3185, 5161, 49427, 3070, 75, 62, 82, 39319, 42865, 7, 1860, 3070, 75, 737, 198, 220, 220, 220, 7579, 56, 13, 198, 220, 220, 220, 220, 220, 220, 220, 42865, 7, 10951, 8, 796, 1976, 565, 62, 11201, 11011, 62, 11487, 14804, 1136, 62, 10951, 7, 49427, 3070, 75, 12, 8658, 3672, 6739, 198, 220, 220, 220, 220, 220, 220, 220, 308, 83, 62, 282, 85, 796, 26173, 8924, 1303, 7, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 49688, 308, 83, 62, 282, 85, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 357, 7400, 3672, 220, 220, 220, 220, 220, 220, 220, 220, 796, 49427, 3070, 75, 12, 8658, 3672, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 954, 62, 312, 62, 25747, 796, 3951, 7, 7508, 12, 312, 62, 25747, 1267, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 954, 62, 35226, 62, 25747, 796, 3951, 7, 7508, 12, 35226, 62, 3245, 14933, 1267, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 7508, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 796, 7508, 1267, 6739, 198, 220, 220, 220, 220, 220, 327, 11417, 1976, 66, 87, 62, 11201, 11011, 62, 11487, 22492, 15285, 62, 39, 6981, 39878, 13, 198, 220, 220, 220, 23578, 40405, 13, 198, 220, 23578, 21982, 3185, 13, 628, 220, 537, 62, 21680, 85, 62, 11487, 14804, 69, 9548, 7, 198, 220, 220, 220, 30023, 9863, 2751, 198, 220, 220, 220, 220, 220, 374, 62, 21680, 85, 62, 11487, 796, 42865, 7, 282, 85, 8, 198, 220, 220, 220, 5870, 15567, 2751, 198, 220, 220, 220, 220, 220, 256, 62, 11487, 220, 220, 220, 220, 220, 796, 308, 83, 62, 282, 85, 6739, 628, 220, 42865, 7, 5439, 62, 28665, 82, 8, 796, 435, 85, 3784, 1136, 62, 28665, 82, 7, 6739, 628, 220, 2376, 62, 28665, 82, 3784, 2617, 62, 40085, 1096, 7, 6739, 628, 220, 42865, 7, 5439, 62, 12543, 2733, 62, 4868, 8, 796, 435, 85, 3784, 1136, 62, 12543, 2733, 7, 6739, 198, 220, 2376, 62, 12543, 2733, 62, 4868, 3784, 2617, 62, 439, 7, 6739, 198, 220, 2376, 62, 12543, 2733, 62, 4868, 3784, 2617, 62, 39786, 62, 2220, 7, 16876, 62, 50, 1847, 53, 62, 34, 62, 8202, 3535, 62, 50, 2969, 14804, 5446, 8924, 6739, 198, 220, 2376, 62, 12543, 2733, 62, 4868, 3784, 2617, 62, 39786, 62, 3803, 7, 16876, 62, 50, 1847, 53, 62, 34, 62, 8202, 3535, 62, 50, 2969, 14804, 5446, 8924, 6739, 198, 220, 2376, 62, 12543, 2733, 62, 4868, 3784, 2617, 62, 39786, 62, 76, 32725, 7, 16876, 62, 50, 1847, 53, 62, 34, 62, 8202, 3535, 62, 50, 2969, 14804, 5446, 8924, 6739, 198, 220, 2376, 62, 12543, 2733, 62, 4868, 3784, 2617, 62, 39786, 62, 21928, 7, 16876, 62, 50, 1847, 53, 62, 34, 62, 8202, 3535, 62, 50, 2969, 14804, 5446, 8924, 6739, 628, 220, 17579, 3185, 5161, 2376, 62, 28665, 82, 3784, 1136, 7, 1267, 24994, 3528, 15871, 18930, 24639, 12, 23060, 10744, 3535, 7, 27, 7278, 62, 28665, 43734, 198, 220, 220, 220, 220, 220, 220, 220, 33411, 374, 62, 28665, 3180, 347, 15919, 13, 198, 220, 220, 220, 16876, 1279, 7278, 62, 28665, 29, 12, 81, 62, 28665, 3784, 1136, 62, 19509, 62, 5239, 7, 1267, 3180, 3268, 2043, 12576, 13, 198, 220, 220, 220, 220, 220, 1279, 7278, 62, 28665, 29, 12, 81, 62, 28665, 3784, 2617, 62, 19509, 62, 5239, 7, 7102, 53, 1303, 7, 1279, 7278, 62, 28665, 29, 12, 28665, 3672, 1267, 6739, 198, 220, 220, 220, 23578, 5064, 13, 198, 220, 220, 220, 16876, 1279, 7278, 62, 28665, 29, 12, 81, 62, 28665, 3784, 1136, 62, 24132, 62, 5239, 7, 1267, 3180, 3268, 2043, 12576, 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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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 ]
*&---------------------------------------------------------------------* *& Report ZGUIDRASIL_ADM *&---------------------------------------------------------------------* REPORT zguidrasil_adm LINE-SIZE 200. DATA g_mode TYPE char01. DATA gt_pattern TYPE string_table. DATA gt_code TYPE string_table. DATA gr_builder TYPE REF TO zcl_guidrasil_builder. PARAMETERS: p_name TYPE zguidrasil_project MEMORY ID zguidrasil_project, p_design TYPE c RADIOBUTTON GROUP mode DEFAULT 'X', p_view TYPE c RADIOBUTTON GROUP mode, p_tree TYPE c RADIOBUTTON GROUP mode, p_delete TYPE c RADIOBUTTON GROUP mode. PARAMETERS p_hires AS CHECKBOX DEFAULT space. START-OF-SELECTION. IF p_hires = abap_true. zcl_guidrasil_constants=>set_design_container_high_res( ). ELSE. zcl_guidrasil_constants=>set_design_container_low_res( ). ENDIF. CASE 'X'. WHEN p_view. g_mode = space. WHEN p_design. g_mode = 'D'. WHEN p_delete. PERFORM delete. STOP. WHEN p_tree. PERFORM tree. STOP. ENDCASE. *== Call Design Screen CALL SCREEN 1. FORM tree. DATA gr_tree TYPE REF TO zcl_guidrasil_tree_display. CREATE OBJECT gr_tree EXPORTING id = p_name. gr_tree->read( ). gr_tree->display( ). ENDFORM. FORM delete. *== data DATA lt_objects TYPE STANDARD TABLE OF zguidrasil_obj. FIELD-SYMBOLS <object> LIKE LINE OF lt_objects. *== select controls SELECT * FROM zguidrasil_obj INTO TABLE lt_objects WHERE report = p_name. IF sy-subrc = 0. *== delete settings WRITE: / 'Lösche Objekte für Projekt', p_name. LOOP AT lt_objects ASSIGNING <object>. DELETE FROM zguidrasil_set WHERE guid = <object>-object_guid. IF sy-subrc = 0. WRITE: / 'Einstellungen für Objekt', <object>-control_name, 'gelöscht.'. ELSE. WRITE: / 'Keine Einstellungen vorhanden für', <object>-control_name. ENDIF. ENDLOOP. *== delete project DELETE FROM zguidrasil_obj WHERE report = p_name. ENDIF. ENDFORM. *&---------------------------------------------------------------------* *& Module STATUS_0001 OUTPUT *&---------------------------------------------------------------------* MODULE status_0001 OUTPUT. DATA lt_excl TYPE STANDARD TABLE OF syucomm. CASE g_mode. WHEN 'D'. SET PF-STATUS 'GUIDRASIL'. WHEN space. IF lt_excl IS INITIAL. APPEND 'SAVE' TO lt_excl. APPEND 'TOP' TO lt_excl. APPEND 'BOTTOM' TO lt_excl. APPEND 'LEFT' TO lt_excl. APPEND 'RIGHT' TO lt_excl. APPEND 'CUSTOM' TO lt_excl. APPEND 'DIALOGBOX' TO lt_excl. * APPEND 'GET_PATTERN' TO lt_excl. ENDIF. SET PF-STATUS 'GUIDRASIL' EXCLUDING lt_excl. WHEN OTHERS. SET PF-STATUS 'GUIDRASIL' EXCLUDING 'SAVE'. ENDCASE. IF gr_builder IS NOT BOUND. CREATE OBJECT gr_builder EXPORTING iv_pname = p_name iv_mode = g_mode. gr_builder->build( ). ENDIF. ENDMODULE. " STATUS_0001 OUTPUT *&---------------------------------------------------------------------* *& Module USER_COMMAND_0001 INPUT *&---------------------------------------------------------------------* MODULE user_command_0001 INPUT. CASE sy-ucomm. WHEN 'BACK' OR 'HOME' OR 'CANCEL'. LEAVE TO SCREEN 0. WHEN 'SAVE'. CALL METHOD gr_builder->save. WHEN 'BOTTOM'. gr_builder->add_container( cl_gui_docking_container=>dock_at_bottom ). WHEN 'LEFT'. gr_builder->add_container( cl_gui_docking_container=>dock_at_left ). WHEN 'RIGHT'. gr_builder->add_container( cl_gui_docking_container=>dock_at_right ). WHEN 'TOP'. gr_builder->add_container( cl_gui_docking_container=>dock_at_top ). WHEN 'CUSTOM'. gr_builder->add_container_cc( 'CC' ). WHEN 'DIALOGBOX'. gr_builder->add_container_box( ). WHEN 'GET_PATTERN'. gt_pattern = gr_builder->get_event_pattern( ). PERFORM display_code USING gt_pattern. WHEN 'GET_PATTERN_PLUS'. gt_pattern = gr_builder->get_event_pattern_plus( ). PERFORM display_code USING gt_pattern. WHEN 'GET_CODE'. gt_code = gr_builder->get_creation_code( ). PERFORM display_code USING gt_code. WHEN OTHERS. EXIT. ENDCASE. ENDMODULE. " USER_COMMAND_0001 INPUT FORM display_code USING it_code TYPE string_table. DATA lt_sourcecode TYPE string_table. CALL FUNCTION 'PRETTY_PRINTER' EXPORTING inctoo = space TABLES ntext = lt_sourcecode otext = it_code EXCEPTIONS enqueue_table_full = 1 include_enqueued = 2 include_readerror = 3 include_writeerror = 4 OTHERS = 5. DATA: ls_editor_mode LIKE editormode. DATA ls_trdir TYPE trdir. ls_trdir-name = 'ZZ$$TEMP'. ls_trdir-varcl = 'X'. ls_trdir-subc = '1'. ls_trdir-cnam = sy-uname. ls_trdir-cdat = sy-datum. ls_trdir-unam = sy-uname. ls_trdir-udat = sy-datum. ls_trdir-vern = 1. ls_trdir-rmand = sy-mandt. ls_trdir-rload = sy-langu. ls_trdir-fixpt = 'X'. ls_trdir-sdate = sy-datum. ls_trdir-stime = sy-uzeit. ls_trdir-idate = sy-datum. ls_trdir-itime = sy-uzeit. ls_trdir-uccheck = 'X'. DATA lv_message TYPE c LENGTH 100. DATA lv_line TYPE i. DATA lv_word TYPE c LENGTH 100. SYNTAX-CHECK FOR lt_sourcecode LINE lv_line WORD lv_word MESSAGE lv_message. CALL FUNCTION 'EDITOR_APPLICATION' EXPORTING anfangszeile = '000001' application = 'PG' called_by_scrp = ' ' cursor = ' ' display = ' ' message = lv_message name = 'ZZTEMP ' new = 'X' trdir_inf = ls_trdir title_text = 'guidrasil' editor_mode = ls_editor_mode callback_program = 'ZGUIDRASIL_ADM' callback_usercom = 'CALLBACK_EDITOR' TABLES content = lt_sourcecode EXCEPTIONS line = 1 linenumbers = 2 offset = 3 OTHERS = 4. ENDFORM. FORM callback_editor. CASE sy-ucomm. WHEN space. WHEN OTHERS. ENDCASE. ENDFORM.
[ 9, 5, 10097, 30934, 9, 198, 9, 5, 6358, 220, 1168, 38, 27586, 49, 1921, 4146, 62, 2885, 44, 198, 9, 5, 10097, 30934, 9, 198, 2200, 15490, 220, 1976, 5162, 312, 8847, 346, 62, 324, 76, 48920, 12, 33489, 939, 13, 198, 198, 26947, 308, 62, 14171, 220, 220, 220, 220, 41876, 1149, 486, 13, 198, 26947, 308, 83, 62, 33279, 41876, 4731, 62, 11487, 13, 198, 26947, 308, 83, 62, 8189, 220, 220, 220, 41876, 4731, 62, 11487, 13, 198, 26947, 1036, 62, 38272, 41876, 4526, 37, 5390, 1976, 565, 62, 5162, 312, 8847, 346, 62, 38272, 13, 628, 198, 27082, 2390, 2767, 4877, 25, 198, 220, 279, 62, 3672, 220, 220, 41876, 1976, 5162, 312, 8847, 346, 62, 16302, 35153, 15513, 4522, 1976, 5162, 312, 8847, 346, 62, 16302, 11, 198, 220, 279, 62, 26124, 41876, 269, 33540, 9399, 47526, 11357, 44441, 4235, 5550, 38865, 705, 55, 3256, 198, 220, 279, 62, 1177, 220, 220, 41876, 269, 33540, 9399, 47526, 11357, 44441, 4235, 11, 198, 220, 279, 62, 21048, 220, 220, 41876, 269, 33540, 9399, 47526, 11357, 44441, 4235, 11, 198, 220, 279, 62, 33678, 41876, 269, 33540, 9399, 47526, 11357, 44441, 4235, 13, 198, 198, 27082, 2390, 2767, 4877, 279, 62, 71, 2387, 7054, 5870, 25171, 39758, 5550, 38865, 2272, 13, 198, 198, 2257, 7227, 12, 19238, 12, 46506, 2849, 13, 628, 220, 16876, 279, 62, 71, 2387, 796, 450, 499, 62, 7942, 13, 198, 220, 220, 220, 1976, 565, 62, 5162, 312, 8847, 346, 62, 9979, 1187, 14804, 2617, 62, 26124, 62, 34924, 62, 8929, 62, 411, 7, 6739, 198, 220, 17852, 5188, 13, 198, 220, 220, 220, 1976, 565, 62, 5162, 312, 8847, 346, 62, 9979, 1187, 14804, 2617, 62, 26124, 62, 34924, 62, 9319, 62, 411, 7, 6739, 198, 220, 23578, 5064, 13, 628, 220, 42001, 705, 55, 4458, 198, 220, 220, 220, 42099, 279, 62, 1177, 13, 198, 220, 220, 220, 220, 220, 308, 62, 14171, 796, 2272, 13, 198, 220, 220, 220, 42099, 279, 62, 26124, 13, 198, 220, 220, 220, 220, 220, 308, 62, 14171, 796, 705, 35, 4458, 198, 220, 220, 220, 42099, 279, 62, 33678, 13, 198, 220, 220, 220, 220, 220, 19878, 21389, 12233, 13, 198, 220, 220, 220, 220, 220, 44934, 13, 198, 220, 220, 220, 42099, 279, 62, 21048, 13, 198, 220, 220, 220, 220, 220, 19878, 21389, 5509, 13, 198, 220, 220, 220, 220, 220, 44934, 13, 198, 220, 23578, 34, 11159, 13, 198, 198, 9, 855, 4889, 8495, 15216, 198, 220, 42815, 6374, 2200, 1677, 352, 13, 198, 198, 21389, 5509, 13, 628, 220, 42865, 1036, 62, 21048, 41876, 4526, 37, 5390, 1976, 565, 62, 5162, 312, 8847, 346, 62, 21048, 62, 13812, 13, 628, 198, 220, 29244, 6158, 25334, 23680, 1036, 62, 21048, 7788, 15490, 2751, 4686, 796, 279, 62, 3672, 13, 628, 220, 1036, 62, 21048, 3784, 961, 7, 6739, 198, 220, 1036, 62, 21048, 3784, 13812, 7, 6739, 198, 1677, 8068, 1581, 44, 13, 628, 198, 21389, 12233, 13, 198, 198, 9, 855, 1366, 198, 220, 42865, 300, 83, 62, 48205, 41876, 49053, 9795, 43679, 3963, 1976, 5162, 312, 8847, 346, 62, 26801, 13, 198, 220, 18930, 24639, 12, 23060, 10744, 3535, 50, 1279, 15252, 29, 34178, 48920, 3963, 300, 83, 62, 48205, 13, 198, 198, 9, 855, 2922, 6973, 198, 220, 33493, 1635, 16034, 1976, 5162, 312, 8847, 346, 62, 26801, 198, 220, 220, 220, 39319, 43679, 300, 83, 62, 48205, 198, 220, 220, 33411, 989, 796, 279, 62, 3672, 13, 628, 220, 16876, 827, 12, 7266, 6015, 796, 657, 13, 198, 9, 855, 12233, 6460, 198, 220, 220, 220, 44423, 25, 1220, 705, 43, 9101, 15952, 38764, 988, 660, 277, 25151, 1041, 73, 988, 83, 3256, 279, 62, 3672, 13, 198, 220, 220, 220, 17579, 3185, 5161, 300, 83, 62, 48205, 24994, 3528, 15871, 1279, 15252, 28401, 198, 220, 220, 220, 220, 220, 5550, 2538, 9328, 16034, 1976, 5162, 312, 8847, 346, 62, 2617, 33411, 10103, 796, 1279, 15252, 29, 12, 15252, 62, 5162, 312, 13, 198, 220, 220, 220, 220, 220, 16876, 827, 12, 7266, 6015, 796, 657, 13, 198, 220, 220, 220, 220, 220, 220, 220, 44423, 25, 1220, 705, 36, 8625, 695, 2150, 268, 277, 25151, 38764, 988, 83, 3256, 1279, 15252, 29, 12, 13716, 62, 3672, 11, 705, 25280, 9101, 20601, 83, 2637, 13, 198, 220, 220, 220, 220, 220, 17852, 5188, 13, 198, 220, 220, 220, 220, 220, 220, 220, 44423, 25, 1220, 705, 8896, 500, 412, 8625, 695, 2150, 268, 410, 273, 4993, 268, 277, 25151, 3256, 1279, 15252, 29, 12, 13716, 62, 3672, 13, 198, 220, 220, 220, 220, 220, 23578, 5064, 13, 198, 220, 220, 220, 23578, 21982, 3185, 13, 198, 9, 855, 12233, 1628, 198, 220, 220, 220, 5550, 2538, 9328, 16034, 1976, 5162, 312, 8847, 346, 62, 26801, 33411, 989, 796, 279, 62, 3672, 13, 198, 220, 23578, 5064, 13, 198, 198, 1677, 8068, 1581, 44, 13, 198, 198, 9, 5, 10097, 30934, 9, 198, 9, 5, 220, 220, 220, 220, 220, 19937, 220, 15486, 2937, 62, 18005, 220, 16289, 30076, 198, 9, 5, 10097, 30934, 9, 198, 33365, 24212, 3722, 62, 18005, 16289, 30076, 13, 628, 220, 42865, 300, 83, 62, 1069, 565, 41876, 49053, 9795, 43679, 3963, 827, 84, 9503, 13, 628, 220, 42001, 308, 62, 14171, 13, 198, 220, 220, 220, 42099, 705, 35, 4458, 198, 220, 220, 220, 220, 220, 25823, 28223, 12, 35744, 2937, 705, 38, 27586, 49, 1921, 4146, 4458, 198, 220, 220, 220, 42099, 2272, 13, 198, 220, 220, 220, 220, 220, 16876, 300, 83, 62, 1069, 565, 3180, 3268, 2043, 12576, 13, 198, 220, 220, 220, 220, 220, 220, 220, 43504, 10619, 705, 4090, 6089, 6, 5390, 300, 83, 62, 1069, 565, 13, 198, 220, 220, 220, 220, 220, 220, 220, 43504, 10619, 705, 35222, 6, 5390, 300, 83, 62, 1069, 565, 13, 198, 220, 220, 220, 220, 220, 220, 220, 43504, 10619, 705, 33, 29089, 2662, 6, 5390, 300, 83, 62, 1069, 565, 13, 198, 220, 220, 220, 220, 220, 220, 220, 43504, 10619, 705, 2538, 9792, 6, 5390, 300, 83, 62, 1069, 565, 13, 198, 220, 220, 220, 220, 220, 220, 220 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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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ty_serialization, files TYPE zif_abapgit_definitions=>ty_files_tt, item TYPE zif_abapgit_definitions=>ty_item, END OF ty_serialization . CLASS-METHODS serialize IMPORTING !is_item TYPE zif_abapgit_definitions=>ty_item !iv_language TYPE spras !iv_serialize_master_lang_only TYPE abap_bool DEFAULT abap_false RETURNING VALUE(rs_files_and_item) TYPE ty_serialization RAISING zcx_abapgit_exception . CLASS-METHODS deserialize IMPORTING !io_repo TYPE REF TO zcl_abapgit_repo !is_checks TYPE zif_abapgit_definitions=>ty_deserialize_checks !ii_log TYPE REF TO zif_abapgit_log RETURNING VALUE(rt_accessed_files) TYPE zif_abapgit_definitions=>ty_file_signatures_tt RAISING zcx_abapgit_exception . CLASS-METHODS deserialize_checks IMPORTING !io_repo TYPE REF TO zcl_abapgit_repo RETURNING VALUE(rs_checks) TYPE zif_abapgit_definitions=>ty_deserialize_checks RAISING zcx_abapgit_exception . CLASS-METHODS delete IMPORTING !it_tadir TYPE zif_abapgit_definitions=>ty_tadir_tt !is_checks TYPE zif_abapgit_definitions=>ty_delete_checks OPTIONAL RAISING zcx_abapgit_exception . CLASS-METHODS jump IMPORTING !is_item TYPE zif_abapgit_definitions=>ty_item !iv_line_number TYPE i OPTIONAL iv_sub_obj_name TYPE zif_abapgit_definitions=>ty_item-obj_name OPTIONAL iv_sub_obj_type TYPE zif_abapgit_definitions=>ty_item-obj_type OPTIONAL RAISING zcx_abapgit_exception . CLASS-METHODS changed_by IMPORTING !is_item TYPE zif_abapgit_definitions=>ty_item RETURNING VALUE(rv_user) TYPE xubname RAISING zcx_abapgit_exception . CLASS-METHODS is_supported IMPORTING !is_item TYPE zif_abapgit_definitions=>ty_item !iv_native_only TYPE abap_bool DEFAULT abap_false RETURNING VALUE(rv_bool) TYPE abap_bool . CLASS-METHODS exists IMPORTING !is_item TYPE zif_abapgit_definitions=>ty_item RETURNING VALUE(rv_bool) TYPE abap_bool . CLASS-METHODS supported_list RETURNING VALUE(rt_types) TYPE ty_types_tt . CLASS-METHODS is_active IMPORTING !is_item TYPE zif_abapgit_definitions=>ty_item RETURNING VALUE(rv_active) TYPE abap_bool RAISING zcx_abapgit_exception . PROTECTED SECTION. PRIVATE SECTION. TYPES: BEGIN OF ty_obj_serializer_item, item TYPE zif_abapgit_definitions=>ty_item, metadata TYPE zif_abapgit_definitions=>ty_metadata, END OF ty_obj_serializer_item . TYPES: ty_obj_serializer_map TYPE SORTED TABLE OF ty_obj_serializer_item WITH UNIQUE KEY item . CLASS-DATA gt_obj_serializer_map TYPE ty_obj_serializer_map . CLASS-METHODS files_to_deserialize IMPORTING !io_repo TYPE REF TO zcl_abapgit_repo !ii_log TYPE REF TO zif_abapgit_log OPTIONAL RETURNING VALUE(rt_results) TYPE zif_abapgit_definitions=>ty_results_tt RAISING zcx_abapgit_exception . CLASS-METHODS check_duplicates IMPORTING !it_files TYPE zif_abapgit_definitions=>ty_files_tt RAISING zcx_abapgit_exception . CLASS-METHODS prioritize_deser IMPORTING !it_results TYPE zif_abapgit_definitions=>ty_results_tt RETURNING VALUE(rt_results) TYPE zif_abapgit_definitions=>ty_results_tt . CLASS-METHODS class_name IMPORTING !is_item TYPE zif_abapgit_definitions=>ty_item RETURNING VALUE(rv_class_name) TYPE string . CLASS-METHODS warning_overwrite_adjust IMPORTING !it_overwrite TYPE zif_abapgit_definitions=>ty_overwrite_tt CHANGING !ct_results TYPE zif_abapgit_definitions=>ty_results_tt RAISING zcx_abapgit_exception . CLASS-METHODS checks_adjust IMPORTING !io_repo TYPE REF TO zcl_abapgit_repo !is_checks TYPE zif_abapgit_definitions=>ty_deserialize_checks CHANGING !ct_results TYPE zif_abapgit_definitions=>ty_results_tt RAISING zcx_abapgit_exception . CLASS-METHODS warning_overwrite_find IMPORTING !it_results TYPE zif_abapgit_definitions=>ty_results_tt RETURNING VALUE(rt_overwrite) TYPE zif_abapgit_definitions=>ty_overwrite_tt . CLASS-METHODS warning_package_adjust IMPORTING !io_repo TYPE REF TO zcl_abapgit_repo !it_overwrite TYPE zif_abapgit_definitions=>ty_overwrite_tt CHANGING !ct_results TYPE zif_abapgit_definitions=>ty_results_tt RAISING zcx_abapgit_exception . CLASS-METHODS warning_package_find IMPORTING !it_results TYPE zif_abapgit_definitions=>ty_results_tt !io_repo TYPE REF TO zcl_abapgit_repo RETURNING VALUE(rt_overwrite) TYPE zif_abapgit_definitions=>ty_overwrite_tt RAISING zcx_abapgit_exception . CLASS-METHODS update_package_tree IMPORTING !iv_package TYPE devclass . CLASS-METHODS delete_obj IMPORTING !iv_package TYPE devclass !is_item TYPE zif_abapgit_definitions=>ty_item RAISING zcx_abapgit_exception . CLASS-METHODS compare_remote_to_local IMPORTING !ii_object TYPE REF TO zif_abapgit_object !it_remote TYPE zif_abapgit_definitions=>ty_files_tt !is_result TYPE zif_abapgit_definitions=>ty_result !ii_log TYPE REF TO zif_abapgit_log RAISING zcx_abapgit_exception . CLASS-METHODS deserialize_objects IMPORTING !is_step TYPE zif_abapgit_definitions=>ty_step_data !ii_log TYPE REF TO zif_abapgit_log CHANGING !ct_files TYPE zif_abapgit_definitions=>ty_file_signatures_tt RAISING zcx_abapgit_exception . CLASS-METHODS check_objects_locked IMPORTING !iv_language TYPE spras !it_items TYPE zif_abapgit_definitions=>ty_items_tt RAISING zcx_abapgit_exception . CLASS-METHODS create_object IMPORTING !is_item TYPE zif_abapgit_definitions=>ty_item !iv_language TYPE spras !is_metadata TYPE zif_abapgit_definitions=>ty_metadata OPTIONAL !iv_native_only TYPE abap_bool DEFAULT abap_false RETURNING VALUE(ri_obj) TYPE REF TO zif_abapgit_object RAISING zcx_abapgit_exception . CLASS-METHODS map_tadir_to_items IMPORTING !it_tadir TYPE zif_abapgit_definitions=>ty_tadir_tt RETURNING VALUE(rt_items) TYPE zif_abapgit_definitions=>ty_items_tt . CLASS-METHODS map_results_to_items IMPORTING !it_results TYPE zif_abapgit_definitions=>ty_results_tt RETURNING VALUE(rt_items) TYPE zif_abapgit_definitions=>ty_items_tt . CLASS-METHODS filter_files_to_deserialize IMPORTING !it_results TYPE zif_abapgit_definitions=>ty_results_tt !ii_log TYPE REF TO zif_abapgit_log OPTIONAL RETURNING VALUE(rt_results) TYPE zif_abapgit_definitions=>ty_results_tt . CLASS-METHODS adjust_namespaces IMPORTING !it_results TYPE zif_abapgit_definitions=>ty_results_tt RETURNING VALUE(rt_results) TYPE zif_abapgit_definitions=>ty_results_tt . CLASS-METHODS get_deserialize_steps RETURNING VALUE(rt_steps) TYPE zif_abapgit_definitions=>ty_step_data_tt . ENDCLASS. CLASS ZCL_ABAPGIT_OBJECTS IMPLEMENTATION. METHOD adjust_namespaces. FIELD-SYMBOLS: <ls_result> LIKE LINE OF rt_results. rt_results = it_results. LOOP AT rt_results ASSIGNING <ls_result>. REPLACE ALL OCCURRENCES OF '#' IN <ls_result>-obj_name WITH '/'. ENDLOOP. ENDMETHOD. METHOD changed_by. DATA: li_obj TYPE REF TO zif_abapgit_object. IF is_item IS NOT INITIAL. li_obj = create_object( is_item = is_item iv_language = zif_abapgit_definitions=>c_english ). rv_user = li_obj->changed_by( ). ENDIF. IF rv_user IS INITIAL. * eg. ".abapgit.xml" file rv_user = zcl_abapgit_objects_super=>c_user_unknown. ENDIF. * todo, fallback to looking at transports if rv_user = 'UNKNOWN'? ENDMETHOD. METHOD checks_adjust. warning_overwrite_adjust( EXPORTING it_overwrite = is_checks-overwrite CHANGING ct_results = ct_results ). warning_package_adjust( EXPORTING io_repo = io_repo it_overwrite = is_checks-warning_package CHANGING ct_results = ct_results ). ENDMETHOD. METHOD check_duplicates. DATA: lt_files TYPE zif_abapgit_definitions=>ty_files_tt, lv_path TYPE string, lv_filename TYPE string, lt_duplicates TYPE STANDARD TABLE OF string WITH DEFAULT KEY, lv_duplicates LIKE LINE OF lt_duplicates, lv_all_duplicates TYPE string. FIELD-SYMBOLS: <ls_file> LIKE LINE OF it_files. lt_files = it_files. SORT lt_files BY path ASCENDING filename ASCENDING. LOOP AT lt_files ASSIGNING <ls_file>. IF lv_path = <ls_file>-path AND lv_filename = <ls_file>-filename. CONCATENATE <ls_file>-path <ls_file>-filename INTO lv_duplicates. APPEND lv_duplicates TO lt_duplicates. ENDIF. lv_path = <ls_file>-path. lv_filename = <ls_file>-filename. ENDLOOP. IF lt_duplicates IS NOT INITIAL. CONCATENATE LINES OF lt_duplicates INTO lv_all_duplicates SEPARATED BY `, `. zcx_abapgit_exception=>raise( |Duplicates: { lv_all_duplicates }| ). ENDIF. ENDMETHOD. METHOD check_objects_locked. DATA: li_obj TYPE REF TO zif_abapgit_object. FIELD-SYMBOLS: <ls_item> LIKE LINE OF it_items. LOOP AT it_items ASSIGNING <ls_item>. " You should remember that we ignore not supported objects here, " because otherwise the process aborts which is not desired IF is_supported( <ls_item> ) = abap_false. CONTINUE. ENDIF. li_obj = create_object( is_item = <ls_item> iv_language = iv_language ). IF li_obj->is_locked( ) = abap_true. zcx_abapgit_exception=>raise( |Object { <ls_item>-obj_type } { <ls_item>-obj_name } | && |is locked. Action not possible.| ). ENDIF. ENDLOOP. ENDMETHOD. METHOD class_name. CONCATENATE 'ZCL_ABAPGIT_OBJECT_' is_item-obj_type INTO rv_class_name. ENDMETHOD. METHOD compare_remote_to_local. * this method is used for comparing local with remote objects * before pull, this is useful eg. when overwriting a TABL object. * only the main XML file is used for comparison DATA: ls_remote_file TYPE zif_abapgit_definitions=>ty_file, li_remote_version TYPE REF TO zif_abapgit_xml_input, lv_count TYPE i, ls_result TYPE zif_abapgit_comparator=>ty_result, lv_answer TYPE string, li_comparator TYPE REF TO zif_abapgit_comparator, lv_gui_is_available TYPE abap_bool, ls_item TYPE zif_abapgit_definitions=>ty_item. FIND ALL OCCURRENCES OF '.' IN is_result-filename MATCH COUNT lv_count. IF is_result-filename CS '.XML' AND lv_count = 2. IF ii_object->exists( ) = abap_false. RETURN. ENDIF. READ TABLE it_remote WITH KEY filename = is_result-filename INTO ls_remote_file. IF sy-subrc <> 0. "if file does not exist in remote, we don't need to validate RETURN. ENDIF. li_comparator = ii_object->get_comparator( ). IF NOT li_comparator IS BOUND. RETURN. ENDIF. CREATE OBJECT li_remote_version TYPE zcl_abapgit_xml_input EXPORTING iv_xml = zcl_abapgit_convert=>xstring_to_string_utf8( ls_remote_file-data ) iv_filename = ls_remote_file-filename. ls_result = li_comparator->compare( ii_remote = li_remote_version ii_log = ii_log ). IF ls_result-text IS INITIAL. RETURN. ENDIF. "log comparison result ls_item-obj_type = is_result-obj_type. ls_item-obj_name = is_result-obj_name. ii_log->add_warning( iv_msg = ls_result-text is_item = ls_item ). "continue or abort? lv_gui_is_available = zcl_abapgit_ui_factory=>get_gui_functions( )->gui_is_available( ). IF lv_gui_is_available = abap_true. CALL FUNCTION 'POPUP_TO_CONFIRM' EXPORTING titlebar = 'Warning' text_question = ls_result-text text_button_1 = 'Abort' icon_button_1 = 'ICON_CANCEL' text_button_2 = 'Pull anyway' icon_button_2 = 'ICON_OKAY' default_button = '2' display_cancel_button = abap_false IMPORTING answer = lv_answer EXCEPTIONS text_not_found = 1 OTHERS = 2. IF sy-subrc <> 0 OR lv_answer = 1. zcx_abapgit_exception=>raise( |Deserialization for object { is_result-obj_name } | & |(type { is_result-obj_type }) aborted by user| ). ENDIF. ELSE. zcx_abapgit_exception=>raise( |Deserialization for object { is_result-obj_name } | & |(type { is_result-obj_type }) aborted, user descision required| ). ENDIF. ENDIF. ENDMETHOD. METHOD create_object. DATA: lv_message TYPE string, lv_class_name TYPE string, ls_obj_serializer_map LIKE LINE OF gt_obj_serializer_map. READ TABLE gt_obj_serializer_map INTO ls_obj_serializer_map WITH KEY item = is_item. IF sy-subrc = 0. lv_class_name = ls_obj_serializer_map-metadata-class. ELSEIF is_metadata IS NOT INITIAL. * Metadata is provided only on serialization * Once this has been triggered, the same serializer shall be used * for subsequent processes. * Thus, buffer the metadata afterwards ls_obj_serializer_map-item = is_item. ls_obj_serializer_map-metadata = is_metadata. INSERT ls_obj_serializer_map INTO TABLE gt_obj_serializer_map. lv_class_name = is_metadata-class. ELSE. lv_class_name = class_name( is_item ). ENDIF. REPLACE FIRST OCCURRENCE OF 'LCL' IN lv_class_name WITH 'ZCL_ABAPGIT'. TRY. CREATE OBJECT ri_obj TYPE (lv_class_name) EXPORTING is_item = is_item iv_language = iv_language. CATCH cx_sy_create_object_error. lv_message = |Object type { is_item-obj_type } not supported, serialize|. IF iv_native_only = abap_false. TRY. " 2nd step, try looking for plugins CREATE OBJECT ri_obj TYPE zcl_abapgit_objects_bridge EXPORTING is_item = is_item. CATCH cx_sy_create_object_error. zcx_abapgit_exception=>raise( lv_message ). ENDTRY. ELSE. " No native support? -> fail zcx_abapgit_exception=>raise( lv_message ). ENDIF. ENDTRY. ENDMETHOD. METHOD delete. DATA: ls_item TYPE zif_abapgit_definitions=>ty_item, li_progress TYPE REF TO zif_abapgit_progress, lt_tadir LIKE it_tadir, lt_items TYPE zif_abapgit_definitions=>ty_items_tt, lx_error TYPE REF TO zcx_abapgit_exception, lv_count TYPE i, lv_text TYPE string. FIELD-SYMBOLS: <ls_tadir> LIKE LINE OF it_tadir. lt_tadir = it_tadir. IF is_checks-transport-required = abap_true. zcl_abapgit_default_transport=>get_instance( )->set( is_checks-transport-transport ). ENDIF. TRY. zcl_abapgit_dependencies=>resolve( CHANGING ct_tadir = lt_tadir ). li_progress = zcl_abapgit_progress=>get_instance( lines( lt_tadir ) ). lt_items = map_tadir_to_items( lt_tadir ). check_objects_locked( iv_language = zif_abapgit_definitions=>c_english it_items = lt_items ). CATCH zcx_abapgit_exception INTO lx_error. zcl_abapgit_default_transport=>get_instance( )->reset( ). RAISE EXCEPTION lx_error. ENDTRY. lv_count = 1. DO 3 TIMES. LOOP AT lt_tadir ASSIGNING <ls_tadir>. li_progress->show( iv_current = lv_count iv_text = |Delete { <ls_tadir>-obj_name }| ). CLEAR ls_item. ls_item-obj_type = <ls_tadir>-object. ls_item-obj_name = <ls_tadir>-obj_name. TRY. delete_obj( iv_package = <ls_tadir>-devclass is_item = ls_item ). DELETE lt_tadir. lv_count = lv_count + 1. " make sure to save object deletions COMMIT WORK. CATCH zcx_abapgit_exception INTO lx_error ##NO_HANDLER. " ignore errors inside the loops and raise it later ENDTRY. ENDLOOP. ENDDO. zcl_abapgit_default_transport=>get_instance( )->reset( ). IF lx_error IS BOUND AND lines( lt_tadir ) > 0. RAISE EXCEPTION lx_error. ENDIF. ENDMETHOD. METHOD delete_obj. DATA: li_obj TYPE REF TO zif_abapgit_object. IF is_supported( is_item ) = abap_true. li_obj = create_object( is_item = is_item iv_language = zif_abapgit_definitions=>c_english ). li_obj->delete( iv_package ). IF li_obj->get_metadata( )-delete_tadir = abap_true. CALL FUNCTION 'TR_TADIR_INTERFACE' EXPORTING wi_delete_tadir_entry = abap_true wi_tadir_pgmid = 'R3TR' wi_tadir_object = is_item-obj_type wi_tadir_obj_name = is_item-obj_name wi_test_modus = abap_false EXCEPTIONS OTHERS = 1 ##FM_SUBRC_OK. " We deliberately ignore the subrc, because throwing an exception would " break the deletion of lots of object types. On the other hand we have " to catch the exceptions because otherwise messages would directly be issued " by the function module and change the control flow. Thus breaking the " deletion of TOBJ and other object types. " TODO: This is not very clean and has to be improved in the future. See PR 2741. ENDIF. ENDIF. ENDMETHOD. METHOD deserialize. DATA: ls_item TYPE zif_abapgit_definitions=>ty_item, li_obj TYPE REF TO zif_abapgit_object, lt_remote TYPE zif_abapgit_definitions=>ty_files_tt, lv_package TYPE devclass, lo_files TYPE REF TO zcl_abapgit_objects_files, lo_xml TYPE REF TO zif_abapgit_xml_input, lt_results TYPE zif_abapgit_definitions=>ty_results_tt, li_progress TYPE REF TO zif_abapgit_progress, lv_path TYPE string, lt_items TYPE zif_abapgit_definitions=>ty_items_tt, lt_steps_id TYPE zif_abapgit_definitions=>ty_deserialization_step_tt, lt_steps TYPE zif_abapgit_definitions=>ty_step_data_tt, lx_exc TYPE REF TO zcx_abapgit_exception. DATA: lo_folder_logic TYPE REF TO zcl_abapgit_folder_logic. FIELD-SYMBOLS: <ls_result> TYPE zif_abapgit_definitions=>ty_result, <lv_step_id> TYPE LINE OF zif_abapgit_definitions=>ty_deserialization_step_tt, <ls_step> TYPE LINE OF zif_abapgit_definitions=>ty_step_data_tt, <ls_deser> TYPE LINE OF zif_abapgit_definitions=>ty_deserialization_tt. lt_steps = get_deserialize_steps( ). lv_package = io_repo->get_package( ). IF is_checks-transport-required = abap_true. zcl_abapgit_default_transport=>get_instance( )->set( is_checks-transport-transport ). ENDIF. zcl_abapgit_objects_activation=>clear( ). lt_remote = io_repo->get_files_remote( ). lt_results = files_to_deserialize( io_repo = io_repo ii_log = ii_log ). checks_adjust( EXPORTING io_repo = io_repo is_checks = is_checks CHANGING ct_results = lt_results ). li_progress = zcl_abapgit_progress=>get_instance( lines( lt_results ) ). lt_items = map_results_to_items( lt_results ). check_objects_locked( iv_language = io_repo->get_dot_abapgit( )->get_master_language( ) it_items = lt_items ). lo_folder_logic = zcl_abapgit_folder_logic=>get_instance( ). LOOP AT lt_results ASSIGNING <ls_result>. li_progress->show( iv_current = sy-tabix iv_text = |Deserialize { <ls_result>-obj_name }| ). CLEAR ls_item. ls_item-obj_type = <ls_result>-obj_type. ls_item-obj_name = <ls_result>-obj_name. "error handling & logging added TRY. lv_package = lo_folder_logic->path_to_package( iv_top = io_repo->get_package( ) io_dot = io_repo->get_dot_abapgit( ) iv_path = <ls_result>-path ). IF ls_item-obj_type = 'DEVC'. " Packages have the same filename across different folders. The path needs to be supplied " to find the correct file. lv_path = <ls_result>-path. ENDIF. CREATE OBJECT lo_files EXPORTING is_item = ls_item iv_path = lv_path. lo_files->set_files( lt_remote ). "analyze XML in order to instantiate the proper serializer lo_xml = lo_files->read_xml( ). li_obj = create_object( is_item = ls_item iv_language = io_repo->get_dot_abapgit( )->get_master_language( ) is_metadata = lo_xml->get_metadata( ) ). compare_remote_to_local( ii_object = li_obj it_remote = lt_remote is_result = <ls_result> ii_log = ii_log ). li_obj->mo_files = lo_files. "get required steps for deserialize the object lt_steps_id = li_obj->get_deserialize_steps( ). LOOP AT lt_steps_id ASSIGNING <lv_step_id>. READ TABLE lt_steps WITH KEY step_id = <lv_step_id> ASSIGNING <ls_step>. ASSERT sy-subrc = 0. IF <ls_step>-is_ddic = abap_true AND li_obj->get_metadata( )-ddic = abap_false. " DDIC only for DDIC objects zcx_abapgit_exception=>raise( |Step { <lv_step_id> } is only for DDIC objects| ). ENDIF. APPEND INITIAL LINE TO <ls_step>-objects ASSIGNING <ls_deser>. <ls_deser>-item = ls_item. <ls_deser>-obj = li_obj. <ls_deser>-xml = lo_xml. <ls_deser>-package = lv_package. ENDLOOP. CLEAR: lv_path, lv_package. CATCH zcx_abapgit_exception INTO lx_exc. ii_log->add_exception( ix_exc = lx_exc is_item = ls_item ). ii_log->add_error( iv_msg = |Import of object { ls_item-obj_name } failed| is_item = ls_item ). "object should not be part of any deserialization step CONTINUE. ENDTRY. ENDLOOP. "run deserialize for all steps and it's objects SORT lt_steps BY order. LOOP AT lt_steps ASSIGNING <ls_step>. deserialize_objects( EXPORTING is_step = <ls_step> ii_log = ii_log CHANGING ct_files = rt_accessed_files ). ENDLOOP. update_package_tree( io_repo->get_package( ) ). SORT rt_accessed_files BY path ASCENDING filename ASCENDING. DELETE ADJACENT DUPLICATES FROM rt_accessed_files. " Just in case zcl_abapgit_default_transport=>get_instance( )->reset( ). ENDMETHOD. METHOD deserialize_checks. DATA: lt_results TYPE zif_abapgit_definitions=>ty_results_tt, li_package TYPE REF TO zif_abapgit_sap_package. lt_results = files_to_deserialize( io_repo ). rs_checks-overwrite = warning_overwrite_find( lt_results ). rs_checks-warning_package = warning_package_find( io_repo = io_repo it_results = lt_results ). IF lines( lt_results ) > 0. li_package = zcl_abapgit_factory=>get_sap_package( io_repo->get_package( ) ). rs_checks-transport-required = li_package->are_changes_recorded_in_tr_req( ). IF NOT rs_checks-transport-required IS INITIAL. rs_checks-transport-type = li_package->get_transport_type( ). ENDIF. ENDIF. ENDMETHOD. METHOD deserialize_objects. DATA: li_progress TYPE REF TO zif_abapgit_progress, li_exit TYPE REF TO zif_abapgit_exit, lx_exc TYPE REF TO zcx_abapgit_exception. FIELD-SYMBOLS: <ls_obj> LIKE LINE OF is_step-objects. zcl_abapgit_objects_activation=>clear( ). li_progress = zcl_abapgit_progress=>get_instance( lines( is_step-objects ) ). LOOP AT is_step-objects ASSIGNING <ls_obj>. li_progress->show( iv_current = sy-tabix iv_text = |Deserialize { is_step-descr } - { <ls_obj>-item-obj_name }| ). TRY. <ls_obj>-obj->deserialize( iv_package = <ls_obj>-package io_xml = <ls_obj>-xml iv_step = is_step-step_id ii_log = ii_log ). APPEND LINES OF <ls_obj>-obj->mo_files->get_accessed_files( ) TO ct_files. ii_log->add_success( iv_msg = |Object { <ls_obj>-item-obj_name } imported| is_item = <ls_obj>-item ). CATCH zcx_abapgit_exception INTO lx_exc. ii_log->add_exception( ix_exc = lx_exc is_item = <ls_obj>-item ). ii_log->add_error( iv_msg = |Import of object { <ls_obj>-item-obj_name } failed| is_item = <ls_obj>-item ). ENDTRY. ENDLOOP. CASE is_step-step_id. WHEN zif_abapgit_object=>gc_step_id-ddic. zcl_abapgit_objects_activation=>activate( is_step-is_ddic ). WHEN zif_abapgit_object=>gc_step_id-abap. zcl_abapgit_objects_activation=>activate( is_step-is_ddic ). WHEN zif_abapgit_object=>gc_step_id-late. " late can have both DDIC (like TABL with REF TO) and non-DDIC objects zcl_abapgit_objects_activation=>activate( abap_true ). zcl_abapgit_objects_activation=>activate( abap_false ). ENDCASE. * Call postprocessing li_exit = zcl_abapgit_exit=>get_instance( ). li_exit->deserialize_postprocess( is_step = is_step ii_log = ii_log ). ENDMETHOD. METHOD exists. DATA: li_obj TYPE REF TO zif_abapgit_object. TRY. li_obj = create_object( is_item = is_item iv_language = zif_abapgit_definitions=>c_english ). rv_bool = li_obj->exists( ). CATCH zcx_abapgit_exception. * ignore all errors and assume the object exists rv_bool = abap_true. ENDTRY. ENDMETHOD. METHOD files_to_deserialize. rt_results = adjust_namespaces( prioritize_deser( filter_files_to_deserialize( it_results = zcl_abapgit_file_status=>status( io_repo ) ii_log = ii_log ) ) ). ENDMETHOD. METHOD filter_files_to_deserialize. DATA lt_objects LIKE rt_results. DATA lr_object TYPE REF TO zif_abapgit_definitions=>ty_result. DATA ls_item TYPE zif_abapgit_definitions=>ty_item. DATA lv_tabix TYPE sy-tabix. rt_results = it_results. "preparation for object logging, sort all file entries by objects IF ii_log IS BOUND. lt_objects = rt_results. SORT lt_objects BY obj_type obj_name. DELETE ADJACENT DUPLICATES FROM lt_objects COMPARING obj_type obj_name. DELETE lt_objects WHERE obj_type IS INITIAL AND obj_name IS INITIAL. ENDIF. "ignore objects w/o changes DELETE rt_results WHERE match = abap_true. " Full match "log objects w/o changes IF sy-subrc = 0 AND ii_log IS BOUND. SORT rt_results BY obj_type obj_name. LOOP AT lt_objects REFERENCE INTO lr_object. lv_tabix = sy-tabix. READ TABLE rt_results WITH KEY obj_type = lr_object->obj_type obj_name = lr_object->obj_name BINARY SEARCH TRANSPORTING NO FIELDS. IF sy-subrc <> 0. "all parts of the objects have not changed ls_item-devclass = lr_object->package. ls_item-obj_type = lr_object->obj_type. ls_item-obj_name = lr_object->obj_name. ii_log->add_success( iv_msg = |Object { ls_item-obj_name } (type { ls_item-obj_type }) not changed; no import required| is_item = ls_item ). "ignore object for further messages DELETE lt_objects INDEX lv_tabix. ENDIF. ENDLOOP. ENDIF. "ignore objects w/o object type DELETE rt_results WHERE obj_type IS INITIAL. "log objects w/o object type IF sy-subrc = 0 AND ii_log IS BOUND. LOOP AT lt_objects REFERENCE INTO lr_object WHERE obj_type IS INITIAL. CHECK lr_object->obj_name IS NOT INITIAL. ls_item-devclass = lr_object->package. ls_item-obj_type = lr_object->obj_type. ls_item-obj_name = lr_object->obj_name. ii_log->add_warning( iv_msg = |Object type for { ls_item-obj_name } not defined - will be ignored by abapGit| is_item = ls_item ). ENDLOOP. DELETE lt_objects WHERE obj_type IS INITIAL. ENDIF. "ignore objects that exists only local DELETE rt_results WHERE lstate = zif_abapgit_definitions=>c_state-added AND rstate IS INITIAL. "log objects that exists only local IF sy-subrc = 0 AND ii_log IS BOUND. SORT rt_results BY obj_type obj_name. LOOP AT lt_objects REFERENCE INTO lr_object. lv_tabix = sy-tabix. READ TABLE rt_results WITH KEY obj_type = lr_object->obj_type obj_name = lr_object->obj_name BINARY SEARCH TRANSPORTING NO FIELDS. IF sy-subrc <> 0. "all parts exists only local "no log message; ignore object for further messages DELETE lt_objects INDEX lv_tabix. ENDIF. ENDLOOP. ENDIF. SORT rt_results BY obj_type ASCENDING obj_name ASCENDING rstate DESCENDING " ensures that non-empty rstate is kept lstate DESCENDING. " ensures that non-empty lstate is kept DELETE ADJACENT DUPLICATES FROM rt_results COMPARING obj_type obj_name. ENDMETHOD. METHOD get_deserialize_steps. FIELD-SYMBOLS: <ls_step> TYPE LINE OF zif_abapgit_definitions=>ty_step_data_tt. APPEND INITIAL LINE TO rt_steps ASSIGNING <ls_step>. <ls_step>-step_id = zif_abapgit_object=>gc_step_id-ddic. <ls_step>-descr = 'Import DDIC objects'. <ls_step>-is_ddic = abap_true. <ls_step>-syntax_check = abap_false. <ls_step>-order = 1. APPEND INITIAL LINE TO rt_steps ASSIGNING <ls_step>. <ls_step>-step_id = zif_abapgit_object=>gc_step_id-abap. <ls_step>-descr = 'Import objects main'. <ls_step>-is_ddic = abap_false. <ls_step>-syntax_check = abap_false. <ls_step>-order = 2. APPEND INITIAL LINE TO rt_steps ASSIGNING <ls_step>. <ls_step>-step_id = zif_abapgit_object=>gc_step_id-late. <ls_step>-descr = 'Import late objects'. <ls_step>-is_ddic = abap_false. <ls_step>-syntax_check = abap_true. <ls_step>-order = 3. ENDMETHOD. METHOD is_active. DATA: li_object TYPE REF TO zif_abapgit_object. TRY. li_object = create_object( is_item = is_item iv_language = sy-langu ). rv_active = li_object->is_active( ). CATCH cx_sy_dyn_call_illegal_method cx_sy_ref_is_initial zcx_abapgit_exception. rv_active = abap_true. ENDTRY. ENDMETHOD. METHOD is_supported. TRY. create_object( is_item = is_item iv_language = zif_abapgit_definitions=>c_english iv_native_only = iv_native_only ). rv_bool = abap_true. CATCH zcx_abapgit_exception. rv_bool = abap_false. ENDTRY. ENDMETHOD. METHOD jump. DATA: li_obj TYPE REF TO zif_abapgit_object, lv_adt_jump_enabled TYPE abap_bool. li_obj = create_object( is_item = is_item iv_language = zif_abapgit_definitions=>c_english ). IF li_obj->exists( ) = abap_false. zcx_abapgit_exception=>raise( |Object { is_item-obj_type } { is_item-obj_name } doesn't exist| ). ENDIF. lv_adt_jump_enabled = zcl_abapgit_persist_settings=>get_instance( )->read( )->get_adt_jump_enabled( ). IF lv_adt_jump_enabled = abap_true. TRY. zcl_abapgit_objects_super=>jump_adt( iv_obj_name = is_item-obj_name iv_obj_type = is_item-obj_type iv_sub_obj_name = iv_sub_obj_name iv_sub_obj_type = iv_sub_obj_type iv_line_number = iv_line_number ). CATCH zcx_abapgit_exception. li_obj->jump( ). ENDTRY. ELSEIF iv_line_number IS NOT INITIAL AND iv_sub_obj_type IS NOT INITIAL AND iv_sub_obj_name IS NOT INITIAL. " For the line navigation we have to supply the sub object type (i_sub_obj_type). " If we use is_item-obj_type it navigates only to the object. CALL FUNCTION 'RS_TOOL_ACCESS' EXPORTING operation = 'SHOW' object_name = is_item-obj_name object_type = iv_sub_obj_type include = iv_sub_obj_name position = iv_line_number in_new_window = abap_true EXCEPTIONS not_executed = 1 invalid_object_type = 2 OTHERS = 3. IF sy-subrc <> 0. zcx_abapgit_exception=>raise_t100( ). ENDIF. ELSE. li_obj->jump( ). ENDIF. ENDMETHOD. METHOD map_results_to_items. DATA: ls_item LIKE LINE OF rt_items. FIELD-SYMBOLS: <ls_result> TYPE zif_abapgit_definitions=>ty_result. LOOP AT it_results ASSIGNING <ls_result>. ls_item-devclass = <ls_result>-package. ls_item-obj_type = <ls_result>-obj_type. ls_item-obj_name = <ls_result>-obj_name. INSERT ls_item INTO TABLE rt_items. ENDLOOP. ENDMETHOD. METHOD map_tadir_to_items. DATA: ls_item LIKE LINE OF rt_items. FIELD-SYMBOLS: <ls_tadir> TYPE zif_abapgit_definitions=>ty_tadir. LOOP AT it_tadir ASSIGNING <ls_tadir>. ls_item-devclass = <ls_tadir>-devclass. ls_item-obj_type = <ls_tadir>-object. ls_item-obj_name = <ls_tadir>-obj_name. INSERT ls_item INTO TABLE rt_items. ENDLOOP. ENDMETHOD. METHOD prioritize_deser. * todo, refactor this method FIELD-SYMBOLS: <ls_result> LIKE LINE OF it_results. * WEBI has to be handled before SPRX. LOOP AT it_results ASSIGNING <ls_result> WHERE obj_type = 'WEBI'. APPEND <ls_result> TO rt_results. ENDLOOP. * SPRX has to be handled before depended objects CLAS/INFT/TABL etc. LOOP AT it_results ASSIGNING <ls_result> WHERE obj_type = 'SPRX'. APPEND <ls_result> TO rt_results. ENDLOOP. * XSLT has to be handled before CLAS/PROG LOOP AT it_results ASSIGNING <ls_result> WHERE obj_type = 'XSLT'. APPEND <ls_result> TO rt_results. ENDLOOP. * PROG before internet services, as the services might use the screens LOOP AT it_results ASSIGNING <ls_result> WHERE obj_type = 'PROG'. APPEND <ls_result> TO rt_results. ENDLOOP. * ISAP has to be handled before ISRP LOOP AT it_results ASSIGNING <ls_result> WHERE obj_type = 'IASP'. APPEND <ls_result> TO rt_results. ENDLOOP. * ENHS has to be handled before ENHO LOOP AT it_results ASSIGNING <ls_result> WHERE obj_type = 'ENHS'. APPEND <ls_result> TO rt_results. ENDLOOP. * DDLS has to be handled before DCLS LOOP AT it_results ASSIGNING <ls_result> WHERE obj_type = 'DDLS'. APPEND <ls_result> TO rt_results. ENDLOOP. * IOBJ has to be handled before ODSO LOOP AT it_results ASSIGNING <ls_result> WHERE obj_type = 'IOBJ'. APPEND <ls_result> TO rt_results. ENDLOOP. * TOBJ has to be handled before SCP1 LOOP AT it_results ASSIGNING <ls_result> WHERE obj_type = 'TOBJ'. APPEND <ls_result> TO rt_results. ENDLOOP. * OTGR has to be handled before CHAR LOOP AT it_results ASSIGNING <ls_result> WHERE obj_type = 'OTGR'. APPEND <ls_result> TO rt_results. ENDLOOP. LOOP AT it_results ASSIGNING <ls_result> WHERE obj_type <> 'IASP' AND obj_type <> 'PROG' AND obj_type <> 'XSLT' AND obj_type <> 'PINF' AND obj_type <> 'DEVC' AND obj_type <> 'ENHS' AND obj_type <> 'DDLS' AND obj_type <> 'SPRX' AND obj_type <> 'WEBI' AND obj_type <> 'IOBJ' AND obj_type <> 'TOBJ' AND obj_type <> 'OTGR'. APPEND <ls_result> TO rt_results. ENDLOOP. * PINF after everything as it can expose objects LOOP AT it_results ASSIGNING <ls_result> WHERE obj_type = 'PINF'. APPEND <ls_result> TO rt_results. ENDLOOP. * DEVC after PINF, as it can refer for package interface usage LOOP AT it_results ASSIGNING <ls_result> WHERE obj_type = 'DEVC'. APPEND <ls_result> TO rt_results. ENDLOOP. ENDMETHOD. METHOD serialize. DATA: li_obj TYPE REF TO zif_abapgit_object, li_xml TYPE REF TO zif_abapgit_xml_output, lo_files TYPE REF TO zcl_abapgit_objects_files. FIELD-SYMBOLS: <ls_file> LIKE LINE OF rs_files_and_item-files. rs_files_and_item-item = is_item. IF is_supported( rs_files_and_item-item ) = abap_false. zcx_abapgit_exception=>raise( |Object type ignored, not supported: { rs_files_and_item-item-obj_type }-{ rs_files_and_item-item-obj_name }| ). ENDIF. CREATE OBJECT lo_files EXPORTING is_item = rs_files_and_item-item. li_obj = create_object( is_item = rs_files_and_item-item iv_language = iv_language ). li_obj->mo_files = lo_files. CREATE OBJECT li_xml TYPE zcl_abapgit_xml_output. IF iv_serialize_master_lang_only = abap_true. li_xml->i18n_params( iv_serialize_master_lang_only = abap_true ). ENDIF. li_obj->serialize( li_xml ). lo_files->add_xml( ii_xml = li_xml is_metadata = li_obj->get_metadata( ) ). rs_files_and_item-files = lo_files->get_files( ). check_duplicates( rs_files_and_item-files ). rs_files_and_item-item-inactive = boolc( li_obj->is_active( ) = abap_false ). LOOP AT rs_files_and_item-files ASSIGNING <ls_file>. <ls_file>-sha1 = zcl_abapgit_hash=>sha1( iv_type = zif_abapgit_definitions=>c_type-blob iv_data = <ls_file>-data ). ENDLOOP. ENDMETHOD. METHOD supported_list. DATA: lt_objects TYPE STANDARD TABLE OF ko100, lv_supported TYPE abap_bool, ls_item TYPE zif_abapgit_definitions=>ty_item. FIELD-SYMBOLS <ls_object> LIKE LINE OF lt_objects. CALL FUNCTION 'TR_OBJECT_TABLE' TABLES wt_object_text = lt_objects EXCEPTIONS OTHERS = 1 ##FM_SUBRC_OK. LOOP AT lt_objects ASSIGNING <ls_object> WHERE pgmid = 'R3TR'. ls_item-obj_type = <ls_object>-object. lv_supported = is_supported( is_item = ls_item iv_native_only = abap_true ). IF lv_supported = abap_true. INSERT <ls_object>-object INTO TABLE rt_types. ENDIF. ENDLOOP. ENDMETHOD. METHOD update_package_tree. DATA: lt_packages TYPE zif_abapgit_sap_package=>ty_devclass_tt, lv_package LIKE LINE OF lt_packages, lv_tree TYPE dirtree-tname. lt_packages = zcl_abapgit_factory=>get_sap_package( iv_package )->list_subpackages( ). APPEND iv_package TO lt_packages. LOOP AT lt_packages INTO lv_package. * update package tree for SE80 lv_tree = 'EU_' && lv_package. CALL FUNCTION 'WB_TREE_ACTUALIZE' EXPORTING tree_name = lv_tree without_crossreference = abap_true with_tcode_index = abap_true. ENDLOOP. ENDMETHOD. METHOD warning_overwrite_adjust. DATA: lt_overwrite LIKE it_overwrite, ls_overwrite LIKE LINE OF lt_overwrite. FIELD-SYMBOLS: <ls_overwrite> LIKE LINE OF lt_overwrite. * make sure to get the current status, as something might have changed in the meanwhile lt_overwrite = warning_overwrite_find( ct_results ). LOOP AT lt_overwrite ASSIGNING <ls_overwrite>. READ TABLE it_overwrite INTO ls_overwrite WITH TABLE KEY object_type_and_name COMPONENTS obj_type = <ls_overwrite>-obj_type obj_name = <ls_overwrite>-obj_name. IF sy-subrc <> 0 OR ls_overwrite-decision IS INITIAL. zcx_abapgit_exception=>raise( |Overwrite { <ls_overwrite>-obj_type } { <ls_overwrite>-obj_name } undecided| ). ENDIF. IF ls_overwrite-decision = 'N'. DELETE ct_results WHERE obj_type = <ls_overwrite>-obj_type AND obj_name = <ls_overwrite>-obj_name. ASSERT sy-subrc = 0. ENDIF. ENDLOOP. ENDMETHOD. METHOD warning_overwrite_find. DATA: ls_overwrite LIKE LINE OF rt_overwrite. FIELD-SYMBOLS: <ls_result> LIKE LINE OF it_results. LOOP AT it_results ASSIGNING <ls_result> WHERE NOT obj_type IS INITIAL. IF <ls_result>-lstate IS NOT INITIAL AND NOT ( <ls_result>-lstate = zif_abapgit_definitions=>c_state-added AND <ls_result>-rstate IS INITIAL ). " current object has been modified or deleted locally, add to table CLEAR ls_overwrite. MOVE-CORRESPONDING <ls_result> TO ls_overwrite. APPEND ls_overwrite TO rt_overwrite. ENDIF. ENDLOOP. SORT rt_overwrite. DELETE ADJACENT DUPLICATES FROM rt_overwrite. ENDMETHOD. METHOD warning_package_adjust. DATA: lt_overwrite LIKE it_overwrite, ls_overwrite LIKE LINE OF lt_overwrite. FIELD-SYMBOLS: <ls_overwrite> LIKE LINE OF lt_overwrite. * make sure to get the current status, as something might have changed in the meanwhile lt_overwrite = warning_package_find( it_results = ct_results io_repo = io_repo ). LOOP AT lt_overwrite ASSIGNING <ls_overwrite>. READ TABLE it_overwrite INTO ls_overwrite WITH TABLE KEY object_type_and_name COMPONENTS obj_type = <ls_overwrite>-obj_type obj_name = <ls_overwrite>-obj_name. IF sy-subrc <> 0 OR ls_overwrite-decision IS INITIAL. zcx_abapgit_exception=>raise( |Overwrite odd package { <ls_overwrite>-obj_type } { <ls_overwrite>-obj_name } undecided| ). ENDIF. IF ls_overwrite-decision = 'N'. DELETE ct_results WHERE obj_type = <ls_overwrite>-obj_type AND obj_name = <ls_overwrite>-obj_name. ASSERT sy-subrc = 0. ENDIF. ENDLOOP. ENDMETHOD. METHOD warning_package_find. DATA: lv_package TYPE devclass, lt_overwrite_uniqe TYPE HASHED TABLE OF zif_abapgit_definitions=>ty_overwrite WITH UNIQUE KEY obj_type obj_name devclass, ls_overwrite LIKE LINE OF rt_overwrite, ls_tadir TYPE zif_abapgit_definitions=>ty_tadir. DATA: lo_folder_logic TYPE REF TO zcl_abapgit_folder_logic. FIELD-SYMBOLS: <ls_result> LIKE LINE OF it_results. lo_folder_logic = zcl_abapgit_folder_logic=>get_instance( ). LOOP AT it_results ASSIGNING <ls_result>. lv_package = lo_folder_logic->path_to_package( iv_top = io_repo->get_package( ) io_dot = io_repo->get_dot_abapgit( ) iv_path = <ls_result>-path ). ls_tadir = zcl_abapgit_factory=>get_tadir( )->read_single( iv_object = <ls_result>-obj_type iv_obj_name = <ls_result>-obj_name ). IF NOT ls_tadir IS INITIAL AND ls_tadir-devclass <> lv_package. * overwriting object from different package than expected CLEAR ls_overwrite. ls_overwrite-obj_type = <ls_result>-obj_type. ls_overwrite-obj_name = <ls_result>-obj_name. ls_overwrite-devclass = ls_tadir-devclass. INSERT ls_overwrite INTO TABLE lt_overwrite_uniqe. ENDIF. ENDLOOP. rt_overwrite = lt_overwrite_uniqe. ENDMETHOD. ENDCLASS.
[ 31631, 1976, 565, 62, 397, 499, 18300, 62, 48205, 5550, 20032, 17941, 198, 220, 44731, 198, 220, 29244, 6158, 44731, 764, 628, 220, 44731, 44513, 13, 628, 220, 220, 220, 24412, 47, 1546, 25, 198, 220, 220, 220, 220, 220, 1259, 62, 19199, 62, 926, 41876, 311, 9863, 1961, 43679, 3963, 36264, 343, 12, 15252, 13315, 4725, 33866, 8924, 35374, 3084, 62, 1370, 13, 198, 220, 220, 220, 24412, 47, 1546, 25, 198, 220, 220, 220, 220, 220, 347, 43312, 3963, 1259, 62, 46911, 1634, 11, 198, 220, 220, 220, 220, 220, 220, 220, 3696, 41876, 1976, 361, 62, 397, 499, 18300, 62, 4299, 50101, 14804, 774, 62, 16624, 62, 926, 11, 198, 220, 220, 220, 220, 220, 220, 220, 2378, 220, 41876, 1976, 361, 62, 397, 499, 18300, 62, 4299, 50101, 14804, 774, 62, 9186, 11, 198, 220, 220, 220, 220, 220, 23578, 3963, 1259, 62, 46911, 1634, 764, 628, 220, 220, 220, 42715, 12, 49273, 50, 11389, 1096, 198, 220, 220, 220, 220, 220, 30023, 9863, 2751, 198, 220, 220, 220, 220, 220, 220, 220, 5145, 271, 62, 9186, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 41876, 1976, 361, 62, 397, 499, 18300, 62, 4299, 50101, 14804, 774, 62, 9186, 198, 220, 220, 220, 220, 220, 220, 220, 5145, 452, 62, 16129, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 41876, 7500, 292, 198, 220, 220, 220, 220, 220, 220, 220, 5145, 452, 62, 46911, 1096, 62, 9866, 62, 17204, 62, 8807, 41876, 450, 499, 62, 30388, 5550, 38865, 450, 499, 62, 9562, 198, 220, 220, 220, 220, 220, 30826, 4261, 15871, 198, 220, 220, 220, 220, 220, 220, 220, 26173, 8924, 7, 3808, 62, 16624, 62, 392, 62, 9186, 8, 220, 220, 220, 220, 220, 220, 41876, 1259, 62, 46911, 1634, 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, 42715, 12, 49273, 50, 748, 48499, 1096, 198, 220, 220, 220, 220, 220, 30023, 9863, 2751, 198, 220, 220, 220, 220, 220, 220, 220, 5145, 952, 62, 260, 7501, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 41876, 4526, 37, 5390, 1976, 565, 62, 397, 499, 18300, 62, 260, 7501, 198, 220, 220, 220, 220, 220, 220, 220, 5145, 271, 62, 42116, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 41876, 1976, 361, 62, 397, 499, 18300, 62, 4299, 50101, 14804, 774, 62, 8906, 48499, 1096, 62, 42116, 198, 220, 220, 220, 220, 220, 220, 220, 5145, 4178, 62, 6404, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 41876, 4526, 37, 5390, 1976, 361, 62, 397, 499, 18300, 62, 6404, 198, 220, 220, 220, 220, 220, 30826, 4261, 15871, 198, 220, 220, 220, 220, 220, 220, 220, 26173, 8924, 7, 17034, 62, 15526, 276, 62, 16624, 8, 41876, 1976, 361, 62, 397, 499, 18300, 62, 4299, 50101, 14804, 774, 62, 7753, 62, 12683, 6691, 62, 926, 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, 42715, 12, 49273, 50, 748, 48499, 1096, 62, 42116, 198, 220, 220, 220, 220, 220, 30023, 9863, 2751, 198, 220, 220, 220, 220, 220, 220, 220, 5145, 952, 62, 260, 7501, 220, 220, 220, 220, 220, 220, 220, 220, 41876, 4526, 37, 5390, 1976, 565, 62, 397, 499, 18300, 62, 260, 7501, 198, 220, 220, 220, 220, 220, 30826, 4261, 15871, 198, 220, 220, 220, 220, 220, 220, 220, 26173, 8924, 7, 3808, 62, 42116, 8, 41876, 1976, 361, 62, 397, 499, 18300, 62, 4299, 50101, 14804, 774, 62, 8906, 48499, 1096, 62, 42116, 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, 42715, 12, 49273, 50, 12233, 198, 220, 220, 220, 220, 220, 30023, 9863, 2751, 198, 220, 220, 220, 220, 220, 220, 220, 5145, 270, 62, 83, 324, 343, 220, 41876, 1976, 361, 62, 397, 499, 18300, 62, 4299, 50101, 14804, 774, 62, 83, 324, 343, 62, 926, 198, 220, 220, 220, 220, 220, 220, 220, 5145, 271, 62, 42116, 41876, 1976, 361, 62, 397, 499, 18300, 62, 4299, 50101, 14804, 774, 62, 33678, 62, 42116, 39852, 2849, 1847, 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, 42715, 12, 49273, 50, 4391, 198, 220, 220, 220, 220, 220, 30023, 9863, 2751, 198, 220, 220, 220, 220, 220, 220, 220, 5145, 271, 62, 9186, 220, 220, 220, 220, 220, 220, 220, 41876, 1976, 361, 62, 397, 499, 18300, 62, 4299, 50101, 14804, 774, 62, 9186, 198, 220, 220, 220, 220, 220, 220, 220, 5145, 452, 62, 1370, 62, 17618, 41876, 1312, 39852, 2849, 1847, 198, 220, 220, 220, 220, 220, 220, 220, 21628, 62, 7266, 62, 26801, 62, 3672, 41876, 1976, 361, 62, 397, 499, 18300, 62, 4299, 50101, 14804, 774, 62, 9186, 12, 26801, 62, 3672, 39852, 2849, 1847, 198, 220, 220, 220, 220, 220, 220, 220, 21628, 62, 7266, 62, 26801, 62, 4906, 41876, 1976, 361, 62, 397, 499, 18300, 62, 4299, 50101, 14804, 774, 62, 9186, 12, 26801, 62, 4906, 39852, 2849, 1847, 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, 42715, 12, 49273, 50, 3421, 62, 1525, 198, 220, 220, 220, 220, 220, 30023, 9863, 2751, 198, 220, 220, 220, 220, 220, 220, 220, 5145, 271, 62, 9186, 220, 220, 220, 220, 220, 220, 41876, 1976, 361, 62, 397, 499, 18300, 62, 4299, 50101, 14804, 774 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 1, 1, 1, 1, 1, 1, 1 ]
INTERFACE zif_aoc2018_input_helper PUBLIC . METHODS: has_next RETURNING VALUE(rf_has_next) TYPE abap_bool, next RETURNING VALUE(rd_next) TYPE i, add IMPORTING id_input TYPE i, is_empty RETURNING VALUE(rf_empty) type abap_bool, goto_begin. ENDINTERFACE.
[ 41358, 49836, 1976, 361, 62, 64, 420, 7908, 62, 15414, 62, 2978, 525, 198, 220, 44731, 764, 198, 220, 337, 36252, 50, 25, 198, 220, 220, 220, 468, 62, 19545, 220, 220, 220, 220, 220, 30826, 4261, 15871, 26173, 8924, 7, 41871, 62, 10134, 62, 19545, 8, 41876, 450, 499, 62, 30388, 11, 198, 220, 220, 220, 1306, 220, 220, 220, 220, 220, 220, 220, 220, 220, 30826, 4261, 15871, 26173, 8924, 7, 4372, 62, 19545, 8, 41876, 1312, 11, 198, 220, 220, 220, 751, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 30023, 9863, 2751, 4686, 62, 15414, 41876, 1312, 11, 198, 220, 220, 220, 318, 62, 28920, 220, 220, 220, 220, 220, 30826, 4261, 15871, 26173, 8924, 7, 41871, 62, 28920, 8, 2099, 450, 499, 62, 30388, 11, 198, 220, 220, 220, 43197, 62, 27471, 13, 198, 198, 10619, 41358, 49836, 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 ]
CLASS ltcl_part_collections DEFINITION FOR TESTING RISK LEVEL HARMLESS DURATION SHORT FINAL. PUBLIC SECTION. PRIVATE SECTION. METHODS test FOR TESTING. ENDCLASS. CLASS ltcl_part_collections IMPLEMENTATION. METHOD test. DATA lo_html1 TYPE REF TO zcl_abapgit_html. DATA lo_html2 TYPE REF TO zcl_abapgit_html. DATA lo_html3 TYPE REF TO zcl_abapgit_html. DATA lo_html_tmp TYPE REF TO zif_abapgit_html. DATA lo_parts TYPE REF TO zcl_abapgit_html_parts. DATA lt_col_exp TYPE string_table. DATA lt_parts_act TYPE zif_abapgit_html=>ty_table_of. CREATE OBJECT lo_html1. CREATE OBJECT lo_html2. CREATE OBJECT lo_html3. CREATE OBJECT lo_parts. lo_parts->add_part( iv_collection = 'ABC' ii_part = lo_html1 ). lo_parts->add_part( iv_collection = 'ABC' ii_part = lo_html2 ). lo_parts->add_part( iv_collection = 'XYZ' ii_part = lo_html3 ). cl_abap_unit_assert=>assert_equals( act = lo_parts->get_collection_size( 'ABC' ) exp = 2 ). cl_abap_unit_assert=>assert_equals( act = lo_parts->get_collection_size( 'XYZ' ) exp = 1 ). cl_abap_unit_assert=>assert_equals( act = lo_parts->get_collection_size( '123' ) exp = 0 ). APPEND 'ABC' TO lt_col_exp. APPEND 'XYZ' TO lt_col_exp. cl_abap_unit_assert=>assert_equals( act = lo_parts->get_collection_names( ) exp = lt_col_exp ). lt_parts_act = lo_parts->get_parts( 'ABC' ). cl_abap_unit_assert=>assert_equals( act = lines( lt_parts_act ) exp = 2 ). READ TABLE lt_parts_act INTO lo_html_tmp INDEX 1. cl_abap_unit_assert=>assert_equals( act = lo_html_tmp exp = lo_html1 ). READ TABLE lt_parts_act INTO lo_html_tmp INDEX 2. cl_abap_unit_assert=>assert_equals( act = lo_html_tmp exp = lo_html2 ). lt_parts_act = lo_parts->get_parts( 'XYZ' ). cl_abap_unit_assert=>assert_equals( act = lines( lt_parts_act ) exp = 1 ). READ TABLE lt_parts_act INTO lo_html_tmp INDEX 1. cl_abap_unit_assert=>assert_equals( act = lo_html_tmp exp = lo_html3 ). lt_parts_act = lo_parts->get_parts( '123' ). cl_abap_unit_assert=>assert_initial( lt_parts_act ). lo_parts->clear( ). cl_abap_unit_assert=>assert_initial( lo_parts->get_collection_names( ) ). ENDMETHOD. ENDCLASS.
[ 31631, 300, 83, 565, 62, 3911, 62, 4033, 26448, 5550, 20032, 17941, 198, 220, 7473, 43001, 2751, 198, 220, 45698, 42, 49277, 43638, 5805, 7597, 198, 220, 360, 4261, 6234, 6006, 9863, 198, 220, 25261, 13, 628, 220, 44731, 44513, 13, 628, 220, 4810, 3824, 6158, 44513, 13, 628, 220, 220, 220, 337, 36252, 50, 1332, 7473, 43001, 2751, 13, 198, 198, 10619, 31631, 13, 198, 198, 31631, 300, 83, 565, 62, 3911, 62, 4033, 26448, 30023, 2538, 10979, 6234, 13, 628, 220, 337, 36252, 1332, 13, 628, 220, 220, 220, 42865, 2376, 62, 6494, 16, 41876, 4526, 37, 5390, 1976, 565, 62, 397, 499, 18300, 62, 6494, 13, 198, 220, 220, 220, 42865, 2376, 62, 6494, 17, 41876, 4526, 37, 5390, 1976, 565, 62, 397, 499, 18300, 62, 6494, 13, 198, 220, 220, 220, 42865, 2376, 62, 6494, 18, 41876, 4526, 37, 5390, 1976, 565, 62, 397, 499, 18300, 62, 6494, 13, 198, 220, 220, 220, 42865, 2376, 62, 6494, 62, 22065, 41876, 4526, 37, 5390, 1976, 361, 62, 397, 499, 18300, 62, 6494, 13, 198, 220, 220, 220, 42865, 2376, 62, 42632, 41876, 4526, 37, 5390, 1976, 565, 62, 397, 499, 18300, 62, 6494, 62, 42632, 13, 198, 220, 220, 220, 42865, 300, 83, 62, 4033, 62, 11201, 41876, 4731, 62, 11487, 13, 198, 220, 220, 220, 42865, 300, 83, 62, 42632, 62, 529, 41876, 1976, 361, 62, 397, 499, 18300, 62, 6494, 14804, 774, 62, 11487, 62, 1659, 13, 628, 220, 220, 220, 29244, 6158, 25334, 23680, 2376, 62, 6494, 16, 13, 198, 220, 220, 220, 29244, 6158, 25334, 23680, 2376, 62, 6494, 17, 13, 198, 220, 220, 220, 29244, 6158, 25334, 23680, 2376, 62, 6494, 18, 13, 628, 220, 220, 220, 29244, 6158, 25334, 23680, 2376, 62, 42632, 13, 198, 220, 220, 220, 2376, 62, 42632, 3784, 2860, 62, 3911, 7, 198, 220, 220, 220, 220, 220, 21628, 62, 43681, 796, 705, 24694, 6, 198, 220, 220, 220, 220, 220, 21065, 62, 3911, 796, 2376, 62, 6494, 16, 6739, 198, 220, 220, 220, 2376, 62, 42632, 3784, 2860, 62, 3911, 7, 198, 220, 220, 220, 220, 220, 21628, 62, 43681, 796, 705, 24694, 6, 198, 220, 220, 220, 220, 220, 21065, 62, 3911, 796, 2376, 62, 6494, 17, 6739, 198, 220, 220, 220, 2376, 62, 42632, 3784, 2860, 62, 3911, 7, 198, 220, 220, 220, 220, 220, 21628, 62, 43681, 796, 705, 34278, 57, 6, 198, 220, 220, 220, 220, 220, 21065, 62, 3911, 796, 2376, 62, 6494, 18, 6739, 628, 220, 220, 220, 537, 62, 397, 499, 62, 20850, 62, 30493, 14804, 30493, 62, 4853, 874, 7, 198, 220, 220, 220, 220, 220, 719, 796, 2376, 62, 42632, 3784, 1136, 62, 43681, 62, 7857, 7, 705, 24694, 6, 1267, 198, 220, 220, 220, 220, 220, 1033, 796, 362, 6739, 198, 220, 220, 220, 537, 62, 397, 499, 62, 20850, 62, 30493, 14804, 30493, 62, 4853, 874, 7, 198, 220, 220, 220, 220, 220, 719, 796, 2376, 62, 42632, 3784, 1136, 62, 43681, 62, 7857, 7, 705, 34278, 57, 6, 1267, 198, 220, 220, 220, 220, 220, 1033, 796, 352, 6739, 198, 220, 220, 220, 537, 62, 397, 499, 62, 20850, 62, 30493, 14804, 30493, 62, 4853, 874, 7, 198, 220, 220, 220, 220, 220, 719, 796, 2376, 62, 42632, 3784, 1136, 62, 43681, 62, 7857, 7, 705, 10163, 6, 1267, 198, 220, 220, 220, 220, 220, 1033, 796, 657, 6739, 628, 220, 220, 220, 43504, 10619, 705, 24694, 6, 5390, 300, 83, 62, 4033, 62, 11201, 13, 198, 220, 220, 220, 43504, 10619, 705, 34278, 57, 6, 5390, 300, 83, 62, 4033, 62, 11201, 13, 628, 220, 220, 220, 537, 62, 397, 499, 62, 20850, 62, 30493, 14804, 30493, 62, 4853, 874, 7, 198, 220, 220, 220, 220, 220, 719, 796, 2376, 62, 42632, 3784, 1136, 62, 43681, 62, 14933, 7, 1267, 198, 220, 220, 220, 220, 220, 1033, 796, 300, 83, 62, 4033, 62, 11201, 6739, 628, 220, 220, 220, 300, 83, 62, 42632, 62, 529, 796, 2376, 62, 42632, 3784, 1136, 62, 42632, 7, 705, 24694, 6, 6739, 198, 220, 220, 220, 537, 62, 397, 499, 62, 20850, 62, 30493, 14804, 30493, 62, 4853, 874, 7, 198, 220, 220, 220, 220, 220, 719, 796, 3951, 7, 300, 83, 62, 42632, 62, 529, 1267, 198, 220, 220, 220, 220, 220, 1033, 796, 362, 6739, 198, 220, 220, 220, 20832, 43679, 300, 83, 62, 42632, 62, 529, 39319, 2376, 62, 6494, 62, 22065, 24413, 6369, 352, 13, 198, 220, 220, 220, 537, 62, 397, 499, 62, 20850, 62, 30493, 14804, 30493, 62, 4853, 874, 7, 198, 220, 220, 220, 220, 220, 719, 796, 2376, 62, 6494, 62, 22065, 198, 220, 220, 220, 220, 220, 1033, 796, 2376, 62, 6494, 16, 6739, 198, 220, 220, 220, 20832, 43679, 300, 83, 62, 42632, 62, 529, 39319, 2376, 62, 6494, 62, 22065, 24413, 6369, 362, 13, 198, 220, 220, 220, 537, 62, 397, 499, 62, 20850, 62, 30493, 14804, 30493, 62, 4853, 874, 7, 198, 220, 220, 220, 220, 220, 719, 796, 2376, 62, 6494, 62, 22065, 198, 220, 220, 220, 220, 220, 1033, 796, 2376, 62, 6494, 17, 6739, 628, 220, 220, 220, 300, 83, 62, 42632, 62, 529, 796, 2376, 62, 42632, 3784, 1136, 62, 42632, 7, 705, 34278, 57, 6, 6739, 198, 220, 220, 220, 537, 62, 397, 499, 62, 20850, 62, 30493, 14804, 30493, 62, 4853, 874, 7, 198, 220, 220, 220, 220, 220, 719, 796, 3951, 7, 300, 83, 62, 42632, 62, 529, 1267, 198, 220, 220, 220, 220, 220, 1033, 796, 352, 6739, 198, 220, 220, 220, 20832, 43679, 300, 83, 62, 42632, 62, 529, 39319, 2376, 62, 6494, 62, 22065, 24413, 6369, 352, 13, 198, 220, 220, 220, 537, 62, 397, 499, 62, 20850, 62, 30493, 14804, 30493, 62, 4853, 874, 7, 198, 220, 220, 220, 220, 220, 719, 796, 2376, 62, 6494, 62, 22065, 198, 220, 220, 220, 220, 220, 1033, 796, 2376, 62, 6494, 18, 6739, 628, 220, 220, 220, 300, 83, 62, 42632, 62, 529, 796, 2376, 62, 42632, 3784, 1136, 62, 42632, 7, 705, 10163, 6, 6739, 198, 220, 220, 220, 537, 62, 397, 499, 62, 20850, 62, 30493, 14804, 30493 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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 ]
* regenerated at 09.01.2021 16:42:28 FUNCTION-POOL ZAMP_CONFIG_MP MESSAGE-ID SV. * INCLUDE LZAMP_CONFIG_MPD... " Local class definition INCLUDE LSVIMDAT . "general data decl. INCLUDE LZAMP_CONFIG_MPT00 . "view rel. data dcl.
[ 9, 16935, 515, 379, 7769, 13, 486, 13, 1238, 2481, 1467, 25, 3682, 25, 2078, 198, 42296, 4177, 2849, 12, 16402, 3535, 1168, 23518, 62, 10943, 16254, 62, 7378, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 337, 1546, 4090, 8264, 12, 2389, 20546, 13, 198, 198, 9, 3268, 5097, 52, 7206, 406, 57, 23518, 62, 10943, 16254, 62, 44, 5760, 986, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 366, 10714, 1398, 6770, 198, 220, 3268, 5097, 52, 7206, 30948, 53, 3955, 35, 1404, 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, 764, 366, 24622, 1366, 2377, 13, 198, 220, 3268, 5097, 52, 7206, 406, 57, 23518, 62, 10943, 16254, 62, 7378, 51, 405, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 764, 366, 1177, 823, 13, 1366, 288, 565, 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 ]
CLASS zcl_abapgit_object_auth DEFINITION PUBLIC INHERITING FROM zcl_abapgit_objects_super FINAL. PUBLIC SECTION. INTERFACES zif_abapgit_object. ALIASES mo_files FOR zif_abapgit_object~mo_files. METHODS constructor IMPORTING is_item TYPE zif_abapgit_definitions=>ty_item iv_language TYPE spras. PROTECTED SECTION. PRIVATE SECTION. DATA: mv_fieldname TYPE authx-fieldname. ENDCLASS. CLASS ZCL_ABAPGIT_OBJECT_AUTH IMPLEMENTATION. METHOD constructor. super->constructor( is_item = is_item iv_language = iv_language ). mv_fieldname = ms_item-obj_name. ENDMETHOD. METHOD zif_abapgit_object~changed_by. * looks like "changed by user" is not stored in the database rv_user = c_user_unknown. ENDMETHOD. METHOD zif_abapgit_object~delete. " there is a bug in SAP standard, the TADIR entries are not deleted " when the AUTH object is deleted in transaction SU20 " FM SUSR_AUTF_DELETE_FIELD calls the UI, therefore we reimplement its logic DATA: lt_objlst TYPE susr_t_xuobject, lo_auth TYPE REF TO cl_auth_tools, lv_dummy TYPE string. " authority check CREATE OBJECT lo_auth. IF lo_auth->authority_check_suso( actvt = '06' fieldname = mv_fieldname ) <> 0. MESSAGE e463(01) WITH mv_fieldname INTO lv_dummy. zcx_abapgit_exception=>raise_t100( ). ENDIF. " if field is used check lt_objlst = lo_auth->suso_where_used_afield( mv_fieldname ). IF lt_objlst IS NOT INITIAL. MESSAGE i453(01) WITH mv_fieldname INTO lv_dummy. zcx_abapgit_exception=>raise_t100( ). ENDIF. " collect fieldname into a transport task IF lo_auth->add_afield_to_trkorr( mv_fieldname ) <> 0. "no transport -> no deletion MESSAGE e507(0m) INTO lv_dummy. zcx_abapgit_exception=>raise_t100( ). ENDIF. DELETE FROM authx WHERE fieldname = mv_fieldname. IF sy-subrc <> 0. MESSAGE e507(0m) INTO lv_dummy. zcx_abapgit_exception=>raise_t100( ). ENDIF. ENDMETHOD. METHOD zif_abapgit_object~deserialize. * see include LSAUT_FIELDF02 DATA: ls_authx TYPE authx, lo_auth TYPE REF TO cl_auth_tools. io_xml->read( EXPORTING iv_name = 'AUTHX' CHANGING cg_data = ls_authx ). tadir_insert( iv_package ). CREATE OBJECT lo_auth. IF lo_auth->add_afield_to_trkorr( ls_authx-fieldname ) <> 0. zcx_abapgit_exception=>raise( 'Error deserializing AUTH' ). ENDIF. MODIFY authx FROM ls_authx. IF sy-subrc <> 0. zcx_abapgit_exception=>raise( 'Error deserializing AUTH' ). ENDIF. CALL FUNCTION 'DB_COMMIT'. lo_auth->set_authfld_info_from_db( ls_authx-fieldname ). ENDMETHOD. METHOD zif_abapgit_object~exists. SELECT SINGLE fieldname FROM authx INTO mv_fieldname WHERE fieldname = ms_item-obj_name. "#EC CI_GENBUFF rv_bool = boolc( sy-subrc = 0 ). ENDMETHOD. METHOD zif_abapgit_object~get_comparator. RETURN. ENDMETHOD. METHOD zif_abapgit_object~get_deserialize_steps. DATA: ls_meta TYPE zif_abapgit_definitions=>ty_metadata. ls_meta = zif_abapgit_object~get_metadata( ). IF ls_meta-late_deser = abap_true. APPEND zif_abapgit_object=>gc_step_id-late TO rt_steps. ELSEIF ls_meta-ddic = abap_true. APPEND zif_abapgit_object=>gc_step_id-ddic TO rt_steps. ELSE. APPEND zif_abapgit_object=>gc_step_id-abap TO rt_steps. ENDIF. ENDMETHOD. METHOD zif_abapgit_object~get_metadata. rs_metadata = get_metadata( ). rs_metadata-delete_tadir = abap_true. ENDMETHOD. METHOD zif_abapgit_object~is_active. rv_active = is_active( ). ENDMETHOD. METHOD zif_abapgit_object~is_locked. rv_is_locked = abap_false. ENDMETHOD. METHOD zif_abapgit_object~jump. * TODO, this function module does not exist in 702 CALL FUNCTION 'SU20_MAINTAIN_SNGL' EXPORTING id_field = mv_fieldname id_wbo_mode = abap_false. ENDMETHOD. METHOD zif_abapgit_object~serialize. DATA: ls_authx TYPE authx. SELECT SINGLE * FROM authx INTO ls_authx WHERE fieldname = ms_item-obj_name. "#EC CI_GENBUFF IF sy-subrc <> 0. RETURN. ENDIF. io_xml->add( iv_name = 'AUTHX' ig_data = ls_authx ). ENDMETHOD. ENDCLASS.
[ 31631, 1976, 565, 62, 397, 499, 18300, 62, 15252, 62, 18439, 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, 337, 36252, 50, 23772, 198, 220, 220, 220, 220, 220, 30023, 9863, 2751, 198, 220, 220, 220, 220, 220, 220, 220, 318, 62, 9186, 220, 220, 220, 220, 41876, 1976, 361, 62, 397, 499, 18300, 62, 4299, 50101, 14804, 774, 62, 9186, 198, 220, 220, 220, 220, 220, 220, 220, 21628, 62, 16129, 41876, 7500, 292, 13, 198, 220, 48006, 9782, 1961, 44513, 13, 198, 220, 4810, 3824, 6158, 44513, 13, 198, 220, 220, 220, 42865, 25, 285, 85, 62, 3245, 3672, 41876, 6284, 87, 12, 3245, 3672, 13, 198, 198, 10619, 31631, 13, 628, 198, 198, 31631, 1168, 5097, 62, 6242, 2969, 38, 2043, 62, 9864, 23680, 62, 32, 24318, 30023, 2538, 10979, 6234, 13, 628, 198, 220, 337, 36252, 23772, 13, 628, 220, 220, 220, 2208, 3784, 41571, 273, 7, 318, 62, 9186, 220, 220, 220, 220, 796, 318, 62, 9186, 198, 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, 16129, 796, 21628, 62, 16129, 6739, 628, 220, 220, 220, 285, 85, 62, 3245, 3672, 796, 13845, 62, 9186, 12, 26801, 62, 3672, 13, 628, 220, 23578, 49273, 13, 628, 198, 220, 337, 36252, 1976, 361, 62, 397, 499, 18300, 62, 15252, 93, 40985, 62, 1525, 13, 198, 9, 3073, 588, 366, 40985, 416, 2836, 1, 318, 407, 8574, 287, 262, 6831, 198, 220, 220, 220, 374, 85, 62, 7220, 796, 269, 62, 7220, 62, 34680, 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, 366, 612, 318, 257, 5434, 287, 48323, 3210, 11, 262, 309, 2885, 4663, 12784, 389, 407, 13140, 198, 220, 220, 220, 366, 618, 262, 37195, 2134, 318, 13140, 287, 8611, 13558, 1238, 628, 220, 220, 220, 366, 18695, 311, 2937, 49, 62, 39371, 37, 62, 7206, 2538, 9328, 62, 44603, 3848, 262, 12454, 11, 4361, 356, 21123, 26908, 663, 9156, 628, 220, 220, 220, 42865, 25, 198, 220, 220, 220, 220, 220, 300, 83, 62, 672, 20362, 301, 41876, 2341, 81, 62, 83, 62, 87, 84, 15252, 11, 198, 220, 220, 220, 220, 220, 2376, 62, 18439, 220, 220, 41876, 4526, 37, 5390, 537, 62, 18439, 62, 31391, 11, 198, 220, 220, 220, 220, 220, 300, 85, 62, 67, 13513, 220, 41876, 4731, 13, 628, 220, 220, 220, 366, 4934, 2198, 198, 220, 220, 220, 29244, 6158, 25334, 23680, 2376, 62, 18439, 13, 198, 220, 220, 220, 16876, 2376, 62, 18439, 3784, 9800, 414, 62, 9122, 62, 82, 385, 78, 7, 719, 36540, 220, 220, 220, 220, 796, 705, 3312, 6, 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, 2214, 3672, 796, 285, 85, 62, 3245, 3672, 1267, 1279, 29, 657, 13, 198, 220, 220, 220, 220, 220, 337, 1546, 4090, 8264, 304, 38380, 7, 486, 8, 13315, 285, 85, 62, 3245, 3672, 39319, 300, 85, 62, 67, 13513, 13, 198, 220, 220, 220, 220, 220, 1976, 66, 87, 62, 397, 499, 18300, 62, 1069, 4516, 14804, 40225, 62, 83, 3064, 7, 6739, 198, 220, 220, 220, 23578, 5064, 13, 628, 220, 220, 220, 366, 611, 2214, 318, 973, 2198, 198, 220, 220, 220, 300, 83, 62, 672, 20362, 301, 796, 2376, 62, 18439, 3784, 82, 385, 78, 62, 3003, 62, 1484, 62, 1878, 1164, 7, 285, 85, 62, 3245, 3672, 6739, 198, 220, 220, 220, 16876, 300, 83, 62, 672, 20362, 301, 3180, 5626, 3268, 2043, 12576, 13, 198, 220, 220, 220, 220, 220, 337, 1546, 4090, 8264, 1312, 36625, 7, 486, 8, 13315, 285, 85, 62, 3245, 3672, 39319, 300, 85, 62, 67, 13513, 13, 198, 220, 220, 220, 220, 220, 1976, 66, 87, 62, 397, 499, 18300, 62, 1069, 4516, 14804, 40225, 62, 83, 3064, 7, 6739, 198, 220, 220, 220, 23578, 5064, 13, 628, 220, 220, 220, 366, 2824, 2214, 3672, 656, 257, 4839, 4876, 198, 220, 220, 220, 16876, 2376, 62, 18439, 3784, 2860, 62, 1878, 1164, 62, 1462, 62, 2213, 74, 38890, 7, 285, 85, 62, 3245, 3672, 1267, 1279, 29, 657, 13, 198, 220, 220, 220, 220, 220, 366, 3919, 4839, 4613, 645, 39948, 198, 220, 220, 220, 220, 220, 337, 1546, 4090, 8264, 304, 35378, 7, 15, 76, 8, 39319, 300, 85, 62, 67, 13513, 13, 198, 220, 220, 220, 220, 220, 1976, 66, 87, 62, 397, 499, 18300, 62, 1069, 4516, 14804, 40225, 62, 83, 3064, 7, 6739, 198, 220, 220, 220, 23578, 5064, 13, 628, 220, 220, 220, 5550, 2538, 9328, 16034, 6284, 87, 33411, 2214, 3672, 796, 285, 85, 62, 3245, 3672, 13, 198, 220, 220, 220, 16876, 827, 12, 7266, 6015, 1279, 29, 657, 13, 198, 220, 220, 220, 220, 220, 337, 1546, 4090, 8264, 304, 35378, 7, 15, 76, 8, 39319, 300, 85, 62, 67, 13513, 13, 198, 220, 220, 220, 220, 220, 1976, 66, 87, 62, 397, 499, 18300, 62, 1069, 4516, 14804, 40225, 62, 83, 3064, 7, 6739, 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, 8906, 48499, 1096, 13, 198, 9, 766, 2291, 406, 4090, 3843, 62, 11674, 3698, 8068, 2999, 628, 220, 220, 220, 42865, 25, 43979, 62, 18439, 87, 41876, 6284, 87, 11, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 2376, 62, 18439, 220, 41876, 4526, 37, 5390, 537, 62, 18439, 62, 31391, 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 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
*&---------------------------------------------------------------------* *& Report ZDEMO_EXCEL15 *& *&---------------------------------------------------------------------* *& 2010-10-30, Gregor Wolf: *& Added the functionality to ouput the read table content *& 2011-12-19, Shahrin Shahrulzaman: *& Added the functionality to have multiple input and output files *&---------------------------------------------------------------------* REPORT zdemo_excel15. TYPE-POOLS: abap. TYPES: BEGIN OF t_demo_excel15, input TYPE string, END OF t_demo_excel15. CONSTANTS: sheet_with_date_formats TYPE string VALUE '24_Sheets_with_different_default_date_formats.xlsx'. DATA: excel TYPE REF TO zcl_excel, lo_excel_writer TYPE REF TO zif_excel_writer, reader TYPE REF TO zif_excel_reader. DATA: ex TYPE REF TO zcx_excel, msg TYPE string. DATA: lv_file TYPE xstring, lv_bytecount TYPE i, lt_file_tab TYPE solix_tab. DATA: lv_workdir TYPE string, output_file_path TYPE string, input_file_path TYPE string, lv_file_separator TYPE c. DATA: worksheet TYPE REF TO zcl_excel_worksheet, highest_column TYPE zexcel_cell_column, highest_row TYPE int4, column TYPE zexcel_cell_column VALUE 1, col_str TYPE zexcel_cell_column_alpha, row TYPE int4 VALUE 1, value TYPE zexcel_cell_value, converted_date TYPE d. DATA: lt_files TYPE TABLE OF t_demo_excel15. FIELD-SYMBOLS: <wa_files> TYPE t_demo_excel15. PARAMETERS: p_path TYPE zexcel_export_dir, p_noout TYPE abap_bool DEFAULT abap_true. AT SELECTION-SCREEN ON VALUE-REQUEST FOR p_path. lv_workdir = p_path. cl_gui_frontend_services=>directory_browse( EXPORTING initial_folder = lv_workdir CHANGING selected_folder = lv_workdir ). p_path = lv_workdir. INITIALIZATION. cl_gui_frontend_services=>get_sapgui_workdir( CHANGING sapworkdir = lv_workdir ). cl_gui_cfw=>flush( ). p_path = lv_workdir. APPEND INITIAL LINE TO lt_files ASSIGNING <wa_files>. <wa_files>-input = '01_HelloWorld.xlsx'. APPEND INITIAL LINE TO lt_files ASSIGNING <wa_files>. <wa_files>-input = '02_Styles.xlsx'. APPEND INITIAL LINE TO lt_files ASSIGNING <wa_files>. <wa_files>-input = '03_iTab.xlsx'. APPEND INITIAL LINE TO lt_files ASSIGNING <wa_files>. <wa_files>-input = '04_Sheets.xlsx'. APPEND INITIAL LINE TO lt_files ASSIGNING <wa_files>. <wa_files>-input = '05_Conditional.xlsx'. APPEND INITIAL LINE TO lt_files ASSIGNING <wa_files>. <wa_files>-input = '07_ConditionalAll.xlsx'. APPEND INITIAL LINE TO lt_files ASSIGNING <wa_files>. <wa_files>-input = '08_Range.xlsx'. APPEND INITIAL LINE TO lt_files ASSIGNING <wa_files>. <wa_files>-input = '13_MergedCells.xlsx'. APPEND INITIAL LINE TO lt_files ASSIGNING <wa_files>. <wa_files>-input = sheet_with_date_formats. APPEND INITIAL LINE TO lt_files ASSIGNING <wa_files>. <wa_files>-input = '31_AutosizeWithDifferentFontSizes.xlsx'. START-OF-SELECTION. IF p_path IS INITIAL. p_path = lv_workdir. ENDIF. cl_gui_frontend_services=>get_file_separator( CHANGING file_separator = lv_file_separator ). LOOP AT lt_files ASSIGNING <wa_files>. CONCATENATE p_path lv_file_separator <wa_files>-input INTO input_file_path. CONCATENATE p_path lv_file_separator '15_' <wa_files>-input INTO output_file_path. REPLACE '.xlsx' IN output_file_path WITH 'FromReader.xlsx'. TRY. CREATE OBJECT reader TYPE zcl_excel_reader_2007. excel = reader->load_file( input_file_path ). IF p_noout EQ abap_false. worksheet = excel->get_active_worksheet( ). highest_column = worksheet->get_highest_column( ). highest_row = worksheet->get_highest_row( ). WRITE: / 'Filename ', <wa_files>-input. WRITE: / 'Highest column: ', highest_column, 'Highest row: ', highest_row. WRITE: /. WHILE row <= highest_row. WHILE column <= highest_column. col_str = zcl_excel_common=>convert_column2alpha( column ). worksheet->get_cell( EXPORTING ip_column = col_str ip_row = row IMPORTING ep_value = value ). WRITE: value. column = column + 1. ENDWHILE. WRITE: /. column = 1. row = row + 1. ENDWHILE. IF <wa_files>-input = sheet_with_date_formats. worksheet->get_cell( EXPORTING ip_column = 'A' ip_row = 4 IMPORTING ep_value = value ). WRITE: / 'Date value using get_cell: ', value. converted_date = zcl_excel_common=>excel_string_to_date( ip_value = value ). WRITE: / 'Converted date: ', converted_date. ENDIF. ENDIF. CREATE OBJECT lo_excel_writer TYPE zcl_excel_writer_2007. lv_file = lo_excel_writer->write_file( excel ). " Convert to binary CALL FUNCTION 'SCMS_XSTRING_TO_BINARY' EXPORTING buffer = lv_file IMPORTING output_length = lv_bytecount TABLES binary_tab = lt_file_tab. * " This method is only available on AS ABAP > 6.40 * lt_file_tab = cl_bcs_convert=>xstring_to_solix( iv_xstring = lv_file ). * lv_bytecount = xstrlen( lv_file ). " Save the file cl_gui_frontend_services=>gui_download( EXPORTING bin_filesize = lv_bytecount filename = output_file_path filetype = 'BIN' CHANGING data_tab = lt_file_tab ). CATCH zcx_excel INTO ex. " Exceptions for ABAP2XLSX msg = ex->get_text( ). WRITE: / msg. ENDTRY. ENDLOOP.
[ 9, 5, 10097, 30934, 9, 198, 9, 5, 6358, 220, 1168, 39429, 46, 62, 6369, 34, 3698, 1314, 198, 9, 5, 198, 9, 5, 10097, 30934, 9, 198, 9, 5, 3050, 12, 940, 12, 1270, 11, 8547, 273, 8662, 25, 198, 9, 5, 10687, 262, 11244, 284, 267, 929, 315, 262, 1100, 3084, 2695, 198, 9, 5, 2813, 12, 1065, 12, 1129, 11, 18381, 12769, 18381, 81, 37314, 10546, 25, 198, 9, 5, 10687, 262, 11244, 284, 423, 3294, 5128, 290, 5072, 3696, 198, 9, 5, 10097, 30934, 9, 198, 198, 2200, 15490, 1976, 9536, 78, 62, 1069, 5276, 1314, 13, 198, 198, 25216, 12, 16402, 3535, 50, 25, 450, 499, 13, 198, 198, 9936, 47, 1546, 25, 198, 220, 347, 43312, 3963, 256, 62, 9536, 78, 62, 1069, 5276, 1314, 11, 198, 220, 220, 220, 5128, 41876, 4731, 11, 198, 220, 23578, 3963, 256, 62, 9536, 78, 62, 1069, 5276, 1314, 13, 198, 198, 10943, 2257, 1565, 4694, 25, 9629, 62, 4480, 62, 4475, 62, 687, 1381, 41876, 4731, 26173, 8924, 705, 1731, 62, 3347, 1039, 62, 4480, 62, 39799, 62, 12286, 62, 4475, 62, 687, 1381, 13, 87, 7278, 87, 4458, 198, 198, 26947, 25, 27336, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 41876, 4526, 37, 5390, 1976, 565, 62, 1069, 5276, 11, 198, 220, 220, 220, 220, 220, 2376, 62, 1069, 5276, 62, 16002, 41876, 4526, 37, 5390, 1976, 361, 62, 1069, 5276, 62, 16002, 11, 198, 220, 220, 220, 220, 220, 9173, 220, 220, 220, 220, 220, 220, 220, 220, 220, 41876, 4526, 37, 5390, 1976, 361, 62, 1069, 5276, 62, 46862, 13, 198, 198, 26947, 25, 409, 220, 41876, 4526, 37, 5390, 1976, 66, 87, 62, 1069, 5276, 11, 198, 220, 220, 220, 220, 220, 31456, 41876, 4731, 13, 198, 198, 26947, 25, 300, 85, 62, 7753, 220, 220, 220, 220, 220, 41876, 2124, 8841, 11, 198, 220, 220, 220, 220, 220, 300, 85, 62, 26327, 9127, 41876, 1312, 11, 198, 220, 220, 220, 220, 220, 300, 83, 62, 7753, 62, 8658, 220, 41876, 1540, 844, 62, 8658, 13, 198, 198, 26947, 25, 300, 85, 62, 1818, 15908, 220, 220, 220, 220, 220, 220, 220, 41876, 4731, 11, 198, 220, 220, 220, 220, 220, 5072, 62, 7753, 62, 6978, 220, 41876, 4731, 11, 198, 220, 220, 220, 220, 220, 5128, 62, 7753, 62, 6978, 220, 220, 41876, 4731, 11, 198, 220, 220, 220, 220, 220, 300, 85, 62, 7753, 62, 25512, 1352, 41876, 269, 13, 198, 198, 26947, 25, 2499, 25473, 220, 220, 220, 220, 220, 41876, 4526, 37, 5390, 1976, 565, 62, 1069, 5276, 62, 5225, 25473, 11, 198, 220, 220, 220, 220, 220, 4511, 62, 28665, 41876, 1976, 1069, 5276, 62, 3846, 62, 28665, 11, 198, 220, 220, 220, 220, 220, 4511, 62, 808, 220, 220, 220, 41876, 493, 19, 11, 198, 220, 220, 220, 220, 220, 5721, 220, 220, 220, 220, 220, 220, 220, 220, 41876, 1976, 1069, 5276, 62, 3846, 62, 28665, 26173, 8924, 352, 11, 198, 220, 220, 220, 220, 220, 951, 62, 2536, 220, 220, 220, 220, 220, 220, 220, 41876, 1976, 1069, 5276, 62, 3846, 62, 28665, 62, 26591, 11, 198, 220, 220, 220, 220, 220, 5752, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 41876, 493, 19, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 26173, 8924, 352, 11, 198, 220, 220, 220, 220, 220, 1988, 220, 220, 220, 220, 220, 220, 220, 220, 220, 41876, 1976, 1069, 5276, 62, 3846, 62, 8367, 11, 198, 220, 220, 220, 220, 220, 11513, 62, 4475, 41876, 288, 13, 198, 198, 26947, 25, 198, 220, 220, 220, 220, 220, 300, 83, 62, 16624, 220, 220, 220, 220, 220, 220, 41876, 43679, 3963, 256, 62, 9536, 78, 62, 1069, 5276, 1314, 13, 198, 44603, 12, 23060, 10744, 3535, 50, 25, 1279, 10247, 62, 16624, 29, 41876, 256, 62, 9536, 78, 62, 1069, 5276, 1314, 13, 198, 198, 27082, 2390, 2767, 4877, 25, 279, 62, 6978, 220, 41876, 1976, 1069, 5276, 62, 39344, 62, 15908, 11, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 279, 62, 3919, 448, 41876, 450, 499, 62, 30388, 5550, 38865, 450, 499, 62, 7942, 13, 628, 198, 1404, 33493, 2849, 12, 6173, 2200, 1677, 6177, 26173, 8924, 12, 2200, 35780, 7473, 279, 62, 6978, 13, 198, 220, 300, 85, 62, 1818, 15908, 796, 279, 62, 6978, 13, 198, 220, 537, 62, 48317, 62, 8534, 437, 62, 30416, 14804, 34945, 62, 25367, 325, 7, 7788, 15490, 2751, 4238, 62, 43551, 220, 796, 300, 85, 62, 1818, 15908, 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, 5870, 15567, 2751, 220, 6163, 62, 43551, 796, 300, 85, 62, 1818, 15908, 6739, 198, 220, 279, 62, 6978, 796, 300, 85, 62, 1818, 15908, 13, 198, 198, 1268, 2043, 12576, 14887, 6234, 13, 198, 220, 537, 62, 48317, 62, 8534, 437, 62, 30416, 14804, 1136, 62, 82, 499, 48317, 62, 1818, 15908, 7, 5870, 15567, 2751, 31841, 1818, 15908, 796, 300, 85, 62, 1818, 15908, 6739, 198, 220, 537, 62, 48317, 62, 12993, 86, 14804, 25925, 7, 6739, 198, 220, 279, 62, 6978, 796, 300, 85, 62, 1818, 15908, 13, 628, 220, 43504, 10619, 3268, 2043, 12576, 48920, 5390, 300, 83, 62, 16624, 24994, 3528, 15871, 1279, 10247, 62, 16624, 28401, 198, 220, 1279, 10247, 62, 16624, 29, 12, 15414, 220, 796, 705, 486, 62, 15496, 10603, 13, 87, 7278, 87, 4458, 198, 220, 43504, 10619, 3268, 2043, 12576, 48920, 5390, 300, 83, 62, 16624, 24994, 3528, 15871, 1279, 10247, 62, 16624, 28401, 198, 220, 1279, 10247, 62, 16624, 29, 12, 15414, 220, 796, 705, 2999, 62, 18716, 829, 13, 87, 7278, 87, 4458, 198, 220, 43504, 10619, 3268, 2043, 12576, 48920, 5390, 300, 83, 62, 16624, 24994, 3528, 15871, 1279, 10247, 62, 16624, 28401, 198, 220, 1279, 10247, 62, 16624, 29, 12, 15414, 220, 796, 705, 3070, 62, 72, 33349, 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,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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, 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_SM_JOB_RUNTIME definition public final create private . public section. types: BEGIN OF ts_job_runtime_info, eventid TYPE tbtcm-eventid, eventparm TYPE tbtcm-eventparm, external_program_active TYPE tbtcm-xpgactive, jobcount TYPE tbtcm-jobcount, jobname TYPE tbtcm-jobname, stepcount TYPE tbtcm-stepcount, END OF ts_job_runtime_info . methods CONSTRUCTOR . methods IS_JOB_RUNNING returning value(RV_IS_RUNNING) type ABAP_BOOL . methods GET_RUNTIME_INFO returning value(RS_RUNTIME_INFO) type ZCL_SM_JOB_RUNTIME=>TS_JOB_RUNTIME_INFO . class-methods GET_INSTANCE returning value(RO_INSTANCE) type ref to ZCL_SM_JOB_RUNTIME . protected section. private section. data MS_RUNTIME_INFO type TS_JOB_RUNTIME_INFO . class-data GO_INSTANCE type ref to ZCL_SM_JOB_RUNTIME . ENDCLASS. CLASS ZCL_SM_JOB_RUNTIME IMPLEMENTATION. METHOD constructor. CALL FUNCTION 'GET_JOB_RUNTIME_INFO' IMPORTING eventid = ms_runtime_info-eventid eventparm = ms_runtime_info-eventparm external_program_active = ms_runtime_info-external_program_active jobcount = ms_runtime_info-jobcount jobname = ms_runtime_info-jobname stepcount = ms_runtime_info-stepcount EXCEPTIONS no_runtime_info = 1 OTHERS = 2. ENDMETHOD. METHOD get_instance. go_instance = ro_instance = COND #( WHEN go_instance IS BOUND THEN go_instance ELSE NEW zcl_sm_job_runtime( ) ). ENDMETHOD. METHOD get_runtime_info. rs_runtime_info = ms_runtime_info. ENDMETHOD. METHOD is_job_running. SELECT SINGLE jobname INTO @DATA(lv_jobname) FROM tbtco WHERE jobname = @ms_runtime_info-jobname AND jobcount <> @ms_runtime_info-jobcount AND status = 'R'. rv_is_running = xsdbool( sy-subrc = 0 ). ENDMETHOD. ENDCLASS.
[ 4871, 1168, 5097, 62, 12310, 62, 41, 9864, 62, 49, 4944, 34694, 6770, 198, 220, 1171, 198, 220, 2457, 198, 220, 2251, 2839, 764, 198, 198, 11377, 2665, 13, 628, 220, 3858, 25, 198, 220, 220, 220, 347, 43312, 3963, 40379, 62, 21858, 62, 43282, 62, 10951, 11, 198, 220, 220, 220, 220, 220, 220, 220, 1785, 312, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 41876, 220, 256, 18347, 11215, 12, 15596, 312, 11, 198, 220, 220, 220, 220, 220, 220, 220, 1785, 79, 1670, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 41876, 220, 256, 18347, 11215, 12, 15596, 79, 1670, 11, 198, 220, 220, 220, 220, 220, 220, 220, 7097, 62, 23065, 62, 5275, 41876, 220, 256, 18347, 11215, 12, 87, 6024, 5275, 11, 198, 220, 220, 220, 220, 220, 220, 220, 1693, 9127, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 41876, 220, 256, 18347, 11215, 12, 21858, 9127, 11, 198, 220, 220, 220, 220, 220, 220, 220, 1693, 3672, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 41876, 220, 256, 18347, 11215, 12, 21858, 3672, 11, 198, 220, 220, 220, 220, 220, 220, 220, 2239, 9127, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 41876, 220, 256, 18347, 11215, 12, 9662, 9127, 11, 198, 220, 220, 220, 220, 220, 23578, 3963, 40379, 62, 21858, 62, 43282, 62, 10951, 764, 628, 220, 5050, 7102, 46126, 1581, 764, 198, 220, 5050, 3180, 62, 41, 9864, 62, 49, 4944, 15871, 198, 220, 220, 220, 8024, 198, 220, 220, 220, 220, 220, 1988, 7, 49, 53, 62, 1797, 62, 49, 4944, 15871, 8, 2099, 9564, 2969, 62, 8202, 3535, 764, 198, 220, 5050, 17151, 62, 49, 4944, 34694, 62, 10778, 198, 220, 220, 220, 8024, 198, 220, 220, 220, 220, 220, 1988, 7, 6998, 62, 49, 4944, 34694, 62, 10778, 8, 2099, 1168, 5097, 62, 12310, 62, 41, 9864, 62, 49, 4944, 34694, 14804, 4694, 62, 41, 9864, 62, 49, 4944, 34694, 62, 10778, 764, 198, 220, 1398, 12, 24396, 82, 17151, 62, 38604, 19240, 198, 220, 220, 220, 8024, 198, 220, 220, 220, 220, 220, 1988, 7, 13252, 62, 38604, 19240, 8, 2099, 1006, 284, 1168, 5097, 62, 12310, 62, 41, 9864, 62, 49, 4944, 34694, 764, 198, 24326, 2665, 13, 198, 19734, 2665, 13, 628, 220, 1366, 6579, 62, 49, 4944, 34694, 62, 10778, 2099, 26136, 62, 41, 9864, 62, 49, 4944, 34694, 62, 10778, 764, 198, 220, 1398, 12, 7890, 10351, 62, 38604, 19240, 2099, 1006, 284, 1168, 5097, 62, 12310, 62, 41, 9864, 62, 49, 4944, 34694, 764, 198, 10619, 31631, 13, 628, 198, 198, 31631, 1168, 5097, 62, 12310, 62, 41, 9864, 62, 49, 4944, 34694, 30023, 2538, 10979, 6234, 13, 628, 198, 220, 337, 36252, 23772, 13, 198, 220, 220, 220, 42815, 29397, 4177, 2849, 705, 18851, 62, 41, 9864, 62, 49, 4944, 34694, 62, 10778, 6, 198, 220, 220, 220, 220, 220, 30023, 9863, 2751, 198, 220, 220, 220, 220, 220, 220, 220, 1785, 312, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 796, 13845, 62, 43282, 62, 10951, 12, 15596, 312, 198, 220, 220, 220, 220, 220, 220, 220, 1785, 79, 1670, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 796, 13845, 62, 43282, 62, 10951, 12, 15596, 79, 1670, 198, 220, 220, 220, 220, 220, 220, 220, 7097, 62, 23065, 62, 5275, 796, 13845, 62, 43282, 62, 10951, 12, 22615, 62, 23065, 62, 5275, 198, 220, 220, 220, 220, 220, 220, 220, 1693, 9127, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 796, 13845, 62, 43282, 62, 10951, 12, 21858, 9127, 198, 220, 220, 220, 220, 220, 220, 220, 1693, 3672, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 796, 13845, 62, 43282, 62, 10951, 12, 21858, 3672, 198, 220, 220, 220, 220, 220, 220, 220, 2239, 9127, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 796, 13845, 62, 43282, 62, 10951, 12, 9662, 9127, 198, 220, 220, 220, 220, 220, 7788, 42006, 11053, 198, 220, 220, 220, 220, 220, 220, 220, 645, 62, 43282, 62, 10951, 220, 220, 220, 220, 220, 220, 220, 220, 796, 352, 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, 220, 220, 796, 362, 13, 198, 220, 23578, 49273, 13, 628, 198, 220, 337, 36252, 651, 62, 39098, 13, 198, 220, 220, 220, 467, 62, 39098, 796, 686, 62, 39098, 796, 7102, 35, 1303, 7, 42099, 467, 62, 39098, 3180, 347, 15919, 42243, 467, 62, 39098, 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, 17852, 5188, 12682, 1976, 565, 62, 5796, 62, 21858, 62, 43282, 7, 1267, 6739, 198, 220, 23578, 49273, 13, 628, 198, 220, 337, 36252, 651, 62, 43282, 62, 10951, 13, 198, 220, 220, 220, 44608, 62, 43282, 62, 10951, 796, 13845, 62, 43282, 62, 10951, 13, 198, 220, 23578, 49273, 13, 628, 198, 220, 337, 36252, 318, 62, 21858, 62, 20270, 13, 198, 220, 220, 220, 33493, 311, 2751, 2538, 1693, 3672, 39319, 2488, 26947, 7, 6780, 62, 21858, 3672, 8, 198, 220, 220, 220, 220, 220, 16034, 256, 18347, 1073, 33411, 1693, 3672, 220, 796, 220, 220, 2488, 907, 62, 43282, 62, 10951, 12, 21858, 3672, 220, 5357, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 1693, 9127, 1279, 29, 220, 2488, 907, 62, 43282, 62, 10951, 12, 21858, 9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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 ]
CLASS zcl_abapgit_object_dtel DEFINITION PUBLIC INHERITING FROM zcl_abapgit_objects_super FINAL. PUBLIC SECTION. INTERFACES zif_abapgit_object. ALIASES mo_files FOR zif_abapgit_object~mo_files. PROTECTED SECTION. PRIVATE SECTION. TYPES: BEGIN OF ty_dd04_texts, ddlanguage TYPE dd04t-ddlanguage, ddtext TYPE dd04t-ddtext, reptext TYPE dd04t-reptext, scrtext_s TYPE dd04t-scrtext_s, scrtext_m TYPE dd04t-scrtext_m, scrtext_l TYPE dd04t-scrtext_l, END OF ty_dd04_texts, tt_dd04_texts TYPE STANDARD TABLE OF ty_dd04_texts. CONSTANTS: c_longtext_id_dtel TYPE dokil-id VALUE 'DE'. METHODS: serialize_texts IMPORTING io_xml TYPE REF TO zcl_abapgit_xml_output RAISING zcx_abapgit_exception, deserialize_texts IMPORTING io_xml TYPE REF TO zcl_abapgit_xml_input is_dd04v TYPE dd04v RAISING zcx_abapgit_exception. ENDCLASS. CLASS ZCL_ABAPGIT_OBJECT_DTEL IMPLEMENTATION. METHOD deserialize_texts. DATA: lv_name TYPE ddobjname, ls_dd04v_tmp TYPE dd04v, lt_i18n_langs TYPE TABLE OF langu, lt_dd04_texts TYPE tt_dd04_texts. FIELD-SYMBOLS: <lv_lang> LIKE LINE OF lt_i18n_langs, <ls_dd04_text> LIKE LINE OF lt_dd04_texts. lv_name = ms_item-obj_name. io_xml->read( EXPORTING iv_name = 'I18N_LANGS' CHANGING cg_data = lt_i18n_langs ). io_xml->read( EXPORTING iv_name = 'DD04_TEXTS' CHANGING cg_data = lt_dd04_texts ). SORT lt_i18n_langs. SORT lt_dd04_texts BY ddlanguage. " Optimization LOOP AT lt_i18n_langs ASSIGNING <lv_lang>. " Data element description ls_dd04v_tmp = is_dd04v. READ TABLE lt_dd04_texts ASSIGNING <ls_dd04_text> WITH KEY ddlanguage = <lv_lang>. IF sy-subrc > 0. zcx_abapgit_exception=>raise( |DD04_TEXTS cannot find lang { <lv_lang> } in XML| ). ENDIF. MOVE-CORRESPONDING <ls_dd04_text> TO ls_dd04v_tmp. CALL FUNCTION 'DDIF_DTEL_PUT' EXPORTING name = lv_name dd04v_wa = ls_dd04v_tmp EXCEPTIONS dtel_not_found = 1 name_inconsistent = 2 dtel_inconsistent = 3 put_failure = 4 put_refused = 5 OTHERS = 6. IF sy-subrc <> 0. zcx_abapgit_exception=>raise( |error from DDIF_DTEL_PUT @TEXTS, { sy-subrc }| ). ENDIF. ENDLOOP. ENDMETHOD. METHOD serialize_texts. DATA: lv_name TYPE ddobjname, lv_index TYPE i, ls_dd04v TYPE dd04v, lt_dd04_texts TYPE tt_dd04_texts, lt_i18n_langs TYPE TABLE OF langu. FIELD-SYMBOLS: <lv_lang> LIKE LINE OF lt_i18n_langs, <ls_dd04_text> LIKE LINE OF lt_dd04_texts. lv_name = ms_item-obj_name. " Collect additional languages, skip master lang - it was serialized already SELECT DISTINCT ddlanguage AS langu INTO TABLE lt_i18n_langs FROM dd04v WHERE rollname = lv_name AND ddlanguage <> mv_language. "#EC CI_SUBRC LOOP AT lt_i18n_langs ASSIGNING <lv_lang>. lv_index = sy-tabix. CALL FUNCTION 'DDIF_DTEL_GET' EXPORTING name = lv_name langu = <lv_lang> IMPORTING dd04v_wa = ls_dd04v EXCEPTIONS illegal_input = 1 OTHERS = 2. IF sy-subrc <> 0 OR ls_dd04v-ddlanguage IS INITIAL. DELETE lt_i18n_langs INDEX lv_index. " Don't save this lang CONTINUE. ENDIF. APPEND INITIAL LINE TO lt_dd04_texts ASSIGNING <ls_dd04_text>. MOVE-CORRESPONDING ls_dd04v TO <ls_dd04_text>. ENDLOOP. SORT lt_i18n_langs ASCENDING. SORT lt_dd04_texts BY ddlanguage ASCENDING. IF lines( lt_i18n_langs ) > 0. io_xml->add( iv_name = 'I18N_LANGS' ig_data = lt_i18n_langs ). io_xml->add( iv_name = 'DD04_TEXTS' ig_data = lt_dd04_texts ). ENDIF. ENDMETHOD. METHOD zif_abapgit_object~changed_by. SELECT SINGLE as4user FROM dd04l INTO rv_user WHERE rollname = ms_item-obj_name AND as4local = 'A' AND as4vers = '0000'. IF sy-subrc <> 0. rv_user = c_user_unknown. ENDIF. ENDMETHOD. METHOD zif_abapgit_object~delete. DATA: lv_objname TYPE rsedd0-ddobjname. lv_objname = ms_item-obj_name. CALL FUNCTION 'RS_DD_DELETE_OBJ' EXPORTING no_ask = abap_true objname = lv_objname objtype = 'E' EXCEPTIONS not_executed = 1 object_not_found = 2 object_not_specified = 3 permission_failure = 4. IF sy-subrc <> 0. zcx_abapgit_exception=>raise( 'error from RS_DD_DELETE_OBJ, DTEL,' && sy-subrc ). ENDIF. delete_longtexts( c_longtext_id_dtel ). ENDMETHOD. METHOD zif_abapgit_object~deserialize. DATA: ls_dd04v TYPE dd04v, lv_name TYPE ddobjname. io_xml->read( EXPORTING iv_name = 'DD04V' CHANGING cg_data = ls_dd04v ). corr_insert( iv_package = iv_package iv_object_class = 'DICT' ). lv_name = ms_item-obj_name. " type conversion CALL FUNCTION 'DDIF_DTEL_PUT' EXPORTING name = lv_name dd04v_wa = ls_dd04v EXCEPTIONS dtel_not_found = 1 name_inconsistent = 2 dtel_inconsistent = 3 put_failure = 4 put_refused = 5 OTHERS = 6. IF sy-subrc <> 0. zcx_abapgit_exception=>raise( |error from DDIF_DTEL_PUT, { sy-subrc }| ). ENDIF. deserialize_texts( io_xml = io_xml is_dd04v = ls_dd04v ). deserialize_longtexts( io_xml ). zcl_abapgit_objects_activation=>add_item( ms_item ). ENDMETHOD. METHOD zif_abapgit_object~exists. DATA: lv_rollname TYPE dd04l-rollname. SELECT SINGLE rollname FROM dd04l INTO lv_rollname WHERE rollname = ms_item-obj_name AND as4local = 'A' AND as4vers = '0000'. rv_bool = boolc( sy-subrc = 0 ). ENDMETHOD. METHOD zif_abapgit_object~get_comparator. RETURN. ENDMETHOD. METHOD zif_abapgit_object~get_deserialize_steps. DATA: ls_meta TYPE zif_abapgit_definitions=>ty_metadata. ls_meta = zif_abapgit_object~get_metadata( ). IF ls_meta-late_deser = abap_true. APPEND zif_abapgit_object=>gc_step_id-late TO rt_steps. ELSEIF ls_meta-ddic = abap_true. APPEND zif_abapgit_object=>gc_step_id-ddic TO rt_steps. ELSE. APPEND zif_abapgit_object=>gc_step_id-abap TO rt_steps. ENDIF. ENDMETHOD. METHOD zif_abapgit_object~get_metadata. rs_metadata = get_metadata( ). rs_metadata-ddic = abap_true. ENDMETHOD. METHOD zif_abapgit_object~is_active. rv_active = is_active( ). ENDMETHOD. METHOD zif_abapgit_object~is_locked. rv_is_locked = exists_a_lock_entry_for( iv_lock_object = 'ESDICT' iv_argument = |{ ms_item-obj_type }{ ms_item-obj_name }| ). ENDMETHOD. METHOD zif_abapgit_object~jump. jump_se11( iv_radio = 'RSRD1-DDTYPE' iv_field = 'RSRD1-DDTYPE_VAL' ). ENDMETHOD. METHOD zif_abapgit_object~serialize. * fm DDIF_DTEL_GET bypasses buffer, so SELECTs are * done directly from here DATA: lv_name TYPE ddobjname, ls_dd04v TYPE dd04v. lv_name = ms_item-obj_name. SELECT SINGLE * FROM dd04l INTO CORRESPONDING FIELDS OF ls_dd04v WHERE rollname = lv_name AND as4local = 'A' AND as4vers = '0000'. IF sy-subrc <> 0 OR ls_dd04v IS INITIAL. zcx_abapgit_exception=>raise( 'Not found in DD04L' ) ##NO_TEXT. ENDIF. SELECT SINGLE * FROM dd04t INTO CORRESPONDING FIELDS OF ls_dd04v WHERE rollname = lv_name AND ddlanguage = mv_language AND as4local = 'A' AND as4vers = '0000'. CLEAR: ls_dd04v-as4user, ls_dd04v-as4date, ls_dd04v-as4time. IF ls_dd04v-refkind = 'D'. * clear values inherited from domain CLEAR: ls_dd04v-datatype, ls_dd04v-leng, ls_dd04v-decimals, ls_dd04v-outputlen, ls_dd04v-valexi, ls_dd04v-lowercase, ls_dd04v-signflag, ls_dd04v-convexit, ls_dd04v-entitytab. ENDIF. IF ls_dd04v-routputlen = ''. * numeric field, make sure it is initial or XML serilization will dump CLEAR ls_dd04v-routputlen. ENDIF. IF ls_dd04v-authclass = ''. CLEAR ls_dd04v-authclass. ENDIF. io_xml->add( iv_name = 'DD04V' ig_data = ls_dd04v ). serialize_texts( io_xml ). serialize_longtexts( io_xml = io_xml iv_longtext_id = c_longtext_id_dtel ). ENDMETHOD. ENDCLASS.
[ 31631, 1976, 565, 62, 397, 499, 18300, 62, 15252, 62, 28664, 417, 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, 628, 220, 48006, 9782, 1961, 44513, 13, 198, 220, 4810, 3824, 6158, 44513, 13, 628, 220, 220, 220, 24412, 47, 1546, 25, 347, 43312, 3963, 1259, 62, 1860, 3023, 62, 5239, 82, 11, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 49427, 16129, 41876, 49427, 3023, 83, 12, 1860, 16129, 11, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 49427, 5239, 220, 220, 220, 220, 41876, 49427, 3023, 83, 12, 1860, 5239, 11, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 28761, 2302, 220, 220, 220, 41876, 49427, 3023, 83, 12, 260, 457, 2302, 11, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 6040, 5239, 62, 82, 220, 41876, 49427, 3023, 83, 12, 1416, 81, 5239, 62, 82, 11, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 6040, 5239, 62, 76, 220, 41876, 49427, 3023, 83, 12, 1416, 81, 5239, 62, 76, 11, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 6040, 5239, 62, 75, 220, 41876, 49427, 3023, 83, 12, 1416, 81, 5239, 62, 75, 11, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 23578, 3963, 1259, 62, 1860, 3023, 62, 5239, 82, 11, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 256, 83, 62, 1860, 3023, 62, 5239, 82, 41876, 49053, 9795, 43679, 3963, 1259, 62, 1860, 3023, 62, 5239, 82, 13, 198, 220, 220, 220, 7102, 2257, 1565, 4694, 25, 269, 62, 6511, 5239, 62, 312, 62, 28664, 417, 41876, 466, 34553, 12, 312, 26173, 8924, 705, 7206, 4458, 628, 220, 220, 220, 337, 36252, 50, 25, 198, 220, 220, 220, 220, 220, 11389, 1096, 62, 5239, 82, 198, 220, 220, 220, 220, 220, 220, 220, 30023, 9863, 2751, 33245, 62, 19875, 41876, 4526, 37, 5390, 1976, 565, 62, 397, 499, 18300, 62, 19875, 62, 22915, 198, 220, 220, 220, 220, 220, 220, 220, 17926, 1797, 2751, 220, 220, 1976, 66, 87, 62, 397, 499, 18300, 62, 1069, 4516, 11, 198, 220, 220, 220, 220, 220, 748, 48499, 1096, 62, 5239, 82, 198, 220, 220, 220, 220, 220, 220, 220, 30023, 9863, 2751, 33245, 62, 19875, 220, 220, 41876, 4526, 37, 5390, 1976, 565, 62, 397, 499, 18300, 62, 19875, 62, 15414, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 318, 62, 1860, 3023, 85, 41876, 49427, 3023, 85, 198, 220, 220, 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, 24544, 3698, 30023, 2538, 10979, 6234, 13, 628, 198, 220, 337, 36252, 748, 48499, 1096, 62, 5239, 82, 13, 628, 220, 220, 220, 42865, 25, 300, 85, 62, 3672, 220, 220, 220, 220, 220, 220, 41876, 49427, 26801, 3672, 11, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 43979, 62, 1860, 3023, 85, 62, 22065, 220, 41876, 49427, 3023, 85, 11, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 300, 83, 62, 72, 1507, 77, 62, 17204, 82, 41876, 43679, 3963, 2786, 11, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 300, 83, 62, 1860, 3023, 62, 5239, 82, 41876, 256, 83, 62, 1860, 3023, 62, 5239, 82, 13, 628, 220, 220, 220, 18930, 24639, 12, 23060, 10744, 3535, 50, 25, 1279, 6780, 62, 17204, 29, 220, 220, 220, 220, 220, 34178, 48920, 3963, 300, 83, 62, 72, 1507, 77, 62, 17204, 82, 11, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 1279, 7278, 62, 1860, 3023, 62, 5239, 29, 34178, 48920, 3963, 300, 83, 62, 1860, 3023, 62, 5239, 82, 13, 628, 198, 220, 220, 220, 300, 85, 62, 3672, 796, 13845, 62, 9186, 12, 26801, 62, 3672, 13, 628, 220, 220, 220, 33245, 62, 19875, 3784, 961, 7, 7788, 15490, 2751, 21628, 62, 3672, 796, 705, 40, 1507, 45, 62, 25697, 14313, 6, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 5870, 15567, 2751, 220, 269, 70, 62, 7890, 796, 300, 83, 62, 72, 1507, 77, 62, 17204, 82, 6739, 628, 220, 220, 220, 33245, 62, 19875, 3784, 961, 7, 7788, 15490, 2751, 21628, 62, 3672, 796, 705, 16458, 3023, 62, 51, 6369, 4694, 6, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 5870, 15567, 2751, 220, 269, 70, 62, 7890, 796, 300, 83, 62, 1860, 3023, 62, 5239, 82, 6739, 628, 220, 220, 220, 311, 9863, 300, 83, 62, 72, 1507, 77, 62, 17204, 82, 13, 198, 220, 220, 220, 311, 9863, 300, 83, 62, 1860, 3023, 62, 5239, 82, 11050, 49427, 16129, 13, 366, 30011, 1634, 628, 220, 220, 220, 17579, 3185, 5161, 300, 83, 62, 72, 1507, 77, 62, 17204, 82, 24994, 3528, 15871, 1279, 6780, 62, 17204, 28401, 628, 220, 220, 220, 220, 220, 366, 6060, 5002, 6764, 198, 220, 220, 220, 220, 220, 43979, 62, 1860, 3023, 85, 62, 22065, 796, 318, 62, 1860, 3023, 85, 13, 198, 220, 220, 220, 220, 220, 20832, 43679, 300, 83, 62, 1860, 3023, 62, 5239, 82, 24994, 3528, 15871, 1279, 7278, 62, 1860, 3023, 62, 5239, 29, 13315, 35374, 49427, 16129, 796, 1279, 6780, 62, 17204, 28401, 198, 220, 220, 220, 220, 220, 16876, 827, 12, 7266, 6015, 1875, 657, 13, 198, 220, 220, 220, 220, 220, 220, 220, 1976, 66, 87 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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 ]
FORM calculate_tax_amount USING ip_bukrs ip_belnr ip_gjahr ip_buzei ip_dmbtr ip_waers CHANGING cp_mwskz cp_percent cp_amount. DATA lt_mwdat TYPE TABLE OF rtax1u15. CLEAR: cp_mwskz, cp_percent, cp_amount. SELECT SINGLE mwskz FROM rseg INTO @cp_mwskz "#EC CI_SEL_NESTED WHERE belnr = @ip_belnr AND gjahr = @ip_gjahr AND buzei = @ip_buzei. CALL FUNCTION 'CALCULATE_TAX_FROM_GROSSAMOUNT' EXPORTING i_bukrs = ip_bukrs i_mwskz = cp_mwskz i_waers = ip_waers i_wrbtr = ip_dmbtr TABLES t_mwdat = lt_mwdat EXCEPTIONS bukrs_not_found = 1 country_not_found = 2 mwskz_not_defined = 3 mwskz_not_valid = 4 account_not_found = 5 different_discount_base = 6 different_tax_base = 7 txjcd_not_valid = 8 not_found = 9 ktosl_not_found = 10 kalsm_not_found = 11 parameter_error = 12 knumh_not_found = 13 kschl_not_found = 14 unknown_error = 15 OTHERS = 16. READ TABLE lt_mwdat ASSIGNING FIELD-SYMBOL(<ls_mwdat>) INDEX 1. IF sy-subrc = 0. cp_amount = <ls_mwdat>-wmwst. WRITE <ls_mwdat>-msatz TO cp_percent DECIMALS 0. CONDENSE cp_percent. ENDIF. ENDFORM. FORM calc_tax_from_net USING ip_bukrs ip_mwskz ip_waers ip_wrbtr CHANGING cp_percent cp_amount. DATA lt_mwdat TYPE TABLE OF rtax1u15. CALL FUNCTION 'CALCULATE_TAX_FROM_NET_AMOUNT' EXPORTING i_bukrs = ip_bukrs i_mwskz = ip_mwskz i_waers = ip_waers i_wrbtr = ip_wrbtr TABLES t_mwdat = lt_mwdat EXCEPTIONS bukrs_not_found = 1 country_not_found = 2 mwskz_not_defined = 3 mwskz_not_valid = 4 ktosl_not_found = 5 kalsm_not_found = 6 parameter_error = 7 knumh_not_found = 8 kschl_not_found = 9 unknown_error = 10 account_not_found = 11 txjcd_not_valid = 12 OTHERS = 13. READ TABLE lt_mwdat ASSIGNING FIELD-SYMBOL(<ls_mwdat>) INDEX 1. IF sy-subrc = 0. WRITE <ls_mwdat>-msatz TO cp_percent DECIMALS 0. CONDENSE cp_percent. cp_amount = <ls_mwdat>-wmwst. ENDIF. ENDFORM.
[ 21389, 15284, 62, 19290, 62, 17287, 220, 1294, 2751, 220, 220, 220, 20966, 62, 65, 2724, 3808, 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, 20966, 62, 6667, 48624, 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, 20966, 62, 70, 31558, 81, 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, 20966, 62, 11110, 2736, 72, 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, 20966, 62, 67, 2022, 2213, 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, 20966, 62, 10247, 364, 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, 5870, 15567, 2751, 31396, 62, 76, 86, 8135, 89, 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, 31396, 62, 25067, 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, 31396, 62, 17287, 13, 628, 220, 42865, 300, 83, 62, 76, 16993, 265, 41876, 43679, 3963, 374, 19290, 16, 84, 1314, 13, 628, 220, 30301, 1503, 25, 31396, 62, 76, 86, 8135, 89, 11, 31396, 62, 25067, 11, 31396, 62, 17287, 13, 628, 220, 33493, 311, 2751, 2538, 285, 86, 8135, 89, 16034, 374, 325, 70, 39319, 2488, 13155, 62, 76, 86, 8135, 89, 220, 220, 220, 220, 220, 220, 25113, 2943, 14514, 62, 50, 3698, 62, 45, 6465, 1961, 198, 220, 220, 220, 33411, 894, 48624, 796, 2488, 541, 62, 6667, 48624, 198, 220, 220, 220, 220, 220, 5357, 308, 31558, 81, 796, 2488, 541, 62, 70, 31558, 81, 198, 220, 220, 220, 220, 220, 5357, 809, 2736, 72, 796, 2488, 541, 62, 11110, 2736, 72, 13, 628, 220, 42815, 29397, 4177, 2849, 705, 34, 1847, 34, 6239, 6158, 62, 5603, 55, 62, 10913, 2662, 62, 10761, 18420, 2390, 28270, 6, 198, 220, 220, 220, 7788, 15490, 2751, 198, 220, 220, 220, 220, 220, 1312, 62, 65, 2724, 3808, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 796, 20966, 62, 65, 2724, 3808, 198, 220, 220, 220, 220, 220, 1312, 62, 76, 86, 8135, 89, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 796, 31396, 62, 76, 86, 8135, 89, 198, 220, 220, 220, 220, 220, 1312, 62, 10247, 364, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 796, 20966, 62, 10247, 364, 198, 220, 220, 220, 220, 220, 1312, 62, 18351, 65, 2213, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 796, 20966, 62, 67, 2022, 2213, 198, 220, 220, 220, 309, 6242, 28378, 198, 220, 220, 220, 220, 220, 256, 62, 76, 16993, 265, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 796, 300, 83, 62, 76, 16993, 265, 198, 220, 220, 220, 7788, 42006, 11053, 198, 220, 220, 220, 220, 220, 809, 74, 3808, 62, 1662, 62, 9275, 220, 220, 220, 220, 220, 220, 220, 220, 796, 352, 198, 220, 220, 220, 220, 220, 1499, 62, 1662, 62, 9275, 220, 220, 220, 220, 220, 220, 796, 362, 198, 220, 220, 220, 220, 220, 285, 86, 8135, 89, 62, 1662, 62, 23211, 220, 220, 220, 220, 220, 220, 796, 513, 198, 220, 220, 220, 220, 220, 285, 86, 8135, 89, 62, 1662, 62, 12102, 220, 220, 220, 220, 220, 220, 220, 220, 796, 604, 198, 220, 220, 220, 220, 220, 1848, 62, 1662, 62, 9275, 220, 220, 220, 220, 220, 220, 796, 642, 198, 220, 220, 220, 220, 220, 1180, 62, 15410, 608, 62, 8692, 796, 718, 198, 220, 220, 220, 220, 220, 1180, 62, 19290, 62, 8692, 220, 220, 220, 220, 220, 796, 767, 198, 220, 220, 220, 220, 220, 27765, 73, 10210, 62, 1662, 62, 12102, 220, 220, 220, 220, 220, 220, 220, 220, 796, 807, 198, 220, 220, 220, 220, 220, 407, 62, 9275, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 796, 860, 198, 220, 220, 220, 220, 220, 479, 83, 418, 75, 62, 1662, 62, 9275, 220, 220, 220, 220, 220, 220, 220, 220, 796, 838, 198, 220, 220, 220, 220, 220, 479, 874, 76, 62, 1662, 62, 9275, 220, 220, 220, 220, 220, 220, 220, 220, 796, 1367, 198, 220, 220, 220, 220, 220, 11507, 62, 18224, 220, 220, 220, 220, 220, 220, 220, 220, 796, 1105, 198, 220, 220, 220, 220, 220, 638, 388, 71, 62, 1662, 62, 9275, 220, 220, 220, 220, 220, 220, 220, 220, 796, 1511, 198, 220, 220, 220, 220, 220, 479, 20601, 75, 62, 1662, 62, 9275, 220, 220, 220, 220, 220, 220, 220, 220, 796, 1478, 198, 220, 220, 220, 220, 220, 6439, 62, 18224, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 796, 1315, 198, 220, 220, 220, 220, 220, 440, 4221, 4877, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 796, 1467, 13, 628, 220, 20832, 43679, 300 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
INTERFACE zif_abapgit_ci_view PUBLIC. METHODS: display CHANGING !cs_result TYPE zif_abapgit_ci_definitions=>ty_result RAISING zcx_abapgit_exception. ENDINTERFACE.
[ 41358, 49836, 1976, 361, 62, 397, 499, 18300, 62, 979, 62, 1177, 198, 220, 44731, 13, 628, 220, 337, 36252, 50, 25, 198, 220, 220, 220, 3359, 198, 220, 220, 220, 220, 220, 5870, 15567, 2751, 198, 220, 220, 220, 220, 220, 220, 220, 5145, 6359, 62, 20274, 41876, 1976, 361, 62, 397, 499, 18300, 62, 979, 62, 4299, 50101, 14804, 774, 62, 20274, 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, 198, 10619, 41358, 49836, 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 ]
CLASS zcl_abapgit_gui_html_processor DEFINITION PUBLIC FINAL CREATE PUBLIC . PUBLIC SECTION. CONSTANTS c_css_build_name TYPE string VALUE 'css/bundle.css'. CONSTANTS c_preprocess_marker TYPE string VALUE `<!-- abapgit HTML preprocessor -->`. CONSTANTS c_comment_start TYPE string VALUE `<!--`. CONSTANTS c_comment_end TYPE string VALUE `-->`. INTERFACES zif_abapgit_gui_html_processor . METHODS constructor IMPORTING ii_asset_man TYPE REF TO zif_abapgit_gui_asset_manager. METHODS preserve_css IMPORTING !iv_css_url TYPE string . PROTECTED SECTION. PRIVATE SECTION. DATA mt_preserve_css TYPE string_table. DATA mi_asset_man TYPE REF TO zif_abapgit_gui_asset_manager. METHODS patch_html IMPORTING iv_html TYPE string EXPORTING ev_html TYPE string et_css_urls TYPE string_table RAISING zcx_abapgit_exception. METHODS is_preserved IMPORTING !iv_css_url TYPE string RETURNING VALUE(rv_yes) TYPE abap_bool. METHODS find_head_offset IMPORTING iv_html TYPE string RETURNING VALUE(rv_head_end) TYPE i RAISING zcx_abapgit_exception. ENDCLASS. CLASS ZCL_ABAPGIT_GUI_HTML_PROCESSOR IMPLEMENTATION. METHOD constructor. mi_asset_man = ii_asset_man. ENDMETHOD. METHOD is_preserved. READ TABLE mt_preserve_css TRANSPORTING NO FIELDS WITH KEY table_line = iv_css_url. rv_yes = boolc( sy-subrc = 0 ). ENDMETHOD. METHOD patch_html. CONSTANTS lc_css_re TYPE string VALUE `<link\s+rel="stylesheet"\s+type="text/css"\s+href="(\S+)">`. DATA lv_head_end TYPE i. DATA lo_css_re TYPE REF TO cl_abap_regex. DATA lo_matcher TYPE REF TO cl_abap_matcher. DATA lv_css_path TYPE string. DATA lv_marker TYPE string. DATA lv_off TYPE i. DATA lv_len TYPE i. DATA lv_cur TYPE i. DATA lv_css_build TYPE string VALUE '<link rel="stylesheet" type="text/css" href="$BUILD_NAME">'. REPLACE FIRST OCCURRENCE OF '$BUILD_NAME' IN lv_css_build WITH c_css_build_name. " Mmmm CLEAR: ev_html, et_css_urls. lv_head_end = find_head_offset( iv_html ). CREATE OBJECT lo_css_re EXPORTING ignore_case = abap_true pattern = lc_css_re. lo_matcher = lo_css_re->create_matcher( text = substring( val = iv_html len = lv_head_end ) ). WHILE lo_matcher->find_next( ) = abap_true. lv_css_path = lo_matcher->get_submatch( 1 ). IF abap_false = is_preserved( lv_css_path ). lv_off = lo_matcher->get_offset( ). lv_len = lo_matcher->get_length( ). ev_html = ev_html && substring( val = iv_html off = lv_cur len = lv_off - lv_cur ). ev_html = ev_html && c_comment_start && substring( val = iv_html off = lv_off len = lv_len ) && c_comment_end. lv_cur = lv_off + lv_len. APPEND lv_css_path TO et_css_urls. ENDIF. ENDWHILE. ev_html = ev_html && substring( val = iv_html off = lv_cur len = lv_head_end - lv_cur ). IF lines( et_css_urls ) > 0. lv_marker = cl_abap_char_utilities=>newline && ` ` " Assume 4 space indent, maybe improve and detect ? && c_preprocess_marker && cl_abap_char_utilities=>newline && ` `. ev_html = ev_html && lv_marker && lv_css_build. ENDIF. ev_html = ev_html && substring( val = iv_html off = lv_head_end ). ENDMETHOD. METHOD preserve_css. APPEND iv_css_url TO mt_preserve_css. ENDMETHOD. METHOD zif_abapgit_gui_html_processor~process. DATA lo_css_processor TYPE REF TO zcl_abapgit_gui_css_processor. DATA lt_css_urls TYPE string_table. DATA lv_css_build TYPE string. FIELD-SYMBOLS <lv_url> LIKE LINE OF lt_css_urls. patch_html( EXPORTING iv_html = iv_html IMPORTING ev_html = rv_html et_css_urls = lt_css_urls ). IF lines( lt_css_urls ) > 0. CREATE OBJECT lo_css_processor EXPORTING ii_asset_manager = mi_asset_man. LOOP AT lt_css_urls ASSIGNING <lv_url>. lo_css_processor->add_file( <lv_url> ). ENDLOOP. lv_css_build = lo_css_processor->process( ). ii_gui_services->cache_asset( iv_url = |{ c_css_build_name }| iv_type = 'text' iv_subtype = 'css' iv_text = lv_css_build ). ENDIF. ENDMETHOD. METHOD find_head_offset. rv_head_end = find( val = iv_html regex = |{ cl_abap_char_utilities=>newline }?\\s*</head>| case = abap_false ). IF rv_head_end <= 0. rv_head_end = find( val = iv_html regex = |</head>| case = abap_false ). IF rv_head_end <= 0. zcx_abapgit_exception=>raise( 'HTML preprocessor: </head> not found' ). ENDIF. ENDIF. ENDMETHOD. ENDCLASS.
[ 31631, 1976, 565, 62, 397, 499, 18300, 62, 48317, 62, 6494, 62, 41341, 5550, 20032, 17941, 198, 220, 44731, 198, 220, 25261, 198, 220, 29244, 6158, 44731, 764, 628, 220, 44731, 44513, 13, 628, 220, 220, 220, 7102, 2257, 1565, 4694, 269, 62, 25471, 62, 11249, 62, 3672, 41876, 4731, 26173, 8924, 705, 25471, 14, 65, 31249, 13, 25471, 4458, 198, 220, 220, 220, 7102, 2257, 1565, 4694, 269, 62, 3866, 14681, 62, 4102, 263, 41876, 4731, 26173, 8924, 4600, 27, 28112, 450, 499, 18300, 11532, 662, 41341, 14610, 44646, 198, 220, 220, 220, 7102, 2257, 1565, 4694, 269, 62, 23893, 62, 9688, 41876, 4731, 26173, 8924, 4600, 27, 28112, 44646, 198, 220, 220, 220, 7102, 2257, 1565, 4694, 269, 62, 23893, 62, 437, 41876, 4731, 26173, 8924, 4600, 46904, 44646, 628, 220, 220, 220, 23255, 37, 2246, 1546, 1976, 361, 62, 397, 499, 18300, 62, 48317, 62, 6494, 62, 41341, 764, 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, 21065, 62, 562, 316, 62, 805, 41876, 4526, 37, 5390, 1976, 361, 62, 397, 499, 18300, 62, 48317, 62, 562, 316, 62, 37153, 13, 628, 220, 220, 220, 337, 36252, 50, 12201, 62, 25471, 198, 220, 220, 220, 220, 220, 30023, 9863, 2751, 198, 220, 220, 220, 220, 220, 220, 220, 5145, 452, 62, 25471, 62, 6371, 41876, 4731, 764, 628, 220, 48006, 9782, 1961, 44513, 13, 198, 220, 4810, 3824, 6158, 44513, 13, 198, 220, 220, 220, 42865, 45079, 62, 18302, 3760, 62, 25471, 41876, 4731, 62, 11487, 13, 198, 220, 220, 220, 42865, 21504, 62, 562, 316, 62, 805, 41876, 4526, 37, 5390, 1976, 361, 62, 397, 499, 18300, 62, 48317, 62, 562, 316, 62, 37153, 13, 628, 220, 220, 220, 337, 36252, 50, 8529, 62, 6494, 198, 220, 220, 220, 220, 220, 30023, 9863, 2751, 198, 220, 220, 220, 220, 220, 220, 220, 21628, 62, 6494, 41876, 4731, 198, 220, 220, 220, 220, 220, 7788, 15490, 2751, 198, 220, 220, 220, 220, 220, 220, 220, 819, 62, 6494, 41876, 4731, 198, 220, 220, 220, 220, 220, 220, 220, 2123, 62, 25471, 62, 6371, 82, 41876, 4731, 62, 11487, 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, 628, 220, 220, 220, 337, 36252, 50, 318, 62, 18302, 8520, 198, 220, 220, 220, 220, 220, 30023, 9863, 2751, 198, 220, 220, 220, 220, 220, 220, 220, 5145, 452, 62, 25471, 62, 6371, 41876, 4731, 198, 220, 220, 220, 220, 220, 30826, 4261, 15871, 198, 220, 220, 220, 220, 220, 220, 220, 26173, 8924, 7, 81, 85, 62, 8505, 8, 41876, 450, 499, 62, 30388, 13, 628, 220, 220, 220, 337, 36252, 50, 1064, 62, 2256, 62, 28968, 198, 220, 220, 220, 220, 220, 30023, 9863, 2751, 198, 220, 220, 220, 220, 220, 220, 220, 21628, 62, 6494, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 41876, 4731, 198, 220, 220, 220, 220, 220, 30826, 4261, 15871, 198, 220, 220, 220, 220, 220, 220, 220, 26173, 8924, 7, 81, 85, 62, 2256, 62, 437, 8, 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, 198, 10619, 31631, 13, 628, 198, 198, 31631, 1168, 5097, 62, 6242, 2969, 38, 2043, 62, 40156, 62, 28656, 62, 4805, 4503, 7597, 1581, 30023, 2538, 10979, 6234, 13, 628, 198, 220, 337, 36252, 23772, 13, 198, 220, 220, 220, 21504, 62, 562, 316, 62, 805, 796, 21065, 62, 562, 316, 62, 805, 13, 198, 220, 23578, 49273, 13, 628, 198, 220, 337, 36252, 318, 62, 18302, 8520, 13, 198, 220, 220, 220, 20832, 43679, 45079, 62, 18302, 3760, 62, 25471, 48213, 4303, 9863, 2751, 8005, 18930, 3698, 5258, 13315, 35374, 3084, 62, 1370, 796, 21628, 62, 25471, 62, 6371, 13, 198, 220, 220, 220, 374, 85, 62, 8505, 796, 20512, 66, 7, 827, 12, 7266, 6015, 796, 657, 6739, 198, 220, 23578, 49273, 13, 628, 198, 220, 337, 36252, 8529, 62, 6494, 13, 628, 220, 220, 220, 7102, 2257, 1565, 4694, 300, 66, 62, 25471, 62, 260, 41876, 4731, 26173, 8924, 4600, 27, 8726, 59, 82, 10, 2411, 2625, 47720, 25473, 1, 59, 82, 10, 4906, 2625, 5239, 14, 25471, 1, 59, 82, 10, 33257, 2625, 38016, 50, 28988, 5320, 44646, 628, 220, 220, 220, 42865, 300, 85, 62, 2256, 62, 437, 41876, 1312, 13, 198, 220, 220, 220, 42865, 2376, 62, 25471, 62, 260, 220, 220, 41876, 4526, 37, 5390, 537, 62, 397, 499, 62, 260, 25636, 13, 198, 220, 220, 220, 42865, 2376, 62, 6759, 2044, 220, 41876, 4526, 37, 5390, 537, 62, 397, 499, 62, 6759, 2044, 13, 198, 220, 220, 220, 42865, 300, 85, 62, 25471, 62, 6978, 41876, 4731, 13, 198, 220, 220, 220, 42865, 300, 85, 62, 4102, 263, 220, 220, 41876, 4731, 13, 628, 220, 220, 220, 42865, 300, 85, 62, 2364, 41876, 1312, 13, 198, 220, 220, 220, 42865, 300, 85, 62, 11925, 41876, 1312, 13, 198, 220, 220, 220, 42865, 300, 85, 62, 22019, 41876, 1312, 13, 628, 220, 220, 220, 42865, 300, 85, 62, 25471, 62, 11249, 41876, 4731, 26173, 8924, 705, 27, 8726, 823, 2625, 47720, 25473, 1, 2099, 2625, 5239, 14, 25471, 1, 13291, 2625, 3, 19499, 26761, 62, 20608, 5320, 4458, 198, 220, 220, 220, 45285, 11598, 31328, 440, 4093, 31302, 18310, 3963, 705, 3, 19499, 26761, 62, 20608, 6, 3268, 300, 85, 62, 25471, 62, 11249, 13315, 269, 62, 25471, 62, 11249, 62, 3672, 13, 366, 337, 27532, 628, 220, 220, 220, 30301, 1503, 25, 819, 62, 6494, 11, 2123, 62, 25471, 62, 6371, 82, 13, 628, 220, 220, 220, 300, 85, 62, 2256, 62, 437, 796, 1064, 62, 2256, 62, 28968, 7, 21628, 62, 6494, 6739, 628, 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, 1, 1, 1, 1, 1, 1, 1, 1 ]
CLASS zbp_i_maf_finance DEFINITION PUBLIC FINAL CREATE PUBLIC FOR BEHAVIOR OF zi_maf_doc. ##todo. " local types tamamla " zi_maf_doc devam edebilir PUBLIC SECTION. PROTECTED SECTION. PRIVATE SECTION. ENDCLASS. CLASS zbp_i_maf_finance IMPLEMENTATION. ENDCLASS.
[ 31631, 1976, 46583, 62, 72, 62, 76, 1878, 62, 69, 14149, 5550, 20032, 17941, 198, 220, 44731, 198, 220, 25261, 198, 220, 29244, 6158, 44731, 198, 220, 7473, 9348, 7801, 12861, 1581, 3963, 1976, 72, 62, 76, 1878, 62, 15390, 13, 628, 220, 22492, 83, 24313, 13, 198, 220, 366, 1957, 3858, 21885, 321, 5031, 198, 220, 366, 1976, 72, 62, 76, 1878, 62, 15390, 1614, 321, 1225, 1765, 346, 343, 628, 220, 44731, 44513, 13, 198, 220, 48006, 9782, 1961, 44513, 13, 198, 220, 4810, 3824, 6158, 44513, 13, 198, 10619, 31631, 13, 628, 198, 198, 31631, 1976, 46583, 62, 72, 62, 76, 1878, 62, 69, 14149, 30023, 2538, 10979, 6234, 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 ]
* regenerated at 20.01.2019 07:51:38 FUNCTION-POOL ZHVAM2 MESSAGE-ID SV. * INCLUDE LZHVAM2D... " Local class definition INCLUDE LSVIMDAT . "general data decl. INCLUDE LZHVAM2T00 . "view rel. data dcl.
[ 9, 16935, 515, 379, 1160, 13, 486, 13, 23344, 8753, 25, 4349, 25, 2548, 198, 42296, 4177, 2849, 12, 16402, 3535, 1168, 39, 53, 2390, 17, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 337, 1546, 4090, 8264, 12, 2389, 20546, 13, 198, 198, 9, 3268, 5097, 52, 7206, 406, 57, 39, 53, 2390, 17, 35, 986, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 366, 10714, 1398, 6770, 198, 220, 3268, 5097, 52, 7206, 30948, 53, 3955, 35, 1404, 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, 764, 366, 24622, 1366, 2377, 13, 198, 220, 3268, 5097, 52, 7206, 406, 57, 39, 53, 2390, 17, 51, 405, 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, 764, 366, 1177, 823, 13, 1366, 288, 565, 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 ]
FUNCTION zgtt_sof_ote_de_hd. *"---------------------------------------------------------------------- *"*"Local Interface: *" IMPORTING *" REFERENCE(I_APPSYS) TYPE /SAPTRX/APPLSYSTEM *" REFERENCE(I_APP_OBJ_TYPES) TYPE /SAPTRX/AOTYPES *" REFERENCE(I_ALL_APPL_TABLES) TYPE TRXAS_TABCONTAINER *" REFERENCE(I_APP_TYPE_CNTL_TABS) TYPE TRXAS_APPTYPE_TABS *" REFERENCE(I_APP_OBJECTS) TYPE TRXAS_APPOBJ_CTABS *" TABLES *" E_CONTROL_DATA STRUCTURE /SAPTRX/CONTROL_DATA *" E_LOGTABLE STRUCTURE BAPIRET2 OPTIONAL *" EXCEPTIONS *" PARAMETER_ERROR *" CDATA_DETERMINATION_ERROR *" TABLE_DETERMINATION_ERROR *" STOP_PROCESSING *"---------------------------------------------------------------------- *----------------------------------------------------------------------* * Top Include * TYPE-POOLS:trxas. *----------------------------------------------------------------------* DATA: ls_app_objects TYPE trxas_appobj_ctab_wa, ls_control_data TYPE /saptrx/control_data, lt_xlikp TYPE STANDARD TABLE OF likpvb, lt_xvbuk TYPE STANDARD TABLE OF vbukvb, lt_xlips TYPE STANDARD TABLE OF lipsvb, * business partner table lt_xvbpa TYPE STANDARD TABLE OF vbpavb, lv_tzone TYPE timezone, * door text lv_ltort TYPE t30bt-ltort, * warehouse text lv_lnumt TYPE t300t-lnumt, * warehouse text / door text lv_lgtratxt TYPE char60, * shipping point address number, lv_adrnr_shpt TYPE adrnr, * country iso code lv_countryiso TYPE intca, * sd document address information ls_sd_addr TYPE vbadr, lv_tabix TYPE numc10. DATA: BEGIN OF ls_address, line_type TYPE ad_line_tp, address_line LIKE adrs-line0, END OF ls_address. DATA: lt_address LIKE STANDARD TABLE OF ls_address. FIELD-SYMBOLS: <ls_xlikp> TYPE likpvb, <ls_xvbuk> TYPE vbukvb, <ls_xlips> TYPE lipsvb, <ls_xvbpa> TYPE vbpavb. * <1> Read necessary application tables from table reference * Read Header Status Data New PERFORM read_appl_table USING i_all_appl_tables gc_bpt_delivery_hdrstatus_new CHANGING lt_xvbuk. * Read Item New PERFORM read_appl_table USING i_all_appl_tables gc_bpt_delivery_item_new CHANGING lt_xlips. * <1> Read Ship-to Party New PERFORM read_appl_table USING i_all_appl_tables gc_bpt_partners_new CHANGING lt_xvbpa. * <2> Fill general data for all control data records ls_control_data-appsys = i_appsys. ls_control_data-appobjtype = i_app_obj_types-aotype. ls_control_data-language = sy-langu. * <3> Loop at application objects for geting Delivery Header * add the following values which cannot be extracted in EM Data Extraction *Delivery No. (LIKP-VBELN) *Ship-To Party (LIKP-KUNNR) *Document date (LIKP-BLDAT) *Planned delivery date (LIKP-LFDAT) *Total Weight (LIKP-BTGEW) *Net weight (LIKP-NTGEW) *Total Weight uom (LIKP-GEWEI) *Volume (LIKP-VOLUM) *Volume unit (LIKP-VOLEH) *Picking Status (VBUK-KOSTK) *Packing Status (VBUK-PKSTK) *Goods Issue Status (VBUK-WBSTK) *Warehouse No: LIKP-LGNUM *Door for warehouse: LIKP-LGTOR *Warehouse door text: T30BT with LGNUM and LGTOR *Shipping point / Departure (LIKP-VSTEL) *Departure address *Departure country *Destination (LIKP-KUNNR) *Destination country *Destination address *Destination email *Destination telephone *Bill of lading (LIKP-BOLNR) *Incoterms (LIKP-INCO1) *Incoterms location 1 (LIKP-INCO2_L) *Incoterms version (LIKP-INCOV) * Actual Business Time * Actual Business Time zone * Delivery Order Item table LOOP AT i_app_objects INTO ls_app_objects. * Application Object ID ls_control_data-appobjid = ls_app_objects-appobjid. * Check if Main table is Delivery Header or not. IF ls_app_objects-maintabdef <> gc_bpt_delivery_header_new. PERFORM create_logtable_aot TABLES e_logtable USING space ls_app_objects-maintabdef i_app_obj_types-controldatafunc ls_app_objects-appobjtype i_appsys. RAISE table_determination_error. ELSE. * Read Main Object Table ASSIGN ls_app_objects-maintabref->* TO <ls_xlikp>. ENDIF. *Delivery No. (LIKP-VBELN) ls_control_data-paramname = gc_cp_yn_de_no. ls_control_data-value = <ls_xlikp>-vbeln. APPEND ls_control_data TO e_control_data. *Ship-To Party (LIKP-KUNNR) ls_control_data-paramname = gc_cp_yn_de_ship_to. ls_control_data-value = <ls_xlikp>-kunnr. APPEND ls_control_data TO e_control_data. *Document date (LIKP-BLDAT) ls_control_data-paramname = gc_cp_yn_doc_date. IF <ls_xlikp>-bldat IS NOT INITIAL. ls_control_data-value = <ls_xlikp>-bldat. ELSE. CLEAR ls_control_data-value. ENDIF. APPEND ls_control_data TO e_control_data. *Planned delivery date (LIKP-LFDAT) ls_control_data-paramname = gc_cp_yn_de_plndelivery_date. IF <ls_xlikp>-lfdat IS NOT INITIAL. ls_control_data-value = <ls_xlikp>-lfdat. ELSE. CLEAR ls_control_data-value. ENDIF. APPEND ls_control_data TO e_control_data. *Total Weight (LIKP-BTGEW) ls_control_data-paramname = gc_cp_yn_de_tot_weight. ls_control_data-value = <ls_xlikp>-btgew. SHIFT ls_control_data-value LEFT DELETING LEADING space. APPEND ls_control_data TO e_control_data. *Net weight (LIKP-NTGEW) ls_control_data-paramname = gc_cp_yn_de_net_weight. ls_control_data-value = <ls_xlikp>-ntgew. SHIFT ls_control_data-value LEFT DELETING LEADING space. APPEND ls_control_data TO e_control_data. *Total Weight uom (LIKP-GEWEI) ls_control_data-paramname = gc_cp_yn_de_tot_weight_uom. ls_control_data-value = <ls_xlikp>-gewei. APPEND ls_control_data TO e_control_data. *Volume (LIKP-VOLUM) ls_control_data-paramname = gc_cp_yn_de_vol. ls_control_data-value = <ls_xlikp>-volum. SHIFT ls_control_data-value LEFT DELETING LEADING space. APPEND ls_control_data TO e_control_data. *Volume unit (LIKP-VOLEH) ls_control_data-paramname = gc_cp_yn_de_vol_uom. ls_control_data-value = <ls_xlikp>-voleh. APPEND ls_control_data TO e_control_data. READ TABLE lt_xvbuk ASSIGNING <ls_xvbuk> WITH KEY vbeln = <ls_xlikp>-vbeln. *Picking Status (VBUK-KOSTK) ls_control_data-paramname = gc_cp_yn_de_pick_status. IF <ls_xvbuk>-kostk IS NOT INITIAL. ls_control_data-value = <ls_xvbuk>-kostk. ELSE. ls_control_data-value = gc_true. ENDIF. APPEND ls_control_data TO e_control_data. *Packing Status (VBUK-PKSTK) ls_control_data-paramname = gc_cp_yn_de_pack_status. IF <ls_xvbuk>-pkstk IS NOT INITIAL. ls_control_data-value = <ls_xvbuk>-pkstk. ELSE. ls_control_data-value = gc_true. ENDIF. APPEND ls_control_data TO e_control_data. *Goods Issue Status (VBUK-WBSTK) ls_control_data-paramname = gc_cp_yn_de_gi_status. IF <ls_xvbuk>-wbstk IS NOT INITIAL. ls_control_data-value = <ls_xvbuk>-wbstk. ELSE. ls_control_data-value = gc_true. ENDIF. APPEND ls_control_data TO e_control_data. *Warehouse No: LIKP-LGNUM ls_control_data-paramname = gc_cp_yn_de_warehouse_no. ls_control_data-value = <ls_xlikp>-lgnum. APPEND ls_control_data TO e_control_data. *Door for warehouse: LIKP-LGTOR ls_control_data-paramname = gc_cp_yn_de_door_no. ls_control_data-value = <ls_xlikp>-lgtor. APPEND ls_control_data TO e_control_data. *Warehouse door text: concatenate T300T-LNUMT '/' T30BT-ltort with LGNUM and LGTOR CLEAR lv_ltort. SELECT SINGLE ltort INTO lv_ltort FROM t30bt WHERE spras = sy-langu AND lgnum = <ls_xlikp>-lgnum AND lgtor = <ls_xlikp>-lgtor. CLEAR lv_lnumt. SELECT SINGLE lnumt INTO lv_lnumt FROM t300t WHERE spras = sy-langu AND lgnum = <ls_xlikp>-lgnum. CLEAR lv_lgtratxt. IF lv_ltort IS NOT INITIAL OR lv_lnumt IS NOT INITIAL. CONCATENATE lv_lnumt lv_ltort INTO lv_lgtratxt SEPARATED BY '/'. ENDIF. ls_control_data-paramname = gc_cp_yn_de_door_txt. ls_control_data-value = lv_lgtratxt. APPEND ls_control_data TO e_control_data. *Shipping point / Departure (LIKP-VSTEL) ls_control_data-paramname = gc_cp_yn_de_shp_pnt. ls_control_data-value = <ls_xlikp>-vstel. APPEND ls_control_data TO e_control_data. *Location Type for Shipping point / Departure (LIKP-VSTEL) ls_control_data-paramname = gc_cp_yn_de_shp_pnt_loctype. ls_control_data-value = 'ShippingPoint'. APPEND ls_control_data TO e_control_data. *Departure address CLEAR lv_adrnr_shpt. SELECT SINGLE adrnr INTO lv_adrnr_shpt FROM tvst WHERE vstel = <ls_xlikp>-vstel. CLEAR: lt_address, ls_address. CALL FUNCTION 'ADDRESS_INTO_PRINTFORM' EXPORTING address_type = '1' address_number = lv_adrnr_shpt IMPORTING address_printform_table = lt_address. CLEAR ls_control_data-value. LOOP AT lt_address INTO ls_address. IF sy-tabix = 1. ls_control_data-value = ls_address-address_line. ELSE. IF ls_address-address_line IS NOT INITIAL. CONCATENATE ls_control_data-value ls_address-address_line INTO ls_control_data-value SEPARATED BY '$'. ENDIF. ENDIF. ENDLOOP. ls_control_data-paramname = gc_cp_yn_de_shp_addr. APPEND ls_control_data TO e_control_data. *Departure country CLEAR: lv_countryiso, ls_sd_addr. CALL FUNCTION 'SD_ADDRESS_GET' EXPORTING fif_address_number = lv_adrnr_shpt IMPORTING fes_address = ls_sd_addr. CALL FUNCTION 'COUNTRY_CODE_SAP_TO_ISO' EXPORTING sap_code = ls_sd_addr-land1 IMPORTING iso_code = lv_countryiso. ls_control_data-paramname = gc_cp_yn_de_shp_countryiso. ls_control_data-value = lv_countryiso. APPEND ls_control_data TO e_control_data. *Destination (LIKP-KUNNR) ls_control_data-paramname = gc_cp_yn_de_dest. ls_control_data-value = <ls_xlikp>-kunnr. APPEND ls_control_data TO e_control_data. *Location Type for Destination (LIKP-KUNNR) ls_control_data-paramname = gc_cp_yn_de_dest_loctype. ls_control_data-value = 'Customer'. APPEND ls_control_data TO e_control_data. *Destination address READ TABLE lt_xvbpa ASSIGNING <ls_xvbpa> WITH KEY vbeln = <ls_xlikp>-vbeln posnr = '000000' parvw = 'WE' BINARY SEARCH. CLEAR: lt_address, ls_address. IF <ls_xvbpa> IS NOT INITIAL. CALL FUNCTION 'ADDRESS_INTO_PRINTFORM' EXPORTING address_type = '1' address_number = <ls_xvbpa>-adrnr IMPORTING address_printform_table = lt_address. ENDIF. CLEAR ls_control_data-value. LOOP AT lt_address INTO ls_address. IF sy-tabix = 1. ls_control_data-value = ls_address-address_line. ELSE. IF ls_address-address_line IS NOT INITIAL. CONCATENATE ls_control_data-value ls_address-address_line INTO ls_control_data-value SEPARATED BY '$'. ENDIF. ENDIF. ENDLOOP. ls_control_data-paramname = gc_cp_yn_de_dest_addr. APPEND ls_control_data TO e_control_data. *Destination country, Destination email, Destination telephone CLEAR: lv_countryiso, ls_sd_addr. IF <ls_xvbpa> IS NOT INITIAL. CALL FUNCTION 'SD_ADDRESS_GET' EXPORTING fif_address_number = <ls_xvbpa>-adrnr IMPORTING fes_address = ls_sd_addr. CALL FUNCTION 'COUNTRY_CODE_SAP_TO_ISO' EXPORTING sap_code = ls_sd_addr-land1 IMPORTING iso_code = lv_countryiso. ENDIF. ls_control_data-paramname = gc_cp_yn_de_dest_countryiso. ls_control_data-value = lv_countryiso. APPEND ls_control_data TO e_control_data. ls_control_data-paramname = gc_cp_yn_de_dest_email. ls_control_data-value = ls_sd_addr-email_addr. APPEND ls_control_data TO e_control_data. ls_control_data-paramname = gc_cp_yn_de_dest_tele. ls_control_data-value = ls_sd_addr-telf1. APPEND ls_control_data TO e_control_data. *Bill of lading (LIKP-BOLNR) ls_control_data-paramname = gc_cp_yn_de_bol_no. ls_control_data-value = <ls_xlikp>-bolnr. APPEND ls_control_data TO e_control_data. *Incoterms (LIKP-INCO1) ls_control_data-paramname = gc_cp_yn_de_inco1. ls_control_data-value = <ls_xlikp>-inco1. APPEND ls_control_data TO e_control_data. *Incoterms location 1 (LIKP-INCO2_L) ls_control_data-paramname = gc_cp_yn_de_inco2_l. ls_control_data-value = <ls_xlikp>-inco2_l. APPEND ls_control_data TO e_control_data. *Incoterms version (LIKP-INCOV) ls_control_data-paramname = gc_cp_yn_de_incov. ls_control_data-value = <ls_xlikp>-incov. APPEND ls_control_data TO e_control_data. * Actual Business Time zone CALL FUNCTION 'GET_SYSTEM_TIMEZONE' IMPORTING timezone = lv_tzone EXCEPTIONS customizing_missing = 1 OTHERS = 2. ls_control_data-paramname = gc_cp_yn_act_timezone. ls_control_data-value = lv_tzone. APPEND ls_control_data TO e_control_data. * Actual Business Time * CALL FUNCTION '/SCMB/BOL_TST_TZONE_TO_UTC' * EXPORTING * iv_date = sy-datum * iv_time = sy-uzeit * IMPORTING * ev_tst = lv_timestamp. * . * ls_control_data-paramname = gc_cp_yn_act_datetime. * MOVE lv_timestamp TO ls_control_data-value. * SHIFT ls_control_data-value LEFT DELETING LEADING space. * CONCATENATE '0' ls_control_data-value INTO ls_control_data-value. * APPEND ls_control_data TO e_control_data. ls_control_data-paramname = gc_cp_yn_act_datetime. CONCATENATE '0' sy-datum sy-uzeit INTO ls_control_data-value. APPEND ls_control_data TO e_control_data. * Delivery Order Item table LOOP AT lt_xlips ASSIGNING <ls_xlips> WHERE updkz <> 'D'. lv_tabix = sy-tabix. ls_control_data-paramindex = lv_tabix. ls_control_data-paramname = gc_cp_yn_de_header_item_cnt. ls_control_data-value = lv_tabix. SHIFT ls_control_data-value LEFT DELETING LEADING space. APPEND ls_control_data TO e_control_data. ls_control_data-paramindex = lv_tabix. ls_control_data-paramname = gc_cp_yn_de_header_item_no. CONCATENATE <ls_xlips>-vbeln <ls_xlips>-posnr INTO ls_control_data-value. APPEND ls_control_data TO e_control_data. ENDLOOP. IF sy-subrc NE 0. ls_control_data-paramindex = '1'. ls_control_data-paramname = gc_cp_yn_de_header_item_cnt. ls_control_data-value = ''. APPEND ls_control_data TO e_control_data. ENDIF. CLEAR ls_control_data-paramindex. ENDLOOP. ENDFUNCTION.
[ 42296, 4177, 2849, 1976, 70, 926, 62, 568, 69, 62, 1258, 62, 2934, 62, 31298, 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, 2969, 3705, 16309, 8, 41876, 220, 1220, 50, 2969, 5446, 55, 14, 2969, 6489, 23060, 25361, 198, 9, 1, 220, 220, 220, 220, 4526, 24302, 18310, 7, 40, 62, 24805, 62, 9864, 41, 62, 9936, 47, 1546, 8, 41876, 220, 1220, 50, 2969, 5446, 55, 14, 32, 2394, 48232, 1546, 198, 9, 1, 220, 220, 220, 220, 4526, 24302, 18310, 7, 40, 62, 7036, 62, 2969, 6489, 62, 5603, 9148, 1546, 8, 41876, 220, 7579, 55, 1921, 62, 5603, 2749, 1340, 30339, 1137, 198, 9, 1, 220, 220, 220, 220, 4526, 24302, 18310, 7, 40, 62, 24805, 62, 25216, 62, 34, 11251, 43, 62, 5603, 4462, 8, 41876, 220, 7579, 55, 1921, 62, 24805, 25216, 62, 5603, 4462, 198, 9, 1, 220, 220, 220, 220, 4526, 24302, 18310, 7, 40, 62, 24805, 62, 9864, 41, 2943, 4694, 8, 41876, 220, 7579, 55, 1921, 62, 24805, 9864, 41, 62, 4177, 32, 4462, 198, 9, 1, 220, 309, 6242, 28378, 198, 9, 1, 220, 220, 220, 220, 220, 412, 62, 10943, 5446, 3535, 62, 26947, 19269, 18415, 11335, 220, 1220, 50, 2969, 5446, 55, 14, 10943, 5446, 3535, 62, 26947, 198, 9, 1, 220, 220, 220, 220, 220, 412, 62, 25294, 38148, 19269, 18415, 11335, 220, 347, 17614, 26087, 17, 39852, 2849, 1847, 198, 9, 1, 220, 7788, 42006, 11053, 198, 9, 1, 220, 220, 220, 220, 220, 29463, 2390, 2767, 1137, 62, 24908, 198, 9, 1, 220, 220, 220, 220, 220, 6458, 13563, 62, 35, 2767, 1137, 23678, 6234, 62, 24908, 198, 9, 1, 220, 220, 220, 220, 220, 43679, 62, 35, 2767, 1137, 23678, 6234, 62, 24908, 198, 9, 1, 220, 220, 220, 220, 220, 44934, 62, 4805, 4503, 7597, 2751, 198, 9, 1, 10097, 23031, 198, 9, 10097, 23031, 9, 198, 9, 5849, 40348, 198, 9, 41876, 12, 16402, 3535, 50, 25, 2213, 87, 292, 13, 198, 9, 10097, 23031, 9, 628, 220, 42865, 25, 198, 220, 220, 220, 43979, 62, 1324, 62, 48205, 220, 41876, 491, 87, 292, 62, 1324, 26801, 62, 310, 397, 62, 10247, 11, 198, 220, 220, 220, 43979, 62, 13716, 62, 7890, 41876, 1220, 82, 2373, 40914, 14, 13716, 62, 7890, 11, 198, 220, 220, 220, 300, 83, 62, 87, 46965, 79, 220, 220, 220, 220, 220, 220, 220, 41876, 49053, 9795, 43679, 3963, 4300, 79, 85, 65, 11, 198, 220, 220, 220, 300, 83, 62, 87, 85, 65, 2724, 220, 220, 220, 220, 220, 220, 220, 41876, 49053, 9795, 43679, 3963, 410, 65, 2724, 85, 65, 11, 198, 220, 220, 220, 300, 83, 62, 87, 75, 2419, 220, 220, 220, 220, 220, 220, 220, 41876, 49053, 9795, 43679, 3963, 11914, 85, 65, 11, 198, 9, 220, 220, 220, 1597, 5212, 3084, 198, 220, 220, 220, 300, 83, 62, 87, 85, 65, 8957, 220, 220, 220, 220, 220, 220, 220, 41876, 49053, 9795, 43679, 3963, 410, 46583, 615, 65, 11, 198, 220, 220, 220, 300, 85, 62, 83, 11340, 220, 220, 220, 220, 220, 220, 220, 41876, 640, 11340, 11, 198, 9, 220, 220, 220, 3420, 2420, 198, 220, 220, 220, 300, 85, 62, 2528, 419, 220, 220, 220, 220, 220, 220, 220, 41876, 256, 1270, 18347, 12, 2528, 419, 11, 198, 9, 220, 220, 220, 20933, 2420, 198, 220, 220, 220, 300, 85, 62, 18755, 388, 83, 220, 220, 220, 220, 220, 220, 220, 41876, 256, 6200, 83, 12, 18755, 388, 83, 11, 198, 9, 220, 220, 220, 20933, 2420, 1220, 3420, 2420, 198, 220, 220, 220, 300, 85, 62, 75, 70, 2213, 265, 742, 220, 220, 220, 220, 41876, 1149, 1899, 11, 198, 9, 220, 220, 220, 8440, 966, 2209, 1271, 11, 198, 220, 220, 220, 300, 85, 62, 324, 35906, 81, 62, 1477, 457, 197, 220, 41876, 512, 35906, 81, 11, 198, 9, 220, 220, 220, 1499, 47279, 2438, 198, 220, 220, 220, 300, 85, 62, 19315, 26786, 220, 220, 41876, 493, 6888, 11, 198, 9, 220, 220, 220, 45647, 3188, 2209, 1321, 198, 220, 220, 220, 43979, 62, 21282, 62, 29851, 220, 220, 220, 220, 220, 41876, 410, 14774, 81, 11, 198, 220, 220, 220, 300, 85, 62, 8658, 844, 220, 220, 220, 220, 220, 220, 220, 41876, 997, 66, 940, 13, 628, 220, 42865, 25, 347, 43312, 3963, 43979, 62, 21975, 11, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 1627, 62, 4906, 220, 220, 220, 41876, 512, 62, 1370, 62, 34788, 11, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 2209, 62, 1370, 34178, 512, 3808, 12, 1370, 15, 11, 198, 220, 220, 220, 220, 220, 220, 220, 23578, 3963, 43979, 62, 21975, 13, 198, 220, 42865, 25, 300, 83, 62, 21975, 34178, 49053, 9795, 43679, 3963, 43979, 62, 21975, 13, 628, 220, 18930, 24639, 12, 23060, 10744, 3535, 50, 25, 198, 220, 220, 220, 1279, 7278, 62, 87, 46965, 79, 29, 41876, 4300, 79, 85, 65, 11, 198, 220, 220, 220, 1279, 7278, 62, 87, 85, 65, 2724, 29, 41876, 410, 65, 2724, 85, 65, 11, 198, 220, 220, 220, 1279, 7278, 62, 87, 75, 2419, 29, 41876, 11914, 85, 65, 11, 198, 220, 220, 220, 1279, 7278, 62, 87, 85, 65, 8957, 29, 41876, 410, 46583, 615, 65, 13, 198, 198, 9, 1279, 16, 29, 4149, 3306, 3586, 8893, 422, 3084, 4941, 198, 9, 4149, 48900, 12678, 6060, 968, 198, 220, 19878, 21389, 1100, 62, 1324, 75, 62, 11487, 198, 220, 220, 220, 1294, 2751, 220, 220, 220, 1312, 62, 439, 62, 1324, 75, 62, 83, 2977, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 308, 66, 62, 65, 457, 62, 12381, 6315, 62, 71, 7109, 13376, 62, 3605, 198, 220, 220, 220, 5870, 15567, 2751, 300, 83, 62, 87, 85, 65, 2724, 13, 198, 198, 9, 4149, 9097, 968, 198, 220, 19878, 21389, 1100, 62, 1324, 75, 62, 11487, 198, 220, 220, 220, 1294, 2751, 220, 220, 220, 1312, 62, 439 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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 ]
*---------------------------------------------------------------------* * program for: VIEWFRAME_ZVINTFMONITORPAR * generation date: 09.02.2019 at 23:10:59 * view maintenance generator version: #001407# *---------------------------------------------------------------------* FUNCTION VIEWFRAME_ZVINTFMONITORPAR . DATA: ENQUEUE_PROCESSED TYPE C. "flag: view enqueued by VIEWFRAME_... *-<<<-------------------------------------------------------------->>>>* * Entrypoint after changing maintenance mode (show <--> update) * *-<<<-------------------------------------------------------------->>>>* DO. *----------------------------------------------------------------------* * Select data from database * *----------------------------------------------------------------------* CALL FUNCTION 'VIEWPROC_ZVINTFMONITORPAR' EXPORTING FCODE = READ VIEW_ACTION = VIEW_ACTION VIEW_NAME = VIEW_NAME TABLES EXCL_CUA_FUNCT = EXCL_CUA_FUNCT EXTRACT = ZVINTFMONITORPAR_EXTRACT TOTAL = ZVINTFMONITORPAR_TOTAL X_HEADER = X_HEADER X_NAMTAB = X_NAMTAB DBA_SELLIST = DBA_SELLIST DPL_SELLIST = DPL_SELLIST CORR_KEYTAB = E071K_TAB EXCEPTIONS MISSING_CORR_NUMBER = 1 NO_VALUE_FOR_SUBSET_IDENT = 2. CASE SY-SUBRC. WHEN 1. RAISE MISSING_CORR_NUMBER. WHEN 2. RAISE NO_VALUE_FOR_SUBSET_IDENT. ENDCASE. *-<<<-------------------------------------------------------------->>>>* * Entrypoint after saving data into database * * Entrypoint after refreshing selected entries from database * *-<<<-------------------------------------------------------------->>>>* DO. *----------------------------------------------------------------------* * Edit data * *----------------------------------------------------------------------* DO. CALL FUNCTION 'VIEWPROC_ZVINTFMONITORPAR' EXPORTING FCODE = EDIT VIEW_ACTION = MAINT_MODE VIEW_NAME = VIEW_NAME CORR_NUMBER = CORR_NUMBER IMPORTING UCOMM = FUNCTION UPDATE_REQUIRED = STATUS_ZVINTFMONITORPAR-UPD_FLAG TABLES EXCL_CUA_FUNCT = EXCL_CUA_FUNCT EXTRACT = ZVINTFMONITORPAR_EXTRACT TOTAL = ZVINTFMONITORPAR_TOTAL X_HEADER = X_HEADER X_NAMTAB = X_NAMTAB DBA_SELLIST = DBA_SELLIST DPL_SELLIST = DPL_SELLIST CORR_KEYTAB = E071K_TAB EXCEPTIONS MISSING_CORR_NUMBER = 1 NO_VALUE_FOR_SUBSET_IDENT = 2. CASE SY-SUBRC. WHEN 1. IF MAINT_MODE EQ TRANSPORTIEREN AND VIEW_ACTION EQ AENDERN. MOVE VIEW_ACTION TO MAINT_MODE. ELSE. PERFORM BEFORE_LEAVING_FRAME_FUNCTION USING X_HEADER-FRM_BF_END. RAISE MISSING_CORR_NUMBER. ENDIF. WHEN 2. RAISE NO_VALUE_FOR_SUBSET_IDENT. WHEN OTHERS. EXIT. ENDCASE. ENDDO. *----------------------------------------------------------------------* * Handle usercommands... * * ...at first handle commands which could cause loss of data * *----------------------------------------------------------------------* IF FUNCTION EQ BACK. FUNCTION = END. ENDIF. IF ( FUNCTION EQ SWITCH_TO_SHOW_MODE OR FUNCTION EQ GET_ANOTHER_VIEW OR FUNCTION EQ SWITCH_TRANSP_TO_UPD_MODE OR FUNCTION EQ END ) AND STATUS_ZVINTFMONITORPAR-UPD_FLAG NE SPACE. PERFORM BEENDEN. CASE SY-SUBRC. WHEN 0. CALL FUNCTION 'VIEWPROC_ZVINTFMONITORPAR' EXPORTING FCODE = SAVE VIEW_ACTION = MAINT_MODE VIEW_NAME = VIEW_NAME CORR_NUMBER = CORR_NUMBER IMPORTING UPDATE_REQUIRED = STATUS_ZVINTFMONITORPAR-UPD_FLAG TABLES EXCL_CUA_FUNCT = EXCL_CUA_FUNCT EXTRACT = ZVINTFMONITORPAR_EXTRACT TOTAL = ZVINTFMONITORPAR_TOTAL X_HEADER = X_HEADER X_NAMTAB = X_NAMTAB DBA_SELLIST = DBA_SELLIST DPL_SELLIST = DPL_SELLIST CORR_KEYTAB = E071K_TAB EXCEPTIONS MISSING_CORR_NUMBER = 1 NO_VALUE_FOR_SUBSET_IDENT = 2 SAVING_CORRECTION_FAILED = 3. CASE SY-SUBRC. WHEN 0. IF STATUS_ZVINTFMONITORPAR-UPD_FLAG EQ SPACE. EXIT. ENDIF. WHEN 1. RAISE MISSING_CORR_NUMBER. WHEN 2. RAISE NO_VALUE_FOR_SUBSET_IDENT. WHEN 3. ENDCASE. WHEN 8. EXIT. WHEN 12. ENDCASE. *----------------------------------------------------------------------* * ...2nd: transport request * *----------------------------------------------------------------------* ELSEIF FUNCTION EQ TRANSPORT. IF STATUS_ZVINTFMONITORPAR-UPD_FLAG NE SPACE. PERFORM TRANSPORTIEREN. CASE SY-SUBRC. WHEN 0. CALL FUNCTION 'VIEWPROC_ZVINTFMONITORPAR' EXPORTING FCODE = SAVE VIEW_ACTION = MAINT_MODE VIEW_NAME = VIEW_NAME CORR_NUMBER = CORR_NUMBER IMPORTING UPDATE_REQUIRED = STATUS_ZVINTFMONITORPAR-UPD_FLAG TABLES EXCL_CUA_FUNCT = EXCL_CUA_FUNCT EXTRACT = ZVINTFMONITORPAR_EXTRACT TOTAL = ZVINTFMONITORPAR_TOTAL X_HEADER = X_HEADER X_NAMTAB = X_NAMTAB DBA_SELLIST = DBA_SELLIST DPL_SELLIST = DPL_SELLIST CORR_KEYTAB = E071K_TAB EXCEPTIONS MISSING_CORR_NUMBER = 1 NO_VALUE_FOR_SUBSET_IDENT = 2 SAVING_CORRECTION_FAILED = 3. CASE SY-SUBRC. WHEN 0. MAINT_MODE = TRANSPORTIEREN. WHEN 1. RAISE MISSING_CORR_NUMBER. WHEN 2. RAISE NO_VALUE_FOR_SUBSET_IDENT. WHEN 3. ENDCASE. WHEN 8. EXIT. WHEN 12. ENDCASE. ELSE. MAINT_MODE = TRANSPORTIEREN. ENDIF. *----------------------------------------------------------------------* * ...now reset or save requests * *----------------------------------------------------------------------* ELSEIF FUNCTION EQ RESET_LIST OR FUNCTION EQ RESET_ENTRY OR FUNCTION EQ SAVE. *----------------------------------------------------------------------* * Refresh selected entries from database or save data into database * *----------------------------------------------------------------------* CALL FUNCTION 'VIEWPROC_ZVINTFMONITORPAR' EXPORTING FCODE = FUNCTION VIEW_ACTION = MAINT_MODE VIEW_NAME = VIEW_NAME CORR_NUMBER = CORR_NUMBER IMPORTING UPDATE_REQUIRED = STATUS_ZVINTFMONITORPAR-UPD_FLAG TABLES EXCL_CUA_FUNCT = EXCL_CUA_FUNCT EXTRACT = ZVINTFMONITORPAR_EXTRACT TOTAL = ZVINTFMONITORPAR_TOTAL X_HEADER = X_HEADER X_NAMTAB = X_NAMTAB DBA_SELLIST = DBA_SELLIST DPL_SELLIST = DPL_SELLIST CORR_KEYTAB = E071K_TAB EXCEPTIONS MISSING_CORR_NUMBER = 1 NO_VALUE_FOR_SUBSET_IDENT = 2 SAVING_CORRECTION_FAILED = 3. CASE SY-SUBRC. WHEN 1. RAISE MISSING_CORR_NUMBER. WHEN 2. RAISE NO_VALUE_FOR_SUBSET_IDENT. WHEN 3. ENDCASE. ELSE. EXIT. ENDIF. ENDDO. *----------------------------------------------------------------------* * ...now other commands... * *----------------------------------------------------------------------* CASE FUNCTION. WHEN SWITCH_TO_SHOW_MODE. * change maintenance mode from update to show PERFORM ENQUEUE USING 'D' X_HEADER-FRM_AF_ENQ. "dequeue view CLEAR ENQUEUE_PROCESSED. VIEW_ACTION = ANZEIGEN. WHEN SWITCH_TO_UPDATE_MODE. * change maintenance mode from show to update PERFORM ENQUEUE USING 'E' X_HEADER-FRM_AF_ENQ. "enqueue view IF SY-SUBRC EQ 0. MOVE 'X' TO ENQUEUE_PROCESSED. VIEW_ACTION = AENDERN. ENDIF. WHEN SWITCH_TRANSP_TO_UPD_MODE. * change maintenance mode from transport to update VIEW_ACTION = AENDERN. WHEN TRANSPORT. * change maintenance mode from update to transport VIEW_ACTION = TRANSPORTIEREN. WHEN OTHERS. IF ENQUEUE_PROCESSED NE SPACE. PERFORM ENQUEUE USING 'D' X_HEADER-FRM_AF_ENQ. "dequeue view ENDIF. PERFORM BEFORE_LEAVING_FRAME_FUNCTION USING X_HEADER-FRM_BF_END. EXIT. ENDCASE. ENDDO. ENDFUNCTION.
[ 9, 10097, 30934, 9, 198, 9, 220, 220, 220, 1430, 329, 25, 220, 220, 49880, 10913, 10067, 62, 57, 53, 1268, 10234, 27857, 2043, 1581, 27082, 198, 9, 220, 220, 5270, 3128, 25, 7769, 13, 2999, 13, 23344, 379, 2242, 25, 940, 25, 3270, 198, 9, 220, 220, 1570, 9262, 17301, 2196, 25, 1303, 405, 1415, 2998, 2, 198, 9, 10097, 30934, 9, 198, 42296, 4177, 2849, 49880, 10913, 10067, 62, 57, 53, 1268, 10234, 27857, 2043, 1581, 27082, 220, 220, 220, 764, 628, 220, 42865, 25, 12964, 48, 8924, 8924, 62, 4805, 4503, 7597, 1961, 41876, 327, 13, 366, 32109, 25, 1570, 551, 4188, 1739, 416, 49880, 10913, 10067, 62, 986, 198, 198, 9, 12, 16791, 27, 47232, 26171, 16471, 9, 198, 9, 21617, 4122, 706, 5609, 9262, 4235, 357, 12860, 1279, 46904, 4296, 8, 220, 220, 220, 220, 220, 220, 220, 1635, 198, 9, 12, 16791, 27, 47232, 26171, 16471, 9, 198, 220, 8410, 13, 198, 9, 10097, 23031, 9, 198, 9, 9683, 1366, 422, 6831, 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, 1635, 198, 9, 10097, 23031, 9, 198, 34, 7036, 29397, 4177, 2849, 705, 28206, 4805, 4503, 62, 57, 53, 1268, 10234, 27857, 2043, 1581, 27082, 6, 198, 220, 220, 220, 220, 220, 220, 220, 220, 7788, 15490, 2751, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 10029, 16820, 220, 220, 220, 220, 220, 220, 220, 220, 220, 796, 20832, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 49880, 62, 44710, 220, 220, 220, 796, 49880, 62, 44710, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 49880, 62, 20608, 220, 220, 220, 220, 220, 796, 49880, 62, 20608, 198, 220, 220, 220, 220, 220, 220, 220, 220, 309, 6242, 28378, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 7788, 5097, 62, 34, 34970, 62, 42296, 4177, 796, 7788, 5097, 62, 34, 34970, 62, 42296, 4177, 198, 6369, 5446, 10659, 796, 1168, 53, 1268, 10234, 27857, 2043, 1581, 27082, 62, 6369, 5446, 10659, 198, 51, 27510, 796, 1168, 53, 1268, 10234, 27857, 2043, 1581, 27082, 62, 51, 27510, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 1395, 62, 37682, 1137, 220, 220, 220, 220, 220, 220, 796, 1395, 62, 37682, 1137, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 1395, 62, 45, 2390, 5603, 33, 220, 220, 220, 220, 220, 220, 796, 1395, 62, 45, 2390, 5603, 33, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 360, 4339, 62, 5188, 3069, 8808, 220, 220, 220, 796, 360, 4339, 62, 5188, 3069, 8808, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 360, 6489, 62, 5188, 3069, 8808, 220, 220, 220, 796, 360, 6489, 62, 5188, 3069, 8808, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 23929, 49, 62, 20373, 5603, 33, 220, 220, 220, 796, 412, 2998, 16, 42, 62, 5603, 33, 198, 220, 220, 220, 220, 220, 220, 220, 220, 7788, 42006, 11053, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 49684, 2751, 62, 44879, 49, 62, 41359, 13246, 220, 220, 220, 220, 220, 220, 796, 352, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 8005, 62, 39488, 62, 13775, 62, 12564, 4462, 2767, 62, 25256, 796, 362, 13, 198, 220, 220, 220, 42001, 19704, 12, 50, 10526, 7397, 13, 198, 220, 220, 220, 220, 220, 42099, 352, 13, 198, 220, 220, 220, 220, 220, 220, 220, 17926, 24352, 49684, 2751, 62, 44879, 49, 62, 41359, 13246, 13, 198, 220, 220, 220, 220, 220, 42099, 362, 13, 198, 220, 220, 220, 220, 220, 220, 220, 17926, 24352, 8005, 62, 39488, 62, 13775, 62, 12564, 4462, 2767, 62, 25256, 13, 198, 220, 220, 220, 23578, 34, 11159, 13, 198, 9, 12, 16791, 27, 47232, 26171, 16471, 9, 198, 9, 21617, 4122, 706, 8914, 1366, 656, 6831, 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, 21617, 4122, 706, 23056, 6163, 12784, 422, 6831, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 1635, 198, 9, 12, 16791, 27, 47232, 26171, 16471, 9, 198, 220, 220, 220, 8410, 13, 198, 9, 10097, 23031, 9, 198, 9, 5312, 1366, 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, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 1635, 198, 9, 10097, 23031, 9, 198, 220, 220, 220, 220, 220, 8410, 13, 198, 34, 7036, 29397, 4177, 2849, 705, 28206, 4805, 4503, 62, 57, 53, 1268, 10234, 27857, 2043, 1581, 27082, 6, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 7788, 15490, 2751, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 10029, 16820, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 796, 48483, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 49880, 62, 44710, 220, 220, 220, 220, 796, 8779, 12394, 62, 49058, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 49880, 62, 20608, 220, 220, 220, 220, 220, 220, 796, 49880, 62, 20608, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 23929, 49, 62, 41359, 13246, 220, 220, 220, 220, 796, 23929, 49 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 1, 1, 1, 1, 1, 1, 1, 1 ]
interface ZIF_ITERATOR public . type-pools ABAP . methods HASNEXT returning value(RETURNING) type ABAP_BOOL . methods NEXT returning value(RETURNING) type ref to ZCL_OBJECT . methods REMOVE . endinterface.
[ 39994, 1168, 5064, 62, 2043, 1137, 25633, 201, 198, 220, 1171, 764, 201, 198, 201, 198, 201, 198, 220, 2099, 12, 7742, 82, 9564, 2969, 764, 201, 198, 220, 5050, 33930, 45, 13918, 201, 198, 220, 220, 220, 8024, 201, 198, 220, 220, 220, 220, 220, 1988, 7, 26087, 4261, 15871, 8, 2099, 9564, 2969, 62, 8202, 3535, 764, 201, 198, 220, 5050, 39726, 201, 198, 220, 220, 220, 8024, 201, 198, 220, 220, 220, 220, 220, 1988, 7, 26087, 4261, 15871, 8, 2099, 1006, 284, 1168, 5097, 62, 9864, 23680, 764, 201, 198, 220, 5050, 22657, 46, 6089, 764, 201, 198, 437, 39994, 13, 201, 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 ]
CLASS zcl_abapgit_object_iwmo DEFINITION PUBLIC INHERITING FROM zcl_abapgit_objects_super CREATE PUBLIC . PUBLIC SECTION. INTERFACES zif_abapgit_object . PROTECTED SECTION. METHODS get_generic RETURNING VALUE(ro_generic) TYPE REF TO zcl_abapgit_objects_generic RAISING zcx_abapgit_exception . PRIVATE SECTION. ENDCLASS. CLASS zcl_abapgit_object_iwmo IMPLEMENTATION. METHOD get_generic. CREATE OBJECT ro_generic EXPORTING is_item = ms_item iv_language = mv_language. ENDMETHOD. METHOD zif_abapgit_object~changed_by. rv_user = zcl_abapgit_objects_super=>c_user_unknown. ENDMETHOD. METHOD zif_abapgit_object~delete. get_generic( )->delete( ). ENDMETHOD. METHOD zif_abapgit_object~deserialize. get_generic( )->deserialize( iv_package = iv_package io_xml = io_xml ). ENDMETHOD. METHOD zif_abapgit_object~exists. rv_bool = get_generic( )->exists( ). ENDMETHOD. METHOD zif_abapgit_object~get_comparator. RETURN. ENDMETHOD. METHOD zif_abapgit_object~get_deserialize_steps. APPEND zif_abapgit_object=>gc_step_id-abap TO rt_steps. ENDMETHOD. METHOD zif_abapgit_object~get_metadata. rs_metadata = get_metadata( ). rs_metadata-delete_tadir = abap_true. ENDMETHOD. METHOD zif_abapgit_object~is_active. rv_active = is_active( ). ENDMETHOD. METHOD zif_abapgit_object~is_locked. rv_is_locked = abap_false. ENDMETHOD. METHOD zif_abapgit_object~jump. DATA: lv_mdl_technical_name TYPE c LENGTH 32, lv_version TYPE bdc_fval, lt_bdcdata TYPE TABLE OF bdcdata. FIELD-SYMBOLS: <ls_bdcdata> LIKE LINE OF lt_bdcdata. lv_mdl_technical_name = ms_item-obj_name. lv_version = ms_item-obj_name+32(4). APPEND INITIAL LINE TO lt_bdcdata ASSIGNING <ls_bdcdata>. <ls_bdcdata>-program = '/IWBEP/R_DST_MODEL_BUILDER'. <ls_bdcdata>-dynpro = '0100'. <ls_bdcdata>-dynbegin = 'X'. APPEND INITIAL LINE TO lt_bdcdata ASSIGNING <ls_bdcdata>. <ls_bdcdata>-fnam = 'GS_MODEL_SCREEN_100-TECHNICAL_NAME'. <ls_bdcdata>-fval = lv_mdl_technical_name. APPEND INITIAL LINE TO lt_bdcdata ASSIGNING <ls_bdcdata>. <ls_bdcdata>-fnam = 'GS_MODEL_SCREEN_100-VERSION'. <ls_bdcdata>-fval = lv_version. zcl_abapgit_ui_factory=>get_gui_jumper( )->jump_batch_input( iv_tcode = '/IWBEP/REG_MODEL' it_bdcdata = lt_bdcdata ). ENDMETHOD. METHOD zif_abapgit_object~serialize. get_generic( )->serialize( io_xml ). ENDMETHOD. ENDCLASS.
[ 31631, 1976, 565, 62, 397, 499, 18300, 62, 15252, 62, 14246, 5908, 5550, 20032, 17941, 198, 220, 44731, 198, 220, 3268, 16879, 2043, 2751, 16034, 1976, 565, 62, 397, 499, 18300, 62, 48205, 62, 16668, 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, 15252, 764, 198, 220, 48006, 9782, 1961, 44513, 13, 628, 220, 220, 220, 337, 36252, 50, 651, 62, 41357, 198, 220, 220, 220, 220, 220, 30826, 4261, 15871, 198, 220, 220, 220, 220, 220, 220, 220, 26173, 8924, 7, 305, 62, 41357, 8, 41876, 4526, 37, 5390, 1976, 565, 62, 397, 499, 18300, 62, 48205, 62, 41357, 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, 4810, 3824, 6158, 44513, 13, 198, 10619, 31631, 13, 628, 198, 198, 31631, 1976, 565, 62, 397, 499, 18300, 62, 15252, 62, 14246, 5908, 30023, 2538, 10979, 6234, 13, 628, 198, 220, 337, 36252, 651, 62, 41357, 13, 628, 220, 220, 220, 29244, 6158, 25334, 23680, 686, 62, 41357, 198, 220, 220, 220, 220, 220, 7788, 15490, 2751, 198, 220, 220, 220, 220, 220, 220, 220, 318, 62, 9186, 220, 220, 220, 220, 796, 13845, 62, 9186, 198, 220, 220, 220, 220, 220, 220, 220, 21628, 62, 16129, 796, 285, 85, 62, 16129, 13, 628, 220, 23578, 49273, 13, 628, 198, 220, 337, 36252, 1976, 361, 62, 397, 499, 18300, 62, 15252, 93, 40985, 62, 1525, 13, 198, 220, 220, 220, 374, 85, 62, 7220, 796, 1976, 565, 62, 397, 499, 18300, 62, 48205, 62, 16668, 14804, 66, 62, 7220, 62, 34680, 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, 651, 62, 41357, 7, 1267, 3784, 33678, 7, 6739, 628, 220, 23578, 49273, 13, 628, 198, 220, 337, 36252, 1976, 361, 62, 397, 499, 18300, 62, 15252, 93, 8906, 48499, 1096, 13, 628, 220, 220, 220, 651, 62, 41357, 7, 1267, 3784, 8906, 48499, 1096, 7, 198, 220, 220, 220, 220, 220, 21628, 62, 26495, 796, 21628, 62, 26495, 198, 220, 220, 220, 220, 220, 33245, 62, 19875, 220, 220, 220, 220, 796, 33245, 62, 19875, 6739, 628, 220, 23578, 49273, 13, 628, 198, 220, 337, 36252, 1976, 361, 62, 397, 499, 18300, 62, 15252, 93, 1069, 1023, 13, 628, 220, 220, 220, 374, 85, 62, 30388, 796, 651, 62, 41357, 7, 1267, 3784, 1069, 1023, 7, 6739, 628, 220, 23578, 49273, 13, 628, 198, 220, 337, 36252, 1976, 361, 62, 397, 499, 18300, 62, 15252, 93, 1136, 62, 785, 1845, 1352, 13, 198, 220, 220, 220, 30826, 27064, 13, 198, 220, 23578, 49273, 13, 628, 198, 220, 337, 36252, 1976, 361, 62, 397, 499, 18300, 62, 15252, 93, 1136, 62, 8906, 48499, 1096, 62, 20214, 13, 198, 220, 220, 220, 43504, 10619, 1976, 361, 62, 397, 499, 18300, 62, 15252, 14804, 36484, 62, 9662, 62, 312, 12, 397, 499, 5390, 374, 83, 62, 20214, 13, 198, 220, 23578, 49273, 13, 628, 198, 220, 337, 36252, 1976, 361, 62, 397, 499, 18300, 62, 15252, 93, 1136, 62, 38993, 13, 628, 220, 220, 220, 44608, 62, 38993, 796, 651, 62, 38993, 7, 6739, 198, 220, 220, 220, 44608, 62, 38993, 12, 33678, 62, 83, 324, 343, 796, 450, 499, 62, 7942, 13, 628, 220, 23578, 49273, 13, 628, 198, 220, 337, 36252, 1976, 361, 62, 397, 499, 18300, 62, 15252, 93, 271, 62, 5275, 13, 198, 220, 220, 220, 374, 85, 62, 5275, 796, 318, 62, 5275, 7, 6739, 198, 220, 23578, 49273, 13, 628, 198, 220, 337, 36252, 1976, 361, 62, 397, 499, 18300, 62, 15252, 93, 271, 62, 24162, 13, 628, 220, 220, 220, 374, 85, 62, 271, 62, 24162, 796, 450, 499, 62, 9562, 13, 628, 220, 23578, 49273, 13, 628, 198, 220, 337, 36252, 1976, 361, 62, 397, 499, 18300, 62, 15252, 93, 43327, 13, 628, 220, 220, 220, 42865, 25, 300, 85, 62, 9132, 75, 62, 47944, 62, 3672, 41876, 269, 406, 49494, 3933, 11, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 300, 85, 62, 9641, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 41876, 275, 17896, 62, 69, 2100, 11, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 300, 83, 62, 17457, 66, 7890, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 41876, 43679, 3963, 275, 17896, 7890, 13, 628, 220, 220, 220, 18930, 24639, 12, 23060, 10744, 3535, 50, 25, 1279, 7278, 62, 17457, 66, 7890, 29, 34178, 48920, 3963, 300, 83, 62, 17457, 66, 7890, 13, 628, 220, 220, 220, 300, 85, 62, 9132, 75, 62, 47944, 62, 3672, 796, 13845, 62, 9186, 12, 26801, 62, 3672, 13, 198, 220, 220, 220, 300, 85, 62, 9641, 796, 13845, 62, 9186, 12, 26801, 62, 3672, 10, 2624, 7, 19, 737, 628, 220, 220, 220, 43504, 10619, 3268, 2043, 12576, 48920, 5390, 300, 83, 62, 17457, 66, 7890, 24994, 3528, 15871, 1279, 7278, 62, 17457, 66, 7890, 28401, 198, 220, 220, 220, 1279, 7278, 62, 17457, 66, 7890, 29, 12, 23065, 220, 796, 31051, 40, 45607, 8905, 14, 49, 62, 35, 2257, 62, 33365, 3698, 62, 19499, 4146, 14418, 4458, 198, 220, 220, 220, 1279, 7278, 62, 17457, 66, 7890, 29, 12, 67, 2047, 1676, 220, 220, 796, 705, 39103, 4458, 198, 220, 220, 220, 1279, 7278, 62, 17457, 66, 7890, 29, 12, 67, 2047, 27471, 796, 705, 55, 4458, 198, 220, 220, 220, 43504, 10619, 3268, 2043, 12576, 48920, 5390, 300, 83, 62, 17457, 66, 7890, 24994, 3528, 15871, 1279, 7278, 62, 17457, 66, 7890, 28401, 198, 220, 220, 220, 1279, 7278, 62, 17457, 66, 7890, 29, 12, 69, 7402, 796, 705, 14313, 62, 33365, 3698, 62, 6173, 2200, 1677, 62, 3064, 12, 51, 25994, 45, 20151, 62, 20608, 4458, 198, 220, 220, 220, 1279, 7278, 62, 17457, 66, 7890, 29, 12, 69, 2100, 796, 300, 85, 62, 9132, 75, 62, 47944, 62, 3672, 13, 198, 220, 220, 220, 43504, 10619 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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 ]
CLASS zcl_excel_data_validation DEFINITION PUBLIC FINAL CREATE PUBLIC . PUBLIC SECTION. *"* public components of class ZCL_EXCEL_DATA_VALIDATION *"* do not include other source files here!!! TYPE-POOLS abap . DATA errorstyle TYPE zexcel_data_val_error_style . DATA operator TYPE zexcel_data_val_operator . DATA allowblank TYPE flag VALUE 'X'. "#EC NOTEXT . . . . . . . . . . " . DATA cell_column TYPE zexcel_cell_column_alpha . DATA cell_column_to TYPE zexcel_cell_column_alpha . DATA cell_row TYPE zexcel_cell_row . DATA cell_row_to TYPE zexcel_cell_row . CONSTANTS c_type_custom TYPE zexcel_data_val_type VALUE 'custom'. "#EC NOTEXT CONSTANTS c_type_list TYPE zexcel_data_val_type VALUE 'list'. "#EC NOTEXT DATA showerrormessage TYPE abap_bool VALUE 'X'. "#EC NOTEXT . . . . . . . . . . " . DATA showinputmessage TYPE abap_bool VALUE 'X'. "#EC NOTEXT . . . . . . . . . . " . DATA type TYPE zexcel_data_val_type . DATA formula1 TYPE zexcel_validation_formula1 . DATA formula2 TYPE zexcel_validation_formula1 . CONSTANTS c_type_none TYPE zexcel_data_val_type VALUE 'none'. "#EC NOTEXT CONSTANTS c_type_date TYPE zexcel_data_val_type VALUE 'date'. "#EC NOTEXT CONSTANTS c_type_decimal TYPE zexcel_data_val_type VALUE 'decimal'. "#EC NOTEXT CONSTANTS c_type_textlength TYPE zexcel_data_val_type VALUE 'textLength'. "#EC NOTEXT CONSTANTS c_type_time TYPE zexcel_data_val_type VALUE 'time'. "#EC NOTEXT CONSTANTS c_type_whole TYPE zexcel_data_val_type VALUE 'whole'. "#EC NOTEXT CONSTANTS c_style_stop TYPE zexcel_data_val_error_style VALUE 'stop'. "#EC NOTEXT CONSTANTS c_style_warning TYPE zexcel_data_val_error_style VALUE 'warning'. "#EC NOTEXT CONSTANTS c_style_information TYPE zexcel_data_val_error_style VALUE 'information'. "#EC NOTEXT CONSTANTS c_operator_between TYPE zexcel_data_val_operator VALUE 'between'. "#EC NOTEXT CONSTANTS c_operator_equal TYPE zexcel_data_val_operator VALUE 'equal'. "#EC NOTEXT CONSTANTS c_operator_greaterthan TYPE zexcel_data_val_operator VALUE 'greaterThan'. "#EC NOTEXT CONSTANTS c_operator_greaterthanorequal TYPE zexcel_data_val_operator VALUE 'greaterThanOrEqual'. "#EC NOTEXT CONSTANTS c_operator_lessthan TYPE zexcel_data_val_operator VALUE 'lessThan'. "#EC NOTEXT CONSTANTS c_operator_lessthanorequal TYPE zexcel_data_val_operator VALUE 'lessThanOrEqual'. "#EC NOTEXT CONSTANTS c_operator_notbetween TYPE zexcel_data_val_operator VALUE 'notBetween'. "#EC NOTEXT CONSTANTS c_operator_notequal TYPE zexcel_data_val_operator VALUE 'notEqual'. "#EC NOTEXT DATA showdropdown TYPE abap_bool . DATA errortitle TYPE string . DATA error TYPE string . DATA prompttitle TYPE string . DATA prompt TYPE string . METHODS constructor . *"* protected components of class ZCL_EXCEL_DATA_VALIDATION *"* do not include other source files here!!! *"* protected components of class ZCL_EXCEL_DATA_VALIDATION *"* do not include other source files here!!! PROTECTED SECTION. PRIVATE SECTION. *"* private components of class ZCL_EXCEL_DATA_VALIDATION *"* do not include other source files here!!! ENDCLASS. CLASS zcl_excel_data_validation IMPLEMENTATION. METHOD constructor. " Initialise instance variables formula1 = ''. formula2 = ''. type = me->c_type_none. errorstyle = me->c_style_stop. operator = ''. allowblank = abap_false. showdropdown = abap_false. showinputmessage = abap_true. showerrormessage = abap_true. errortitle = ''. error = ''. prompttitle = ''. prompt = ''. * inizialize dimension range cell_row = 1. cell_column = 'A'. ENDMETHOD. ENDCLASS.
[ 31631, 1976, 565, 62, 1069, 5276, 62, 7890, 62, 12102, 341, 5550, 20032, 17941, 198, 220, 44731, 198, 220, 25261, 198, 220, 29244, 6158, 44731, 764, 628, 220, 44731, 44513, 13, 198, 9, 1, 9, 1171, 6805, 286, 1398, 1168, 5097, 62, 6369, 34, 3698, 62, 26947, 62, 23428, 2389, 6234, 198, 9, 1, 9, 466, 407, 2291, 584, 2723, 3696, 994, 10185, 198, 220, 220, 220, 41876, 12, 16402, 3535, 50, 450, 499, 764, 628, 220, 220, 220, 42865, 4049, 7635, 41876, 1976, 1069, 5276, 62, 7890, 62, 2100, 62, 18224, 62, 7635, 764, 198, 220, 220, 220, 42865, 10088, 41876, 1976, 1069, 5276, 62, 7890, 62, 2100, 62, 46616, 764, 198, 220, 220, 220, 42865, 1249, 27190, 41876, 6056, 26173, 8924, 705, 55, 4458, 25113, 2943, 5626, 13918, 764, 220, 764, 220, 764, 220, 764, 220, 764, 220, 764, 220, 764, 220, 764, 220, 764, 220, 764, 366, 764, 198, 220, 220, 220, 42865, 2685, 62, 28665, 41876, 1976, 1069, 5276, 62, 3846, 62, 28665, 62, 26591, 764, 198, 220, 220, 220, 42865, 2685, 62, 28665, 62, 1462, 41876, 1976, 1069, 5276, 62, 3846, 62, 28665, 62, 26591, 764, 198, 220, 220, 220, 42865, 2685, 62, 808, 41876, 1976, 1069, 5276, 62, 3846, 62, 808, 764, 198, 220, 220, 220, 42865, 2685, 62, 808, 62, 1462, 41876, 1976, 1069, 5276, 62, 3846, 62, 808, 764, 198, 220, 220, 220, 7102, 2257, 1565, 4694, 269, 62, 4906, 62, 23144, 41876, 1976, 1069, 5276, 62, 7890, 62, 2100, 62, 4906, 26173, 8924, 705, 23144, 4458, 25113, 2943, 5626, 13918, 198, 220, 220, 220, 7102, 2257, 1565, 4694, 269, 62, 4906, 62, 4868, 41876, 1976, 1069, 5276, 62, 7890, 62, 2100, 62, 4906, 26173, 8924, 705, 4868, 4458, 25113, 2943, 5626, 13918, 198, 220, 220, 220, 42865, 14643, 81, 579, 7589, 41876, 450, 499, 62, 30388, 26173, 8924, 705, 55, 4458, 25113, 2943, 5626, 13918, 764, 220, 764, 220, 764, 220, 764, 220, 764, 220, 764, 220, 764, 220, 764, 220, 764, 220, 764, 366, 764, 198, 220, 220, 220, 42865, 905, 15414, 20500, 41876, 450, 499, 62, 30388, 26173, 8924, 705, 55, 4458, 25113, 2943, 5626, 13918, 764, 220, 764, 220, 764, 220, 764, 220, 764, 220, 764, 220, 764, 220, 764, 220, 764, 220, 764, 366, 764, 198, 220, 220, 220, 42865, 2099, 41876, 1976, 1069, 5276, 62, 7890, 62, 2100, 62, 4906, 764, 198, 220, 220, 220, 42865, 10451, 16, 41876, 1976, 1069, 5276, 62, 12102, 341, 62, 687, 4712, 16, 764, 198, 220, 220, 220, 42865, 10451, 17, 41876, 1976, 1069, 5276, 62, 12102, 341, 62, 687, 4712, 16, 764, 198, 220, 220, 220, 7102, 2257, 1565, 4694, 269, 62, 4906, 62, 23108, 41876, 1976, 1069, 5276, 62, 7890, 62, 2100, 62, 4906, 26173, 8924, 705, 23108, 4458, 25113, 2943, 5626, 13918, 198, 220, 220, 220, 7102, 2257, 1565, 4694, 269, 62, 4906, 62, 4475, 41876, 1976, 1069, 5276, 62, 7890, 62, 2100, 62, 4906, 26173, 8924, 705, 4475, 4458, 25113, 2943, 5626, 13918, 198, 220, 220, 220, 7102, 2257, 1565, 4694, 269, 62, 4906, 62, 12501, 4402, 41876, 1976, 1069, 5276, 62, 7890, 62, 2100, 62, 4906, 26173, 8924, 705, 12501, 4402, 4458, 25113, 2943, 5626, 13918, 198, 220, 220, 220, 7102, 2257, 1565, 4694, 269, 62, 4906, 62, 5239, 13664, 41876, 1976, 1069, 5276, 62, 7890, 62, 2100, 62, 4906, 26173, 8924, 705, 5239, 24539, 4458, 25113, 2943, 5626, 13918, 198, 220, 220, 220, 7102, 2257, 1565, 4694, 269, 62, 4906, 62, 2435, 41876, 1976, 1069, 5276, 62, 7890, 62, 2100, 62, 4906, 26173, 8924, 705, 2435, 4458, 25113, 2943, 5626, 13918, 198, 220, 220, 220, 7102, 2257, 1565, 4694, 269, 62, 4906, 62, 1929, 2305, 41876, 1976, 1069, 5276, 62, 7890, 62, 2100, 62, 4906, 26173, 8924, 705, 1929, 2305, 4458, 25113, 2943, 5626, 13918, 198, 220, 220, 220, 7102, 2257, 1565, 4694, 269, 62, 7635, 62, 11338, 41876, 1976, 1069, 5276, 62, 7890, 62, 2100, 62, 18224, 62, 7635, 26173, 8924, 705, 11338, 4458, 25113, 2943, 5626, 13918, 198, 220, 220, 220, 7102, 2257, 1565, 4694, 269, 62, 7635, 62, 43917, 41876, 1976, 1069, 5276, 62, 7890, 62, 2100, 62, 18224, 62, 7635, 26173, 8924, 705, 43917, 4458, 25113, 2943, 5626, 13918, 198, 220, 220, 220, 7102, 2257, 1565, 4694, 269, 62, 7635, 62, 17018, 41876, 1976, 1069, 5276, 62, 7890, 62, 2100, 62, 18224, 62, 7635, 26173, 8924, 705, 17018, 4458, 25113, 2943, 5626, 13918, 198, 220, 220, 220, 7102, 2257, 1565, 4694, 269, 62, 46616, 62, 23395, 41876, 1976, 1069, 5276, 62, 7890, 62, 2100, 62, 46616, 26173, 8924, 705, 23395, 4458, 25113, 2943, 5626, 13918, 198, 220, 220, 220, 7102, 2257, 1565, 4694, 269, 62, 46616, 62, 40496, 41876, 1976, 1069, 5276, 62, 7890, 62, 2100, 62, 46616, 26173, 8924, 705, 40496, 4458, 25113, 2943, 5626, 13918, 198, 220, 220, 220, 7102, 2257, 1565, 4694, 269, 62, 46616, 62, 18223, 263, 14813, 41876, 1976, 1069, 5276, 62, 7890, 62, 2100, 62, 46616, 26173, 8924, 705, 18223, 263, 817, 272, 4458, 25113, 2943, 5626, 13918, 198, 220, 220, 220, 7102, 2257, 1565, 4694, 269, 62, 46616, 62, 18223, 263, 14813, 382, 13255, 41876, 1976, 1069, 5276, 62, 7890, 62, 2100, 62, 46616, 26173, 8924, 705, 18223, 263, 817, 272, 5574, 36, 13255, 4458, 25113, 2943, 5626, 13918, 198, 220, 220, 220, 7102, 2257, 1565, 4694, 269, 62, 46616, 62, 829, 301, 7637, 41876, 1976, 1069, 5276, 62, 7890, 62, 2100, 62, 46616, 26173, 8924, 705, 1203, 817, 272, 4458, 25113, 2943, 5626, 13918, 198, 220, 220, 220, 7102, 2257, 1565, 4694, 269, 62, 46616, 62, 829, 301, 7637, 382, 13255, 41876, 1976, 1069, 5276, 62, 7890, 62, 2100, 62, 46616, 26173, 8924, 705, 1203, 817, 272, 5574, 36, 13255, 4458, 25113, 2943, 5626, 13918, 198, 220, 220, 220, 7102, 2257, 1565, 4694, 269, 62, 46616, 62, 1662, 23395, 41876, 1976, 1069, 5276, 62, 7890, 62, 2100, 62, 46616, 26173, 8924, 705, 1662, 25262, 4458, 25113, 2943, 5626, 13918, 198, 220, 220, 220, 7102, 2257, 1565, 4694, 269, 62, 46616, 62, 11295, 13255, 41876, 1976, 1069, 5276, 62, 7890, 62, 2100, 62, 46616, 26173, 8924, 705, 1662, 36, 13255, 4458, 25113, 2943, 5626, 13918, 198, 220 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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 ]
CLASS zcl_abak_params DEFINITION PUBLIC FINAL CREATE PRIVATE . PUBLIC SECTION. INTERFACES zif_abak_params . METHODS constructor IMPORTING !i_params TYPE string !i_paramsdef TYPE string RAISING zcx_abak . CLASS-METHODS create_instance IMPORTING !i_params TYPE string !i_paramsdef TYPE string RETURNING value(ro_params) TYPE REF TO zif_abak_params RAISING zcx_abak . PROTECTED SECTION. PRIVATE SECTION. DATA gt_namevalue TYPE zabak_namevalue_t . CONSTANTS: BEGIN OF gc_regex, namevalue TYPE string VALUE '([a-z]\w*)=(\S*)', ##NO_TEXT namevalues TYPE string VALUE '^([a-z]\w*=\S*\s*)*$', ##NO_TEXT END OF gc_regex . METHODS check_against_definition IMPORTING !i_paramsdef TYPE string RAISING zcx_abak . METHODS parse IMPORTING !i_namevalues TYPE string RAISING zcx_abak . ENDCLASS. CLASS ZCL_ABAK_PARAMS IMPLEMENTATION. METHOD check_against_definition. DATA: o_params_definition TYPE REF TO zcl_abak_params_definition. CREATE OBJECT o_params_definition EXPORTING i_definition = i_paramsdef. o_params_definition->check_parameters( gt_namevalue ). ENDMETHOD. METHOD constructor. DATA: o_tools TYPE REF TO zcl_abak_tools. CREATE OBJECT o_tools. o_tools->check_against_regex( i_regex = gc_regex-namevalues i_value = i_params ). parse( i_namevalues = i_params ). check_against_definition( i_paramsdef ). ENDMETHOD. METHOD create_instance. CREATE OBJECT ro_params TYPE zcl_abak_params EXPORTING i_params = i_params i_paramsdef = i_paramsdef. ENDMETHOD. METHOD parse. DATA: o_matcher TYPE REF TO cl_abap_matcher, t_match TYPE match_result_tab, o_exp TYPE REF TO cx_root, s_namevalue LIKE LINE OF gt_namevalue, str TYPE char100. FIELD-SYMBOLS: <s_match> LIKE LINE OF t_match, <s_submatch> LIKE LINE OF <s_match>-submatches. IF i_namevalues IS INITIAL. RETURN. ENDIF. TRY. o_matcher = cl_abap_matcher=>create( pattern = gc_regex-namevalue text = i_namevalues ignore_case = abap_true ). t_match = o_matcher->find_all( ). LOOP AT t_match ASSIGNING <s_match>. CLEAR s_namevalue. LOOP AT <s_match>-submatches ASSIGNING <s_submatch>. "#EC CI_NESTED str = i_namevalues+<s_submatch>-offset(<s_submatch>-length). CASE sy-tabix. WHEN 1. " Name s_namevalue-name = str. WHEN 2. " Value s_namevalue-value = str. WHEN OTHERS. RAISE EXCEPTION TYPE zcx_abak EXPORTING textid = zcx_abak=>unexpected_error. ENDCASE. ENDLOOP. INSERT s_namevalue INTO TABLE gt_namevalue. IF sy-subrc <> 0. RAISE EXCEPTION TYPE zcx_abak_params EXPORTING textid = zcx_abak_params=>duplicate name = s_namevalue-name. ENDIF. ENDLOOP. CATCH cx_sy_regex cx_sy_matcher INTO o_exp. RAISE EXCEPTION TYPE zcx_abak EXPORTING previous = o_exp. ENDTRY. ENDMETHOD. METHOD zif_abak_params~get. DATA: upper_name LIKE i_name. FIELD-SYMBOLS <s_namevalue> LIKE LINE OF gt_namevalue. upper_name = to_upper( i_name ). READ TABLE gt_namevalue ASSIGNING <s_namevalue> WITH KEY name = upper_name. IF sy-subrc = 0. r_value = <s_namevalue>-value. ENDIF. ENDMETHOD. ENDCLASS.
[ 31631, 1976, 565, 62, 397, 461, 62, 37266, 5550, 20032, 17941, 198, 220, 44731, 198, 220, 25261, 198, 220, 29244, 6158, 4810, 3824, 6158, 764, 628, 220, 44731, 44513, 13, 628, 220, 220, 220, 23255, 37, 2246, 1546, 1976, 361, 62, 397, 461, 62, 37266, 764, 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, 5145, 72, 62, 37266, 41876, 4731, 198, 220, 220, 220, 220, 220, 220, 220, 5145, 72, 62, 37266, 4299, 41876, 4731, 198, 220, 220, 220, 220, 220, 17926, 1797, 2751, 198, 220, 220, 220, 220, 220, 220, 220, 1976, 66, 87, 62, 397, 461, 764, 198, 220, 220, 220, 42715, 12, 49273, 50, 2251, 62, 39098, 198, 220, 220, 220, 220, 220, 30023, 9863, 2751, 198, 220, 220, 220, 220, 220, 220, 220, 5145, 72, 62, 37266, 41876, 4731, 198, 220, 220, 220, 220, 220, 220, 220, 5145, 72, 62, 37266, 4299, 41876, 4731, 198, 220, 220, 220, 220, 220, 30826, 4261, 15871, 198, 220, 220, 220, 220, 220, 220, 220, 1988, 7, 305, 62, 37266, 8, 41876, 4526, 37, 5390, 1976, 361, 62, 397, 461, 62, 37266, 198, 220, 220, 220, 220, 220, 17926, 1797, 2751, 198, 220, 220, 220, 220, 220, 220, 220, 1976, 66, 87, 62, 397, 461, 764, 198, 220, 48006, 9782, 1961, 44513, 13, 198, 220, 4810, 3824, 6158, 44513, 13, 628, 220, 220, 220, 42865, 308, 83, 62, 3672, 8367, 41876, 1976, 397, 461, 62, 3672, 8367, 62, 83, 764, 198, 220, 220, 220, 7102, 2257, 1565, 4694, 25, 198, 220, 220, 220, 220, 220, 347, 43312, 3963, 308, 66, 62, 260, 25636, 11, 198, 220, 220, 220, 220, 220, 220, 220, 1438, 8367, 220, 41876, 4731, 26173, 8924, 705, 26933, 64, 12, 89, 60, 59, 86, 28104, 16193, 59, 50, 28104, 3256, 220, 220, 220, 220, 22492, 15285, 62, 32541, 198, 220, 220, 220, 220, 220, 220, 220, 1438, 27160, 41876, 4731, 26173, 8924, 705, 61, 26933, 64, 12, 89, 60, 59, 86, 9, 28, 59, 50, 9, 59, 82, 9, 27493, 3, 3256, 22492, 15285, 62, 32541, 198, 220, 220, 220, 220, 220, 23578, 3963, 308, 66, 62, 260, 25636, 764, 628, 220, 220, 220, 337, 36252, 50, 2198, 62, 32826, 62, 46758, 198, 220, 220, 220, 220, 220, 30023, 9863, 2751, 198, 220, 220, 220, 220, 220, 220, 220, 5145, 72, 62, 37266, 4299, 41876, 4731, 198, 220, 220, 220, 220, 220, 17926, 1797, 2751, 198, 220, 220, 220, 220, 220, 220, 220, 1976, 66, 87, 62, 397, 461, 764, 198, 220, 220, 220, 337, 36252, 50, 21136, 198, 220, 220, 220, 220, 220, 30023, 9863, 2751, 198, 220, 220, 220, 220, 220, 220, 220, 5145, 72, 62, 3672, 27160, 41876, 4731, 198, 220, 220, 220, 220, 220, 17926, 1797, 2751, 198, 220, 220, 220, 220, 220, 220, 220, 1976, 66, 87, 62, 397, 461, 764, 198, 10619, 31631, 13, 628, 198, 198, 31631, 1168, 5097, 62, 32, 4339, 42, 62, 27082, 40834, 30023, 2538, 10979, 6234, 13, 628, 198, 220, 337, 36252, 2198, 62, 32826, 62, 46758, 13, 198, 220, 220, 220, 42865, 25, 267, 62, 37266, 62, 46758, 41876, 4526, 37, 5390, 1976, 565, 62, 397, 461, 62, 37266, 62, 46758, 13, 628, 220, 220, 220, 29244, 6158, 25334, 23680, 267, 62, 37266, 62, 46758, 198, 220, 220, 220, 220, 220, 7788, 15490, 2751, 198, 220, 220, 220, 220, 220, 220, 220, 1312, 62, 46758, 796, 1312, 62, 37266, 4299, 13, 628, 220, 220, 220, 267, 62, 37266, 62, 46758, 3784, 9122, 62, 17143, 7307, 7, 308, 83, 62, 3672, 8367, 6739, 628, 220, 23578, 49273, 13, 628, 198, 220, 337, 36252, 23772, 13, 198, 220, 220, 220, 42865, 25, 267, 62, 31391, 41876, 4526, 37, 5390, 1976, 565, 62, 397, 461, 62, 31391, 13, 628, 220, 220, 220, 29244, 6158, 25334, 23680, 267, 62, 31391, 13, 198, 220, 220, 220, 267, 62, 31391, 3784, 9122, 62, 32826, 62, 260, 25636, 7, 1312, 62, 260, 25636, 796, 308, 66, 62, 260, 25636, 12, 3672, 27160, 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, 1312, 62, 8367, 796, 1312, 62, 37266, 6739, 198, 220, 220, 220, 21136, 7, 1312, 62, 3672, 27160, 796, 1312, 62, 37266, 6739, 198, 220, 220, 220, 2198, 62, 32826, 62, 46758, 7, 1312, 62, 37266, 4299, 6739, 198, 220, 23578, 49273, 13, 628, 198, 220, 337, 36252, 2251, 62, 39098, 13, 198, 220, 220, 220, 29244, 6158, 25334, 23680, 686, 62, 37266, 41876, 1976, 565, 62, 397, 461, 62, 37266, 198, 220, 220, 220, 220, 220, 7788, 15490, 2751, 198, 220, 220, 220, 220, 220, 220, 220, 1312, 62, 37266, 220, 220, 220, 796, 1312, 62, 37266, 198, 220, 220, 220, 220, 220, 220, 220, 1312, 62, 37266, 4299, 796, 1312, 62, 37266, 4299, 13, 198, 220, 23578, 49273, 13, 628, 198, 220, 337, 36252, 21136, 13, 628, 220, 220, 220, 42865, 25, 267, 62, 6759, 2044, 220, 220, 41876, 4526, 37, 5390, 537, 62, 397, 499, 62, 6759, 2044, 11, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 256, 62, 15699, 220, 220, 220, 220, 41876, 2872, 62, 20274, 62, 8658, 11, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 267, 62, 11201, 220, 220, 220, 220, 220, 220, 41876, 4526, 37, 5390, 43213, 62, 15763, 11, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 264, 62, 3672, 8367, 34178, 48920, 3963, 308, 83, 62, 3672, 8367, 11, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 965, 220, 220, 220, 220, 220, 220, 220, 220, 41876, 1149, 3064, 13, 628, 220, 220, 220, 18930, 24639, 12, 23060, 10744, 3535, 50, 25, 1279, 82, 62, 15699, 29, 220, 220, 220, 34178, 48920, 3963, 256, 62, 15699, 11, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 1279, 82, 62, 7266, 15699, 29, 34178, 48920, 3963, 1279, 82, 62, 15699, 29, 12, 7266, 6759, 2052 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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 ]
private section. constants GC_INCL_NAME type STRING value 'ZCL_ZGWSO_MPC=================CP' ##NO_TEXT. methods DEFINE_SALESORDER raising /IWBEP/CX_MGW_MED_EXCEPTION . methods DEFINE_SALESORDERITEM raising /IWBEP/CX_MGW_MED_EXCEPTION .
[ 19734, 2665, 13, 628, 220, 38491, 20145, 62, 1268, 5097, 62, 20608, 2099, 19269, 2751, 1988, 705, 57, 5097, 62, 57, 33191, 15821, 62, 44, 5662, 4770, 28, 8697, 6, 22492, 15285, 62, 32541, 13, 628, 220, 5050, 23449, 8881, 62, 50, 1847, 1546, 12532, 1137, 198, 220, 220, 220, 8620, 198, 220, 220, 220, 220, 220, 1220, 40, 45607, 8905, 14, 34, 55, 62, 20474, 54, 62, 30733, 62, 6369, 42006, 2849, 764, 198, 220, 5050, 23449, 8881, 62, 50, 1847, 1546, 12532, 1137, 2043, 3620, 198, 220, 220, 220, 8620, 198, 220, 220, 220, 220, 220, 1220, 40, 45607, 8905, 14, 34, 55, 62, 20474, 54, 62, 30733, 62, 6369, 42006, 2849, 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, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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 lcl_local_class DEFINITION CREATE PRIVATE. PUBLIC SECTION. DATA local_attribute TYPE i. PROTECTED SECTION. PRIVATE SECTION. ENDCLASS. CLASS lcl_local_class IMPLEMENTATION. ENDCLASS.
[ 31631, 300, 565, 62, 12001, 62, 4871, 5550, 20032, 17941, 29244, 6158, 4810, 3824, 6158, 13, 628, 220, 44731, 44513, 13, 198, 220, 220, 220, 42865, 1957, 62, 42348, 41876, 1312, 13, 198, 220, 48006, 9782, 1961, 44513, 13, 198, 220, 4810, 3824, 6158, 44513, 13, 198, 198, 10619, 31631, 13, 198, 198, 31631, 300, 565, 62, 12001, 62, 4871, 30023, 2538, 10979, 6234, 13, 198, 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 ]
CLASS zcl_abapgit_syntax_abap DEFINITION PUBLIC INHERITING FROM zcl_abapgit_syntax_highlighter CREATE PUBLIC . PUBLIC SECTION. CLASS-METHODS class_constructor. METHODS constructor. CONSTANTS: BEGIN OF c_css, keyword TYPE string VALUE 'keyword', text TYPE string VALUE 'text', comment TYPE string VALUE 'comment', END OF c_css, BEGIN OF c_token, keyword TYPE c VALUE 'K', text TYPE c VALUE 'T', comment TYPE c VALUE 'C', END OF c_token, BEGIN OF c_regex, comment TYPE string VALUE '##|"|^\*', text TYPE string VALUE '`|''|\||\{|\}', keyword TYPE string VALUE '&&|\b[-_a-z0-9]+\b', END OF c_regex. PROTECTED SECTION. CLASS-DATA gt_keywords TYPE HASHED TABLE OF string WITH UNIQUE KEY table_line. CLASS-METHODS init_keywords. CLASS-METHODS is_keyword IMPORTING iv_chunk TYPE string RETURNING VALUE(rv_yes) TYPE abap_bool. METHODS order_matches REDEFINITION. METHODS parse_line REDEFINITION. PRIVATE SECTION. ENDCLASS. CLASS zcl_abapgit_syntax_abap IMPLEMENTATION. METHOD class_constructor. init_keywords( ). ENDMETHOD. METHOD constructor. super->constructor( ). " Initialize instances of regular expression add_rule( iv_regex = c_regex-keyword iv_token = c_token-keyword iv_style = c_css-keyword ). add_rule( iv_regex = c_regex-comment iv_token = c_token-comment iv_style = c_css-comment ). add_rule( iv_regex = c_regex-text iv_token = c_token-text iv_style = c_css-text ). ENDMETHOD. METHOD init_keywords. DATA: lv_keywords TYPE string, lt_keywords TYPE STANDARD TABLE OF string. lv_keywords = '&&|?TO|ABAP-SOURCE|ABBREVIATED|ABS|ABSTRACT|ACCEPT|ACCEPTING' && '|ACCORDING|ACOS|ACTIVATION|ACTUAL|ADD|ADD-CORRESPONDING|ADJACENT|AFTER|ALIAS' && '|ALIASES|ALIGN|ALL|ALLOCATE|ALPHA|ANALYSIS|ANALYZER|AND|ANY|APPEND|APPENDAGE' && '|APPENDING|APPLICATION|ARCHIVE|AREA|ARITHMETIC|AS|ASCENDING|ASIN|ASPECT|ASSERT' && '|ASSIGN|ASSIGNED|ASSIGNING|ASSOCIATION|ASYNCHRONOUS|AT|ATAN|ATTRIBUTES|AUTHORITY' && '|AUTHORITY-CHECK|AVG|BACK|BACKGROUND|BACKUP|BACKWARD|BADI|BASE|BEFORE|BEGIN' && '|BETWEEN|BIG|BINARY|BIT|BIT-AND|BIT-NOT|BIT-OR|BIT-XOR|BLACK|BLANK' && '|BLANKS|BLOB|BLOCK|BLOCKS|BLUE|BOUND|BOUNDARIES|BOUNDS|BOXED|BREAK-POINT|BT' && '|BUFFER|BY|BYPASSING|BYTE|BYTE-CA|BYTE-CN|BYTE-CO|BYTE-CS|BYTE-NA|BYTE-NS' && '|BYTE-ORDER|C|CA|CALL|CALLING|CASE|CAST|CASTING|CATCH|CEIL|CENTER|CENTERED' && '|CHAIN|CHAIN-INPUT|CHAIN-REQUEST|CHANGE|CHANGING|CHANNELS|CHARACTER|CHARLEN' && '|CHAR-TO-HEX|CHECK|CHECKBOX|CI_|CIRCULAR|CLASS|CLASS-CODING|CLASS-DATA' && '|CLASS-EVENTS|CLASS-METHODS|CLASS-POOL|CLEANUP|CLEAR|CLIENT|CLOB|CLOCK|CLOSE' && '|CN|CO|COALESCE|CODE|CODING|COL_BACKGROUND|COL_GROUP|COL_HEADING|COL_KEY' && '|COL_NEGATIVE|COL_NORMAL|COL_POSITIVE|COL_TOTAL|COLLECT|COLOR|COLUMN|COLUMNS' && '|COMMENT|COMMENTS|COMMIT|COMMON|COMMUNICATION|COMPARING|COMPONENT|COMPONENTS' && '|COMPRESSION|COMPUTE|CONCAT|CONCATENATE|COND|CONDENSE|CONDITION|CONNECT' && '|CONNECTION|CONSTANTS|CONTEXT|CONTEXTS|CONTINUE|CONTROL|CONTROLS|CONV|CONVERSION' && '|CONVERT|COPIES|COPY|CORRESPONDING|COS|COSH|COUNT|COUNTRY|COVER|CP|CPI|CREATE' && '|CREATING|CRITICAL|CS|CURRENCY|CURRENCY_CONVERSION|CURRENT|CURSOR|CURSOR-SELECTION' && '|CUSTOMER|CUSTOMER-FUNCTION|DANGEROUS|DATA|DATABASE|DATAINFO|DATASET|DATE' && '|DAYLIGHT|DBMAXLEN|DD/MM/YY|DD/MM/YYYY|DDMMYY|DEALLOCATE|DECIMAL_SHIFT|DECIMALS' && '|DECLARATIONS|DEEP|DEFAULT|DEFERRED|DEFINE|DEFINING|DEFINITION|DELETE|DELETING' && '|DEMAND|DEPARTMENT|DESCENDING|DESCRIBE|DESTINATION|DETAIL|DIALOG|DIRECTORY' && '|DISCONNECT|DISPLAY|DISPLAY-MODE|DISTANCE|DISTINCT|DIV|DIVIDE|DIVIDE-CORRESPONDING' && '|DIVISION|DO|DUMMY|DUPLICATE|DUPLICATES|DURATION|DURING|DYNAMIC|DYNPRO|' && '|EDIT|EDITOR-CALL|ELSE|ELSEIF|EMPTY|ENABLED|ENABLING|ENCODING|END|ENDAT|ENDCASE' && '|ENDCATCH|ENDCHAIN|ENDCLASS|ENDDO|ENDENHANCEMENT|END-ENHANCEMENT-SECTION' && '|ENDEXEC|ENDFORM|ENDFUNCTION|ENDIAN|ENDIF|ENDING|ENDINTERFACE' && '|END-LINES|ENDLOOP|ENDMETHOD|ENDMODULE|END-OF-DEFINITION|END-OF-FILE' && '|END-OF-PAGE|END-OF-SELECTION|ENDON|ENDPROVIDE|ENDSELECT|ENDTRY|ENDWHILE' && '|ENGINEERING|ENHANCEMENT|ENHANCEMENT-POINT|ENHANCEMENTS|ENHANCEMENT-SECTION' && '|ENTRIES|ENTRY|ENVIRONMENT|EQ|EQUIV|ERRORMESSAGE|ERRORS|ESCAPE|ESCAPING' && '|EVENT|EVENTS|EXACT|EXCEPT|EXCEPTION|EXCEPTIONS|EXCEPTION-TABLE|EXCLUDE|EXCLUDING' && '|EXEC|EXECUTE|EXISTS|EXIT|EXIT-COMMAND|EXP|EXPAND|EXPANDING|EXPIRATION|EXPLICIT' && '|EXPONENT|EXPORT|EXPORTING|EXTEND|EXTENDED|EXTENSION|EXTRACT|FAIL|FETCH|FIELD' && '|FIELD-GROUPS|FIELDS|FIELD-SYMBOL|FIELD-SYMBOLS|FILE|FILTER|FILTERS|FILTER-TABLE' && '|FINAL|FIND|FIRST|FIRST-LINE|FIXED-POINT|FKEQ|FKGE|FLOOR|FLUSH|FONT|FOR|FORM' && '|FORMAT|FORWARD|FOUND|FRAC|FRAME|FRAMES|FREE|FRIENDS|FROM|FUNCTION|FUNCTIONALITY' && '|FUNCTION-POOL|FURTHER|GAPS|GE|GENERATE|GET|GIVING|GKEQ|GKGE|GLOBAL|GRANT' && '|GREEN|GROUP|GROUPS|GT|HANDLE|HANDLER|HARMLESS|HASHED|HAVING|HDB|HEADER|HEADERS' && '|HEADING|HEAD-LINES|HELP-ID|HELP-REQUEST|HIDE|HIGH|HINT|HOLD|HOTSPOT|I|ICON|ID' && '|IDENTIFICATION|IDENTIFIER|IDS|IF|IGNORE|IGNORING|IMMEDIATELY|IMPLEMENTATION' && '|IMPLEMENTATIONS|IMPLEMENTED|IMPLICIT|IMPORT|IMPORTING|IN|INACTIVE|INCL|INCLUDE' && '|INCLUDES|INCLUDING|INCREMENT|INDEX|INDEX-LINE|INFOTYPES|INHERITING|INIT|INITIAL' && '|INITIALIZATION|INNER|INOUT|INPUT|INSERT|INSTANCES|INTENSIFIED|INTERFACE' && '|INTERFACE-POOL|INTERFACES|INTERNAL|INTERVALS|INTO|INVERSE|INVERTED-DATE|IS' && '|ISO|JOB|JOIN|KEEP|KEEPING|KERNEL|KEY|KEYS|KEYWORDS|KIND' && '|LANGUAGE|LAST|LATE|LAYOUT|LE|LEADING|LEAVE|LEFT|LEFT-JUSTIFIED|LEFTPLUS' && '|LEFTSPACE|LEGACY|LENGTH|LET|LEVEL|LEVELS|LIKE|LINE|LINE-COUNT|LINEFEED' && '|LINES|LINE-SELECTION|LINE-SIZE|LIST|LISTBOX|LIST-PROCESSING|LITTLE|LLANG' && '|LOAD|LOAD-OF-PROGRAM|LOB|LOCAL|LOCALE|LOCATOR|LOG|LOG10|LOGFILE|LOGICAL' && '|LOG-POINT|LONG|LOOP|LOW|LOWER|LPAD|LPI|LT|M|MAIL|MAIN|MAJOR-ID|MAPPING|MARGIN' && '|MARK|MASK|MATCH|MATCHCODE|MAX|MAXIMUM|MEDIUM|MEMBERS|MEMORY|MESH|MESSAGE' && '|MESSAGE-ID|MESSAGES|MESSAGING|METHOD|METHODS|MIN|MINIMUM|MINOR-ID|MM/DD/YY' && '|MM/DD/YYYY|MMDDYY|MOD|MODE|MODIF|MODIFIER|MODIFY|MODULE|MOVE|MOVE-CORRESPONDING' && '|MULTIPLY|MULTIPLY-CORRESPONDING|NA|NAME|NAMETAB|NATIVE|NB|NE|NESTED|NESTING' && '|NEW|NEW-LINE|NEW-PAGE|NEW-SECTION|NEXT|NO|NODE|NODES|NO-DISPLAY' && '|NO-EXTENSION|NO-GAP|NO-GAPS|NO-GROUPING|NO-HEADING|NON-UNICODE|NON-UNIQUE' && '|NO-SCROLLING|NO-SIGN|NOT|NO-TITLE|NO-TOPOFPAGE|NO-ZERO|NP|NS|NULL|NUMBER' && '|NUMOFCHAR|O|OBJECT|OBJECTS|OBLIGATORY|OCCURRENCE|OCCURRENCES|OCCURS|OF|OFF' && '|OFFSET|OLE|ON|ONLY|OPEN|OPTION|OPTIONAL|OPTIONS|OR|ORDER|OTHER|OTHERS|OUT' && '|OUTER|OUTPUT|OUTPUT-LENGTH|OVERFLOW|OVERLAY|PACK|PACKAGE|PAD|PADDING|PAGE' && '|PAGES|PARAMETER|PARAMETERS|PARAMETER-TABLE|PART|PARTIALLY|PATTERN|PERCENTAGE' && '|PERFORM|PERFORMING|PERSON|PF1|PF2|PF3|PF4|PF5|PF6|PF7|PF8|PF9|PF10|PF11|PF12' && '|PF13|PF14|PF15|PF-STATUS|PINK|PLACES|POOL|POS_HIGH|POS_LOW' && '|POSITION|PRAGMAS|PRECOMPILED|PREFERRED|PRESERVING|PRIMARY|PRINT|PRINT-CONTROL' && '|PRIORITY|PRIVATE|PROCEDURE|PROCESS|PROGRAM|PROPERTY|PROTECTED|PROVIDE|PUBLIC' && '|PUSHBUTTON|PUT|QUEUE-ONLY|QUICKINFO|RADIOBUTTON|RAISE|RAISING|RANGE|RANGES' && '|RAW|READ|READER|READ-ONLY|RECEIVE|RECEIVED|RECEIVER|RECEIVING|RED|REDEFINITION' && '|REDUCE|REDUCED|REF|REFERENCE|REFRESH|REGEX|REJECT|REMOTE|RENAMING|REPLACE' && '|REPLACEMENT|REPLACING|REPORT|REQUEST|REQUESTED|RESERVE|RESET|RESOLUTION' && '|RESPECTING|RESPONSIBLE|RESULT|RESULTS|RESUMABLE|RESUME|RETRY|RETURN|RETURNCODE' && '|RETURNING|RIGHT|RIGHT-JUSTIFIED|RIGHTPLUS|RIGHTSPACE|RISK|RMC_COMMUNICATION_FAILURE' && '|RMC_INVALID_STATUS|RMC_SYSTEM_FAILURE|ROLE|ROLLBACK|ROUND|ROWS|RUN|SAP' && '|SAP-SPOOL|SAVING|SCALE_PRESERVING|SCALE_PRESERVING_SCIENTIFIC|SCAN|SCIENTIFIC' && '|SCIENTIFIC_WITH_LEADING_ZERO|SCREEN|SCROLL|SCROLL-BOUNDARY|SCROLLING|SEARCH' && '|SECONDARY|SECONDS|SECTION|SELECT|SELECTION|SELECTIONS|SELECTION-SCREEN|SELECTION-SET' && '|SELECTION-SETS|SELECTION-TABLE|SELECT-OPTIONS|SEND|SEPARATE|SEPARATED|SET' && '|SHARED|SHIFT|SHORT|SHORTDUMP-ID|SIGN|SIGN_AS_POSTFIX|SIMPLE|SIN|SINGLE|SINH|SIZE' && '|SKIP|SKIPPING|SMART|SOME|SORT|SORTABLE|SORTED|SOURCE|SPACE|SPECIFIED|SPLIT|SPOOL' && '|SPOTS|SQL|SQLSCRIPT|SQRT|STABLE|STAMP|STANDARD|STARTING|START-OF-SELECTION|STATE' && '|STATEMENT|STATEMENTS|STATIC|STATICS|STATUSINFO|STEP-LOOP|STOP|STRLEN|STRUCTURE' && '|STRUCTURES|STYLE|SUBKEY|SUBMATCHES|SUBMIT|SUBROUTINE|SUBSCREEN|SUBSTRING|SUBTRACT' && '|SUBTRACT-CORRESPONDING|SUFFIX|SUM|SUMMARY|SUMMING|SUPPLIED|SUPPLY|SUPPRESS|SWITCH' && '|SWITCHSTATES|SYMBOL|SYNCPOINTS|SYNTAX|SYNTAX-CHECK|SYNTAX-TRACE' && '|SYSTEM-CALL|SYSTEM-EXCEPTIONS|SYSTEM-EXIT|TAB|TABBED|TABLE|TABLES|TABLEVIEW|TABSTRIP' && '|TAN|TANH|TARGET|TASK|TASKS|TEST|TESTING|TEXT|TEXTPOOL|THEN|THROW|TIME|TIMES|TIMESTAMP' && '|TIMEZONE|TITLE|TITLEBAR|TITLE-LINES|TO|TOKENIZATION|TOKENS|TOP-LINES|TOP-OF-PAGE' && '|TRACE-FILE|TRACE-TABLE|TRAILING|TRANSACTION|TRANSFER|TRANSFORMATION|TRANSLATE' && '|TRANSPORTING|TRMAC|TRUNC|TRUNCATE|TRUNCATION|TRY|TYPE|TYPE-POOL|TYPE-POOLS|TYPES' && '|ULINE|UNASSIGN|UNDER|UNICODE|UNION|UNIQUE|UNIT|UNIT_CONVERSION|UNIX|UNPACK|UNTIL' && '|UNWIND|UP|UPDATE|UPPER|USER|USER-COMMAND|USING|UTF-8|VALID|VALUE|VALUE-REQUEST|VALUES' && '|VARY|VARYING|VERIFICATION-MESSAGE|VERSION|VIA|VIEW|VISIBLE|WAIT|WARNING|WHEN|WHENEVER' && '|WHERE|WHILE|WIDTH|WINDOW|WINDOWS|WITH|WITH-HEADING|WITHOUT|WITH-TITLE|WORD|WORK' && '|WRITE|WRITER|X|XML|XSD|XSTRLEN|YELLOW|YES|YYMMDD|Z|ZERO|ZONE' && '|BINTOHEX|CHAR|CLNT|CONCAT_WITH_SPACE|CURR|DATS|DATS_ADD_DAYS|DATS_ADD_MONTHS' && '|DATS_DAYS_BETWEEN|DATS_IS_VALID|DEC|END-OF-EDITING|END-TEST-INJECTION|END-TEST-SEAM' && '|ENDWITH|ENUM|HEXTOBIN|INSTANCE|INSTR|LANG|LTRIM|NUMC|PUSH' && '|QUAN|RETURNS|RPAD|RTRIM|SSTRING|START-OF-EDITING|TEST-INJECTION|TEST-SEAM|TIMS' && '|TIMS_IS_VALID|TSTMP_ADD_SECONDS|TSTMP_CURRENT_UTCTIMESTAMP|TSTMP_IS_VALID' && '|TSTMP_SECONDS_BETWEEN|B|D|DECFLOAT16|DECFLOAT34|F|INT8|N|P|S|STRING|T|UTCLONG|XSTRING' && '|ABAP_BOOL|ACCP|CUKY|DF16_DEC|DF16_RAW|DF34_DEC|DF34_RAW|FLTP' && '|INT1|INT2|INT4|LCHR|LRAW|RAWSTRING|DF16_SCL|DF34_SCL' && '|PREC|VARC|CLIKE|CSEQUENCE|DECFLOAT|NUMERIC|XSEQUENCE|ME|SYST|SY' && '|BIT-SET|BOOLC|BOOLX|CHAR_OFF|CMAX|CMIN|CONCAT_LINES_OF|CONTAINS|CONTAINS_ANY_NOT_OF' && '|CONTAINS_ANY_OF|COUNT_ANY_NOT_OF|COUNT_ANY_OF|FIND_ANY_NOT_OF|FIND_ANY_OF|FIND_END' && '|FROM_MIXED|IPOW|LINE_EXISTS|LINE_INDEX|MATCHES|NMAX|NMIN|REPEAT|RESCALE|REVERSE' && '|SEGMENT|SHIFT_LEFT|SHIFT_RIGHT|SUBSTRING_AFTER|SUBSTRING_BEFORE|SUBSTRING_FROM|SUBSTRING_TO' && '|TO_LOWER|TO_MIXED|TO_UPPER|UTCLONG_ADD|UTCLONG_CURRENT|UTCLONG_DIFF|XSDBOOL'. SPLIT lv_keywords AT '|' INTO TABLE lt_keywords. " remove duplicates to avoid dumps when converting to a hash table SORT lt_keywords BY table_line ASCENDING. DELETE ADJACENT DUPLICATES FROM lt_keywords. gt_keywords = lt_keywords. " Hash table ENDMETHOD. METHOD is_keyword. DATA lv_str TYPE string. lv_str = to_upper( iv_chunk ). READ TABLE gt_keywords WITH KEY table_line = lv_str TRANSPORTING NO FIELDS. rv_yes = boolc( sy-subrc = 0 ). ENDMETHOD. METHOD order_matches. DATA: lv_index TYPE sy-tabix, lv_line_len TYPE i, lv_prev_token TYPE c. FIELD-SYMBOLS: <ls_prev> TYPE ty_match, <ls_match> TYPE ty_match. SORT ct_matches BY offset. lv_line_len = strlen( iv_line ). LOOP AT ct_matches ASSIGNING <ls_match>. lv_index = sy-tabix. " Delete matches after open text match IF lv_prev_token = c_token-text AND <ls_match>-token <> c_token-text. DELETE ct_matches INDEX lv_index. CONTINUE. ENDIF. CASE <ls_match>-token. WHEN c_token-keyword. IF <ls_match>-offset > 0 AND substring( val = iv_line off = ( <ls_match>-offset - 1 ) len = 1 ) CA '-<'. " Delete match if keyword is part of structure or field symbol DELETE ct_matches INDEX lv_index. CONTINUE. ENDIF. WHEN c_token-comment. <ls_match>-length = lv_line_len - <ls_match>-offset. DELETE ct_matches FROM lv_index + 1. CONTINUE. WHEN c_token-text. <ls_match>-text_tag = substring( val = iv_line off = <ls_match>-offset len = <ls_match>-length ). IF lv_prev_token = c_token-text. IF <ls_match>-text_tag = <ls_prev>-text_tag. <ls_prev>-length = <ls_match>-offset + <ls_match>-length - <ls_prev>-offset. CLEAR lv_prev_token. ELSEIF <ls_prev>-text_tag = '}' AND <ls_match>-text_tag = '{'. <ls_prev>-length = <ls_match>-offset - <ls_prev>-offset - 1. " Shift } out of scope <ls_prev>-offset = <ls_prev>-offset + 1. " Shift { out of scope CLEAR lv_prev_token. ELSEIF <ls_match>-text_tag = '{'. <ls_prev>-length = <ls_match>-offset - <ls_prev>-offset. CLEAR lv_prev_token. ELSEIF <ls_prev>-text_tag = '}'. <ls_prev>-length = <ls_match>-offset - <ls_prev>-offset. <ls_prev>-offset = <ls_prev>-offset + 1. " Shift } out of scope CLEAR lv_prev_token. ENDIF. DELETE ct_matches INDEX lv_index. CONTINUE. ENDIF. ENDCASE. lv_prev_token = <ls_match>-token. ASSIGN <ls_match> TO <ls_prev>. ENDLOOP. ENDMETHOD. METHOD parse_line. "REDEFINITION DATA lv_index TYPE i. FIELD-SYMBOLS <ls_match> LIKE LINE OF rt_matches. rt_matches = super->parse_line( iv_line ). " Remove non-keywords LOOP AT rt_matches ASSIGNING <ls_match> WHERE token = c_token-keyword. lv_index = sy-tabix. IF abap_false = is_keyword( substring( val = iv_line off = <ls_match>-offset len = <ls_match>-length ) ). DELETE rt_matches INDEX lv_index. ENDIF. ENDLOOP. ENDMETHOD. ENDCLASS.
[ 31631, 1976, 565, 62, 397, 499, 18300, 62, 1837, 41641, 62, 397, 499, 5550, 20032, 17941, 198, 220, 44731, 198, 220, 3268, 16879, 2043, 2751, 16034, 1976, 565, 62, 397, 499, 18300, 62, 1837, 41641, 62, 8929, 75, 4799, 198, 220, 29244, 6158, 44731, 764, 628, 220, 44731, 44513, 13, 198, 220, 220, 220, 42715, 12, 49273, 50, 1398, 62, 41571, 273, 13, 198, 220, 220, 220, 337, 36252, 50, 23772, 13, 628, 220, 220, 220, 7102, 2257, 1565, 4694, 25, 198, 220, 220, 220, 220, 220, 347, 43312, 3963, 269, 62, 25471, 11, 198, 220, 220, 220, 220, 220, 220, 220, 21179, 41876, 4731, 26173, 8924, 705, 2539, 4775, 3256, 198, 220, 220, 220, 220, 220, 220, 220, 2420, 220, 220, 220, 41876, 4731, 26173, 8924, 705, 5239, 3256, 198, 220, 220, 220, 220, 220, 220, 220, 2912, 41876, 4731, 26173, 8924, 705, 23893, 3256, 198, 220, 220, 220, 220, 220, 23578, 3963, 269, 62, 25471, 11, 628, 220, 220, 220, 220, 220, 347, 43312, 3963, 269, 62, 30001, 11, 198, 220, 220, 220, 220, 220, 220, 220, 21179, 41876, 269, 26173, 8924, 705, 42, 3256, 198, 220, 220, 220, 220, 220, 220, 220, 2420, 220, 220, 220, 41876, 269, 26173, 8924, 705, 51, 3256, 198, 220, 220, 220, 220, 220, 220, 220, 2912, 41876, 269, 26173, 8924, 705, 34, 3256, 198, 220, 220, 220, 220, 220, 23578, 3963, 269, 62, 30001, 11, 628, 220, 220, 220, 220, 220, 347, 43312, 3963, 269, 62, 260, 25636, 11, 198, 220, 220, 220, 220, 220, 220, 220, 2912, 41876, 4731, 26173, 8924, 705, 2235, 91, 1, 91, 61, 59, 9, 3256, 198, 220, 220, 220, 220, 220, 220, 220, 2420, 220, 220, 220, 41876, 4731, 26173, 8924, 705, 63, 91, 7061, 91, 59, 15886, 59, 90, 91, 59, 92, 3256, 198, 220, 220, 220, 220, 220, 220, 220, 21179, 41876, 4731, 26173, 8924, 705, 25226, 91, 59, 65, 58, 12, 62, 64, 12, 89, 15, 12, 24, 48688, 59, 65, 3256, 198, 220, 220, 220, 220, 220, 23578, 3963, 269, 62, 260, 25636, 13, 628, 220, 48006, 9782, 1961, 44513, 13, 628, 220, 220, 220, 42715, 12, 26947, 308, 83, 62, 2539, 10879, 41876, 367, 11211, 1961, 43679, 3963, 4731, 13315, 4725, 33866, 8924, 35374, 3084, 62, 1370, 13, 628, 220, 220, 220, 42715, 12, 49273, 50, 2315, 62, 2539, 10879, 13, 198, 220, 220, 220, 42715, 12, 49273, 50, 318, 62, 2539, 4775, 198, 220, 220, 220, 220, 220, 30023, 9863, 2751, 21628, 62, 354, 2954, 220, 220, 220, 220, 220, 41876, 4731, 198, 220, 220, 220, 220, 220, 30826, 4261, 15871, 26173, 8924, 7, 81, 85, 62, 8505, 8, 41876, 450, 499, 62, 30388, 13, 628, 220, 220, 220, 337, 36252, 50, 1502, 62, 6759, 2052, 23848, 36, 20032, 17941, 13, 198, 220, 220, 220, 337, 36252, 50, 21136, 62, 1370, 23848, 36, 20032, 17941, 13, 628, 220, 4810, 3824, 6158, 44513, 13, 198, 10619, 31631, 13, 628, 198, 198, 31631, 1976, 565, 62, 397, 499, 18300, 62, 1837, 41641, 62, 397, 499, 30023, 2538, 10979, 6234, 13, 628, 198, 220, 337, 36252, 1398, 62, 41571, 273, 13, 628, 220, 220, 220, 2315, 62, 2539, 10879, 7, 6739, 628, 220, 23578, 49273, 13, 628, 198, 220, 337, 36252, 23772, 13, 628, 220, 220, 220, 2208, 3784, 41571, 273, 7, 6739, 628, 220, 220, 220, 366, 20768, 1096, 10245, 286, 3218, 5408, 198, 220, 220, 220, 751, 62, 25135, 7, 21628, 62, 260, 25636, 796, 269, 62, 260, 25636, 12, 2539, 4775, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 21628, 62, 30001, 796, 269, 62, 30001, 12, 2539, 4775, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 21628, 62, 7635, 796, 269, 62, 25471, 12, 2539, 4775, 6739, 628, 220, 220, 220, 751, 62, 25135, 7, 21628, 62, 260, 25636, 796, 269, 62, 260, 25636, 12, 23893, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 21628, 62, 30001, 796, 269, 62, 30001, 12, 23893, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 21628, 62, 7635, 796, 269, 62, 25471, 12, 23893, 6739, 628, 220, 220, 220, 751, 62, 25135, 7, 21628, 62, 260, 25636, 796, 269, 62, 260, 25636, 12, 5239, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 21628, 62, 30001, 796, 269, 62, 30001, 12, 5239, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 21628, 62, 7635, 796, 269, 62, 25471, 12, 5239, 6739, 628, 220, 23578, 49273, 13, 628, 198, 220, 337, 36252, 2315, 62, 2539, 10879, 13, 628, 220, 220, 220, 42865, 25, 300, 85, 62, 2539, 10879, 41876, 4731, 11, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 300, 83, 62, 2539, 10879, 41876, 49053, 9795, 43679, 3963, 4731, 13, 628, 220, 220, 220, 300, 85, 62, 2539, 10879, 796, 198, 220, 220, 220, 220, 705, 25226, 91, 30, 10468, 91, 6242, 2969, 12, 47690, 91, 6242, 40438, 12861, 11617, 91, 32, 4462, 91, 6242, 18601, 10659, 91, 2246, 42006, 91, 2246, 42006, 2751, 6, 11405, 198, 220, 220, 220, 220, 220, 705, 91, 26861, 12532, 2751, 91, 2246, 2640, 91, 10659, 3824, 6234, 91, 10659, 25620, 91, 29266, 91, 29266, 12, 44879, 19535, 47, 18672, 2751, 91, 2885, 41, 2246, 3525, 91, 8579, 5781, 91, 1847, 43429, 6, 11405, 198, 220, 220, 220, 220, 220, 705, 91, 1847, 43429, 1546, 91, 1847, 16284, 91, 7036, 91, 7036, 4503, 6158, 91, 1847, 47, 7801, 91, 1565, 1847, 16309, 1797, 91, 1565, 1847, 56, 57, 1137, 91, 6981, 91, 31827, 91, 24805, 10619, 91, 24805, 10619, 11879, 6, 11405, 198, 220, 220, 220, 220, 220, 705, 91, 24805, 10619, 2751, 91, 2969, 31484, 6234, 91, 31315, 9306, 91, 12203, 32, 91, 1503, 10554, 47123, 2149, 91, 1921, 91, 42643, 10619, 2751, 91, 1921, 1268, 91, 1921, 47, 9782, 91, 10705, 17395, 6, 11405, 198, 220, 220, 220, 220, 220, 705, 91, 10705, 16284, 91, 10705, 16284, 1961, 91, 10705, 3528, 15871, 91, 10705, 4503, 40, 6234, 91, 26483, 45, 37846, 1340 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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 ]
INTERFACE zif_abapgit_definitions PUBLIC. TYPES: ty_type TYPE c LENGTH 6 . TYPES: ty_bitbyte TYPE c LENGTH 8 . TYPES: ty_sha1 TYPE c LENGTH 40 . TYPES: ty_adler32 TYPE x LENGTH 4. TYPES: BEGIN OF ty_file_signature, path TYPE string, filename TYPE string, sha1 TYPE zif_abapgit_definitions=>ty_sha1, END OF ty_file_signature . TYPES: ty_file_signatures_tt TYPE STANDARD TABLE OF ty_file_signature WITH DEFAULT KEY . TYPES: ty_file_signatures_ts TYPE SORTED TABLE OF ty_file_signature WITH UNIQUE KEY path filename . TYPES: BEGIN OF ty_file. INCLUDE TYPE ty_file_signature. TYPES: data TYPE xstring, END OF ty_file . TYPES: ty_files_tt TYPE STANDARD TABLE OF ty_file WITH DEFAULT KEY . TYPES: ty_string_tt TYPE STANDARD TABLE OF string WITH DEFAULT KEY . TYPES: ty_repo_ref_tt TYPE STANDARD TABLE OF REF TO zcl_abapgit_repo WITH DEFAULT KEY. TYPES ty_git_branch_type TYPE char2 . TYPES: BEGIN OF ty_git_branch, sha1 TYPE zif_abapgit_definitions=>ty_sha1, name TYPE string, type TYPE ty_git_branch_type, is_head TYPE abap_bool, display_name TYPE string, END OF ty_git_branch . TYPES: ty_git_branch_list_tt TYPE STANDARD TABLE OF ty_git_branch WITH DEFAULT KEY . TYPES: BEGIN OF ty_git_tag, sha1 TYPE zif_abapgit_definitions=>ty_sha1, object TYPE zif_abapgit_definitions=>ty_sha1, name TYPE string, type TYPE ty_git_branch_type, display_name TYPE string, tagger_name TYPE string, tagger_email TYPE string, message TYPE string, body TYPE string, END OF ty_git_tag . TYPES: ty_git_tag_list_tt TYPE STANDARD TABLE OF ty_git_tag WITH DEFAULT KEY . TYPES: BEGIN OF ty_hotkey, sequence TYPE string, action TYPE string, END OF ty_hotkey, tty_hotkey TYPE STANDARD TABLE OF ty_hotkey WITH NON-UNIQUE DEFAULT KEY. CONSTANTS: BEGIN OF c_git_branch_type, branch TYPE ty_git_branch_type VALUE 'HD', lightweight_tag TYPE ty_git_branch_type VALUE 'TG', annotated_tag TYPE ty_git_branch_type VALUE 'AT', other TYPE ty_git_branch_type VALUE 'ZZ', END OF c_git_branch_type . CONSTANTS c_head_name TYPE string VALUE 'HEAD' ##NO_TEXT. TYPES: BEGIN OF ty_git_user, name TYPE string, email TYPE string, END OF ty_git_user . TYPES: BEGIN OF ty_comment, committer TYPE ty_git_user, author TYPE ty_git_user, comment TYPE string, END OF ty_comment . TYPES: BEGIN OF ty_item, obj_type TYPE tadir-object, obj_name TYPE tadir-obj_name, devclass TYPE devclass, inactive TYPE abap_bool, END OF ty_item . TYPES: ty_items_tt TYPE STANDARD TABLE OF ty_item WITH DEFAULT KEY . TYPES: ty_items_ts TYPE SORTED TABLE OF ty_item WITH UNIQUE KEY obj_type obj_name . TYPES: BEGIN OF ty_file_item, file TYPE zif_abapgit_definitions=>ty_file, item TYPE ty_item, END OF ty_file_item . TYPES: ty_files_item_tt TYPE STANDARD TABLE OF ty_file_item WITH DEFAULT KEY . TYPES: ty_yes_no TYPE c LENGTH 1. TYPES: BEGIN OF ty_overwrite. INCLUDE TYPE ty_item. TYPES: decision TYPE ty_yes_no, END OF ty_overwrite. TYPES: ty_overwrite_tt TYPE STANDARD TABLE OF ty_overwrite WITH DEFAULT KEY. TYPES: BEGIN OF ty_requirements, met TYPE ty_yes_no, decision TYPE ty_yes_no, END OF ty_requirements. TYPES: BEGIN OF ty_transport_type, request TYPE trfunction, task TYPE trfunction, END OF ty_transport_type. TYPES: BEGIN OF ty_transport, required TYPE abap_bool, transport TYPE trkorr, type TYPE ty_transport_type, END OF ty_transport. TYPES: BEGIN OF ty_deserialize_checks, overwrite TYPE ty_overwrite_tt, warning_package TYPE ty_overwrite_tt, requirements TYPE ty_requirements, transport TYPE ty_transport, END OF ty_deserialize_checks, BEGIN OF ty_delete_checks, transport TYPE ty_transport, END OF ty_delete_checks. TYPES: BEGIN OF ty_metadata, class TYPE string, version TYPE string, late_deser TYPE abap_bool, delete_tadir TYPE abap_bool, ddic TYPE abap_bool, END OF ty_metadata . TYPES: BEGIN OF ty_web_asset, url TYPE w3url, base64 TYPE string, content TYPE xstring, END OF ty_web_asset . TYPES: tt_web_assets TYPE STANDARD TABLE OF ty_web_asset WITH DEFAULT KEY . TYPES: BEGIN OF ty_repo_file, path TYPE string, filename TYPE string, is_changed TYPE abap_bool, rstate TYPE char1, lstate TYPE char1, END OF ty_repo_file . TYPES: tt_repo_files TYPE STANDARD TABLE OF ty_repo_file WITH DEFAULT KEY . TYPES: BEGIN OF ty_stage_files, local TYPE zif_abapgit_definitions=>ty_files_item_tt, remote TYPE zif_abapgit_definitions=>ty_files_tt, END OF ty_stage_files . TYPES: ty_chmod TYPE c LENGTH 6 . TYPES: BEGIN OF ty_object, sha1 TYPE zif_abapgit_definitions=>ty_sha1, type TYPE zif_abapgit_definitions=>ty_type, data TYPE xstring, adler32 TYPE ty_adler32, index TYPE i, END OF ty_object . TYPES: ty_objects_tt TYPE STANDARD TABLE OF ty_object WITH DEFAULT KEY WITH NON-UNIQUE SORTED KEY sha COMPONENTS sha1 WITH NON-UNIQUE SORTED KEY type COMPONENTS type sha1. TYPES: BEGIN OF ty_tadir, pgmid TYPE tadir-pgmid, object TYPE tadir-object, obj_name TYPE tadir-obj_name, devclass TYPE tadir-devclass, korrnum TYPE tadir-korrnum, delflag TYPE tadir-delflag, path TYPE string, END OF ty_tadir . TYPES: ty_tadir_tt TYPE STANDARD TABLE OF ty_tadir WITH DEFAULT KEY . TYPES: BEGIN OF ty_result, obj_type TYPE tadir-object, obj_name TYPE tadir-obj_name, inactive TYPE abap_bool, path TYPE string, filename TYPE string, package TYPE devclass, match TYPE sap_bool, lstate TYPE char1, rstate TYPE char1, END OF ty_result . TYPES: ty_results_tt TYPE STANDARD TABLE OF ty_result WITH DEFAULT KEY . TYPES: ty_sval_tt TYPE STANDARD TABLE OF sval WITH DEFAULT KEY . TYPES: ty_seocompotx_tt TYPE STANDARD TABLE OF seocompotx WITH DEFAULT KEY. TYPES: BEGIN OF ty_tpool. INCLUDE TYPE textpool. TYPES: split TYPE c LENGTH 8. TYPES: END OF ty_tpool . TYPES: ty_tpool_tt TYPE STANDARD TABLE OF ty_tpool WITH DEFAULT KEY . TYPES: BEGIN OF ty_sotr, header TYPE sotr_head, entries TYPE sotr_text_tt, END OF ty_sotr . TYPES: ty_sotr_tt TYPE STANDARD TABLE OF ty_sotr WITH DEFAULT KEY . TYPES: BEGIN OF ty_obj_attribute, cmpname TYPE seocmpname, attkeyfld TYPE seokeyfld, attbusobj TYPE seobusobj, END OF ty_obj_attribute, ty_obj_attribute_tt TYPE STANDARD TABLE OF ty_obj_attribute WITH DEFAULT KEY WITH NON-UNIQUE SORTED KEY cmpname COMPONENTS cmpname. TYPES: BEGIN OF ty_transport_to_branch, branch_name TYPE string, commit_text TYPE string, END OF ty_transport_to_branch . TYPES: BEGIN OF ty_create, name TYPE string, parent TYPE string, END OF ty_create. TYPES: BEGIN OF ty_commit, sha1 TYPE ty_sha1, parent1 TYPE ty_sha1, parent2 TYPE ty_sha1, author TYPE string, email TYPE string, time TYPE string, message TYPE string, branch TYPE string, merge TYPE string, tags TYPE stringtab, create TYPE STANDARD TABLE OF ty_create WITH DEFAULT KEY, compressed TYPE abap_bool, END OF ty_commit. TYPES: ty_commit_tt TYPE STANDARD TABLE OF ty_commit WITH DEFAULT KEY. CONSTANTS: BEGIN OF c_diff, insert TYPE c LENGTH 1 VALUE 'I', delete TYPE c LENGTH 1 VALUE 'D', update TYPE c LENGTH 1 VALUE 'U', END OF c_diff. TYPES: BEGIN OF ty_diff, patch_flag TYPE abap_bool, new_num TYPE c LENGTH 6, new TYPE string, result TYPE c LENGTH 1, old_num TYPE c LENGTH 6, old TYPE string, short TYPE abap_bool, beacon TYPE i, END OF ty_diff. TYPES: ty_diffs_tt TYPE STANDARD TABLE OF ty_diff WITH DEFAULT KEY. TYPES: BEGIN OF ty_count, insert TYPE i, delete TYPE i, update TYPE i, END OF ty_count. TYPES: BEGIN OF ty_expanded, path TYPE string, name TYPE string, sha1 TYPE ty_sha1, chmod TYPE ty_chmod, END OF ty_expanded . TYPES: ty_expanded_tt TYPE STANDARD TABLE OF ty_expanded WITH DEFAULT KEY . TYPES: BEGIN OF ty_ancestor, commit TYPE ty_sha1, tree TYPE ty_sha1, time TYPE string, body TYPE string, END OF ty_ancestor. TYPES: BEGIN OF ty_merge, repo TYPE REF TO zcl_abapgit_repo_online, source TYPE ty_git_branch, target TYPE ty_git_branch, common TYPE ty_ancestor, stree TYPE ty_expanded_tt, ttree TYPE ty_expanded_tt, ctree TYPE ty_expanded_tt, result TYPE ty_expanded_tt, stage TYPE REF TO zcl_abapgit_stage, conflict TYPE string, END OF ty_merge. TYPES: BEGIN OF ty_merge_conflict, path TYPE string, filename TYPE string, source_sha1 TYPE zif_abapgit_definitions=>ty_sha1, source_data TYPE xstring, target_sha1 TYPE zif_abapgit_definitions=>ty_sha1, target_data TYPE xstring, result_sha1 TYPE zif_abapgit_definitions=>ty_sha1, result_data TYPE xstring, END OF ty_merge_conflict, tt_merge_conflict TYPE STANDARD TABLE OF ty_merge_conflict WITH DEFAULT KEY. TYPES: BEGIN OF ty_repo_item, obj_type TYPE tadir-object, obj_name TYPE tadir-obj_name, inactive type abap_bool, sortkey TYPE i, path TYPE string, is_dir TYPE abap_bool, changes TYPE i, lstate TYPE char1, rstate TYPE char1, files TYPE tt_repo_files, END OF ty_repo_item. TYPES tt_repo_items TYPE STANDARD TABLE OF ty_repo_item WITH DEFAULT KEY. TYPES: BEGIN OF ty_s_user_settings, max_lines TYPE i, adt_jump_enabled TYPE abap_bool, show_default_repo TYPE abap_bool, link_hints_enabled TYPE abap_bool, link_hint_key TYPE char01, link_hint_background_color TYPE string, hotkeys TYPE tty_hotkey, END OF ty_s_user_settings. TYPES: tty_dokil TYPE STANDARD TABLE OF dokil WITH NON-UNIQUE DEFAULT KEY. TYPES: tty_lines TYPE STANDARD TABLE OF i WITH NON-UNIQUE DEFAULT KEY, BEGIN OF ty_patch, filename TYPE string, lines_new TYPE tty_lines, lines_old TYPE tty_lines, END OF ty_patch, tty_patch TYPE HASHED TABLE OF ty_patch WITH UNIQUE KEY filename. CONSTANTS: BEGIN OF c_type, commit TYPE zif_abapgit_definitions=>ty_type VALUE 'commit', "#EC NOTEXT tree TYPE zif_abapgit_definitions=>ty_type VALUE 'tree', "#EC NOTEXT ref_d TYPE zif_abapgit_definitions=>ty_type VALUE 'ref_d', "#EC NOTEXT tag TYPE zif_abapgit_definitions=>ty_type VALUE 'tag', "#EC NOTEXT blob TYPE zif_abapgit_definitions=>ty_type VALUE 'blob', "#EC NOTEXT END OF c_type . CONSTANTS: BEGIN OF c_state, " https://git-scm.com/docs/git-status unchanged TYPE char1 VALUE '', added TYPE char1 VALUE 'A', modified TYPE char1 VALUE 'M', deleted TYPE char1 VALUE 'D', "For future use mixed TYPE char1 VALUE '*', END OF c_state . CONSTANTS: BEGIN OF c_chmod, file TYPE ty_chmod VALUE '100644', executable TYPE ty_chmod VALUE '100755', dir TYPE ty_chmod VALUE '40000 ', END OF c_chmod . CONSTANTS: BEGIN OF c_event_state, not_handled VALUE 0, re_render VALUE 1, new_page VALUE 2, go_back VALUE 3, no_more_act VALUE 4, new_page_w_bookmark VALUE 5, go_back_to_bookmark VALUE 6, new_page_replacing VALUE 7, END OF c_event_state . CONSTANTS: BEGIN OF c_html_opt, strong TYPE c VALUE 'E', cancel TYPE c VALUE 'C', crossout TYPE c VALUE 'X', END OF c_html_opt . CONSTANTS: BEGIN OF c_action_type, sapevent TYPE c VALUE 'E', url TYPE c VALUE 'U', onclick TYPE c VALUE 'C', separator TYPE c VALUE 'S', dummy TYPE c VALUE '_', END OF c_action_type . CONSTANTS c_crlf TYPE abap_cr_lf VALUE cl_abap_char_utilities=>cr_lf ##NO_TEXT. CONSTANTS c_newline TYPE abap_char1 VALUE cl_abap_char_utilities=>newline ##NO_TEXT. CONSTANTS c_english TYPE spras VALUE 'E' ##NO_TEXT. CONSTANTS c_root_dir TYPE string VALUE '/' ##NO_TEXT. CONSTANTS c_dot_abapgit TYPE string VALUE '.abapgit.xml' ##NO_TEXT. CONSTANTS c_author_regex TYPE string VALUE '^([\\\w\s\.\*\,\#@\-_1-9\(\) ]+) <(.*)> (\d{10})\s?.\d{4}$' ##NO_TEXT. CONSTANTS: BEGIN OF c_action, repo_refresh TYPE string VALUE 'repo_refresh', repo_remove TYPE string VALUE 'repo_remove', repo_settings TYPE string VALUE 'repo_settings', repo_purge TYPE string VALUE 'repo_purge', repo_newonline TYPE string VALUE 'repo_newonline', repo_newoffline TYPE string VALUE 'repo_newoffline', repo_remote_attach TYPE string VALUE 'repo_remote_attach', repo_remote_detach TYPE string VALUE 'repo_remote_detach', repo_remote_change TYPE string VALUE 'repo_remote_change', repo_refresh_checksums TYPE string VALUE 'repo_refresh_checksums', repo_toggle_fav TYPE string VALUE 'repo_toggle_fav', repo_transport_to_branch TYPE string VALUE 'repo_transport_to_branch', repo_syntax_check TYPE string VALUE 'repo_syntax_check', repo_code_inspector TYPE string VALUE 'repo_code_inspector', abapgit_home TYPE string VALUE 'abapgit_home', abapgit_install TYPE string VALUE 'abapgit_install', zip_import TYPE string VALUE 'zip_import', zip_export TYPE string VALUE 'zip_export', zip_package TYPE string VALUE 'zip_package', zip_transport TYPE string VALUE 'zip_transport', zip_object TYPE string VALUE 'zip_object', git_pull TYPE string VALUE 'git_pull', git_reset TYPE string VALUE 'git_reset', git_branch_create TYPE string VALUE 'git_branch_create', git_branch_switch TYPE string VALUE 'git_branch_switch', git_branch_delete TYPE string VALUE 'git_branch_delete', git_tag_create TYPE string VALUE 'git_tag_create', git_tag_delete TYPE string VALUE 'git_tag_delete', git_tag_switch TYPE string VALUE 'git_tag_switch', git_commit TYPE string VALUE 'git_commit', db_display TYPE string VALUE 'db_display', db_edit TYPE string VALUE 'db_edit', bg_update TYPE string VALUE 'bg_update', go_main TYPE string VALUE 'go_main', go_explore TYPE string VALUE 'go_explore', go_repo_overview TYPE string VALUE 'go_repo_overview', go_db TYPE string VALUE 'go_db', go_background TYPE string VALUE 'go_background', go_background_run TYPE string VALUE 'go_background_run', go_diff TYPE string VALUE 'go_diff', go_stage TYPE string VALUE 'go_stage', go_commit TYPE string VALUE 'go_commit', go_branch_overview TYPE string VALUE 'go_branch_overview', go_tag_overview TYPE string VALUE 'go_tag_overview', go_playground TYPE string VALUE 'go_playground', go_debuginfo TYPE string VALUE 'go_debuginfo', go_settings TYPE string VALUE 'go_settings', go_tutorial TYPE string VALUE 'go_tutorial', go_patch TYPE string VALUE 'go_patch', jump TYPE string VALUE 'jump', jump_pkg TYPE string VALUE 'jump_pkg', jump_transport TYPE string VALUE 'jump_transport', url TYPE string VALUE 'url', END OF c_action . CONSTANTS: BEGIN OF c_version, active TYPE r3state VALUE 'A', inactive TYPE r3state VALUE 'I', END OF c_version . CONSTANTS c_tag_prefix TYPE string VALUE 'refs/tags/' ##NO_TEXT. ENDINTERFACE.
[ 41358, 49836, 1976, 361, 62, 397, 499, 18300, 62, 4299, 50101, 44731, 13, 628, 220, 24412, 47, 1546, 25, 198, 220, 220, 220, 1259, 62, 4906, 220, 220, 220, 41876, 269, 406, 49494, 718, 764, 198, 220, 24412, 47, 1546, 25, 198, 220, 220, 220, 1259, 62, 2545, 26327, 41876, 269, 406, 49494, 807, 764, 198, 220, 24412, 47, 1546, 25, 198, 220, 220, 220, 1259, 62, 26270, 16, 220, 220, 220, 41876, 269, 406, 49494, 2319, 764, 198, 220, 24412, 47, 1546, 25, 1259, 62, 324, 1754, 2624, 41876, 2124, 406, 49494, 604, 13, 198, 220, 24412, 47, 1546, 25, 198, 220, 220, 220, 347, 43312, 3963, 1259, 62, 7753, 62, 12683, 1300, 11, 198, 220, 220, 220, 220, 220, 3108, 220, 220, 220, 220, 41876, 4731, 11, 198, 220, 220, 220, 220, 220, 29472, 41876, 4731, 11, 198, 220, 220, 220, 220, 220, 427, 64, 16, 220, 220, 220, 220, 41876, 1976, 361, 62, 397, 499, 18300, 62, 4299, 50101, 14804, 774, 62, 26270, 16, 11, 198, 220, 220, 220, 23578, 3963, 1259, 62, 7753, 62, 12683, 1300, 764, 198, 220, 24412, 47, 1546, 25, 198, 220, 220, 220, 1259, 62, 7753, 62, 12683, 6691, 62, 926, 41876, 49053, 9795, 43679, 3963, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 1259, 62, 7753, 62, 12683, 1300, 13315, 5550, 38865, 35374, 764, 198, 220, 24412, 47, 1546, 25, 198, 220, 220, 220, 1259, 62, 7753, 62, 12683, 6691, 62, 912, 41876, 311, 9863, 1961, 43679, 3963, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 1259, 62, 7753, 62, 12683, 1300, 13315, 4725, 33866, 8924, 35374, 3108, 29472, 764, 198, 220, 24412, 47, 1546, 25, 198, 220, 220, 220, 347, 43312, 3963, 1259, 62, 7753, 13, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 3268, 5097, 52, 7206, 41876, 1259, 62, 7753, 62, 12683, 1300, 13, 198, 220, 24412, 47, 1546, 25, 1366, 41876, 2124, 8841, 11, 198, 220, 220, 220, 220, 220, 220, 220, 220, 23578, 3963, 1259, 62, 7753, 764, 198, 220, 24412, 47, 1546, 25, 198, 220, 220, 220, 1259, 62, 16624, 62, 926, 41876, 49053, 9795, 43679, 3963, 1259, 62, 7753, 13315, 5550, 38865, 35374, 764, 198, 220, 24412, 47, 1546, 25, 198, 220, 220, 220, 1259, 62, 8841, 62, 926, 41876, 49053, 9795, 43679, 3963, 4731, 13315, 5550, 38865, 35374, 764, 628, 220, 24412, 47, 1546, 25, 1259, 62, 260, 7501, 62, 5420, 62, 926, 41876, 49053, 9795, 43679, 3963, 4526, 37, 5390, 1976, 565, 62, 397, 499, 18300, 62, 260, 7501, 13315, 5550, 38865, 35374, 13, 628, 220, 24412, 47, 1546, 1259, 62, 18300, 62, 1671, 3702, 62, 4906, 41876, 1149, 17, 764, 198, 220, 24412, 47, 1546, 25, 198, 220, 220, 220, 347, 43312, 3963, 1259, 62, 18300, 62, 1671, 3702, 11, 198, 220, 220, 220, 220, 220, 427, 64, 16, 220, 220, 220, 220, 220, 220, 220, 220, 41876, 1976, 361, 62, 397, 499, 18300, 62, 4299, 50101, 14804, 774, 62, 26270, 16, 11, 198, 220, 220, 220, 220, 220, 1438, 220, 220, 220, 220, 220, 220, 220, 220, 41876, 4731, 11, 198, 220, 220, 220, 220, 220, 2099, 220, 220, 220, 220, 220, 220, 220, 220, 41876, 1259, 62, 18300, 62, 1671, 3702, 62, 4906, 11, 198, 220, 220, 220, 220, 220, 318, 62, 2256, 220, 220, 220, 220, 220, 41876, 450, 499, 62, 30388, 11, 198, 220, 220, 220, 220, 220, 3359, 62, 3672, 41876, 4731, 11, 198, 220, 220, 220, 23578, 3963, 1259, 62, 18300, 62, 1671, 3702, 764, 198, 220, 24412, 47, 1546, 25, 198, 220, 220, 220, 1259, 62, 18300, 62, 1671, 3702, 62, 4868, 62, 926, 41876, 49053, 9795, 43679, 3963, 1259, 62, 18300, 62, 1671, 3702, 13315, 5550, 38865, 35374, 764, 628, 220, 24412, 47, 1546, 25, 198, 220, 220, 220, 347, 43312, 3963, 1259, 62, 18300, 62, 12985, 11, 198, 220, 220, 220, 220, 220, 427, 64, 16, 220, 220, 220, 220, 220, 220, 220, 220, 41876, 1976, 361, 62, 397, 499, 18300, 62, 4299, 50101, 14804, 774, 62, 26270, 16, 11, 198, 220, 220, 220, 220, 220, 2134, 220, 220, 220, 220, 220, 220, 41876, 1976, 361, 62, 397, 499, 18300, 62, 4299, 50101, 14804, 774, 62, 26270, 16, 11, 198, 220, 220, 220, 220, 220, 1438, 220, 220, 220, 220, 220, 220, 220, 220, 41876, 4731, 11, 198, 220, 220, 220, 220, 220, 2099, 220, 220, 220, 220, 220, 220, 220, 220, 41876, 1259, 62, 18300, 62, 1671, 3702, 62, 4906, 11, 198, 220, 220, 220, 220, 220, 3359, 62, 3672, 41876, 4731, 11, 198, 220, 220, 220, 220, 220, 7621, 1362, 62, 3672, 220, 41876, 4731, 11, 198, 220, 220, 220, 220, 220, 7621, 1362, 62, 12888, 41876, 4731, 11, 198, 220, 220, 220, 220, 220, 3275, 220, 220, 220, 220, 220, 41876, 4731, 11, 198, 220, 220, 220, 220, 220, 1767, 220, 220, 220, 220, 220, 220, 220, 220, 41876, 4731, 11, 198, 220, 220, 220, 23578, 3963, 1259, 62, 18300, 62, 12985, 764, 198, 220, 24412, 47, 1546, 25, 198, 220, 220, 220, 1259, 62, 18300, 62, 12985, 62, 4868, 62, 926, 41876, 49053, 9795, 43679, 3963, 1259, 62, 18300, 62, 12985, 13315, 5550, 38865, 35374, 764, 628, 220, 24412, 47, 1546, 25, 198, 220, 220, 220, 347, 43312, 3963, 1259, 62, 8940, 2539, 11, 198, 220, 220, 220, 220, 220, 8379, 41876, 4731, 11, 198, 220, 220, 220, 220, 220, 2223, 220, 220, 41876, 4731, 11, 198, 220, 220, 220, 23578, 3963, 1259, 62, 8940, 2539, 11, 198, 220, 220, 220, 256, 774, 62, 8940, 2539, 41876, 49053, 9795, 43679, 3963, 1259, 62, 8940, 2539, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 13315, 44521, 12, 4944, 33866, 8924, 5550, 38865, 35374, 13, 628, 220, 7102, 2257, 1565, 4694, 25, 198, 220, 220, 220, 347, 43312, 3963, 269, 62, 18300, 62, 1671, 3702, 62, 4906, 11, 198, 220, 220, 220, 220, 220, 8478, 220, 220, 220, 220, 220, 220, 220, 220, 220, 41876, 1259, 62, 18300, 62, 1671, 3702, 62, 4906, 26173, 8924, 705, 10227, 3256, 198, 220, 220, 220, 220, 220 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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 ]
*&---------------------------------------------------------------------* *& https://foros.consultoria-sap.com/t/creacion-de-un-listado-de-clientes/13891/33 *&---------------------------------------------------------------------* SELECT KUNNR VKBUR PLTYP VKGRP INTO (KNVV-KUNNR, KNVV-VKBUR, KNVV-PLTYP, KNVV-VKGRP) FROM KNVV WHERE VKBUR EQ VKBUR AND VKGRP EQ VKGRP. SELECT SINGLE PERNR INTO KNVP-PERNR FROM KNVP WHERE KUNNR EQ KNVV-KUNNR AND PARVW EQ 'VE'. IF SY-SUBRC NE 0. CLEAR KNVP-PERNR. ENDIF. SELECT SINGLE SNAME INTO PA0001-SNAME FROM PA0001 WHERE PERNR EQ KNVP-PERNR. SELECT SINGLE NAME1 ORT01 STCD1 INTO (KNA1-NAME1, KNA1-ORT01, KNA1-STCD1) FROM KNA1 WHERE KUNNR EQ KNVV-KUNNR. ENDSELECT.
[ 9, 5, 10097, 30934, 9, 198, 9, 5, 3740, 1378, 1640, 418, 13, 5936, 586, 7661, 12, 82, 499, 13, 785, 14, 83, 14, 7513, 49443, 12, 2934, 12, 403, 12, 4868, 4533, 12, 2934, 12, 16366, 274, 14, 1485, 4531, 16, 14, 2091, 198, 9, 5, 10097, 30934, 9, 198, 198, 46506, 509, 4944, 24723, 569, 22764, 4261, 9297, 9936, 47, 45917, 10761, 47, 198, 220, 220, 39319, 357, 42, 27159, 53, 12, 42, 4944, 24723, 11, 22466, 53, 53, 12, 53, 22764, 4261, 11, 22466, 53, 53, 12, 6489, 9936, 47, 11, 22466, 53, 53, 12, 47191, 10761, 47, 8, 198, 220, 220, 220, 16034, 22466, 53, 53, 198, 220, 220, 220, 33411, 569, 22764, 4261, 36529, 569, 22764, 4261, 198, 220, 220, 220, 220, 220, 5357, 45917, 10761, 47, 36529, 45917, 10761, 47, 13, 628, 220, 220, 220, 33493, 311, 2751, 2538, 19878, 24723, 198, 220, 220, 220, 220, 39319, 22466, 8859, 12, 18973, 24723, 198, 220, 220, 220, 220, 220, 16034, 22466, 8859, 198, 220, 220, 220, 220, 220, 220, 33411, 509, 4944, 24723, 36529, 22466, 53, 53, 12, 42, 4944, 24723, 198, 220, 220, 220, 220, 220, 220, 220, 5357, 29463, 30133, 36529, 705, 6089, 4458, 628, 220, 220, 220, 16876, 19704, 12, 50, 10526, 7397, 10635, 657, 13, 198, 220, 220, 220, 220, 220, 30301, 1503, 22466, 8859, 12, 18973, 24723, 13, 198, 220, 220, 220, 23578, 5064, 13, 628, 220, 220, 220, 33493, 311, 2751, 2538, 11346, 10067, 198, 220, 220, 220, 220, 220, 39319, 8147, 18005, 12, 15571, 10067, 198, 220, 220, 220, 220, 220, 16034, 8147, 18005, 198, 220, 220, 220, 220, 220, 33411, 19878, 24723, 36529, 22466, 8859, 12, 18973, 24723, 13, 628, 220, 220, 220, 33493, 311, 2751, 2538, 36751, 16, 6375, 51, 486, 3563, 8610, 16, 198, 220, 220, 220, 220, 220, 220, 220, 39319, 357, 42, 4535, 16, 12, 20608, 16, 11, 509, 4535, 16, 12, 9863, 486, 11, 509, 4535, 16, 12, 2257, 8610, 16, 8, 198, 220, 220, 220, 220, 220, 220, 220, 16034, 509, 4535, 16, 198,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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 ]
*"* use this source file for your ABAP unit test classes CLASS ltc_date_utility DEFINITION DEFERRED. CLASS zcl_date_utility DEFINITION LOCAL FRIENDS ltc_date_utility. CLASS ltc_date_utility DEFINITION FOR TESTING DURATION SHORT RISK LEVEL HARMLESS. PRIVATE SECTION. DATA m_cut TYPE REF TO zif_date_utility. METHODS setup. METHODS set_date_with_set_method FOR TESTING RAISING cx_static_check. METHODS set_date_with_constructor FOR TESTING RAISING cx_static_check. METHODS default_date_with_constructor FOR TESTING RAISING cx_static_check. METHODS set_invalid_date FOR TESTING RAISING cx_static_check. METHODS add_1_day_to_date FOR TESTING RAISING cx_static_check. METHODS add_1_day_into_next_month FOR TESTING RAISING cx_static_check. METHODS add_1_day_into_next_year FOR TESTING RAISING cx_static_check. METHODS add_1_day_to_leap_day FOR TESTING RAISING cx_static_check. METHODS add_negative_1_day_to_date FOR TESTING RAISING cx_static_check. METHODS add_1_month_to_date FOR TESTING RAISING cx_static_check. METHODS add_1_month_into_next_year FOR TESTING RAISING cx_static_check. METHODS add_1_month_to_end_of_month30 FOR TESTING RAISING cx_static_check. METHODS add_1_month_to_end_of_month31 FOR TESTING RAISING cx_static_check. METHODS add_1_month_to_end_of_july FOR TESTING RAISING cx_static_check. METHODS add_1_month_to_end_of_january FOR TESTING RAISING cx_static_check. METHODS add_1_month_to_end_of_jan_leap FOR TESTING RAISING cx_static_check. METHODS add_1_month_to_end_of_february FOR TESTING RAISING cx_static_check. METHODS add_minus_1_month_to_date FOR TESTING RAISING cx_static_check. METHODS add_1_year_to_date FOR TESTING RAISING cx_static_check. METHODS add_1_year_to_february_29 FOR TESTING RAISING cx_static_check. METHODS add_1_year_into_february_29 FOR TESTING RAISING cx_static_check. METHODS add_4_years_to_february_29 FOR TESTING RAISING cx_static_check. METHODS add_minus_1_year_to_date FOR TESTING RAISING cx_static_check. ENDCLASS. CLASS ltc_date_utility IMPLEMENTATION. METHOD setup. m_cut = NEW zcl_date_utility( ). ENDMETHOD. METHOD set_date_with_set_method. m_cut->set( '20210329' ). cl_abap_unit_assert=>assert_equals( act = m_cut->get( ) exp = '20210329' ). ENDMETHOD. METHOD set_date_with_constructor. DATA cut TYPE REF TO zif_date_utility. cut = NEW zcl_date_utility( '20200329' ). cl_abap_unit_assert=>assert_equals( act = cut->get( ) exp = '20200329' ). ENDMETHOD. METHOD default_date_with_constructor. cl_abap_unit_assert=>assert_equals( act = m_cut->get( ) exp = sy-datlo ). ENDMETHOD. METHOD set_invalid_date. m_cut->set( '20200242' ). cl_abap_unit_assert=>assert_equals( act = m_cut->get( ) exp = '00010102' ). ENDMETHOD. METHOD add_1_day_to_date. m_cut->set( '20210314' )->add_days( 1 ). cl_abap_unit_assert=>assert_equals( act = m_cut->get( ) exp = '20210315' ). ENDMETHOD. METHOD add_1_day_into_next_month. m_cut->set( '20210331' )->add_days( 1 ). cl_abap_unit_assert=>assert_equals( act = m_cut->get( ) exp = '20210401' ). ENDMETHOD. METHOD add_1_day_into_next_year. m_cut->set( '20211231' )->add_days( 1 ). cl_abap_unit_assert=>assert_equals( act = m_cut->get( ) exp = '20220101' ). ENDMETHOD. METHOD add_1_day_to_leap_day. m_cut->set( '20200228' )->add_days( 1 ). cl_abap_unit_assert=>assert_equals( act = m_cut->get( ) exp = '20200229' ). ENDMETHOD. METHOD add_negative_1_day_to_date. m_cut->set( '20210704' )->add_days( -1 ). cl_abap_unit_assert=>assert_equals( act = m_cut->get( ) exp = '20210703' ). ENDMETHOD. METHOD add_1_month_to_date. m_cut->set( '20210609' )->add_months( 1 ). cl_abap_unit_assert=>assert_equals( act = m_cut->get( ) exp = '20210709' ). ENDMETHOD. METHOD add_1_month_into_next_year. m_cut->set( '20211217' )->add_months( 1 ). cl_abap_unit_assert=>assert_equals( act = m_cut->get( ) exp = '20220117' ). ENDMETHOD. METHOD add_1_year_to_date. m_cut->set( '20210919' )->add_years( 1 ). cl_abap_unit_assert=>assert_equals( act = m_cut->get( ) exp = '20220919' ). ENDMETHOD. METHOD add_1_month_to_end_of_month31. m_cut->set( '20210331' )->add_months( 1 ). cl_abap_unit_assert=>assert_equals( act = m_cut->get( ) exp = '20210430' ). ENDMETHOD. METHOD add_1_month_to_end_of_month30. m_cut->set( '20210430' )->add_months( 1 ). cl_abap_unit_assert=>assert_equals( act = m_cut->get( ) exp = '20210531' ). ENDMETHOD. METHOD add_1_month_to_end_of_january. m_cut->set( '20210131' )->add_months( 1 ). cl_abap_unit_assert=>assert_equals( act = m_cut->get( ) exp = '20210228' ). ENDMETHOD. METHOD add_1_month_to_end_of_february. m_cut->set( '20210228' )->add_months( 1 ). cl_abap_unit_assert=>assert_equals( act = m_cut->get( ) exp = '20210331' ). ENDMETHOD. METHOD add_1_month_to_end_of_july. m_cut->set( '20210731' )->add_months( 1 ). cl_abap_unit_assert=>assert_equals( act = m_cut->get( ) exp = '20210831' ). ENDMETHOD. METHOD add_1_month_to_end_of_jan_leap. m_cut->set( '20200131' )->add_months( 1 ). cl_abap_unit_assert=>assert_equals( act = m_cut->get( ) exp = '20200229' ). ENDMETHOD. METHOD add_minus_1_month_to_date. m_cut->set( '20210315' )->add_months( -1 ). cl_abap_unit_assert=>assert_equals( act = m_cut->get( ) exp = '20210215' ). ENDMETHOD. METHOD add_1_year_to_february_29. m_cut->set( '20200229' )->add_years( 1 ). cl_abap_unit_assert=>assert_equals( act = m_cut->get( ) exp = '20210228' ). ENDMETHOD. METHOD add_1_year_into_february_29. m_cut->set( '20190228' ). m_cut->add_years( 1 ). cl_abap_unit_assert=>assert_equals( act = m_cut->get( ) exp = '20200229' ). ENDMETHOD. METHOD add_4_years_to_february_29. m_cut->set( '20200229' )->add_years( 4 ). cl_abap_unit_assert=>assert_equals( act = m_cut->get( ) exp = '20240229' ). ENDMETHOD. METHOD add_minus_1_year_to_date. m_cut->set( '20210315' )->add_years( -1 ). cl_abap_unit_assert=>assert_equals( act = m_cut->get( ) exp = '20200315' ). ENDMETHOD. ENDCLASS.
[ 9, 1, 9, 779, 428, 2723, 2393, 329, 534, 9564, 2969, 4326, 1332, 6097, 198, 31631, 300, 23047, 62, 4475, 62, 315, 879, 5550, 20032, 17941, 23449, 1137, 22083, 13, 198, 31631, 1976, 565, 62, 4475, 62, 315, 879, 5550, 20032, 17941, 37347, 1847, 48167, 1677, 5258, 300, 23047, 62, 4475, 62, 315, 879, 13, 198, 198, 31631, 300, 23047, 62, 4475, 62, 315, 879, 5550, 20032, 17941, 7473, 43001, 2751, 198, 220, 360, 4261, 6234, 6006, 9863, 198, 220, 45698, 42, 49277, 43638, 5805, 7597, 13, 628, 220, 4810, 3824, 6158, 44513, 13, 198, 220, 220, 220, 42865, 285, 62, 8968, 41876, 4526, 37, 5390, 1976, 361, 62, 4475, 62, 315, 879, 13, 198, 220, 220, 220, 337, 36252, 50, 9058, 13, 628, 220, 220, 220, 337, 36252, 50, 900, 62, 4475, 62, 4480, 62, 2617, 62, 24396, 7473, 43001, 2751, 17926, 1797, 2751, 43213, 62, 12708, 62, 9122, 13, 198, 220, 220, 220, 337, 36252, 50, 900, 62, 4475, 62, 4480, 62, 41571, 273, 7473, 43001, 2751, 17926, 1797, 2751, 43213, 62, 12708, 62, 9122, 13, 198, 220, 220, 220, 337, 36252, 50, 4277, 62, 4475, 62, 4480, 62, 41571, 273, 7473, 43001, 2751, 17926, 1797, 2751, 43213, 62, 12708, 62, 9122, 13, 198, 220, 220, 220, 337, 36252, 50, 900, 62, 259, 12102, 62, 4475, 7473, 43001, 2751, 17926, 1797, 2751, 43213, 62, 12708, 62, 9122, 13, 628, 220, 220, 220, 337, 36252, 50, 751, 62, 16, 62, 820, 62, 1462, 62, 4475, 7473, 43001, 2751, 17926, 1797, 2751, 43213, 62, 12708, 62, 9122, 13, 198, 220, 220, 220, 337, 36252, 50, 751, 62, 16, 62, 820, 62, 20424, 62, 19545, 62, 8424, 7473, 43001, 2751, 17926, 1797, 2751, 43213, 62, 12708, 62, 9122, 13, 198, 220, 220, 220, 337, 36252, 50, 751, 62, 16, 62, 820, 62, 20424, 62, 19545, 62, 1941, 7473, 43001, 2751, 17926, 1797, 2751, 43213, 62, 12708, 62, 9122, 13, 198, 220, 220, 220, 337, 36252, 50, 751, 62, 16, 62, 820, 62, 1462, 62, 293, 499, 62, 820, 7473, 43001, 2751, 17926, 1797, 2751, 43213, 62, 12708, 62, 9122, 13, 198, 220, 220, 220, 337, 36252, 50, 751, 62, 31591, 62, 16, 62, 820, 62, 1462, 62, 4475, 7473, 43001, 2751, 17926, 1797, 2751, 43213, 62, 12708, 62, 9122, 13, 628, 220, 220, 220, 337, 36252, 50, 751, 62, 16, 62, 8424, 62, 1462, 62, 4475, 7473, 43001, 2751, 17926, 1797, 2751, 43213, 62, 12708, 62, 9122, 13, 198, 220, 220, 220, 337, 36252, 50, 751, 62, 16, 62, 8424, 62, 20424, 62, 19545, 62, 1941, 7473, 43001, 2751, 17926, 1797, 2751, 43213, 62, 12708, 62, 9122, 13, 198, 220, 220, 220, 337, 36252, 50, 751, 62, 16, 62, 8424, 62, 1462, 62, 437, 62, 1659, 62, 8424, 1270, 7473, 43001, 2751, 17926, 1797, 2751, 43213, 62, 12708, 62, 9122, 13, 198, 220, 220, 220, 337, 36252, 50, 751, 62, 16, 62, 8424, 62, 1462, 62, 437, 62, 1659, 62, 8424, 3132, 7473, 43001, 2751, 17926, 1797, 2751, 43213, 62, 12708, 62, 9122, 13, 198, 220, 220, 220, 337, 36252, 50, 751, 62, 16, 62, 8424, 62, 1462, 62, 437, 62, 1659, 62, 73, 2062, 7473, 43001, 2751, 17926, 1797, 2751, 43213, 62, 12708, 62, 9122, 13, 198, 220, 220, 220, 337, 36252, 50, 751, 62, 16, 62, 8424, 62, 1462, 62, 437, 62, 1659, 62, 13881, 2838, 7473, 43001, 2751, 17926, 1797, 2751, 43213, 62, 12708, 62, 9122, 13, 198, 220, 220, 220, 337, 36252, 50, 751, 62, 16, 62, 8424, 62, 1462, 62, 437, 62, 1659, 62, 13881, 62, 293, 499, 7473, 43001, 2751, 17926, 1797, 2751, 43213, 62, 12708, 62, 9122, 13, 198, 220, 220, 220, 337, 36252, 50, 751, 62, 16, 62, 8424, 62, 1462, 62, 437, 62, 1659, 62, 69, 1765, 3728, 7473, 43001, 2751, 17926, 1797, 2751, 43213, 62, 12708, 62, 9122, 13, 198, 220, 220, 220, 337, 36252, 50, 751, 62, 40191, 62, 16, 62, 8424, 62, 1462, 62, 4475, 7473, 43001, 2751, 17926, 1797, 2751, 43213, 62, 12708, 62, 9122, 13, 628, 220, 220, 220, 337, 36252, 50, 751, 62, 16, 62, 1941, 62, 1462, 62, 4475, 7473, 43001, 2751, 17926, 1797, 2751, 43213, 62, 12708, 62, 9122, 13, 198, 220, 220, 220, 337, 36252, 50, 751, 62, 16, 62, 1941, 62, 1462, 62, 69, 1765, 3728, 62, 1959, 7473, 43001, 2751, 17926, 1797, 2751, 43213, 62, 12708, 62, 9122, 13, 198, 220, 220, 220, 337, 36252, 50, 751, 62, 16, 62, 1941, 62, 20424, 62, 69, 1765, 3728, 62, 1959, 7473, 43001, 2751, 17926, 1797, 2751, 43213, 62, 12708, 62, 9122, 13, 198, 220, 220, 220, 337, 36252, 50, 751, 62, 19, 62, 19002, 62, 1462, 62, 69, 1765, 3728, 62, 1959, 7473, 43001, 2751, 17926, 1797, 2751, 43213, 62, 12708, 62, 9122, 13, 198, 220, 220, 220, 337, 36252, 50, 751, 62, 40191, 62, 16, 62, 1941, 62, 1462, 62, 4475, 7473, 43001, 2751, 17926, 1797, 2751, 43213, 62, 12708, 62, 9122, 13, 198, 198, 10619, 31631, 13, 198, 198, 31631, 300, 23047, 62, 4475, 62, 315, 879, 30023, 2538, 10979, 6234, 13, 628, 220, 337, 36252, 9058, 13, 198, 220, 220, 220, 285, 62, 8968, 796, 12682, 1976, 565, 62, 4475, 62, 315, 879, 7, 6739, 198, 220, 23578, 49273, 13, 628, 220, 337, 36252, 900, 62, 4475, 62, 4480, 62, 2617, 62, 24396, 13, 628, 220, 220, 220, 285, 62, 8968, 3784, 2617, 7, 705, 19004, 15197, 1959, 6, 6739, 628, 220, 220, 220, 537, 62, 397, 499, 62, 20850, 62, 30493, 14804, 30493, 62, 4853, 874, 7, 198, 220, 220, 220, 220, 220, 220, 220, 719, 796, 285, 62, 8968, 3784, 1136, 7, 1267, 198, 220, 220, 220, 220, 220, 220, 220, 1033, 796, 705, 19004, 15197, 1959, 6, 6739, 628, 220, 23578, 49273, 13, 628, 220, 337, 36252, 900, 62, 4475, 62, 4480, 62, 41571, 273, 13, 628, 220, 220, 220, 42865, 2005, 41876, 4526, 37, 5390, 1976, 361, 62, 4475, 62, 315, 879, 13, 198, 220, 220, 220, 2005, 796, 12682, 1976, 565, 62, 4475, 62, 315, 879, 7, 705, 1238, 16088, 1959, 6, 6739, 628, 220, 220, 220, 537, 62, 397, 499, 62, 20850, 62, 30493, 14804, 30493, 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, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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 ]
CLASS zcl_advent2020_day02_rename DEFINITION PUBLIC FINAL CREATE PUBLIC . PUBLIC SECTION. INTERFACES zif_advent2020_rename . PROTECTED SECTION. PRIVATE SECTION. ENDCLASS. CLASS ZCL_ADVENT2020_DAY02_RENAME IMPLEMENTATION. METHOD zif_advent2020_rename~solve. output = 'todo'. ENDMETHOD. ENDCLASS.
[ 31631, 1976, 565, 62, 324, 1151, 42334, 62, 820, 2999, 62, 918, 480, 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, 324, 1151, 42334, 62, 918, 480, 764, 198, 220, 48006, 9782, 1961, 44513, 13, 198, 220, 4810, 3824, 6158, 44513, 13, 198, 10619, 31631, 13, 628, 198, 198, 31631, 1168, 5097, 62, 2885, 53, 3525, 42334, 62, 26442, 2999, 62, 49, 1677, 10067, 30023, 2538, 10979, 6234, 13, 628, 198, 220, 337, 36252, 1976, 361, 62, 324, 1151, 42334, 62, 918, 480, 93, 82, 6442, 13, 628, 220, 220, 220, 5072, 796, 705, 83, 24313, 4458, 628, 220, 23578, 49273, 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 ]
******************************************************************* * System-defined Include-files. * ******************************************************************* INCLUDE LZFG_EUI_SCREENTOP. " Global Declarations INCLUDE LZFG_EUI_SCREENUXX. " Function Modules ******************************************************************* * User-defined Include-files (if necessary). * ******************************************************************* * INCLUDE LZHT_FUGR_SCREENF... " Subroutines * INCLUDE LZHT_FUGR_SCREENO... " PBO-Modules * INCLUDE LZHT_FUGR_SCREENI... " PAI-Modules * INCLUDE LZHT_FUGR_SCREENE... " Events * INCLUDE LZHT_FUGR_SCREENP... " Local class implement. * INCLUDE LZHT_FUGR_SCREENT99. " ABAP Unit tests
[ 17174, 17174, 8162, 198, 9, 220, 220, 4482, 12, 23211, 40348, 12, 16624, 13, 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, 1635, 198, 17174, 17174, 8162, 198, 220, 3268, 5097, 52, 7206, 406, 57, 30386, 62, 36, 10080, 62, 6173, 2200, 3525, 3185, 13, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 366, 8060, 16691, 24355, 198, 220, 3268, 5097, 52, 7206, 406, 57, 30386, 62, 36, 10080, 62, 6173, 2200, 1677, 52, 8051, 13, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 366, 15553, 3401, 5028, 198, 198, 17174, 17174, 8162, 198, 9, 220, 220, 11787, 12, 23211, 40348, 12, 16624, 357, 361, 3306, 737, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 1635, 198, 17174, 17174, 8162, 198, 9, 3268, 5097, 52, 7206, 406, 57, 6535, 62, 37, 7340, 49, 62, 6173, 2200, 1677, 37, 986, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 366, 3834, 81, 448, 1127, 198, 9, 3268, 5097, 52, 7206, 406, 57, 6535, 62, 37, 7340, 49, 62, 6173, 2200, 1677, 46, 986, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 366, 350, 8202, 12, 5841, 5028, 198, 9, 3268, 5097, 52, 7206, 406, 57, 6535, 62, 37, 7340, 49, 62, 6173, 2200, 1677, 40, 986, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 366, 8147, 40, 12, 5841, 5028, 198, 9, 3268, 5097, 52, 7206, 406, 57, 6535, 62, 37, 7340, 49, 62, 6173, 2200, 39267, 986, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 366, 18715, 198, 9, 3268, 5097, 52, 7206, 406, 57, 6535, 62, 37, 7340, 49, 62, 6173, 2200, 1677, 47, 986, 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, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
INTERFACE zif_interface002 PUBLIC. * Auto generated by https://github.com/abap-openapi/abap-openapi * POSTtestResponse TYPES: BEGIN OF posttestresponse, result TYPE f, END OF posttestresponse. * POSTtestRequest TYPES: BEGIN OF posttestrequest, number1 TYPE f, number2 TYPE f, END OF posttestrequest. TYPES: BEGIN OF ret__test, 200 TYPE posttestresponse, END OF ret__test. METHODS _test IMPORTING operation TYPE string body TYPE posttestrequest RETURNING VALUE(return) TYPE ret__test RAISING cx_static_check. ENDINTERFACE.
[ 41358, 49836, 1976, 361, 62, 39994, 21601, 44731, 13, 198, 9, 11160, 7560, 416, 3740, 1378, 12567, 13, 785, 14, 397, 499, 12, 9654, 15042, 14, 397, 499, 12, 9654, 15042, 198, 198, 9, 24582, 9288, 31077, 198, 220, 24412, 47, 1546, 25, 347, 43312, 3963, 1281, 9288, 26209, 11, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 1255, 41876, 277, 11, 198, 220, 220, 220, 220, 220, 220, 220, 220, 23578, 3963, 1281, 9288, 26209, 13, 198, 9, 24582, 9288, 18453, 198, 220, 24412, 47, 1546, 25, 347, 43312, 3963, 1281, 9288, 25927, 11, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 1271, 16, 41876, 277, 11, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 1271, 17, 41876, 277, 11, 198, 220, 220, 220, 220, 220, 220, 220, 220, 23578, 3963, 1281, 9288, 25927, 13, 628, 220, 24412, 47, 1546, 25, 347, 43312, 3963, 1005, 834, 9288, 11, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 939, 41876, 1281, 9288, 26209, 11, 198, 220, 220, 220, 220, 220, 220, 220, 220, 23578, 3963, 1005, 834, 9288, 13, 198, 220, 337, 36252, 50, 4808, 9288, 198, 220, 220, 220, 30023, 9863, 2751, 198, 220, 220, 220, 220, 220, 4905, 41876, 4731, 198, 220, 220, 220, 220, 220, 1767, 41876, 1281, 9288, 25927, 198, 220, 220, 220, 30826, 4261, 15871, 198, 220, 220, 220, 220, 220, 26173, 8924, 7, 7783, 8, 41876, 1005, 834, 9288, 198, 220, 220, 220, 17926, 1797, 2751, 198, 220, 220, 220, 220, 220, 43213, 62, 12708, 62, 9122, 13, 198, 10619, 41358, 49836, 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, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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_regex_golf_level DEFINITION PUBLIC CREATE PUBLIC . PUBLIC SECTION. TYPES ty_level_id TYPE string . TYPES: BEGIN OF ty_level, id TYPE ty_level_id, description TYPE string, matches TYPE stringtab, non_matches TYPE stringtab, END OF ty_level . TYPES: tty_level TYPE STANDARD TABLE OF ty_level WITH NON-UNIQUE DEFAULT KEY . DATA mt_levels TYPE tty_level READ-ONLY . METHODS: constructor IMPORTING !i_level TYPE ty_level_id OPTIONAL RAISING zcx_regex_golf_error, get_matches RETURNING VALUE(rt_matches) TYPE stringtab, get_non_matches RETURNING VALUE(rt_non_matches) TYPE stringtab, get_current_level RETURNING VALUE(r_current_level) TYPE ty_level_id, random_level, set_level IMPORTING !i_new_level_id TYPE ty_level_id RAISING zcx_regex_golf_error, get_level_count RETURNING VALUE(r_count) TYPE ty_level_id, add_level IMPORTING !i_description TYPE csequence !i_matches TYPE csequence !i_non_matches TYPE csequence RETURNING VALUE(r_new_level_id) TYPE zcl_regex_golf_level=>ty_level_id RAISING zcx_regex_golf_error, delete_level IMPORTING !i_level_index TYPE i RAISING zcx_regex_golf_error. PRIVATE SECTION. CONSTANTS: co_level_xml_file TYPE string VALUE `/SAP/PUBLIC/levels.xml` ##NO_TEXT. DATA: m_current_level LIKE LINE OF mt_levels, m_mime_repository_api TYPE REF TO if_mr_api. METHODS: _get_random_level_id RETURNING VALUE(r_random_level_id) TYPE zcl_regex_golf_level=>ty_level_id, _load_levels RETURNING VALUE(r_levels) TYPE zcl_regex_golf_level=>tty_level RAISING zcx_regex_golf_invalid_input zcx_regex_golf_no_levels, _save_levels RAISING zcx_regex_golf_error. ENDCLASS. CLASS zcl_regex_golf_level IMPLEMENTATION. METHOD add_level. SPLIT: i_matches AT space INTO TABLE DATA(lt_matches), i_non_matches AT space INTO TABLE DATA(lt_non_matches). INSERT VALUE ty_level( id = cl_system_uuid=>create_uuid_c32_static( ) description = i_description matches = lt_matches non_matches = lt_non_matches ) INTO TABLE mt_levels ASSIGNING FIELD-SYMBOL(<new_level>). IF sy-subrc <> 0. RAISE EXCEPTION TYPE zcx_regex_golf_invalid_input. ENDIF. _save_levels( ). r_new_level_id = <new_level>-id. ENDMETHOD. METHOD constructor. m_mime_repository_api = cl_mime_repository_api=>get_api( ). mt_levels = _load_levels( ). DATA(level_id) = COND #( WHEN i_level IS SUPPLIED THEN i_level WHEN lines( mt_levels ) = 0 THEN 0 ELSE _get_random_level_id( ) ). set_level( level_id ). ENDMETHOD. METHOD delete_level. CHECK i_level_index IS NOT INITIAL. DELETE mt_levels INDEX i_level_index. IF sy-subrc <> 0. RAISE EXCEPTION TYPE zcx_regex_golf_inv_level_id. ENDIF. _save_levels( ). ENDMETHOD. METHOD get_current_level. r_current_level = m_current_level-id. ENDMETHOD. METHOD get_level_count. r_count = lines( mt_levels ). ENDMETHOD. METHOD get_matches. rt_matches = m_current_level-matches. ENDMETHOD. METHOD get_non_matches. rt_non_matches = m_current_level-non_matches. ENDMETHOD. METHOD random_level. m_current_level = mt_levels[ id = _get_random_level_id( ) ]. ENDMETHOD. METHOD set_level. CHECK i_new_level_id IS NOT INITIAL. IF NOT line_exists( mt_levels[ id = i_new_level_id ] ). RAISE EXCEPTION TYPE zcx_regex_golf_inv_level_id. ENDIF. m_current_level = mt_levels[ id = i_new_level_id ]. ENDMETHOD. METHOD _get_random_level_id. DATA(random) = cl_abap_random_int=>create( seed = CONV #( sy-uzeit ) min = 1 max = lines( mt_levels ) ). DO. DATA(random_int) = random->get_next( ). DATA(new_level) = VALUE #( mt_levels[ random_int ] OPTIONAL ). IF new_level-id <> m_current_level-id OR lines( mt_levels ) <= 1. EXIT. ENDIF. ENDDO. r_random_level_id = new_level-id. ENDMETHOD. METHOD _load_levels. m_mime_repository_api->get( EXPORTING i_url = co_level_xml_file " Object URL i_check_authority = ' ' " X Check Authorization, '' No Authorization Check IMPORTING e_content = DATA(content) " Object Content EXCEPTIONS OTHERS = 1 ). IF sy-subrc <> 0. RAISE EXCEPTION TYPE zcx_regex_golf_invalid_input EXPORTING i_syst_message = abap_true. ENDIF. CALL TRANSFORMATION id SOURCE XML content RESULT levels = r_levels. ENDMETHOD. METHOD _save_levels. CALL TRANSFORMATION id SOURCE levels = mt_levels RESULT XML DATA(content). content = NEW xml( )->pretty_print( content ). m_mime_repository_api->put( EXPORTING i_url = co_level_xml_file " Object URL i_content = content " Object Contents (if exists -> overwrite contents) EXCEPTIONS OTHERS = 1 ). IF sy-subrc <> 0. RAISE EXCEPTION TYPE zcx_regex_golf_invalid_input EXPORTING i_syst_message = abap_true. ENDIF. ENDMETHOD. ENDCLASS.
[ 31631, 1976, 565, 62, 260, 25636, 62, 70, 4024, 62, 5715, 5550, 20032, 17941, 198, 220, 44731, 198, 220, 29244, 6158, 44731, 764, 628, 220, 44731, 44513, 13, 628, 220, 220, 220, 24412, 47, 1546, 1259, 62, 5715, 62, 312, 41876, 4731, 764, 198, 220, 220, 220, 24412, 47, 1546, 25, 198, 220, 220, 220, 220, 220, 347, 43312, 3963, 1259, 62, 5715, 11, 198, 220, 220, 220, 220, 220, 220, 220, 4686, 220, 220, 220, 220, 220, 220, 220, 220, 220, 41876, 1259, 62, 5715, 62, 312, 11, 198, 220, 220, 220, 220, 220, 220, 220, 6764, 41876, 4731, 11, 198, 220, 220, 220, 220, 220, 220, 220, 7466, 220, 220, 220, 220, 41876, 4731, 8658, 11, 198, 220, 220, 220, 220, 220, 220, 220, 1729, 62, 6759, 2052, 41876, 4731, 8658, 11, 198, 220, 220, 220, 220, 220, 23578, 3963, 1259, 62, 5715, 764, 198, 220, 220, 220, 24412, 47, 1546, 25, 198, 220, 220, 220, 220, 220, 256, 774, 62, 5715, 41876, 49053, 9795, 43679, 3963, 1259, 62, 5715, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 13315, 44521, 12, 4944, 33866, 8924, 5550, 38865, 35374, 764, 628, 220, 220, 220, 42865, 45079, 62, 46170, 41876, 256, 774, 62, 5715, 20832, 12, 1340, 11319, 764, 628, 220, 220, 220, 337, 36252, 50, 25, 198, 220, 220, 220, 220, 220, 23772, 198, 220, 220, 220, 220, 220, 220, 220, 30023, 9863, 2751, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 5145, 72, 62, 5715, 41876, 1259, 62, 5715, 62, 312, 39852, 2849, 1847, 198, 220, 220, 220, 220, 220, 220, 220, 17926, 1797, 2751, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 1976, 66, 87, 62, 260, 25636, 62, 70, 4024, 62, 18224, 11, 628, 220, 220, 220, 220, 220, 651, 62, 6759, 2052, 198, 220, 220, 220, 220, 220, 220, 220, 30826, 4261, 15871, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 26173, 8924, 7, 17034, 62, 6759, 2052, 8, 41876, 4731, 8658, 11, 628, 220, 220, 220, 220, 220, 651, 62, 13159, 62, 6759, 2052, 198, 220, 220, 220, 220, 220, 220, 220, 30826, 4261, 15871, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 26173, 8924, 7, 17034, 62, 13159, 62, 6759, 2052, 8, 41876, 4731, 8658, 11, 628, 220, 220, 220, 220, 220, 651, 62, 14421, 62, 5715, 198, 220, 220, 220, 220, 220, 220, 220, 30826, 4261, 15871, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 26173, 8924, 7, 81, 62, 14421, 62, 5715, 8, 41876, 1259, 62, 5715, 62, 312, 11, 628, 220, 220, 220, 220, 220, 4738, 62, 5715, 11, 628, 220, 220, 220, 220, 220, 900, 62, 5715, 198, 220, 220, 220, 220, 220, 220, 220, 30023, 9863, 2751, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 5145, 72, 62, 3605, 62, 5715, 62, 312, 41876, 1259, 62, 5715, 62, 312, 198, 220, 220, 220, 220, 220, 220, 220, 17926, 1797, 2751, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 1976, 66, 87, 62, 260, 25636, 62, 70, 4024, 62, 18224, 11, 628, 220, 220, 220, 220, 220, 651, 62, 5715, 62, 9127, 198, 220, 220, 220, 220, 220, 220, 220, 30826, 4261, 15871, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 26173, 8924, 7, 81, 62, 9127, 8, 41876, 1259, 62, 5715, 62, 312, 11, 628, 220, 220, 220, 220, 220, 751, 62, 5715, 198, 220, 220, 220, 220, 220, 220, 220, 30023, 9863, 2751, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 5145, 72, 62, 11213, 220, 220, 220, 220, 220, 220, 220, 41876, 269, 43167, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 5145, 72, 62, 6759, 2052, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 41876, 269, 43167, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 5145, 72, 62, 13159, 62, 6759, 2052, 220, 220, 220, 220, 220, 220, 220, 41876, 269, 43167, 198, 220, 220, 220, 220, 220, 220, 220, 30826, 4261, 15871, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 26173, 8924, 7, 81, 62, 3605, 62, 5715, 62, 312, 8, 41876, 1976, 565, 62, 260, 25636, 62, 70, 4024, 62, 5715, 14804, 774, 62, 5715, 62, 312, 198, 220, 220, 220, 220, 220, 220, 220, 17926, 1797, 2751, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 1976, 66, 87, 62, 260, 25636, 62, 70, 4024, 62, 18224, 11, 628, 220, 220, 220, 220, 220, 12233, 62, 5715, 198, 220, 220, 220, 220, 220, 220, 220, 30023, 9863, 2751, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 5145, 72, 62, 5715, 62, 9630, 41876, 1312, 198, 220, 220, 220, 220, 220, 220, 220, 17926, 1797, 2751, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 1976, 66, 87, 62, 260, 25636, 62, 70, 4024, 62, 18224, 13, 628, 220, 4810, 3824, 6158, 44513, 13, 628, 220, 220, 220, 7102, 2257, 1565, 4694, 25, 763, 62, 5715, 62, 19875, 62, 7753, 41876, 4731, 26173, 8924, 4600, 14, 50, 2969, 14, 5105, 32936, 14, 46170, 13, 19875, 63, 22492, 15285, 62, 32541, 13, 628, 220, 220, 220, 42865, 25, 198, 220, 220, 220, 220, 220, 285, 62, 14421, 62, 5715, 220, 220, 220, 220, 220, 220, 34178, 48920, 3963, 45079, 62, 46170, 11, 198, 220, 220, 220, 220, 220, 285, 62, 76, 524, 62, 260, 1930, 37765, 62, 15042, 41876, 4526, 37, 5390, 611, 62, 43395, 62, 15042, 13, 628, 220, 220, 220, 337, 36252, 50, 25, 198, 220, 220, 220, 220, 220, 4808, 1136, 62, 25120, 62, 5715, 62, 312, 198, 220, 220, 220, 220, 220, 220, 220, 30826, 4261, 15871, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 26173, 8924, 7, 81, 62, 25120, 62, 5715, 62, 312, 8, 41876, 1976, 565, 62, 260, 25636, 62, 70, 4024, 62, 5715, 14804, 774, 62, 5715, 62, 312, 11, 628, 220, 220, 220, 220, 220, 4808, 2220, 62, 46170, 198, 220, 220, 220, 220, 220, 220, 220, 30826, 4261, 15871, 198, 220 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
*----------------------------------------------------------------------* ***INCLUDE LZSSF_FGI01. *----------------------------------------------------------------------* MODULE validate_key INPUT. DATA : lv_key TYPE zssf_data-zkey. IF ( status-action EQ 'A' ) AND ( function EQ 'SAVE' ) AND ( extract[] NE total[] ). **Do nothing ELSE. CLEAR lv_key. SELECT SINGLE zkey FROM zssf_data INTO lv_key WHERE interface_id EQ zssf_data-interface_id. IF sy-subrc EQ 0. IF lv_key NE zssf_data-zkey. MESSAGE text-004 TYPE 'E'. ENDIF. ENDIF. ENDIF. ENDMODULE. " VALIDATE_KEY INPUT
[ 9, 10097, 23031, 9, 198, 8162, 1268, 5097, 52, 7206, 406, 57, 5432, 37, 62, 37, 18878, 486, 13, 198, 9, 10097, 23031, 9, 198, 33365, 24212, 26571, 62, 2539, 3268, 30076, 13, 198, 220, 42865, 1058, 300, 85, 62, 2539, 41876, 1976, 824, 69, 62, 7890, 12, 89, 2539, 13, 198, 220, 16876, 357, 3722, 12, 2673, 36529, 705, 32, 6, 1267, 5357, 198, 220, 220, 357, 2163, 36529, 705, 4090, 6089, 6, 1267, 5357, 198, 220, 220, 357, 7925, 21737, 10635, 2472, 21737, 6739, 198, 1174, 5211, 2147, 198, 220, 17852, 5188, 13, 198, 220, 220, 220, 30301, 1503, 300, 85, 62, 2539, 13, 198, 220, 220, 220, 33493, 311, 2751, 2538, 1976, 2539, 16034, 1976, 824, 69, 62, 7890, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 39319, 300, 85, 62, 2539, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 33411, 7071, 62, 312, 36529, 1976, 824, 69, 62, 7890, 12, 39994, 62, 312, 13, 198, 220, 220, 220, 16876, 827, 12, 7266, 6015, 36529, 657, 13, 198, 220, 220, 220, 220, 220, 16876, 300, 85, 62, 2539, 10635, 1976, 824, 69, 62, 7890, 12, 89, 2539, 13, 198, 220, 220, 220, 220, 220, 220, 220, 337, 1546, 4090, 8264, 2420, 12, 22914, 41876, 705, 36, 4458, 198, 220, 220, 220, 220, 220, 23578, 5064, 13, 198, 220, 220, 220, 23578, 5064, 13, 198, 220, 23578, 5064, 13, 198, 10619, 33365, 24212, 13, 220, 220, 220, 220, 220, 220,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ORTING object TYPE csequence OPTIONAL subobject TYPE csequence OPTIONAL desc TYPE csequence OPTIONAL context TYPE simple OPTIONAL settings TYPE REF TO /mbtools/if_logger_settings OPTIONAL RETURNING VALUE(r_log) TYPE REF TO /mbtools/if_logger . "! Reopens an already existing log. CLASS-METHODS open_log IMPORTING object TYPE csequence subobject TYPE csequence desc TYPE csequence OPTIONAL create_if_does_not_exist TYPE abap_bool DEFAULT abap_false settings TYPE REF TO /mbtools/if_logger_settings OPTIONAL RETURNING VALUE(r_log) TYPE REF TO /mbtools/if_logger . "! Creates a settings object which can be modified. It can be pass on "! the creation of the logger to change its behavior. CLASS-METHODS create_settings RETURNING VALUE(r_settings) TYPE REF TO /mbtools/if_logger_settings. CLASS-METHODS create_collection RETURNING VALUE(r_collection) TYPE REF TO /mbtools/if_logger_collection . PROTECTED SECTION. PRIVATE SECTION. ENDCLASS. CLASS /mbtools/cl_logger_factory IMPLEMENTATION. METHOD create_log. DATA: lo_log TYPE REF TO /mbtools/cl_logger. FIELD-SYMBOLS <context_val> TYPE c. CREATE OBJECT lo_log. lo_log->header-object = object. lo_log->header-subobject = subobject. lo_log->header-extnumber = desc. IF settings IS BOUND. lo_log->settings = settings. ELSE. CREATE OBJECT lo_log->settings TYPE /mbtools/cl_logger_settings. ENDIF. * Special case: Logger can work without object - but then * the data cannot be written to the database. IF object IS INITIAL. lo_log->settings->set_autosave( abap_false ). ENDIF. * Use secondary database connection to write data to database even if * main program does a rollback (e. g. during a dump). IF lo_log->settings->get_usage_of_secondary_db_conn( ) = abap_true. lo_log->sec_connection = abap_true. lo_log->sec_connect_commit = abap_true. ENDIF. * Set deletion date and set if log can be deleted before deletion date is reached. lo_log->header-aldate_del = lo_log->settings->get_expiry_date( ). lo_log->header-del_before = lo_log->settings->get_must_be_kept_until_expiry( ). IF context IS SUPPLIED AND context IS NOT INITIAL. lo_log->header-context-tabname = cl_abap_typedescr=>describe_by_data( context )->get_ddic_header( )-tabname. ASSIGN context TO <context_val> CASTING. lo_log->header-context-value = <context_val>. ENDIF. CALL FUNCTION 'BAL_LOG_CREATE' EXPORTING i_s_log = lo_log->header IMPORTING e_log_handle = lo_log->handle. * BAL_LOG_CREATE will fill in some additional header data. * This FM updates our instance attribute to reflect that. CALL FUNCTION 'BAL_LOG_HDR_READ' EXPORTING i_log_handle = lo_log->handle IMPORTING e_s_log = lo_log->header. r_log = lo_log. ENDMETHOD. METHOD create_settings. CREATE OBJECT r_settings TYPE /mbtools/cl_logger_settings. ENDMETHOD. METHOD open_log. DATA: filter TYPE bal_s_lfil, l_object TYPE balobj_d, l_subobject TYPE balsubobj, extnumber TYPE balnrext, found_headers TYPE balhdr_t, most_recent_header TYPE balhdr. DATA: lo_log TYPE REF TO /mbtools/cl_logger. l_object = object. l_subobject = subobject. extnumber = desc. CALL FUNCTION 'BAL_FILTER_CREATE' EXPORTING i_object = l_object i_subobject = l_subobject i_extnumber = extnumber IMPORTING e_s_log_filter = filter. CALL FUNCTION 'BAL_DB_SEARCH' EXPORTING i_s_log_filter = filter IMPORTING e_t_log_header = found_headers EXCEPTIONS log_not_found = 1. IF sy-subrc = 1. IF create_if_does_not_exist = abap_true. r_log = /mbtools/cl_logger=>new( object = object subobject = subobject desc = desc ). ENDIF. RETURN. ENDIF. * Delete all but the last row. Keep the found_headers table this way * so we can pass it to BAL_DB_LOAD. IF lines( found_headers ) > 1. DELETE found_headers TO ( lines( found_headers ) - 1 ). ENDIF. READ TABLE found_headers INDEX 1 INTO most_recent_header. CREATE OBJECT lo_log. lo_log->db_number = most_recent_header-lognumber. lo_log->handle = most_recent_header-log_handle. IF settings IS BOUND. lo_log->settings = settings. ELSE. CREATE OBJECT lo_log->settings TYPE /mbtools/cl_logger_settings. ENDIF. CALL FUNCTION 'BAL_DB_LOAD' EXPORTING i_t_log_header = found_headers. CALL FUNCTION 'BAL_LOG_HDR_READ' EXPORTING i_log_handle = lo_log->handle IMPORTING e_s_log = lo_log->header. r_log = lo_log. ENDMETHOD. METHOD create_collection. CREATE OBJECT r_collection TYPE /mbtools/cl_logger_collection. ENDMETHOD. ENDCLASS.
[ 31631, 1220, 2022, 31391, 14, 565, 62, 6404, 1362, 62, 69, 9548, 5550, 20032, 17941, 198, 220, 44731, 198, 220, 25261, 198, 220, 29244, 6158, 4810, 3824, 6158, 764, 628, 220, 44731, 44513, 13, 628, 220, 220, 220, 366, 0, 50181, 257, 649, 2604, 13, 198, 220, 220, 220, 42715, 12, 49273, 50, 2251, 62, 6404, 198, 220, 220, 220, 220, 220, 30023, 9863, 2751, 198, 220, 220, 220, 220, 220, 220, 220, 2134, 220, 220, 220, 220, 220, 220, 41876, 269, 43167, 39852, 2849, 1847, 198, 220, 220, 220, 220, 220, 220, 220, 850, 15252, 220, 220, 220, 41876, 269, 43167, 39852, 2849, 1847, 198, 220, 220, 220, 220, 220, 220, 220, 1715, 220, 220, 220, 220, 220, 220, 220, 220, 41876, 269, 43167, 39852, 2849, 1847, 198, 220, 220, 220, 220, 220, 220, 220, 4732, 220, 220, 220, 220, 220, 41876, 2829, 39852, 2849, 1847, 198, 220, 220, 220, 220, 220, 220, 220, 6460, 220, 220, 220, 220, 41876, 4526, 37, 5390, 1220, 2022, 31391, 14, 361, 62, 6404, 1362, 62, 33692, 39852, 2849, 1847, 198, 220, 220, 220, 220, 220, 30826, 4261, 15871, 198, 220, 220, 220, 220, 220, 220, 220, 26173, 8924, 7, 81, 62, 6404, 8, 41876, 4526, 37, 5390, 1220, 2022, 31391, 14, 361, 62, 6404, 1362, 764, 628, 220, 220, 220, 366, 0, 797, 44813, 281, 1541, 4683, 2604, 13, 198, 220, 220, 220, 42715, 12, 49273, 50, 1280, 62, 6404, 198, 220, 220, 220, 220, 220, 30023, 9863, 2751, 198, 220, 220, 220, 220, 220, 220, 220, 2134, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 41876, 269, 43167, 198, 220, 220, 220, 220, 220, 220, 220, 850, 15252, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 41876, 269, 43167, 198, 220, 220, 220, 220, 220, 220, 220, 1715, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 41876, 269, 43167, 39852, 2849, 1847, 198, 220, 220, 220, 220, 220, 220, 220, 2251, 62, 361, 62, 22437, 62, 1662, 62, 38476, 41876, 450, 499, 62, 30388, 5550, 38865, 450, 499, 62, 9562, 198, 220, 220, 220, 220, 220, 220, 220, 6460, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 41876, 4526, 37, 5390, 1220, 2022, 31391, 14, 361, 62, 6404, 1362, 62, 33692, 39852, 2849, 1847, 198, 220, 220, 220, 220, 220, 30826, 4261, 15871, 198, 220, 220, 220, 220, 220, 220, 220, 26173, 8924, 7, 81, 62, 6404, 8, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 41876, 4526, 37, 5390, 1220, 2022, 31391, 14, 361, 62, 6404, 1362, 764, 628, 220, 220, 220, 366, 0, 7921, 274, 257, 6460, 2134, 543, 460, 307, 9518, 13, 632, 460, 307, 1208, 319, 198, 220, 220, 220, 366, 0, 262, 6282, 286, 262, 49706, 284, 1487, 663, 4069, 13, 198, 220, 220, 220, 42715, 12, 49273, 50, 2251, 62, 33692, 198, 220, 220, 220, 220, 220, 30826, 4261, 15871, 198, 220, 220, 220, 220, 220, 220, 220, 26173, 8924, 7, 81, 62, 33692, 8, 41876, 4526, 37, 5390, 1220, 2022, 31391, 14, 361, 62, 6404, 1362, 62, 33692, 13, 628, 220, 220, 220, 42715, 12, 49273, 50, 2251, 62, 43681, 198, 220, 220, 220, 220, 220, 30826, 4261, 15871, 198, 220, 220, 220, 220, 220, 220, 220, 26173, 8924, 7, 81, 62, 43681, 8, 41876, 4526, 37, 5390, 1220, 2022, 31391, 14, 361, 62, 6404, 1362, 62, 43681, 764, 198, 220, 48006, 9782, 1961, 44513, 13, 198, 220, 4810, 3824, 6158, 44513, 13, 198, 10619, 31631, 13, 628, 198, 198, 31631, 1220, 2022, 31391, 14, 565, 62, 6404, 1362, 62, 69, 9548, 30023, 2538, 10979, 6234, 13, 628, 198, 220, 337, 36252, 2251, 62, 6404, 13, 628, 220, 220, 220, 42865, 25, 2376, 62, 6404, 41876, 4526, 37, 5390, 1220, 2022, 31391, 14, 565, 62, 6404, 1362, 13, 198, 220, 220, 220, 18930, 24639, 12, 23060, 10744, 3535, 50, 1279, 22866, 62, 2100, 29, 41876, 269, 13, 628, 220, 220, 220, 29244, 6158, 25334, 23680, 2376, 62, 6404, 13, 198, 220, 220, 220, 2376, 62, 6404, 3784, 25677, 12, 15252, 220, 220, 220, 796, 2134, 13, 198, 220, 220, 220, 2376, 62, 6404, 3784, 25677, 12, 7266, 15252, 796, 850, 15252, 13, 198, 220, 220, 220, 2376, 62, 6404, 3784, 25677, 12, 2302, 17618, 796, 1715, 13, 628, 220, 220, 220, 16876, 6460, 3180, 347, 15919, 13, 198, 220, 220, 220, 220, 220, 2376, 62, 6404, 3784, 33692, 796, 6460, 13, 198, 220, 220, 220, 17852, 5188, 13, 198, 220, 220, 220, 220, 220, 29244, 6158, 25334, 23680, 2376, 62, 6404, 3784, 33692, 41876, 1220, 2022, 31391, 14, 565, 62, 6404, 1362, 62, 33692, 13, 198, 220, 220, 220, 23578, 5064, 13, 198, 198, 9, 6093, 1339, 25, 5972, 1362, 460, 670, 1231, 2134, 532, 475, 788, 198, 9, 262, 1366, 2314, 307, 3194, 284, 262, 6831, 13, 198, 220, 220, 220, 16876, 2134, 3180, 3268, 2043, 12576, 13, 198, 220, 220, 220, 220, 220, 2376, 62, 6404, 3784, 33692, 3784, 2617, 62, 2306, 418, 1015, 7, 450, 499, 62, 9562, 6739, 198, 220, 220, 220, 23578, 5064, 13, 198, 198, 9, 5765, 9233, 6831, 4637, 284, 3551, 1366, 284, 6831, 772, 611, 198, 9, 1388, 1430, 857, 257, 4836, 1891, 357, 68, 13, 308, 13, 1141, 257, 10285, 737, 198, 220, 220, 220, 16876, 2376, 62, 6404, 3784, 33692, 3784, 1136, 62, 26060, 62, 1659, 62, 38238, 62, 9945, 62, 37043, 7, 1267, 796, 450, 499, 62, 7942, 13, 198, 220, 220, 220, 220, 220, 2376, 62, 6404, 3784, 2363, 62, 38659, 220, 220, 220, 220, 796, 450, 499, 62, 7942, 13, 198, 220, 220, 220, 220, 220, 2376, 62, 6404, 3784, 2363, 62, 8443, 62, 41509, 796, 450, 499, 62, 7942, 13, 198, 220, 220, 220, 23578, 5064, 13, 198, 198, 9, 5345, 39948, 3128, 290, 900, 611, 2604, 460, 307, 13140, 878, 39948, 3128, 318, 4251, 13, 198, 220, 220, 220, 2376, 62, 6404, 3784, 25677, 12, 1940, 378, 62, 12381, 796, 2376, 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, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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 ]
CLASS zcl_abapgit_object_dsys DEFINITION PUBLIC INHERITING FROM zcl_abapgit_objects_super FINAL. PUBLIC SECTION. INTERFACES zif_abapgit_object. ALIASES mo_files FOR zif_abapgit_object~mo_files. METHODS constructor IMPORTING is_item TYPE zif_abapgit_definitions=>ty_item iv_language TYPE spras. PROTECTED SECTION. PRIVATE SECTION. CONSTANTS: c_typ TYPE dokhl-typ VALUE 'E', c_version TYPE dokhl-dokversion VALUE '0001', c_id TYPE dokhl-id VALUE 'HY', c_dokclas TYPE doku_class VALUE 'SIMG'. DATA: mv_object TYPE dokhl-object, mv_dokname TYPE doku_obj. TYPES: BEGIN OF ty_data, doctitle TYPE dsyst-doktitle, head TYPE thead, lines TYPE tline_tab, END OF ty_data. METHODS: read RETURNING VALUE(rs_data) TYPE ty_data. ENDCLASS. CLASS ZCL_ABAPGIT_OBJECT_DSYS IMPLEMENTATION. METHOD constructor. super->constructor( is_item = is_item iv_language = iv_language ). mv_object = ms_item-obj_name. mv_dokname = mv_object+4(*). ENDMETHOD. METHOD read. CALL FUNCTION 'DOCU_READ' EXPORTING id = c_id langu = mv_language object = mv_object typ = c_typ version = c_version IMPORTING doktitle = rs_data-doctitle head = rs_data-head TABLES line = rs_data-lines. ENDMETHOD. METHOD zif_abapgit_object~changed_by. rv_user = read( )-head-tdluser. IF rv_user IS INITIAL. rv_user = c_user_unknown. ENDIF. ENDMETHOD. METHOD zif_abapgit_object~delete. CALL FUNCTION 'DOCU_DEL' EXPORTING id = c_id langu = mv_language object = mv_object typ = c_typ EXCEPTIONS ret_code = 1 OTHERS = 2. IF sy-subrc <> 0. zcx_abapgit_exception=>raise( 'error from DOCU_DEL' ). ENDIF. ENDMETHOD. METHOD zif_abapgit_object~deserialize. DATA: ls_data TYPE ty_data. io_xml->read( EXPORTING iv_name = 'DSYS' CHANGING cg_data = ls_data ). CALL FUNCTION 'DOCU_UPDATE' EXPORTING head = ls_data-head state = 'A' typ = c_typ version = c_version TABLES line = ls_data-lines. tadir_insert( iv_package ). ENDMETHOD. METHOD zif_abapgit_object~exists. SELECT SINGLE object FROM dokil INTO mv_object WHERE id = c_id AND object = mv_object. "#EC CI_GENBUFF rv_bool = boolc( sy-subrc = 0 ). ENDMETHOD. METHOD zif_abapgit_object~get_comparator. RETURN. ENDMETHOD. METHOD zif_abapgit_object~get_deserialize_steps. DATA: ls_meta TYPE zif_abapgit_definitions=>ty_metadata. ls_meta = get_metadata( ). IF ls_meta-late_deser = abap_true. APPEND zif_abapgit_object=>gc_step_id-late TO rt_steps. ELSEIF ls_meta-ddic = abap_true. APPEND zif_abapgit_object=>gc_step_id-ddic TO rt_steps. ELSE. APPEND zif_abapgit_object=>gc_step_id-abap TO rt_steps. ENDIF. ENDMETHOD. METHOD zif_abapgit_object~get_metadata. rs_metadata = get_metadata( ). rs_metadata-delete_tadir = abap_true. ENDMETHOD. METHOD zif_abapgit_object~is_active. rv_active = is_active( ). ENDMETHOD. METHOD zif_abapgit_object~is_locked. rv_is_locked = abap_false. ENDMETHOD. METHOD zif_abapgit_object~jump. CALL FUNCTION 'DSYS_SHOW' EXPORTING dokclass = c_dokclas dokname = mv_dokname EXCEPTIONS class_unknown = 1 object_not_found = 2 OTHERS = 3. IF sy-subrc <> 0. zcx_abapgit_exception=>raise( 'error from DSYS_EDIT' ). ENDIF. ENDMETHOD. METHOD zif_abapgit_object~serialize. DATA: ls_data TYPE ty_data. ls_data = read( ). CLEAR: ls_data-head-tdfuser, ls_data-head-tdfreles, ls_data-head-tdfdate, ls_data-head-tdftime, ls_data-head-tdluser, ls_data-head-tdlreles, ls_data-head-tdldate, ls_data-head-tdltime. io_xml->add( iv_name = 'DSYS' ig_data = ls_data ). ENDMETHOD. ENDCLASS.
[ 31631, 1976, 565, 62, 397, 499, 18300, 62, 15252, 62, 9310, 893, 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, 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, 318, 62, 9186, 220, 220, 220, 220, 41876, 1976, 361, 62, 397, 499, 18300, 62, 4299, 50101, 14804, 774, 62, 9186, 198, 220, 220, 220, 220, 220, 220, 220, 21628, 62, 16129, 41876, 7500, 292, 13, 628, 220, 48006, 9782, 1961, 44513, 13, 198, 220, 4810, 3824, 6158, 44513, 13, 198, 220, 220, 220, 7102, 2257, 1565, 4694, 25, 269, 62, 28004, 220, 220, 220, 220, 41876, 466, 14636, 75, 12, 28004, 26173, 8924, 705, 36, 3256, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 269, 62, 9641, 41876, 466, 14636, 75, 12, 67, 482, 9641, 26173, 8924, 705, 18005, 3256, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 269, 62, 312, 220, 220, 220, 220, 220, 41876, 466, 14636, 75, 12, 312, 26173, 8924, 705, 42598, 3256, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 269, 62, 67, 482, 565, 292, 41876, 466, 23063, 62, 4871, 26173, 8924, 705, 48913, 38, 4458, 198, 220, 220, 220, 42865, 25, 285, 85, 62, 15252, 220, 41876, 466, 14636, 75, 12, 15252, 11, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 285, 85, 62, 67, 482, 3672, 41876, 466, 23063, 62, 26801, 13, 628, 220, 220, 220, 24412, 47, 1546, 25, 347, 43312, 3963, 1259, 62, 7890, 11, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 10412, 2578, 41876, 288, 1837, 301, 12, 67, 482, 7839, 11, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 1182, 220, 220, 220, 220, 41876, 262, 324, 11, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 3951, 220, 220, 220, 41876, 256, 1370, 62, 8658, 11, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 23578, 3963, 1259, 62, 7890, 13, 628, 220, 220, 220, 337, 36252, 50, 25, 1100, 198, 220, 220, 220, 220, 220, 30826, 4261, 15871, 26173, 8924, 7, 3808, 62, 7890, 8, 41876, 1259, 62, 7890, 13, 198, 198, 10619, 31631, 13, 628, 198, 198, 31631, 1168, 5097, 62, 6242, 2969, 38, 2043, 62, 9864, 23680, 62, 5258, 16309, 30023, 2538, 10979, 6234, 13, 628, 198, 220, 337, 36252, 23772, 13, 628, 220, 220, 220, 2208, 3784, 41571, 273, 7, 318, 62, 9186, 796, 318, 62, 9186, 198, 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, 16129, 796, 21628, 62, 16129, 6739, 628, 220, 220, 220, 285, 85, 62, 15252, 220, 796, 13845, 62, 9186, 12, 26801, 62, 3672, 13, 198, 220, 220, 220, 285, 85, 62, 67, 482, 3672, 796, 285, 85, 62, 15252, 10, 19, 46491, 737, 628, 220, 23578, 49273, 13, 628, 198, 220, 337, 36252, 1100, 13, 628, 220, 220, 220, 42815, 29397, 4177, 2849, 705, 38715, 52, 62, 15675, 6, 198, 220, 220, 220, 220, 220, 7788, 15490, 2751, 198, 220, 220, 220, 220, 220, 220, 220, 4686, 220, 220, 220, 220, 220, 220, 796, 269, 62, 312, 198, 220, 220, 220, 220, 220, 220, 220, 2786, 220, 220, 220, 796, 285, 85, 62, 16129, 198, 220, 220, 220, 220, 220, 220, 220, 2134, 220, 220, 796, 285, 85, 62, 15252, 198, 220, 220, 220, 220, 220, 220, 220, 2170, 220, 220, 220, 220, 220, 796, 269, 62, 28004, 198, 220, 220, 220, 220, 220, 220, 220, 2196, 220, 796, 269, 62, 9641, 198, 220, 220, 220, 220, 220, 30023, 9863, 2751, 198, 220, 220, 220, 220, 220, 220, 220, 466, 74, 7839, 796, 44608, 62, 7890, 12, 4598, 310, 2578, 198, 220, 220, 220, 220, 220, 220, 220, 1182, 220, 220, 220, 220, 796, 44608, 62, 7890, 12, 2256, 198, 220, 220, 220, 220, 220, 309, 6242, 28378, 198, 220, 220, 220, 220, 220, 220, 220, 1627, 220, 220, 220, 220, 796, 44608, 62, 7890, 12, 6615, 13, 628, 220, 23578, 49273, 13, 628, 198, 220, 337, 36252, 1976, 361, 62, 397, 499, 18300, 62, 15252, 93, 40985, 62, 1525, 13, 198, 220, 220, 220, 374, 85, 62, 7220, 796, 1100, 7, 1267, 12, 2256, 12, 8671, 75, 7220, 13, 198, 220, 220, 220, 16876, 374, 85, 62, 7220, 3180, 3268, 2043, 12576, 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, 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, 42815, 29397, 4177, 2849, 705, 38715, 52, 62, 35, 3698, 6, 198, 220, 220, 220, 220, 220, 7788, 15490, 2751, 198, 220, 220, 220, 220, 220, 220, 220, 4686, 220, 220, 220, 220, 220, 220, 796, 269, 62, 312, 198, 220, 220, 220, 220, 220, 220, 220, 2786, 220, 220, 220, 796, 285, 85, 62, 16129, 198, 220, 220, 220, 220, 220, 220, 220, 2134, 220, 220, 796, 285, 85, 62, 15252, 198, 220, 220, 220, 220, 220, 220, 220, 2170, 220, 220, 220, 220, 220, 796, 269, 62, 28004, 198, 220, 220, 220, 220, 220, 7788, 42006, 11053, 198, 220, 220, 220, 220, 220, 220, 220, 1005, 62, 8189, 796, 352, 198, 220, 220, 220, 220, 220, 220, 220, 440, 4221, 4877, 220, 220, 796, 362, 13, 628, 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 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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 ]
protected section. methods ZPURCHASE_REQ_HE_GET_ENTITY redefinition . methods ZPURCHASE_REQ_HE_GET_ENTITYSET redefinition .
[ 24326, 2665, 13, 628, 220, 5050, 1168, 47, 4261, 3398, 11159, 62, 2200, 48, 62, 13909, 62, 18851, 62, 3525, 9050, 198, 220, 220, 220, 34087, 17750, 764, 198, 220, 5050, 1168, 47, 4261, 3398, 11159, 62, 2200, 48, 62, 13909, 62, 18851, 62, 3525, 9050, 28480, 198, 220, 220, 220, 34087, 17750, 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, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
CLASS ycl_abapgit_diff DEFINITION PUBLIC CREATE PUBLIC . PUBLIC SECTION. DATA mt_beacons TYPE yif_abapgit_definitions=>ty_string_tt READ-ONLY. * assumes data is UTF8 based with newlines * only works with lines up to 255 characters METHODS constructor IMPORTING iv_new TYPE xstring iv_old TYPE xstring. METHODS get RETURNING VALUE(rt_diff) TYPE yif_abapgit_definitions=>ty_diffs_tt. METHODS stats RETURNING VALUE(rs_count) TYPE yif_abapgit_definitions=>ty_count. METHODS set_patch_new IMPORTING iv_line_new TYPE i iv_patch_flag TYPE abap_bool RAISING ycx_abapgit_exception. METHODS set_patch_old IMPORTING iv_line_old TYPE i iv_patch_flag TYPE abap_bool RAISING ycx_abapgit_exception. PRIVATE SECTION. DATA mt_diff TYPE yif_abapgit_definitions=>ty_diffs_tt. DATA ms_stats TYPE yif_abapgit_definitions=>ty_count. CLASS-METHODS: unpack IMPORTING iv_new TYPE xstring iv_old TYPE xstring EXPORTING et_new TYPE abaptxt255_tab et_old TYPE abaptxt255_tab, render IMPORTING it_new TYPE abaptxt255_tab it_old TYPE abaptxt255_tab it_delta TYPE vxabapt255_tab RETURNING VALUE(rt_diff) TYPE yif_abapgit_definitions=>ty_diffs_tt, compute IMPORTING it_new TYPE abaptxt255_tab it_old TYPE abaptxt255_tab RETURNING VALUE(rt_delta) TYPE vxabapt255_tab. METHODS: calculate_line_num_and_stats, map_beacons, shortlist. ENDCLASS. CLASS YCL_ABAPGIT_DIFF IMPLEMENTATION. METHOD calculate_line_num_and_stats. DATA: lv_new TYPE i VALUE 1, lv_old TYPE i VALUE 1. FIELD-SYMBOLS: <ls_diff> LIKE LINE OF mt_diff. LOOP AT mt_diff ASSIGNING <ls_diff>. <ls_diff>-new_num = lv_new. <ls_diff>-old_num = lv_old. CASE <ls_diff>-result. " Line nums WHEN yif_abapgit_definitions=>c_diff-delete. lv_old = lv_old + 1. CLEAR <ls_diff>-new_num. WHEN yif_abapgit_definitions=>c_diff-insert. lv_new = lv_new + 1. CLEAR <ls_diff>-old_num. WHEN OTHERS. lv_new = lv_new + 1. lv_old = lv_old + 1. ENDCASE. CASE <ls_diff>-result. " Stats WHEN yif_abapgit_definitions=>c_diff-insert. ms_stats-insert = ms_stats-insert + 1. WHEN yif_abapgit_definitions=>c_diff-delete. ms_stats-delete = ms_stats-delete + 1. WHEN yif_abapgit_definitions=>c_diff-update. ms_stats-update = ms_stats-update + 1. ENDCASE. ENDLOOP. ENDMETHOD. METHOD compute. DATA: lt_trdirtab_old TYPE TABLE OF trdir, lt_trdirtab_new TYPE TABLE OF trdir, lt_trdir_delta TYPE TABLE OF xtrdir. CALL FUNCTION 'SVRS_COMPUTE_DELTA_REPS' TABLES texttab_old = it_old texttab_new = it_new trdirtab_old = lt_trdirtab_old trdirtab_new = lt_trdirtab_new trdir_delta = lt_trdir_delta text_delta = rt_delta. ENDMETHOD. METHOD constructor. DATA: lt_delta TYPE vxabapt255_tab, lt_new TYPE abaptxt255_tab, lt_old TYPE abaptxt255_tab. unpack( EXPORTING iv_new = iv_new iv_old = iv_old IMPORTING et_new = lt_new et_old = lt_old ). lt_delta = compute( it_new = lt_new it_old = lt_old ). mt_diff = render( it_new = lt_new it_old = lt_old it_delta = lt_delta ). calculate_line_num_and_stats( ). map_beacons( ). shortlist( ). ENDMETHOD. METHOD get. rt_diff = mt_diff. ENDMETHOD. METHOD map_beacons. DEFINE _add_regex. CREATE OBJECT lo_regex EXPORTING pattern = &1 ignore_case = abap_true ##NO_TEXT. APPEND lo_regex TO lt_regex_set. END-OF-DEFINITION. DATA: lv_beacon_idx TYPE i, lv_offs TYPE i, lv_beacon_str TYPE string, lv_beacon_2lev TYPE string, lv_submatch TYPE string, lo_regex TYPE REF TO cl_abap_regex, lt_regex_set TYPE TABLE OF REF TO cl_abap_regex. FIELD-SYMBOLS: <ls_diff> LIKE LINE OF mt_diff. _add_regex '^\s*(CLASS|FORM|MODULE|REPORT|METHOD)\s'. _add_regex '^\s*START-OF-'. _add_regex '^\s*INITIALIZATION(\s|\.)'. LOOP AT mt_diff ASSIGNING <ls_diff>. CLEAR lv_offs. <ls_diff>-beacon = lv_beacon_idx. LOOP AT lt_regex_set INTO lo_regex. " FIND FIRST OCCURRENCE OF REGEX lo_regex IN <ls_diff>-new SUBMATCHES lv_submatch. IF sy-subrc = 0. " Match lv_beacon_str = <ls_diff>-new. lv_submatch = to_upper( lv_submatch ). " Get rid of comments and end of line FIND FIRST OCCURRENCE OF '.' IN lv_beacon_str MATCH OFFSET lv_offs. IF sy-subrc <> 0. FIND FIRST OCCURRENCE OF '"' IN lv_beacon_str MATCH OFFSET lv_offs. ENDIF. IF lv_offs > 0. lv_beacon_str = lv_beacon_str(lv_offs). ENDIF. IF lv_submatch = 'CLASS'. lv_beacon_2lev = lv_beacon_str. ELSEIF lv_submatch = 'METHOD'. lv_beacon_str = lv_beacon_2lev && ` => ` && lv_beacon_str. ENDIF. APPEND lv_beacon_str TO mt_beacons. lv_beacon_idx = sy-tabix. <ls_diff>-beacon = lv_beacon_idx. EXIT. "Loop ENDIF. ENDLOOP. ENDLOOP. ENDMETHOD. METHOD render. DEFINE _append. CLEAR ls_diff. ls_diff-new = &1. ls_diff-result = &2. ls_diff-old = &3. APPEND ls_diff TO rt_diff. END-OF-DEFINITION. DATA: lv_oindex TYPE i VALUE 1, lv_nindex TYPE i VALUE 1, ls_new LIKE LINE OF it_new, ls_old LIKE LINE OF it_old, ls_diff LIKE LINE OF rt_diff, lt_delta LIKE it_delta, ls_delta LIKE LINE OF it_delta. lt_delta = it_delta. DO. READ TABLE lt_delta INTO ls_delta WITH KEY number = lv_oindex. IF sy-subrc = 0. DELETE lt_delta INDEX sy-tabix. CASE ls_delta-vrsflag. WHEN yif_abapgit_definitions=>c_diff-delete. _append '' yif_abapgit_definitions=>c_diff-delete ls_delta-line. lv_oindex = lv_oindex + 1. WHEN yif_abapgit_definitions=>c_diff-insert. _append ls_delta-line yif_abapgit_definitions=>c_diff-insert ''. lv_nindex = lv_nindex + 1. WHEN yif_abapgit_definitions=>c_diff-update. CLEAR ls_new. READ TABLE it_new INTO ls_new INDEX lv_nindex. ASSERT sy-subrc = 0. _append ls_new yif_abapgit_definitions=>c_diff-update ls_delta-line. lv_nindex = lv_nindex + 1. lv_oindex = lv_oindex + 1. WHEN OTHERS. ASSERT 0 = 1. ENDCASE. ELSE. CLEAR ls_new. READ TABLE it_new INTO ls_new INDEX lv_nindex. "#EC CI_SUBRC lv_nindex = lv_nindex + 1. CLEAR ls_old. READ TABLE it_old INTO ls_old INDEX lv_oindex. "#EC CI_SUBRC lv_oindex = lv_oindex + 1. _append ls_new '' ls_old. ENDIF. IF lv_nindex > lines( it_new ) AND lv_oindex > lines( it_old ). EXIT. " current loop ENDIF. ENDDO. ENDMETHOD. METHOD set_patch_new. DATA: lv_new_num TYPE i. FIELD-SYMBOLS: <ls_diff> TYPE yif_abapgit_definitions=>ty_diff. LOOP AT mt_diff ASSIGNING <ls_diff>. lv_new_num = <ls_diff>-new_num. IF lv_new_num = iv_line_new. EXIT. ENDIF. ENDLOOP. IF sy-subrc <> 0. ycx_abapgit_exception=>raise( |Invalid new line number { iv_line_new }| ). ENDIF. <ls_diff>-patch_flag = iv_patch_flag. ENDMETHOD. METHOD set_patch_old. DATA: lv_old_num TYPE i. FIELD-SYMBOLS: <ls_diff> TYPE yif_abapgit_definitions=>ty_diff. LOOP AT mt_diff ASSIGNING <ls_diff>. lv_old_num = <ls_diff>-old_num. IF lv_old_num = iv_line_old. EXIT. ENDIF. ENDLOOP. IF sy-subrc <> 0. ycx_abapgit_exception=>raise( |Invalid old line number { iv_line_old }| ). ENDIF. <ls_diff>-patch_flag = iv_patch_flag. ENDMETHOD. METHOD shortlist. DATA: lv_index TYPE i. FIELD-SYMBOLS: <ls_diff> LIKE LINE OF mt_diff. IF lines( mt_diff ) < 20. LOOP AT mt_diff ASSIGNING <ls_diff>. <ls_diff>-short = abap_true. ENDLOOP. ELSE. LOOP AT mt_diff TRANSPORTING NO FIELDS WHERE NOT result IS INITIAL AND short = abap_false. lv_index = sy-tabix. DO 8 TIMES. " Backward READ TABLE mt_diff INDEX ( lv_index - sy-index ) ASSIGNING <ls_diff>. IF sy-subrc <> 0 OR <ls_diff>-short = abap_true. " tab bound or prev marker EXIT. ENDIF. <ls_diff>-short = abap_true. ENDDO. DO 8 TIMES. " Forward READ TABLE mt_diff INDEX ( lv_index + sy-index - 1 ) ASSIGNING <ls_diff>. IF sy-subrc <> 0. " tab bound reached EXIT. ENDIF. CHECK <ls_diff>-short = abap_false. " skip marked <ls_diff>-short = abap_true. ENDDO. ENDLOOP. ENDIF. ENDMETHOD. METHOD stats. rs_count = ms_stats. ENDMETHOD. METHOD unpack. DATA: lv_new TYPE string, lv_old TYPE string. lv_new = ycl_abapgit_convert=>xstring_to_string_utf8( iv_new ). lv_old = ycl_abapgit_convert=>xstring_to_string_utf8( iv_old ). SPLIT lv_new AT yif_abapgit_definitions=>c_newline INTO TABLE et_new. SPLIT lv_old AT yif_abapgit_definitions=>c_newline INTO TABLE et_old. ENDMETHOD. ENDCLASS.
[ 31631, 331, 565, 62, 397, 499, 18300, 62, 26069, 5550, 20032, 17941, 198, 220, 44731, 198, 220, 29244, 6158, 44731, 764, 628, 220, 44731, 44513, 13, 198, 220, 220, 220, 42865, 45079, 62, 1350, 37256, 41876, 331, 361, 62, 397, 499, 18300, 62, 4299, 50101, 14804, 774, 62, 8841, 62, 926, 20832, 12, 1340, 11319, 13, 198, 198, 9, 18533, 1366, 318, 41002, 23, 1912, 351, 649, 6615, 198, 9, 691, 2499, 351, 3951, 510, 284, 14280, 3435, 198, 220, 220, 220, 337, 36252, 50, 23772, 198, 220, 220, 220, 220, 220, 30023, 9863, 2751, 21628, 62, 3605, 41876, 2124, 8841, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 21628, 62, 727, 41876, 2124, 8841, 13, 628, 220, 220, 220, 337, 36252, 50, 651, 198, 220, 220, 220, 220, 220, 30826, 4261, 15871, 26173, 8924, 7, 17034, 62, 26069, 8, 41876, 331, 361, 62, 397, 499, 18300, 62, 4299, 50101, 14804, 774, 62, 67, 10203, 62, 926, 13, 628, 220, 220, 220, 337, 36252, 50, 9756, 198, 220, 220, 220, 220, 220, 30826, 4261, 15871, 26173, 8924, 7, 3808, 62, 9127, 8, 41876, 331, 361, 62, 397, 499, 18300, 62, 4299, 50101, 14804, 774, 62, 9127, 13, 628, 220, 220, 220, 337, 36252, 50, 900, 62, 17147, 62, 3605, 198, 220, 220, 220, 220, 220, 30023, 9863, 2751, 198, 220, 220, 220, 220, 220, 220, 220, 21628, 62, 1370, 62, 3605, 220, 220, 41876, 1312, 198, 220, 220, 220, 220, 220, 220, 220, 21628, 62, 17147, 62, 32109, 41876, 450, 499, 62, 30388, 198, 220, 220, 220, 220, 220, 17926, 1797, 2751, 198, 220, 220, 220, 220, 220, 220, 220, 331, 66, 87, 62, 397, 499, 18300, 62, 1069, 4516, 13, 628, 220, 220, 220, 337, 36252, 50, 900, 62, 17147, 62, 727, 198, 220, 220, 220, 220, 220, 30023, 9863, 2751, 198, 220, 220, 220, 220, 220, 220, 220, 21628, 62, 1370, 62, 727, 220, 220, 41876, 1312, 198, 220, 220, 220, 220, 220, 220, 220, 21628, 62, 17147, 62, 32109, 41876, 450, 499, 62, 30388, 198, 220, 220, 220, 220, 220, 17926, 1797, 2751, 198, 220, 220, 220, 220, 220, 220, 220, 331, 66, 87, 62, 397, 499, 18300, 62, 1069, 4516, 13, 628, 220, 4810, 3824, 6158, 44513, 13, 198, 220, 220, 220, 42865, 45079, 62, 26069, 220, 220, 220, 220, 41876, 331, 361, 62, 397, 499, 18300, 62, 4299, 50101, 14804, 774, 62, 67, 10203, 62, 926, 13, 198, 220, 220, 220, 42865, 13845, 62, 34242, 220, 220, 220, 41876, 331, 361, 62, 397, 499, 18300, 62, 4299, 50101, 14804, 774, 62, 9127, 13, 628, 220, 220, 220, 42715, 12, 49273, 50, 25, 198, 220, 220, 220, 220, 220, 555, 8002, 198, 220, 220, 220, 220, 220, 220, 220, 30023, 9863, 2751, 21628, 62, 3605, 41876, 2124, 8841, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 21628, 62, 727, 41876, 2124, 8841, 198, 220, 220, 220, 220, 220, 220, 220, 7788, 15490, 2751, 2123, 62, 3605, 41876, 450, 2373, 742, 13381, 62, 8658, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 2123, 62, 727, 41876, 450, 2373, 742, 13381, 62, 8658, 11, 198, 220, 220, 220, 220, 220, 8543, 198, 220, 220, 220, 220, 220, 220, 220, 30023, 9863, 2751, 340, 62, 3605, 220, 220, 220, 220, 220, 220, 220, 220, 41876, 450, 2373, 742, 13381, 62, 8658, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 340, 62, 727, 220, 220, 220, 220, 220, 220, 220, 220, 41876, 450, 2373, 742, 13381, 62, 8658, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 340, 62, 67, 12514, 220, 220, 220, 220, 220, 220, 41876, 410, 87, 397, 2373, 13381, 62, 8658, 198, 220, 220, 220, 220, 220, 220, 220, 30826, 4261, 15871, 26173, 8924, 7, 17034, 62, 26069, 8, 41876, 331, 361, 62, 397, 499, 18300, 62, 4299, 50101, 14804, 774, 62, 67, 10203, 62, 926, 11, 198, 220, 220, 220, 220, 220, 24061, 198, 220, 220, 220, 220, 220, 220, 220, 30023, 9863, 2751, 340, 62, 3605, 220, 220, 220, 220, 220, 220, 220, 220, 220, 41876, 450, 2373, 742, 13381, 62, 8658, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 340, 62, 727, 220, 220, 220, 220, 220, 220, 220, 220, 220, 41876, 450, 2373, 742, 13381, 62, 8658, 198, 220, 220, 220, 220, 220, 220, 220, 30826, 4261, 15871, 26173, 8924, 7, 17034, 62, 67, 12514, 8, 41876, 410, 87, 397, 2373, 13381, 62, 8658, 13, 628, 220, 220, 220, 337, 36252, 50, 25, 198, 220, 220, 220, 220, 220, 15284, 62, 1370, 62, 22510, 62, 392, 62, 34242, 11, 198, 220, 220, 220, 220, 220, 3975, 62, 1350, 37256, 11, 198, 220, 220, 220, 220, 220, 1790, 4868, 13, 198, 10619, 31631, 13, 628, 198, 198, 31631, 575, 5097, 62, 6242, 2969, 38, 2043, 62, 35, 29267, 30023, 2538, 10979, 6234, 13, 628, 198, 220, 337, 36252, 15284, 62, 1370, 62, 22510, 62, 392, 62, 34242, 13, 628, 220, 220, 220, 42865, 25, 300, 85, 62, 3605, 41876, 1312, 26173, 8924, 352, 11, 198, 220, 220, 220, 220, 220, 220, 220, 220, 220, 300, 85, 62, 727, 41876, 1312, 26173, 8924, 352, 13, 628, 220, 220, 220, 18930, 24639, 12, 23060, 10744, 3535, 50, 25, 1279, 7278, 62, 26069, 29, 34178, 48920, 3963, 45079, 62, 26069, 13, 628, 198, 220, 220, 220, 17579, 3185, 5161, 45079, 62, 26069, 24994, 3528, 15871, 1279, 7278, 62, 26069, 28401, 198, 220, 220, 220, 220, 220, 1279, 7278, 62, 26069, 29, 12, 3605, 62, 22510, 796, 300, 85, 62, 3605, 13, 198, 220, 220, 220, 220, 220, 1279, 7278, 62, 26069, 29, 12, 727, 62, 22510, 796, 300, 85, 62, 727, 13, 628, 220, 220, 220, 220, 220, 42001, 1279, 7278, 62, 26069, 29, 12, 20274, 13, 366, 6910, 997, 82, 198, 220, 220, 220, 220, 220, 220, 220, 42099, 331, 361, 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, 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 ]
*----------------------------------------------------------------------* ***INCLUDE LZA2XH_EMAILO01. *----------------------------------------------------------------------* *&---------------------------------------------------------------------* *& Module STATUS_2100 OUTPUT *&---------------------------------------------------------------------* *& *&---------------------------------------------------------------------* MODULE status_2100 OUTPUT. SET PF-STATUS '2100'. SET TITLEBAR '2100'. IF go_edit IS INITIAL. CREATE OBJECT go_cont EXPORTING container_name = 'TEXT_EDIT'. CREATE OBJECT go_edit EXPORTING parent = go_cont. ENDIF. IF gv_email IS NOT INITIAL. go_edit->set_textstream( gv_email ). CLEAR: gv_email. ENDIF. go_edit->set_focus( go_edit ). ENDMODULE.
[ 9, 10097, 23031, 9, 198, 8162, 1268, 5097, 52, 7206, 406, 34892, 17, 55, 39, 62, 27630, 4146, 46, 486, 13, 198, 9, 10097, 23031, 9, 198, 9, 5, 10097, 30934, 9, 198, 9, 5, 19937, 15486, 2937, 62, 2481, 405, 16289, 30076, 198, 9, 5, 10097, 30934, 9, 198, 9, 5, 198, 9, 5, 10097, 30934, 9, 198, 33365, 24212, 3722, 62, 2481, 405, 16289, 30076, 13, 198, 220, 25823, 28223, 12, 35744, 2937, 705, 2481, 405, 4458, 198, 220, 25823, 37977, 2538, 33, 1503, 705, 2481, 405, 4458, 628, 220, 16876, 467, 62, 19312, 3180, 3268, 2043, 12576, 13, 198, 220, 220, 220, 29244, 6158, 25334, 23680, 467, 62, 3642, 198, 220, 220, 220, 220, 220, 7788, 15490, 2751, 198, 220, 220, 220, 220, 220, 220, 220, 9290, 62, 3672, 796, 705, 32541, 62, 24706, 4458, 198, 220, 220, 220, 29244, 6158, 25334, 23680, 467, 62, 19312, 198, 220, 220, 220, 220, 220, 7788, 15490, 2751, 198, 220, 220, 220, 220, 220, 220, 220, 2560, 796, 467, 62, 3642, 13, 198, 220, 23578, 5064, 13, 628, 220, 16876, 308, 85, 62, 12888, 3180, 5626, 3268, 2043, 12576, 13, 198, 220, 220, 220, 467, 62, 19312, 3784, 2617, 62, 5239, 5532, 7, 308, 85, 62, 12888, 6739, 198, 220, 220, 220, 30301, 1503, 25, 308, 85, 62, 12888, 13, 198, 220, 23578, 5064, 13, 628, 220, 467, 62, 19312, 3784, 2617, 62, 37635, 7, 467, 62, 19312, 6739, 198, 198, 10619, 33365, 24212, 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 ]
"! <p class="shorttext synchronized" lang="en"></p> "! CLASS zcl_csr_euc_kr DEFINITION PUBLIC INHERITING FROM zcl_csr_mbcs CREATE PUBLIC . PUBLIC SECTION. METHODS get_name REDEFINITION . METHODS get_language REDEFINITION . METHODS match REDEFINITION . PROTECTED SECTION. PRIVATE SECTION. ENDCLASS. CLASS zcl_csr_euc_kr IMPLEMENTATION. METHOD get_language. language = 'kr'. ENDMETHOD. METHOD get_name. ENDMETHOD. METHOD match. ENDMETHOD. ENDCLASS.
[ 40484, 1279, 79, 1398, 2625, 19509, 5239, 47192, 1, 42392, 2625, 268, 23984, 79, 29, 198, 40484, 198, 31631, 1976, 565, 62, 6359, 81, 62, 68, 1229, 62, 38584, 5550, 20032, 17941, 198, 220, 44731, 198, 220, 3268, 16879, 2043, 2751, 16034, 1976, 565, 62, 6359, 81, 62, 2022, 6359, 198, 220, 29244, 6158, 44731, 764, 628, 220, 44731, 44513, 13, 628, 220, 220, 220, 337, 36252, 50, 651, 62, 3672, 198, 220, 220, 220, 220, 220, 220, 220, 23848, 36, 20032, 17941, 764, 198, 220, 220, 220, 337, 36252, 50, 651, 62, 16129, 198, 220, 220, 220, 220, 220, 220, 220, 23848, 36, 20032, 17941, 764, 198, 220, 220, 220, 337, 36252, 50, 2872, 198, 220, 220, 220, 220, 220, 220, 220, 23848, 36, 20032, 17941, 764, 198, 220, 48006, 9782, 1961, 44513, 13, 198, 220, 4810, 3824, 6158, 44513, 13, 198, 10619, 31631, 13, 628, 198, 198, 31631, 1976, 565, 62, 6359, 81, 62, 68, 1229, 62, 38584, 30023, 2538, 10979, 6234, 13, 628, 198, 220, 337, 36252, 651, 62, 16129, 13, 628, 220, 220, 220, 3303, 796, 705, 38584, 4458, 628, 220, 23578, 49273, 13, 628, 198, 220, 337, 36252, 651, 62, 3672, 13, 628, 198, 220, 23578, 49273, 13, 628, 198, 220, 337, 36252, 2872, 13, 628, 198, 220, 23578, 49273, 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 ]