Dear experts,
in SRM 7.0, i try to change a standard attachment file into an URL attachment programmatically. If i click to the link i retrieve an CX_WD_GENERAL: WebDynpro Exception: URL /http://www.google.de may contain fatal script.
The change of the attachment file takes place in the change badi of the shopping cart.
therefore i create a new entry in ct_attachment and i fill the fields like in the code below:
READ TABLE it_item INDEX 1 ASSIGNING <ls_item>.
IF sy-subrc = 0.
IF <ls_item>-guid = '00155D00DC0B1EE49CF79B6934894FF8'. " for testing purpose
ls_atmt_url-p_guid = <ls_item>-guid.
ls_atmt_url-guid = cl_system_uuid=>if_system_uuid_static~create_uuid_x16( ).
ls_atmt_url-type = 'U'.
ls_atmt_url-DESCRIPTION = 'TEST'.
ls_atmt_url-url = 'https://www.google.de/?gws_rd=ssl'.
* ls_atmt_url-loio_objid = cl_system_uuid=>if_system_uuid_static~create_uuid_c32( ).
APPEND ls_atmt_url TO ct_attachment.
CLEAR ls_atmt_url.
ENDIF.
Is this maybe a security problem of our SAP System?
Im very thankful for every hint.
greetings,
Daniel
[EDIT] ISSUE SOLVED
We have to fill the field disp_url.