cancel
Showing results for 
Search instead for 
Did you mean: 

Transaction FILE - short dump on entering Physical File with reserverd word

Former Member
0 Kudos

Hello,

In transaction FILE, I am trying to set the "Logical File Name Definition, Cross-Client". These are the values I have given for an entry:

Logical file ZARCHIVE_DATA_FILE

Name Test Archive file

Physical file <PARAM_1>_<DATE>_<TIME>_<PARAM_2>.ARCHIVE

Data format ASC

Applicat.area PM

Logical path Z_ARCHIVE_FILE_LOCATION

But when I try to save this, it gives me a short dump as below:

*****************************************

Short text

ASSIGN to a substring not allowed.

What happened?

Error in the ABAP Application Program

The current ABAP program "SAPL0SFN" had to be terminated because it has

come across a statement that unfortunately cannot be executed.

Error analysis

A field symbol should have been set to a substring.

However, this is not allowed.

Maybe a substring was intended to be used in a parameter transfer.

This is not possible, either.

Trigger Location of Runtime Error

Program SAPL0SFN

Include L0SFNI01

Row 223

Module type (MODULE PAI)

Module Name CHECK_FILE_SYNTAX_CI

******************************************

When I replace the "Physical file" value with a normal text without the reserved words (example: archive1.dat or PM_EQUI.archive), it lets me save it. But every time it writes a new archive file, I am having to change the Physical file name.

How do I avoid this issue?

Thanks,

Ajay

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi,

Please find the note attached below.

Note 792061 - SP Case Locator: Dump: ASSIGN to a substring isn't allowed.

But i dont thinkwe need to give the .aARCHIVE in the end.

Thanks

Rishi Abrol

Former Member
0 Kudos

Hi Rishi,

That note is invalid since we are already on 7.0 and the note is for 6.20.

I just added .archive in the end just like that, but its the reserved words thats causing the short dump.

Thanks,

Ajay

Former Member
0 Kudos

try this syntax for the logical path:

/usr/sap/<SYSID>/data/archiv/<FILENAME>

and this for the file

R<PARAM_1><MONTH><DAY><PARAM_2>.<TIME>.<F=EXAMPLE>

take care about the 'brackets' <>.

Former Member
0 Kudos

Hi Mylene,

Even that gave the same short dump.

Thanks,

Ajay

Former Member
0 Kudos

I applied SAP Note 1297989 - Short dump ASSIGN_SUBSTRING_NOT_ALLOWED. This solved the issue.

Thanks,

Ajay

Answers (0)