requirment pop up

Upload: anil

Post on 01-Mar-2018

225 views

Category:

Documents


0 download

TRANSCRIPT

  • 7/25/2019 Requirment POP UP

    1/14

  • 7/25/2019 Requirment POP UP

    2/14

    STEP 1.First we have to create an attribute in the

    controller class (ZL_ZBSP_VIE_ZVIEW1_IPL!

    S"VE#$%PILE#"$TIV"TE

    &o to 'et_ )etho* o+ attribute which u want to ececute o +or (e,-n*/el*

    or attribute!

    method GET_P_LEAD_TYPE.

    CASE iv_property.

    WHEN if_bsp_wd_mode_setter_!etter"#fp_fiedtype.

  • 7/25/2019 Requirment POP UP

    3/14

    rv_v$%e " &_bsp_d&_view_des&riptor"#fied_type_pi&'ist.

    WHEN if_bsp_wd_mode_setter_!etter"#(P_)NCL*C+.

    rv_v$%e " ,e$dtype-see&ted,.

    ENDCASE.

    edmethod.

    Ste. $reate an Event han*ler with na)e --0lea*te-

    selecte*

  • 7/25/2019 Requirment POP UP

    4/14

  • 7/25/2019 Requirment POP UP

    5/14

  • 7/25/2019 Requirment POP UP

    6/14

  • 7/25/2019 Requirment POP UP

    7/14

    2ow we have to write call )etho* 3SET_%2_$L%SE_EVE2T4

  • 7/25/2019 Requirment POP UP

    8/14

    method EH_)NLEADTYPE_SELECTED.

    CALL /ETH)D &omp_&otroer-#widow_m$$!er-#C0EATE_P)P1P_2_C)N(*0/

    E3P)0T*NG

    *4_T*TLE " ,Demo pop %p,

    *4_TE3T " ,Are yo% s%re w$t to &h$!e the v$%e,

    *4_5TNC)/5*NAT*)N " &omp_&otroer-

    #*(_5SP_WD_W*ND)W_/ANAGE06C)_5TNC)/5_YESN)CANCEL

    * IV_CUSTOMBUTTONS =

    0ECE*4*NG

    04_0ES1LT " G0_C)N(_P)P1P.

    CALL /ETH)D G0_C)N(_P)P1P-#SET_)N_CL)SE_E4ENT

    E3P)0T*NG

    *4_4*EW " /E

    *4_E4ENT_NA/E " ,P)P1P_CL)SED,.

    G0_C)N(_P)P1P-#)PEN7 8.

  • 7/25/2019 Requirment POP UP

    9/14

    S#$#"

    2ow create an event han*ler +or closin' the o-u with sa)e na)e as

  • 7/25/2019 Requirment POP UP

    10/14

    2ow we have to call )etho* 3&ET_FI5E6_%7TB%726_PL7&4.

  • 7/25/2019 Requirment POP UP

    11/14

    method EH_)NP)P1P_CL)SED.

    d$t$9 v_p%! type seo&mp$me.

    CALL /ETH)D G0_C)N(_P)P1P-#GET_(*0ED_)1T5)1ND_PL1G

    0ECE*4*NG

    04_)1T5)1ND_PL1G " v_p%!.

    &$se v_p%!.

    whe ,yes,.

    *write the code for yes

    whe ,o,.

    *write the code for no

    ed&$se.

    edmethod.

    S:C:A

  • 7/25/2019 Requirment POP UP

    12/14

    %7TP7T-

  • 7/25/2019 Requirment POP UP

    13/14

    E8PL"2"TI%2-

  • 7/25/2019 Requirment POP UP

    14/14

    Transaction 9se: