Quantcast
Channel: SCN: Message List - SAP CRM: Webclient UI - Framework
Viewing all articles
Browse latest Browse all 7775

Re: change status

$
0
0

Hi, yes.

 

*   Customer / Motivo
     ls_customer_h-ref_handle           = '0000000000'.
     ls_customer_h-ref_guid             = lv_guid.
     ls_customer_h-zzcustomer_h2704     = iv_motivo.
     ls_customer_h-mode                 = 'B'.

     APPEND ls_customer_h TO lt_customer_h.

*   Status
     ls_status_t-ref_handle             = '0000000000'.
     ls_status_t-ref_guid               = lv_guid.
     ls_status_t-ref_kind               = 'A'.
     ls_status_t-status                 = 'E0012'"Estado
     ls_status_t-user_stat_proc         = 'ZOF4'.
     ls_status_t-activate               = 'X'.      "Activo

     APPEND ls_status_t TO lt_status_t.

*   Input
     ls_input_t-ref_guid        = lv_guid.
     ls_input_t-ref_kind        = 'A'.

     ls_input_t-ref_handle      = '0000000000'.
     ls_input_t-objectname      = 'CUSTOMER_H'.       "Objeto
     ls_input_t1-fieldname      = 'ZZCUSTOMER_H2704'. "Campo
     ls_input_t1-changeable     = 'X'.

     INSERT ls_input_t1 INTO TABLE ls_input_t-field_names. " Campos a actualizar
     INSERT ls_input_t  INTO TABLE lt_input_t.

     CLEAR ls_input_t-field_names.

     ls_input_t-ref_handle      = '0000000000'.
     ls_input_t-objectname      = 'STATUS'.
     ls_input_t1-fieldname      = 'ACTIVATE'.
     ls_input_t1-changeable     = 'X'.

     INSERT ls_input_t1 INTO TABLE ls_input_t-field_names. " Campos a actualizar
     INSERT ls_input_t  INTO TABLE lt_input_t.

 

Thanks in advance.

 

Regards


Viewing all articles
Browse latest Browse all 7775

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>