cancel
Showing results for 
Search instead for 
Did you mean: 

*ERROR: failed to open file "<export directory path>/ABAP/DATA/SAPSTR.LST

Former Member
0 Kudos

Hello experts,

I am doing system export.

as per the system copy guide I follows all steps.

when I tried for export preparation.

I got following error in "/tmp/sapinst_instdir/ERPEhP4/LM/COPY/DB6/EXP/CENTRAL/AS-ABAP/PREEXP/R3ldctlExport.log"

ERROR: failed to open file "/db2/PRD/sapdata4/export_prd/ABAP/DATA/SAPSTR.LST"

/db2/PRD/sapdata4/export_prd is my export directory.

but I found that the "SAPSTR.LST" is not exist in the location.

also I don't find any log regarding this error.

how to resolve this? please guide.

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

Hi,

After OPEN DATASET statement, check for the SY-SUBRC value, if it is not equal to zero, then display an error

If the system can open the file <dsn> successfully, SY-SUBRC is set to 0. If not, it is set to 8.

Shiva

Former Member
0 Kudos

Hi,

thanks for the reply.

I am doing system export preparation using R3trans ( by running ./sapinst)

here how to debug the program. I am not getting you, please guide me.

former_member227281
Active Participant
0 Kudos

Hi Rupesh,

ERROR: failed to open file "/db2/PRD/sapdata4/export_prd/ABAP/DATA/SAPSTR.LST"

Various possible solutions:

I report SMIGR_CREATE_DDL has to be executed before starting export preparation.

OR

Download latest latest kernel patch and apply them in /spmnt/<SID>/exe

make sure download latest patch R3ldctl files and R3load from SAP amrketplace and apply them in to /sapmnt/<SID>/exe.

Make sure export dump folder should be in local drives (in windows) or local filesystems i.e.ot NFS (in case of unix).

FInally check permission by using cmod 777 in exportdump folder in case of unix.

Regards

APR

former_member227281
Active Participant
0 Kudos

Hi Rupesh,

In continuation of previous mail, there is keyboard problem hence spelling mistakes.

Various possible solutions:

Report SMIGR_CREATE_DDL has to be executed before starting export preparation.

OR

Download llatest kernel patch and apply them in /spmnt/<SID>/exe

make sure download latest patch R3ldctl file and R3load from SAP Marketplace and apply them in to /sapmnt/<SID>/exe.

Make sure export dump folder should be in local drives (in windows) or local filesystems i.e.do not use network drives (windows) or NFS (in case of unix).

FInally check permission by using chmod 777 in exportdump folder in case of unix.

Regards

APR

.

Former Member
0 Kudos

Thanks for the solution.

my problem is solved.

1) I changed my export directory to /tmp/export.

2) Executed SMIGR_CREATE_DDL export.

& it went fine.

Thanks