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 Upload

Former Member
0 Kudos

Hi All,

I am trying to upload BOM (Bill of material) data using LSMW standard progarm.

Every thing is done correctly, like importing, mapping, converting etc. But when i try to create a batch input session using LSMW standard radio button, it is asking for the 'Logical File name'. I tried to give the file name that got when i tried to read the converted data but it terminated saying that no physical path found.

When i tried to give the physical path and file name, it is asking for the logical path.

Please help as what can be entered in the logical file name. Or do we have to create a new logical file and put in some data there.

I have done many data uploads for cust master, GL master, material master, but it never asked for the logical file name in the step 'Create Batch Input Session'.

Its urgent.

Thanks,

NC

1 ACCEPTED SOLUTION

Former Member
0 Kudos

Hi,

Very known situation for me. I think it is little bug in LSMW (or hidden feature if you like), but there is one little workaround for that.

You just put any, not used logical file name in your file definition step. LSMW will create this logical file byself und will use when is needed, but you just forget about it in future. Don't forget to recreate this file, when you move your LSMW to test and production systems, it is not created automaticaly there.

BR

Egils

9 REPLIES 9

Former Member
0 Kudos

Hi NC,

Logical filenames and file paths are maintained via transaction <b>FILE</b>.

Within this transaction you simply enter the file name and path details to the relevant directories and paths on the operating system where the data file is stored (just look at some of the entries that have been entered already and copy the relevant ones - just change some of the values like the name of the file, to what you need).

SAP then uses this information to retrieve the correct file for the upload of data during the dataload.

I hope this helps.

Hafeez

Former Member
0 Kudos

Hi,

Very known situation for me. I think it is little bug in LSMW (or hidden feature if you like), but there is one little workaround for that.

You just put any, not used logical file name in your file definition step. LSMW will create this logical file byself und will use when is needed, but you just forget about it in future. Don't forget to recreate this file, when you move your LSMW to test and production systems, it is not created automaticaly there.

BR

Egils

0 Kudos

Hi Eglis,

Thanks for replying so soon.

I tried giving one logical file name. Then it is asking to choose the processing option. When i give select one and press continue, it is giving an error as 'No physical file name can be determined for logical file name.

still when i go to run batch input and process it, it is not updating the main table.

what can be done.

Thanks,

0 Kudos

You should specify both Logical File Path and File name, for both you can use generic names, it's temporary file anyway. LSMW allows assignement of files to structures even you did not specify LFP & LFN, but it gives error when you try to process the file

0 Kudos

Hi,

I have a bit of confusion here.

How can i give the two names (logical file and physical file).

Please send me the process for doing so, or if possible the accurate antry.

thanks

0 Kudos

Hi,

Within the LSMW option 'Specify Files', Double click on

'Converted Data' and a popup box will allow you enter

file name , logical path and logical file.

bg

0 Kudos

Hi Bg,

Thanks a lot.

It worked that way.

Regards,

NC

Former Member
0 Kudos

Little addition to previous post.

I noticed, that this bug started just with recent version of LSMW. I'm using this tool since 2000 and I start to get problems only this year.

Former Member
0 Kudos

Hi,

I think ur problem is solved regarding BOM.

so can u plz help me out.

How to create the flat file for BOM if i am going to upload the data using LSMW.

since header and items details are to be taken into consideration.

Regards

usha