-
Notifications
You must be signed in to change notification settings - Fork 0
/
NUGG_ZABAP_CODE_TEMPLATES.nugg
1082 lines (892 loc) · 53.7 KB
/
NUGG_ZABAP_CODE_TEMPLATES.nugg
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
<?xml version="1.0" encoding="utf-8"?>
<nugget name="ZABAP_CODE_TEMPLATES">
<PROG NAME="ZABAP_CODE_TEMPLATES" VARCL="X" SUBC="1" RMAND="001" RLOAD="E" FIXPT="X" UCCHECK="X">
<textPool>
<language SPRAS="E">
<textElement ID="R" ENTRY="ABAP New Editor Code Template Manager" LENGTH="37 "/>
</language>
</textPool>
<dynpros>
<dynpro PROG="ZABAP_CODE_TEMPLATES" DNUM="0100" FNUM="0100" BZMX="24 " BZBR="105 " MILI="192 " MICO="37 " MALI="0 " MACO="0 " NOLI="27 " NOCO="120 " VALP="0 " CUAN="G" SPRA="E" DTEXT="0100">
<dynprofield FNAM="TXT_KEY" DIDX="0000" FLG1="00" FLG2="00" FLG3="00" FMB1="30" FMB2="00" LENG="0C" LINE="01" COLN="03" LANF="00" LBLK="00" LREP="00" TYPE="CHAR" ITYP="0" AGLT="00" ADEZ="00" STXT="Key" RES1=" X"/>
<dynprofield FNAM="GV_KEY" DIDX="0000" FLG1="80" FLG2="02" FLG3="80" FMB1="00" FMB2="00" LENG="10" LINE="01" COLN="10" LANF="00" LBLK="00" LREP="00" TYPE="CHAR" GRP1="002" ITYP="C" AGLT="00" ADEZ="00" STXT="________________"/>
<dynprofield FNAM="TXT_DESCR" DIDX="0000" FLG1="00" FLG2="00" FLG3="00" FMB1="30" FMB2="00" LENG="0C" LINE="02" COLN="03" LANF="00" LBLK="00" LREP="00" TYPE="CHAR" ITYP="0" AGLT="00" ADEZ="00" STXT="Description" RES1=" X"/>
<dynprofield FNAM="GV_DESCR" DIDX="0000" FLG1="80" FLG2="02" FLG3="80" FMB1="00" FMB2="00" LENG="29" LINE="02" COLN="10" LANF="00" LBLK="00" LREP="00" TYPE="CHAR" GRP1="001" ITYP="C" AGLT="00" ADEZ="00" STXT="_________________________________________"/>
<dynprofield FNAM="CONTAINER_TEXT" DIDX="0015" FLG1="00" FLG2="00" FLG3="00" FILL="U" FMB1="30" FMB2="00" LENG="68" LINE="04" COLN="03" LANF="00" LBLK="00" LREP="00" AUTH="101" AGLT="01" ADEZ="01"/>
<dynprofield FNAM="GV_OK_CODE" DIDX="0000" FLG1="80" FLG2="10" FLG3="00" FMB1="00" FMB2="00" LENG="14" LINE="FF" COLN="01" LTYP="O" LANF="00" LBLK="00" LREP="00" TYPE="CHAR" AGLT="00" ADEZ="00" STXT="____________________"/>
<dynproflowsource>PROCESS BEFORE OUTPUT.
MODULE status_0100.
PROCESS AFTER INPUT.
MODULE user_command_0100.</dynproflowsource>
</dynpro>
</dynpros>
<pfstatus>
<pfstatus_sta CODE="S0100" MODAL="D" ACTCODE="000002" PFKCODE="000002" BUTCODE="0001" INT_NOTE="Status 0100"/>
<pfstatus_sta CODE="SALV_STANDARD" MODAL="D" ACTCODE="000001" PFKCODE="000001" BUTCODE="0001" INT_NOTE="Standard for General List Output in Fullscreen Grid"/>
<pfstatus_fun CODE="%ADD" TEXTNO="001" TEXT_TYPE="S" TEXT_NAME="ICON_CREATE" ICON_ID="@0Y@" FUN_TEXT="Add template"/>
<pfstatus_fun CODE="%CHNG" TEXTNO="001" TEXT_TYPE="S" TEXT_NAME="ICON_CHANGE" ICON_ID="@0Z@" FUN_TEXT="Change template"/>
<pfstatus_fun CODE="%DEL" TEXTNO="001" TEXT_TYPE="S" TEXT_NAME="ICON_DELETE" ICON_ID="@11@" FUN_TEXT="Delete template"/>
<pfstatus_fun CODE="%DISP" TEXTNO="001" TEXT_TYPE="S" TEXT_NAME="ICON_DISPLAY" ICON_ID="@10@" FUN_TEXT="Display template"/>
<pfstatus_fun CODE="%ML" TEXTNO="001" TEXT_TYPE="S" FUN_TEXT="Session" PATH="S"/>
<pfstatus_fun CODE="%PC" TEXTNO="001" TEXT_TYPE="S" TEXT_NAME="ICON_EXPORT" ICON_ID="@49@" FUN_TEXT="Local File..." PATH="L"/>
<pfstatus_fun CODE="%REFR" TEXTNO="001" TEXT_TYPE="S" TEXT_NAME="ICON_REFRESH" ICON_ID="@42@" FUN_TEXT="Refresh data"/>
<pfstatus_fun CODE="%SAVE" TEXTNO="001" TEXT_TYPE="S" TEXT_NAME="ICON_SYSTEM_SAVE" ICON_ID="@2L@" FUN_TEXT="Save"/>
<pfstatus_fun CODE="%SC" TEXTNO="001" TEXT_TYPE="S" TEXT_NAME="ICON_SEARCH" ICON_ID="@13@" FUN_TEXT="Search" PATH="E"/>
<pfstatus_fun CODE="%SC+" TEXTNO="001" TEXT_TYPE="S" TEXT_NAME="ICON_SEARCH_NEXT" ICON_ID="@4E@" FUN_TEXT="Find Next"/>
<pfstatus_fun CODE="%SL" TEXTNO="001" TEXT_TYPE="S" TEXT_NAME="ICON_MAIL" ICON_ID="@1S@" FUN_TEXT="Mail Recipient" PATH="M"/>
<pfstatus_fun CODE="&ABC" TEXTNO="001" TEXT_TYPE="S" TEXT_NAME="ICON_ABC" ICON_ID="@DL@" FUN_TEXT="ABC Analysis" PATH="A"/>
<pfstatus_fun CODE="&ALL" TEXTNO="001" TEXT_TYPE="S" TEXT_NAME="ICON_SELECT_ALL" ICON_ID="@4B@" FUN_TEXT="Select All" PATH="S"/>
<pfstatus_fun CODE="&AQW" TEXTNO="001" TEXT_TYPE="S" TEXT_NAME="ICON_WORD_PROCESSING" ICON_ID="@DK@" FUN_TEXT="Word Processing..." PATH="W"/>
<pfstatus_fun CODE="&AUF" TEXTNO="001" TEXT_TYPE="S" FUN_TEXT="Define Totals Drilldown..." PATH="S"/>
<pfstatus_fun CODE="&AVE" TEXTNO="001" TEXT_TYPE="S" FUN_TEXT="Saving..." PATH="S"/>
<pfstatus_fun CODE="&AVE" TEXTNO="002" TEXT_TYPE="S" TEXT_NAME="ICON_ALV_VARIANT_SAVE" ICON_ID="@DN@" FUN_TEXT="Save Layout..."/>
<pfstatus_fun CODE="&AVR" TEXTNO="001" TEXT_TYPE="S" FUN_TEXT="Mean Value" PATH="M"/>
<pfstatus_fun CODE="&CDF" TEXTNO="001" TEXT_TYPE="S" FUN_TEXT="Unfreeze Columns" PATH="U"/>
<pfstatus_fun CODE="&CFI" TEXTNO="001" TEXT_TYPE="S" FUN_TEXT="Freeze to Column" PATH="F"/>
<pfstatus_fun CODE="&COUNT" TEXTNO="001" TEXT_TYPE="S" FUN_TEXT="Count" PATH="C"/>
<pfstatus_fun CODE="&CRB" TEXTNO="001" TEXT_TYPE="S" TEXT_NAME="ICON_TOTAL_LEFT" ICON_ID="@0B@" FUN_TEXT="First Column"/>
<pfstatus_fun CODE="&CRDESIG" TEXTNO="001" TEXT_TYPE="S" FUN_TEXT="Crystal Reports Designer" PATH="C"/>
<pfstatus_fun CODE="&CRE" TEXTNO="001" TEXT_TYPE="S" TEXT_NAME="ICON_TOTAL_RIGHT" ICON_ID="@0C@" FUN_TEXT="Last Column"/>
<pfstatus_fun CODE="&CRL" TEXTNO="001" TEXT_TYPE="S" TEXT_NAME="ICON_COLUMN_LEFT" ICON_ID="@0D@" FUN_TEXT="Column Left"/>
<pfstatus_fun CODE="&CRR" TEXTNO="001" TEXT_TYPE="S" TEXT_NAME="ICON_COLUMN_RIGHT" ICON_ID="@0E@" FUN_TEXT="Column Right"/>
<pfstatus_fun CODE="&EB9" TEXTNO="001" TEXT_TYPE="S" TEXT_NAME="ICON_TABLE_SETTINGS" ICON_ID="@36@" FUN_TEXT="Call Up Report..." PATH="B"/>
<pfstatus_fun CODE="&ELP" TEXTNO="001" TEXT_TYPE="S" TEXT_NAME="ICON_SYSTEM_HELP" ICON_ID="@35@" FUN_TEXT="Help"/>
<pfstatus_fun CODE="&ERW" TEXTNO="001" TEXT_TYPE="S" FUN_TEXT="Administration..." PATH="A"/>
<pfstatus_fun CODE="&ETA" TEXTNO="001" TEXT_TYPE="S" TEXT_NAME="ICON_SELECT_DETAIL" ICON_ID="@16@" FUN_TEXT="Details"/>
<pfstatus_fun CODE="&F03" TEXTNO="001" TEXT_TYPE="S" FUN_TEXT="Back" PATH="B"/>
<pfstatus_fun CODE="&F12" TEXTNO="001" TEXT_TYPE="S" TEXT_NAME="ICON_CANCEL" ICON_ID="@0W@" FUN_TEXT="Cancel" PATH="A"/>
<pfstatus_fun CODE="&F15" TEXTNO="001" TEXT_TYPE="S" FUN_TEXT="Exit" PATH="X"/>
<pfstatus_fun CODE="&F4" TEXTNO="001" TEXT_TYPE="S" FUN_TEXT="Possible Entries"/>
<pfstatus_fun CODE="&GRAPH" TEXTNO="001" TEXT_TYPE="S" TEXT_NAME="ICON_GRAPHICS" ICON_ID="@0N@" FUN_TEXT="Graphic" PATH="G"/>
<pfstatus_fun CODE="&IC1" TEXTNO="001" TEXT_TYPE="S" TEXT_NAME="ICON_SELECT_DETAIL" ICON_ID="@16@" FUN_TEXT="Choose"/>
<pfstatus_fun CODE="&ILD" TEXTNO="001" TEXT_TYPE="S" FUN_TEXT="Delete Filter" PATH="L"/>
<pfstatus_fun CODE="&ILT" TEXTNO="001" TEXT_TYPE="S" TEXT_NAME="ICON_FILTER" ICON_ID="@4G@" FUN_TEXT="Set Filter" PATH="F"/>
<pfstatus_fun CODE="&INFO" TEXTNO="001" TEXT_TYPE="S" TEXT_NAME="ICON_INFORMATION" ICON_ID="@0S@" FUN_TEXT="Information"/>
<pfstatus_fun CODE="&MAX" TEXTNO="001" TEXT_TYPE="S" FUN_TEXT="Maximum" PATH="A"/>
<pfstatus_fun CODE="&MIN" TEXTNO="001" TEXT_TYPE="S" FUN_TEXT="Minimum" PATH="I"/>
<pfstatus_fun CODE="&OAD" TEXTNO="001" TEXT_TYPE="S" FUN_TEXT="Choose..." PATH="H"/>
<pfstatus_fun CODE="&OAD" TEXTNO="002" TEXT_TYPE="S" TEXT_NAME="ICON_ALV_VARIANT_CHOOSE" ICON_ID="@DM@" FUN_TEXT="Select Layout"/>
<pfstatus_fun CODE="&ODN" TEXTNO="001" TEXT_TYPE="S" TEXT_NAME="ICON_SORT_DOWN" ICON_ID="@3F@" FUN_TEXT="Sort in Descending Order" PATH="O"/>
<pfstatus_fun CODE="&OL0" TEXTNO="001" TEXT_TYPE="S" TEXT_NAME="ICON_ALV_VARIANTS" ICON_ID="@LZ@" FUN_TEXT="Change Layout..."/>
<pfstatus_fun CODE="&OLX" TEXTNO="001" TEXT_TYPE="S" TEXT_NAME="ICON_VARIANTS" ICON_ID="@0R@" FUN_TEXT="Change..." PATH="C"/>
<pfstatus_fun CODE="&OPT" TEXTNO="001" TEXT_TYPE="S" FUN_TEXT="Optimize Width" PATH="P"/>
<pfstatus_fun CODE="&OUP" TEXTNO="001" TEXT_TYPE="S" TEXT_NAME="ICON_SORT_UP" ICON_ID="@3E@" FUN_TEXT="Sort in Ascending Order" PATH="I"/>
<pfstatus_fun CODE="&RNT" TEXTNO="001" TEXT_TYPE="S" TEXT_NAME="ICON_PRINT" ICON_ID="@0X@" FUN_TEXT="Print" PATH="P"/>
<pfstatus_fun CODE="&RNT_PREV" TEXTNO="001" TEXT_TYPE="S" TEXT_NAME="ICON_LAYOUT_CONTROL" ICON_ID="@3G@" FUN_TEXT="Print Preview" PATH="R"/>
<pfstatus_fun CODE="&SAL" TEXTNO="001" TEXT_TYPE="S" TEXT_NAME="ICON_DESELECT_ALL" ICON_ID="@4D@" FUN_TEXT="Deselect All" PATH="D"/>
<pfstatus_fun CODE="&SUM" TEXTNO="001" TEXT_TYPE="S" TEXT_NAME="ICON_INTERMEDIATE_SUM" ICON_ID="@5V@" FUN_TEXT="Subtotals" PATH="T"/>
<pfstatus_fun CODE="&UMC" TEXTNO="001" TEXT_TYPE="S" TEXT_NAME="ICON_SUM" ICON_ID="@3Z@" FUN_TEXT="Total" PATH="T"/>
<pfstatus_fun CODE="&VCRYSTAL" TEXTNO="001" TEXT_TYPE="S" TEXT_NAME="ICON_REPORT_TEMPLATE" ICON_ID="@QH@" FUN_TEXT="Crystal Reports" PATH="C"/>
<pfstatus_fun CODE="&VCRYSTRAL" TEXTNO="001" TEXT_TYPE="S" TEXT_NAME="ICON_REPORT_TEMPLATE" ICON_ID="@QH@" FUN_TEXT="Crystal Reports Designer"/>
<pfstatus_fun CODE="&VEXCEL" TEXTNO="001" TEXT_TYPE="S" TEXT_NAME="ICON_XLS" ICON_ID="@J2@" FUN_TEXT="Microsoft Excel" PATH="M"/>
<pfstatus_fun CODE="&VGRID" TEXTNO="001" TEXT_TYPE="S" TEXT_NAME="ICON_LIST" ICON_ID="@3W@" FUN_TEXT="SAP List Viewer" PATH="S"/>
<pfstatus_fun CODE="&VLOTUS" TEXTNO="001" TEXT_TYPE="S" TEXT_NAME="ICON_LOTUS" ICON_ID="@JD@" FUN_TEXT="Lotus 1-2-3" PATH="L"/>
<pfstatus_fun CODE="&XXL" TEXTNO="001" TEXT_TYPE="S" TEXT_NAME="ICON_XXL" ICON_ID="@DJ@" FUN_TEXT="Spreadsheet..." PATH="A"/>
<pfstatus_fun CODE="ALLS" TEXTNO="001" TEXT_TYPE="S" TEXT_NAME="ICON_EXPAND" ICON_ID="@3S@" FUN_TEXT="All Selections" PATH="L"/>
<pfstatus_fun CODE="DELA" TEXTNO="001" TEXT_TYPE="S" TEXT_NAME="ICON_DELETE" ICON_ID="@11@" FUN_TEXT="Delete All Selections" PATH="E"/>
<pfstatus_fun CODE="DELS" TEXTNO="001" TEXT_TYPE="S" TEXT_NAME="ICON_DELETE_ROW" ICON_ID="@18@" FUN_TEXT="Delete Selection Row" PATH="S"/>
<pfstatus_fun CODE="DOCU" TEXTNO="001" TYPE="H" TEXT_TYPE="S" TEXT_NAME="ICON_INFORMATION" ICON_ID="@0S@" FUN_TEXT="Program Documentation"/>
<pfstatus_fun CODE="DYNS" TEXTNO="001" TEXT_TYPE="S" FUN_TEXT="Dynamic Selections" PATH="D"/>
<pfstatus_fun CODE="DYNS" TEXTNO="002" TEXT_TYPE="D" TEXT_NAME="SSCRTEXTS-DYNSEL"/>
<pfstatus_fun CODE="E" TEXTNO="001" TYPE="E" TEXT_TYPE="S" FUN_TEXT="Back" PATH="B"/>
<pfstatus_fun CODE="ECAN" TEXTNO="001" TYPE="E" TEXT_TYPE="S" FUN_TEXT="Cancel" PATH="A"/>
<pfstatus_fun CODE="ENDE" TEXTNO="001" TYPE="E" TEXT_TYPE="S" FUN_TEXT="Exit" PATH="X"/>
<pfstatus_fun CODE="FC01" TEXTNO="001" TEXT_TYPE="D" TEXT_NAME="SSCRFIELDS-FUNCTXT_01"/>
<pfstatus_fun CODE="FC02" TEXTNO="001" TEXT_TYPE="D" TEXT_NAME="SSCRFIELDS-FUNCTXT_02"/>
<pfstatus_fun CODE="FC03" TEXTNO="001" TEXT_TYPE="D" TEXT_NAME="SSCRFIELDS-FUNCTXT_03"/>
<pfstatus_fun CODE="FC04" TEXTNO="001" TEXT_TYPE="D" TEXT_NAME="SSCRFIELDS-FUNCTXT_04"/>
<pfstatus_fun CODE="FC05" TEXTNO="001" TEXT_TYPE="D" TEXT_NAME="SSCRFIELDS-FUNCTXT_05"/>
<pfstatus_fun CODE="FEWS" TEXTNO="001" TEXT_TYPE="S" TEXT_NAME="ICON_COLLAPSE" ICON_ID="@3T@" FUN_TEXT="Chosen Selections" PATH="C"/>
<pfstatus_fun CODE="GET" TEXTNO="001" TYPE="E" TEXT_TYPE="S" FUN_TEXT="Get..." PATH="G"/>
<pfstatus_fun CODE="GET" TEXTNO="002" TYPE="E" TEXT_TYPE="S" TEXT_NAME="ICON_VARIANTS" ICON_ID="@0R@" FUN_TEXT="Get Variant..." PATH="V"/>
<pfstatus_fun CODE="GET_SEL" TEXTNO="001" TEXT_TYPE="S" FUN_TEXT="Display Selections"/>
<pfstatus_fun CODE="LVUV" TEXTNO="001" TEXT_TYPE="S" FUN_TEXT="User Variables..." PATH="U"/>
<pfstatus_fun CODE="ONLI" TEXTNO="001" TEXT_TYPE="S" TEXT_NAME="ICON_EXECUTE_OBJECT" ICON_ID="@15@" FUN_TEXT="Execute" PATH="E"/>
<pfstatus_fun CODE="OPTI" TEXTNO="001" TEXT_TYPE="S" TEXT_NAME="ICON_SELECTION" ICON_ID="@7X@" FUN_TEXT="Selection Options" PATH="O"/>
<pfstatus_fun CODE="PRIN" TEXTNO="001" TEXT_TYPE="S" TEXT_NAME="ICON_PRINT" ICON_ID="@0X@" FUN_TEXT="Execute and Print" PATH="U"/>
<pfstatus_fun CODE="PRIN" TEXTNO="002" TEXT_TYPE="S" FUN_TEXT="Execute and Print" PATH="U"/>
<pfstatus_fun CODE="SCRH" TEXTNO="001" TYPE="E" TEXT_TYPE="S" TEXT_NAME="ICON_INFORMATION" ICON_ID="@0S@" FUN_TEXT="Selection Screen Help" PATH="H"/>
<pfstatus_fun CODE="SET_CELL" TEXTNO="001" TEXT_TYPE="S" FUN_TEXT="Current Cell"/>
<pfstatus_fun CODE="SET_COLS" TEXTNO="001" TEXT_TYPE="S" FUN_TEXT="Columns"/>
<pfstatus_fun CODE="SET_ROWS" TEXTNO="001" TEXT_TYPE="S" FUN_TEXT="Rows"/>
<pfstatus_fun CODE="SJOB" TEXTNO="001" TEXT_TYPE="S" FUN_TEXT="Execute in Background" PATH="I"/>
<pfstatus_fun CODE="SPOS" TEXTNO="001" TEXT_TYPE="S" TEXT_NAME="ICON_SYSTEM_SAVE" ICON_ID="@2L@" FUN_TEXT="Save as Variant..." INFO_TEXT="Save as variant" PATH="S"/>
<pfstatus_fun CODE="VDEL" TEXTNO="001" TEXT_TYPE="S" FUN_TEXT="Delete..." PATH="D"/>
<pfstatus_fun CODE="VSHO" TEXTNO="001" TYPE="E" TEXT_TYPE="S" FUN_TEXT="Display..." PATH="A"/>
<pfstatus_men CODE="000001" NO="01" REF_TYPE="F" REF_CODE="&RNT_PREV" REF_NO="001"/>
<pfstatus_men CODE="000001" NO="02" REF_TYPE="F" REF_CODE="&RNT" REF_NO="001"/>
<pfstatus_men CODE="000001" NO="03" REF_TYPE="S"/>
<pfstatus_men CODE="000001" NO="04" REF_TYPE="M" REF_CODE="000002"/>
<pfstatus_men CODE="000001" NO="05" REF_TYPE="M" REF_CODE="000003"/>
<pfstatus_men CODE="000001" NO="06" REF_TYPE="S"/>
<pfstatus_men CODE="000001" NO="07" REF_TYPE="F" REF_CODE="&F15" REF_NO="001"/>
<pfstatus_men CODE="000002" NO="01" REF_TYPE="F" REF_CODE="&AQW" REF_NO="001"/>
<pfstatus_men CODE="000002" NO="02" REF_TYPE="F" REF_CODE="&XXL" REF_NO="001"/>
<pfstatus_men CODE="000002" NO="03" REF_TYPE="F" REF_CODE="%PC" REF_NO="001"/>
<pfstatus_men CODE="000003" NO="01" REF_TYPE="F" REF_CODE="%SL" REF_NO="001"/>
<pfstatus_men CODE="000003" NO="02" REF_TYPE="F" REF_CODE="%ML" REF_NO="001"/>
<pfstatus_men CODE="000004" NO="01" REF_TYPE="F" REF_CODE="&ALL" REF_NO="001"/>
<pfstatus_men CODE="000004" NO="02" REF_TYPE="F" REF_CODE="&SAL" REF_NO="001"/>
<pfstatus_men CODE="000004" NO="03" REF_TYPE="S"/>
<pfstatus_men CODE="000004" NO="04" REF_TYPE="F" REF_CODE="&ILT" REF_NO="001"/>
<pfstatus_men CODE="000004" NO="05" REF_TYPE="F" REF_CODE="&ILD" REF_NO="001"/>
<pfstatus_men CODE="000004" NO="06" REF_TYPE="S"/>
<pfstatus_men CODE="000004" NO="07" REF_TYPE="F" REF_CODE="&OUP" REF_NO="001"/>
<pfstatus_men CODE="000004" NO="08" REF_TYPE="F" REF_CODE="&ODN" REF_NO="001"/>
<pfstatus_men CODE="000004" NO="09" REF_TYPE="S"/>
<pfstatus_men CODE="000004" NO="10" REF_TYPE="M" REF_CODE="000005"/>
<pfstatus_men CODE="000004" NO="11" REF_TYPE="F" REF_CODE="&SUM" REF_NO="001"/>
<pfstatus_men CODE="000004" NO="12" REF_TYPE="S"/>
<pfstatus_men CODE="000004" NO="13" REF_TYPE="F" REF_CODE="%SC" REF_NO="001"/>
<pfstatus_men CODE="000004" NO="14" REF_TYPE="S"/>
<pfstatus_men CODE="000004" NO="15" REF_TYPE="F" REF_CODE="&F12" REF_NO="001"/>
<pfstatus_men CODE="000005" NO="01" REF_TYPE="F" REF_CODE="&UMC" REF_NO="001"/>
<pfstatus_men CODE="000005" NO="02" REF_TYPE="F" REF_CODE="&AVR" REF_NO="001"/>
<pfstatus_men CODE="000005" NO="03" REF_TYPE="F" REF_CODE="&MIN" REF_NO="001"/>
<pfstatus_men CODE="000005" NO="04" REF_TYPE="F" REF_CODE="&MAX" REF_NO="001"/>
<pfstatus_men CODE="000005" NO="05" REF_TYPE="F" REF_CODE="&COUNT" REF_NO="001"/>
<pfstatus_men CODE="000006" NO="01" REF_TYPE="F" REF_CODE="&F03" REF_NO="001"/>
<pfstatus_men CODE="000007" NO="01" REF_TYPE="M" REF_CODE="000008"/>
<pfstatus_men CODE="000007" NO="02" REF_TYPE="M" REF_CODE="000009"/>
<pfstatus_men CODE="000007" NO="03" REF_TYPE="F" REF_CODE="&AUF" REF_NO="001"/>
<pfstatus_men CODE="000008" NO="01" REF_TYPE="F" REF_CODE="&OLX" REF_NO="001"/>
<pfstatus_men CODE="000008" NO="02" REF_TYPE="F" REF_CODE="&OAD" REF_NO="001"/>
<pfstatus_men CODE="000008" NO="03" REF_TYPE="S"/>
<pfstatus_men CODE="000008" NO="04" REF_TYPE="F" REF_CODE="&AVE" REF_NO="001"/>
<pfstatus_men CODE="000008" NO="05" REF_TYPE="S"/>
<pfstatus_men CODE="000008" NO="06" REF_TYPE="F" REF_CODE="&ERW" REF_NO="001"/>
<pfstatus_men CODE="000009" NO="01" REF_TYPE="F" REF_CODE="&OPT" REF_NO="001"/>
<pfstatus_men CODE="000009" NO="02" REF_TYPE="S"/>
<pfstatus_men CODE="000009" NO="03" REF_TYPE="F" REF_CODE="&CFI" REF_NO="001"/>
<pfstatus_men CODE="000009" NO="04" REF_TYPE="F" REF_CODE="&CDF" REF_NO="001"/>
<pfstatus_men CODE="000011" NO="01" REF_TYPE="F" REF_CODE="ALLS" REF_NO="001"/>
<pfstatus_men CODE="000011" NO="02" REF_TYPE="F" REF_CODE="FEWS" REF_NO="001"/>
<pfstatus_men CODE="000011" NO="03" REF_TYPE="S"/>
<pfstatus_men CODE="000011" NO="04" REF_TYPE="F" REF_CODE="OPTI" REF_NO="001"/>
<pfstatus_men CODE="000011" NO="05" REF_TYPE="S"/>
<pfstatus_men CODE="000011" NO="06" REF_TYPE="F" REF_CODE="DELS" REF_NO="001"/>
<pfstatus_men CODE="000011" NO="07" REF_TYPE="F" REF_CODE="DELA" REF_NO="001"/>
<pfstatus_men CODE="000011" NO="08" REF_TYPE="S"/>
<pfstatus_men CODE="000011" NO="09" REF_TYPE="F" REF_CODE="DYNS" REF_NO="001"/>
<pfstatus_men CODE="000011" NO="10" REF_TYPE="S"/>
<pfstatus_men CODE="000011" NO="11" REF_TYPE="F" REF_CODE="ECAN" REF_NO="001"/>
<pfstatus_men CODE="000012" NO="01" REF_TYPE="M" REF_CODE="000013"/>
<pfstatus_men CODE="000012" NO="02" REF_TYPE="S"/>
<pfstatus_men CODE="000012" NO="03" REF_TYPE="F" REF_CODE="LVUV" REF_NO="001"/>
<pfstatus_men CODE="000012" NO="04" REF_TYPE="S"/>
<pfstatus_men CODE="000012" NO="05" REF_TYPE="F" REF_CODE="SCRH" REF_NO="001"/>
<pfstatus_men CODE="000012" NO="06" REF_TYPE="S"/>
<pfstatus_men CODE="000012" NO="07" REF_TYPE="F" REF_CODE="E" REF_NO="001"/>
<pfstatus_men CODE="000013" NO="01" REF_TYPE="F" REF_CODE="GET" REF_NO="001"/>
<pfstatus_men CODE="000013" NO="02" REF_TYPE="F" REF_CODE="VSHO" REF_NO="001"/>
<pfstatus_men CODE="000013" NO="03" REF_TYPE="F" REF_CODE="VDEL" REF_NO="001"/>
<pfstatus_men CODE="000013" NO="04" REF_TYPE="F" REF_CODE="SPOS" REF_NO="001"/>
<pfstatus_mtx CODE="000001" TEXT_TYPE="S" TEXT="List" PATH="L" INT_NOTE="SALV_TABLE_STATUS List"/>
<pfstatus_mtx CODE="000002" TEXT_TYPE="S" TEXT="Export" PATH="E" INT_NOTE="STANDARD Save"/>
<pfstatus_mtx CODE="000003" TEXT_TYPE="S" TEXT="Send To" PATH="S"/>
<pfstatus_mtx CODE="000004" TEXT_TYPE="S" TEXT="Edit" PATH="E" INT_NOTE="STANDARD"/>
<pfstatus_mtx CODE="000005" TEXT_TYPE="S" TEXT="Calculate" PATH="C"/>
<pfstatus_mtx CODE="000006" TEXT_TYPE="S" TEXT="Goto" PATH="G" INT_NOTE="Standard Supplement"/>
<pfstatus_mtx CODE="000007" TEXT_TYPE="S" TEXT="Settings" PATH="S" INT_NOTE="SALV_TABLE_STATUS"/>
<pfstatus_mtx CODE="000008" TEXT_TYPE="S" TEXT="Layout" PATH="A" INT_NOTE="Sub STANDARD"/>
<pfstatus_mtx CODE="000009" TEXT_TYPE="S" TEXT="Columns" PATH="C"/>
<pfstatus_mtx CODE="000010" TEXT_TYPE="S" TEXT="Program" PATH="P" INT_NOTE="Standard Status"/>
<pfstatus_mtx CODE="000011" TEXT_TYPE="S" TEXT="Edit" PATH="E" INT_NOTE="Standard Status"/>
<pfstatus_mtx CODE="000012" TEXT_TYPE="S" TEXT="Goto" PATH="G" INT_NOTE="Standard Status and Job Scheduling (Errors)"/>
<pfstatus_mtx CODE="000013" TEXT_TYPE="S" TEXT="Variants" PATH="V" INT_NOTE="Go to variants"/>
<pfstatus_act CODE="000001" NO="01" MENUCODE="000001"/>
<pfstatus_act CODE="000001" NO="02" MENUCODE="000004"/>
<pfstatus_act CODE="000001" NO="03" MENUCODE="000006"/>
<pfstatus_act CODE="000001" NO="04" MENUCODE="000007"/>
<pfstatus_but PFK_CODE="000001" CODE="0001" NO="01" PFNO="39"/>
<pfstatus_but PFK_CODE="000001" CODE="0001" NO="02" PFNO="S"/>
<pfstatus_but PFK_CODE="000001" CODE="0001" NO="03" PFNO="05"/>
<pfstatus_but PFK_CODE="000001" CODE="0001" NO="04" PFNO="06"/>
<pfstatus_but PFK_CODE="000001" CODE="0001" NO="05" PFNO="S"/>
<pfstatus_but PFK_CODE="000001" CODE="0001" NO="06" PFNO="28"/>
<pfstatus_but PFK_CODE="000001" CODE="0001" NO="07" PFNO="40"/>
<pfstatus_but PFK_CODE="000001" CODE="0001" NO="08" PFNO="29"/>
<pfstatus_but PFK_CODE="000001" CODE="0001" NO="09" PFNO="S"/>
<pfstatus_but PFK_CODE="000001" CODE="0001" NO="10" PFNO="30"/>
<pfstatus_but PFK_CODE="000001" CODE="0001" NO="11" PFNO="42"/>
<pfstatus_but PFK_CODE="000001" CODE="0001" NO="12" PFNO="S"/>
<pfstatus_but PFK_CODE="000001" CODE="0001" NO="13" PFNO="46"/>
<pfstatus_but PFK_CODE="000001" CODE="0001" NO="14" PFNO="S"/>
<pfstatus_but PFK_CODE="000001" CODE="0001" NO="15" PFNO="32"/>
<pfstatus_but PFK_CODE="000001" CODE="0001" NO="16" PFNO="33"/>
<pfstatus_but PFK_CODE="000001" CODE="0001" NO="17" PFNO="34"/>
<pfstatus_but PFK_CODE="000001" CODE="0001" NO="18" PFNO="S"/>
<pfstatus_but PFK_CODE="000001" CODE="0001" NO="19" PFNO="13"/>
<pfstatus_but PFK_CODE="000001" CODE="0001" NO="20" PFNO="20"/>
<pfstatus_but PFK_CODE="000001" CODE="0001" NO="21" PFNO="22"/>
<pfstatus_but PFK_CODE="000001" CODE="0001" NO="22" PFNO="35"/>
<pfstatus_pfk CODE="000001" PFNO="01" FUNCODE="&ELP" FUNNO="001"/>
<pfstatus_pfk CODE="000001" PFNO="02" FUNCODE="&IC1" FUNNO="001"/>
<pfstatus_pfk CODE="000001" PFNO="03" FUNCODE="&F03" FUNNO="001"/>
<pfstatus_pfk CODE="000001" PFNO="04" FUNCODE="&F4" FUNNO="001"/>
<pfstatus_pfk CODE="000001" PFNO="05" FUNCODE="&ALL" FUNNO="001"/>
<pfstatus_pfk CODE="000001" PFNO="06" FUNCODE="&SAL" FUNNO="001"/>
<pfstatus_pfk CODE="000001" PFNO="07" FUNCODE="SET_CELL" FUNNO="001"/>
<pfstatus_pfk CODE="000001" PFNO="12" FUNCODE="&F12" FUNNO="001"/>
<pfstatus_pfk CODE="000001" PFNO="13" FUNCODE="%DISP" FUNNO="001"/>
<pfstatus_pfk CODE="000001" PFNO="14" FUNCODE="SET_ROWS" FUNNO="001"/>
<pfstatus_pfk CODE="000001" PFNO="15" FUNCODE="&F15" FUNNO="001"/>
<pfstatus_pfk CODE="000001" PFNO="16" FUNCODE="SET_COLS" FUNNO="001"/>
<pfstatus_pfk CODE="000001" PFNO="17" FUNCODE="GET_SEL" FUNNO="001"/>
<pfstatus_pfk CODE="000001" PFNO="18" FUNCODE="&CRB" FUNNO="001"/>
<pfstatus_pfk CODE="000001" PFNO="19" FUNCODE="&CRE" FUNNO="001"/>
<pfstatus_pfk CODE="000001" PFNO="20" FUNCODE="%CHNG" FUNNO="001"/>
<pfstatus_pfk CODE="000001" PFNO="21" FUNCODE="&XXL" FUNNO="001"/>
<pfstatus_pfk CODE="000001" PFNO="22" FUNCODE="%ADD" FUNNO="001"/>
<pfstatus_pfk CODE="000001" PFNO="23" FUNCODE="&VCRYSTRAL" FUNNO="001"/>
<pfstatus_pfk CODE="000001" PFNO="24" FUNCODE="&VCRYSTAL" FUNNO="001"/>
<pfstatus_pfk CODE="000001" PFNO="25" FUNCODE="&ABC" FUNNO="001"/>
<pfstatus_pfk CODE="000001" PFNO="26" FUNCODE="&CRL" FUNNO="001"/>
<pfstatus_pfk CODE="000001" PFNO="27" FUNCODE="&CRR" FUNNO="001"/>
<pfstatus_pfk CODE="000001" PFNO="28" FUNCODE="&OUP" FUNNO="001"/>
<pfstatus_pfk CODE="000001" PFNO="29" FUNCODE="&ILT" FUNNO="001"/>
<pfstatus_pfk CODE="000001" PFNO="30" FUNCODE="&UMC" FUNNO="001"/>
<pfstatus_pfk CODE="000001" PFNO="31" FUNCODE="%SL" FUNNO="001"/>
<pfstatus_pfk CODE="000001" PFNO="32" FUNCODE="&OL0" FUNNO="001"/>
<pfstatus_pfk CODE="000001" PFNO="33" FUNCODE="&OAD" FUNNO="002"/>
<pfstatus_pfk CODE="000001" PFNO="34" FUNCODE="&AVE" FUNNO="002"/>
<pfstatus_pfk CODE="000001" PFNO="35" FUNCODE="%DEL" FUNNO="001"/>
<pfstatus_pfk CODE="000001" PFNO="36" FUNCODE="&INFO" FUNNO="001"/>
<pfstatus_pfk CODE="000001" PFNO="37" FUNCODE="&EB9" FUNNO="001"/>
<pfstatus_pfk CODE="000001" PFNO="38" FUNCODE="&VLOTUS" FUNNO="001"/>
<pfstatus_pfk CODE="000001" PFNO="39" FUNCODE="&ETA" FUNNO="001"/>
<pfstatus_pfk CODE="000001" PFNO="40" FUNCODE="&ODN" FUNNO="001"/>
<pfstatus_pfk CODE="000001" PFNO="41" FUNCODE="&VGRID" FUNNO="001"/>
<pfstatus_pfk CODE="000001" PFNO="42" FUNCODE="&SUM" FUNNO="001"/>
<pfstatus_pfk CODE="000001" PFNO="43" FUNCODE="&VEXCEL" FUNNO="001"/>
<pfstatus_pfk CODE="000001" PFNO="44" FUNCODE="&AQW" FUNNO="001"/>
<pfstatus_pfk CODE="000001" PFNO="45" FUNCODE="%PC" FUNNO="001"/>
<pfstatus_pfk CODE="000001" PFNO="46" FUNCODE="&RNT_PREV" FUNNO="001"/>
<pfstatus_pfk CODE="000001" PFNO="47" FUNCODE="&GRAPH" FUNNO="001"/>
<pfstatus_pfk CODE="000001" PFNO="48" FUNCODE="&CRDESIG" FUNNO="001"/>
<pfstatus_pfk CODE="000001" PFNO="71" FUNCODE="%SC" FUNNO="001"/>
<pfstatus_pfk CODE="000001" PFNO="84" FUNCODE="%SC+" FUNNO="001"/>
<pfstatus_pfk CODE="000001" PFNO="86" FUNCODE="&RNT" FUNNO="001"/>
<pfstatus_pfk CODE="000002" PFNO="03" FUNCODE="E" FUNNO="001"/>
<pfstatus_pfk CODE="000002" PFNO="11" FUNCODE="%SAVE" FUNNO="001"/>
<pfstatus_pfk CODE="000002" PFNO="12" FUNCODE="ECAN" FUNNO="001"/>
<pfstatus_pfk CODE="000002" PFNO="15" FUNCODE="ENDE" FUNNO="001"/>
<pfstatus_set STATUS="S0100" FUNCTION="%SAVE"/>
<pfstatus_set STATUS="S0100" FUNCTION="ALLS"/>
<pfstatus_set STATUS="S0100" FUNCTION="BUGA"/>
<pfstatus_set STATUS="S0100" FUNCTION="BUGE"/>
<pfstatus_set STATUS="S0100" FUNCTION="CANC"/>
<pfstatus_set STATUS="S0100" FUNCTION="DELA"/>
<pfstatus_set STATUS="S0100" FUNCTION="DELS"/>
<pfstatus_set STATUS="S0100" FUNCTION="DYNS"/>
<pfstatus_set STATUS="S0100" FUNCTION="E"/>
<pfstatus_set STATUS="S0100" FUNCTION="ECAN"/>
<pfstatus_set STATUS="S0100" FUNCTION="EGET"/>
<pfstatus_set STATUS="S0100" FUNCTION="ENDE"/>
<pfstatus_set STATUS="S0100" FUNCTION="FEWS"/>
<pfstatus_set STATUS="S0100" FUNCTION="GET"/>
<pfstatus_set STATUS="S0100" FUNCTION="LVUV"/>
<pfstatus_set STATUS="S0100" FUNCTION="NONE"/>
<pfstatus_set STATUS="S0100" FUNCTION="OPTI"/>
<pfstatus_set STATUS="S0100" FUNCTION="PRIN"/>
<pfstatus_set STATUS="S0100" FUNCTION="SCRH"/>
<pfstatus_set STATUS="S0100" FUNCTION="SPOS"/>
<pfstatus_set STATUS="S0100" FUNCTION="STKA"/>
<pfstatus_set STATUS="S0100" FUNCTION="STKE"/>
<pfstatus_set STATUS="S0100" FUNCTION="SVUV"/>
<pfstatus_set STATUS="S0100" FUNCTION="VARI"/>
<pfstatus_set STATUS="S0100" FUNCTION="VDEL"/>
<pfstatus_set STATUS="S0100" FUNCTION="VSHO"/>
<pfstatus_set STATUS="SALV_STANDARD" FUNCTION="%ADD"/>
<pfstatus_set STATUS="SALV_STANDARD" FUNCTION="%CH"/>
<pfstatus_set STATUS="SALV_STANDARD" FUNCTION="%CHNG"/>
<pfstatus_set STATUS="SALV_STANDARD" FUNCTION="%DEL"/>
<pfstatus_set STATUS="SALV_STANDARD" FUNCTION="%DISP"/>
<pfstatus_set STATUS="SALV_STANDARD" FUNCTION="%ML"/>
<pfstatus_set STATUS="SALV_STANDARD" FUNCTION="%PC"/>
<pfstatus_set STATUS="SALV_STANDARD" FUNCTION="%REFR"/>
<pfstatus_set STATUS="SALV_STANDARD" FUNCTION="%SC"/>
<pfstatus_set STATUS="SALV_STANDARD" FUNCTION="%SC+"/>
<pfstatus_set STATUS="SALV_STANDARD" FUNCTION="%SL"/>
<pfstatus_set STATUS="SALV_STANDARD" FUNCTION="&ABC"/>
<pfstatus_set STATUS="SALV_STANDARD" FUNCTION="&ALL"/>
<pfstatus_set STATUS="SALV_STANDARD" FUNCTION="&AQW"/>
<pfstatus_set STATUS="SALV_STANDARD" FUNCTION="&AUF"/>
<pfstatus_set STATUS="SALV_STANDARD" FUNCTION="&AVE"/>
<pfstatus_set STATUS="SALV_STANDARD" FUNCTION="&AVR"/>
<pfstatus_set STATUS="SALV_STANDARD" FUNCTION="&BS"/>
<pfstatus_set STATUS="SALV_STANDARD" FUNCTION="&BS+"/>
<pfstatus_set STATUS="SALV_STANDARD" FUNCTION="&BS-"/>
<pfstatus_set STATUS="SALV_STANDARD" FUNCTION="&CDF"/>
<pfstatus_set STATUS="SALV_STANDARD" FUNCTION="&CFI"/>
<pfstatus_set STATUS="SALV_STANDARD" FUNCTION="&COUNT"/>
<pfstatus_set STATUS="SALV_STANDARD" FUNCTION="&CRB"/>
<pfstatus_set STATUS="SALV_STANDARD" FUNCTION="&CRBATCH"/>
<pfstatus_set STATUS="SALV_STANDARD" FUNCTION="&CRDESIG"/>
<pfstatus_set STATUS="SALV_STANDARD" FUNCTION="&CRE"/>
<pfstatus_set STATUS="SALV_STANDARD" FUNCTION="&CRL"/>
<pfstatus_set STATUS="SALV_STANDARD" FUNCTION="&CRR"/>
<pfstatus_set STATUS="SALV_STANDARD" FUNCTION="&CRYSTAL"/>
<pfstatus_set STATUS="SALV_STANDARD" FUNCTION="&DATA_SAVE"/>
<pfstatus_set STATUS="SALV_STANDARD" FUNCTION="&DAU"/>
<pfstatus_set STATUS="SALV_STANDARD" FUNCTION="&DOF"/>
<pfstatus_set STATUS="SALV_STANDARD" FUNCTION="&DON"/>
<pfstatus_set STATUS="SALV_STANDARD" FUNCTION="&EB3"/>
<pfstatus_set STATUS="SALV_STANDARD" FUNCTION="&EB9"/>
<pfstatus_set STATUS="SALV_STANDARD" FUNCTION="&ELP"/>
<pfstatus_set STATUS="SALV_STANDARD" FUNCTION="&ERW"/>
<pfstatus_set STATUS="SALV_STANDARD" FUNCTION="&ETA"/>
<pfstatus_set STATUS="SALV_STANDARD" FUNCTION="&F03"/>
<pfstatus_set STATUS="SALV_STANDARD" FUNCTION="&F12"/>
<pfstatus_set STATUS="SALV_STANDARD" FUNCTION="&F15"/>
<pfstatus_set STATUS="SALV_STANDARD" FUNCTION="&F4"/>
<pfstatus_set STATUS="SALV_STANDARD" FUNCTION="&GRAPH"/>
<pfstatus_set STATUS="SALV_STANDARD" FUNCTION="&IC1"/>
<pfstatus_set STATUS="SALV_STANDARD" FUNCTION="&ILD"/>
<pfstatus_set STATUS="SALV_STANDARD" FUNCTION="&ILT"/>
<pfstatus_set STATUS="SALV_STANDARD" FUNCTION="&INFO"/>
<pfstatus_set STATUS="SALV_STANDARD" FUNCTION="&KOM"/>
<pfstatus_set STATUS="SALV_STANDARD" FUNCTION="&LFO"/>
<pfstatus_set STATUS="SALV_STANDARD" FUNCTION="&LIS"/>
<pfstatus_set STATUS="SALV_STANDARD" FUNCTION="&MAX"/>
<pfstatus_set STATUS="SALV_STANDARD" FUNCTION="&MIN"/>
<pfstatus_set STATUS="SALV_STANDARD" FUNCTION="&NFO"/>
<pfstatus_set STATUS="SALV_STANDARD" FUNCTION="&NTE"/>
<pfstatus_set STATUS="SALV_STANDARD" FUNCTION="&OAD"/>
<pfstatus_set STATUS="SALV_STANDARD" FUNCTION="&ODN"/>
<pfstatus_set STATUS="SALV_STANDARD" FUNCTION="&OL0"/>
<pfstatus_set STATUS="SALV_STANDARD" FUNCTION="&OLX"/>
<pfstatus_set STATUS="SALV_STANDARD" FUNCTION="&OMP"/>
<pfstatus_set STATUS="SALV_STANDARD" FUNCTION="&OPT"/>
<pfstatus_set STATUS="SALV_STANDARD" FUNCTION="&OUP"/>
<pfstatus_set STATUS="SALV_STANDARD" FUNCTION="&REFRESH"/>
<pfstatus_set STATUS="SALV_STANDARD" FUNCTION="&RNT"/>
<pfstatus_set STATUS="SALV_STANDARD" FUNCTION="&RNT_PREV"/>
<pfstatus_set STATUS="SALV_STANDARD" FUNCTION="&SAL"/>
<pfstatus_set STATUS="SALV_STANDARD" FUNCTION="&SAVE"/>
<pfstatus_set STATUS="SALV_STANDARD" FUNCTION="&SUM"/>
<pfstatus_set STATUS="SALV_STANDARD" FUNCTION="&UMC"/>
<pfstatus_set STATUS="SALV_STANDARD" FUNCTION="&URL"/>
<pfstatus_set STATUS="SALV_STANDARD" FUNCTION="&VCRYSTAL"/>
<pfstatus_set STATUS="SALV_STANDARD" FUNCTION="&VCRYSTRAL"/>
<pfstatus_set STATUS="SALV_STANDARD" FUNCTION="&VEXCEL"/>
<pfstatus_set STATUS="SALV_STANDARD" FUNCTION="&VGRID"/>
<pfstatus_set STATUS="SALV_STANDARD" FUNCTION="&VLOTUS"/>
<pfstatus_set STATUS="SALV_STANDARD" FUNCTION="&XML"/>
<pfstatus_set STATUS="SALV_STANDARD" FUNCTION="&XPA"/>
<pfstatus_set STATUS="SALV_STANDARD" FUNCTION="&XXL"/>
<pfstatus_set STATUS="SALV_STANDARD" FUNCTION="BAC1"/>
<pfstatus_set STATUS="SALV_STANDARD" FUNCTION="BACK"/>
<pfstatus_set STATUS="SALV_STANDARD" FUNCTION="BEB1"/>
<pfstatus_set STATUS="SALV_STANDARD" FUNCTION="BEB2"/>
<pfstatus_set STATUS="SALV_STANDARD" FUNCTION="BEB3"/>
<pfstatus_set STATUS="SALV_STANDARD" FUNCTION="BEB9"/>
<pfstatus_set STATUS="SALV_STANDARD" FUNCTION="BEBN"/>
<pfstatus_set STATUS="SALV_STANDARD" FUNCTION="COL0"/>
<pfstatus_set STATUS="SALV_STANDARD" FUNCTION="COLX"/>
<pfstatus_set STATUS="SALV_STANDARD" FUNCTION="DETA"/>
<pfstatus_set STATUS="SALV_STANDARD" FUNCTION="DRUK"/>
<pfstatus_set STATUS="SALV_STANDARD" FUNCTION="DSAL"/>
<pfstatus_set STATUS="SALV_STANDARD" FUNCTION="ENTE"/>
<pfstatus_set STATUS="SALV_STANDARD" FUNCTION="EXIT"/>
<pfstatus_set STATUS="SALV_STANDARD" FUNCTION="EXPA"/>
<pfstatus_set STATUS="SALV_STANDARD" FUNCTION="FILD"/>
<pfstatus_set STATUS="SALV_STANDARD" FUNCTION="FILT"/>
<pfstatus_set STATUS="SALV_STANDARD" FUNCTION="GET_SEL"/>
<pfstatus_set STATUS="SALV_STANDARD" FUNCTION="GLIS"/>
<pfstatus_set STATUS="SALV_STANDARD" FUNCTION="HELP"/>
<pfstatus_set STATUS="SALV_STANDARD" FUNCTION="INFO"/>
<pfstatus_set STATUS="SALV_STANDARD" FUNCTION="KOMP"/>
<pfstatus_set STATUS="SALV_STANDARD" FUNCTION="P+"/>
<pfstatus_set STATUS="SALV_STANDARD" FUNCTION="P++"/>
<pfstatus_set STATUS="SALV_STANDARD" FUNCTION="P-"/>
<pfstatus_set STATUS="SALV_STANDARD" FUNCTION="P--"/>
<pfstatus_set STATUS="SALV_STANDARD" FUNCTION="PF09"/>
<pfstatus_set STATUS="SALV_STANDARD" FUNCTION="PF13"/>
<pfstatus_set STATUS="SALV_STANDARD" FUNCTION="PIC1"/>
<pfstatus_set STATUS="SALV_STANDARD" FUNCTION="PICK"/>
<pfstatus_set STATUS="SALV_STANDARD" FUNCTION="PRI"/>
<pfstatus_set STATUS="SALV_STANDARD" FUNCTION="PRIN"/>
<pfstatus_set STATUS="SALV_STANDARD" FUNCTION="PRNT"/>
<pfstatus_set STATUS="SALV_STANDARD" FUNCTION="RW"/>
<pfstatus_set STATUS="SALV_STANDARD" FUNCTION="SALL"/>
<pfstatus_set STATUS="SALV_STANDARD" FUNCTION="SAUF"/>
<pfstatus_set STATUS="SALV_STANDARD" FUNCTION="SAVE"/>
<pfstatus_set STATUS="SALV_STANDARD" FUNCTION="SCRB"/>
<pfstatus_set STATUS="SALV_STANDARD" FUNCTION="SCRE"/>
<pfstatus_set STATUS="SALV_STANDARD" FUNCTION="SCRL"/>
<pfstatus_set STATUS="SALV_STANDARD" FUNCTION="SCRR"/>
<pfstatus_set STATUS="SALV_STANDARD" FUNCTION="SET_CELL"/>
<pfstatus_set STATUS="SALV_STANDARD" FUNCTION="SET_COLS"/>
<pfstatus_set STATUS="SALV_STANDARD" FUNCTION="SET_ROWS"/>
<pfstatus_set STATUS="SALV_STANDARD" FUNCTION="SKOM"/>
<pfstatus_set STATUS="SALV_STANDARD" FUNCTION="SODN"/>
<pfstatus_set STATUS="SALV_STANDARD" FUNCTION="SOUP"/>
<pfstatus_set STATUS="SALV_STANDARD" FUNCTION="SUMC"/>
<pfstatus_set STATUS="SALV_STANDARD" FUNCTION="ZSUM"/>
<pfstatus_doc OBJ_TYPE="A" OBJ_CODE="000001" MODAL="D" INT_NOTE="Standard Interface SALV_TABLE_STANDARD"/>
<pfstatus_doc OBJ_TYPE="P" OBJ_CODE="000001" MODAL="D" NORM="X" INT_NOTE="Standard Maximum Interaction SALV_TABLE_STANDARD"/>
<pfstatus_doc OBJ_TYPE="B" OBJ_CODE="000001" SUB_CODE="0001" INT_NOTE="SALV_TABLE_STANDARD"/>
<pfstatus_doc OBJ_TYPE="A" OBJ_CODE="000002" MODAL="D" INT_NOTE="Report start: standard status"/>
<pfstatus_doc OBJ_TYPE="P" OBJ_CODE="000002" MODAL="D" INT_NOTE="Standard Status"/>
<pfstatus_doc OBJ_TYPE="B" OBJ_CODE="000002" SUB_CODE="0001" MODAL="D" INT_NOTE="Standard Status"/>
<pfstatus_tit CODE="T0100" TEXT="ABAP New Editor Code Template Manager"/>
</pfstatus>
<source>*&---------------------------------------------------------------------*
*& Report ZGRISH_ABAP_CODE_TEMPLATES
*&---------------------------------------------------------------------*
*&
*&---------------------------------------------------------------------*
REPORT zabap_code_templates.
CLASS lcl_report DEFINITION.
PUBLIC SECTION.
TYPES: BEGIN OF ts_template,
key TYPE string,
description TYPE string,
text TYPE string,
END OF ts_template.
METHODS start.
METHODS handle_xml_file
IMPORTING
iv_mode TYPE string
is_template TYPE ts_template OPTIONAL.
METHODS load_data.
METHODS status_0100
CHANGING
cv_key TYPE string
cv_descr TYPE string.
METHODS user_command_0100
CHANGING
cv_ok_code TYPE syucomm
cv_key TYPE string
cv_descr TYPE string.
PROTECTED SECTION.
METHODS user_command FOR EVENT added_function OF cl_salv_events_table
IMPORTING e_salv_function.
METHODS add_template
IMPORTING
iv_key TYPE string
iv_descr TYPE string
iv_text TYPE string.
METHODS update_template
IMPORTING
iv_key TYPE string
iv_descr TYPE string
iv_text TYPE string.
METHODS delete_template
IMPORTING
iv_key TYPE string
iv_descr TYPE string
iv_text TYPE string.
METHODS free_resources_0100.
DATA mt_templates TYPE STANDARD TABLE OF ts_template.
DATA mo_salv TYPE REF TO cl_salv_table.
DATA mv_screen_mode TYPE string.
DATA ms_selected_template TYPE ts_template.
DATA mo_abap_container TYPE REF TO cl_gui_custom_container.
DATA mo_abap_editor TYPE REF TO cl_gui_abapedit.
ENDCLASS.
CLASS lcl_report IMPLEMENTATION.
METHOD start.
me->load_data( ).
CHECK mt_templates IS NOT INITIAL.
DATA lo_err TYPE REF TO cx_root.
TRY .
cl_salv_table=>factory(
IMPORTING
r_salv_table = mo_salv " Basis Class Simple ALV Tables
CHANGING
t_table = mt_templates
).
mo_salv->set_screen_status(
EXPORTING
report = sy-repid " ABAP Program: Current Master Program
pfstatus = 'SALV_STANDARD' " Screens, Current GUI Status
* set_functions = " ALV: Data Element for Constants
).
mo_salv->get_selections( )->set_selection_mode( value = if_salv_c_selection_mode=>single ).
mo_salv->get_columns( )->set_optimize( 'X' ).
DEFINE macro_set_column_text.
mo_salv->get_columns( )->get_column( &1 )->set_medium_text( &2 ).
mo_salv->get_columns( )->get_column( &1 )->set_long_text( &2 ).
END-OF-DEFINITION.
macro_set_column_text 'KEY' `Key`.
macro_set_column_text 'DESCRIPTION' `Description`.
macro_set_column_text 'TEXT' `Template Text`.
SET HANDLER me->user_command FOR mo_salv->get_event( ).
mo_salv->display( ).
CATCH cx_salv_msg
cx_salv_not_found INTO lo_err. " .
MESSAGE lo_err TYPE 'E'.
ENDTRY.
ENDMETHOD.
METHOD handle_xml_file.
DATA: lv_app_data_path TYPE string.
DATA: lv_raw_data_len TYPE i.
DATA: lt_raw_data TYPE STANDARD TABLE OF raw255.
DATA: lv_raw_data_x TYPE xstring.
DATA: lo_ixml TYPE REF TO if_ixml.
DATA: lo_streamfactory TYPE REF TO if_ixml_stream_factory,
lo_istream TYPE REF TO if_ixml_istream.
DATA: lo_document TYPE REF TO if_ixml_document,
lo_parser TYPE REF TO if_ixml_parser.
DATA: lo_child TYPE REF TO if_ixml_node.
DATA: lo_cloned_node TYPE REF TO if_ixml_node.
DATA: lo_node TYPE REF TO if_ixml_node,
lo_nodemap TYPE REF TO if_ixml_named_node_map,
lo_iterator TYPE REF TO if_ixml_node_iterator.
DATA: lv_name TYPE string.
DATA: lv_value TYPE string.
DATA: ls_templates TYPE ts_template.
CLEAR mt_templates.
cl_gui_frontend_services=>environment_get_variable(
EXPORTING
variable = 'APPDATA' " Environment Variable Name
CHANGING
value = lv_app_data_path " Variable Value
).
cl_gui_cfw=>flush( ).
CONCATENATE lv_app_data_path '\SAP\SAP GUI\ABAP Editor\abap_user.xml' INTO lv_app_data_path.
cl_gui_frontend_services=>gui_upload(
EXPORTING
filename = lv_app_data_path " Name of file
filetype = 'BIN' " File Type (ASCII, Binary)
IMPORTING
filelength = lv_raw_data_len " File Length
CHANGING
data_tab = lt_raw_data " Transfer table for file contents
).
lo_ixml = cl_ixml=>create( ).
lo_streamfactory = lo_ixml->create_stream_factory( ).
lo_istream = lo_streamfactory->create_istream_itable( size = lv_raw_data_len
table = lt_raw_data ).
lo_document = lo_ixml->create_document( ).
lo_parser = lo_ixml->create_parser( stream_factory = lo_streamfactory
istream = lo_istream
document = lo_document ).
IF lo_parser->parse( ) NE 0
OR lo_parser->num_errors( ) NE 0.
* *-- Close the Input Stream after Parsing
lo_istream->close( ).
MESSAGE 'XML file is not valid' TYPE 'E'.
ENDIF.
* *-- Close the Input Stream after Parsing
lo_istream->close( ).
CHECK lo_parser->is_dom_generating( ) EQ 'X'.
lo_node = lo_document->find_from_name( name = 'EXPANDS' ).
CHECK lo_node IS BOUND.
IF iv_mode = 'READ' OR iv_mode = 'CHANGE' OR iv_mode = 'DELETE' .
lo_iterator = lo_node->create_iterator( ).
lo_node = lo_iterator->get_next( ).
WHILE lo_node IS BOUND.
CASE lo_node->get_type( ).
WHEN if_ixml_node=>co_node_element.
lv_name = lo_node->get_name( ).
IF lv_name = 'Expand'.
lo_nodemap = lo_node->get_attributes( ).
IF lo_nodemap IS BOUND.
ls_templates-key = lo_nodemap->get_named_item( 'key' )->get_value( ).
ENDIF.
IF iv_mode = 'DELETE' AND ls_templates-key = is_template-key.
lo_node->remove_node( ).
ENDIF.
ENDIF.
WHEN if_ixml_node=>co_node_text OR
if_ixml_node=>co_node_cdata_section.
lv_value = lo_node->get_value( ).
IF lv_name = 'Descr'.
IF iv_mode = 'CHANGE' AND ls_templates-key = is_template-key.
lv_value = is_template-description.
lo_node->set_value( lv_value ).
ENDIF.
ls_templates-description = lv_value.
ENDIF.
IF lv_name = 'Text'.
IF iv_mode = 'CHANGE' AND ls_templates-key = is_template-key.
lv_value = is_template-text.
lo_node->set_value( lv_value ).
ENDIF.
ls_templates-text = lv_value.
IF iv_mode = 'READ'.
APPEND ls_templates TO mt_templates[].
ENDIF.
ENDIF.
IF iv_mode = 'DELETE' AND ls_templates-key = is_template-key.
lo_node->remove_node( ).
ENDIF.
ENDCASE.
lo_node = lo_iterator->get_next( ).
ENDWHILE.
ELSEIF iv_mode = 'ADD'.
lo_child = lo_node->get_first_child( ).
lo_cloned_node = lo_child->clone( ).
lo_iterator = lo_cloned_node->create_iterator( ).
lo_child = lo_iterator->get_next( ).
WHILE lo_child IS BOUND.
CASE lo_child->get_type( ).
WHEN if_ixml_node=>co_node_element.
lv_name = lo_child->get_name( ).
IF lv_name = 'Expand'.
lo_nodemap = lo_child->get_attributes( ).
IF lo_nodemap IS BOUND.
lo_nodemap->get_named_item( 'key' )->set_value( is_template-key ).
ENDIF.
ENDIF.
WHEN if_ixml_node=>co_node_text OR
if_ixml_node=>co_node_cdata_section.
IF lv_name = 'Descr'.
lo_child->set_value( is_template-description ).
ENDIF.
IF lv_name = 'Text'.
lo_child->set_value( is_template-text ).
ENDIF.
ENDCASE.
lo_child = lo_iterator->get_next( ).
ENDWHILE.
lo_node->append_child( lo_cloned_node ).
ENDIF.
IF iv_mode = 'ADD' OR iv_mode = 'CHANGE' OR iv_mode = 'DELETE'.
CLEAR lv_raw_data_x.
CLEAR lt_raw_data.
CALL FUNCTION 'SDIXML_DOM_TO_XML'
EXPORTING
document = lo_document
pretty_print = 'X'
IMPORTING
xml_as_string = lv_raw_data_x.
CALL FUNCTION 'SCMS_XSTRING_TO_BINARY'
EXPORTING
buffer = lv_raw_data_x
IMPORTING
output_length = lv_raw_data_len
TABLES
binary_tab = lt_raw_data.
cl_gui_frontend_services=>gui_download(
EXPORTING
bin_filesize = lv_raw_data_len " File length for binary files
filename = lv_app_data_path " Name of file
filetype = 'BIN' " File type (ASCII, binary ...)
CHANGING
data_tab = lt_raw_data " Transfer table
).
CASE iv_mode.
WHEN 'ADD'.
MESSAGE 'Template has been added successfully' TYPE 'S'.
WHEN 'CHANGE'.
MESSAGE 'Template has been changed successfully' TYPE 'S'.
WHEN 'DELETE'.
MESSAGE 'Template has been removed successfully' TYPE 'S'.
ENDCASE.
ENDIF.
ENDMETHOD.
METHOD load_data.
handle_xml_file( EXPORTING iv_mode = 'READ' ).
ENDMETHOD.
METHOD user_command.
DATA lt_selected_rows TYPE salv_t_row.
DATA lv_selected_row LIKE LINE OF lt_selected_rows.
CLEAR mv_screen_mode.
CLEAR ms_selected_template.
lt_selected_rows = mo_salv->get_selections( )->get_selected_rows( ).
CASE e_salv_function.
WHEN '%DISP' OR '%CHNG' OR '%DEL'.
IF lines( lt_selected_rows ) <> 1.
MESSAGE 'Select exactly one row' TYPE 'S' DISPLAY LIKE 'E'.
RETURN.
ENDIF.
READ TABLE lt_selected_rows INTO lv_selected_row INDEX 1.
CHECK sy-subrc EQ 0.
READ TABLE mt_templates INTO ms_selected_template INDEX lv_selected_row.
CHECK sy-subrc EQ 0.
ENDCASE.
CASE e_salv_function.
WHEN '%DISP'.
mv_screen_mode = 'DISPLAY'.
CALL SCREEN 0100.
WHEN '%CHNG'.
mv_screen_mode = 'CHANGE'.
CALL SCREEN 0100.
me->load_data( ).
mo_salv->refresh( refresh_mode = if_salv_c_refresh=>full ).
WHEN '%ADD'.
mv_screen_mode = 'ADD'.
CALL SCREEN 0100.
me->load_data( ).
mo_salv->refresh( refresh_mode = if_salv_c_refresh=>full ).
WHEN '%DEL'.
me->delete_template( EXPORTING iv_key = ms_selected_template-key
iv_descr = ms_selected_template-description
iv_text = ms_selected_template-text ).
me->load_data( ).
mo_salv->refresh( refresh_mode = if_salv_c_refresh=>full ).
WHEN OTHERS.
ENDCASE.
ENDMETHOD.
METHOD status_0100.
DATA lt_fcode TYPE STANDARD TABLE OF syucomm.
cv_key = ms_selected_template-key.
cv_descr = ms_selected_template-description.
LOOP AT SCREEN.
CASE screen-group1.
WHEN '001'.
CASE mv_screen_mode.
WHEN 'DISPLAY'.
screen-input = 0.
WHEN 'CHANGE' OR 'ADD'.
screen-input = 1.
ENDCASE.
MODIFY SCREEN.
WHEN '002'.
CASE mv_screen_mode.
WHEN 'DISPLAY' OR 'CHANGE'.
screen-input = 0.
WHEN 'ADD'.
screen-input = 1.
ENDCASE.
MODIFY SCREEN.
ENDCASE.
ENDLOOP.
IF mv_screen_mode = 'DISPLAY'.
APPEND '%SAVE' TO lt_fcode.
ENDIF.
IF mo_abap_editor IS NOT BOUND.
CREATE OBJECT mo_abap_container
EXPORTING
container_name = 'CONTAINER_TEXT'.
CREATE OBJECT mo_abap_editor
EXPORTING
parent = mo_abap_container " Parent container
max_number_chars = 150. " Maximum Number of Characters
DATA lt_text TYPE STANDARD TABLE OF text255.
SPLIT ms_selected_template-text AT '\n' INTO TABLE lt_text.
mo_abap_editor->set_text( lt_text ).
ENDIF.
CASE mv_screen_mode.
WHEN 'DISPLAY'.
* mo_abap_editor->set_enable( '' ).
mo_abap_editor->set_readonly_mode( 1 ).
WHEN 'CHANGE' OR 'ADD'.
* mo_abap_editor->set_enable( 'X' ).
mo_abap_editor->set_readonly_mode( 0 ).
ENDCASE.
SET PF-STATUS 'S0100' EXCLUDING lt_fcode.
SET TITLEBAR 'T0100'.
ENDMETHOD.
METHOD user_command_0100.
DATA lt_text TYPE STANDARD TABLE OF text255.
DATA lv_text TYPE string.
ms_selected_template-key = cv_key.
ms_selected_template-description = cv_descr.
CASE cv_ok_code.
WHEN 'E' OR 'ECAN'.
me->free_resources_0100( ).
SET SCREEN 0.
LEAVE SCREEN.
WHEN 'ENDE'.
me->free_resources_0100( ).
LEAVE PROGRAM.
WHEN '%SAVE'.
IF cv_key IS INITIAL.
MESSAGE 'Template key cannot be empty' TYPE 'S' DISPLAY LIKE 'E'.
RETURN.
ENDIF.
IF cv_descr IS INITIAL.
MESSAGE 'Template description cannot be empty' TYPE 'S' DISPLAY LIKE 'E'.
RETURN.
ENDIF.
mo_abap_editor->get_text( IMPORTING table = lt_text ).
CONCATENATE LINES OF lt_text INTO lv_text SEPARATED BY '\n' RESPECTING BLANKS.
CONDENSE lv_text.
IF lv_text IS INITIAL.
MESSAGE 'Template text cannot be empty' TYPE 'S' DISPLAY LIKE 'E'.
RETURN.
ENDIF.
CASE mv_screen_mode.
WHEN 'ADD'.
me->add_template( EXPORTING iv_key = cv_key
iv_descr = cv_descr
iv_text = lv_text ).
me->free_resources_0100( ).
SET SCREEN 0.
LEAVE SCREEN.
WHEN 'CHANGE'.
me->update_template( EXPORTING iv_key = cv_key
iv_descr = cv_descr
iv_text = lv_text ).
WHEN OTHERS.
ENDCASE.
ENDCASE.
ENDMETHOD.
METHOD add_template.
DATA ls_template TYPE ts_template.
ls_template-key = iv_key.
ls_template-description = iv_descr.
ls_template-text = iv_text.
me->handle_xml_file( EXPORTING iv_mode = 'ADD'
is_template = ls_template ).
ENDMETHOD.
METHOD update_template.
DATA ls_template TYPE ts_template.
DATA lv_answer TYPE char1.
CALL FUNCTION 'POPUP_TO_CONFIRM'
EXPORTING
text_question = 'Are you sure you want to change this template?'
IMPORTING