BOPF Exercise

Embed Size (px)

Citation preview

  • 8/15/2019 BOPF Exercise

    1/2

    Exercise 1 – BOPF Implementation

    1. Create BOPF Business Object Z_TR!""# $!""# is participant number%.

    &. 'enerate t(e Constant Inter)ace Z"""_IF_TR_C

    *. Create Persistent +tructure Z+!""#ROOT_, -it( )ollo-in )iel/s0

    . Create Transient +tructure Z+!""#ROOT_,T. 2ssin a /umm3 )iel/ to it asstructure s(oul/ (a4e at least one )iel/.

    5. Create ,etermination I6IT_TR!""#. T(is /etermination s(oul/ be triere/ att(e time o) creation as soon as instance o) TR root is create/. It s(oul/ assin4alue 7819 to TR_I,.

    :. Create ,etermination ,ET_TRI,!""#. T(is /etermination s(oul/ be triere/at t(e time o) sa4in /urin sa4in onl3. Pic; up t(e next number o) TR I,usin )unction mo/ule 'SWE_GET_NEXT_NUMBER' an/ assin it to TR_I,.

    I,2TE_""9. T(is consistenc3 4ali/ation s(oul/ t(ro-error messae 7In4ali/ =ali/it3 ,ate9 i) =2>I,_TI>>9 /ate is less t(an s3stemcurrent /ate.

    ?. Create 2ction 7CO6FIR@_""9. T(is action s(oul/ set status o) status )laZCO6FIR@ to 7"9. I) use tr3 to con)irm a alrea/3 or/er t(en error messaes(oul/ be /ispla3e/ 7Or/er alrea/3 con)irme/9.

    A. Create uer3 7ER_B_2TTRIBTE9. IT s(oul/ be a no/e attribute Duer3.

    Exercise & +er4ice @anaer – Retrie4e b3 2ssociationCon4ert 2lternati4e Ge3

    1. Create a report proram Z,E@O1_"" an/ (a4e TR_I, as selection parameter)iel/.

    &. sin ser4ice manaer con4ert TR I, to 2lternati4e Ge3.*. sin alternati4e use retrie4e b3 association to retrie4e Item o) BO

    Z_TR!""#.

  • 8/15/2019 BOPF Exercise

    2/2

    Exercise* – +er4ice @anaer – uer31. Create report proram Z,E@O&_"" an/ (a4e TR_TPE as selection screen

     parameter.&. se ser4ice manaer to )in/ list o) all TR_I,s (a4in same TR_TPE.

    Exercise – +er4ice @anaer 2ction1. Create report proram Z,E@O*_"" an/ (a4e TR_I, as selection screen

     parameter.&. se Duer3 met(o/ o) ser4ice manaer to )in/ ;e3 o) TR_I,.

    *. se /o_action met(o/ o) ser4ice manaer to call action 7CO6FIR@9 o) BOZ_TR_"".. 'et instance o) transaction manaer an/ sa4e con)irm action.5. 'o to BOBFTE+T_I an/ c(ec; i) or/er is con)irme/ or not.