Logical path creation for an InfoSpoke
Hi,
I have an InfoSpoke for which I need to create a Logical Path. All I know is it involves some commands in MSDOS may be. Could anyone please let me know the procedure for the same?
Thanks.
Hi Bobs,
Go to File trnx -> drill down the Logical File Path Definition -> Clcik on "Create a logical file path" in middle of the screen ->
Then it will prompt for details of logical path you want to create
EX: you can specify in the same lines as give below
Logical path ZXXXXXXXXXX
Name Description of ZXXXXXXXXX
Syntax group UNIX Unix compatible
Physical path /ABC/XYZ/<FILENAME>
ZXXXXXXXXX is the logical path you want to create
/ABC/XYZ/<FILENAME> -> /ABC/XYZ/ is the physical path in your server where your files will stored. dont forget to give filename within <> as shown above.
Just save after that
Regards
Sunil
Similar Messages
-
Logical file creation for physical inventory
Hi,
How to use MI31/MI34/MI37 t.codes for Physical inventory.
What is mean by logical file.
Regards,
PrabuHi
I didnt work on MI34. But SAP help gives below reference: Check with an ABAPer
Short text
Batch input: Enter count with reference to document
Description
This report generates a batch input session (BI session) which, when processed, enters the inventory count results with reference to a physical inventory document.
Before you start the report, make sure that the file entered on the selection screen is stored in the specified directory at operating system level.
The data for the batch input session is imported from an external dataset as a sequential file. The structure of the sequential file is preallocted by the table BISEG. You can display and print this structure via the information system in the data dictionary. Note that the object class Fields is chosen on the request screen of the information system.
Requirements
Entering counting results via a batch input session requires that the corresponding physical inventory document has been created in the system. If you try to enter a counting result for which no physical inventory document exists, an error will occur during the BI session, which will interrupt processing.
Any errors are recorded in the log file for the corresponding BI session.
Before the sequential file is read, you should perform a test run. For this purpose, you have to maintain the corresponding test data in table T159I. For the sequential file data to be read and and for test data in table T159I, please note the following:
The name of the report has to be specified only in table T159I. The name to be specified is RM07II34.
The name of the BI session is optional.
The name of the transaction Enter inventory count to be specified is MI04.
The following data must be entered into the system:
Count date
Fiscal year
Number of physical inventory document
Item in physical inventory document
Quantity of stock counted
Output
The system generates a batch input session which you can process via options System -> Services -> Batch input -> Sessions.
When processing the batch input session for testing purposes, you should set the Display errors only indicator.
When importing the actual productive data, you should always use the Background indicator.
If data expected by the system (required-entry fields) does not exist, an error will occur during the batch input session which will interrupt processing.
An error will also occur during the batch input session if you try to maintain data not expected by the system (fields not ready for input). However, processing will not be interrupted. The system writes a comment in the session log.
Thanks -
Storedge 3510 changed logical path after installation
Hi everyone!
I have a E450 with 2 HBA conneted to a Storedge 3510, and I installed Solaris 10, but after that my storedge 3510 changed the original LUN's logical path. For example:
Before installation: c4t600601608ED80800C109FE8C4652DB11d0s2
After installation: c4t45d0
Does anybody know why I see this in a different way???
I need the old name!!!
THAHKS!!Hi.
fcinfo hba-port Speed information etc.
luxadm -e port Show available FC-ports and him status.
luxadm -e dump_map <controller address from previos comand>
cfgadm -al
cfgadm -al -o show_FCP_dev
Try reconnect array.
You use direct connections or FC-switch?
I not sure but some-times can be damaged /kernel/drv/fp.conf
/kernel/drv/scsi_vhci.conf
Check it:
# grep -v "#" fp.conf
name="fp" class="fibre-channel" port=0;
name="fp" class="fibre-channel" port=1;
scsi-binding-set="fcp";
load-ulp-list="1","fcp";
ddi-forceattach=1;
mpxio-disable="yes";
# grep -v "#" scsi_vhci.conf
name="scsi_vhci" class="root";
load-balance="round-robin";
auto-failback="enable";
#Regards. -
Infospoke - How to single Logical Filename for all infospokes
Hello all,
I want to only have one logical path and logical filename for all of my infospokes.
For example if I have infospokes ZAAA, ZBBB, ZCCC, I want to have only one common setting in the destination properties of TC:RSBO but three different distinguishable files on my OS.
I think with the standard settings, I have to make one logical file for every infospoke I have.
I am aware that I can put <DATE> or <TIME> etc in the logical file settings but that will not distinguish which infospoke the file came from.
I want my file to look more like <INFOSPOKE>_<DATE><TIME>.csv
I've already seen the document "How to Extract Data with OPEN HUB to a Logical Filename" and this is not it because I have BW3.5 and 3.5 already does what this article says.
Any help would be greatly appreciated.
Just in case, I am on BW3.5 SP17 on Windows/SQL.Jasprit,
Thanks for your input.
The functionality of the FM you said is similar to the InfoSpoke functionality...
Is it the same thing?
I wonder if I use this it means it is not part of the InfoSpoke license...
I will have our programer look at it and see what he thinks but in the mean time any other information is greatly appreciated. Especially if I can stick with using the standard InfoSpoke functionality...
Isn't this kind of functionality something that everyone wants?
I wonder why SAP didn't make it like this? -
Logical Paths created using /nFILE transaction used in InfoSpokes
Hi all,
I am creating an InfoSpoke in 3.5, wherein I am using logical file/Path to store the file generated on application server.
My path is something like this
/interface/CCD/BWD/outbound.. (Where BWD is development server)
When I will transport this to quality (Say BWQ), i want my path to be
/interface/CCQ/BWQ/outbound..
So will it automatically convert when I transport infospoke and Logical Path/File from development to quality?Use a Function Module exit (Z_FILENAME_EXIT_name). See below.<br/><br/>
<strong>Use</strong><br/>
The physical file name is used by the function module FILE_GET_NAME at runtime to compose a complete platform-specific file name. If nothing is entered in the field Logical path, the file name may also contain the file path. In this case, the file name applies only to one hardware platform and must conform to the syntax of this platform.<br/><br/>
<strong>Procedure</strong><br/>
Enter a file name. You can use reserved words, which are substituted by the current values at run time. Reserved words must be enclosed in angle brackets (ignore the '):<br/><br/>
<strong>Reserved word</strong> <strong>Word to be substituted</strong><br/>
<'OPSYS'> Operating system in call<br/>
<'INSTANCE'> R/3 application instance<br/>
<'SYSID'> R/3 application name in SY-SYSID<br/>
<'DBSYS'> Database system in SY-DBSYS<br/>
<'SAPRL'> R/3 release in SY-SAPRL<br/>
<'HOST'> Host name in SY-HOST<br/>
<'CLIENT'> Client in SY-MANDT<br/>
<'LANGUAGE'> Log on language in SY-LANGU<br/>
<'DATE'> Date in SY-DATUM<br/>
<'YEAR'> Year in SY-DATUM, 4-character<br/>
<'SYEAR'> Year in SY-DATUM, 2-character<br/>
<'MONTH'> Month in SY-DATUM<br/>
<'DAY'> Day in SY-DATUM<br/>
<'WEEKDAY'> Day of the week in SY-FDAYW<br/>
<'TIME'> Time in SY-UZEIT<br/>
<'STIME'> Hour and minute in SY-UZEIT<br/>
<'HOUR'> Hour in SY-UZEIT<br/>
<'MINUTE'> Minute in SY-UZEIT<br/>
<'SECOND'> Seconds in SY-UZEIT<br/>
<'PARAM_1'> External parameter 1<br/>
<'PARAM_2'> External parameter 2<br/>
<'PARAM_3'> External parameter 3<br/><br/>
<'P=name'> Name of a profile parameter (see Report RSPARAM for valid values)<br/><br/>
<'V=name'> Name of a variable (stored in variable table)<br/><br/>
<'F=name'> Return value of a function module<br/>
Naming convention for this function module:<br/>
FILENAME_EXIT_name<br/><br/>
<'Y=name'> Return value of a function module<br/>
Naming convention for this function module:<br/>
Y_FILENAME_EXIT_name<br/><br/>
<'Z=name'> Return value of a function module<br/>
Naming convention for this function module:<br/>
Z_FILENAME_EXIT_name<br/><br/>
<strong>Dependencies</strong><br/>
The function module for the run-time variable <F=name> must meet the following requirements:<br/>
u2022 Name<br/>
The name must begin with "FILENAME_EXIT_".<br/>
u2022 Parameter<br/>
- An export parameter with name "OUTPUT" must exist. No structure may exist for the parameters<br/>
- Import parameters are only supported if they have default values.<br/>
- Table parameters are not supported.<br/><br/>
Valid example: FILENAME_EXIT_EXAMPLE.<br/> -
Logical path for getting a Flat file from application server
Hi All,
We have loaded some .csv files to application server, what is the logical path we have to mention in the infopackage scheduler screen? please guide me how to give the path for getting a flat file from application server.
Thanks,
Sairam.Hi Sairam,
I hope you know which location you have saved in the Application server.
Now if you go to the Infopackage and click on the "External Data" tab, there you will see Radio Buttons for
1) Client Workstation
2) Application Server
Choose the second radio button, then in the Field "Name of the File" you will be able to use the F4 help and browse AL11 transaction through this option. You can then choose the File.
Hope this helps
Regards,
Praveen. -
Logical File creation in Logical path
Hi all,
I am after an info, how to create different logical file name in the same physical path.
Suppose I have physical path: X/claims/interface/outbound which is assigned to logical path LP
Now under this path I want to store some logical file say 1, 2, and 3
What would be the naming convention? & how to do it?
Any help would be highly appreciated.
Regards,
Kironmoy Banerjee.Hi,
Use FM u2018FILE_GET_NAMEu2019 to assign the physical file name using a logical file name.
Remember you need to create u2018logical file nameu2019 using transaction u2013 FILE.
R/3 applications run on various platforms with various file systems. Hence we use platform-independent logical file names in our application programs.
Function module u2018FILE_GET_NAMEu2019 converts a logical file name to the corresponding physical file name and path for the hardware platform concerned.
For this conversion to work for different platforms, the definition of a logical file name must include a logical file path, which in turn is converted to different physical file paths, depending on the particular platform. The platform-specific file name returned by the function module is composed of the physical file path for the current platform and the physical file name associated with the logical file name. Placeholders in physical file and path names are substituted at runtime by the corresponding current values.
Example
logical file name: MONTHLY_SALES_FILE
physical file name: VALUES<PARAM_1>
logical path: SALES_DATA_PATH
physical path (UNIX): /usr/<SYSID>/<FILENAME>
physical path (Windows): C:\SALES\<FILENAME>.
Santosh
Edited by: Santhosh Nagaraj on Sep 30, 2009 2:45 PM -
I am working on creating LSMW - sample conversion for PIR. I struck up in the u201CSpecify filesu201D step by creating Logical Path.
Step 1 : I have done it thru T.Code : FILE in that first by creating Logical File path.
Step 2 : Assignment of Physical Paths to Logical Path
I have maintained Syntax Group as WINDOWS NT and given the Physical path as C:\TEMP\<FILENAME>
Step 3 : Logical File Name Definition , Cross Client
I have maintained Logical File, Name, Physical File , Data Format ,App Area , Logical Path.
After maintaining I am getting the error message u201C LOGICAL PATH PUR_INFO_RECORD DOES NOT EXISTu201D.
Please help me out to solve this issue.
Thanks & Regards,
Manispecific to LSMW there is OSS note 753511 that describes what to do.
If you have authority for x-client customizing then you can directly type a name for logical path and file name
e.g. LSMWLOGPATH and LSMWLOGFILE, hit enter and LSMW will create the logical path and file name for you.and you dont need to do it with transaction FILE.
Go into the step "Specify files".
place cursor onto line "converted data"
click change button.
you get a pop-up with the logical path.
Just hit enter and LSMW will create the path itself. -
How to Configure logical path and how to retrieve physical path for an IDOC
Hi ,
I want to configure logical path for an IDOC,
and then I need to retrieve Physical path from this logical path
using a FM (eg. FILE_GET_NAME).
How to configure the logical path for an idoc ?
Regards ,
Harshit RungtaUsing Logical Files in ABAP Programs
To create a physical file name from a logical file name in your ABAP programs, use the function module FILE_GET_NAME. To insert the function module call in your program, choose Edit ® Insert statement from the ABAP Editor screen. A dialog box appears. Select Call Function and enter FILE_GET_NAME. The parameters of this function module are listed below.
Import parameters
Parameters
Function
CLIENT
The maintenance tables for the logical files and paths are client-dependent. Therefore, the desired client can be imported. The current client is stored in the system field SY-MANDT.
LOGICAL_FILENAME
Enter the logical file name in upper case letters that you want to convert.
OPERATING_SYSTEM
You can import any operating system that is contained in the list in Transaction SF04 (see Assigning Operating Systems to Syntax Groups). The physical file name will be created according to the syntax group to which the operating system is linked. The default parameter is the value of the system field
SY-OPSYS.
PARAMETER_1
PARAMETER_2
If you specify these import parameters, the reserved words in the physical path names will be replaced by the imported values.
USE_PRESENTATION
_SERVER
With this flag you can decide whether to import the operating system of the presentation server instead of the operating system imported by the parameter OPERATING_SYSTEM.
WITH_FILE_EXTENSION
If you set this flag unequal to SPACE, the file format defined for the logical file name is appended to the physical file name.
Export Parameters
Parameters
Function
EMERGENCY_FLAG
If this parameter is unequal to SPACE, no physical name is defined in the logical path. An emergency physical name was created from table FILENAME and profile parameter DIR_GLOBAL.
FILE_FORMAT
This parameter is the file format defined for the logical file name. You can use this parameter, for example, to decide in which mode the file should be opened.
FILE_NAME
This parameter is the physical file name that you can use with the ABAP statements for working with files.
Exception Parameters
Parameters
Function
FILE_NOT_FOUND
This exception is raised if the logical file is not defined.
OTHERS
This exception is raised if other errors occur.
Suppose the logical file MYTEMP and the logical path TMP_SUB are defined as in the preceding topics and we have the following program:
DATA: FLAG,
FORMAT(3),
FNAME(60).
WRITE SY-OPSYS.
CALL FUNCTION 'FILE_GET_NAME'
EXPORTING
LOGICAL_FILENAME = 'MYTEMP'
OPERATING_SYSTEM = SY-OPSYS
PARAMETER_1 = '01'
IMPORTING
EMERGENCY_FLAG = FLAG
FILE_FORMAT = FORMAT
FILE_NAME = FNAME
EXCEPTIONS
FILE_NOT_FOUND = 1
OTHERS = 2.
IF SY-SUBRC = 0.
WRITE: / 'Flag :', FLAG,
/ 'Format :', FORMAT,
/ 'Phys. Name:', FNAME.
ENDIF.
The output appears as follows:
HP-UX
FLAG :
FORMAT : BIN
Phys. Name: /tmp/TEST01
In this example, the R/3 System is running under the operating system HP-UX, which is member of the syntax group UNIX. The logical file name MYTEMP with the logical path TMP_SUB is converted into a physical file name /tmp/TEST01 as defined for the syntax group UNIX. The field FNAME can be used in the further flow of the program to work with file TEST01 in directory /tmp.
Suppose we have a logical file name EMPTY with the physical file name TEST, connected to a logical path that has no specification of a physical path. If you replace the EXPORTING parameter 'MYTEMP' with 'EMPTY' in the above example, the output appears as follows:
HP-UX
FLAG : X
FORMAT :
Phys. Name: /usr/sap/S11/SYS/global/TEST
The system created an emergency file name, whose path depends on the installation of the current R/3 System. -
Assign Logical file name for the physical file path through Program
Hi all,
I am having a physical file which is getting generated dynamically. It is having the date and time stamp in its name which is added at runtime.
Now I need to assign a logical file name for the physical file path through the program.
Is there any FM or any other method to assign the same.
GauravI think it is not possible. becuase the date & time added at runtime. so if you check the table PATH you can find filename and their definitions
a® -
Need same logical path for multiple objects in a Single project
Dear All,
I have a requirement where I wish to ensure that whenever an object is created in the LSMW transaction (In a Single Project), that object has to be created always under the same logical path name.
This logical path I want to define under the transaction FILE.
Is it possible to get this done?
Please help,
Regards,Nimish,
Please tell me how to ensue that for every object created we get the same logical path without entering any value.
The path i mean is the one defined in the transaction FILE
Thanks for your input.
Regards, -
Need FM to find physical path for given logical path
Hi Guru's,
I wanted to find the physical path for the given the logical path.
I have a requirement where i have to write records into the file mentioned via logical path .Inside the program i wanted to fetch the physical path for given logical path .
Is there any FM to achieve this functionality.
Thanks!!
PraveeUse fm FILE_GET_NAME to get physical file name from a logical file name. But u have to maintain the mapping between logical file name and physical file name in tran. FILE.
call function 'FILE_GET_NAME'
exporting
logical_filename = lds_name << Logical file name
importing
file_name = ds_name << Physical file name
exceptions
file_not_found = 01.
Regards,
Joy. -
Regarding logical path....LSMW
dear all..
i m working on LSMW for BOM creation.. i have created two flat files for header and the child windown (component). but when i m creating session, its asking for a logical path.. i have tried it with the t code FILE.. but its not working.
can anybody tell me how to assign logical file and logical path during creation of sesion.. is there anything with the authorization issue or something else..
pls help
jigar t patel> dear all..
> i m working on LSMW for BOM creation.. i have created
> two flat files for header and the child windown
> (component). but when i m creating session, its
> asking for a logical path.. i have tried it with the
> t code FILE.. but its not working.
What "is not working"?
Markus -
Logical filename and logical path in lsmw
Hi all,
I am doing a lsmw for purchasing info record . i created a logicalpath and assigned a physical path to that . i created a logical filename and assigned the logical path .but when i assign that to the lsmw it is throwing error as 'LOGICAL PATH DOES NOT POINT TO PHYSICAL DIRECTORY' .
can anybody provide a solution for that .
Thanks & regards
Magesh anandanhi ,
goto the tcode file then u find the relation between the logical and physical paths ...and their assignment..
hope it will helps u..
regards,
venkat. -
LSMW: Error concerning the logical path in Specify Files step
Hi,
I am trying on an ECC 6.0 EHP6 system to upload (open) POs from an existing SAP ERP system. Since I faced some complications in batch input recording method, I decided to go with the standard batch/direct input method.
I selected object 0085 (Purchase Order) and method 0001 (Purchase Order). The program that is used is RM06EEI0. I followed all the usual steps, but in the "Specify Files" step I get the message:
'****.lsmw.conv' does not exist; edit the logical path using transaction FILE
Being aware of both the FILE and SF01 transactions, I created the logical path and file (through the FILE transaction). However, after the modification, I get the message:
Logical file '****' is not assigned to physical file '****.lsmw.conv'
There is also the related SAP Note 753511 (Logical and physical path and file name in transaction LSMW) that refers to this case.Hi,
Click on specify file radio button>Legacy data-on the PC Front end
where input file location like C:\mydocument\desktop\test.txt
and give input in Name field: mydocument
in delimiter section > select Tabular
File structure section> tick on Field order matches source structure definition
File type: Record end marker(Text file)
then press enter key and other steps as same.
Second thing you said that you have used Batch input recording
after creation and recording finish , scroll the page below on recording and put a cursor unwanted field and remove unwanted input field.
I hope your problem will resolve. you can find the steps pdf on Google search try now.
Thanks
Sanjeet Kumar
Maybe you are looking for
-
I used to be able to click on download file and the picture would open in the same screen. Now it downloads, but I need to go to the bottom of the screen, click on downloads, and then view the picture.
-
IMac display doesn't fit flush?
The display has a slight gap on the top edge and the glass itself is shifted a bit left so it's can't fit flush to frame. I think over time dust will get in there and be a problem. Has anyone ever had this happen and can it be fixed?
-
I just upgraded to Microsoft Office 2010 (I had 2007). When I sync my iPhone to my MS Outlook 2010 I now see two calendars on my iPhone. In MS Office 2007 and the 3.1.3 FW is was okay. Is this a MS Office 2010 issue. I have Windows 7 Ultimate 64 bit
-
Color Finesse in Premiere Pro?
In the November Issue of Sound on Sound Magazine Mark Butler did a review of CS5 Production Premium, and states the following: "The version bundled with After Effects is Color Finesse 3 LE, and it can also be used directly in Premiere Pro if you like
-
Automatic brackets in new editor
Hi all, I really love the 'automatic brackets' feature of the new ABAP editor. Some years ago, it worked for () [] {} and <>. Then with a new version of SAP GUI, <> did not work any longer. After lots of search, we found the <OpenClose> tags in some