‎2013 Jun 10 4:03 PM
Hi ,
one of my client is getting dump at the time of creating the DIR from tcode CV01N.
User is getting the dump (GETWA_NOT_ASSIGNED) while uploading/attaching documents.
I am also attaching the dump for your reference.
Thanks and Regards
Lakshmikanth K
‎2013 Jun 10 4:14 PM
Hi,
|>>>>>| SELECT SINGLE stor_rep |
| 108| FROM sdokstca |
| 109| INTO (lv_stor_rep) |
| 110| WHERE stor_cat = <fs_file>-storage_cat.
Change this as,
if <fs_file> is assigned.
SELECT SINGLE stor_rep |
FROM sdokstca |
INTO (lv_stor_rep) |
WHERE stor_cat = <fs_file>-storage_cat.
endif.
and it will definitely work.
Issue is you are using a field symbol(memory pointer) without it getting any value and hence the system dumps.
BR,
Ankit.
‎2013 Jun 10 5:36 PM
Thanks for reply Ankit,
Actually the dump is coming from standard FM - /CENIT/DDM_SAVE_RELOCATE_DOC.
<fs_file> is already assigned. the value of the field symbol is coming negative.
IF <fs_file> IS ASSIGNED.
IF NOT <fs_file>-storage_cat IS INITIAL.
SELECT SINGLE stor_rep
FROM sdokstca
INTO (lv_stor_rep)
WHERE stor_cat = <fs_file>-storage_cat.
IF sy-subrc EQ 0.
SELECT SINGLE stor_rep
FROM sdokstca
INTO (lv_stor_rep2)
WHERE stor_cat = pv_stor_cat.
IF lv_stor_rep2 EQ lv_stor_rep.
pv_flag = 'X'.
ENDIF.
ENDIF.
ENDIF.
ENDIF.
Thanks and Regards
Lakshmikanth K
‎2013 Jun 10 6:33 PM
If so then check for SAP notes or steps mentioned in ST22. Sorry could not help further,
BR,
Ankit.
‎2013 Jun 10 6:19 PM
Hello Lakshmikanth,
If its working fine for other users and only couple of users getting dump then this might be a authorisation issue.
Check with basis team if proper role is assigned to that user.
Thanks,
deepti