06-24-2015 5:31 PM
Hi,
I am using XML editor CL_GUI_XML_EDITOR to display XML data but since EHP6, method Refresh_toolbar has been changed and
below check makes code dump at run time. This check was not in earlier version. At run time parameter params is not filled and gives an error.
*Icon for auto-parameterization
IF me->params->container->object_type = cl_apl_ecatt_const=>obj_type_ecatt . " Auto-parameterization only for
I checked where used list programs of this editor too.I am not using CL_XML_DOCUMENT to display. Did anyone faced similar issue using CL_GUI_XML_EDITOR class recently?
Regards
Mohinder
06-24-2015 8:24 PM
Sloppy work from Standard SAP developer. Developer might have only tested with ECATT related application where CL_GUI_XML_EDITOR is used and would have worked without issue.
Developer should check if the object is bound before using the attribute of the object to avoid this situation. Raise OSS message to SAP to obtain the correction.
Regards,
Naimesh Patel
06-24-2015 8:24 PM
Sloppy work from Standard SAP developer. Developer might have only tested with ECATT related application where CL_GUI_XML_EDITOR is used and would have worked without issue.
Developer should check if the object is bound before using the attribute of the object to avoid this situation. Raise OSS message to SAP to obtain the correction.
Regards,
Naimesh Patel