April 10, 2017 | Author: jacoscribd2000 | Category: N/A
Download Create Logical Path and File for LSMW _ SAP Tribal Knowledge...
10/3/2014
Create Logical Path and File for LSMW | SAP Tribal Knowledge
SAP Tribal Knowledge 2011/07/13
Useful Information for SAP Power Users
Create Logical Path and File for LSMW Posted by feimster under LSMW, SAP | Tags: classification, Converted Data, FILE, goods movement, logical file, logical path, LSMW, material BOM, namespace, planned independent requirements, Purchasing Info Records, RCSBI010, RM06IBI0, RM07MMBL, RM60IN00, SAP | [13] Comments There are certain LSMW Direct Input programs that require you to specify a logical path & file when constructing your LSMW. You’ll find this is required in the “Specify Files” step of the LSMW. The program for creating purchasing info records (object 0060 / method 0000 / program RM06IBI0) is a good example.
The details of the rest of the LSMW are not pertinent to this discussion, so let’s skip directly to the step “Specify Files”.
This is the status in display mode. Switch to change mode and you’ll see that the system proposes values for Imported Data and Converted Data. The values in these fields are limited to 45 characters for technical reasons, so check that the proposed values do not exceed this length. The system will prevent you from saving if either of the fields do not meet the criteria.
http://saptribalknowledge.wordpress.com/2011/07/13/create-logical-path-file-for-lsmw/
1/7
10/3/2014
Create Logical Path and File for LSMW | SAP Tribal Knowledge
Drill into the Converted Data proposal and you can see that two additional fields are necessary for this LSMW: logical path and logical file. Unfortunately, these cannot be created on the fly. You must exit LSMW and create them before assigning. Before leaving, however, make a note of the file name on the screenshot above. We will assign this specific file to the logical file we create below. Use transaction FILE to start the process of creating the logical path and logical file. You should be aware that this is a cross-client table – the system will warn of this fact. In this transaction, we’ll execute two steps to define the path and file. Once complete, that data will be saved in a Workbench transport. With that in mind, you will need to be working in a client where you have authority to create such a transport and are able to modify cross-client settings.
To start, use the folder labeled “Logical File Path Definition”. Although you can copy from existing, I’ll show the process to create from scratch to help understand all aspects. Click on the button “New entries”.
Enter an appropriate path name, up to 60 characters. The appropriate namespace for this entry includes names starting with Y or Z. Additionally, type a description for this new entry. Press enter or click the green checkmark to validate your new entry.
http://saptribalknowledge.wordpress.com/2011/07/13/create-logical-path-file-for-lsmw/
2/7
10/3/2014
Create Logical Path and File for LSMW | SAP Tribal Knowledge
Highlight the new entry and double-click on the subfolder labeled “Assignment of Physical Paths to Logical Path”. In this section, you’ll assign a placeholder.
Click on “New Entries”.
I’ve always used the Syntax group “Unix”. Recognizing that I’ve always been in SAP environments where Unix was used, I cannot say if this is the only value that should ever be used. Looking at the dropdown, it is obvious that there are other possibilities. Use what is appropriate for your environment. For the Physical path, use . Looking at the help for this field, you’ll find there are several other identifiers that could be added here. From my experience, this suffices.
After validation, your new entry should look something like the screenshot above. The next step is to create the logical file which has a link to the logical path. In order to do that the path has to be recorded in the database – that is, you need to save first.
Once the logical path is saved, you can continue. Double-click on the folder labeled “Logical File
http://saptribalknowledge.wordpress.com/2011/07/13/create-logical-path-file-for-lsmw/
3/7
10/3/2014
Create Logical Path and File for LSMW | SAP Tribal Knowledge
Once the logical path is saved, you can continue. Double-click on the folder labeled “Logical File Name Definition” and click on “New Entries”.
In the field Logical file, I use an identifier similar to the logical path above, replacing “PATH” with “FILE”. In Name, I use the same description as used in the logical path. In Physical file, you’ll need to use the file name that was mentioned above in the LSMW. In Data format and Applicat.area, I use the values ASC (ASCII data type) and BC (Basis Components/SAP NetWeaver), respectively. Finally, in Logical path, use the logical path identifier created above. You can see that there are dropdowns for the last three fields, but Physical file is free-form text. Be aware that there is no system validation on this field. Be certain that you use the same value in the LSMW.
Above is the completed new entry after validation. Save again. If you did not leave the transaction between creation of the logical path and logical file, the system should store this new entry in the same transport request. Go back to the LSMW and the “Specify Files” step. Switch to change mode and drill into the Converted Data proposal. You can now assign your recently created logical path and logical file.
Other examples of load programs that require a logical path and file: http://saptribalknowledge.wordpress.com/2011/07/13/create-logical-path-file-for-lsmw/
4/7
10/3/2014
Create Logical Path and File for LSMW | SAP Tribal Knowledge
creating material BOMs (object 0030 / method 0001 / program RCSBI010) posting goods movements (object 0110 / method 0000 / program RM07MMBL) updating classification (object 0130 / method 0000 / program RM07MMBL RCCLBI03) creating planned independent requirements (object 0180 / method 0000 / program RM60IN00) Your input is welcome for other examples you come across. Edit 2014/02/04: the program name identified for updating classification was incorrect. It should have been RCCLBI03. The requirement for a logical path and file is still valid.
13 Responses to “Create Logical Path and File for LSMW” 1.
[email protected] Says: 2012/03/21 at 14:11 very good article..you saved my day..thanks. Reply 2. Ivana Says: 2012/07/03 at 21:00 Very good article. Thank you very much!! Reply 3. Aravind Says: 2013/01/07 at 18:12 Thank you very much. Its very helpfull and saved a lots of time for us. Reply 4. Melynessa Says: 2013/03/08 at 03:16 Great Job.. ^-^ Reply 5. devendra vella Says: 2013/06/26 at 11:33 http://saptribalknowledge.wordpress.com/2011/07/13/create-logical-path-file-for-lsmw/
5/7
10/3/2014
Create Logical Path and File for LSMW | SAP Tribal Knowledge
after doing this it is displaying as logicalpath does not exist. Reply 1. feimster Says: 2013/06/27 at 14:03 Can you describe exactly what steps you followed and where you are seeing the error message? Reply 6. Sudheer Says: 2013/07/20 at 10:18 HI Followed the process, but ‘logical path doesn’t exist’ error is coming But in F4 of logical path it is showing path I created. Reply 1. feimster Says: 2013/07/21 at 02:46 I’m not sure exactly how to respond. As you can see from other comments, several others have successfully followed the process. If you can provide more details perhaps we can discover where things went wrong. Reply 7. ManojKumar Says: 2013/09/01 at 09:00 Yes for me also,showing logical path does not exist after did the whole process as above Reply 1. feimster Says: 2013/09/02 at 18:39 When you say “showing the logical path”, do you mean within LSMW or within the transaction FILE? Reply 8. Giorgi Says: 2013/11/18 at 12:22 Hi, i had the same problem. If you want solve it you must change the syntax group. The syntax group for me was WINDOWS_NT. http://saptribalknowledge.wordpress.com/2011/07/13/create-logical-path-file-for-lsmw/
6/7
10/3/2014
Create Logical Path and File for LSMW | SAP Tribal Knowledge
PS: Sorry for my english. Reply 1. feimster Says: 2013/11/18 at 12:57 This highlights the point I tried to make in the original post with respect to the syntax group. Check with your Basis team to see what type of underlying file system is being used. This will help you make the correct choice and avoid issues like the file not being found. Reply 2. gut Says: 2013/11/27 at 08:52 Thank you, that worked for me. I checked the system status entries and changed the syntax group according to that (it was WIN NT) Reply
Blog at WordPress.com. — The Connections Theme. Follow
Follow “SAP Tribal Knowledge” Powered by WordPress.com
http://saptribalknowledge.wordpress.com/2011/07/13/create-logical-path-file-for-lsmw/
7/7