Application Development and Automation 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: 
Read only

GETWA_NOT_ASSIGNED_RANGE

Former Member
0 Likes
1,580

DEAR GURUS,

I am getting a runtime error GETWA_NOT_ASSIGNED_RANGE in a function module. The code extraction is in the below.

Please provide me a solution.

IT IS IN ECC 6.0.

code extraction is below:-

LOOP AT loc_detail.

ASSIGN loc_str+loc_detail-offset(loc_detail-leng) TO <fsvar>.

CONCATENATE 'INT_DATA_' loc_tab INTO fs_string-table.

MOVE '-' TO fs_string-hy.

MOVE loc_detail-fieldname TO fs_string-field.

CONDENSE fs_string NO-GAPS.

ASSIGN (fs_string) TO <fsvar1>.

runtime error >>>>>MOVE <fsvar> TO <fsvar1>.

ENDLOOP.

Please help me.

Thanks

DEAR GURUS,

I am getting a runtime error GETWA_NOT_ASSIGNED_RANGE in a function module. The code extraction is in the below.

Please provide me a solution.

IT IS IN ECC 6.0.

code extraction is below:-

LOOP AT loc_detail.

ASSIGN loc_str+loc_detail-offset(loc_detail-leng) TO <fsvar>.

CONCATENATE 'INT_DATA_' loc_tab INTO fs_string-table.

MOVE '-' TO fs_string-hy.

MOVE loc_detail-fieldname TO fs_string-field.

CONDENSE fs_string NO-GAPS.

ASSIGN (fs_string) TO <fsvar1>.

runtime error >>>>>MOVE <fsvar> TO <fsvar1>.

ENDLOOP.

Please help me.

Thanks

13 REPLIES 13
Read only

Former Member
0 Likes
1,483

This message was moderated.

Read only

Former Member
0 Likes
1,483

please help me.

Read only

Former Member
0 Likes
1,483

HI,

Are you on a Unicode enabled system? If yes, pl verify if the SAP Note No. 900669 is relevant in your scenario.

Regards,

Hari

Read only

Former Member
0 Likes
1,483

Hi Ravi,

What is the FM you are using? or In which program/tcode u got this Runtime error?

I am searching some OSS notes to give you solution.

Regards,

Hari

Read only

0 Likes
1,483

Thanku very much,

It is Z function module.

Thanks and Regards

Read only

0 Likes
1,483

Hi Ravi,

If it is a ZFunction module ...then no need to look for OSS Notes.

I think the problem lies in the data declaration of <fsvar> and <fsvar1>. I feel both are of different types...so when moving from field to other field ...there is some mismatch ...check the declarations once.

Regards,

Hari

Read only

0 Likes
1,483

dear Hari,

thanku very much,

both are declared as type any.

if data is not there it is running , other wise it is givi n g short dump,

Thanks and Regards,

Read only

0 Likes
1,483

Can you please paste the entire code ?

Read only

0 Likes
1,483

This is the actual code

Message was edited by:

Ravi Kumar Kuntala

Read only

0 Likes
1,483

please help me

Read only

Former Member
0 Likes
1,483

Hi,

Have you declared <fsvar> like <fsvar1>.

This dump is because of non declaraton of the field symbols

declare the symbols propelry

Regards

Shiva

Read only

0 Likes
1,483

I have declared correctly.

please help me

Thanks in advance

Read only

0 Likes
1,483

Hi Ravi,

Found any solution?

I am also facing the same problem and it is bit urgent.