Formatting a simple output
Hi !
I'm working on a report and wrote the heading as follows:
WRITE: /5 'P Det',
30 'Material',
45 'Description',
65 'Qty',
71 'QOH',
78 'U Qty',
85 'C Qty',
92 'O Qty',
106 'T qty',
116 'T Value',
126 'M A Price',
136 'P No',
151 'D Date',
161 'PO Qty',
168 'Vendor Name',
188 'Purchase Org',
208 'Purchase Group'.
ULINE.
but unfortunately I'm not getting a horizontal bar at the bottom so that I can scroll to view all the fields on the ouput scrren. Can someone suggest me a solution please?
thanks,
Srikanth.
Hi, make sure that your line-size is set.
report zrich_0001 line-size 255
line-count 65
no standard page heading.
Regards,
Rich Heilman
Similar Messages
-
Is it possible to display keyfigures in italics format in report output
Hi All,
Is it possible to display keyfigures in italics and bold format in report output?
Thanks,
Sri Arun Prianyou can edit the CSS - there is a CSS class assigned to the key figures.... this is for WAD....
Edited by: Arun Varadarajan on Feb 5, 2009 2:43 PM -
Hi to all
In my report i am giving a date format like dd-mm-yyyy in a selection screen but in output of the report i am getting yyyy-mm-dd , i have cheacked all the setting in control panel ,and system date is dd-mm-yyyy only
kindly suggest me wt should i do to get dd-mm-yyyy format in report output.
ThanksHi,
Check this thread
https://forums.sdn.sap.com/click.jspa?searchID=5217881&messageID=3336239
Regards
Prakash -
I am trying to publish our reports through GLDI and keep the print setup format on this output. Is there a way to keep the print setup on the output using GLDI without having to go in and reset it on every occasion?
All white space in HTML is collapsed by default. 2 possible options to modify this behaviour are:
1. Use the HTML element<tt><pre></tt> element.
2. Use the CSS property<tt>white-space</tt> property to modify the presentation of an element through the addition of a style sheet to the page HTML Header property:
<style type="text/css">
#your-report-selector {
white-space: pre;
</style>Use whichever is most appropriate for your report, in conjunction with a monospace font.
(Please update your forum profile with a better handle than "user8763881".) -
Dear Forummembers
I am having some problem in formatting output in a Java code.Actually I have to worite some data into a text file about each product.
For each product there will be one line mentioning it's code, description and availaible quantity.As the code is of 6 digits I am having no problem in Aligning the code and description in each line.But as Description is not so, the availaible quantity can't be aligned columnwise.Can u pls help me.
I have one mor query too -
The program that I am writing has actually got Classes namely Product, Catalogue and Order.Product should be added to Catalogue and Order is used for accepting orders from Customers.Now I can't understand by one of the things as following -
"Much of the systems functionality requires you to manipulate a product object. Therefore, you need to be able to obtain a reference to the product that you wish to manipulate. It is advisable that you provide a method in the Catalogue class named getProduct, which accepts the product code and returns the reference to the relevant object. If the product code supplied to this method is not the code of a valid product (according to those that in the Catalogue), then you should return null"
I do understand what is mean by referece.But i am not clear about the functionality of the getProduct() method.After getting product code as the parameter, what should it return?
i would be grateful to you if you can kindly address this issue
Regards
RKI don't really understand what you mean by the first part of your query, is this to align columns in the text file? Why are you using a text file to display the data instead of something with a more simple tabular layout?
As for the reference to the object, if the method must obtain the product from a list of products then presumably the method will be along the lines of:
public Product getById(String ID){
...//Loop through list of products until we find the ID
...//Return the Product with the specified ID (I'm presuming the ID is a variable in the Product class and not the ID in an array or list?)
} -
BPS Layout formatting looks simple but tricky - Help
Hi ,
Created a layout with the below charaterstics and Month1 give the qty for that month. It works great but
1) When there is no data i.e no qty for that month , it suppose to be blank but it gives the below out put
Currenlty :
Material mplant DType month(qty)
552477 552477
552477 552477
552477 552477
552477 552477
552477 552477
552477 552477
552477 552477
552477 552477
552477 552477
Desired :
Material mplant DType month(qty)
2) When there is data i.e qty for that month , it suppose to give two records but it gives the below out put
i.e values and some more lines with material but no qty . Actually there is data for only 2 rows.
Currently :
Material mplant DType month(qty)
552477 552477 A 10
552477 552477 B 20
552477 552477
552477 552477
552477 552477
552477 552477
552477 552477
552477 552477
552477 552477
Desired :
Material mplant DType month(qty)
552477 552477 A 10
552477 552477 B 20
I created a macro to delete the duplicate when the number repeats but that doesnot solve because when ever I want to read the total number of rows in another macro it shows wrong total number of line because of these repeating material numbers .
How can I get the desired output ? is there any simple setting in the layout or XL with out using a complicated macros etc.........
Using sem bw 320
Please help . Thank you inadvance.
Raju
Edited by: venkat bhuaptiraju on Jan 8, 2008 6:01 PM
Edited by: venkat bhuaptiraju on Jan 8, 2008 6:04 PM
Edited by: venkat bhuaptiraju on Jan 8, 2008 6:07 PMThank you all for your reply very very useful tips. This is getting some how very interesting and frustating at the same time.
Bindu : I used the similar code that you gave me that works perfect it removes the rows data that I do not need but retains the format for exmple the STYLES that I applied for the data and header data
Arya : The cube has the 2 records and my below msg will clarify that the issue is not with this
Aby : Yes even, I do not understand why the those 2 columns data with no key figure values
Jeoffrey :
- I checked 3- : Layout set to From Transaction data
- I checked 4- restrictions (variables?) may not be because ...see... my below observations........
- I checked 5- ...may not be because ...see... my below observations........ BUT I am going through they
are very interesting.
Sappie :
...may not be because even for one material ...see... my below observations........
More Facts : Sorry I would have given this in the beginning.
- I am running an adhoc package that contains an existing layout which works perfect
- When I copy layout and remove all the styles and macros still it works great
- BUT when I create a new layout with exactly same setting NO CHANGE and run the SAME adhoc package I get those material numbers repeating .........
I have both the layouts in my PC and compared but did not see any difference , Can you please look at it if you think there could be something there ? Please send me you email I can email you.
Again thank you for looking in to it, your replies are very logical.
Regards,
Raju -
Does anyone know how to generate fixed format text file? I have few fields in the select which are null and hence messes up the file format, as space does not take up same amount of character width than any alphabets.
Basically I want to generate fixed length data file which is scheduled through DBMS_JOBS. I am using UTL_FILE utility.
Every suggestion are welcome
Thanks in advance for help :)
email your response at [email protected]hello,
using spaces as filler is sufficient. a space takes up the same room (one character) as any other letter in the alphabet.
if you look at the output in any word-processing tool or editor, that uses fonts like times, helvetica, arial, etc. those fonts are rendering the space-character smaller. in fact they are rendering each letter different. if you want to see what your output looks like, choose a font like courier.
if you just generate the file and then process it further, you should be OK. don't let you be fooled by what you see in your editor.
regards,
philipp -
Amount formating in Excel output of XML Publisher Report
Hi,
I have to display my XML output in Excel format. I want the output of amount column to be displayed in form '#,###.00' and the negatives numbers are to be displayed in parenthesis. For eg number -234.5 should be displayed as (234.50).
I tried <?format-number:AMOUNT;'99G999G999G990D00PT'?> and also <?format-currency:OPEN_BALANCE;'99G999G999G990D00PT'?>.
Both of these works in PDF output, but its not working for Excel output.
Any input is appreciated.
Thanks and RegardsThe best way i found was to put a equals and then double quotes... this only works for excel however it will allow you to cut and paste (ie to use the value to search in Oracle) and also to do vlookups.
In a bit more detail:
- I used word to generate my default table
- this created a field INVOICE_NUM
- in the cell in the table i put = " before the INVOICE_NUM field and then put the closing " afterwards.
The theory is that excel will concatenate the values together... because it has quotes around it, it will treat it as a string rather than simply a value.
For any other formats this will not work.
I'm guessing most people have moved on and resolved this some other way, but just thought I'd share the wealth! -
XML Publisher - how to make column as date format in excel output
Hi,
I am having a XML publisher report , output is excel format. There are some date fields in reports, which are being displayed as "General" type in excel.
Any way to restrict it in Date type only.
Please explain the solution in detail. I am using rtf template.
Regards
SandeepHi Sandeep,
I have the same issue. After looking at a lot of replies from various blogs, some suggest to use this format in your rtf.It did not work for me. You could try this and check if it works for you.
<?format-date:datefied;’yyyy/MM/dd’?> where the format can be specific to your use. -
Changing the file format of spool output when scheduling a background job.
Hello Experts,
I have an issue. It is related to Spool output format. I created a job for one report program for which the output is a list output. I have added one recipient in the 'Spool list recipient' while creating the job SM36. After the job is finished the spool output is sent to the recipient mail id as .htm format as an attachment. But the attachment should be excel sheet or text file. No coding in the program should be used to convert the file format. Only settings in the spool while creating job should be manipulated. Please help me in solving this issue.
Regards.Hi Sunil,
You can use the logic for converting spool to PDF using program : RSTXPDFT4 . Alternatively you can use FM: CONVERT_ABAPSPOOLJOB_2_PDF . In this FM you need to pass the Spool id .
u can make use of these FM's SO_DOCUMENT_SEND_API1
SO_NEW_DOCUMENT_SEND_API1
Check out the following wiki:
https://wiki.sdn.sap.com/wiki/display/Snippets/ConvertsspoolrequestintoPDFdocumentand+emails
hope this will use full to you.
Thanks!! -
How can I print to file (simple output) from the print dialog? Not PDF or PostScript
Hello
I do quite a bit of work in virtual terminal (SSH) and I tend to pull enormous amounts of data that need to be saved to a *.txt file. This needs to have ZERO formatting, as it is simply data extracted from a data base (CSV, tab delimited, etc). This information is then formatting through the use of other applications (excel, access, etc). By zero formatting i mean, no text wrap, nothing! It needs to be a text based pure database output.
I cannot use Print to PDF
I cannot use Print to PostScript
both of these include formatting, and erroneous data that would require me many hours to clean up the data by hand. On a Windows based PC you can simply install a "Print to File" printer through your printer setup menu.
I've spent many hours searching online and other seem to need this same exact type of output.
The closest thing i've been able to do is create an automator file that upon printing converts the PDF into a text file. This doesn't work as it retains the formatting per the original PDF document. This also doesn't seem to help as some outputs are 30mb in size.
If anybody could assist with this that would be awesome. Thanks!It looks as though you need a netgear router to use this and we have a btinternet router so it won't work
The word is that this suggestion will work with any router.
I did not see the brother printer listed.
List of supported AirPrinters.
http://support.apple.com/kb/HT4356
printing to a non-airprinter from an iPad
To print from the iPad, your going to have to install some more software:
-- install a printer app on the ipad. many printer makers have iPad applications for their printers. Look in the app store
-- install enabling software on a computer which you have connected the printer
For a comprehensive list of links, see Texas Mac Man list:
https://discussions.apple.com/message/21291967#21291967
iPad Print Applications supplied by printer manufactures -- usually free:
Brother iPrint&Scan
http://itunes.apple.com/us/app/brother-iprint-scan/id382775642
Helper app -- /print n share
Print directly to the widest range of network or WiFi printers available in any app. Alternatively print via your computer to ALL printers including USB & Bluetooth printers. View read and display large PDF, Office & iWork files. Easily transfer & store files from the Cloud or your computer.
https://itunes.apple.com/us/app/print-n-share/id301656026?mt=8
Software for your computer's printer:
Mac and Windows
FingerPrint
http://reviews.cnet.com/8301-19512_7-57368414-233/fingerprint-turns-any-printer- into-an-airprint-printer/ -
Ipod touch no longer autosyncs since adding new windows format. Simple how to ?
Hello. Since downloading the new format assoc'd w/ Itunes10.1 my Ipod touch no longer automatically syncs. Is there something simple I'm missing ?
Start here:
iPhone, iPad, or iPod touch: Device not recognized in iTunes for Windows
I would first remove and reinstall all the Apple software by:
Removing and reinstalling iTunes, QuickTime, and other software components for Windows Vista or Windows 7
The drivers in windows that sees the iPod as a camera is different that the drivers that see the iPod in iTunes. -
Setting format and format options in Output module settings for render queue item
Hello,
I am unable to set the "Format" and "Format options" for video in output module settings programatically using After effects apis.
I referred the after effects cs3 sdk guide for the apis.
I find apis for all other options in the "outputmodule settings " like :
AEGP_SetEmbedOptions
AEGP_SetOutputChannels
AEGP_SetStretchInfo
AEGP_SetSoundFormatInfo
But there is no api listed for setting the options available in the "Format" tab and "Format options" tab.
The "Format" tab and "Format options" tab is available in the dialog that opens when user clicks on the Output module settings for the render queue item.
The format tab when clicked shows a drop down list with aff different formats. By default "Video for Windows" is set.
The drop down list contains following format options
Adobe Clip Notes
Adobe Flash video
Quicktime movie
Video for Windows
I need to be able to set the "Quicktime movie" option in the Format tab programmatically and then set the compression type as "Animation" in the compression settings programatically using the api functions available in AE CS3 SDK
Please suggest the suitable api to do so.
I need to write my own plugin to export to Quicktime movie using the after effects apis.
I follow below steps to do so.
1. AEGP_InsertMenuCommand and add export option to AE with my own plugin name
2. In the command hook, select active item using AEGP_GetActiveItem
3. Add it to render queue
4. Set the output module settings for 0 th output module using
suites.OutputModuleSuite1()
5. Use different functions from suites.OutputModuleSuite1() to set the output module settings like EmbedOptions,StrechInfo etc.
6. Till this step, I am doing it right. But I am not able to find any api for setting Format options using suites.OutputModuleSuite1()
I also checked all other suites available for setting FormatOptions but no luck.
Please help.
Thanks,
-NamitaHi Namita,
I am experiencing the same problem.
I am using AE CC SDK, and I am unable to change the outputmodule format to any of the other movie format types (mov, mpg, flv, etc.).
It is always set to "avi"
I even compiled and ran the Queuebert example in the SDK, and there I get the same problem: the path extension is always left on ".avi"
Does anyone know how to change this? -
Date format in Bex Output should be changed while using with Text Variable
I am using a Bex Query where have defined a Text Variable with replacement path. So whatever Date user enters in the selection screen variable (Input Variable) the same date appears in the report description.
For Ex: If user enters 30.04.2012 in Char Variable/Input Variable before executing the report, so once he executes the report the same date appears on report description like "ABC Analysis as on 20120430". Is also changes the report description whenever user changes the date in selection screen variable.
My requirement is......Date format should be come as 30.04.2012 (DD.MM.YYYY) instead of 20120430 (YYYYMMDD) in report description.
Guys could you please help me out to achieve the desired output.
Rgds,
RituPlease check if you have selected Replace with Key in that text variable.
Instead of that select External characteristic value key.
This should help you in giving the desired output.
Regards,
AL -
Assigning a format to an output type while printing Hu label;s
Hi Everyone,
I am trying to see if there is a way to attach a format type to a output type which we are using to print HU barcoded labels...
we have about 6 different formats one for a customer... so when we ar desigining an output type we need to figure how to append this format type to the custom Output type we are developing....
I have looked at the handling units... there is a method to a assign bar code profile and formk to an output type... i dont have anything that allows me to embed a format type into an output type.... please helpVariable "elist" is a collection of record, so you access an individual field of a given collection element by specifying the field name, not its position :
DECLARE
SUBTYPE t_rec IS TEST_TABLE%ROWTYPE;
TYPE records_table IS TABLE OF t_rec;
elist RECORDS_TABLE;
CURSOR table_cursor IS SELECT * FROM TEST_TABLE WHERE rownum <= 20;
BEGIN
OPEN table_cursor;
FETCH table_cursor BULK COLLECT INTO elist;
FOR j IN 1..elist.COUNT
LOOP
elist(j).value1 := elist(j).value1 + 1;
END LOOP;
CLOSE table_cursor;
END;Your second example is different as you're dealing with a collection of collections.
Maybe you are looking for
-
SOA managed server and SOA infra not starting
Hi I have my database and listener up and running. I can also successfully start SOA Administration server. But I am unable to start SOA managed server. I can see SOA managed server getting started with WARNING and SOA infra always fails to start. I
-
My internet keeps 'tripping' at or around the same period time each day. We have already replaced our modem from our internet provider and we bought a new airport extreme router. We do not believe these were the cause, although we have now ruled the
-
I require to extend f:view to add certain client specific attributes later on. the basic extension of f:view is not working. here is what i did public class ViewTag extends UIComponentTag { private String locale; * @see javax.faces.webapp.UIComponent
-
Mail transport rule to block email with recipients in 2 different domains
Is it possible to set up a mail transport rule (Exchange 2007) to block or put on hold emails that are sent to recipients in more than one domain? Eg if the recipients /cc/bcc are [email protected];[email protected] then the email is held for appro
-
How to protect t save pdf form from browser
Is it possible to ptotect to save pdf form from browser? If so how can I do?