Application Development Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 

runtime error

Former Member
0 Kudos

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

1 ACCEPTED SOLUTION

Former Member
0 Kudos

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.

5 REPLIES 5

Former Member
0 Kudos

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.

0 Kudos

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.

0 Kudos

Check these notes:

783918

660005

In case you have any further clarifications,do let me know.

Regards,

Puneet Jhari.

Former Member
0 Kudos

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

0 Kudos

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.