Creating Flat file in Print workbench.
Hi,
I have a query in Print workbench.
I have to diable spooling and printing and I've to create a 'Flat file' instead.
If anyone worked on this area or if anyone could suggest me some idea, it would be of great help to me.
Thanks before-hand and Greetings,
Sasi.
Hi,
Take a look at https://www.sdn.sap.com/sdn/weblogs.sdn?blog=/pub/wlg/1523. [original link is broken] [original link is broken] [original link is broken] [original link is broken] [original link is broken] [original link is broken] [original link is broken] [original link is broken] [original link is broken] It gives information on how to setup printer for file output. See if it helps.
Regards
Similar Messages
-
Hi all,
I have some data structured in table.
How to create flat file which has data in table format using java?
thanks in advance,
amarAs usual -:) You write the table row by row to a textfile turning the variables into text.
-
Creating flat file on other machine.
Hi All,
I am working on ODI 11g( 11.1.1.6).
i want to create flat file on another machine.
lets say, i have two machine A & B.
Machine A contain ODI 11g, Machine B contain source (Oracle) and Flat file location which is Target.
How to create flat file in machineB as target.
Please heip.
Regards
PrashantThanx for replay,
In machineA ODI 11g is installed.
source and target are on machineB.
In Physical Architecture i am able to map source(Oracle) machineB using IP,
but for file, i am not able to map with target machineB, to generated flat file. -
Hi,
I am trying to create a flat file source system in BW.When i do that i get an error ' No entry for BW_USER in table RSADMIN available'.ANy ideas pls?Hi,
Goto RSA1 -> Menu path "Setting" -> "Global Setting" -> Enter the background under "BW User ALE" field. You first have to creat a user like "ALEREMOTE" in SU01 and then assign that user here. After that try creating flat file source system.
Hope this resolves the problem.
- Parin Gandhi. -
Create source structure -Need to create flat file or table?
Hi All,
Can any one let me know what needs to be created?? it should be flat file or a table on the data base?
I am going to reecive flat files from the source system??
If it is a flat file then is there any way to create flat file structure in the DS using SQL query statements?
Thanks
Rajeevyou can create table same as file structure and use the table instead, but how are you going to populate the table with the data from flat file ? you will need some application to do that, you can do this is DS by creating a file format and using the source file as input for that file format and create a template table as target for the database datastore to wihch you want to load data from this source file, and use that table as source in other dataflows
you can also create the table with the same structure in the database and import that in Datastore and use that as target for the source file -
Create flat file from oracle table data
d_adp_num char(10)
d_schd_date char(8)
d_sched_code char(25)
d_pay_code char(50)
d_mil_start char(4)
d_mil_end char(4)
d_duration char(5)
d_site_code char(4)
d_dept_id char(6)
select payroll_id,
schedule_date,
reason_code ,(sched_code)
reason_code, (pay_code)
start_time,
end_time,
total_hours,
site_code,
department_id
from dept_staff
where schedule_date between (sysdate+1) and (sysdate+90)
loading some data instead for the date range.
sched_code - 'Unavailable' if reason_code = 'OD' and 'LA'
pay_code - 'BD Berevevement' if reason_code = 'BD'
'UP Unexcused PTO' if reason_code = 'UP'
'RG' if reason_code = 'SH'
'PTO' if reason_code = 'VA'
these are a few.....
start_time and end_time - convert into military time
based on start_ampm and end_ampm
Based on this, I need help to create a flat file. Attaching sample of flat file and data from dept_staff
If site_code is there then no need to get department_id( see sample flat file)
sample data for flat file
ZZW002324006072012 PTO
0800160008.00
ZZW002428106072012 RG
1015174507.50HM34
ZZW002391606072012 RG
1100193008.50
ZZW002430406072012 RG
1100193008.50 130000
dept_staff table data
PAYROLL_ID SCHEDULE_DATE REASON_CODE REASON_CODE_1 START_TIME START_AMPM END_TIME END_AMPM TOTAL_HOURS SITE_CODE DEPARTMENT_ID
ZZW0024468 6/8/2012 SH SH 730 A 400 P 850 12
ZZW0000199 6/8/2012 SH SH 730 A 400 P 850 14
ZZW0023551 6/8/2012 SH SH 1145 A 930 P 975 GH08 95
ZZW0024460 6/8/2012 SH SH 515 A 330 P 1025 GH08 95
ZZW0023787 6/8/2012 SH SH 630 A 300 P 850 24
ZZW0024595 6/8/2012 TR TR 730 A 400 P 850 90
ZZW0023516 6/8/2012 OD OD 800 A 400 P 800 95
ZZW0023784 6/8/2012 OD OD 800 A 400 P 800 5
ZZW0024445 6/8/2012 SH SH 1145 A 930 P 975 GH08 5
ZZW0024525 6/8/2012 OD OD 800 A 400 P 800 23
ZZW0024592 6/8/2012 TR TR 730 A 400 P 850 5
ZZW0024509 6/8/2012 SH SH 830 A 330 P 700 MK21 95
ZZW0023916 6/14/2012 SH SH 1100 A 730 P 850 27user_anumoses wrote:
Any examples, please provide? Thankshttp://www.lmgtfy.com/?q=oracle+utl_file+example
Handle: user_anumoses
Status Level: Newbie
Registered: Jun 9, 2009
Total Posts: 155
Total Questions: 60 (55 unresolved)
why so MANY unanswered questions? -
Createing flat file in cold fusion.
i got a wddx packet and i have to create a flat file out of
that. i can deserialize and write into a file but how can i make it
fixed length even though the length of the contents varies in the
wddx packetwell, i this file what i am taking about has numbers and
chars. i wanted each field to be fixed length. i am not talking
about file length. for example. i have name and account number
filed. name is 50 chars and a/c num is 10. but the data i am
getting is name only 10 chars and a/c num is only 5. now in the
first row i am getting total 15 chars rather than getting 10 + 40
spaces and 5 + 5 spaces. how can i get that. do you know anything
about WDDX DTD. can this be utilized here... thanks for your
help. -
Creating flat file in local machine
Gurus,
My database is OLAP database, i need to extract the data into flat file (.csv/.txt/.xls) in to client machine (Local machine, or End user PC) not in to Oracle DB Server.
Is it possible to achieve the same without using UTL_FILE?
If so please help me in this regard.
Thanks in advance.
Karthik.KWhat client are you running on the PC to connect to the database
If sqlplus you can spool the output
Re: Create a file in a local PC.
Other options some of which write to the client.
http://tkyte.blogspot.com/2009/10/httpasktomoraclecomtkyteflat.html -
Creating Flat File Source System in BI
Hi,
How can I create a flat file source system in BI???Hi,
Here are the steps...
1. Go to RSA1.
2. Click on Source Systems.
3. In the right pane, right click on Source Systems and say "Create".
4. Then choose the option of "FlatFile" from the available options.
5. Give the name to Source system.
Hope this helps.
Regards,
Yogesh. -
How to create flat file with fixed lenght records
I need help to export an Oracle table to a flat file with fixed lenght and without columns separator.
the fixed length is the more important demand.
My table have 50 columns with varchar, date and number .
Date and number columns may be empty, null o with values.
Thanks a lot for any help.
[email protected]Hi,
You can use this trick:
SQL>desc t
Name Null? Type
NAME VARCHAR2(20)
SEX VARCHAR2(1)
SQL>SELECT LENGTH(LPAD(NAME,20,' ')||LPAD(SEX,1,' ')), LPAD(NAME,20,' ')||LPAD(SEX,1,' ') FROM T;
LENGTH(LPAD(NAME,20,'')||LPAD(SEX,1,'')) LPAD(NAME,20,'')||LPA
21 aF
21 BM
21 CF
21 DM
4 rows selected.
SQL>SELECT * FROM t;
NAME S
a F
B M
C F
D M
4 rows selected.Regards -
Creating Flat file using AS2 Receiver adapter
Hello everyone
This is my first AS2 scenario,we are sending 850/Purchaser order information from SAP to partner.
what is the processing sequence and module configuration parameters we need to mention for converting the target structure to flat file?
Regards
UdayTry to search Seeburger scenarios on SDN. There are many blogs and wikis availble now. There you may refer to BIC, classifier and split modules. Understanding of all these will help you in configuring the scenario. If you are stuck somewhere, come up with specific doubt.
Regards,
Prateek Raj Srivastava -
Creating flat files (.csv) in user defined directory using PL/SQL
I need to extract data into a flat file (.csv) and store the flat file directly into a directory on local drive as specified by the user at runtime. I do not intend to use the UTL_FILE package. Is there a way put to do this?
Thanks
Amit.Hi Amit,
Your users have any shared drive which every one can access? If so follow these steps.
1> Allow users to select their destination location to an APEX item.
2> On submit, save the user IP, destination location and user name to a database table.
3> On submit, using JS, open XLS file template (+kept this template file in shared location+) The template should contain all the macros that will do the needful. I mean they should connect to database and should fill it with data and saving it to user specified location etc.
Hope it helps.
Cheers,
Hari -
Error while Creating Flat file Source System
Hi Friends,
The message "No entry for BW_USER in table RSADMIN available" is shown when I try to create a Source System for File System(Manual Metadata, Data using File Interface). Could somebody help me please.
Thanks in advance.
Hanuma ReddyHi,
I have solved this problem from SDN by seeing below reply to some others question. Thanks Ajay.
I think this problem comes if you have used more than one client in BW (for example if you logged on to 000 and ran admin workbench initially after installation, and then if you prepared another client for use as BW client).
Look at OSS note 410952, it mentions of the same error. The fix as mentioned in the note is as follows
Symptom
You receive the error message when trying to connect a source system to the Admininistrator Workbench:
"No entry for BW_USER in table RSADMIN exists" (message number RSAR 059).
Additional key words
RSAR059, APO, RSADMINA
Cause and prerequisites
In table RSADMINA, the BW user is not maintained for ALE.
Solution
Maintain the entry using the following path:
Call Administrator workbench (transaction RSA1).
From the 'Settings' menu, select Global Settings'.
If an entry already exists in the field "BW user for ALE", delete this.
Enter the correct names for the BW users in this field.
Save the entry.
You must restart the Administrator Workbench (RSA1) now.
The source system can now be linked without errors. -
Export PDF creates 0kb file and Print Error.
By "Print Error", I mean a simple pop-up window with the pages logo and the sentence "Print. Error while printing" even though I haven't asked for anything to be printed. The resulting pdf file is zero k in size and useless.
I had this problem in iW '06 and thought that '08 might fix it. No dice though.
Deleating prefs did not fix the issue. ['06 or '08]
Anyone? Thanks.
CSK
Burbank, CAI suspect that you've turned off a couple fonts with Font Book (or perhaps removed them from the Fonts folder). Pages expects certain fonts to exist - even if we don't use them or even want them.
-
Creating flat file saying what a BPM did
Hi all
Can someone give me some light in how to create a fltat file that says what did a BPM did correct.
All the system and application exceptions are handled but I need that if something wrong happens it should write this on a file.
Thanks in advanced
Regards
EmmanuelHi Emmanuel,
If you have an exception then in the exception block you can use one more send step and can send a file. Now here if you want you can use the transformation step and write a user defined error which would write an error file. You can use the same mapping with different error based upon your exceptions.
Regards,
---Satish
Maybe you are looking for
-
Hi, I tried to download the 10g zip file for windows but when I try to unzip it I get the message that the zipfile is not a valid archive. I then tried to download the separate components, but with the same result. I'm using winzip 8.1 Cheers, Magnus
-
Date format in presentation variable
Dear Guru, My prompt has a calendar month edit box which is in "YYYY / MM" format. I have set this as a presentation variable p_month. Now I need to add 1 month to this presentation variable in the filter, I have tried to write the sql but it is comp
-
Save/create a variant in user defined screen in dialog program
is there a way to save/create a variant in user defined screen in dialog program? thanks...
-
ExportPDF not retaining formating when converting to Excel
Hi I just bought ExportPDF to convert these large pdf's into excel files. But whenever I convert the pdf to excel it takes all 8 distinct columns and lumps them into a single column. This would not be a problem if I could use text to columns to fix i
-
i have no idea where to put this :} so that's was my problem. i add to daemons in /etc/rc.conf hal and powersaved to start at boot. but when my computer try to boot, hal try to start 2x. once with powersaved and next time alone :} in daemons it was f