on 2006 Feb 09 9:22 PM
Hi,
i got to know we can schedule Flat File loads in BW. For that we need to write the coading. can any body guide me how can i achieve that.
I have seen Create Routine push button in External Tab Page. can any body guide me how can i achieve that..
Thanks in Advance.
Nagesh.
Hi nagesh,
There are multiple ways of doing flat file loads.
1. If the files are dumped in a particular folder on the app. server.
- In the InfoPackage, you have "CREATE ROUTINE". Write a code which basically updates a custom table containing the file names and always picks the one which is not loaded already. Apart from that fill the file name too.
- This routine can take one file at a time.
2. Custom program / Event triggerring
- Maintain three folders.
+ Folder A: Files being dropped to be processed.
+ Folder B: OutFile folder
+ Folder C: BackUp / Processed Files
- In the custom program create a out file in folder B with constant file name. Before triggereing the event drop the file in folder C and delete it.
- Repeat this process until all files are processed.
Regards
Praveen
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
can u elaborate it. i want to upload flat file data from application server. File name is same for every time, i don't think there is a need of routine.
i created process chain and i executed that it is giving errors.
i have a file(fixed file name), ODS Object, i created info package. how can i keep that in Process chain. Data in the file will be refreshed every day. file name is same and fixed.
Nagesh.
Hi
If you are loading data from a file why do you need to write code?
if you need to manipulate the data its best to it in the Start Routine area.
To schedule the loading all you have to do is schedule the package job using batch management (SM37).
Reg's
Edan
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Nagesh,
It is possible to schedule and automate the load of flat files, but it is not needed to use a routine for that...can you explain a bit more what you are looking for, so that we can suggest accordingly...
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
65 | |
8 | |
8 | |
6 | |
6 | |
6 | |
6 | |
6 | |
5 | |
5 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.