Python/matplotlib output using latex broken

ive been trying to:
pyplt.savefig("something.eps")
but i always get these errors:
Saving figure to: plots/large_study/res_FR.eps
RuntimeError Traceback (most recent call last)
/mnt/data/sandbox/python/sqc_replacement/datawriter.py in <module>()
----> 1
2
3
4
5
/mnt/data/sandbox/python/sqc_replacement/datawriter.py in plot_residuals(params, ff)
613 fname = 'plots' + os.sep + outfile + os.sep + 'res_' + p + '.' + ff
614 print('Saving figure to: ' + fname)
--> 615 pyplt.savefig(fname, **{'format':ff})
616 # 1}}}
617
/usr/lib/python2.6/site-packages/matplotlib/pyplot.pyc in savefig(*args, **kwargs)
354 def savefig(*args, **kwargs):
355 fig = gcf()
--> 356 return fig.savefig(*args, **kwargs)
357 if Figure.savefig.__doc__ is not None:
358 savefig.__doc__ = dedent(Figure.savefig.__doc__)
/usr/lib/python2.6/site-packages/matplotlib/figure.pyc in savefig(self, *args, **kwargs)
1030 patch.set_alpha(0.0)
1031
-> 1032 self.canvas.print_figure(*args, **kwargs)
1033
1034 if transparent:
/usr/lib/python2.6/site-packages/matplotlib/backend_bases.pyc in print_figure(self, filename, dpi, facecolor, edgecolor, orientation, format, **kwargs)
1474 orientation=orientation,
1475 bbox_inches_restore=_bbox_inches_restore,
-> 1476 **kwargs)
1477 finally:
1478 if bbox_inches and restore_bbox:
/usr/lib/python2.6/site-packages/matplotlib/backend_bases.pyc in print_eps(self, *args, **kwargs)
1327 from backends.backend_ps import FigureCanvasPS # lazy import
1328 ps = self.switch_backends(FigureCanvasPS)
-> 1329 return ps.print_eps(*args, **kwargs)
1330
1331 def print_pdf(self, *args, **kwargs):
/usr/lib/python2.6/site-packages/matplotlib/backends/backend_ps.pyc in print_eps(self, outfile, *args, **kwargs)
853
854 def print_eps(self, outfile, *args, **kwargs):
--> 855 return self._print_ps(outfile, 'eps', *args, **kwargs)
856
857
/usr/lib/python2.6/site-packages/matplotlib/backends/backend_ps.pyc in _print_ps(self, outfile, format, *args, **kwargs)
882 self._print_figure_tex(outfile, format, imagedpi, facecolor, edgecolor,
883 orientation, isLandscape, papertype,
--> 884 **kwargs)
885 else:
886 self._print_figure(outfile, format, imagedpi, facecolor, edgecolor,
/usr/lib/python2.6/site-packages/matplotlib/backends/backend_ps.pyc in _print_figure_tex(self, outfile, format, dpi, facecolor, edgecolor, orientation, isLandscape, papertype, **kwargs)
1183 convert_psfrags(tmpfile, ps_renderer.psfrag, font_preamble,
1184 custom_preamble, paperWidth, paperHeight,
-> 1185 orientation)
1186
1187 if rcParams['ps.usedistiller'] == 'ghostscript':
/usr/lib/python2.6/site-packages/matplotlib/backends/backend_ps.pyc in convert_psfrags(tmpfile, psfrags, font_preamble, custom_preamble, paperWidth, paperHeight, orientation)
1270 if exit_status:
1271 raise RuntimeError('LaTeX was not able to process your file:\
-> 1272 \nHere is the full report generated by LaTeX: \n\n%s'% fh.read())
1273 else: verbose.report(fh.read(), 'debug')
1274 fh.close()
RuntimeError: LaTeX was not able to process your file:
Here is the full report generated by LaTeX:
This is pdfTeX, Version 3.1415926-1.40.10 (TeX Live 2009/Arch Linux)
restricted \write18 enabled.
entering extended mode
(/tmp/tmpQzkfCe.tex
LaTeX2e <2009/09/24>
Babel <v3.8l> and hyphenation patterns for english, usenglishmax, dumylang, noh
yphenation, german-x-2009-06-19, ngerman-x-2009-06-19, ancientgreek, ibycus, ar
abic, basque, bulgarian, catalan, pinyin, coptic, croatian, czech, danish, dutc
h, esperanto, estonian, farsi, finnish, french, galician, german, ngerman, mono
greek, greek, hungarian, icelandic, indonesian, interlingua, irish, italian, ku
rmanji, latin, latvian, lithuanian, mongolian, mongolian2a, bokmal, nynorsk, po
lish, portuguese, romanian, russian, sanskrit, serbian, slovak, slovenian, span
ish, swedish, turkish, ukenglish, ukrainian, uppersorbian, welsh, loaded.
(/usr/share/texmf-dist/tex/latex/base/article.cls
Document Class: article 2007/10/19 v1.4h Standard LaTeX document class
(/usr/share/texmf-dist/tex/latex/base/size10.clo))
(/usr/share/texmf-dist/tex/latex/type1cm/type1cm.sty)
(/usr/share/texmf-dist/tex/latex/psnfss/mathptmx.sty)
(/usr/share/texmf-dist/tex/latex/psnfss/helvet.sty
(/usr/share/texmf-dist/tex/latex/graphics/keyval.sty))
(/usr/share/texmf-dist/tex/latex/psnfss/courier.sty)
(/usr/share/texmf-dist/tex/latex/base/textcomp.sty
(/usr/share/texmf-dist/tex/latex/base/ts1enc.def))
(/usr/share/texmf-dist/tex/latex/geometry/geometry.sty
(/usr/share/texmf-dist/tex/generic/oberdiek/ifpdf.sty)
(/usr/share/texmf-dist/tex/generic/oberdiek/ifvtex.sty)
(/usr/share/texmf-dist/tex/xelatex/xetexconfig/geometry.cfg)
Package geometry Warning: Over-specification in `h'-direction.
`width' (578.15999pt) is ignored.
Package geometry Warning: Over-specification in `v'-direction.
`height' (433.62pt) is ignored.
) (/usr/share/texmf-dist/tex/latex/psfrag/psfrag.sty
(/usr/share/texmf-dist/tex/latex/graphics/graphics.sty
(/usr/share/texmf-dist/tex/latex/graphics/trig.sty)
(/usr/share/texmf-dist/tex/latex/latexconfig/graphics.cfg)
(/usr/share/texmf-dist/tex/latex/graphics/dvips.def)))
(/usr/share/texmf-dist/tex/latex/graphics/graphicx.sty)
(/usr/share/texmf-dist/tex/latex/graphics/color.sty
(/usr/share/texmf-dist/tex/latex/latexconfig/color.cfg)
(/usr/share/texmf-dist/tex/latex/graphics/dvipsnam.def))
No file tmpQzkfCe.aux.
(/usr/share/texmf-dist/tex/latex/base/ts1cmr.fd)
(/usr/share/texmf-dist/tex/latex/psnfss/ot1ptm.fd)
*geometry detected driver: dvips*
<tmpQzkfCe.eps> (/usr/share/texmf-dist/tex/latex/psnfss/ot1ztmcm.fd)
(/usr/share/texmf-dist/tex/latex/psnfss/omlztmcm.fd)
(/usr/share/texmf-dist/tex/latex/psnfss/omsztmcm.fd)
(/usr/share/texmf-dist/tex/latex/psnfss/omxztmcm.fd)
! Missing $ inserted.
<inserted text>
$
l.47 \includegraphics*[angle=0]{tmpQzkfCe.eps}
! Extra }, or forgotten $.
\mbox #1->\leavevmode \hbox {#1}
l.47 \includegraphics*[angle=0]{tmpQzkfCe.eps}
! Extra }, or forgotten $.
\nfss@text #1->{\mbox {#1}}
l.47 \includegraphics*[angle=0]{tmpQzkfCe.eps}
! Missing $ inserted.
<inserted text>
$
l.47 \includegraphics*[angle=0]{tmpQzkfCe.eps}
! Missing } inserted.
<inserted text>
l.47 \includegraphics*[angle=0]{tmpQzkfCe.eps}
! Missing } inserted.
<inserted text>
l.47 \includegraphics*[angle=0]{tmpQzkfCe.eps}
[1] (./tmpQzkfCe.aux) )
(see the transcript file for additional information)
Output written on tmpQzkfCe.dvi (1 page, 5944 bytes).
Transcript written on tmpQzkfCe.log.
matplotlibrc:
backend : GTKAgg
font.family : serif
font.serif : Times, Palatino, New Century Schoolbook, Bookman, Computer Modern Roman
font.sans-serif : Helvetica, Avant Garde, Computer Modern Sans serif
font.cursive : Zapf Chancery
font.monospace : Terminus, Dina, Courier
text.usetex : true
ps.usedistiller : ghostscript
relevant packages:
extra/texlive-bibtexextra 2009.16287-1 (texlive-most)
extra/texlive-bin 2009.5-2
extra/texlive-core 2009.16776-1 (texlive-most)
extra/texlive-fontsextra 2009.16617-1 (texlive-most)
extra/texlive-formatsextra 2009.16044-1 (texlive-most)
extra/texlive-games 2009.16453-1 (texlive-most)
extra/texlive-genericextra 2009.15878-1 (texlive-most)
extra/texlive-htmlxml 2009.15878-1 (texlive-most)
extra/texlive-humanities 2009.16540-1 (texlive-most)
extra/texlive-latex3 2009.16491-1 (texlive-most)
extra/texlive-latexextra 2009.16666-1 (texlive-most)
extra/texlive-music 2009.15878-2 (texlive-most)
extra/texlive-pictures 2009.16576-1 (texlive-most)
extra/texlive-plainextra 2009.16629-1 (texlive-most)
extra/texlive-pstricks 2009.16633-1 (texlive-most)
extra/texlive-publishers 2009.16512-1 (texlive-most)
extra/texlive-science 2009.16539-1 (texlive-most)
extra/python-numpy 1.4.0-1
community/python-scipy 0.7.1-5
community/python-matplotlib 0.99.1.2-2
im pretty new to python, and i know nothing of latex, other than it seems to be well broken atm for me. i can save figures in any other file format with no errors.

csstaub wrote:Looks like the script is generating invalid LaTeX code. A bug perhaps?
i've asked friends (other distros) and the folks in #scipy, noone else seems to have this problem.
i'd bet it has something to do wiht my setup, but im afraid idk enough to fix this problem.

Similar Messages

  • Python-matplotlib and dependencies

    To day I tried to install python-matplotlib, but it dependet on, and tried to install wxpython and tk, which in turn depends on old usless gtk-1 and glib-1. All together 17 MB. Why is that, you can easily build this package without all those dependencies and as far as I know don't lose any functionality.

    tpoisot wrote:
    karol wrote:Write a PKGBUILD and specify the dependencies there. In Arch we're using pacman to handle package updating and dependency resolving, so it makes sense to use packages rather than e.g. bare xpi plugins.
    Thanks for the info. But shouldn't there it be a mechanism to not install the arch version of a python pakage if the correct version has been installed using e.g. pip already?
    No. I think pip should be patched to inform pacman about its illegal operations in pacman territory.

  • My VGA output using Mini DisplayPort to VGA doesn't work.

    Since I upgraded to Mavericks, my VGA output using Mini DisplayPort to VGA doesn't work. When I was using Mountain Lion, as soon as you plugged in the Mini adaopter into the mini display port, the screen would shrink and format to where it would project via a RGB cable to a projector. No such luck since Mavericks! Also, I had a lot of trouble with the DVD player when I tried to play a DVD and project it via a projector. It all worked seamlessly with Mountain Lion. Can anyone help me?

    I think if you go to System Preferences >> Displays and Option-click on the "Scaled" radio button, it will show you all of the resolutions that you would have had before under Mountain Lion. I just upgraded to Maverick and my resolution preferences (mirrored on a TV using the Mini DisplayPort to VGA adapter, using 1280x768) were completely reset (my display was no longer mirrored, and the resolution on my main iMac screen became 2560x1440). I found my answer here: https://discussions.apple.com/message/23599645#23599645. Hope that helps.

  • Generate XML output using DBMS_XMLGEN.getxmltype and not from rdf

    Hi,
    I have a requirement to display output from a particular table in XL format. Out of all the known possible options, I am planning to use the XML publisher to generate XL output.
    For the data source, instead of using the conventional way of creating XML data using rdf,I am planning to use DBMS_XMLGEN.getxmltype pl/sql procedure to generate the XML output. And from the output, call the template to generate the required Excel output.
    Now, I am using the following code to generate XML output but am not sure how to proceed from here. I need to first print the XML data in the FND Output file after which I was planning to call the 'XML Report Publisher' (XDOREPPB) program and use the current request id to get the excel output but I am not able to find the way to print the XML data in the output file as:
    fnd_file.put_line (fnd_file.output, l_xml_type); - is throwing an error as l_xml_type is an XML data output.
    PROCEDURE xml_main (
    errbuf OUT VARCHAR2
    ,retcode OUT VARCHAR2
    ,p_project_from IN VARCHAR2
    ,p_project_to IN VARCHAR2
    AS
    l_xml_type XMLTYPE;
    BEGIN
    SELECT DBMS_XMLGEN.getxmltype
    ('SELECT fnd_global.conc_request_id
    ,TO_CHAR (segment1)
    ,to_char(start_date,''MM/DD/RRRR'')
    ,to_char(xxmcc_project_details_pkg.current_profit_projection
    (project_id),''999,999,990.90'')
    ,to_char(xxmcc_project_details_pkg.cost_to_date (project_id),''999,999,990.90'')
    ,''1''
    FROM pa_projects_all
    WHERE segment1 BETWEEN NVL (p_project_from, segment1)
    AND NVL (p_project_to, segment1)')
    INTO l_xml_type
    FROM DUAL;
         fnd_file.put_line (fnd_file.output, l_xml_type);
    END xml_main;
    Can anyone point me as to how to publish XML output using a PL/SQL procedure (DBMS_XMLGEN.getxmltype)
    Thanks.

    Pl see if the example included in this presentation helps http://www.oracle.com/technology/products/applications/Events/OOW-2006/EBS/S281401_Sridhar_Bogelli.pdf
    Also, you do not need to explicitly call XDOREPPB in later versions of XML Publisher. If you set up everything correctly (as described in the presentation above and the link below) the Output Post Processor is called automatically after the XML file is generated successfully.
    Another excellent tutorial is at http://www.oracle.com/technology/obe/fusion_middleware/fusion/bi/xmlp_ebiz/index.html
    HTH
    Srini

  • Editable field in alv tree output using cl_gui_alv_tree

    Hi,
    i need Editable field with F4 help in alv tree output using cl_gui_alv_tree.
    regards,
    Naresh

    sadly, this is not possible. An ALV Tree cannot by editable.
    Regards

  • Is it possible to display a date as (DD-MON-YYYY) in excel output using excel template in xml publisher

    Is it possible to display a date as (DD-MON-YYYY) in excel output using excel template in xml publisher where date should be displayed as date only not string.

    I've tried to use hierarchy node variables, but it seems like you can't specify a attribute of the hierarchy such as level.  So with the WBS hierarchy, if you create a hierarchy node variable, you specify the WBS value to select (If I understand this correctly).  I wish I could instead specify "give me all the WBS nodes that happen to have the value of the level attribute greater or equal to 3.  If I understand Juergens post, he is saying make security access so that only certain WBS levels can be returned in the query.  I suppose we can try that, but that would then preclude getting the level 1 and 2 in the future if the authorization is global.

  • Report VS Excel output using XML Publisher tool (DBMS_XMLGEN)

    Hi All,
    Currently I am working on report generation in MRP module with Excel output using XML Publisher tool.
    XML tool works based on query.
    I have developed PLSQL block by using DBMS_XMLGEN – database package, to generate XML output of query.
    My question is how we can put generated xml on above PLSQL block into OUT file (APPS).
    Because DBMS_OUTPUT.PUT_LINE( ) has limitation, it allow 255 character string only.
    But I do not know, Is FND_FILE.PUT_LINE (FND_FILE.OUTPUT,’’) allow for large data?
    If it does not allow what will be the other solution in oracle application to resolve above problem.
    Let me know any queries regarding to this problem.
    Thanks and Regards,
    Sai Krishna @cavaya.com

    Hi Prakash,
    Thanks for the reply. We did apply the one-off patch and got rid of the problem of not viewing 'Excel' output using XMLP.
    Now we are looking at a different perspective:
    Basically our client is looking for the following:
    1. Mathematical functions in the resulting XLS (like SUM, AVG etc..) ouput
    2. Use of macros if possible.
    And to do this i am looking out for a sample template that gives me output in excel format I have a TAR with Oracle for this purpose, but the TAR has so far been unsuccessful in providing us with any material in the direction.
    Our client remembers seeing this as a demo at the Oracle Conference this yr at San Fransisco, but does not have a sample to provide us. We are looking for such a sample.
    Thx,
    Nitin

  • Excel output using XML Publisher 5.5

    Hi,
    We are trying to obtain output of a simple customer summary report in 'EXCEL" format. For this purpose we have registered a 'RTF' template using which we get output in PDF/RTF formats. We are trying the 'EXCEL' format for the first time. Each time we run the concurrent request for XMLP, and then click 'View Output' we get a pop saying the following message
    "ORA-1403: no data found". The same report works perfectly fine when i run it using the template builder/viewer tool i have on my desktop. Can some throw light on this issue that we are facing.
    Please note that this is extremely important for us, as we plan to design a 'Gross Margin' report using XMLP in 'EXCEL' format and for this, this needs to work. Any inputs will be helpful.
    It would be great if someone in thr group can share a sample RTF template that generates output in 'Excel ' format.
    Tx,
    Nitin Jain

    Hi Prakash,
    Thanks for the reply. We did apply the one-off patch and got rid of the problem of not viewing 'Excel' output using XMLP.
    Now we are looking at a different perspective:
    Basically our client is looking for the following:
    1. Mathematical functions in the resulting XLS (like SUM, AVG etc..) ouput
    2. Use of macros if possible.
    And to do this i am looking out for a sample template that gives me output in excel format I have a TAR with Oracle for this purpose, but the TAR has so far been unsuccessful in providing us with any material in the direction.
    Our client remembers seeing this as a demo at the Oracle Conference this yr at San Fransisco, but does not have a sample to provide us. We are looking for such a sample.
    Thx,
    Nitin

  • Error in generating HTML output using Central Output Pro Server 5.5

    I am getting the following error while generating HTML output using the Output Pro Server. A new printer was created with the Physical Device as "HTML Template Generation - [html]" and added to the Job.<br /><br />2004/05/07 20:09:53 D:\Program Files\Adobe\Central\Bin\jfmerge: [400](1801) The printer name is invalid.<br /><br />2004/05/07 20:09:53 D:\Program Files\Adobe\Central\Bin\jfmerge: [3015]Error, unable to open printer.<br />2004/05/07 20:09:53 D:\Program Files\Adobe\Central\Bin\jfmerge: [3008]Error, unable to get info about device 'PAYMENTADVICEHTM.html' attached to port '<nil>'.<br />2004/05/07 20:09:53 D:\Program Files\Adobe\Central\Bin\jfmerge: [400](183) Cannot create a file when that file already exists.<br /><br />2004/05/07 20:09:53 D:\Program Files\Adobe\Central\Bin\jfmerge: [2]Error opening output device/file 'PAYMENTADVICEHTM.html'.<br />2004/05/07 20:09:53 D:\Program Files\Adobe\Central\Bin\jfmerge: [400](6) The handle is invalid.<br /><br />2004/05/07 20:09:53 D:\Program Files\Adobe\Central\Bin\jfmerge: [3018]Error ending page on printer.<br />2004/05/07 20:09:53 D:\Program Files\Adobe\Central\Bin\jfmerge: [210]Nothing was printed.<br />2004/05/07 20:09:53 D:\Program Files\Adobe\Central\Bin\jfserver.exe: [314]Agent exit message: [3018]Error ending page on printer.

    If I were to guess, I'd guess that your filename is invalid. How about removing all special characters (spaces, brackets, etc.) from the device name. Also, make sure your form was compiled for HTML.
    I haven't actually used the HTML driver, but these are general things you should do if you have trouble with any Central driver.
    Regards,
    Rob McDougall
    Indigo Pacific

  • Problem with number-fields in PDF Output Using FOP

    When generating PDF Output using FOP as described in the utilitiy provided in the HTMLDB Studio http://htmldb.oracle.com/pls/otn/f?p=18326:44:12104450162492733947::::P44_ID:1522
    formatted numbers over 1,000 are resolved as characters (because of the comma) and are therefore right justified. This results in alignment issues for numeric columns.
    Does anyone have any ideas on how to work around this.
    Thanks,
    David

    Hello,
    Your probably going to have to edit the xslt to get the result either by stripping out the comma or by setting that column to explicitly align the way you want it.
    Carl

  • Editable field with F4 help in alv tree output using cl_gui_alv_tree

    HI
    i need Editable field with F4 help in alv tree output using cl_gui_alv_tree
    Regards
    Naresh

    Hi Naresh,
    Pass the field catalog with the additional parameter (ls_fcat-edit = 'X'.).
    for F4 help if the data element have the search help it automatically will come. other wise include the additional parameter in the field catalog (ls_fcat-F4AVAILABL = 'X')
    Reward if found helpful.
    Regards,
    Boobalan Suburaj

  • WIth LabVIEW how do I control an instrument with a RS232 output, using a RS232 to USB converter cable.

    WIth LabVIEW how do I control an instrument with a RS232 output, using a RS232 to USB converter cable since I dont have rs232 ports. I have two instruments that I want to control in this manner. One is an Imada ZPS force gage with RS232 output. The other is a Panasonic HL-G103-S-J laser micrometer sensor which is RS422. I've done considerable LabVIEW programming using GPIB but I have no experience with devices like these. Any tutorial or examples would be greatly appreciated.
    Thanks.
    Solved!
    Go to Solution.

    I understand that you want to control a device which having RS 232 port as output. If so, you can use an USB-RS232 cable from PC to device and you can control or monitor the device.
    See this link http://zone.ni.com/devzone/cda/epd/p/id/2669
    Also, first check the device in hyperterminal and then continue to program in labVIEW. You can find the serial VI's in Instrument I/O.

  • Can anybody out there help shed some light on why no audio output using varispeed tempo only

    Can anybody out there help shed some light on why no audio output using varispeed tempo only?
    I am using Logic Pro 9 and finding no problems using the tempo and pitch option but when I just want to vari the tempo only I loose all output.
    This includes no audio meter activity on channells.

    Another worthwhile time/pitch related product is from Prosoniq. The version of Nuendo (not the latest) the University uses ships with the MPEX algorithm, which is related to to their flagship product.
    http://www.prosoniq.com/www/TimeFactory_II.html
    I've used it a bit to create the double-time/+1 octave  Les Paul & Mary Ford guitar sound for a class demo demo and thought it did a very good job.
    Yes, there is a Demo.

  • Multiple inputs and outputs using DAQmx VIs

    Hello,
    I am fairly new with the LabView programming language.  I have a few training books that I have been reading, and I have been following online tutorials and reading the forums.  However, I have come to a problem where I don’t see a clear solution.  I am using LabView 2009 (9.0f3) and DAQmx VIs.
    I am using a NI 9172 chassis PLC, with two 9201 AI cards, 9217 AI RTD card, 9472 DO card, 9263 AO card, and two 9237 AI Bridge cards.
    I am reading eight analog inputs with the 9201 cards, two analog RTD inputs with the 9217 card, three digital outputs with the 9472 card, three analog outputs with the 9263, and eight analog inputs with the 9237 cards.
    I wrote a simple program to test one digital output task, two of the analog output tasks, and a single analog input task.  I put all of them in the same while loop, and it worked perfectly.  However, when I add analog input tasks to the same loop, I get an error 200022.    So I tested each sensor individually by changing the channel before each run.  I searched error 200022 and found that this is because I cannot start another analog input task until the previous one ends.  With this said, I don’t know how to acquire an analog voltage in the same task as an analog RTD voltage.  Both inputs take different constants in the start task DAQmx icon.
    Attached is my test program.  It is titled “Test All”. This is the program I used to test the various sensors.  I tested the input sensors one at a time, and it worked fine.  A few tasks are written just to test functionality, and will be added to later.  The data is only displayed on the screen.  I will add triggers and data write to disk functions later.  This program works now, but if I add more analog inputs, it will generate the 200022 error.
    Can someone show me how to correctly write the code for multiple inputs and outputs using DAQmx?  All training materials and tutorials I can find all show a single input or single output, not multiples of each.  Thanks for looking.
    -Randy
    Attachments:
    TestAll-NI.vi ‏32 KB

    Hi RandyC,
    The Knowledge Base article Using Different Types of DAQmx Global Channels in the Same Task goes into a little more depth of what Bryan is talking about, and it also includes some example code to help show what to do.
    Hope that helps,

  • Problem in displaying Alv grid output  using oops........

    hi,
    i have two problems in displaying ALV grid output Using Oops.
    1) How to modify the fieldcatalog after we getting a field catalog using general FM.
    2) initialy it is displaying 13 fields but there are 63 fields .
       eventhough we chage the layout to 63 fields it is displaying only 13 fields , these 13 fields may be different based on our selection but count  of displayed fileds are same . how can display 63 fields at a time .

    Hi,
    You can chnage using below code:
    loop at gt_fieldcat.
    if <gt_fieldcat-field_name> = 'FIELDNAME'.
    endif.
    modify gt_fieldcat.
    clear gt_fieldcat.
    endloop.
    Make sure that all the field should not have no_out = 'X' and tech = 'X'.
    Thanks,
    Sriram Ponna.

Maybe you are looking for

  • Is it ok if I never got my email confirmation for an online order

    Is it ok if I never got my email confirmation for an online order? When I log into the site with my order number and zip, it shows the date I have printed out, but I never did get the email confirmation after 24 hours like it said I would. Its been a

  • How to update position (change job)

    Dear All, Please let me know how can we update an existing position which is used by employees. The problem here is that we need to change the job associated with the position. Thanks in advance, Avinash

  • Photo Shop Elements 9 for Mac

    I have PSE 8 (and 4 & 6) on my iMac.  I have downloaded the trial version of PSE 9 for Mac to see if there is enough improvement to warrant the purchase.  I am using an external HD exclusively dedicated to photos.  There are over 6000 photos that wer

  • Deleted Purchased Orders in 0PUR_O01

    Hi Gurus,           We are implementing BW Standard Content Purchase Order Items (0PUR_O01) ODS. I want to know how to identify when a PO is deleted when i run a report in BW from this ODS. Thanks, S

  • AUR Vmware Question

    Hi, When using VMWare Workstation from the AUR, do i have to worry about it breaking when the kernel is upgraded? I remember something about having to recompile the kernel modules before, but the AUR package seems to just use a daemon. Thanks Jack