pca summary

Upload: satyajoshi

Post on 20-Feb-2018

225 views

Category:

Documents


0 download

TRANSCRIPT

  • 7/24/2019 PCA Summary

    1/28

    *---------------------------------------------------------------------*

    *---------------------------------------------------------------------*

    *

    *---------------------------------------------------------------------*

    PROGRAM trans_routine.

    * CLASS routine DEFINITION

    CLASS lcl_transform DEFINITION.

    P!LIC SECTION.

    * Attributs

    DATA"

    #_c$ec%_master_&ata_e'ist

    T(PE RSODSOC)EC*ONL( READ+ONL(,

    *- Instance for getting request runtime attributs;

    * Avaiabe information! "efer to met#o$s of

    * interface %if&rsb'&request&a$mintab&vie(%

    #_r_re-uest

    T(PE REF TO if_rs%_re-uest_a&minta_/ie0 READ+ONL(.

    PRI1ATE SECTION.

    T(PE+POOLS" rs&, rstr.

    * "ue s)ecific t)es

    T(PES"

    !EGIN OF _t2_s_SC_3,

    * Fie$! FISC+A" Fisca ear variant,

    FISC1AR T(PE C LENGT) 4,

    * Fie$! FISCE" Fisca ear.)erio$,

    FISCPER T(PE N LENGT) 5,

    * Fie$! C/A"TACCTS C#art of Accts,

    C)ARTACCTS T(PE C LENGT) 6,

    * Fie$! 0O0"S CO Area,

    *O*RS T(PE C LENGT) 6,

    * Fie$! ""CT" rofit Center,

    RPRCTR T(PE C LENGT) 37,

    * Fie$! S"CT" artner C,

    SPRCTR T(PE C LENGT) 37,

    * Fie$! E"CT" Eimination rCtr,

    EPRCTR T(PE C LENGT) 37,

    * Fie$! "ACCT Account Number,

    RACCT T(PE C LENGT) 37,

    * Fie$! "120"S Com)an Co$e,

    R!*RS T(PE C LENGT) 6,

  • 7/24/2019 PCA Summary

    2/28

    * Fie$! S120"S Sen$er co, co$e,

    S!*RS T(PE C LENGT) 6,

    * Fie$! "FA"EA Functiona Area,

    RFAREA T(PE C LENGT) 38,

    * Fie$! SFA"EA artner FArea,

    SFAREA T(PE C LENGT) 38,

    * Fie$! "/OA"T Origin ob3ect,

    R)OART T(PE N LENGT) 4,

    * Fie$! S/OA"T "eceiver ob3ect,

    S)OART T(PE N LENGT) 4,

    * Fie$! "ASSC Tra$ing artner,

    RASSC T(PE C LENGT) 8,

    * Fie$! AFA1E De)rec, area,

    AFA!E T(PE N LENGT) 4,

    * Fie$! +E"SA "A +ersion,

    1ERSA T(PE C LENGT) 9,

    * Fie$! 4E"0S ant,

    :ER*S T(PE C LENGT) 6,

    * Fie$! "E&5ATN" "e), materia,

    REP_MATNR T(PE C LENGT) 3;,

    * Fie$! "SCOE Ob3ect Cass,

    RSCOPE T(PE C LENGT) 4,

    * Fie$! "5+CT Transactn T)e,

    RM1CT T(PE C LENGT) 9,

    * Fie$! +AL2ET6E +aue T)e,

    1ALET(PE T(PE N LENGT) 9,

    * Fie$! +AL2T6 +auation +ie(,

    1ALT(P T(PE N LENGT) 3,

    * Fie$! "+E"S +ersion,

    R1ERS T(PE C LENGT) 9,

    * Fie$! 1ALANCE Accumuate$ ba,,

    !ALANCE T(PE P LENGT) < DECIMALS 4,

    * Fie$! DE1IT Tota $ebit )ostngs,

    DE!IT T(PE P LENGT) < DECIMALS 4,

    * Fie$! C"EDIT Tota cre$it )ostgs,

    CREDIT T(PE P LENGT) < DECIMALS 4,

    * Fie$! T2"NO+E" Saes of t#e )er,,

    TRNO1ER T(PE P LENGT) < DECIMALS 4,

    * Fie$! C2"T6E Currenc t)e,

    CRT(PE T(PE C LENGT) 4,

    * Fie$! C2""2NIT Currenc,

    CRRNIT T(PE C LENGT) =,

    * Fie$! 72ANTIT6 Consum)tion qt,

    >ANTIT( T(PE P LENGT) ; DECIMALS 9,

    * Fie$! 72AN2NIT 1ase 2nit,

    >ANNIT T(PE C LENGT) 9,

    * Fie$! "ECO"D "ecor$ Number,

    RECORD T(PE RSARECORD,

  • 7/24/2019 PCA Summary

    3/28

    *---------------------------------------------------------------------*

    *---------------------------------------------------------------------*

    *

    *---------------------------------------------------------------------*

    *----------------------------------------------------------------------*

    END OF _t2_s_SC_3.

    T(PES"

    _t2_t_SC_3 T(PE STANDARD TA!LE OF _t2_s_SC_3

    :IT) NON+NI>E DEFALT *E(.

    *8*8 begin of goba - insert our $ecaration on beo( t#is ine *-*

    ... 9insert our co$e #ere

    *8*8 en$ of goba - insert our $ecaration on before t#is ine *-*

    MET)ODS

    start_routine

    IMPORTING

    re-uest t2#e rsre-uest

    &ata#ac%i& t2#e rs&ata#i&

    se?i& t2#e rs%_se?i&

    E@PORTING

    monitor t2#e rstr_t2_t_monitors

    C)ANGING

    SORCE_PAC*AGE t2#e _t2_t_SC_3

    RAISING

    c'_rsrout_aort

    c'_rs%_errorcount.

    MET)ODS

    in/erse_start_routine

    IMPORTING

    i_t$_fiel&s_outoun& T(PE rstran_t_fiel&_in/

    I_R_SELSET_OT!OND T(PE REF TO CL_RSMDS_SET

    i_is_main_selection T(PE rs_ool

    i_r_selset_outoun&_com#lete T(PE REF TO cl_rsm&s_set

    i_r_uni/erse_inoun& T(PE REF TO CL_RSMDS_NI1ERSE

    C)ANGING

    c_t$_fiel&s_inoun& T(PE rstran_t_fiel&_in/

    c_r_selset_inoun& T(PE REF TO CL_RSMDS_SET

    c_e'act T(PE rs_ool.

    ENDCLASS. 9routine DEFINITION

    *8*8 begin of :n$ )art goba - insert our co$e on beo( t#is ine *

    *8*8 en$ of :n$ )art goba - insert our co$e on before t#is ine *

    * CLASS routine I5LE5ENTATION

    CLASS lcl_transform IMPLEMENTATION.

  • 7/24/2019 PCA Summary

    4/28

    *----------------------------------------------------------------------*

    *----------------------------------------------------------------------*

    *----------------------------------------------------------------------*

    *----------------------------------------------------------------------*

    *----------------------------------------------------------------------*

    *----------------------------------------------------------------------*

    *----------------------------------------------------------------------*

    * 5et#o$ start&routine

    * Cacuation of source )ac'age via start routine

    * -< source )ac'age

    MET)OD start_routine.

    *=== Segments ===

    FIELD+S(M!OLS"

    SORCE_FIELDSB T(PE _t2_s_SC_3.

    DATA"

    MONITOR_REC T(PE rstmonitor.

    *8*8 begin of routine - insert our co$e on beo( t#is ine *-*

    ... 9insert our co$e #ere

    *-- fi tabe 95ONITO"9 (it# vaues of structure 95ONITO"&"EC9

    *- to ma'e monitor entries

    ... 9to cance t#e u)$ate )rocess

    * raise e>ce)tion t)e C?&"S"O2T&A1O"T,

    * Deete Source ac'age (#ere vaue t)e eq @,

    DELETE SORCE_PAC*AGE 0$ere 1ALET(PE NE 37.

    *8*8 en$ of routine - insert our co$e on before t#is ine *-*

    ENDMET)OD. 9start&routine

    * Inverse met#o$ inverse&start&routine

    * T#is subroutine nee$s to be im)emente$ on for $irect access

    * Bfor better )erformance an$ for t#e "e)ort."e)ort Interface

    * B$ri t#roug#,

    * T#e inverse routine s#ou$ transform a )ro3ection an$

    * a seection for t#e target to a )ro3ection an$ a seection

    * for t#e source res)ective,

    * If t#e im)ementation remains em)t a fie$s are fie$ an$

    * a vaues are seecte$,

    * Customer comment!

    MET)OD in/erse_start_routine.

    * I5O"TIN

  • 7/24/2019 PCA Summary

    5/28

    * i&r&seset&outboun$ T6E "EF TO c&rsm$s&set

    * i&t#&fie$s&outboun$ T6E /AS/ED TA1LE

    * i&r&seset&outboun$&com)ete T6E "EF TO c&rsm$s&set

    * i&r&universe&inboun$ T6E "EF TO c&rsm$s&universe

    * C/ANIN

    * c&r&seset&inboun$ T6E "EF TO c&rsm$s&set

    * c&t#&fie$s&inboun$ T6E /AS/ED TA1LE

    * c&e>act T6E rs&boo

    *8*8 begin of inverse routine - insert our co$e on beo( t#is ine*-*

    ... 9insert our co$e #ere

    *8*8 en$ of inverse routine - insert our co$e on before t#is ine *-*

    ENDMET)OD. 9inverse&start&routine

    ENDCLASS. 9routine I5LE5ENTATION

  • 7/24/2019 PCA Summary

    6/28

    *---------------------------------------------------------------------*

    *---------------------------------------------------------------------*

    *

    *---------------------------------------------------------------------*

    PROGRAM trans_routine.

    * CLASS routine DEFINITION

    CLASS lcl_transform DEFINITION.

    P!LIC SECTION.

    * Attributs

    DATA"

    #_c$ec%_master_&ata_e'ist

    T(PE RSODSOC)EC*ONL( READ+ONL(,*- Instance for getting request runtime attributs;

    * Avaiabe information! "efer to met#o$s of

    * interface %if&rsb'&request&a$mintab&vie(%

    #_r_re-uest

    T(PE REF TO if_rs%_re-uest_a&minta_/ie0 READ+ONL(.

    PRI1ATE SECTION.

    T(PE+POOLS" rs&, rstr.

    * "ue s)ecific t)es

    T(PES"

    !EGIN OF _t2_s_TG_3,

    * InfoOb3ect! C/NID C#ange "un ID,

    C)NGID T(PE !I7OIC)NGID,

    * InfoOb3ect! "ECO"DT "ecor$ t)e,

    RECORDTP T(PE !I7OIRECORDTP,

    * InfoOb3ect! "E72ID "equest ID,

    RE>ID T(PE !I7OIRE>ID,

    * InfoOb3ect! FISCE" Fisca ear . )erio$,

    FISCPER T(PE !I7OIFISCPER,

    * InfoOb3ect! FISC+A"NT Fisca ear variant,

    FISC1ARNT T(PE !I7OIFISC1ARNT,

    * InfoOb3ect! FISC6EA" Fisca ear,

    FISC(EAR T(PE !I7OIFISC(EAR,

    * InfoOb3ect! FISCE" osting )erio$,

    FISCPER9 T(PE !I7OIFISCPER9,

    * InfoOb3ect! C2""ENC6 Currenc 'e,

  • 7/24/2019 PCA Summary

    7/28

    *ccounting,

    CRRENC( T(PE !I7OICRRENC(,

    * InfoOb3ect! 2NIT 2nit of measure,

    NIT T(PE !I7OINIT,

    * InfoOb3ect! ACCO2NT Account Number,

    ACCONT T(PE !I7OIACCONT,

    * InfoOb3ect! C/"T&ACCTS C#art of accounts,

    C)RT_ACCTS T(PE !I7OIC)RT_ACCTS,* InfoOb3ect! CO&A"EA Controing area,

    CO_AREA T(PE !I7OICO_AREA,

    * InfoOb3ect! A"T&"CT" artner )rofit center,

    PART_PRCTR T(PE !I7OIPART_PRCTR,

    * InfoOb3ect! O"I&CA T)e of Origin Ob3ect T)e in rofit Center

    * Accounting,

    ORIG_PCA T(PE !I7OIORIG_PCA,

    * InfoOb3ect! CO5AN6 artner Com)an Number,

    PCOMPAN( T(PE !I7OIPCOMPAN(,

    * InfoOb3ect! CO5&CODE Com)an co$e of )artner, PCOMP_CODE T(PE !I7OIPCOMP_CODE,

    * InfoOb3ect! LANT ant,

    PLANT T(PE !I7OIPLANT,

    * InfoOb3ect! O"I&CA artner origin ob3ect t)e in rofit Cente

    *r Accounting,

    PORIG_PCA T(PE !I7OIPORIG_PCA,

    * InfoOb3ect! "E&5ATL "e)resentative materia for rofit Center A

    REP_MATL T(PE !I7OIREP_MATL,

    * InfoOb3ect! SCOE Ob3ect cass,

    SCOPE T(PE !I7OISCOPE,

    * InfoOb3ect! 1ALANCE Cumuative 1aance,

    !ALANCE T(PE !I7OI!ALANCE,

    * InfoOb3ect! C"EDIT Tota cre$it )ostings,

    CREDIT T(PE !I7OICREDIT,

    * InfoOb3ect! DE1IT Tota Debit ostings,

    DE!IT T(PE !I7OIDE!IT,

    * InfoOb3ect! 72ANTIT6 7uantit,

    >ANTIT( T(PE !I7OI>ANTIT(,

    * InfoOb3ect! CAL5ONT/ Caen$ar 6ear.5ont#,

    CALMONT) T(PE !I7OICALMONT),

    * InfoOb3ect! CAL72A"TE" Caen$ar 6ear.7uarter,

    CAL>ARTER T(PE !I7OICAL>ARTER,

    * InfoOb3ect! CAL6EA" Caen$ar 6ear,

    CAL(EAR T(PE !I7OICAL(EAR,

    * InfoOb3ect! F2NC&A"EA Functiona area,

    FNC_AREA T(PE !I7OIFNC_AREA,

    * InfoOb3ect! F2NC&A"EA artner Functiona Area,

  • 7/24/2019 PCA Summary

    8/28

    PFNC_AREA T(PE !I7OIPFNC_AREA,

    * InfoOb3ect! DE"A"EA De)reciation Area "ea or Derive$,

    DEPRAREA T(PE !I7OIDEPRAREA,

    * InfoOb3ect! 5O+E&T6E 5ovement T)e,

    MO1E_T(PE T(PE !I7OIMO1E_T(PE,

    * InfoOb3ect! +E"SION +ersion,

    1ERSION T(PE !I7OI1ERSION,* InfoOb3ect! +T6E +aue T)e for "e)orting,

    1T(PE T(PE !I7OI1T(PE,

    * InfoOb3ect! +E"SION&"A "esuts Anasis +ersion,

    1ERSION_RA T(PE !I7OI1ERSION_RA,

    * InfoOb3ect! A5O2NT Amount,

    AMONT T(PE !I7OIAMONT,

    * InfoOb3ect! "OFIT&CT" rofit Center,

    PROFIT_CTR T(PE !I7OIPROFIT_CTR,

    * InfoOb3ect! CO5&CODE Com)an co$e,

    COMP_CODE T(PE !I7OICOMP_CODE,* InfoOb3ect! +AL2ATION +auation vie(,

    1ALATION T(PE !I7OI1ALATION,

    * InfoOb3ect! C2"T6E Currenc T)e,

    CRT(PE T(PE !I7OICRT(PE,

    * Fie$! "ECO"D,

    RECORD T(PE RSARECORD,

    END OF _t2_s_TG_3.

    T(PES"

    _t2_t_TG_3 T(PE STANDARD TA!LE OF _t2_s_TG_3

    :IT) NON+NI>E DEFALT *E(.

    *8*8 begin of goba - insert our $ecaration on beo( t#is ine *-*

    ... 9insert our co$e #ere

    *8*8 en$ of goba - insert our $ecaration on before t#is ine *-*

    MET)ODS

    ne0_recor&__en&_routine

    IMPORTING

    source_se?i& t2#e rstran_se?i&

    source_recor& t2#e s2tai'

    E@PORTING

    recor&_ne0 t2#e s2tai'.

    MET)ODS

    en&_routine

    IMPORTING

    re-uest t2#e rsre-uest

    &ata#ac%i& t2#e rs&ata#i&

    se?i& t2#e rs%_se?i&

  • 7/24/2019 PCA Summary

    9/28

    *---------------------------------------------------------------------*

    *---------------------------------------------------------------------*

    *

    *---------------------------------------------------------------------*

    *----------------------------------------------------------------------*

    *----------------------------------------------------------------------*

    *----------------------------------------------------------------------*

    *----------------------------------------------------------------------*

    E@PORTING

    monitor t2#e rstr_t2_t_monitors

    C)ANGING

    RESLT_PAC*AGE t2#e _t2_t_TG_3

    RAISING

    c'_rsrout_aort

    c'_rs%_errorcount. MET)ODS

    in/erse_en&_routine

    IMPORTING

    i_t$_fiel&s_outoun& T(PE rstran_t_fiel&_in/

    I_R_SELSET_OT!OND T(PE REF TO CL_RSMDS_SET

    i_is_main_selection T(PE rs_ool

    i_r_selset_outoun&_com#lete T(PE REF TO cl_rsm&s_set

    i_r_uni/erse_inoun& T(PE REF TO CL_RSMDS_NI1ERSE

    C)ANGING

    c_t$_fiel&s_inoun& T(PE rstran_t_fiel&_in/ c_r_selset_inoun& T(PE REF TO CL_RSMDS_SET

    c_e'act T(PE rs_ool.

    ENDCLASS. 9routine DEFINITION

    *8*8 begin of :n$ )art goba - insert our co$e on beo( t#is ine *

    *8*8 en$ of :n$ )art goba - insert our co$e on before t#is ine *

    * CLASS routine I5LE5ENTATION

    CLASS lcl_transform IMPLEMENTATION.

    * 5et#o$ en$&routine

    * Cacuation of resut )ac'age via en$ routine,

    * Note! 2)$ate of target fie$s $e)en$s on rue assignment in

    * transformation e$itor, On fie$s t#at #ave a rue assigne$

    * are u)$ate$ to t#e $ata target,

    * -< resut )ac'age

    MET)OD en&_routine.

    *=== Segments ===

  • 7/24/2019 PCA Summary

    10/28

    FIELD+S(M!OLS"

    RESLT_FIELDSB T(PE _t2_s_TG_3.

    DATA"

    MONITOR_REC T(PE rstmonitor.

    *8*8 begin of routine - insert our co$e on beo( t#is ine *-* ... 9insert our co$e #ere

    *-- fi tabe 95ONITO"9 (it# vaues of structure 95ONITO"&"EC9

    *- to ma'e monitor entries

    ... 9to cance t#e u)$ate )rocess

    * raise e>ce)tion t)e C?&"S"O2T&A1O"T,

    DATA " /_&ate t2#e s2+&atum.

    LOOP AT RESLT_PAC*AGE ASSIGNING RESLT_FIELDSB.

    * o)uate Fisca ear RESLT_FIELDSB+FISC(EAR RESLT_FIELDSB+FISCPER76H.

    * o)uate osting erio$

    RESLT_FIELDSB+FISCPER9 RESLT_FIELDSB+FISCPER69H.

    ** Cacuate Amount!

    * "ES2LT&FIELDS

  • 7/24/2019 PCA Summary

    11/28

    *----------------------------------------------------------------------*

    *----------------------------------------------------------------------*

    *----------------------------------------------------------------------*

    *----------------------------------------------------------------------*

    :)EN 75 OR 7; OR 7ARTER .

    :)EN 37 OR 33 OR 34.

    concatenate RESLT_FIELDSB+CAL(EAR 6 into

    RESLT_FIELDSB+CAL>ARTER .

    ENDCASE. ENDIF.

    ENDLOOP.

    *8*8 en$ of routine - insert our co$e on before t#is ine *-*

    ENDMET)OD. 9en$&routine

    * Inverse met#o$ inverse&en$&routine

    * T#is subroutine nee$s to be im)emente$ on for $irect access* Bfor better )erformance an$ for t#e "e)ort."e)ort Interface

    * B$ri t#roug#,

    * T#e inverse routine s#ou$ transform a )ro3ection an$

    * a seection for t#e target to a )ro3ection an$ a seection

    * for t#e source res)ective,

    * If t#e im)ementation remains em)t a fie$s are fie$ an$

    * a vaues are seecte$,

    * Customer comment!

    MET)OD in/erse_en&_routine.

    * I5O"TIN

    * i&r&seset&outboun$ T6E "EF TO c&rsm$s&set

    * i&t#&fie$s&outboun$ T6E /AS/ED TA1LE

    * i&r&seset&outboun$&com)ete T6E "EF TO c&rsm$s&set

    * i&r&universe&inboun$ T6E "EF TO c&rsm$s&universe

    * C/ANIN

    * c&r&seset&inboun$ T6E "EF TO c&rsm$s&set

    * c&t#&fie$s&inboun$ T6E /AS/ED TA1LE

    * c&e>act T6E rs&boo

    *8*8 begin of inverse routine - insert our co$e on beo( t#is ine*-*

    ... 9insert our co$e #ere

    *8*8 en$ of inverse routine - insert our co$e on before t#is ine *-*

    ENDMET)OD. 9inverse&en$&routine

  • 7/24/2019 PCA Summary

    12/28

    MET)OD ne0_recor&__en&_routine.

    ***** I5LE5ENTATION is on visibe in generate$ )rogram *****

    ENDMET)OD.

    ENDCLASS. 9routine I5LE5ENTATION

  • 7/24/2019 PCA Summary

    13/28

    *---------------------------------------------------------------------*

    *---------------------------------------------------------------------*

    *

    *---------------------------------------------------------------------*

    PROGRAM trans_routine.

    * CLASS routine DEFINITION

    CLASS lcl_transform DEFINITION.

    P!LIC SECTION.

    * Attributs

    DATA"

    #_c$ec%_master_&ata_e'ist

    T(PE RSODSOC)EC*ONL( READ+ONL(,*- Instance for getting request runtime attributs;

    * Avaiabe information! "efer to met#o$s of

    * interface %if&rsb'&request&a$mintab&vie(%

    #_r_re-uest

    T(PE REF TO if_rs%_re-uest_a&minta_/ie0 READ+ONL(.

    PRI1ATE SECTION.

    T(PE+POOLS" rs&, rstr.

    * "ue s)ecific t)es

    T(PES"

    !EGIN OF _t2_s_SC_3,

    * Fie$! DE1IT Tota $ebit )ostngs,

    DE!IT T(PE P LENGT) < DECIMALS 4,

    * Fie$! C"EDIT Tota cre$it )ostgs,

    CREDIT T(PE P LENGT) < DECIMALS 4,

    * Fie$! C2""2NIT Currenc,

    CRRNIT T(PE C LENGT) =,

    * Fie$! "ECO"D,

    RECORD T(PE RSARECORD,

    END OF _t2_s_SC_3.

    T(PES"

    !EGIN OF _t2_s_TG_3,

    * InfoOb3ect! A5O2NT Amount,

    AMONT T(PE !I7OIAMONT,

    END OF _t2_s_TG_3.

  • 7/24/2019 PCA Summary

    14/28

    *---------------------------------------------------------------------*

    *---------------------------------------------------------------------*

    *

    *---------------------------------------------------------------------*

    *----------------------------------------------------------------------*

    *8*8 begin of goba - insert our $ecaration on beo( t#is ine *-*

    ... 9insert our co$e #ere

    *8*8 en$ of goba - insert our $ecaration on before t#is ine *-*

    MET)ODS

    com#ute_7AMONT

    IMPORTING re-uest t2#e rsre-uest

    &ata#ac%i& t2#e rs&ata#i&

    SORCE_FIELDS t2#e _t2_s_SC_3

    se?i& t2#e RS!*_SEGID

    E@PORTING

    RESLT t2#e _t2_s_TG_3+AMONT

    monitor t2#e rstr_t2_t_monitor

    RAISING

    c'_rsrout_aort

    c'_rsrout_s%i#_recor& c'_rsrout_s%i#_/al

    c'_rs%_errorcount.

    MET)ODS

    in/ert_7AMONT

    IMPORTING

    i_t$_fiel&s_outoun& T(PE rstran_t_fiel&_in/

    i_r_selset_outoun& T(PE REF TO cl_rsm&s_set

    i_is_main_selection T(PE rs_ool

    i_r_selset_outoun&_com#lete T(PE REF TO cl_rsm&s_set

    i_r_uni/erse_inoun& T(PE REF TO cl_rsm&s_uni/erse

    C)ANGING

    c_t$_fiel&s_inoun& T(PE rstran_t_fiel&_in/

    c_r_selset_inoun& T(PE REF TO cl_rsm&s_set

    c_e'act T(PE rs_ool.

    ENDCLASS. 9routine DEFINITION

    *8*8 begin of :n$ )art goba - insert our co$e on beo( t#is ine *

    *8*8 en$ of :n$ )art goba - insert our co$e on before t#is ine *

    * CLASS routine I5LE5ENTATION

    CLASS lcl_transform IMPLEMENTATION.

  • 7/24/2019 PCA Summary

    15/28

    *----------------------------------------------------------------------*

    *----------------------------------------------------------------------*

    *----------------------------------------------------------------------*

    *----------------------------------------------------------------------*

    *----------------------------------------------------------------------*

    * 5et#o$ com)ute&A5O2NT

    * T#is subroutine ao(s t#e ma))ing from source to target fie$s

    * of a transformation rue using A1A for a))ication s)ecific

    * co$ing,

    * Customer comment!

    MET)OD com#ute_7AMONT.

    * I5O"TIN

    * request t)e rsrequest

    * $ata)ac'i$ t)e rs$ata)i$

    * SO2"CE&FIELDS-DE1IT T6E LENT/ H DECI5ALS :

    * SO2"CE&FIELDS-C"EDIT T6E LENT/ H DECI5ALS :

    * SO2"CE&FIELDS-C2""2NIT T6E C LENT/

    * E?O"TIN* "ES2LT t)e &t&s&T&@-A5O2NT

    DATA"

    MONITOR_REC T(PE rsmonitor.

    *8*8 begin of routine - insert our co$e on beo( t#is ine *-*

    ... 9insert our co$e #ere

    *-- fi tabe 95ONITO"9 (it# vaues of structure 95ONITO"&"EC9

    *- to ma'e monitor entries

    ... 9to cance t#e u)$ate )rocess

    * raise e>ce)tion t)e C?&"S"O2T&A1O"T,

    ... 9to s'i) a recor$9

    * raise e>ce)tion t)e C?&"S"O2T&S0I&"ECO"D,

    ... 9to cear target fie$s

    * raise e>ce)tion t)e C?&"S"O2T&S0I&+AL,

    RESLT SORCE_FIELDS+DE!IT SORCE_FIELDS+CREDIT.

    *8*8 en$ of routine - insert our co$e on before t#is ine *-*

    ENDMET)OD. 9com)ute&A5O2NT

    * Inverse met#o$ invert&A5O2NT

    * T#is subroutine nee$s to be im)emente$ on for $irect access

    * Bfor better )erformance an$ for t#e "e)ort."e)ort Interface

    * B$ri t#roug#,

    * T#e inverse routine s#ou$ transform a )ro3ection an$

    * a seection for t#e target to a )ro3ection an$ a seection

  • 7/24/2019 PCA Summary

    16/28

    *----------------------------------------------------------------------*

    *----------------------------------------------------------------------*

    * for t#e source res)ective,

    * If t#e im)ementation remains em)t a fie$s are fie$ an$

    * a vaues are seecte$,

    * Customer comment!

    MET)OD in/ert_7AMONT.

    * I5O"TIN

    * i&r&seset&outboun$ T6E "EF TO c&rsm$s&set

    * i&t#&fie$s&outboun$ T6E /AS/ED TA1LE

    * i&r&seset&outboun$&com)ete T6E "EF TO c&rsm$s&set

    * i&r&universe&inboun$ T6E "EF TO c&rsm$s&universe

    * C/ANIN

    * c&r&seset&inboun$ T6E "EF TO c&rsm$s&set

    * c&t#&fie$s&inboun$ T6E /AS/ED TA1LE

    * c&e>act T6E rs&boo

    *8*8 begin of inverse routine - insert our co$e on beo( t#is ine*-*

    ... 9insert our co$e #ere

    *8*8 en$ of inverse routine - insert our co$e on before t#is ine *-*

    ENDMET)OD. 9invert&A5O2NT

    ENDCLASS. 9routine I5LE5ENTATION

  • 7/24/2019 PCA Summary

    17/28

  • 7/24/2019 PCA Summary

    18/28

  • 7/24/2019 PCA Summary

    19/28

  • 7/24/2019 PCA Summary

    20/28

  • 7/24/2019 PCA Summary

    21/28

  • 7/24/2019 PCA Summary

    22/28

  • 7/24/2019 PCA Summary

    23/28

  • 7/24/2019 PCA Summary

    24/28

  • 7/24/2019 PCA Summary

    25/28

  • 7/24/2019 PCA Summary

    26/28

  • 7/24/2019 PCA Summary

    27/28

  • 7/24/2019 PCA Summary

    28/28