Infopackage and logical files
Hi,
I have to load data from flat files.
- I try with Files on local workstation, infopackage works correctly.
- I try with Files on appli. server, datasource preview is ok, and infopackage doesn't work. I have the message : "Problem occured during the access of AppServ file."
I don't understand why datasource is ok with preview, but infopackage ko !
Any idea to help me ?
thanks a lot.
I tried both of ways (dialog, batch...)
Only flat files from local workstation are ok.
Flat files from application server are ko.
Example :
I tried to load, in dialog :and I have the message text : "Problem occured during the access of APPServ file."
With EXACTLY the same parameters (adapter, file name...), datasource is ok, and preview is ok with data !
any idea ?
Similar Messages
-
InfoSpoke and Logical File Name
We have created an Infospoke to extract data to a logical file. When we define the Logical File Name Definition using the FILE transaction, we have to enter a physical file name. This will require us to create a new Logical File Name Definition for every Infospoke. Instead of hard coding the physical file name in the Logical File Name Definition for each InfoSpoke we would like to dynamically create the file name to include the InfoObject Name (cube, ODS object, etc) in the physical file name.
We have tried to use the <F=CPROG> substitution parameter in the logical file name. When the function module FILENAME_EXIT_CPROG is called we find that we do not have access to any information other then what is available in the system variables (structure SYST)
1. Are there any modification to the class CL_RSB_FILE_LOGICAL and method DETERMINE_FILENAME that we can make to create a logical file name that includes the InfoSpoke name?
2. Is there any way to access any system information from within the FILENAME_EXIT_CPROG function module that would give us the InfoSpoke information?I think you can modify the method 'DETERMINE_FILENAME' for this.
In the call to FILE_GET_NAME_USING_PATH FM, add an additional parameter 'parameter_1', and set its value to O_R_REQUEST-N_OHDEST (this should have the open hub destination name).
call function.....
parameter_1 = O_R_REQUEST-N_OHDEST
If the logical filename contains placeholder (< > ??), it should now be replaced with the destination name.
I am not very familiar with ABAP objects. You might wish to check whethet it is possible without a 'modification' like this, where you create another Z implementation of the class and delegate(?). -
What are AL11 files and logical files
what are AL11 files and logical files
YES. these are the files that you use to load data.
Reg your question of how to see the data sources or view data, I replied yo your other question in other thread.
"is there any way by which we can check out that particular file in application server after the data has been loaded"
You can see this in data load monitor.
I dont know what do you mean by logical files.
Ravi Thothadri -
LOGICAL FILE PATH AND LIGICAL FILE NAME
1 I have one file(saritha.txt) on
Presentation sever and I want to create logical file and logical file path to application server?
please explain with example.Hi,
u can create with the following one
CONCATENATE '/' sysid 'abap/if/monthly/fi/' INTO directory.
file name as combination of sys-uzeit and sy-udate. -
Creation of logical file while creating APD
Hello,
I am creating an APD in which Multiprovider as source and flat file as the target with some filter in between.
While defining the target as flat file, I have selected application server and logical file name.
Can any one please let me know how to create this file which should be selected from the list of files.
Thanks in advance..Hi,
In order to create a file in the directory, you would need to write a ABAP program from your side.. like OPEN DATASET. or else Basis would help you to create this fro you.
Hope I understood your question...
Regards
Srinivas -
Hello,
what is a physical file and logical file in PATH table of SAP.
Plz help,
aafaqHi aafaqhusain,
1. logical file path is nothing but a IDENTIFIER/STRING/NAME
= the name by which
we refer to that file.
(in our programs)
2. The physical location of that file,
may change from server to server,
or from time to time.
(hence, we do not use hardcoded physical path,
in our programs,
but instead use this MAPPING of logical path,
to the physical path)
regards,
amit m. -
Logical file name or logical path name incorrectly defined
Dear All,
We are doing archival in our IDES for test purpose before we do it to our Production.
Steps Performed
Copied AM_ASSET archive object to ZAM_ASSET
Logical Path
Logical path ZAM_ASSET
Name Asset
Syntax group UNIX Unix compatible
Physical path /archive/test/<FILENAME>
Logical File Name
Logical file ZAMASSET
Name Asset
Physical file FI_<MONTH>_<DAY>.txt
Data format ASC
Applicat.area AM
Logical path ZAM_ASSET
But when we run the WRITE though SARA , in the job log we get the following
Logical file name or logical path name incorrectly defined
When generating a file name for an archive file that is to be created, the system determined that the logical file name FIAA_ARCHIVE_DATA_FILE or the logical path name ARCHIVE_GLOBAL_PATH was defined incorrectly.
But we have maintained a Logical name ZAMASSET , so we are unable to change the location of archived file and as well as the format.
So is there any setting we need to maintain apart from the logical file name and logical file path.
Suggestions are highly appreciated.
Thanks in anticipationhi,
follow this steps :
- transaction SARA
- enter authorization objects, eg SD_VBAK
- hit button CUSTOMIZING
- Archiving Object-Specific Customizing: execute Technical Setting
- field Logical File Name enter or select ARCHIVE_DATA_FILE
- leave CONTENT REPOSITORY as blank if you are not using 3rd party for storing (eg. IBM Tivoli)
- back to customizing
- from Basis Customizing, execute : Cross-Client File Names/Paths
- on Logical FIle Path Definition, highlight (select) ARCHIVE_GLOBAL_PATH on the right pane
- double click on the Assignment of Physical Paths to Logical Path on the left pane
- double click on OS used, eg. UNIX, define Physical Path where archive file (on WRITE process) will be stored
- save changes made
- double click Logical File Definition, Cross Client on the left pane
- double click ARCHIVE_DATA_FILE on the right pane
- make sure that logical path is already set to ARCHIVE_GLOBAL_PATH
- save changes made
this setting also can be done using transaction FILE
we have experienced on this case using SAP standard archiving (SARA, SARI) and everything is fine with this setting above.
hope it help you.
rgds,
Alfonsus Guritno -
Hi Friends,
I have created logical path and logical file name using FILE Transaction code, the problem was logical Path was saved in transport request and logical file name not saved in Transport request, Could you please help me logical file name save are not in the transport request.
Thanks in advance,
Jayachandran.ARun transaction FILE, in the menu goto "Table view", "transport", select or create a transport request. In node "logical file name definition, cross client", select your file names and in the menu bar click on "include in request"
Regards,
Raymond -
Hi All,
In our project we have a requirement to fetch data in to .csv file on application from a report through an APD.
I have the complete step by step procedure to create logical file path and logical file name, but i have some doubts as follow
1. what is the adventage of using Logical file path and name, cant we use RSCRM BAPI file method?
2. What are the different types of Syntax group... and most of the time why we select UNIX as a syntax group while creating logical file path???
This will be a very helpful information for me..
Please help me..
Thank you,
JaiminRSCRM_BAPI - directly dumps a query as a .CSV in the app server - for an APD to work - you cannot specify the filename but then by specifyinf a logical file name - it can be run multiple times without any changes...
Arun -
Hello Gurus,
I'm creating the transfer programs via LSMW, and I have fo
und problems with the source list and inforecord program (RM06IBI0), For this case in the step "specify file" it's mandatory assign the logical path and the logical file in the converted data.
I the customer systems it doesn't work, for example if I select the logical path TMP and logical file A, I have the following error:
Logica path TMP doesn' not point to a directory.
I create via transaction FILE and SARA ( checking the cutomizing against SAP notes) a new logical path ZLSMW and logical path ZLSMW, with transacion AOBJ I relate all to a object.
But I continue with the same error.
I test the LSMW in another systems, and it work I select any logical path and any logical file and !! it work !!
It seems something related with the administration systems, something missing in the system of the customer and not in other systems,,,,,but ¿what?
ThanksHi Anuj,
Check this link:
LSMW BOM Direct Input
LSMW BOM
Regards,
Chandra Sekhar -
Infopackage-Load Many Files from Application Server and later Archive/Move
Hi All..
I have a doubt, I have a requirement of take many files to load into BI 7.0.. I used the infopackage before with option:
Load Binary File From Application server
I load information successfully... only with one file ...but If I can load many files (with different names) like the next list.. I think it's not a good idea modify the file name (path) on infopackage each time).. :
*All of this files will be on one server that itu2019s map into AL11.. Like
Infopfw
BW_LOAD_20090120.txt
BW_LOAD_20090125.txt
BW_LOAD_OTHER_1.txt
u2026.
Etc..
This directory it's not in BW server.. It's other server..but I can load form this location (one file by one)
Could you help me with this questions:
- How can I Use an infopackage with routine that take all the files..one by oneu2026 in order of creation dateu2026and load into Target? Is it possible?.. I have some knowledge of ABAP.. but I don´t know exactly how I can say to system this logicu2026
- In addition is it possible move this files to other locationu2026 like into Infopfwarchive u2026 just to have an history of files loaded.
I saw that in infopackage you have an option to create a routine.. in ABAP codeu2026 Iu2019m a little bit confused because I donu2019t know how I can specify all the path..
I try with:
Infopfw
InfopfwFile.csv
Infopfw
This is the abap code that automatically you see and you need to modifyu2026
Create a routine for file name
This routine will be called by the adapter,
when the infopackage is executed.
p_filename =
p_subrc = 0.
Thank you for your ideas or recommendations.
AlHi Reddy, thank you for your answer
I have some doubuts.. when you explain me the option:
All the above files are appending dates at the end of the file....
You can load the files through infopackage by using Routines and pick the files based on date at the end of the file..***
I need to ask you if you think that when you know the date of the file and the infopackage pick each file... thi can work for many files??... or how it's possible control this process?
About this option, I want to ask you If when you menction Unix code... where it's programed this code?.. in the routine of BW Infopackage??
****Or
Create two folders in your BW in Application server level, in AL11 (ask Basis team)
I call it is F1 and F2 folders.
First dump the files into F1 I assume that the file name in F1 is "BW_LOAD_20090120.txt", using Unix code you rename the file and then keep in the same foleder F1 or move to F2.
Then create InfoPackage and fix the file name (i.e. you renamed), so you don't need to change everyday your file name at infopackage level.Because in AL11 everyday the file are overwrite.
To I get BW_LOAD_20090120.txt file in F1, then I renamed to BW_LOAD.txt and loaded into BW, then tomorrow I get BW_LOAD_20090125.txt in F1, then I renamed to BW_LOAD.txt....
so in this way it will work.You need to schedule the Ubix script in AL11.
This is the way how to handle the application server...I'm using the same logic.
Thank you soo much.
Al -
Infpackage with logical file name having current year and month
Hello all,
I am using the FILE transaction to maintain the logical file name for infopackage loads in BW.This logicalfile name is to be assigned to physical csv file in AL11 directory.
This csv file would be having the current month and date at the end of the name for e.g for the month of April 2008,the file name would be say xx_200804.csv.I wanted to know if by using the palceholder <YEAR><MONTH> in the physical file name ,would the current month date and month be automatically concatenated at the end of file name ?Has anyone used this option before?yes it does work,i tried out finally and the system picks current month and year
-
What is a Logical and Physical file path in sap?
what is a Logical and Physical file path in sap?
Hi,
Physical file is what you see from the OS level.
Logical file is what ABAP code can call certain functions to read/write.
Transaction FILE would link them together. Typically the logical path ends with "<FILENAME>", and the logical file refers to the logical path.
To extract the physical path from the logical path name
DATA: lf_mandt TYPE sy-mandt,
lf_opsys TYPE sy-opsys.
lf_mandt = sy-mandt.
lf_opsys = sy-opsys.
To extract the physical path from the logical path name
CALL FUNCTION 'FILE_GET_NAME'
EXPORTING
client = lf_mandt
logical_filename = p_unix
operating_system = lf_opsys
IMPORTING
file_name = gwa_input
EXCEPTIONS
file_not_found = 1
OTHERS = 2.
IF sy-subrc EQ 0.
Concatenating the physical path and the input unix file name
CONCATENATE gwa_input p_file INTO gf_file .
ENDIF.
Reward if helpful.
Regards,
Ramya -
Logical and physical file paths
Hi,
can anyone elobrate me on what are logical and physical file
paths ?hi,
Follow this link
http://help.sap.com/saphelp_nw04/helpdata/en/fc/eb3deb358411d1829f0000e829fbfe/frameset.htm
File format determination (Required / optional fields and field checks).
Logical File Path configuration through transaction 'FILE'. A new physical file path should be created on operating system level or an existing one can be used if agreed. The Basis team member should create a new file path at operating system level, if required.
Hope this helps, Do reward. -
What are the settings for datasource and infopackage for flat file loading
hI
Im trying to load the data from flat file to DSO . can anyone tel me what are the settings for datasource and infopackage for flat file loading .
pls let me know
regards
kumarLoading of transaction data in BI 7.0:step by step guide on how to load data from a flatfile into the BI 7 system
Uploading of Transaction data
Log on to your SAP
Transaction code RSA1LEAD YOU TO MODELLING
1. Creation of Info Objects
In left panel select info object
Create info area
Create info object catalog ( characteristics & Key figures ) by right clicking the created info area
Create new characteristics and key figures under respective catalogs according to the project requirement
Create required info objects and Activate.
2. Creation of Data Source
In the left panel select data sources
Create application component(AC)
Right click AC and create datasource
Specify data source name, source system, and data type ( Transaction data )
In general tab give short, medium, and long description.
In extraction tab specify file path, header rows to be ignored, data format(csv) and data separator( , )
In proposal tab load example data and verify it.
In field tab you can you can give the technical name of info objects in the template and you not have to map during the transformation the server will automatically map accordingly. If you are not mapping in this field tab you have to manually map during the transformation in Info providers.
Activate data source and read preview data under preview tab.
Create info package by right clicking data source and in schedule tab click star to load data to PSA.( make sure to close the flat file during loading )
3. Creation of data targets
In left panel select info provider
Select created info area and right click to create ODS( Data store object ) or Cube.
Specify name fro the ODS or cube and click create
From the template window select the required characteristics and key figures and drag and drop it into the DATA FIELD and KEY FIELDS
Click Activate.
Right click on ODS or Cube and select create transformation.
In source of transformation , select object type( data source) and specify its name and source system Note: Source system will be a temporary folder or package into which data is getting stored
Activate created transformation
Create Data transfer process (DTP) by right clicking the master data attributes
In extraction tab specify extraction mode ( full)
In update tab specify error handling ( request green)
Activate DTP and in execute tab click execute button to load data in data targets.
4. Monitor
Right Click data targets and select manage and in contents tab select contents to view the loaded data. There are two tables in ODS new table and active table to load data from new table to active table you have to activate after selecting the loaded data . Alternatively monitor icon can be used.
Loading of master data in BI 7.0:
For Uploading of master data in BI 7.0
Log on to your SAP
Transaction code RSA1LEAD YOU TO MODELLING
1. Creation of Info Objects
In left panel select info object
Create info area
Create info object catalog ( characteristics & Key figures ) by right clicking the created info area
Create new characteristics and key figures under respective catalogs according to the project requirement
Create required info objects and Activate.
2. Creation of Data Source
In the left panel select data sources
Create application component(AC)
Right click AC and create datasource
Specify data source name, source system, and data type ( master data attributes, text, hierarchies)
In general tab give short, medium, and long description.
In extraction tab specify file path, header rows to be ignored, data format(csv) and data separator( , )
In proposal tab load example data and verify it.
In field tab you can you can give the technical name of info objects in the template and you not have to map during the transformation the server will automatically map accordingly. If you are not mapping in this field tab you have to manually map during the transformation in Info providers.
Activate data source and read preview data under preview tab.
Create info package by right clicking data source and in schedule tab click star to load data to PSA.( make sure to close the flat file during loading )
3. Creation of data targets
In left panel select info provider
Select created info area and right click to select Insert Characteristics as info provider
Select required info object ( Ex : Employee ID)
Under that info object select attributes
Right click on attributes and select create transformation.
In source of transformation , select object type( data source) and specify its name and source system Note: Source system will be a temporary folder or package into which data is getting stored
Activate created transformation
Create Data transfer process (DTP) by right clicking the master data attributes
In extraction tab specify extraction mode ( full)
In update tab specify error handling ( request green)
Activate DTP and in execute tab click execute button to load data in data targets.
Maybe you are looking for
-
Can I programmatically copy vi within llb AND build an application?
I previously posted the question how to programmatically work (copy, delete) on files within llbs and got two answers to use the librarian vis in vi.lib > utility > libraryn.llb That works really good but only till I try to build an application. The
-
Hi all, can someone help me in getting last login date of a user in CQ5 please?
Hi all, can someone help me in getting last login date of a user in CQ5 please?
-
HELP!!! I recorded a bunch of prank calls, and Garageband got messed up, so I copied all of them, and tried to paste them into a file that overwrited the last one, but they didn't paste right. Any mac people on? HOURS OF HARD WORK DOWN THE DRAIN!! HE
-
Missing APPLICATIONS & FILE Icons and can't find my themes
Please help. I have a 3rd party application that I downloaded as required to my computer & now I need to transfer 5 files (JAR & TAR) files to my phone. It says to follow the path: files/media card/ Blackberry/new_phones.In the instructions it says
-
I just bought a used hp touchpad. The last owner did not clear out their info. How do I take it back to factory setting...and make my own account.