Logical file datasource/Infopackage
Hi experts,
I have an infopackage loading file from AL11 server to a DSO. Sometimes the loading fails.
All those steps are automated in a process chain. What i would like to do, if the loading fails is to send an email to the person that uploaded the file in the server.
The header of the file uploaded contains informations about the person : Fisrt name, last name.
So i have to dynamically constitute his email by reading the header of the file.
Is that possible?
Thanks.
Amine
hi,
Right click on the load step variant and click create a message on condition failure on process type loading (load step). Save the mail id id of the person (here the person who is loading the file). If the load step fails it will send a message to the person mail id.
You have another option of creating an alert using the tcode alrtcatdef
double click on process chains on left window
click display/ change then click BWAC_PROCESS_CHAIN_ERROR
and also maintain the parameters in the lower panel
Alert description and so on..
For more information please check this PDF document
http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/10979a4a-d3da-2e10-3bab-8916d8245309?QuickLink=index&…
Hope it helps.
Similar Messages
-
Infopackage Routine in flat file datasource
Hi,
There is a requirements to load the data from multiple flat files in folder into BI which source data is coming from other system. Each flat file has it own naming convention.
There are around more the 200 flat file (CSV.file) in folder,data source is flat file datasource.
Could any one help me in above issue.
Regards
RAMI assume they'll be using FTP to send the files... You have the layout defined and naming convention as well...
One option would be to create a user and folder in the BW server for the FTP to use it and put all files in the same place... From here you can define different Infopackages to read those files at specific times during the day or whatever schedule you guys agree...
A thing with the naming convention... Try to avoid using timestamps on the names and keep the names to be always the same... That way you just overwrite the existing files, the space usage won't grow much and you can make the loads automatic with the same file names...
Just some ideas... -
Passing parameter to process chain - logical file name
Hi,
Is there a way to pass a parameter to a process chain? Iu2019m trying to define logical file name (via transaction FILE) allowing to point on physical files name containing a parameter to be defined at run time. Is it possible?
Example, consider receiving file ending by a number representing its source system origin:
Filename_1 (file coming from syst 1)
Filename_2 (file coming from syst 2)
As both file have the same structure I would like to specify a single datasource Filename_n and a single process chain in which I would set the parameter n at run time. Is there a way to implement that?
I first thought about an Abap routine reading parameter in a table but than Filename_n canu2019t be treated in parallel u2026 Any other idea?
Cheers,
BenoitHi Benoit,
yes, it is possible to call the file paths with routine at infopackage.
if you have only 2 file and file names are constant, then you can create 2 infopackages and keep thse two in process chain.
Start
I
infopackage 1
I
Infopackage 2
and from applcation sever, these files will be loaded.
if upi have more files, you can write a routine at the selection of file path, in infopackage.
Regards
Daya Sagar -
Mapping Quantity keyfigure in BI 7- Flat file datasource
Hi Guys,
I have a problem in creating transformations for Quantity key figure for flat file datasource. In my csv file quantity is just a number. i created a datasource and Infopackage and loaded data into PSA without any problem.
In cube i have quantity key figure of QUAN type with 0UNIT unit of measure. So when I try to map Quantity in datasource with quantity InfoObject, 0UNIT is empty. So I am unable to activate transformations.
Can somebody suggest me how to proceed with htis problem? Should I define Quantity key figure as just number?
Thank you in advanceHi Sneralla,
you can take one more field on you flatfile.. as units(ex: KG or CM.. like that) beside of the quanity filed.. and now load it into PSA and now create transformations... and now map this units filed to newly added field...
you can try this option.. becasue.. when you are loading Quantity field data from flat file means we need to mention the units also..
regards
@jay -
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
-
Using a Logical File definition in LSMW
Hi all,
is there any way that we can use a Logical File (defined in transaction FILE) as an application server file in the "specify files" step, instead of having to enter the physical path/file?
Thanks in advance,
JustinHello,
Check pages 46 and 47 of the following document :
[http://sapabap.iespana.es/manuales/pdf/lsmw.pdf|http://sapabap.iespana.es/manuales/pdf/lsmw.pdf]
You can only use a logical filename for subsequent programs (example direct input programs) not for the actual input file of your LSMW.
Wim -
Open Hub: How-to doc "How to Extract data with Open Hub to a Logical File"
Hi all,
We are using open hub to download transaction files from infocubes to application server, and would like to have filename which is dynamic based period and year, i.e. period and year of the transaction data to be downloaded.
I understand we could use logical file for this purpose. However we are not sure how to have the period and year to be dynamically derived in filename.
I have read in sdn a number of posted messages on a similar topic and many have suggested a 'How-to' paper titled "How to Extract data with Open Hub to a Logical Filename". However i could not seem to be able to get document from the link given.
Just wonder if anyone has the correct or latest link to the document, or would appreciate if you could share the document with all in sdn if you have a copy.
Many thanks and best regards,
VictoriaHi,
After creating open hub press F1 in Application server file name text box from the help window there u Click on Maintain 'Client independent file names and file paths' then u will be taken to the Implementation guide screen > click on Cross client maintanance of file name > create a logical file path by clicking on new entiries > after creating logical file path now go to Logical file name definition there give your Logical file , name , physical file (ur file name followed by month or year what ever is applicable (press f1 for more info)) , data format (ASC) , application area (BW) and logical path (choose from F4 selection which u have created first), now goto Assignment of physical path to logical path > give syntax group >physical path is the path u gave at logical file name definition.
however we have created a logical path file name to identify the file by sys date but ur requirement seems to be of dynamic date of tranaction data...may u can achieve this by creating a variable. U can see the help from F1 that would be of much help to u. All the above steps i have explained will help u create a dynamic logical file.
hope this helps u to some extent.
Regards -
How to create the logical file name
Hi All,
I have requirement where i need to post the Inventory Management data. for this i need to execute std. program RM07MMBL which is having logical file name in the selection screen. but i have placed my input file in application server.
Can any one tell how to create the Logical filename which refers the physical path. I also tried <b>t-code SF01 & Table - FILENAMEC</b>I and found that we need to add an entry in this table but i really dont know how we have to do since this table cannot be maintained in SM30 also..
Help Me.
Thanks in Advance!...
Regards,
RamkumarHi Ram,
Try using FILE transaction code...
Follow these steps to create:::
Double click on Logical file Path Definition
Click on New Entries,
Give Logical file Path name as Z_LOGICAL PATH and save it
now choose this path and double click on Assignemt of Physical path to Logical path
double click on the OS name
Give some description and give some Physical path name from AL11 transaction and save it
Now Double click on Logical File Name Definition,
Click on New Entries,
Give some logical file name: Z_LOGICAL_FILENAME
Physical file: test
Data Format: BIN
Logical Path: Z_LOGICAL PATH
Hope this helps
Regards,
Phani
Message was edited by:
Sivapuram Phani Kumar -
Deleting the data from logical file/unix file
Hi all.
I need to delete the all the data from logical file (application server file/unix file).But I dont want to delete the logical file ( only data in the logical file should be deleted, i.e making file empty)
Thanks in advance.
Cheers.
samiHi Sami,
Refer thsi document https://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/4d7aeb7d-0c01-0010-fa8a-a4a8e8968a93.
Regards,
Flavya -
Hi,
I face this error message when I try to 'process update' a dimention, sometime it works but sometime it failed with the error below:
Description: File system error: The record ID is incorrect. Physical file: . Logical file: .
My environment: Window Server 2008 R2+SQL Server 2008 R2.
Note: this issue can be resolved by full cube process, but I can't to that every time if it failed, just want to know what happen at backend of SSAS, It block me neary 2 week without any finding, really appreciate that someone can help on this.
I have do some research with google, I think the root cause here is not TopCount function(It may be a problem with SQL Server2005), also not the size limitation of 4GB size of .astore file.(I check the size of my cube under 'Data\XXX.db\' folder, which only
have few MB size).
Thanks,
TomHi Tom,
Here is a microsoft fix
FIX: "File system error" occurs when you try to run a process update operation on a dimension in Microsoft SQL Server 2008 Analysis Services and in Microsoft SQL Server 2008 R2 Analysis Services
In your acenario, in order to fix this issue, please apply the latest Cumulative update and Service Pack according to your SQL Server version. Besides, there are two workarounds in that fix, plese try it and check if it works or not.
http://support.microsoft.com/default.aspx?scid=kb;en-US;2276495
Regards,
Charlie Liao
TechNet Community Support -
Reading Data from a SQL table to a Logical file on R/3 appl. Server
Hi All,
We would like to create Master Data using LSMW (direct Input) with source files from R/3 Application Server.
I have created files in the'/ tmp/' directory however I do not know how to read data from the SQL table and insert it into the logical file on the R/3 application server.
I am new to ABAP , please let me know the steps to be done to acheive this .
Regards
- AjayHi,
You can find lot of information about Datasets in SCN just SEARCH once.
You can check the code snippet for understanding
DATA:
BEGIN OF fs,
carrid TYPE s_carr_id,
connid TYPE s_conn_id,
END OF fs.
DATA:
itab LIKE
TABLE OF fs,
w_file TYPE char255 VALUE 'FILE',
w_file2 TYPE char255 VALUE 'FILE2'.
SELECT carrid connid FROM spfli INTO TABLE itab.
OPEN DATASET w_file FOR OUTPUT IN TEXT MODE ENCODING DEFAULT. "Opening a file in Application
" Server to write data
LOOP AT itab INTO fs.
TRANSFER fs TO w_file. "" Writing the data into the Application server file
ENDLOOP.
CLOSE DATASET w_file.
OPEN DATASET w_file FOR INPUT IN TEXT MODE ENCODING DEFAULT. "Opening a file in Application
" server to read data
FREE itab.
DO.
READ DATASET w_file INTO fs.
IF sy-subrc EQ 0.
APPEND fs TO itab.
OPEN DATASET w_file2 FOR APPENDING IN TEXT MODE ENCODING DEFAULT. "Appending more data to the file in the
" application server
TRANSFER fs TO w_file2.
CLOSE DATASET w_file2.
ELSE.
EXIT.
ENDIF.
ENDDO.
Regards
Sarves -
Error while creating logical file using transaction FILE
Hello there,
I am facing an error while creating Logical File name definition using transaction FILE
This is the input which I'm trying to give
Logical file name: ZTEST
Name : ZTEST
Physical file : ZTEST_1<DATE><TIME>.csv
Data format: ASC
Application area: BW
Logical path:ZTEST_1_DATAOUT
when I tried to save it throws me an error like ASSIGN_SUBSTRING_NOT_ALLOWED
Please help.Hi,
Please check the OSS Notes :
Note 792061 - SP Case Locator: Dump: ASSIGN to a substring isn't allowed.
SAP Note 1297989 - Short dump ASSIGN_SUBSTRING_NOT_ALLOWED
Hope this solves the problem.
-Vikram -
LSMW - Logical File Path not pointing to Physical Path
Hi All,
I'm trying to upload some MIGO goods movement transactions through LSMW. I'm to step 7, specifying files, and am getting the error "No logical file path has been specified. I saw another thread which helped me, but I am still stuck after reading it.
Re: Error in Creation of Purchase Requisition through LSMW
I have gone into transaction FILE and created the logical file name MM_GOODS_MOVEMENT, and set the physical file as the .lsmw.conv converted data file as the above thread says. I also tried using the logical path LOCAL_TEMPORARY_FILES for the converted data, but I get the error telling me that the path does not point to a physical directory. I then tried creating my own file path, and setting the path to my desktop where the source file is, and the same error occurred.
Does anyone know why it is not recognizing the physical path maintained in the logical path?
Thanks,
JThanks for both replies,
I have full authorization across all transactions in the sandbox system I am working in, so that is not an issue. I filled the logical path field in the MM_GOODS_MOVEMENT logical file with LOCAL_TEMPORARY_FILES, as well as trying my own created file path, and I recieved the same error for each. Here is how the config is currently:
Logical File Path Definition: MM_GOODS_MOVEMENT
Syntax Group: WINDOWS NT
Physical path: C:\Documents and Settings\jchanski\Desktop\<FILENAME>
or,
Logical File Path Definition: LOCAL_TEMPORARY_FILES
Syntax Group: WINDOWS NT
Physical path: C:\temp\<FILENAME>
Logical File Name Definition: MM_GOODS_MOVEMENT
Physical file: MM_MM_MIGO_INVUPLOAD.lsmw.conv
Data format: ASC
Applicat.area: MM
Logical path: LOCAL_TEMPORARY_FILES or MM_GOODS_MOVEMENT
Do you see any error with this Brajvir? Thanks! -
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 -
hi, i am very new to this field and i need this urgently.. please help..
i am not able to create a physical file from a logical file say for eg "zlogic".. i have been given a certain "Pathintern" for the physical file.. e.g. Pathintern = zobj.. the syntax group is 'unix' but, what do i fill in the physical path.. and i also have used the function module file_get_name but i dont know the changes to be made in the function module.. please help..Sorsingh,
try this search result (are you new to the search field?).
[SAP: creation of logical file path|http://www.google.co.jp/search?hl=en&q=SAP%3Acreationoflogicalfile+path&btnG=Search&aq=f&oq=]
Let us know which part of the online help you can not understand.
Regards,
Clemens
Maybe you are looking for
-
Adding mismatched RAM on MacBook Pro ?
Hi, I have a 2.0 Ghz MacBook Pro with the 512 MB Stock RAM that it came with. I would like to add 1 Gig of Mac Compatible Corsair or other branded RAM. Do I have to install matched RAM in this computer ? Does it matter if the RAM I buy matches the br
-
ME_PROCESS_PO_CUST All, I'm able to change Purchase order at the item level using the check method CALL METHOD LO_ITEM->SET_DATAX EXPORTING IM_DATA = LS_ITEMX. I can see the changes before I hit the save button But once I hit sa
-
Annotating pdf files with stylus
Hi, I am using the note 2 with stylus to annotate pdf files. I save the annotated file and email it to myself to check it. When the attacment is opened the pdf is there but without my annotations. How do I solve this?
-
Mac- PS CS2 font issue (probably)...
Hi all!- I just rearranged all of my fonts (using font agent pro) and now, any time I do ANYTHING, I get "Could not complete your request because of a program error" I've never had a problem with CS2- and I'm thinking it must be a font that is now tu
-
If shynchronise andi update my ipad ios4.3.3 to ios5.1 the
If i shynchronise my ipad and update to ios5 then Can i shychronise again in any shops for download apps Or i will lost updateing of ios5 if i shychronise to another pc of any shop I want to know bcaz i will update now ios5 Can i get any harm on my i