10-11-2007 11:14 AM
Hi Abapers,
My program is going to dump and is giving runtime error: OBJECTS_OBJREF_NOT_ASSIGNED_NO.
Kindly check my below code and suggest me with possible solution.
*check DataArea to verify Employee file.
element = document->find_from_name( name = 'DataArea' ). -
> failing here. element object is not getting reffered.
<b>g_data = element->get_content_as_string( ).</b> IF g_data <> 'Employees'. -
> going to dump here as element object is not assigned.
MESSAGE e398(00)
WITH 'Invalid DataArea value. Must be Employee.'(e05).
ENDIF.
Please help me.
Points are sure for helpful answers.
Message was edited by:
Premraj Cheguri<b></b>
Message was edited by:
Premraj Cheguri
10-11-2007 11:18 AM
Hi Premraj,
Please refer to the folllowing OSS Notes:
925151
905894
In case you have any further clarifications,do let me know.
Regards,
Puneet Jhari.
10-11-2007 11:18 AM
Hi Premraj,
Please refer to the folllowing OSS Notes:
925151
905894
In case you have any further clarifications,do let me know.
Regards,
Puneet Jhari.
10-11-2007 11:28 AM
Hi Puneet,
Thanks for your response. I checked for that sap note. status is it cant be implimented. is there any other way inorder to overcome this runtime error instead of implimenting oss notes.
10-11-2007 11:31 AM
Check these notes:
783918
660005
In case you have any further clarifications,do let me know.
Regards,
Puneet Jhari.
10-11-2007 11:40 AM
HI
You are getting the dump as the object is not assigned.
Before giving the condition,
IF parser->parse( ) NE 0.
Give
IF parser is Assigned.
Regards
Navneet
10-12-2007 9:37 AM
Hi Navneet,
if i use 'IF parser is Assigned.' im getting one error message that is assigned is used only with fieldsymbols. how can i overcome from this error.
Regards,
Prem.