Export g/l accnts

Hello friends.........I am working on an export scenario with BED,SED and AED along with price in the pricing procedure...... I think I have done most of the settings correctly ..........when I create an Excise invoice with reference to a billing document the invoice gets created but none of the values that i have given to the above duties are getting picked .........everythin else getss picked(excise grp, series grp, material qty etc)....................
For your better understanding ........the pricing procedure selected is as follows
PR00                  ERL              
JEXP            statistical      print x           EXD
JESP           statistical      print x            EXD
JEAP           statistical       print x                     EXD
BASIC+EXCISE
THE DOCUMENT FLOW IN BILLING STATES THAT THE ACCOUNTING DOCUMENT STATUS AS NOT CLEARED.
The G/L accounts assigned are as follows
ERL - 40010000
EXD- 40011000
i think the wrong G/L accounts have been assigned .......plss help me with reference to which G/L accnts should be assigned for the above pricing procedure
Itss very urgent and i need your help
Regards
Maddy

Hi Maddy,
I am not sure if I understand the issue correctly, but I do not think the GL acount determination has any impact on how pricing within the invoice is carried out. If you are able to post the document through onto Accounting, then this should be technically ok.
If you have the Acounting document, then the status is not cleared. But this is complelety OK I think as this is only saying that the customer has not yet paid the invoice. If you clear  it in FI (use FB05 or any similar transaction in FI to do so), then the status will become Cleared.
Hope that helps, points welcome
Csaba

Similar Messages

  • EXPDP exported data in some tables but exported zero rows in others

    Hello,
    Good day and top of the day to you.
    I created a parfile for expdp and the content is as below :
    DIRECTORY=EXPORTBANKSYS
    FILESIZE=4G
    INCLUDE=TABLE
    JOB_NAME=exportbanksys
    LOGFILE=banksytables
    PARALLEL=4
    SCHEMAS=BANKSYS
    DUMPFILE=banksystables%U.dmp
    The parfile is meant to export all table data in banksys schema.
    But i discovered that after i initiated the EXPort via the above parfile , part output is as below :
    . . exported "BANKSYS"."XXX" 5.289 KB 1 rows
    . . exported "BANKSYS"."YY" 8.617 KB 1 rows
    . . exported "BANKSYS"."YYY" 11.84 KB 1 rows
    . . exported "BANKSYS"."branch_UNITY" 0 KB 0 rows
    . . exported "BANKSYS"."branch_test" 0 KB 0 rows
    . . exported "BANKSYS"."ACCNT5" 64.31 MB 1405026 rows
    . . exported "BANKSYS"."ACCNT" 64.25 MB 1403676 rows
    Despite the fact that there are records in branch_UNITY and branch_test the log file shows that no record was exported.
    Is there anything I did not do right ?
    |Please assist as I need to export all the tables and not some

    My only guess at this time is that you might have some extended security on those tablles that is preventing the scheama running the expdp job from seeing the rows. Can you log into sqlplus with the same schema running the expdp job and do a select count(*) from the suspect tables.
    Dean

  • Run in test mode call transaction

    I have written a bdc program using call transaction method. I am giving the option in the
    selection screen like run in test mode.so i want to display the error mess
    without actually updating the tables,
    if there is a way to do this
    please tell me how to run in test mode.
    thank you so much for all the replies.

    have written a bdc program using call transaction method. I am giving the option in the
    selection screen like run in test mode.so i want to display the error mess
    without actually updating the tables,
    if there is a way to do this
    please tell me how to run in test mode.
    thank you so much for all the replies.
    Hi
    it is not possible, once u run call tranation the data is updated in table.
    for ur requirement, put the option in test mode in selection screen, in this mode flat file data check with master data (flat file validations
    ) , if any errors it disaly errors in a report.
    i provide some code, this is for fb60 check this code
          FORM validate                                                 *
    FORM validate.
      delete t_record index 1.
      loop at t_record.
        delete t_record where accnt = ' '.
        translate t_record-bukrs to upper case.
        translate t_record-accnt to upper case.
        translate t_record-waers to upper case.
        translate t_record-xblnr to upper case.
        CALL FUNCTION 'CONVERSION_EXIT_ALPHA_INPUT'
             EXPORTING
                  INPUT  = t_record-accnt
             IMPORTING
                  OUTPUT = t_record-accnt.
        move-corresponding t_record to n_record.
        append n_record.
        clear n_record.
      endloop.
      loop at t_record.
        clear flag.
        delete t_record where accnt = ' '.
    vendor  and company code checking.
        translate t_record-accnt to upper case.
        translate t_record-bukrs to upper case.
        CALL FUNCTION 'CONVERSION_EXIT_ALPHA_INPUT'
             EXPORTING
                  INPUT  = t_record-accnt
             IMPORTING
                  OUTPUT = t_record-accnt.
        select single * from lfb1 where bukrs = t_record-bukrs
                                      and  lifnr = t_record-accnt.
        if sy-subrc <> 0.
          flag = 'X'.
          error_record-rowno = sy-tabix + 1.
          move-corresponding t_record to error_record.
          error_record-text1 = 'The Vendor not Under this company Code'.
        endif.
    With holding liability.
        select single * from lfbw where bukrs = t_record-bukrs
                                        and  lifnr = t_record-accnt
                                      and  WT_SUBJCT = 'X'.
        if sy-subrc <> 0.
          flag = 'X'.
          error_record-rowno = sy-tabix + 1.
          move-corresponding t_record to error_record.
    error_record-text2 = 'The Vendor doesnt have Withholding Tax Liability'.
        endif.
    G/L account check with company code*
        select single * from skb1 where bukrs = t_record-bukrs
                                      and saknr = t_record-hkont.
        if sy-subrc <> 0.
          flag = 'X'.
          error_record-rowno = sy-tabix + 1.
          move-corresponding t_record to error_record.
        error_record-text3 = 'The G/L acc not under the given company code'.
        endif.
    *cost centre checking
    this FM for leading zeros
        CALL FUNCTION 'CONVERSION_EXIT_ALPHA_INPUT'
             EXPORTING
                  INPUT  = t_record-kostl
             IMPORTING
                  OUTPUT = v_kostl.
    select single kostl from csks into v_kostl where bukrs = t_record-bukrs
                                             and kostl = v_kostl.
        if sy-subrc <> 0.
          flag = 'X'.
          error_record-rowno = sy-tabix + 1.
          move-corresponding t_record to error_record.
    error_record-text4 = 'The costcentre not under the given company code'.
        endif.
    it check the invioce alredy posted or not.
        translate t_record-waers to upper case.
        translate t_record-xblnr to upper case.
    select single belnr into v_belnr1 from bsip where bukrs = t_record-bukrs
                                              and   lifnr  = t_record-accnt
                                              and   waers  = t_record-waers
                                                  and   bldat  = p_invdat
                                              and   xblnr  = t_record-xblnr.
        if sy-subrc = 0.
          day   =  p_invdat+6(2).
          month =  p_invdat+4(2).
          year  =  p_invdat+0(4).
          concatenate day month year into date1 SEPARATED BY '.'.
          error_record-rowno = sy-tabix + 1.
          move-corresponding t_record to error_record.
    concatenate 'This document under number' v_belnr1 'already posted on '
          date1 into fld2  separated by space.
          error_record-text5 = fld2.
          flag = 'X'.
        endif.
    *zero balance
        on change of t_record-accnt or t_record-xblnr.
          amount = 0.
          totalamount = 0.
          amount = t_record-wrbtr1.
          loop at n_record where bukrs = t_record-bukrs
                               and  accnt = t_record-accnt
                               and xblnr = t_record-xblnr
                               and wrbtr1 = t_record-wrbtr1
                               and waers = t_record-waers.
            totalamount = totalamount  + n_record-wrbtr2.
          endloop.
        endon.
        if amount ne totalamount.
          error_record-rowno = sy-tabix + 1.
          move-corresponding t_record to error_record.
          error_record-text6 = 'Posting only possible with zero balance'.
          flag = 'X'.
        endif.
        if flag = 'X'.
          error_record-flag = 'X'.
          append error_record.
        endif.
        if flag <> 'X'.
          move-corresponding t_record to f_record.
          append f_record.
        endif.
        clear f_record.
        clear error_record.
      endloop.
    endform.
    *&  Form  Table Control
    FORM head_item .
      clear t_record.
      LOOP AT t_record.
        delete t_record where accnt = ' '.
        translate t_record-bukrs to upper case.
        translate t_record-accnt to upper case.
        translate t_record-waers to upper case.
        translate t_record-xblnr to upper case.
        CALL FUNCTION 'CONVERSION_EXIT_ALPHA_INPUT'
             EXPORTING
                  INPUT  = t_record-accnt
             IMPORTING
                  OUTPUT = t_record-accnt.
        on change of t_record-accnt or t_record-xblnr or t_record-wrbtr1.
          MOVE-CORRESPONDING t_record TO t_head.
          APPEND t_head.
        endon.
        MOVE-CORRESPONDING t_record TO t_item.
        APPEND t_item.
        clear : t_item,t_head.
      ENDLOOP.
    ENDFORM.
    form disperrortestrun.
      loop at error_record.
        format color 2 intensified on.
        set left scroll-boundary column 70.
        write :   /'|',
                 (6) error_record-rowno,         '|' no-gap,
                 (14) error_record-bukrs,        '|' no-gap,
                 (12) error_record-accnt,        '|' no-gap,
                 (16) error_record-xblnr,        '|' no-gap,
                 (16) error_record-wrbtr1,       '|' no-gap,
                 (8)  error_record-waers,        '|' no-gap,
                 (13) error_record-secco,        '|' no-gap,
                 (20) error_record-sgtxt,        '|' no-gap,
                 (14) error_record-hkont,        '|' no-gap,
                 (15) error_record-wrbtr2,       '|' no-gap,
                 (10) error_record-mwskz,        '|' no-gap,
                 (20) error_record-gsber,        '|' no-gap,
                 (12) error_record-kostl,        '|' no-gap,
                 (5)  error_record-flag,         '|' no-gap,
                 (50) error_record-text1,        '|' no-gap,
                 (53) error_record-text2,        '|' no-gap,
                 (50) error_record-text3,        '|' no-gap,
                 (50) error_record-text4,        '|' no-gap,
                 (67) error_record-text5,        '|' no-gap,
                 (45) error_record-text6,        '|'  .
      endloop.
      uline at /1(538).
      format color off.
    endform.
    Report Header for Test Run                                          *
    form header.
      set left scroll-boundary column 70.
      format color 5 .
      write: 'REPORT :', sy-repid,
    38 'ERROR RECORDS DETAILS OF TEST RUN OF FB60(VENDOR INVIOCE POSTING)'
      ,123 'DATE :', sy-datum .
      format color off.
      skip 3.
      format color 1 intensified on.
      uline at 1(538).
      write : /'|',
              (6) 'Row No',                             '|' no-gap,
             (14) 'Company Code',                       '|' no-gap,
             (12) 'Vendor No',                          '|' no-gap,
             (16) 'Reference',                          '|' no-gap,
             (16) 'Invioce Amount',                     '|' no-gap,
             (8) 'Currency',                            '|' no-gap,
             (13) 'Section Code',                       '|' no-gap,
             (20) 'text',                               '|' no-gap,
             (14) 'G/L Account',                        '|' no-gap,
             (15) 'Item Amount',                        '|' no-gap,
             (10) 'Tax Code',                           '|' no-gap,
             (20) 'Business Area',                      '|' no-gap,
             (12) 'Cost Centre',                        '|' no-gap,
             (5)  'Error record Status',                '|' no-gap,
             (50) 'Company Code/Vendor',                '|' no-gap,
             (53) 'Vendor/With holding tax Liability',  '|' no-gap,
             (50) 'Company Code/ G/L Account',          '|' no-gap,
             (50) 'Company Code / Cost Centre',         '|' no-gap,
             (67) 'Invioce Status',                     '|' no-gap,
             (45) 'Invalid Balance',
            '|'.
      uline at /1(538).
      format color off.
    endform.
    thanks
    sitaram.

  • Adobe Bridge CS6 for mac: export modules, facebook export module gives an error every time i try to sign in

    in the export module for facebook every time i click "sign in to facebook" it gives the following error: "An error occurred while request facebook connection"

    "An error occurred while request facebook connection"
    The export module has been discontinued in Bridge CC and as long as it has been there the option for social media has worked only for FB in a few countries. Due to rights management (as we where told) there where restrictions for most other countries. But if it did work for you in the past you should try click on FB in export module or use the tiny menu icon in the export panel for preferences and try to set up a new connection.

  • DEVOLUÇÃO DE EXPORTAÇÃO - CFOP 3201 - GRC VALIDA DADOS DI.

    Boa tarde a todos!
    Estamos em um projeto de NFE XML 2.00 e nos deparamos com o seguinte erro:
    Ao emitirmos um NF-e de devolução da mercadoria que se encontrava no Porto (devolução de exportação - CFOP 3201), a validação do monitor GRC informa que é necessário constar os dados de importação, apesar deste processo não se tratar de importação. Os seguintes logs de validação são gerados:
    Erro de validação: campo Código do fabricante estrangeiro no sistema. Campo é obrigatório e não pode ficar em branco. (campo IT_NFE_ADI-CFABRICANTE, ID campo I028)
    Erro de validação: campo Nº da adição. Campo é obrigatório e não pode ficar em branco. (campo IT_NFE_ADI-NADICAO, ID campo I026)
    Erro de validação: campo Nº sequencial do artigo na adição. Campo é obrigatório e não pode ficar em branco. (campo IT_NFE_ADI-NSEQADIC, ID campo I027)
    Erro de validação: campo . Campo é obrigatório e não pode ficar em branco. (campo IT_NFE_IMP-CEXPORTADOR, ID campo I024)
    Erro de validação: campo . Campo é obrigatório e não pode ficar em branco. (campo IT_NFE_IMP-DDESEMB, ID campo I023)
    Erro de validação: campo . Campo é obrigatório e não pode ficar em branco. (campo IT_NFE_IMP-DDI, ID campo I020)
    Erro de validação: campo . Campo é obrigatório e não pode ficar em branco. (campo IT_NFE_IMP-NDI, ID campo I019)
    Erro de validação: campo . Campo é obrigatório e não pode ficar em branco. (campo IT_NFE_IMP-UFDESEMB, ID campo I022)
    Erro de validação: campo . Campo é obrigatório e não pode ficar em branco. (campo IT_NFE_IMP-XLOCDESEMB, ID campo I021)
    Estamos no SAPK-10015INSLLNFE e as seguintes notas relacionadas a validação estão aplicadas:
    1493980     Validation for field xJust in cancel and skipping messages
    1499921     Problem with validation after implementing SP15
    1500046     Upgrade validation rule for field ID for version 2.00
    1500742     Adjust validation for field NADICAO and NSEQADIC layout 2.00
    1502217     Extend validation rules for , layout 2
    1504379     Adjust validation for field X_CLISTSERV
    1511291     Update allowed values for field E1_CPAIS for validation
    1511577     Update validation rules for field VUNCOM_V20
    1520861     Update validation rules for OIL_CPRODANP and OIL_UFCONS
    Não encontrei nenhuma nota SAP recente para o componente SLL-NFE que seja relacionada a este problema.
    Desde já agradeço pela ajuda.
    Sds / Renato Penido.

    Boa tarde, Fernando,
    Obrigado pela pronta resposta.
    Debugamos a BADI e descobrimos que os dados de importação estão sendo gravado "em branco", gerando o erro de validação no GRC, tal qual dito por você.
    Aprimoramos a lógica da BADI para que a tag de importação não seja preenchida indevidamente para as notas de devolução do porto e as notas foram aprovadas.
    Muito obrigado,
    Renato Penido.

  • LR 4 exports to wrong folder, anybody else?

    HI, my rig includes Windows 7, Asus P8Z68 Deluxe Gen 3 with i7 2600K, 16GB DDR3 mem, SSD drives, fast Radeon video card.
    I'm using Lightroom 4, just upgraded, have this problem:  when I export to Folder1> Subfolder 1, it puts the export images in the next up hierarchical folder, i.e. Folder1.  I select the folder I want in the Export dialog, and I don't have any subfolders selected or created, but it always sticks the shots in the next folder up the tree, it's happened every time I've exported.
    any clues?
    thanks
    Jim

    The subfolder is the folder I selected in the dialogue.  c.frans w is right.  In 2.7 I never had to check and create a subfolder, which is what that box is for, unless I wanted to.  Usually I just select the folder I want, but in 4, when I do that, it jumps to the next higher folder.

  • Auto-generated links exported from InDesign do not work in tablet apps

    Hyperlinks automatically detected and exported from InDesign CS6 8.0.1 as a PDF work fine on the desktop version of Acrobat Reader. However, on the iPad version of Adobe Reader as well as iBooks and GoodReader, these links are completely ignored, meaning they are just text.
    On the other hand, if I was to manually set the hyperlink in InDesign or Acrobat, the link works fine.
    It would be extremely tedious and time consuming to manually reset hundreds of hyperlinks in my documents since InDesign use to handle this correctly.
    Is this a bug? If so, it's pretty serious and should be Adobe's priority to fix since millions of people read documents on tablet devices.

    No, it's a Feature of Acrobat and reader that they attempt to create links from anything that "looks like" a URL. Other readers lack the feature.
    It's not good practice to depend on this in any case as it's hardly foolproof even in Acrobat. Links that break across lines, for example, will not be properly recognized.

  • Export to Text Options needs

    I've writen a program that exports a crystal report into a text file ready for it to be uploaded to an ftp site.
    Problem is i'm having trouble getting the text file to look right.
    I narrowed it down to the "Lines per page" setting in Crystal XI R2 as when i set it to 0 in crystal when testing the report the text file looks fine.
    My question is how to i set this in my application in VB code?  Here is the code i have so far:-
    Private Sub btnGenFile_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles btnGenFile.Click
            Dim Exportpath As String
            Exportpath = "n:\Regatta Order Files\"
            CrDiskfileDestinationoption = New DiskFileDestinationOptions
            CrExportOption = CrReport.ExportOptions
            CrDiskfileDestinationoption.DiskFileName = Exportpath + ("CHAN1" & sDate & ".txt")
            With CrExportOption
                .DestinationOptions = CrDiskfileDestinationoption
                .ExportDestinationType = ExportDestinationType.DiskFile
                .ExportFormatType = ExportFormatType.Text
            End With
            Try
                CrReport.Export()
                'MessageBox.Show("Exported to " & CrReport.ExportOptions.DestinationOptions.DiskFileName)
                txtStatus.Text = "Text File has been created, you can now tranfer to Regatta"
            Catch ex As Exception
                MessageBox.Show(Me, ex.Message, "Error", MessageBoxButtons.OK, MessageBoxIcon.Error)
            End Try
        End Sub

    <p>Take a look at the TextFormatOptions class in the CrystalDecisions.Shared namespace. It provides properties that you can set, including LinesPerPage. If you need more information, look up this class in the <a href="http://devlibrary.businessobjects.com/BusinessObjectsXIR2SP2/en/en/CrystalReports_dotNET_SDK/crsdk_net_doc/doc/crsdk_net_doc/html/crconcrystalreportsintroduction.htm" target="_blank">DevLibrary</a>.</p><p>-MJ</p>

  • Export to excel formatting

    I'm working on a quote report which has narrative sections as well as a table. I can get the report to look great in the application but it has formatting problems once exported to excel.
    In one of my narrative reports I have a simple table with a few columns. Once exported to excel the first narrative column is the entire width of the report table below it. The large cell row is also merged cells in excel.
    Is there anything that can be done to help force how the report goes into excel?
    I have also tried creating the report in a narrative html table to export into excel.

    Can someone explain if they face similar issues as I am when you export a report output on portal to Excel it takes huge size. I assume it because of all the color formatting etc. but is there a way to reduce this size. 3.5 Bex Analyzer same report takes only 3 MB while if I export it from portals it takes 32 MB.

  • Help with exporting as an animated gif

    I've created a small banner ad and need to export it as an animated gif.  The problem is, when I open the gif after exporting it, there's no animation.  The way the animation is set up is 1 frame on the main timeline, and a scrolling movie clip as the background.  There is no actionscript at all in the file.

    instead of converting your movieclip to a graphic:
    1.  copy the movieclip frames
    2.  create a new graphic
    3.  paste the frames to the graphic timeline
    4.  drag the graphic to the main timeline and remove the movieclip
    5.  extend the main timeline enough frames to reveal the graphic animation
    6.  make sure your gif publish settings are for an animated gif

  • Problems/help with animated GIF exports

    I am an experienced Photoshop user.  I recently upgraded to CS5 (Windows) and have been attempting to produce animated gif files. 
    After reading a few tutorials on the topic, I have been able to: 
    Create a PSD with a few jpg images as layers; 
    Move the layers to the animation window; 
    Set the cycle times and optimize the animation window; and, 
    Use the Save for Web Devices dialog to create the GIF file. 
    Everything appears to be normal throughout this process.  However, the exported GIF file appears as a dark gray frame when I open it in IE, or upload it to my image hosting site. 
    Anybody else experiencing this type of problem? 
    Thanks 

    No, my Photoshop CS5 saves animated GIFs just fine, and I did just what you said.  For example (you have to click on an image here to see it animate):
    Can you post your image here?  Maybe it could be a problem with your browser not animating the image properly?  What version of IE do you use?
    -Noel

  • Does animated .gif export support animation of library symbols?

    I'm currently using the 30-day free trial of Adobe Flash Professional CC. I was really pleased to see how easily you could export animations in animated .gif format, seemed to run without a hitch.
    One thing I noticed while using Flash is that instances of symbols placed into a scene don't actually animate when you use the "Play" function -- that is to say, when you press Enter and the playhead starts moving along the timeline from its current position. They remain at the very first frame of their respective animations. In order to show the proper animations of symbols, you have to use the Test function (CTRL - Enter) to actually compile a working .swf of the thing.
    This wasn't much of an issue until I tried to export in .gif format and I got this same issue. Instances of symbols don't animate, they only seem to work in compiled .swf's.
    FileDropper link to the working file I'm using: http://www.filedropper.com/flashbottle
    Result .gif: http://i.imgur.com/PZVXST7.gif
    Since the use of symbols in the Flash workflow seems to be a rather common occurrence it seems unthinkable that Flash wouldn't support their usage with whatever mechanism they use to export animated .gif's. Is there some sort of silly mistake I'm making or checkbox I need to toggle? Or is the functionality simply not there?

    Thank you for your reply!
    I check exported GIFs in various browsers and XnView viewer.
    It's definitely not a preview  issue - i have 32Gb of RAM and Nvidia Quadro 4000 GPU on my system.
    I believe the issue is with transparency, because i'm able to export GIFs with solid background just fine
    GIF export dialogue window has 'Transparency' checkbox, so it looks like it should be possible to export an animated GIF with transparent background, but for some reason i'm getting all frames at the same time
    thank you

  • Animated GIF Export issues

    I have a simple Flash animation which I'd like to be made
    into a transparent GIF.
    When I do the GIF export, only the first frame of my
    movieclips (which are placed in the main timeline) get rendered. It
    seems like Flash only records the main timeline preview output into
    the GIF file, and does not play movieclip objects. You would expect
    the GIF recording to be of the same preview as when you hit
    ctrl+enter (essentially final playback).
    Because of this, the GIF export is pointless. The only way to
    use it is to have all your animations occur in the main timeline,
    and not within movieclips. It doesn't work for me (and for most
    people?), because I need to easily scale my animations, which is
    doable by just resizing a movieclip.
    Is there a way around this in Flash? Am I missing something?
    I've had to use a 3rd-party tool (Magic SWF2GIF) to do the
    GIF recording.
    My other issue is Flash cannot export transparent GIF's it
    seems. Because of this, I have to rely on more 3rd-party GIF tools,
    most of which are rubbish.
    In the end, I've had to take snap shots of every individual
    frame and edit each frame as individual files in Photoshop to do
    all the cropping and transparency just right. Real pain when you
    are talking 50 frames, and having to do multiple animations.
    Is there a way to export transparent GIF's in Flash?
    Seems kind of dumb that I have all this high-end software and
    loads of tools... and I still have to edit things frame by
    frame.

    Thank you for your reply!
    I check exported GIFs in various browsers and XnView viewer.
    It's definitely not a preview  issue - i have 32Gb of RAM and Nvidia Quadro 4000 GPU on my system.
    I believe the issue is with transparency, because i'm able to export GIFs with solid background just fine
    GIF export dialogue window has 'Transparency' checkbox, so it looks like it should be possible to export an animated GIF with transparent background, but for some reason i'm getting all frames at the same time
    thank you

  • Exporting Crystal Report to HTML is not working in Windows 7

    Hi Sir,
    I am trying to export Crystal Report to HTML format using VB.NET code. Functionality is working fine at Windows XP Environment (Save to Disk, Open an Application and Email Attachment). But the same functionality is not working at Windows 7 Environment (both 32-Bit as well as 64-Bit).
    Below is the code to Exporting Crystal Report to HTML in VB.NET.
    Dim CrDiskFileDestinationOptions As New DiskFileDestinationOptions
    Dim CrFormatTypeOptions          As New HTMLFormatOptions
    Dim vFormat As Integer
    Dim CrExportOptions As New ExportOptions
    Dim vRdReport As New ReportDocument
    Dim sfd As SaveFileDialog
    Dim vFileName As String = Nothing
    vRdReport = vRptSource
    sfd = New SaveFileDialog
    If Not (vRptPath = "") Then
        sfd.InitialDirectory = vRptPath
    End If
    sfd.Filter = "Webpage, Complete(.htm;.htm)|.htm|Web Archive, Single file(.mht)|.mht|Webpage, HTML only(.htm;.html)|.html"
    If sfd.ShowDialog = DialogResult.OK Then
        ' Set the disk file options.
         CrDiskFileDestinationOptions.DiskFileName = sfd.FileName.ToString()
    Else
         Return
    End If
    CrExportOptions = vRdReport.ExportOptions
    CrFormatTypeOptions.HTMLFileName = vFileName
    CrFormatTypeOptions.HTMLEnableSeparatedPages = True
    CrFormatTypeOptions.HTMLEnableSeparatedPages = True
    CrFormatTypeOptions.HTMLHasPageNavigator = True
    CrFormatTypeOptions.UsePageRange = True
    With CrExportOptions
                        .ExportDestinationType = ExportDestinationType.DiskFile
                        .ExportFormatType = ExportFormatType.HTML32
                        .DestinationOptions = CrDiskFileDestinationOptions.DiskFileName
                        .FormatOptions = CrFormatTypeOptions
    End With
    vRdReport.Export()
    Catch ex As Exception
            MsgBox(ex.ToString)
    End Try
    Code working fine at Windows XP, But it is not woking in Windows 7 environment.
    Please can anyone share your valuable thoughts or ideas reg. this.
    Thanks in Advance
    Deivanayaga Perumal D.

    user13509659 wrote:
    Run this code to reproduce the issue.Which issue?
    It looks like inheritance is broken in the component hierarchy for JFrame in Windows 7 JDK 1.6.0_23-b05. The only thing remotely related to inheritance in your code snippet is the WindowListener, which does little. See camickr's advice about built-in exit management.
    EDIT - using the post title as a clue, I realize you may be talking about the component hierarchy, and whether the contentPane's background is visible through the upper layers. Instead of guessing, I'd prefer you describe your "issue" accurately (observed vs expected behavior).
    Edited by: jduprez on Feb 10, 2011 1:01 PM

  • 10g exporting to CSV using client_text_io is not working correctly.

    I have an odd issue which i could do with some help with. I run an function that exports to CSV based on an pre defined record group.
    This has been working fine for many months with various customers. Recently a new customer used it and they have 28k rows in his record group and the export is actually not exporting correctly.
    The record group has a record count of 28331.
    The CSV produced has only 3756 in my CSV file. These are the last 3756 records in the Record group so its as if its overwriting the data as it goes yet all smaller datasets work
    FUNCTION fun_export_csv (vgraphid NUMBER, p_filename VARCHAR2)RETURN BOOLEAN IS
      out_file                      client_text_io.file_type; 
         i                                             NUMBER;
      lv_line              VARCHAR2(5000);
    BEGIN
    rg:=populate_group('RG11_EXP');               
    synchronize;
    lv_line:= ('"GIN","Gin Date","PO Num","PO Required Date","Mat Num","Mat Description","Supplier Part No","On Time Delivery(Yes-1, No-0)"');
    client_text_io.put(out_file, lv_line);
    client_text_io.new_line(out_file,1); 
    For i in 1..get_group_row_count('RG11_EXP') Loop--this count is 28331
    lv_line:= ('"'||get_group_number_cell('RG11_EXP.col1', i )                 ||'"'|| ',' ||'"'||
         get_group_date_cell('RG11_EXP.grn_date', i )                 ||'"'|| ',' ||'"'||                                          
         get_group_number_cell('RG11_EXP.po', i )       ||'"'|| ',' ||'"'||
         get_group_date_cell('RG11_EXP.daterqd', i ) ||'"'|| ',' ||'"'||
         get_group_char_cell('RG11_EXP.item_no', i ) ||'"'|| ',' ||'"'||
         get_group_char_cell('RG11_EXP.desc', i )                    ||'"'|| ',' ||'"'||
         get_group_char_cell('RG11_EXP.part_no', i )               ||'"'|| ',' ||'"'||
         get_group_number_cell('RG11_EXP.ontime', i )                    ||'"');
    client_text_io.put(out_file, lv_line);
    client_text_io.new_line(out_file,1); 
    END LOOP;     
    client_text_io.FCLOSE(out_file);
    RETURN TRUE;          

    Hello,
    Try to insert a "synchronize" instruction from time to time:
    i  pls_integer := 1;
    Loop
      If mod(i, 500) = 0 Then
         synchronize;
      End if ;
      i := i + 1 ;
    End loop;
    ...<p>But keep in mind the the CLIENT_TEXT_IO generate a lot of network traffic, so it is better and faster to generate the file on the A.S., then after transfer it to the client machine.</p>
    Francois

Maybe you are looking for