8/13/2019 Application Log Display
http://slidepdf.com/reader/full/application-log-display 1/69
Application Log Display
FUNCTION ZDMPM_APPL_LOG_DISPLAY.*"----------------------------------------------------------------------
*"*"Local Interface
*" IMPO!TING
*" !F!NC#P_$UN!_LO%& TYP $UN! DFAULT SPAC
*" !F!NC#P_$UN!_'IG'& TYP $UN! DFAULT SPAC
*" TA(LS
*" I_MSSAG) ST!UCTU! ZDMPM_APPL_LOG
*"----------------------------------------------------------------------* Gloal +ata +eclarat,on* Data +eclarat,on +one ,n te follo/,n0 ,ncl1+e #D233345& ,ncl1+e
6+787r_+e933345_78_act,9e_to8.
TYPS (GIN OF t:_e;1nr<
e;1nr TYP e;1nr<
ND OF t:_e;1nr.
DATA r_e;1nr TYP !ANG OF 78o-e;1nr<
,_e;1nr TYP STANDA!D TA(L OF t:_e;1nr INITIAL SIZ 3.
DATA /a_e;1nr LI= LIN OF r_e;1nr<
/a_e;1nr) TYP t:_e;1nr.**** For ,78le7entat,on of 9er,on 7ana0e7ent
*** CALL FUNCTION >ZDM_C'C=_D2_STATUS>
*** ?PO!TING
*** 6+e9,+ @ c_+e9,+ ">D233345>
*** 61na7e @ SY-UNAM
*** ?CPTIONS
*** enance7ent_not_act,9e @ )
*** OT'!S @ .* CecB,n0 te f1nct,on eec1t,on , /,to1t error ** IF SY-SU(!C @ 3.
IF NOT 8_e;1nr_,0 IS INITIAL.
/a_e;1nr-,0n @ c_,0n.
/a_e;1nr-o8t,on @ c_o8t,on.
/a_e;1nr-lo/ @ 8_e;1nr_lo/.
/a_e;1nr-,0 @ 8_e;1nr_,0.
APPND /a_e;1nr TO r_e;1nr.
CLA! /a_e;1nr.
8/13/2019 Application Log Display
http://slidepdf.com/reader/full/application-log-display 2/69
SLCT e;1nr
F!OM e;1,
INTO TA(L ,_e;1nr
%'! e;1nr IN r_e;1nr.
LS.
SLCT e;1nr
F!OM e;1,
INTO TA(L ,_e;1nr
%'! e;1nr $ 8_e;1nr_lo/.
NDIF.
LOOP AT ,_e;1nr INTO /a_e;1nr).
0_e;1nr @ /a_e;1nr)-e;1nr.
*0ett,n0 e;1,87ent ,erarc: ,f an: ,n ,nternal tale
CALL FUNCTION >$UI_'I!A!C'Y_!AD>
?PO!TING
$UIPMNT @ 0_e;1nr
L2L_DO%N @ c_le9el ">>
* IMPO!TING
* $UI_COUNT @ :-ta,
TA(LS
'I!_TA( @ ,_e;1,_ta.
IF NOT ,_e;1,_taE IS INITIAL.
LOOP AT ,_e;1,_ta INTO /a_e;1,_ta.
APPND /a_e;1,_ta TO ,_e;1,_ta).
CLA! /a_e;1,_ta.
NDLOOP.
NDIF.
NDLOOP.
IF ,_e;1,_ta)E IS NOT INITIAL.
SO!T ,_e;1,_ta) (Y e;1nr.
DLT ADACNT DUPLICATS F!OM ,_e;1,_ta) COMPA!ING e;1nr.
SLCT 8Be: "8ara7eter Be:
na7e "8ara7eter na7e
8/13/2019 Application Log Display
http://slidepdf.com/reader/full/application-log-display 3/69
,te7 ",te7 no.
+ecr "+ecr,8t,on
9al1e "8ara7eter 9al1e
F!OM 6+7_8ar_+e933345 "HC CI_NO%'!
INTO TA(L ,_cale.
* CecB,n0 ,f elect,on , 1ccef1l ,f not 0,9e an error 7ea0e
IF SY-SU(!C N 3. "cecB,n0 ,nternal ta. , lanB or not
P!FO!M 1_a++_70_to_lo0
IN P!OG!AM 6+787r_+e933345_78_act,9e
TA(LS ,_7ea0)
USING c_70t:_e ">>
c_70,+ ">ZDMPM>
c_70no_5 ">5>
c_8ace
c_8ace
c_8ace ">SPAC>
c_8ace ">SPAC>
0_e;1nr
0_,nt_t:8e.
?IT.
NDIF.
SLCT 6Be: "Be: 9al1e
6+ec "+ecr,8t,on
6car "caracter,t,c 9al1e
F!OM 6+787_+,r_car "HC CI_NO%'!
INTO TA(L ,_car.
* CecB,n0 ,f elect,on , 1ccef1l ,f not 0,9e an error 7ea0e
IF SY-SU(!C N 3. "cecB,n0 ,nternal ta. , lanB or not
P!FO!M 1_a++_70_to_lo0
IN P!OG!AM 6+787r_+e933345_78_act,9e
TA(LS ,_7ea0)
USING c_70t:_e ">>
c_70,+ ">ZDMPM>
8/13/2019 Application Log Display
http://slidepdf.com/reader/full/application-log-display 4/69
c_70no_53 ">53>
c_8ace
c_8ace
c_8ace ">SPAC>
c_8ace ">SPAC>
0_e;1nr
0_,nt_t:8e.
?IT.
NDIF.
SLCT 78oe;1nr "e;1,87ent n17er
78o/ar8l "7a,ntenance 8lan
78o/a8o "7a,ntenance ,te7
78o66+oBnr "+oc17ent n17er
78o66+oBar "+oc17ent t:8e
78o,nact ",n+,cator for 7a,nt. ,te7 ,nact,9e
78o;7n17 "not,f,cat,on n17er
78laoJnr "oJect n17er
78la78t:8 "MP cate0or:
F!OM 78o INN! OIN 78la
ON 78o/ar8l @ 78la/ar8l
INTO TA(L ,_78o
FO! ALL NT!IS IN ,_e;1,_ta
%'! 78oe;1nr @ ,_e;1,_ta-e;1nr.
* CecB,n0 ,f elect,on , 1ccef1l ,f not 0,9e an error 7ea0e
IF SY-SU(!C N 3. "cecB,n0 ,nternal ta. , lanB or not
P!FO!M 1_a++_70_to_lo0
IN P!OG!AM 6+787r_+e933345_78_act,9e
TA(LS ,_7ea0)
USING c_70t:_e ">>
c_70,+ ">ZDMPM>
c_70no_5)3 ">5)3>
0_e;1nr
c_8ace
8/13/2019 Application Log Display
http://slidepdf.com/reader/full/application-log-display 5/69
8/13/2019 Application Log Display
http://slidepdf.com/reader/full/application-log-display 6/69
?IT.
NDIF.
* co8:,n0 te ,_78o ,nto te78 tale
,_t_78oE @ ,_78oE.
SO!T ,_t_78o (Y 66+oBar 66+oBnr.
DLT ADACNT DUPLICATS F!OM ,_t_78o
COMPA!ING 66+oBnr 66+oBar.
SLCT +oBnr "+oc17ent n17er
+oBar "+oc17ent t:8e
+oBtl "+oc17ent 8art n17er
+oB9r "+oc17ent 9er,on
+oBt "+oc17ent tat1
F!OM +ra/
INTO TA(L ,_+ra/
FO! ALL NT!IS IN ,_t_78o
%'! +oBnr @ ,_t_78o-66+oBnr
AND +oBar @ ,_t_78o-66+oBar.
* CecB,n0 ,f elect,on , 1ccef1l ,f not 0,9e an error 7ea0e
IF SY-SU(!C N 3. "cecB,n0 ,nternal ta. , lanB or not
P!FO!M 1_a++_70_to_lo0
IN P!OG!AM 6+787r_+e933345_78_act,9e
TA(LS ,_7ea0)
USING c_70t:_e ">>
c_70,+ ">ZDMPM>
c_70no_5)) ">5))>
0_e;1nr
c_8ace
c_8ace ">SPAC>
c_8ace ">SPAC>
0_e;1nr
0_,nt_t:8e.
?IT.
NDIF.
8/13/2019 Application Log Display
http://slidepdf.com/reader/full/application-log-display 7/69
CLA! ,_t_78o.
!F!S' ,_t_78o.
,_t_78oE @ ,_78oE.
SO!T ,_t_78o (Y /ar8l.
DLT ADACNT DUPLICATS F!OM ,_t_78o COMPA!ING /ar8l.
SLCT /ar8l "7a,ntenance 8lan
n177er "co1nter ,n control tale
6e,e "1n,t
6:Bl) "7a,ntenance 8acBa0e c:cleoffet
8o,nt "7ea1r,n0 8o,nt
F!OM 778t
INTO TA(L ,_778t
FO! ALL NT!IS IN ,_t_78o
%'! /ar8l @ ,_t_78o-/ar8l.
* CecB,n0 ,f elect,on , 1ccef1l ,f not 0,9e an error 7ea0e
IF SY-SU(!C N 3. "cecB,n0 ,nternal ta. , lanB or not
P!FO!M 1_a++_70_to_lo0
IN P!OG!AM 6+787r_+e933345_78_act,9e
TA(LS ,_7ea0)
USING c_70t:_e ">>
c_70,+ ">ZDMPM>
c_70no_5) ">5)>
0_e;1nr
c_8ace
c_8ace ">SPAC>
c_8ace ">SPAC>
0_e;1nr
0_,nt_t:8e.
?IT.
NDIF.
SO!T ,_cale (Y 8Be: na7e ,te7.
CLA! /a_cale.
!AD TA(L ,_cale INTO /a_cale
8/13/2019 Application Log Display
http://slidepdf.com/reader/full/application-log-display 8/69
8/13/2019 Application Log Display
http://slidepdf.com/reader/full/application-log-display 9/69
c_70no_5) ">5)>
0_e;1nr
c_8ace
c_8ace ">SPAC>
c_8ace ">SPAC>
0_e;1nr
0_,nt_t:8e.
?IT.
NDIF.
SO!T ,_778t (Y 8o,nt /ar8l.
,_t_778tE @ ,_778tE.
DLT ADACNT DUPLICATS F!OM ,_t_778t COMPA!ING 8o,nt.
SLCT at,nn ",nternal caracter,,c
8o,nt "7ea1r,n0 8o,nt
F!OM ,78tt
INTO TA(L ,_,78tt
FO! ALL NT!IS IN ,_t_778t
%'! 8o,nt @ ,_t_778t-8o,nt.
* CecB,n0 ,f elect,on , 1ccef1l ,f not 0,9e an error 7ea0e
IF SY-SU(!C N 3. "cecB,n0 ,nternal ta. , lanB or not
P!FO!M 1_a++_70_to_lo0_)
IN P!OG!AM 6+787r_+e933345_78_act,9e
TA(LS ,_7ea0)
USING c_70t:_e ">>
c_70,+ ">ZDMPM>
c_70no_5) ">5)>
0_e;1nr
c_8ace
c_8ace ">SPAC>
c_8ace ">SPAC>
0_e;1nr
0_,nt_t:8e.
?IT.
8/13/2019 Application Log Display
http://slidepdf.com/reader/full/application-log-display 10/69
NDIF.
SLCT /ar8l "7a,ntenance 8lan
an17 "7a,ntenance 8lan call n17er
6ael "7a,nt 8acBa0e no.
a+8o,nt "7ea1r,n0 8o,nt
a+1n,t "1n,t
n8l+a "net 8lanne+ +ate
lr7+t "+ate of lat co78let,on
a+tt,7e "tart t,7e for ce+1l,n0
a+conft,7e "t,7e of lat co78let,on
ter7a "ce+1l,n0 t:8e
F!OM 7,
INTO TA(L ,_7,
FO! ALL NT!IS IN ,_t_78o
%'! /ar8l @ ,_t_78o-/ar8l.
* CecB,n0 ,f elect,on , 1ccef1l ,f not 0,9e an error 7ea0e
IF SY-SU(!C N 3. "cecB,n0 ,nternal ta. , lanB or not
P!FO!M 1_a++_70_to_lo0_)
IN P!OG!AM 6+787r_+e933345_78_act,9e
TA(LS ,_7ea0)
USING c_70t:_e ">>
c_70,+ ">ZDMPM>
c_70no_5) ">5)>
0_e;1nr
c_8ace
c_8ace ">SPAC>
c_8ace ">SPAC>
0_e;1nr
0_,nt_t:8e.
?IT.
NDIF.
SLCT e;1nr "e;1,87ent n17er
+at, "9al,+ to +ate
8/13/2019 Application Log Display
http://slidepdf.com/reader/full/application-log-display 11/69
e;lfn "con. n17er,n0 on a7e +a:
e;1, "18er,or e;1,87ent
,loan "locat,on an+ acct a,0n7ent for tec oJ
er+at "create +ate
t,7, "t,7e
F!OM e;16
INTO TA(L ,_e;16
FO! ALL NT!IS IN ,_e;1,_ta
%'! e;1nr @ ,_e;1,_ta-e;1nr.
* CecB,n0 ,f elect,on , 1ccef1l ,f not 0,9e an error 7ea0e
IF SY-SU(!C N 3. "cecB,n0 ,nternal ta. , lanB or not
P!FO!M 1_a++_70_to_lo0_)
IN P!OG!AM 6+787r_+e933345_78_act,9e
TA(LS ,_7ea0)
USING c_70t:_e ">>
c_70,+ ">ZDMPM>
c_70no_5) ">5)>
0_e;1nr
c_8ace
c_8ace ">SPAC>
c_8ace ">SPAC>
0_e;1nr
0_,nt_t:8e.
?IT.
NDIF.
,_t_e;16E @ ,_e;16E.
SO!T ,_t_e;16 (Y ,loan.
DLT ADACNT DUPLICATS F!OM ,_t_e;16 COMPA!ING ,loan.
SLCT ,loan "locat,on an+ acct a,0n7ent for tec oJ
t8lnr "f1nct,onal locat,on
o/ner "oJect ref. ,n+,cator
F!OM ,loa
INTO TA(L ,_,loa
8/13/2019 Application Log Display
http://slidepdf.com/reader/full/application-log-display 12/69
FO! ALL NT!IS IN ,_t_e;16
%'! ,loan @ ,_t_e;16-,loan.
* CecB,n0 ,f elect,on , 1ccef1l ,f not 0,9e an error 7ea0e
IF SY-SU(!C N 3. "cecB,n0 ,nternal ta. , lanB or not
P!FO!M 1_a++_70_to_lo0_)
IN P!OG!AM 6+787r_+e933345_78_act,9e
TA(LS ,_7ea0)
USING c_70t:_e ">>
c_70,+ ">ZDMPM>
c_70no_5)K ">5)K>
0_e;1nr
c_8ace
c_8ace ">SPAC>
c_8ace ">SPAC>
0_e;1nr
0_,nt_t:8e.
?IT.
NDIF.
CLA! ,_t_78o.
!F!S' ,_t_78o.
,_t_78oE @ ,_78oE.
SO!T ,_t_78o (Y oJnr.
DLT ADACNT DUPLICATS F!OM ,_t_78o COMPA!ING oJnr.
SLCT oJnr "oJect n17er
t7a "tat1 8rof,le
F!OM Jto
INTO TA(L ,_Jto
FO! ALL NT!IS IN ,_t_78o
%'! oJnr @ ,_t_78o-oJnr.
* CecB,n0 ,f elect,on , 1ccef1l ,f not 0,9e an error 7ea0e
IF SY-SU(!C N 3. "cecB,n0 ,nternal ta. , lanB or not
P!FO!M 1_a++_70_to_lo0_)
IN P!OG!AM 6+787r_+e933345_78_act,9e
8/13/2019 Application Log Display
http://slidepdf.com/reader/full/application-log-display 13/69
TA(LS ,_7ea0)
USING c_70t:_e ">>
c_70,+ ">ZDMPM>
c_70no_5) ">5)>
0_e;1nr
c_8ace
c_8ace ">SPAC>
c_8ace ">SPAC>
0_e;1nr
0_,nt_t:8e.
?IT.
NDIF.
,_t_JtoE @ ,_JtoE.
SO!T ,_t_Jto (Y t7a.
DLT ADACNT DUPLICATS F!OM ,_t_Jto COMPA!ING t7a.
SLCT t7a "tat1 8rof,le
el,+ "elect,on ,+
F!OM tJ5
INTO TA(L ,_tJ5
FO! ALL NT!IS IN ,_t_Jto
%'! t7a @ ,_t_Jto-t7a.
* CecB,n0 ,f elect,on , 1ccef1l ,f not 0,9e an error 7ea0e
IF SY-SU(!C N 3. "cecB,n0 ,nternal ta. , lanB or not
P!FO!M 1_a++_70_to_lo0_)
IN P!OG!AM 6+787r_+e933345_78_act,9e
TA(LS ,_7ea0)
USING c_70t:_e ">>
c_70,+ ">ZDMPM>
c_70no_5) ">5)>
0_e;1nr
c_8ace
c_8ace ">SPAC>
c_8ace ">SPAC>
8/13/2019 Application Log Display
http://slidepdf.com/reader/full/application-log-display 14/69
0_e;1nr
0_,nt_t:8e.
?IT.
NDIF.
SLCT atna7 "caracter,t,c na7e
at,nn ",nternal caracter,t,c
F!OM can "HC CI_NO%'!
INTO TA(L ,_can.
* CecB,n0 ,f elect,on , 1ccef1l ,f not 0,9e an error 7ea0e
IF SY-SU(!C N 3. "cecB,n0 ,nternal ta. , lanB or not
P!FO!M 1_a++_70_to_lo0_)
IN P!OG!AM 6+787r_+e933345_78_act,9e
TA(LS ,_7ea0)
USING c_70t:_e ">>
c_70,+ ">ZDMPM>
c_70no_5)4 ">5)4>
0_e;1nr
c_8ace
c_8ace ">SPAC>
c_8ace ">SPAC>
0_e;1nr
0_,nt_t:8e.
?IT.
NDIF.
SLCT at/rt "caracter,t,c 9al1e
at6l ",nternal co1nter
at,nn ",nternal caracter,t,c
a+6l ",nt co1nter
F!OM ca/n
INTO TA(L ,_ca/n
FO! ALL NT!IS IN ,_can
%'! at,nn @ ,_can-at,nn.
* CecB,n0 ,f elect,on , 1ccef1l ,f not 0,9e an error 7ea0e
8/13/2019 Application Log Display
http://slidepdf.com/reader/full/application-log-display 15/69
IF SY-SU(!C N 3. "cecB,n0 ,nternal ta. , lanB or not
P!FO!M 1_a++_70_to_lo0_)
IN P!OG!AM 6+787r_+e933345_78_act,9e
TA(LS ,_7ea0)
USING c_70t:_e ">>
c_70,+ ">ZDMPM>
c_70no_5)4 ">5)4>
0_e;1nr
c_8ace
c_8ace ">SPAC>
c_8ace ">SPAC>
0_e;1nr
0_,nt_t:8e.
?IT.
NDIF.
SLCT at,nn ",nternal caracter,t,c
at6l ",nternal co1nter
at/t "+ecr,8t,on
a+6l ",nt co1nter
8ra "lan01a0e
F!OM ca/nt
INTO TA(L ,_ca/nt
FO! ALL NT!IS IN ,_ca/n
%'! at,nn @ ,_ca/n-at,nn
AND at6l @ ,_ca/n-at6l.
* CecB,n0 ,f elect,on , 1ccef1l ,f not 0,9e an error 7ea0e
IF SY-SU(!C N 3. "cecB,n0 ,nternal ta. , lanB or not
P!FO!M 1_a++_70_to_lo0_)
IN P!OG!AM 6+787r_+e933345_78_act,9e
TA(LS ,_7ea0)
USING c_70t:_e ">>
c_70,+ ">ZDMPM>
c_70no_5)4 ">5)4>
8/13/2019 Application Log Display
http://slidepdf.com/reader/full/application-log-display 16/69
8/13/2019 Application Log Display
http://slidepdf.com/reader/full/application-log-display 17/69
INTO TA(L ,_te78l_0r8.
* CecB,n0 ,f elect,on , 1ccef1l ,f not 0,9e an error 7ea0e
IF SY-SU(!C N 3. "cecB,n0 ,nternal ta. , lanB or not
P!FO!M 1_a++_70_to_lo0_)
IN P!OG!AM 6+787r_+e933345_78_act,9e
TA(LS ,_7ea0)
USING c_70t:_e ">>
c_70,+ ">ZDMPM>
c_70no_5)5 ">5)5>
0_e;1nr
c_8ace
c_8ace ">SPAC>
c_8ace ">SPAC>
0_e;1nr
0_,nt_t:8e.
?IT.
NDIF.
SO!T ,_cale (Y 8Be: na7e ,te7.
CLA! /a_cale.
!AD TA(L ,_cale INTO /a_cale
%IT' =Y 8Be: @ c_333 ">333>
na7e @ c_1tat ">USTAT>
,te7 @ c_333). ">333)>
IF SY-SU(!C @ 3.
0_1tat) @ /a_cale-9al1e.
NDIF.
CLA! /a_cale.
!AD TA(L ,_cale INTO /a_cale
%IT' =Y 8Be: @ c_333 ">333>
na7e @ c_1tat ">USTAT>
,te7 @ c_333. ">333>
IF SY-SU(!C @ 3.
0_1tat @ /a_cale-9al1e.
8/13/2019 Application Log Display
http://slidepdf.com/reader/full/application-log-display 18/69
8/13/2019 Application Log Display
http://slidepdf.com/reader/full/application-log-display 19/69
CLA! /a_cale.
LOOP AT ,_cale INTO /a_cale %'! 8Be: @ c_3334
AND na7e @ c_na7e.
/a_78t:8e-,0n @ c_,0n.
/a_78t:8e-lo/ @ /a_cale-9al1e.
/a_78t:8e-o8t,on @ c_o8t,on.
APPND /a_78t:8e TO r_78t:8e.
CLA! /a_78t:8e.
NDLOOP.
SO!T ,_te78l_0r8 (Y 6+,rt:8 6te78l.
* Sort,n0 te can tale : atna7 f,el+
SO!T ,_can (Y atna7.
* Sort,n0 te ca/n tale : at,nn f,el+
SO!T ,_ca/n (Y at,nn.
* Sort,n0 te ca/nt tale : at,nn at6l at/t f,el+
SO!T ,_ca/nt (Y at,nn at6l at/t.
* Sort,n0 te caracter,t,c tale tale : 6Be: f,el+
SO!T ,_car (Y 6Be:.
* Sort,n0 te tJ5 tale : t7a el,+ f,el+
SO!T ,_tJ5 (Y t7a el,+.
* Sort,n0 te ,flot tale : t8lnr f,el+
SO!T ,_,flot (Y t8lnr.
0_fl0_call @ c_cecB.
SLCT ;7,e;1nr "e;1,87ent no.
;7,;7n17 "not,f,cat,on no.
;7,/ar8l "7a,ntenance 8lan no.
;7,an17 "call n17er
;7,/a8o "7a,ntenance ,te7
;7eloJnr "oJect n17er
F!OM ;7, INN! OIN ;7el
ON ;7,;7n17 @ ;7el;7n17
INTO TA(L ,_e;1,_no
FO! ALL NT!IS IN ,_e;1,_ta
8/13/2019 Application Log Display
http://slidepdf.com/reader/full/application-log-display 20/69
%'! ;7,e;1nr @ ,_e;1,_ta-e;1nr.
IF SY-SU(!C N 3. "cecB,n0 ,nternal ta. , lanB or not
P!FO!M 1_a++_70_to_lo0_)
IN P!OG!AM 6+787r_+e933345_78_act,9e
TA(LS ,_7ea0)
USING c_70t:_e ">>
c_70,+ ">ZDMPM>
c_70no_5) ">5)>
0_e;1nr
c_8ace
c_8ace ">SPAC>
c_8ace ">SPAC>
0_e;1nr
0_,nt_t:8e.
?IT.
LS.
* +elet,n0 toe not,f,cat,on /oe 7a,nt 8lan an+ 7a,nt ,te7 , lanB
DLT ,_e;1,_no %'! /ar8l IS NOT INITIAL
AND /a8o IS NOT INITIAL.
CLA! 0_e;1nr< 0_;7n17< 0_oJnr.
LOOP AT ,_e;1,_no INTO /a_e;1,_no.
0_oJnr @ /a_e;1,_no-oJnr.
0_;7n17 @ /a_e;1,_no-;7n17.
0_e;1nr @ /a_e;1,_no-e;1nr.
* For cecB,n0 te 1er tat1 an+ :te7 tat1 for not,f,cat,on
CALL FUNCTION >STATUS_T?T_DIT>
?PO!TING
* CLINT @ SY-MANDT
FLG_US!_STAT @ c_cecB ">?>
O(N! @ 0_oJnr
* ONLY_ACTI2 @ >?>
SP!AS @ SY-LANGU
* (YPASS_(UFF! @ > >
8/13/2019 Application Log Display
http://slidepdf.com/reader/full/application-log-display 21/69
IMPO!TING
* AN%_STAT_?ISTING @
* _STSMA @
LIN @ 0_l,ne
US!_LIN @ 0_1er_l,ne
* STON! @
?CPTIONS
O(CT_NOT_FOUND @ )
OT'!S @ .
IF SY-SU(!C Q 3.
CONTINU.
NDIF.
* 0_,nt_t:8 @ c_,ntall.
CLA! 0_fla0_co78.
** (!A= I(M33345.
* CecB,n0 te 1er tat1 an+ :te7 ta1
IF 0_l,ne NS 0_tat AND 0_1er_l,ne NS 0_1tat).
* Deact,9at,n0 te tat1 of non-78 not,f ,cat,on
P!FO!M 1_non78_not,f_+eact,9ate
IN P!OG!AM 6+787r_+e933345_78_act,9e
TA(LS ,_te78l_0r8
,_car
,_can
,_ca/n
,_ca/nt
USING 0_e;1nr
0_oJnr
0_;7n17
0_1tat)
c_8ace
c_8ace
C'ANGING 0_fla0_co78.
* If fla0 , et ten o/ te 1cce 7ea0e ,n a88l lo0
8/13/2019 Application Log Display
http://slidepdf.com/reader/full/application-log-display 22/69
IF 0_fla0_co78 @ c_cecB. ">?>
P!FO!M 1_a++_70_to_lo0_)
IN P!OG!AM 6+787r_+e933345_78_act,9e
TA(LS ,_7ea0)
USING c_70t:_ ">S>
c_70,+ ">ZDMPM>
c_70no_K ">K>
0_;7n17
0_e;1nr
c_8ace ">SPAC>
c_8ace ">SPAC>
0_e;1nr
0_,nt_t:8e.
NDIF.
* CecB,n0 te 1er tat1 an+ :te7 ta1
LSIF 0_l,ne NS 0_tat AND 0_1er_l,ne CS 0_1tat).
* Act,9at,n0 te tat1 of non-78 not,f,cat,on
P!FO!M 1_non78_not,f_act,9ate
IN P!OG!AM 6+787r_+e933345_78_act,9e
TA(LS ,_te78l_0r8
,_car
,_can
,_ca/n
,_ca/nt
USING 0_e;1nr
0_oJnr
0_;7n17
0_1tat)
c_8ace
c_8ace
C'ANGING 0_fla0_co78.
* If fla0 , et ten o/ te 1cce 7ea0e ,n a88l lo0
IF 0_fla0_co78 @ c_cecB. ">?>
8/13/2019 Application Log Display
http://slidepdf.com/reader/full/application-log-display 23/69
P!FO!M 1_a++_70_to_lo0_)
IN P!OG!AM 6+787r_+e933345_78_act,9e
TA(LS ,_7ea0)
USING c_70t:_ ">S>
c_70,+ ">ZDMPM>
c_70no_K ">K>
0_;7n17
0_e;1nr
c_8ace ">SPAC>
c_8ace ">SPAC>
0_e;1nr
0_,nt_t:8e.
NDIF.
NDIF.
NDLOOP.
NDIF.
** (!A= I(M33345.
SO!T ,_+ra/ (Y +oBnr +oBar +oBtl +oBt.
SO!T ,_a18 (Y oJeB at,nn Blart.
IF ,_78oE IS NOT INITIAL.
* MP elect,on ,ntall+eact,9ate
CLA! ,_t_78o.
!F!S' ,_t_78o.
,_t_78oE @ ,_78oE.
** DLT ,_t_78o %'! ,nact N SPAC.
SO!T ,_t_Jet (Y tat.
LOOP AT ,_t_78o INTO /a_78o.
!F!S' ,_t_Jet.
,_t_JetE @ ,_JetE.
DLT ,_t_Jet %'! tat N c_,334.
IF NOT ,_t_JetE IS INITIAL.
CLA! /a_Jet.
!AD TA(L ,_t_Jet INTO /a_Jet
8/13/2019 Application Log Display
http://slidepdf.com/reader/full/application-log-display 24/69
%IT' =Y oJnr @ /a_78o-oJnr
tat @ c_,334.
IF SY-SU(!C @ 3.
IF /a_Jet-,nact @ c_8ace.
CONTINU.
NDIF.
NDIF.
NDIF.
!F!S' ,_t_Jet.
,_t_JetE @ ,_JetE.
DLT ,_t_Jet %'! tat N c_,333).
IF NOT ,_t_JetE IS INITIAL.
CLA! /a_Jet.
!AD TA(L ,_t_Jet INTO /a_Jet
%IT' =Y oJnr @ /a_78o-oJnr
tat @ c_,33.
IF SY-SU(!C @ 3.
IF /a_Jet-,nact $ c_8ace.
CONTINU.
NDIF.
NDIF.
NDIF.
CLA! /a_+ra/.
!AD TA(L ,_+ra/ INTO /a_+ra/
%IT' =Y +oBnr @ /a_78o-66+oBnr
+oBar @ /a_78o-66+oBar
+oBtl @ c_6ero ">333>
+oBt @ c_n,ne (INA!Y SA!C'. ">3>
C'C= SY-SU(!C @ 3. "cB,n0 rea+,n0 of tale , 1ccef1l
* CecB,n0 DI! , te78late DI! or not for DI! t:8e
CLA! /a_te78l_0r8.
!AD TA(L ,_te78l_0r8 INTO /a_te78l_0r8
%IT' =Y 6+,rt:8 @ /a_+ra/-+oBar
8/13/2019 Application Log Display
http://slidepdf.com/reader/full/application-log-display 25/69
8/13/2019 Application Log Display
http://slidepdf.com/reader/full/application-log-display 26/69
0_1tat)
0_a8lo0
c_8ace
c_8ace
0_,nt_t:8e
0_fl0_call
C'ANGING 0_fla0_co78.
* If fla0 , cecBe+ ten +,8la: te 1cce 7ea0e
IF 0_fla0_co78 @ c_cecB. ">?>
P!FO!M 1_a++_70_to_lo0_)
IN P!OG!AM 6+787r_+e933345_78_act,9e
TA(LS ,_7ea0)
USING c_70t:_ ">S>
c_70,+ ">ZDMPM>
c_70no_ ">>
0_;7n17
c_8ace
c_8ace ">SPAC>
c_8ace ">SPAC>
0_e;1nr
0_,nt_t:8e.
* Deact,9at,n0 te MP for electe+ 7a,nt. 8lan
P!FO!M 1_78_+eact,9ate
IN P!OG!AM 6+787r_+e933345_78_act,9e
USING 0_/ar8l
C'ANGING 0_fla0_+c.
IF 0_fla0_+c @ c_cecB. ">?>
* Po81late te A88l,cat,on lo0
P!FO!M 1_a++_70_to_lo0_)
IN P!OG!AM 6+787r_+e933345_78_act,9e
TA(LS ,_7ea0)
USING c_70t:_ ">S>
c_70,+ ">ZDMPM>
8/13/2019 Application Log Display
http://slidepdf.com/reader/full/application-log-display 27/69
c_70no_K4 ">K4>
0_/ar8l
0_;7n17
0_e;1nr
c_8ace ">SPAC>
0_e;1nr
0_,nt_t:8e.
NDIF.
NDIF.
NDLOOP. "for ,_78o
CLA! ,_t_78o.
!F!S' ,_t_78o.
,_t_78oE @ ,_78oE.
** DLT ,_t_78o %'! ,nact N c_cecB. ">?>
* MP elect,on ,ntallact,9ate
* (!A= I(M3334.
SO!T ,_e;16 (Y e;1nr.
SO!T ,_,loa (Y ,loan.
LOOP AT ,_t_78o INTO /a_78o.
0_,n+e @ :-ta,.
!F!S' ,_t_Jet.
,_t_JetE @ ,_JetE.
DLT ,_t_Jet %'! tat N c_,334.
IF NOT ,_t_JetE IS INITIAL.
CLA! /a_Jet.
!AD TA(L ,_t_Jet INTO /a_Jet
%IT' =Y oJnr @ /a_78o-oJnr
tat @ c_,334.
IF SY-SU(!C @ 3.
IF /a_Jet-,nact @ c_8ace.
CONTINU.
NDIF.
NDIF.
8/13/2019 Application Log Display
http://slidepdf.com/reader/full/application-log-display 28/69
NDIF.
!F!S' ,_t_Jet.
,_t_JetE @ ,_JetE.
DLT ,_t_Jet %'! tat N c_,33.
IF NOT ,_t_JetE IS INITIAL.
CLA! /a_Jet.
!AD TA(L ,_t_Jet INTO /a_Jet
%IT' =Y oJnr @ /a_78o-oJnr
tat @ c_,33.
IF SY-SU(!C @ 3.
IF /a_Jet-,nact N c_8ace.
CONTINU.
NDIF.
NDIF.
NDIF.
CLA! /a_+ra/.
!AD TA(L ,_+ra/ INTO /a_+ra/
%IT' =Y +oBnr @ /a_78o-66+oBnr
+oBar @ /a_78o-66+oBar
+oBtl @ c_6ero ">333>
+oBt @ c_n,ne (INA!Y SA!C'. ">3>
C'C= SY-SU(!C @ 3.
* CecB,n0 DI! , te78late DI! or not for DI! t:8e
CLA! /a_te78l_0r8.
!AD TA(L ,_te78l_0r8 INTO /a_te78l_0r8
%IT' =Y 6+,rt:8 @ /a_+ra/-+oBar
6te78l @ c_cecB ">?>
(INA!Y SA!C'.
C'C= SY-SU(!C @ 3.
* CONCATNAT 0_+oBar 0_+oBnr 0_+oB9r 0_+oBtl INTO 0_oJB:.
0_oJB:R333#33& @ /a_+ra/-+oBar.
0_oJB:R33#3K& @ /a_+ra/-+oBnr.
0_oJB:R35#33& @ /a_+ra/-+oB9r.
8/13/2019 Application Log Display
http://slidepdf.com/reader/full/application-log-display 29/69
8/13/2019 Application Log Display
http://slidepdf.com/reader/full/application-log-display 30/69
!AD TA(L ,_,loa INTO /a_,loa
%IT' =Y ,loan @ /a_e;16-,loan (INA!Y SA!C'.
C'C= SY-SU(!C @ 3.
IF /a_,loa-o/ner $ c_le9el3) ">3)>
O! /a_,loa-o/ner $ SPAC.
0_e;1, @ /a_e;16-e;1,.
NDIF.
IF /a_,loa-o/ner $ c_le9el3 ">3>
AND /a_,loa-t8lnr N SPAC.
0_t8lnr @ /a_,loa-t8lnr.
NDIF.
LSIF 0_e;1,) IS NOT INITIAL
AND 0_,loan IS INITIAL.
0_e;1, @ /a_e;16-e;1,.
LSIF 0_e;1,) IS INITIAL
AND 0_,loan IS NOT INITIAL.
CLA! /a_,loa.
!AD TA(L ,_,loa INTO /a_,loa
%IT' =Y ,loan @ /a_e;16-,loan (INA!Y SA!C'.
C'C= SY-SU(!C @ 3.
IF /a_,loa-o/ner $ c_le9el3 ">3>
AND /a_,loa-t8lnr N SPAC.
0_t8lnr @ /a_,loa-t8lnr.
NDIF.
NDIF.
NDIF.
NDLOOP.
* to f,n+ o1t te effect,9,t: 0ro18 of 7a,ntenance 8lan
P!FO!M 1_78_effect_0ro18
IN P!OG!AM 6+787r_+e933345_78_act,9e
TA(LS ,_can
,_ca/n
,_ca/nt
8/13/2019 Application Log Display
http://slidepdf.com/reader/full/application-log-display 31/69
,_car
USING 0_oJB:
0_/ar8l
0_,n+e
C'ANGING ,_78o
0_fla0_co78.
NDIF.
NDLOOP. "For ,_78o
NDIF.
NDIF.
IF ,_,loaE IS NOT INITIAL.
,_t_,loaE @ ,_,loaE.
SO!T ,_t_,loa (Y t8lnr.
DLT ADACNT DUPLICATS F!OM ,_t_,loa COMPA!ING t8lnr.
SLCT t8lnr "f1nct,onal locat,on
e;art "oJect t:8e
F!OM ,flot
INTO TA(L ,_,flot
FO! ALL NT!IS IN ,_t_,loa
%'! t8lnr @ ,_t_,loa-t8lnr.
NDIF.
SO!T ,_t_78o (Y 0ro18 /ar8l e;1nr.
* CecB,n0 /eter one MP conta,n 7an: effect,9,t: 0ro18
DLT ADACNT DUPLICATS F!OM ,_t_78o COMPA!ING 0ro18 /ar8l.
LOOP AT ,_t_78o INTO /a_78o.
CLA! 0_/ar8l< 0_e;1nr< 0_fla0_0r8< 0_/a8o.
CLA! 0_+oBnr< 0_+oB9r< 0_+oBar< 0_+oBtl< 0_oJB:.
0_/ar8l @ /a_78o-/ar8l.
AT N% /ar8l.
0_fla0_0r8 @ c_cecB. ">?>
NDAT.
* If fla0 , ,n,t,al ten
* o/ te error 7ea0e an+ 7o9e to net MP
8/13/2019 Application Log Display
http://slidepdf.com/reader/full/application-log-display 32/69
IF 0_fla0_0r8 IS INITIAL.
0_7eR333#35& @ >Correct te DI! effect,9,t:>#33&.
0_7eR3#33& @ >efore re8roce,n0 te error.>#33&.
P!FO!M 1_a++_70_to_lo0_)
IN P!OG!AM 6+787r_+e933345_78_act,9e
TA(LS ,_7ea0)
USING c_70t:_e ">>
c_70,+ ">ZDMPM>
c_70no_KK ">KK>
0_/ar8l
0_7e
c_8ace ">SPAC>
c_8ace ">SPAC>
0_e;1nr
0_,nt_t:8e.
DLT ,_78o %'! /ar8l @ 0_/ar8l.
CONTINU.
NDIF. "for 0_fla0_0r8 IS INITIAL
NDLOOP. ",_t_78o
LOOP AT ,_t_78o INTO /a_78o.
CLA! 0_/ar8l< 0_fla0_0r8< 0_/a8o.
CLA! 0_+oBnr< 0_+oB9r< 0_+oBar< 0_+oBtl< 0_oJB:.
0_/ar8l @ /a_78o-/ar8l.
0_e;1nr @ /a_78o-e;1nr.
0_/a8o @ /a_78o-/a8o.
* For t, 7a,nt. ,te7 retr,e9e te DI! ,nfo
call f1nct,on >ZDMPM_MAINT_DI!_2!SION>
?PO!TING
P_%APOS @ 0_/a8o
* P_DAT @ SY-DATUM
IMPO!TING
DO=N! @ 0_+oBnr
DO=A! @ 0_+oBar
8/13/2019 Application Log Display
http://slidepdf.com/reader/full/application-log-display 33/69
8/13/2019 Application Log Display
http://slidepdf.com/reader/full/application-log-display 34/69
,_7ea0)
USING 0_e;1nr
0_oJB:
0_t8lnr
0_cecB
0_,nt_t:8e
0_fl0_call
0_a8lo0
C'ANGING 0_fla0_cB.
%'N c_act:8e. ">AC T:8e>
0_cecB @ c_le9el3). ">3)>
P!FO!M 1_effec_co+e_act:8e
IN P!OG!AM 6+787r_+e933345_78_act,9e
TA(LS ,_,flot
,_can
,_ca/n
,_ca/nt
,_car
,_t_78o
,_78o_7o+
,_7ea0)
USING 0_e;1nr
0_oJB:
0_a8lo0
0_cecB
0_,nt_t:8e
0_fl0_call
C'ANGING 0_fla0_cB.
%'N c_acer,e. ">AC Ser,e>
0_cecB @ c_le9el3). ">3)>
P!FO!M 1_effec_co+e_acer,e
IN P!OG!AM 6+787r_+e933345_78_act,9e
TA(LS ,_,flot
8/13/2019 Application Log Display
http://slidepdf.com/reader/full/application-log-display 35/69
,_can
,_ca/n
,_ca/nt
,_car
,_cale
,_t_78o
,_78o_7o+
,_7ea0)
USING 0_e;1nr
0_oJB:
0_a8lo0
0_cecB
0_,nt_t:8e
0_fl0_call
C'ANGING 0_fla0_cB.
%'N c_en0t:8. ">n0 T:8e>
0_cecB @ c_le9el3). ">3)>
P!FO!M 1_effec_co+e_en0t:8e
IN P!OG!AM 6+787r_+e933345_78_act,9e
TA(LS ,_,flot
,_can
,_ca/n
,_ca/nt
,_car
,_t_78o
,_78o_7o+
,_7ea0)
USING 0_e;1nr
0_oJB:
0_a8lo0
0_cecB
0_,nt_t:8e
0_fl0_call
8/13/2019 Application Log Display
http://slidepdf.com/reader/full/application-log-display 36/69
C'ANGING 0_fla0_cB.
NDCAS.
* If no 8lan ,n te 0ro18 , a88l,cale
AT ND OF e;1nr.
IF ,_78o_7o+E IS INITIAL.
0_7eR333#33& @ >All>#33&.
0_7eR33#335& @ >Po,t,on>#33K&.
0_7eR3)#334& @ >AC T:8e>#33&.
0_7eR3)#33& @ >AC Ser,e>#334&.
0_7eR3)#335& @ >n0 T:8e>#335&.
0_7e)R333#33& @ /a_78o-e;1nr.
0_7e)R3#3K& @ >an+ f1nct,onal locat,on>#33&.
0_7e)R3#33& @ 0_t8lnr.
P!FO!M 1_a++_70_to_lo0_)
IN P!OG!AM 6+787r_+e933345_78_act,9e
TA(LS ,_7ea0)
USING c_70t:_e ">>
c_70,+ ">ZDMPM>
c_70no_5K3 ">5K3>
0_7e
0_7e)
c_8ace ">SPAC>
c_8ace ">SPAC>
/a_78o-e;1nr
0_,nt_t:8e.
NDIF.
NDAT.
NDLOOP. "for ,_78o
SO!T ,_7, (Y /ar8l ASCNDING ter7a ASCNDING an17 ASCNDING
lr7+t DSCNDING a+tt,7e DSCNDING.
SO!T ,_e;1,_no (Y e;1nr.
SO!T ,_e;16 (Y e;1nr ASCNDING
er+at DSCNDING
8/13/2019 Application Log Display
http://slidepdf.com/reader/full/application-log-display 37/69
t,7, DSCNDING.
SO!T ,_,7r0 (Y 8o,nt ASCNDING
,+ate DSCNDING ,t,7e DSCNDING.
LOOP AT ,_78o_7o+ INTO /a_78o_7o+.
CLA! 0_/a8o< 0_/ar8l< 0_e;1nr< 0_oJnr.
CLA! 0_+oBnr< 0_+oBar< 0_+oBtl< 0_+oB9r.
0_/a8o @ /a_78o_7o+-/a8o.
0_/ar8l @ /a_78o_7o+-/ar8l.
0_e;1nr @ /a_78o_7o+-e;1nr.
0_oJnr @ /a_78o_7o+-oJnr.
0_78t:8 @ /a_78o_7o+-78t:8.
call f1nct,on >ZDMPM_MAINT_DI!_2!SION>
?PO!TING
P_%APOS @ 0_/a8o
* P_DAT @ SY-DATUM
IMPO!TING
DO=N! @ 0_+oBnr
DO=A! @ 0_+oBar
DO=TL @ 0_+oBtl
DO=2! @ 0_+oB9r
?CPTIONS
IN2ALID_MAINT_ITM @ )
NO_DI!_FOUND @
NO_2ALID_!ANG @
NO_2ALID_DI! @
OT'!S @ K.
IF SY-SU(!C Q 3.
CONTINU.
NDIF.
* CecB,n0 DI! , te78late DI! or not for DI! t:8e
CLA! /a_te78l_0r8.
!AD TA(L ,_te78l_0r8 INTO /a_te78l_0r8
%IT' =Y 6+,rt:8 @ 0_+oBar
8/13/2019 Application Log Display
http://slidepdf.com/reader/full/application-log-display 38/69
6te78l @ c_cecB (INA!Y SA!C'. ">?>
C'C= SY-SU(!C @ 3.
* CONCATNAT 0_+oBar 0_+oBnr 0_+oB9r 0_+oBtl INTO 0_oJB:.
0_oJB:R333#33& @ 0_+oBar.
0_oJB:R33#3K& @ 0_+oBnr.
0_oJB:R35#33& @ 0_+oB9r.
0_oJB:R33#33& @ 0_+oBtl.
P!FO!M 1_calc_offet
IN P!OG!AM 6+787r_+e933345_78_act,9e
TA(LS ,_778t
,_,7r0
,_7,
,_can
,_ca/n
,_ca/nt
,_a18
,_,78tt
,_cale
USING 0_/ar8l
0_oJB:
C'ANGING 0_offet.
IF 0_offet IS INITIAL.
0_7eR333#33& @ >te DI! co1nter +ata>#33)&.
0_7eR3#33& @ >efore re8roce,n0 te error.>#33&.
P!FO!M 1_a++_70_to_lo0_)
IN P!OG!AM 6+787r_+e933345_78_act,9e
TA(LS ,_7ea0)
USING c_70t:_ ">>
c_70,+ ">ZDMPM>
c_70no_4 ">4>
0_+oBnr
0_+oBar
0_7e
8/13/2019 Application Log Display
http://slidepdf.com/reader/full/application-log-display 39/69
c_8ace
0_e;1nr
0_,nt_t:8e.
NDIF.
* cecB,n0 te MP cate0or: for calc1lat,n0 te ?cne/ 9al1e
IF 0_78t:8 IN r_78t:8.
CLA! /a_cale.
!AD TA(L ,_cale INTO /a_cale
%IT' =Y 8Be: @ c_333)
,te7 @ c_3K (INA!Y SA!C'.
C'C= SY-SU(!C @ 3.
0_car @ /a_cale-9al1e.
0_co1nt @ c_3). ">3)>
CLA! /a_cale.
!AD TA(L ,_cale INTO /a_cale
%IT' =Y 8Be: @ c_333)
,te7 @ c_3 (INA!Y SA!C'.
C'C= SY-SU(!C @ 3.
0_car) @ /a_cale-9al1e.
* call,n0 1ro1t,ne for calc1lat,n0 te ?cne/ 9al1e for caracter,t,c
* AL_COMP_CAL_DAY_3) an+ AL_COMP_FLY_DAY_3) ,f MP cat. , >SL> or >S'>
P!FO!M 1_calc_re7_1a0e
IN P!OG!AM 6+787r_+e933345_78_act,9e
TA(LS ,_778t
,_can
,_ca/n
,_ca/nt
,_a18
,_,78tt
,_cale
USING 0_oJB:
0_/ar8l
0_co1nt
8/13/2019 Application Log Display
http://slidepdf.com/reader/full/application-log-display 40/69
0_car
0_car)
C'ANGING 0_cne/.
LS.
!AD TA(L ,_7, INTO /a_7,
%IT' =Y /ar8l @ /a_78o_7o+-/ar8l
ter7a @ c_carn ">N>
an17 @ c_le9el3) (INA!Y SA!C'. ">)>
C'C= SY-SU(!C @ 3.
LOOP AT ,_7, INTO /a_7, F!OM SY-TA(I?.
* If 7, not conta,n an: of tee f,el+ ten e,t fro7 te loo8.
IF /a_7,-/ar8l N /a_78o_7o+-/ar8l
O! /a_7,-ter7a N c_carn
O! /a_7,-an17 N c_le9el3).
?IT.
NDIF.
IF /a_7,-lr7+t IS NOT INITIAL.
* !ea+ te caracter,t,c 9al1e fro7 calea,l,t: tale
CLA! /a_cale_).
!AD TA(L ,_cale INTO /a_cale
%IT' =Y 8Be: @ c_333)
,te7 @ c_33K (INA!Y SA!C'.
C'C= SY-SU(!C @ 3.
0_car @ /a_cale-9al1e.
CLA! /a_cale.
!AD TA(L ,_cale INTO /a_cale
%IT' =Y 8Be: @ c_333)
,te7 @ c_33 (INA!Y SA!C'.
C'C= SY-SU(!C @ 3.
0_car) @ /a_cale-9al1e.
0_co1nt @ c_3. ">3>
*call,n0 1ro1t,ne for calc1lat,n0 te ?cne/ 9al1e for caracter,t,c
*AL_!P_CAL_DAY_3) an+ AL_!P_FLY_DAY_3) ,f MP cat. , oter tan
8/13/2019 Application Log Display
http://slidepdf.com/reader/full/application-log-display 41/69
*>SL> or >S'> tat1 , co78lete+
P!FO!M 1_calc_re7_1a0e
IN P!OG!AM 6+787r_+e933345_78_act,9e
TA(LS ,_778t
,_can
,_ca/n
,_ca/nt
,_a18
,_,78tt
I_cale
USING 0_oJB:
0_/ar8l
0_co1nt
0_car
0_car)
C'ANGING 0_cne/.
LS. "/a_7,-lr7+t IS NOT INITIAL
CLA! /a_cale.
!AD TA(L ,_cale INTO /a_cale
%IT' =Y 8Be: @ c_333)
,te7 @ c_33) (INA!Y SA!C'.
C'C= SY-SU(!C @ 3.
0_car @ /a_cale-9al1e.
P!FO!M 1_cla_retr,e9e_)
IN P!OG!AM 6+787r_+e933345_78_act,9e
TA(LS ,_can
,_ca/n
,_ca/nt
USING 0_oJB:
0_car
C'ANGING 0_at/t.
IF 0_at/t IS NOT INITIAL.
0_9al_a @ 0_at/t.
8/13/2019 Application Log Display
http://slidepdf.com/reader/full/application-log-display 42/69
LS.
* error 7ea0e >no cert,f,e+ 1a0e fo1n+ for MP 0_/ar8l>
NDIF.
CLA! /a_cale.
!AD TA(L ,_cale INTO /a_cale
%IT' =Y 8Be: @ c_333)
,te7 @ c_33 (INA!Y SA!C'.
C'C= SY-SU(!C @ 3.
0_car @ /a_cale-9al1e.
P!FO!M 1_cla_retr,e9e_)
IN P!OG!AM 6+787r_+e933345_78_act,9e
TA(LS ,_can
,_ca/n
,_ca/nt
USING 0_oJB:
0_car
C'ANGING 0_at/t.
IF 0_at/t IS NOT INITIAL.
0_9al_ @ 0_at/t.
LS.
* error 7ea0e >no cert,f,e+ 1a0e fo1n+ for MP 0_/ar8l>
NDIF.
IF # 0_9al_a @ c_3) ">3)>
O! 0_9al_a @ c_3 & ">3>
AND 0_9al_ @ c_3). ">3)>
0_co1nt @ c_3). ">3)>
CLA! /a_cale.
!AD TA(L ,_cale INTO /a_cale
%IT' =Y 8Be: @ c_333)
,te7 @ c_3K (INA!Y SA!C'.
C'C= SY-SU(!C @ 3.
0_car @ /a_cale-9al1e.
8/13/2019 Application Log Display
http://slidepdf.com/reader/full/application-log-display 43/69
CLA! /a_cale.
!AD TA(L ,_cale INTO /a_cale
%IT' =Y 8Be: @ c_333)
,te7 @ c_3 (INA!Y SA!C'.
C'C= SY-SU(!C @ 3.
0_car) @ /a_cale-9al1e.
*call,n0 1ro1t,ne for calc1lat,n0 te ?cne/ 9al1e for caracter,t,c
*AL_COMP_CAL_DAY_3) an+ AL_COMP_FLY_DAY_3) ,f MP cat. , oter tan
*>SL> or >S'> tat1 , not co78lete+.
P!FO!M 1_calc_re7_1a0e
IN P!OG!AM 6+787r_+e933345_78_act,9e
TA(LS ,_778t
,_can
,_ca/n
,_ca/nt
,_a18
,_,78tt
,_cale
USING 0_oJB:
0_/ar8l
0_co1nt
0_car
0_car)
C'ANGING 0_cne/.
LSIF # # 0_9al_a @ c_3) ">3)>
O! 0_9al_a @ c_3 & ">3>
AND 0_9al_ @ c_3) &.">3)>
0_co1nt @ c_3. ">3>
CLA! /a_cale.
!AD TA(L ,_cale INTO /a_cale
%IT' =Y 8Be: @ c_333)
,te7 @ c_3K (INA!Y SA!C'.
C'C= SY-SU(!C @ 3.
8/13/2019 Application Log Display
http://slidepdf.com/reader/full/application-log-display 44/69
0_car @ /a_cale-9al1e.
CLA! /a_cale.
!AD TA(L ,_cale INTO /a_cale
%IT' =Y 8Be: @ c_333)
,te7 @ c_3 (INA!Y SA!C'.
C'C= SY-SU(!C @ 3.
0_car) @ /a_cale-9al1e.
*call,n0 1ro1t,ne for calc1lat,n0 te ?cne/ 9al1e for caracter,t,c
*AL_IMPL_CAL_DAY_3) an+ AL_IMPL_FLY_DAY_3) ,f MP cat. , oter
*tan >SL> or >S'> tat1 , not co78lete+.
P!FO!M 1_calc_re7_1a0e
IN P!OG!AM 6+787r_+e933345_78_act,9e
TA(LS ,_778t
,_can
,_ca/n
,_ca/nt
,_a18
,_,78tt
,_cale
USING 0_oJB:
0_/ar8l
0_co1nt
0_car
0_car)
C'ANGING 0_cne/.
LSIF # # 0_9al_a @ c_3) ">3)>
O! 0_9al_a @ c_3K & ">3K>
AND 0_9al_ @ c_3) &. ">3)>
0_co1nt @ c_3. ">3>
CLA! /a_cale.
!AD TA(L ,_cale INTO /a_cale
%IT' =Y 8Be: @ c_333)
,te7 @ c_34K (INA!Y SA!C'.
8/13/2019 Application Log Display
http://slidepdf.com/reader/full/application-log-display 45/69
C'C= SY-SU(!C @ 3.
0_car @ /a_cale-9al1e.
CLA! /a_cale.
!AD TA(L ,_cale INTO /a_cale
%IT' =Y 8Be: @ c_333)
,te7 @ c_34 (INA!Y SA!C'.
C'C= SY-SU(!C @ 3.
0_car) @ /a_cale-9al1e.
*call,n0 1ro1t,ne for calc1lat,n0 te ?cne/ 9al1e for caracter,t,c
*AL_TA!_CAL_DAY_3) an+ AL_TA!_FLY_DAY_3) ,f MP cat. , oter tan >SL>
* or >S'> tat1 , not co78lete+.
P!FO!M 1_calc_re7_1a0e
IN P!OG!AM 6+787r_+e933345_78_act,9e
TA(LS ,_778t
,_can
,_ca/n
,_ca/nt
,_a18
,_,78tt
,_cale
USING 0_oJB:
0_/ar8l
0_co1nt
0_car
0_car)
C'ANGING 0_cne/.
NDIF.
NDIF. "cecB,n0 co78let,on +ate ,.e. L!MDT
NDLOOP. ",_7,
NDIF. "0_78t:8 @ >SL> O! 0_78t:8 @ >S'>
IF NOT 0_78t:8 IN r_78t:8e. ">SL>
!AD TA(L ,_e;1,_no INTO /a_e;1,_no
%IT' =Y e;1nr @ 0_e;1nr (INA!Y SA!C'.
8/13/2019 Application Log Display
http://slidepdf.com/reader/full/application-log-display 46/69
C'C= SY-SU(!C @ 3.
LOOP AT ,_e;1,_no INTO /a_e;1,_no F!OM SY-SU(!C.
IF /a_e;1,_no-e;1nr N 0_e;1nr.
?IT.
NDIF.
0_oJnr @ /a_e;1,_no-oJnr.
0_;7n17 @ /a_e;1,_no-;7n17.
* For cecB,n0 te 1er tat1 an+ :te7 tat1 for not,f,cat,on
CALL FUNCTION >STATUS_T?T_DIT>
?PO!TING
* CLINT @ SY-MANDT
* FLG_US!_STAT @ > >
O(N! @ 0_oJnr
* ONLY_ACTI2 @ >?>
SP!AS @ SY-LANGU
* (YPASS_(UFF! @ > >
IMPO!TING
* AN%_STAT_?ISTING @
* _STSMA @
LIN @ 0_l,ne
US!_LIN @ 0_1er_l,ne
* STON! @
?CPTIONS
O(CT_NOT_FOUND @ )
OT'!S @ .
IF SY-SU(!C Q 3.
CONTINU.
NDIF.
* CecB,n0 te 1er tat1 a Cancelle+ an+ :te7 tat1 a +elete fla0
IF # # 0_l,ne NS 0_tat) O! 0_l,ne NS 0_tat &
AND # 0_1er_l,ne NS 0_1tat)
O! 0_1er_l,ne NS 0_1tat
O! 0_1er_l,ne NS 0_1tat & &.
8/13/2019 Application Log Display
http://slidepdf.com/reader/full/application-log-display 47/69
8/13/2019 Application Log Display
http://slidepdf.com/reader/full/application-log-display 48/69
* DC_AL%AYS_%IT'_COMMA @ > >
* LFT_USTIFID @ > >
UNIT_TA!GT_INT @ /a_,7r0-rec+1
* UNIT_IS_OPTIONAL @ > >
* UNIT_LANGUAG @ SY-LANGU
IMPO!TING
C'A!_2ALU @ 0_car_9al
* UNIT_TA!GT_?T @
* UNIT_TA!GT_?T @
* UNIT_T?T_S'O!T @
* UNIT_T?T_LONG @
?CPTIONS
NO_UNIT_GI2N @ )
UNIT_NOT_FOUND @
OT'!S @ .
IF SY-SU(!C Q 3.
CONTINU.
NDIF.
* taB,n0 te f,rt 9al1e of 7ea1re7ent ,nto 9ar,ale an+ 7o9e for
* f1rter recor+
AT FI!ST.
0_rea+0 @ 0_car_9al.
CONTINU.
NDAT.
0_act_1e @ 0_car_9al - 0_rea+0.
0_rea+0 @ 0_act_1e.
/a_act_1a0e-l,ne) @ 0_act_1e.
APPND /a_act_1a0e TO ,_act_1a0e.
CLA! /a_act_1a0e.
NDLOOP.
NDIF.
NDLOOP. ",_e;16
NDIF.
8/13/2019 Application Log Display
http://slidepdf.com/reader/full/application-log-display 49/69
NDLOOP. ",_e;1,_no
LS.
CLA! /a_7,.
!AD TA(L ,_7, INTO /a_7,
%IT' =Y /ar8l @ 0_/ar8l (INA!Y SA!C'.
C'C= SY-SU(!C @ 3.
CLA! /a_cale.
!AD TA(L ,_cale INTO /a_cale
%IT' =Y 8Be: @ c_ ">>
na7e @ c_9lco+ ">2LCOD>
,te7 @ c_ (INA!Y SA!C'. ">>
0_9lco+ @ /a_cale-9al1e.
CLA! ,_t_,7r0.
!F!S' ,_t_,7r0.
,_t_,7r0E @ ,_,7r0E.
DLT ,_t_,7r0 %'! ,+ate N /a_7,-lr7+t
O! ,t,7e N /a_7,-a+tt,7e
O! 9lco+ N 0_9lco+.
LOOP AT ,_t_,7r0 INTO /a_,7r0.
* call,n0 f1nct,on to can0e te FLTP 9al1e to car 9al1e
CALL FUNCTION >FLTP_C'A!_CON2_F!OM_SI_!FC>
?PO!TING
FLTP_2ALU_SI @ /a_,7r0-rea+0
* INDICATO!_2ALU @ > >
* NUM(!_DIGITS @
* NUM(!_DCIMALS @ )K
* ?PONNT @ 3
* MASC_SYM(OL @ > >
* DC_AL%AYS_%IT'_POINT @ > >
* DC_AL%AYS_%IT'_COMMA @ > >
* LFT_USTIFID @ > >
UNIT_TA!GT_INT @ /a_,7r0-rec+1
* UNIT_IS_OPTIONAL @ > >
8/13/2019 Application Log Display
http://slidepdf.com/reader/full/application-log-display 50/69
8/13/2019 Application Log Display
http://slidepdf.com/reader/full/application-log-display 51/69
?IT.
NDIF.
AT FI!ST.
CONTINU.
NDAT.
CLA! /a_,loa.
!AD TA(L ,_,loa INTO /a_,loa
%IT' =Y ,loan @ /a_e;16-,loan (INA!Y SA!C'.
C'C= SY-SU(!C @ 3.
0_t8lnr @ /a_,loa-t8lnr.
* CecB,n0 te effect,9,t: co+e of MP for ,t 8re9. ,ntallat,on
* to Bno/ te a88l,ca,l,t:
CAS /a_78o_7o+-0ro18.
%'N c_8o,t,on. ">Po,t,on>
0_cecB @ c_le9el3. ">>
P!FO!M 1_effec_co+e_8o,t,on
IN P!OG!AM 6+787r_+e933345_78_act,9e
TA(LS ,_,flot
,_can
,_ca/n
,_ca/nt
,_car
,_78o_7o+
,_78o_7o+
,_7ea0)
USING 0_e;1nr
0_oJB:
0_t8lnr
0_cecB
0_,nt_t:8e
0_fl0_call
0_a8lo0
C'ANGING 0_fla0_cB.
8/13/2019 Application Log Display
http://slidepdf.com/reader/full/application-log-display 52/69
8/13/2019 Application Log Display
http://slidepdf.com/reader/full/application-log-display 53/69
,_car
,_cale
,_78o_7o+
,_78o_7o+
,_7ea0)
USING 0_e;1nr
0_oJB:
0_a8lo0
0_cecB
0_,nt_t:8e
0_fl0_call
C'ANGING 0_fla0_cB.
IF 0_fla0_cB N c_cecB. ">?>
CONTINU.
NDIF.
%'N c_en0t:8. ">NG T:8e>
0_cecB @ c_le9el3. ">>
P!FO!M 1_effec_co+e_en0t:8e
IN P!OG!AM 6+787r_+e933345_78_act,9e
TA(LS ,_,flot
,_can
,_ca/n
,_ca/nt
,_car
,_78o_7o+
,_78o_7o+
,_7ea0)
USING 0_e;1nr
0_oJB:
0_a8lo0
0_cecB
0_,nt_t:8e
0_fl0_call
8/13/2019 Application Log Display
http://slidepdf.com/reader/full/application-log-display 54/69
C'ANGING 0_fla0_cB.
IF 0_fla0_cB N c_cecB. ">?>
CONTINU.
NDIF.
NDCAS.
0_/a8o @ /a_78o_7o+-/a8o.
*For a88l,cale ,ntallat,on /e are taB,n0 te 9al1e of 7a,nt. 8lan
* an+ retr,9,n0 te +oc17ent ,nfo.
call f1nct,on >ZDMPM_MAINT_DI!_2!SION>
?PO!TING
P_%APOS @ 0_/a8o
* P_DAT @ SY-DATUM
IMPO!TING
DO=N! @ 0_+oBnr
DO=A! @ 0_+oBar
DO=TL @ 0_+oBtl
DO=2! @ 0_+oB9r
?CPTIONS
IN2ALID_MAINT_ITM @ )
NO_DI!_FOUND @
NO_2ALID_!ANG @
NO_2ALID_DI! @
OT'!S @ K.
IF SY-SU(!C Q 3.
CONTINU.
NDIF.
* CecB,n0 DI! , te78late DI! or not for DI! t:8e
CLA! /a_te78l_0r8.
!AD TA(L ,_te78l_0r8 INTO /a_te78l_0r8
%IT' =Y 6+,rt:8 @ 0_+oBar
6te78l @ c_cecB (INA!Y SA!C'. ">?>
C'C= SY-SU(!C @ 3.
* CONCATNAT 0_+oBar 0_+oBnr 0_+oB9r 0_+oBtl INTO 0_oJB:.
8/13/2019 Application Log Display
http://slidepdf.com/reader/full/application-log-display 55/69
0_oJB:R333#33& @ 0_+oBar.
0_oJB:R33#3K& @ 0_+oBnr.
0_oJB:R35#33& @ 0_+oB9r.
0_oJB:R33#33& @ 0_+oBtl.
IF 0_78t:8 IN r_78t:8e. ">SL>
0_co1nt @ c_3). ">3)>
CLA! /a_cale.
!AD TA(L ,_cale INTO /a_cale
%IT' =Y 8Be: @ c_333)
,te7 @ c_3K (INA!Y SA!C'.
C'C= SY-SU(!C @ 3.
0_car @ /a_cale-9al1e.
CLA! /a_cale.
!AD TA(L ,_cale INTO /a_cale
%IT' =Y 8Be: @ c_333)
,te7 @ c_3 (INA!Y SA!C'.
C'C= SY-SU(!C @ 3.
0_car) @ /a_cale-9al1e.
P!FO!M 1_calc_re7_1a0e
IN P!OG!AM 6+787r_+e933345_78_act,9e
TA(LS ,_778t
,_can
,_ca/n
,_ca/nt
,_a18
,_,78tt
,_cale
USING 0_oJB:
0_/ar8l
0_co1nt
0_car
0_car)
C'ANGING 0_at/t.
8/13/2019 Application Log Display
http://slidepdf.com/reader/full/application-log-display 56/69
LS. "0_78t:8 $ >SL>
!AD TA(L ,_7, INTO /a_7,
%IT' =Y /ar8l @ /a_78o_7o+-/ar8l
ter7a @ c_carn ">N>
an17 @ c_le9el3) (INA!Y SA!C'. ">)>
C'C= SY-SU(!C @ 3.
LOOP AT ,_7, INTO /a_7, F!OM SY-TA(I?.
IF /a_7,-/ar8l N /a_78o_7o+-/ar8l
O! /a_7,-ter7a N c_carn ">N>
O! /a_7,-an17 N c_le9el3). ">)>
?IT.
NDIF.
IF /a_7,-lr7+t IS NOT INITIAL.
0_co1nt @ c_3. ">3>
CLA! /a_cale.
!AD TA(L ,_cale INTO /a_cale
%IT' =Y 8Be: @ c_333)
,te7 @ c_33K (INA!Y SA!C'.
C'C= SY-SU(!C @ 3.
0_car @ /a_cale-9al1e.
CLA! /a_cale.
!AD TA(L ,_cale INTO /a_cale
%IT' =Y 8Be: @ c_333)
,te7 @ c_33 (INA!Y SA!C'.
C'C= SY-SU(!C @ 3.
0_car) @ /a_cale-9al1e.
P!FO!M 1_calc_re7_1a0e
IN P!OG!AM 6+787r_+e933345_78_act,9e
TA(LS ,_778t
,_can
,_ca/n
,_ca/nt
,_a18
8/13/2019 Application Log Display
http://slidepdf.com/reader/full/application-log-display 57/69
,_,78tt
,_cale
USING 0_oJB:
0_/ar8l
0_co1nt
0_car
0_car)
C'ANGING 0_at/t.
LS. "/a_7,-lr7+t IS NOT INITIAL
CLA! /a_cale.
!AD TA(L ,_cale INTO /a_cale
%IT' =Y 8Be: @ c_333)
,te7 @ c_33) (INA!Y SA!C'.
C'C= SY-SU(!C @ 3.
0_car @ /a_cale-9al1e.
P!FO!M 1_cla_retr,e9e_)
IN P!OG!AM 6+787r_+e933345_78_act,9e
TA(LS ,_can
,_ca/n
,_ca/nt
USING 0_oJB:
0_car
C'ANGING 0_at/t.
IF 0_at/t IS NOT INITIAL.
0_9al_a @ 0_at/t.
LS.
* error 7ea0e >no cert,f,e+ 1a0e fo1n+ for MP 0_/ar8l>
NDIF.
CLA! /a_cale.
!AD TA(L ,_cale INTO /a_cale
%IT' =Y 8Be: @ c_333)
,te7 @ c_33 (INA!Y SA!C'.
C'C= SY-SU(!C @ 3.
8/13/2019 Application Log Display
http://slidepdf.com/reader/full/application-log-display 58/69
8/13/2019 Application Log Display
http://slidepdf.com/reader/full/application-log-display 59/69
8/13/2019 Application Log Display
http://slidepdf.com/reader/full/application-log-display 60/69
,_ca/nt
,_a18
,_,78tt
,_cale
USING 0_oJB:
0_/ar8l
0_co1nt
0_car
0_car)
C'ANGING 0_at/t.
LSIF # # 0_9al_a @ c_3) ">3)>
O! 0_9al_a @ c_3K & ">3K>
AND 0_9al_ @ c_3) &. ">3)>
0_co1nt @ c_3. ">3>
CLA! /a_cale.
!AD TA(L ,_cale INTO /a_cale
%IT' =Y 8Be: @ c_333)
,te7 @ c_34K (INA!Y SA!C'.
C'C= SY-SU(!C @ 3.
0_car @ /a_cale-9al1e.
CLA! /a_cale.
!AD TA(L ,_cale INTO /a_cale
%IT' =Y 8Be: @ c_333)
,te7 @ c_34 (INA!Y SA!C'.
C'C= SY-SU(!C @ 3.
0_car) @ /a_cale-9al1e.
P!FO!M 1_calc_re7_1a0e
IN P!OG!AM 6+787r_+e933345_78_act,9e
TA(LS ,_778t
,_can
,_ca/n
,_ca/nt
,_a18
8/13/2019 Application Log Display
http://slidepdf.com/reader/full/application-log-display 61/69
8/13/2019 Application Log Display
http://slidepdf.com/reader/full/application-log-display 62/69
USING 0_/ar8l
0_ne/.
LS.
!AD TA(L ,_7, INTO /a_7,
%IT' =Y /ar8l @ /a_78o_7o+-/ar8l
ter7a @ c_carn
an17 @ c_le9el3) (INA!Y SA!C'.
C'C= SY-SU(!C @ 3.
LOOP AT ,_7, INTO /a_7, F!OM SY-TA(I?.
IF /a_7,-/ar8l N /a_78o_7o+-/ar8l
O! /a_7,-ter7a N c_carn
O! /a_7,-an17 N c_le9el3).
?IT.
NDIF.
IF /a_7,-lr7+t IS NOT INITIAL.
* If MP cate0or: , oter tan SL or S' an+ tat1 , co778lete+ ten
* et c:cle 9al1e a ?ne/
P!FO!M 1_et_9al1e_)
IN P!OG!AM 6+787r_+e933345_78_act,9e
USING 0_/ar8l
0_ne/.
LS.
* If MP cate0or: , oter tan SL or S' an+ tat1 , not co778lete+
* ten et offet 9al1e a ?ne/
P!FO!M 1_et_9al1e
IN P!OG!AM 6+787r_+e933345_78_act,9e
USING 0_/ar8l
0_ne/.
NDIF.
NDLOOP.
NDIF.
* For retart,n0 te MP
P!FO!M 1_retart_78 "HC *
8/13/2019 Application Log Display
http://slidepdf.com/reader/full/application-log-display 63/69
IN P!OG!AM 6+787r_+e933345_78_act,9ate
USING 0_/ar8l.
CLA! /a_78la.
!AD TA(L ,_78la INTO /a_78la
%IT' =Y /ar8l @ /a_78o_7o+-/ar8l (INA!Y SA!C'.
C'C= SY-SU(!C @ 3. "cecB,n0 ,nternal ta. , lanB or not
CLA! /a_Jto.
!AD TA(L ,_Jto INTO /a_Jto
%IT' =Y oJnr @ /a_78la-oJnr (INA!Y SA!C'.
C'C= SY-SU(!C @ 3. "cecB,n0 ,nternal ta. , lanB or not
CLA! /a_tJ5.
!AD TA(L ,_tJ5 INTO /a_tJ5
%IT' =Y t7a @ /a_Jto-t7a el,+ @ c_el,+ ">Z33333>
(INA!Y SA!C'.
C'C= SY-SU(!C @ 3. "cecB,n0 ,nternal ta. , lanB or not
* CecB,n0 te not,f,cat,on , o1ttan+,n0 not,f,cat,on or not< ,f ,t ,
* ten ett,n0 te +elet,on fla0 for tat not,f,cat,on
0_;7n17 @ /a_78o_7o+-;7n17.
P!FO!M 1_et_+el_fla0
IN P!OG!AM 6+787r_+e933345_78_act,9e
USING 0_;7n17.
P!FO!M 1_a++_70_to_lo0_)
IN P!OG!AM 6+787r_+e933345_78_act,9e
TA(LS ,_7ea0)
USING c_70t:_ ">S>
c_70,+ ">ZDMPM>
c_70no_4 ">4>
0_/ar8l
0_;7n17
c_8ace ">SPAC>
c_8ace ">SPAC>
0_e;1nr
0_,nt_t:8e.
8/13/2019 Application Log Display
http://slidepdf.com/reader/full/application-log-display 64/69
P!FO!M 1_a++_70_to_lo0_)
IN P!OG!AM 6+787r_+e933345_78_act,9e
TA(LS ,_7ea0)
USING c_70t:_ ">S>
c_70,+ ">ZDMPM>
c_70no_4K3 ">4K3>
0_;7n17
c_8ace ">SPAC>
c_8ace ">SPAC>
c_8ace ">SPAC>
0_e;1nr
0_,nt_t:8e.
NDLOOP.
** NDIF. "For ,_cet_,o-act9
** NDIF. "For cecB,n0 te f1nct,on eec1t,on , /,to1t error
NDFUNCTION.
*Mea0e
*----------------------------------------------------------
*
* Mea0e cla AL_MSGID
*AL
*
* Mea0e cla AM
*54 A++re cannot e 7a,nta,ne+< entr: ,n tale TSAD!2 7,,n0
*3 ntr: 7,,n0 ,n TSAD!2< ne/ a++re 7a,ntenance cannot e calle+
*) ntr: 7,,n0 ,n TSAD!2< ne/ a++re 7a,ntenance cannot e calle+
*5 A++re 0ro18 not +ef,ne+< +elete fla0 for a++re not 8o,le
*I_M
*
* Mea0e cla PM_ID
*PM_
*
8/13/2019 Application Log Display
http://slidepdf.com/reader/full/application-log-display 65/69
* Mea0e cla SCP!
*3 Tale , too /,+e. Cannot e 8rocee+
*35 Te tale9,e/ a no 0enerate+ 7a,ntenance +,alo0
*3K Internal fa,l1re ,n D,ct,onar: ,nterface Infor7 SAP
*)3 Tale2,e/ not fo1n+
*4 rror call,n0 a f1nct,on 7o+1le
*3 Internal (C Set 8roce,n0 error
*K F,el+ +ecr,8t,on rea+ error
* Unale to f,n+ act,9at,on ,nfor7at,on for +ata recor+
*35 Tale Be: not 188orte+ : act,9at,on l,nB
*
* Mea0e cla S2
*333
*33) Te electe+ f1nct,on , not 188orte+
*33 N17er of retr,e9e+ entr,e
*33 No entr,e fo1n+ tat 7atc elect,on cr,ter,a
*33K One entr: coen
*33 N17er of coen entr,e
*334 No 8re9,o1 entr: e,t
*335 No net entr: e,t
*33 An entr: alrea+: e,t /,t te a7e Be:
*3)3 An entr: /,t t, Be: , 7arBe+ for +elet,on
*3)) N17er of +elete+ entr,e
*3) N17er of can0e+ entr,e
*3) ntr: +elete+
*3) N17er of entr,e co8,e+
*3)K Tar0et Be: 71t e +,fferent fro7 o1rce Be:
*3) N17er of reet entr,e
*3)4 ntr: reet
*3)5 Data /a a9e+
*3) Cooe te Be: fro7 te allo/e+ na7e8ace
*3 S8ec,f: tar0et entr,e
*3K S8ec,f: tar0et entr,e
8/13/2019 Application Log Display
http://slidepdf.com/reader/full/application-log-display 66/69
8/13/2019 Application Log Display
http://slidepdf.com/reader/full/application-log-display 67/69
*3 ntr: /a fla00e+ for +elet,on f ro7 taB
*)3K entr,e /ere fla00e+ for ,ncl1,on ,n taB
*)3 entr,e /ere fla00e+ for +elet,on fro7 taB
*)34 ntr: /a alrea+: ,n taB
*)35 entr,e /ere alrea+: ,n taB
*)3 entr,e ,ncl1+e+< entr,e /ere conta,ne+
*))3 ntr: /a not ,n taB
*))) entr,e +elete+< entr,e /ere not ,ncl1+e+
*)) entr,e /ere not ,n taB
*)) ntr: co1l+ not e retr,e9e+
*)) entr,e co1l+ not e retr,e9e+
*))K ntr: co1l+ not e +elete+
*)) entr,e co1l+ not e +elete+
*))4 Do not 7aBe an: can0e #SAP entr:&
*)3 Oter entr,e are retr,e9e+ an+ 7o+,f,e+ ,f necear:
*)) Delete+ entr: /,ll e reco9ere+ an+ 8o,l: can0e+
*) ntr: /a +el,7,te+
*) N17er of +el,7,te+ entr,e
*) Proce +el,7,te+ entr,e
*)K Proce +el,7,te+ entr:
*)4 Del,7,t area of 9al,+,t:
*)5 Del,9er: cla < tran8ort not 8o,le
*) !elate+ oJect ,n 9ar,o1 taB
*)3 Cl,ent , local< tran8ort not 8er7,tte+
*) OJect locBe+ for taB )< 1er onl: +,8la: 8er7,tte+
*) Incon,tenc: ,n oJect +ef,n,t,on< onl: +,8la: 8er7,tte+
*)K Co78are error
*) Can0e /,t ca1t,on< entr: elon0 to c1to7er
*)5 CecB 7a,ntenance oJect ) or 18+ate f1nct,on 0ro18
*) A++re +ata , not taBen o9er
*)3 ) entr,e +elete+< entr,e taBen o9er
*)) ntr,e are not 81t ,nto te can0e re;1et ,n+,9,+1all:
*) Tran8ort , not 8o,le for te 8ec,f,e+ +ata
8/13/2019 Application Log Display
http://slidepdf.com/reader/full/application-log-display 68/69
*)K No lan01a0e /a coen
*)3 Te ,ntalle+ :te7 co+e8a0e +oe not allo/ an: oter lan01a0e.
*)) P1t te c1ror on a for7 na7e
*) Te oJect ) cannot e 81t ,n a re;1et
*) Tale9,e/ ) , not ,n te D,ct,onar:
*)4 F1nct,on 0ro18 ) ,ncon,tent
*)4 nter 9al1e ,n /orB area for non-Be: f,el+
*)4K Te electe+ (C Set f1nct,on , not 188orte+
*)44 Data recor+ conta,n f,e+ 9al1e fro7 (C Set an+ cannot e
*)5 rror ,n re7ote acce to central :te7 of C1to7,6,n0
*)5 Data recor+ conta,n f, 9al1e fro7 (C Set an+ cannot e can0e+
*3 Yo1 are not a1tor,6e+ to can0e f,el+ /,t f,e+ (C Set 9al1e
*3 Tale9,e/ , not act,9e
*K5 Dro8+o/n l,t are not 188orte+ ,n 9,e/ cl1ter
*4K4 Yo1 a9e no 7a,ntenance a1tor,6at,on for t, tale Be:
*4 Yo1 a9e no 7a,ntenance a1tor,6at,on for te +,8la:e+ +ata
*4 Can0e+ +ata recor+ elect,on
*4 !etr,cte+ +,8la: of +ataet
*535 Not all col17n ,n te tale can e +,8la:e+ ,n te l,t
*5)3 Total len0t of 9,e/ ) , lon0er tan )333 caracter
*5)5 ) of (1,ne Conf,01rat,on Set entr,e ,78orte+
*5) (1,ne Conf,01rat,on Set ,78orte+
*53 No (1,ne Conf,01rat,on Set fo1n+
*5) No (1,ne Conf,01rat,on Set e,t for 9,e/
*5 No (1,ne Conf,01rat,on Set e,t for tale
*53 Lat electe+ entr: a een reace+
*5) F,rt electe+ entr: a een reace+
*MSG
*P_M
*
* Mea0e cla T(
*)3 No 7a,ntenance a1tor,6at,on for cro-cl,ent tale #ee 'el8&
*
8/13/2019 Application Log Display
http://slidepdf.com/reader/full/application-log-display 69/69
* Mea0e cla T=
*3 Cl,ent ) a tat1 >not 7o+,f,ale>
*4 Can0e to !e8o,tor: oJect are not 8er7,tte+ ,n t, cl,ent
*43 Can0e to !e8o,tor: or cro-cl,ent C1to7,6,n0 are not
*4) Yo1 are not allo/e+ to can0e cro-cl,ent C1to7,6,n0*
* Mea0e cla 2IM_AUT'_MSGID
*2IM