2007 Sep 12 8:16 AM
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
2007 Sep 12 8:27 AM
2007 Sep 12 8:37 AM
2007 Sep 12 8:43 AM
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
2007 Sep 12 8:54 AM
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
2007 Sep 12 9:02 AM
2007 Sep 12 9:10 AM
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
2007 Sep 12 9:18 AM
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,
2007 Sep 12 9:24 AM
2007 Sep 12 9:29 AM
This is the actual code
Message was edited by:
Ravi Kumar Kuntala
2007 Sep 12 1:19 PM
2007 Sep 12 1:22 PM
Hi,
Have you declared <fsvar> like <fsvar1>.
This dump is because of non declaraton of the field symbols
declare the symbols propelry
Regards
Shiva
2007 Sep 13 7:37 AM
2007 Oct 25 2:24 PM
Hi Ravi,
Found any solution?
I am also facing the same problem and it is bit urgent.
| User | Count |
|---|---|
| 3 | |
| 2 | |
| 2 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |