‎2008 Nov 17 1:54 PM
CALL FUNCTION 'BBP_MESSAGE_CREATE'
EXPORTING
i_msgty = 'W'
i_msgid = 'ZYTR'
i_msgno = '037'
i_msgv1 = v_msgv1
i_msgv2 = v_msgv2
i_msgv3 = v_msgv3
IMPORTING
e_messages = ls_message2.
ls_message-message = ls_message2-message.
ls_message-msgty = 'W'.
ls_message-msgid = 'ZYTR'.
ls_message-msgno = '037'.
ls_message-msgv1 = 'with Date:'. "v_number.
ls_message-msgv2 = v_todate.
ls_message-msgv3 = v_factcal.
-
> APPEND ls_message TO <lv_fs_gs_sc>-messages.
ENDIF.
This line which states the arrow cause a dump with the error:
Fieldsymbol has not been assigned yet.
What is here not coreectly ?
‎2008 Nov 17 3:28 PM
‎2008 Nov 17 1:55 PM
you have that in your message
Fieldsymbol has not been assigned yet.
‎2008 Nov 17 1:55 PM
I think you should:
ASSIGN ls_message TO <lv_fs_gs_sc>Regards,
Ali
‎2008 Nov 17 2:25 PM
Ali thank you very much but the problem is they are different types.Is there a workaround
or a solution in this case ?
data ls_message TYPE bbps_sc_app_messages.
FIELD-SYMBOLS: <lv_fs_gs_sc> TYPE bbps_sc_app_document.
Regards
sas
‎2008 Nov 17 3:28 PM