Skip to Content
author's profile photo
Former Member

Logical file & is not assigned to physical file &.lsmw.conv

Hi

I've gone through some other posts with similar queries, but none of the suggestions works for us (it might be that the SAP Versions differ).

We're using the following Import Method in LSMW

My Logical File Path Definition looks as follows

My Logical File Name Definition looks as follows

My Converted Data Logical Path and File definition is as follows:

However I get the following error and don't know how to fix it?

Your assistance will be greatly appreciated.

Thank you and best regards,

Adrian

Add comment
10|10000 characters needed characters exceeded

  • Follow
  • Get RSS Feed

4 Answers

  • Best Answer
    author's profile photo
    Former Member
    Oct 05, 2015 at 09:09 AM

    Daniela Butnar's post ( LSMW - Logical Path/File - No logical path has ... | SCN ) put me on the right track, but there was still something different in our system as I still got error message "File & is not in the directory area global". So after stepping ABAP code for quite a while I saw it referenced Logical File /SAPDMC/LSMW_FILE, which referenced Logical File Path /SAPDMC/LSMW_FILE_LP, which was linked to Physical path <P=DIR_GLOBAL>/<FILENAME>. Daniela's LSMW PATH link settings point to <FILENAME>, so I deleted the <P_DIR_GLOBAL>/ part and just made it <FILENAME>. That was the missing link. Now it works. Just another tip, please keep your LSMW Project, Subproject and Object names very short. I suggest 5 characters each maximum. Otherwise if the physical file path is long, the physical file-name gets truncated and you don't get a user-friendly error message. It just says your logical file and path settings are not set up. I'm adding my 6-step config below:

    Step 01:

    Step 02:

    Step 03:

    Step 04:

    Step 05:

    Step 06:

    Best regards,

    Adrian Bruwer

    South Africa


    LSMW FIX 01.png (9.3 kB)
    LSMW FIX 02.png (33.8 kB)
    LSMW FIX 03.png (15.2 kB)
    LSMW FIX 04.png (16.8 kB)
    LSMW FIX 05.png (15.6 kB)
    LSMW FIX 06.png (15.6 kB)
    Add comment
    10|10000 characters needed characters exceeded

  • Oct 02, 2015 at 07:32 AM

    This message was moderated.

    Add comment
    10|10000 characters needed characters exceeded

  • Oct 02, 2015 at 08:40 AM

    If you have in general authority to create logical files and paths then just let LSMW do this job for you.

    Enter a desired name for logical path and logical file, then click the green check mark button.

    SAP will give you pop-up asking if you want to create the logical path and file and you just need to confirm .

    try it for example by using Z_INFOREC for both fields, logical path and logical file.

    Add comment
    10|10000 characters needed characters exceeded

  • Jul 18, 2016 at 07:29 AM

    This message was moderated.

    Add comment
    10|10000 characters needed characters exceeded