Saving the Custom View

  • Upload
    anil

  • View
    217

  • Download
    0

Embed Size (px)

Citation preview

  • 7/25/2019 Saving the Custom View

    1/20

    Requirement To save the entries in a custom view(value node) .

    Here we use custom controller for moving our view to overview set. Before that we

    bind our view to custom controller.

  • 7/25/2019 Saving the Custom View

    2/20

  • 7/25/2019 Saving the Custom View

    3/20

  • 7/25/2019 Saving the Custom View

    4/20

  • 7/25/2019 Saving the Custom View

    5/20

  • 7/25/2019 Saving the Custom View

    6/20

  • 7/25/2019 Saving the Custom View

    7/20

  • 7/25/2019 Saving the Custom View

    8/20

  • 7/25/2019 Saving the Custom View

    9/20

  • 7/25/2019 Saving the Custom View

    10/20

  • 7/25/2019 Saving the Custom View

    11/20

  • 7/25/2019 Saving the Custom View

    12/20

  • 7/25/2019 Saving the Custom View

    13/20

  • 7/25/2019 Saving the Custom View

    14/20

  • 7/25/2019 Saving the Custom View

    15/20

  • 7/25/2019 Saving the Custom View

    16/20

    method EH_ONSAVE.

    DATA: lr_tx TYPE REF TO cl_crm_bol_custom_tx_ctxt,

    lr_ccess TYPE REF TO !"_crm_u!u_bt_ch##el_s$ects,

    lr_root_e#t!t% TYPE REF TO cl_crm_bol_e#t!t%,

    l&_dedu$_$o$u$_e#bled TYPE b$_bool,

    l&_"ou#d_$r!me_mer'ed_led TYPE crmt_boole#.

    lr_tx ( cl_crm_u!u_b$_tools()'et_custom_tx_ctxt* +.

    F lr_tx-)!"_bol_tr#sct!o#_co#textchec/_s&e_#eeded* + ( b$_true.

    F cl_crm_u!u_bt_$rt#er_$o$u$()'et_0u!c/_crete_sttus* + ( b$_true.

    *Save business partner-accounts and related objects (contacts, conditions,..)

    cl_crm_u!u_b$_tools()s&e* +. cl_crm_u!u_bt_$rt#er_$o$u$()set_0u!c/_crete_sttus* E1PORTN2 !&_0u!c/

    _crete ( b$_"lse +.

    E3SE.

    * CSN 4970 - 2007

    * Save business partner-accounts and related objects (contacts, conditions,..

    )

    cl_crm_u!u_b$_tools()s&e* +.

    ENDF.

  • 7/25/2019 Saving the Custom View

    17/20

    ENDF.

    * save te !"#$

    4A33 5ETHOD su$er-)eh_o#s&e

    E1PORTN2

    htmlb_e&e#t ( htmlb_e&e#t

    htmlb_e&e#t_ex ( htmlb_e&e#t_ex.

    *************************** e%tra code &&&&&&&&&&&&&&&&&

    dt: lr_cuco t%$e re" to 63_7T89H_3_3EADDETA3S4;_5P3,

    lr_e#t!t% t%$e re" to !"_bol_bo_$ro$ert%_ccess,

    lr_coll t%$e re" to cl_bs$_

  • 7/25/2019 Saving the Custom View

    18/20

    lr_root_e#t!t% >( me-)t%$ed_co#text-)btorder-)collect!o#_

  • 7/25/2019 Saving the Custom View

    19/20

  • 7/25/2019 Saving the Custom View

    20/20