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

Dump while creating the DIR from CV01N

Former Member
0 Likes
560

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

4 REPLIES 4
Read only

Former Member
0 Likes
509

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.

Read only

0 Likes
509

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

Read only

0 Likes
509

If so then check for SAP notes or steps mentioned in ST22. Sorry could not help further,

BR,

Ankit.

Read only

Former Member
0 Likes
509

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