06-08-2011 8:01 AM
Hi guys,
I need to get the long text of the workorder. I use FM READ_TEXT for it.
Now, how can I get the name of the text (parameter name of the FM) from the ABAP code ?
I can't just display it and go Goto->header.
I also need to do the same for workorder component.
06-08-2011 8:50 AM
Use BAPI_ALM_ORDER_GET_DETAIL to get all long texts of a workorder. Check parameters et_texts and et_text_lines
Edited by: Vadim Khlystun on Jun 8, 2011 12:50 AM
06-08-2011 8:36 AM
Hi,
Inside the code just after work order creation you do like below. Pass the V_name to READ_TEXT function module.
*-----------------Notification long text description from buffer
CALL FUNCTION 'READ_NOTIFICATION_BUFFER'
IMPORTING
e_viqmel = wa_viqmel.
v_name = wa_viqmel-qmnum.
If you want to read notification, use FM READ_NOTIFICATION and obtain the qmnum from IVIQMEL structure
06-08-2011 8:50 AM
Use BAPI_ALM_ORDER_GET_DETAIL to get all long texts of a workorder. Check parameters et_texts and et_text_lines
Edited by: Vadim Khlystun on Jun 8, 2011 12:50 AM