Solution : https://service.sap.com/sap/support/notes/941328 (SAP Service marketplace login required)
Key words :
call function 'status_text_edit' exporting client = sy-mandt flg_user_stat = cl_rplm_qimt_co=>sc_true objnr = ls_viqmel-objnr only_active = 'x' spras = sy-langu bypass_buffer = ' ' importing anw_stat_existing = anw_stat_existing e_stsma = e_stsma line = lv_sttxt user_line = lv_usttxt stonr = stonr exceptions object_not_found = 1, node call method lr_context->add_context_attribute_change exporting element = lr_elem_header_attr attribute_name = 'tplnr' new_value = lv_tplnr delegate_to_original = abap_true force_entry = lv_true receiving entry_added = lv_att_added, node call method lr_context->add_context_attribute_change exporting element = lr_elem_header_attr attribute_name = 'equnr' new_value = lv_equnr delegate_to_original = abap_true force_entry = lv_true receiving entry_added = lv_att_added, importing es_header = ls_viqmel es_headertext = ls_riwo03 et_items = lt_viqmfe et_activities = lt_viqmma et_tasks = lt_viqmsm et_causes = lt_viqmur et_longtext = et_longtext et_partners = lt_ihpavb et_return = lt_return, node call method lr_context->add_context_attribute_change exporting element = lr_elem_header_attr attribute_name = 'qmart' new_value = lv_notif_type delegate_to_original = abap_true force_entry = lv_true receiving entry_added = lv_att_added, call method wd_this->mr_notif_api->get_partner_contact_person importing ev_parnr = lv_prtnr ev_role_text = lv_vtxtk es_partner_contact_person = ls_partner_contact_person es_contact_person_adr = ls_contact_person_adr es_address_person_in_company = ls_address_person_in_company es_address = ls_adr, maueh call function 'unit_conversion_simple' exporting input = ls_viqmel-auszt unit_in = 's' unit_out = ls_viqmel-maueh importing output = ls_header_text-eauszt, call method wd_this->mr_notif_api->get_partner_customer importing ev_customer_number = lv_kunum ev_role_text = lv_vtxtk es_partner_customer = ls_partner_customer es_customer_adr = ls_customer_adr es_address = ls_adr, iv_prtnr = lv_prtnr iv_vtxtk = lv_vtxtk iv_diadr = ls_adr iv_address_person_in_company = ls_address_person_in_company iv_partner_contact_person = ls_partner_contact_person iv_contact_person_adr = ls_contact_person_adr, call method cl_wd_utilities=>get_otr_text_by_alias exporting alias = 'rplm_qimt_notif_ui/cust_name' receiving alias_text = lv_cust_text
Related Notes :
934477 | ERP 2005 SP Stack 4 (04/2006) Release and Information Note |