cancel
Showing results for 
Search instead for 
Did you mean: 

Heterogeneous system copy. Error in SMIGR_CREATE_DDL

Former Member
0 Kudos

Hello!

I perform a heterogeneous system copy of RHEL5/Oracle11/ERP6/0 > RHEL6/MaxDB/ERP6.0

I use the "System Copy Guide for SAP Systems Based on NW 7.0 SR3 ABAP + Java". At the stage "4.2 Generating DDL" statements is a problem. I'm doing "Call transaction SE38 and run the program SMIGR_CREATE_DDL."

But i get error:


Runtime Errors         DATASET_NOT_OPEN
Exception              CX_SY_FILE_OPEN_MODE
Date and Time          20.09.2011 12:16:01

 Short text
     File "/EXPORT_DDL/SQLFiles.LST" is not open.

 What happened?
     Error in the ABAP Application Program

     The current ABAP program "CL_SMIGR_DDL==================CP" had to be
      terminated because it has
     come across a statement that unfortunately cannot be executed.

 What can you do?
     Note down which actions and inputs caused the error.

     To process the problem further, contact you SAP system
     administrator.

     Using Transaction ST22 for ABAP Dump Analysis, you can look
     at and manage termination messages, and you can also
     keep them for a long time.

 Error analysis
    An exception occurred that is explained in detail below.
    The exception, which is assigned to class 'CX_SY_FILE_OPEN_MODE', was not
     caught in
    procedure "WRITE_DDL_TO_FILE" "(METHOD)", nor was it propagated by a RAISING
     clause.
    Since the caller of the procedure could not have anticipated that the
    exception would occur, the current program is terminated.
    The reason for the exception is:
    When accessing the file "/EXPORT_DDL/SQLFiles.LST", the system recognized that
     this file is
    not open. Therefore, the file cannot be accessed.

How to correct the error
    Before the first access, the file must be opened using the ABAP language
     element "OPEN DATASET '/EXPORT_DDL/SQLFiles.LST'" and after the last access,
     it must be
    closed using the language element "CLOSE DATASET '/EXPORT_DDL/SQLFiles.LST'".

    If the error occurred in your own ABAP program or in an SAP
    program you modified, try to remove the error.

    If the error occures in a non-modified SAP program, you may be able to
    find an interim solution in an SAP Note.
    If you have access to SAP Notes, carry out a search with the following
    keywords:

    "DATASET_NOT_OPEN" "CX_SY_FILE_OPEN_MODE"
   "CL_SMIGR_DDL==================CP" or "CL_SMIGR_DDL==================CM003"
   "WRITE_DDL_TO_FILE"

   If you cannot solve the problem yourself and want to send an error
   notification to SAP, include the following information:

   1. The description of the current problem (short dump)

      To save the description, choose "System->List->Save->Local File
   (Unconverted)".

I forgot something to do?

Accepted Solutions (1)

Accepted Solutions (1)

markus_doehr2
Active Contributor
0 Kudos

> File "/EXPORT_DDL/SQLFiles.LST" is not open.

Make sure the user <sid>adm is permitted to write to that directory.

Markus

Answers (1)

Answers (1)

Former Member
0 Kudos

Let's see if this can help us

Note 1324665 - SMIGR_CREATE_DDL: save list of generated .SQL files

Thanks

Former Member
0 Kudos

Ok Markus already suggested something, please check the permissions etc.