Application Development 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: 

LSMW material list

Former Member
0 Kudos

Hi.

I making a LSMW in module of PP (material list) and in the step number 6 (specify files) it is asking me for the

Logical Path and the Logical File but I don´t know what I have to set in addition that both are aobligatory.

does some body can help me???

pleeeeeeeeeeeeeeeeaaaaaaaaaaaaassseeeeeeeeeee!!!!!!

8 REPLIES 8

Former Member
0 Kudos

I Guess you are stuck up in Assign files for Converted data . ( For legacy data and imported data , you can directly specify the file name with path ).

Logical Path and file name you can create a custom one in transaction FILE and then use it in LSMW.

For testing Purposes just use LOGICAL FILE PATH "TMP".

It points to physical path "/tmp/<FILENAME>"

For logical file give any name and system will prompt you to create one in LSMW itself.

In file just give "/tmp/mat_list" .

( It seems logical file is dummy entry only ).

Cheers

0 Kudos

You can enter anything there. If it is not already there, it will create one for you.

Srinivas

Former Member
0 Kudos

Hi,

They are nothing but locations in application server where the imported and converted data will be stored.

Give any meaningfull file name and file path, but make sure u have write access to that file path, otherwise u will get a short dump.

Give something like /LSMW/PP/MATERIALLIST/IMPORT.DAT

and /LSMW/PP/MATERIALLIST/EXPORT.DAT

Former Member
0 Kudos

ok, I put the next::

File ZCARGAPP01_Z1_Z11.lsmw.conv

Logical Path TMP

Logical File /tmp/mat_list

but I tell me:

Logical path 'TMP' does not point to physical directory.

now, if I put somethig like this, I must have a directory with the same structure?

Logical Path /LSMW/PP/MATERIALLIST/IMPORT.DAT

Logical File /LSMW/PP/MATERIALLIST/EXPORT.DAT

Message was edited by: Adrian Samper

Former Member
0 Kudos

<u>Logical path 'TMP' does not point to physical directory.</u>

It does exits and points to /tmp/<FILENAME> , you have to additionally specify Logical File.

( Check in transaction FILE )

I am not sure whether you problem resolved or not.

In LOGICAL PATH - "TMP"

In LOGICAL FILE - "TEST".

( This will automatially create a physical file /tmp/TEST

in your unix )

In file name give "/tmp/TEST".

A logical path has to exist in tcode "FILE" before you can use it in LSMW . A logical file may not necessarily exist , you can define anything ( like "TEST" above).

If problem still persists give details as to where you are assigning file ( Legacy Data / Imported data / Converted Data ).

If answers helped reward points and close thread.

Cheers

Former Member
0 Kudos

ok, In a while I´m sending details.

regards

Former Member
0 Kudos

Ok, it is now loading the data... BUT :o( in the material list just loads only one, for example...

This is the list of materials I want to load:

MATNR WERKS STLAN STLAL BMENG BMEIN IDNRK MENGE MEINS POSTP

NFRA002 1010 3 1 1 Kg NFR21113AW1 1 Kg L

NFRA002 1010 3 1 1 Kg NFR21113AW2 1 Kg L

NFRA002 1010 3 1 1 Kg NFR21113AW3 1 Kg L

NFRA002 1010 3 1 1 Kg NFR21113AW4 1 Kg L

NFRA002 1010 3 1 1 Kg NFR21113AW5 1 Kg L

When it begins to load the data, puts the name of the list of materials (NFRA002) then, it changes of screen to load the group of material, and it only loads the first one (NFR21113AW1) and when it try to put the second one it tells me that the alternative already exists and do not permit to load the another four materials (NFR21113AW2,NFR21113AW3,NFR21113AW4,NFR21113AW5).

Does some body knows how to solve this problem?

I mean...

I want to load lists of materials of diferent number of material.

thanks and regards.

Former Member
0 Kudos

What method are you using in LSMW to load -

Direct Input / BDC/ IDOC / BAPI .

Also give the structure of file ( SAP structure name ) which you are using to load. Don't forget to reward points as your question was on Assign Files and if that is answered .

Cheers