Idoc error report how to generate

Hi Friends-
Am working on inbound idocs and i have developed one badi to control validations for incorrect data ( if any is coming from sender )  now my problem is  how i can send the error report to the sender system like  these idocs came with these errors   ?
I have to generate this error report abt incorrect idocs and reasons and send to sender
how i can do that   pls suggest me .. ?
Any input will be big help for me.
Regards
Meeta

Hi,
maybe this can give you an idea:
http://www.geocities.com/rmtiwari/main.html?http://www.geocities.com/rmtiwari/Resources/MySolutions/Dev/Codes/Report/Z_EDI_FILE_LOAD_STATUS_REPORT.html
Best regards.

Similar Messages

  • IDOC Error Report

    Dear All,
    There is an requirement to generate IDOC error report.
    Normally t.codes we02 / we05 are used to see the idoc errors.  I would like to know whether any transparent tables are available to see the error log.
    More specially, I need to generate an report with IDOC Numer + Error Description as an output.
    If any clues, please pass on the same.
    Regards,
    Ramki.

    Hi Ramki ,
    Below is the code to read the error messages also for Inbound IDOC , For Out bound you have to relay on the EDIDS record only ......
    Inbound : Application Log will have detailed messages for each and every error.
    TABLES : edidc.
    TYPES : BEGIN OF ty_final ,
            docnum      TYPE edidc-docnum,
            status      TYPE edidc-status,
            direct      TYPE edidc-direct,
            rcvprn      TYPE edidc-rcvprn,
            sndprn      TYPE edidc-sndprn,
            credat      TYPE edidc-credat,
            last_run    TYPE edids-credat,
            cretim      TYPE edidc-cretim,
            mestyp      TYPE edidc-mestyp,
            message     TYPE char255,
            END OF ty_final.
    DATA : lt_final    TYPE TABLE OF ty_final,                
           ls_final    TYPE          ty_final,                 
           lt_messages TYPE STANDARD TABLE OF balm,            
           ls_messages TYPE                   balm.           
    SELECT * FROM edidc INTO TABLE lt_edidc
              WHERE       upddat BETWEEN lv_date AND sy-datum
              AND         status  IN s_staus
              AND         direct  =  c_2
              AND         mestyp  IN s_mestyp
              AND         credat  BETWEEN lv_date AND sy-datum
              AND         cretim  BETWEEN lv_ltime AND sy-uzeit
              AND         rcvpor  = lv_rcvpor
              AND         rcvprt  = lv_rcvprt
              AND         rcvprn  = lv_rcvprn
              AND         sndpor  = lv_sndpor
              AND         sndprt  = lv_sndprt
              AND         sndprn  = lv_sndprn
              ORDER BY PRIMARY KEY.             " select the failed Idocs
    SORT lt_edidc BY docnum ASCENDING.
      IF NOT lt_edidc IS INITIAL.
        SELECT * FROM edids INTO TABLE lt_edids FOR ALL ENTRIES IN lt_edidc
                                                WHERE docnum = lt_edidc-docnum.
        SORT lt_edids BY docnum ASCENDING countr DESCENDING.
        TRY.                                                    "#EC NEEDED
          CATCH cx_sy_dyn_table_ill_comp_val.               "#EC NO_HANDLER
        ENDTRY.
        DELETE ADJACENT DUPLICATES FROM lt_edids COMPARING docnum.
        LOOP AT lt_edids INTO ls_edids.
          lv_extnum = ls_edids-docnum.
          CALL FUNCTION 'APPL_LOG_READ_DB'         " To get Application Log details for Each Idoc
            EXPORTING
              object           = '*'
              subobject        = '*'
              external_number  = lv_extnum
              date_to          = sy-datum
              time_from        = '000000'
              time_to          = sy-uzeit
              log_class        = '4'
              program_name     = '*'
              transaction_code = '*'
              user_id          = ' '
              mode             = '+'
              put_into_memory  = ' '
            TABLES
              messages         = lt_messages.
          DELETE lt_messages WHERE lognumber NE ls_edids-appl_log. " Delete Messeages where APPl_log NE latest
          DELETE lt_messages WHERE msgty NE 'E'. " delete other than Error messages
          LOOP AT lt_messages INTO ls_messages.
            CALL FUNCTION 'FORMAT_MESSAGE'
              EXPORTING
                id   = ls_messages-msgid
                lang = 'EN'
                no   = ls_messages-msgno
                v1   = ls_messages-msgv1
                v2   = ls_messages-msgv2
                v3   = ls_messages-msgv3
                v4   = ls_messages-msgv4
              IMPORTING
                msg  = l_msg.               " Actual Error Message received
            ls_final-docnum    = ls_edids-docnum.
            ls_final-status    = ls_edids-status.
            ls_final-last_run  = ls_edids-credat.
            ls_final-cretim    = ls_edids-cretim.
            ls_final-message   = l_msg.
            CLEAR : ls_edidc.
            READ TABLE lt_edidc INTO ls_edidc WITH KEY docnum = ls_edids-docnum.
            IF sy-subrc = 0.
              ls_final-credat  = ls_edidc-credat.
              ls_final-direct  = ls_edidc-direct.
              ls_final-rcvprn  = ls_edidc-rcvprn.
              ls_final-sndprn  = ls_edidc-sndprn.
              ls_final-mestyp  = ls_edidc-mestyp.
            ENDIF.
            APPEND ls_final TO lt_final.       " Final Table will have Failed Idocs with Error Messages
            CLEAR ls_final.
          ENDLOOP.
          IF lt_messages IS INITIAL.
            CLEAR ls_final.
            ls_final-docnum    = ls_edids-docnum.
            ls_final-status    = ls_edids-status.
            ls_final-last_run  = ls_edids-credat.
            ls_final-cretim    = ls_edids-cretim.
            CLEAR : l_msg.
            CONCATENATE ls_edids-stapa1 ls_edids-stapa2 ls_edids-stapa3 ls_edids-stapa4 INTO l_msg SEPARATED BY space.
            CONDENSE l_msg .
            ls_final-message   = l_msg.
            CLEAR : ls_edidc.
            READ TABLE lt_edidc INTO ls_edidc WITH KEY docnum = ls_edids-docnum.
            IF sy-subrc = 0.
              ls_final-credat  = ls_edidc-credat.
              ls_final-direct  = ls_edidc-direct.
              ls_final-rcvprn  = ls_edidc-rcvprn.
              ls_final-sndprn  = ls_edidc-sndprn.
              ls_final-mestyp  = ls_edidc-mestyp.
            ENDIF.
            APPEND ls_final TO lt_final.
          ENDIF.
        ENDLOOP.
      ENDIF.
    Final Table will now have all the error reasons for each and every Idoc ....
    Hope this will help your requirement

  • Fax (transmission confirmation) Report; how to generate.

    I want to know how I can generate a Fax (transmission confirmation) Report.  I am faxing MS Word documents, from an HP keyboard, using MS Word (2010), on an HP Elite and OfficeJet 6500A Plus hardware combo.  I am faxing while using MS Word (from within the program), using MS Word's print function, by selecting the fax option.  I note that when I fax directly from the HP OfficeJet 6500A Plus (using its AutoFeed feature), the current set-up automatically provides what is labeled a "Fax Log" which details the "Last Transaction", the date,time,duration, number of pages, and the RESULT.  It is precisely this document -this "Fax Log" - which I want to see produced, automatically, following every fax made while using MS Word (from within the program).

    Hi there @BenAvram-S , welcome to the forums
    I understand you are looking to generate a fax confirmation report on your Officejet 6500A Plus.
    My best suggestion to you, would be to look under the Setup Menu, then Fax Menu, Fax Tools, and turn On the Fax Send.
    I am weary of the fax producing a fax confirmation when sending from the computer however.
    I hope that helps.
    Have a great day
    R a i n b o w 7000I work on behalf of HP
    Click the “Kudos Thumbs Up" at the bottom of this post to say
    “Thanks” for helping!
    Click “Accept as Solution” if you feel my post solved your issue, it will help others find the solution!

  • How does Windows Error Reporting identify your application?

    When an error occurs and you are requested to send an error report, how does Windows Error Reporting service identify your application so that you can view the reports in your dashboard?
    How do I register my applications for Windows Error Reporting?
    To get a Windows logo an application must only handle expected errors and allow Windows Error Reporting (WER) to handle unexpected errors according to an article at
    http://blogs.msdn.com/b/amitava/archive/2007/07/24/certified-for-windows-vista-logo-test-case-faq-test-case-32.aspx

    An article How can a company get access to Windows Error Reporting data? at
    http://blogs.msdn.com/b/oldnewthing/archive/2005/08/10/449865.aspx hints that the link is a registered code signing certificate.
    https://sysdev.microsoft.com/en-US/Desktop/member/services/UpdateDigitalSignature.aspx

  • My Macbook keeps crashing!  Any help on this error report.

    Here is the error report, how do you read these things?
    Anonymous UUID:       A95A6D4A-4E77-4F1D-62F8-C7C75707D7D6
    Wed Mar  5 10:25:01 2014
    panic(cpu 6 caller 0xffffff802a8dbe2e): Kernel trap at 0xffffff802a8dd6d7, type 13=general protection, registers:
    CR0: 0x000000008001003b, CR2: 0x000000011177c000, CR3: 0x000000002d2f6000, CR4: 0x00000000001606e0
    RAX: 0x48005f760e058b48, RBX: 0xffffff81147ef000, RCX: 0xffffff81147f96e8, RDX: 0x0000000000000002
    RSP: 0xffffff816b723f40, RBP: 0xffffff816b723f50, RSI: 0xffffff802ae25130, RDI: 0xffffffffffffffff
    R8:  0x00000000e0000000, R9:  0x7ffffffffffffffe, R10: 0x00000000ffffffff, R11: 0x0000000000000200
    R12: 0xffffff811475e950, R13: 0xffffff80417ab140, R14: 0x00002fafaba56bdb, R15: 0xffffff811475e960
    RFL: 0x0000000000010006, RIP: 0xffffff802a8dd6d7, CS:  0x0000000000000008, SS:  0x0000000000000010
    Fault CR2: 0x000000011177c000, Error code: 0x0000000000000000, Fault CPU: 0x6
    Backtrace (CPU 6), Frame : Return Address
    0xffffff8114755df0 : 0xffffff802a822fa9
    0xffffff8114755e70 : 0xffffff802a8dbe2e
    0xffffff8114756040 : 0xffffff802a8f3326
    0xffffff8114756060 : 0xffffff802a8dd6d7
    0xffffff816b723f50 : 0xffffff802a8375ba
    0xffffff816b723f90 : 0xffffff802a837908
    0xffffff816b723fb0 : 0xffffff802a8d6ff7
    BSD process name corresponding to current thread: kernel_task
    Mac OS version:
    13C64
    Kernel version:
    Darwin Kernel Version 13.1.0: Thu Jan 16 19:40:37 PST 2014; root:xnu-2422.90.20~2/RELEASE_X86_64
    Kernel UUID: 9FEA8EDC-B629-3ED2-A1A3-6521A1885953
    Kernel slide:     0x000000002a600000
    Kernel text base: 0xffffff802a800000
    System model name: MacBookPro10,1 (Mac-C3EC7CD22292981F)
    System uptime in nanoseconds: 52431545656019
    last loaded kext at 51351236380292: com.apple.iokit.IOBluetoothUSBDFU          4.2.3f10 (addr 0xffffff7facca0000, size 12288)
    last unloaded kext at 51474082436223: com.apple.driver.AppleIntelMCEReporter          104 (addr 0xffffff7facc92000, size 32768)
    loaded kexts:
    com.apple.filesystems.smbfs          2.0.1
    com.apple.driver.AppleHWSensor          1.9.5d0
    com.apple.iokit.IOBluetoothSerialManager          4.2.3f10
    com.apple.driver.AudioAUUC          1.60
    com.apple.filesystems.autofs          3.0
    com.apple.driver.AppleMikeyHIDDriver          124
    com.apple.driver.AGPM          100.14.15
    com.apple.driver.ApplePlatformEnabler          2.0.9d1
    com.apple.driver.X86PlatformShim          1.0.0
    com.apple.driver.AppleMikeyDriver          2.6.0f1
    com.apple.iokit.IOUserEthernet          1.0.0d1
    com.apple.Dont_Steal_Mac_OS_X          7.0.0
    com.apple.driver.AppleHWAccess          1
    com.apple.driver.AppleHDA          2.6.0f1
    com.apple.driver.AppleUpstreamUserClient          3.5.13
    com.apple.GeForce          8.2.4
    com.apple.driver.AppleIntelHD4000Graphics          8.2.4
    com.apple.driver.AppleMuxControl          3.4.35
    com.apple.iokit.BroadcomBluetoothHostControllerUSBTransport          4.2.3f10
    com.apple.driver.AppleSMCPDRC          1.0.0
    com.apple.driver.AppleLPC          1.7.0
    com.apple.driver.AppleSMCLMU          2.0.4d1
    com.apple.driver.AppleIntelFramebufferCapri          8.2.4
    com.apple.driver.AppleMCCSControl          1.1.12
    com.apple.driver.AppleThunderboltIP          1.1.2
    com.apple.driver.AppleUSBTCButtons          240.2
    com.apple.driver.AppleUSBTCKeyboard          240.2
    com.apple.AppleFSCompression.AppleFSCompressionTypeDataless          1.0.0d1
    com.apple.AppleFSCompression.AppleFSCompressionTypeZlib          1.0.0d1
    com.apple.BootCache          35
    com.apple.driver.XsanFilter          404
    com.apple.driver.AppleUSBHub          666.4.0
    com.apple.iokit.IOAHCIBlockStorage          2.5.1
    com.apple.driver.AppleSDXC          1.5.2
    com.apple.driver.AirPort.Brcm4331          700.20.22
    com.apple.driver.AppleAHCIPort          3.0.0
    com.apple.driver.AppleUSBEHCI          660.4.0
    com.apple.driver.AppleUSBXHCI          670.4.0
    com.apple.driver.AppleSmartBatteryManager          161.0.0
    com.apple.driver.AppleACPIButtons          2.0
    com.apple.driver.AppleRTC          2.0
    com.apple.driver.AppleHPET          1.8
    com.apple.driver.AppleSMBIOS          2.1
    com.apple.driver.AppleACPIEC          2.0
    com.apple.driver.AppleAPIC          1.7
    com.apple.driver.AppleIntelCPUPowerManagementClient          216.0.0
    com.apple.nke.applicationfirewall          153
    com.apple.security.quarantine          3
    com.apple.driver.AppleIntelCPUPowerManagement          216.0.0
    com.apple.iokit.IOSerialFamily          10.0.7
    com.apple.kext.triggers          1.0
    com.apple.iokit.IOSCSIArchitectureModelFamily          3.6.6
    com.apple.iokit.IOBluetoothFamily          4.2.3f10
    com.apple.driver.DspFuncLib          2.6.0f1
    com.apple.vecLib.kext          1.0.0
    com.apple.iokit.IOAudioFamily          1.9.5fc2
    com.apple.kext.OSvKernDSPLib          1.14
    com.apple.iokit.IOAcceleratorFamily          98.14
    com.apple.nvidia.driver.NVDAGK100Hal          8.2.4
    com.apple.nvidia.driver.NVDAResman          8.2.4
    com.apple.driver.X86PlatformPlugin          1.0.0
    com.apple.iokit.IOSurface          91
    com.apple.driver.AppleGraphicsControl          3.4.35
    com.apple.iokit.IOBluetoothHostControllerUSBTransport          4.2.3f10
    com.apple.driver.AppleHDAController          2.6.0f1
    com.apple.iokit.IOHDAFamily          2.6.0f1
    com.apple.driver.AppleSMBusPCI          1.0.12d1
    com.apple.driver.IOPlatformPluginFamily          5.7.0d10
    com.apple.driver.AppleSMC          3.1.8
    com.apple.iokit.IOAcceleratorFamily2          98.14
    com.apple.AppleGraphicsDeviceControl          3.4.35
    com.apple.driver.AppleBacklightExpert          1.0.4
    com.apple.iokit.IONDRVSupport          2.4.1
    com.apple.driver.AppleSMBusController          1.0.11d1
    com.apple.iokit.IOGraphicsFamily          2.4.1
    com.apple.driver.AppleThunderboltDPInAdapter          3.1.7
    com.apple.driver.AppleThunderboltDPAdapterFamily          3.1.7
    com.apple.driver.AppleThunderboltPCIDownAdapter          1.4.5
    com.apple.driver.AppleUSBMultitouch          240.9
    com.apple.iokit.IOUSBHIDDriver          660.4.0
    com.apple.driver.AppleUSBMergeNub          650.4.0
    com.apple.driver.AppleUSBComposite          656.4.1
    com.apple.driver.AppleThunderboltNHI          2.0.1
    com.apple.iokit.IOThunderboltFamily          3.2.7
    com.apple.iokit.IOUSBUserClient          660.4.2
    com.apple.iokit.IO80211Family          630.35
    com.apple.iokit.IONetworkingFamily          3.2
    com.apple.iokit.IOAHCIFamily          2.6.5
    com.apple.iokit.IOUSBFamily          675.4.0
    com.apple.driver.AppleEFINVRAM          2.0
    com.apple.driver.AppleEFIRuntime          2.0
    com.apple.iokit.IOHIDFamily          2.0.0
    com.apple.iokit.IOSMBusFamily          1.1
    com.apple.security.sandbox          278.11
    com.apple.kext.AppleMatch          1.0.0d1
    com.apple.security.TMSafetyNet          7
    com.apple.driver.AppleKeyStore          2
    com.apple.driver.DiskImages          371.1
    com.apple.iokit.IOStorageFamily          1.9
    com.apple.iokit.IOReportFamily          23
    com.apple.driver.AppleFDEKeyStore          28.30
    com.apple.driver.AppleACPIPlatform          2.0
    com.apple.iokit.IOPCIFamily          2.9
    com.apple.iokit.IOACPIFamily          1.4
    com.apple.kec.pthread          1
    com.apple.kec.corecrypto          1.0
    Model: MacBookPro10,1, BootROM MBP101.00EE.B02, 4 processors, Intel Core i7, 2.3 GHz, 8 GB, SMC 2.3f36
    Graphics: Intel HD Graphics 4000, Intel HD Graphics 4000, Built-In, 1024 MB
    Graphics: NVIDIA GeForce GT 650M, NVIDIA GeForce GT 650M, PCIe, 1024 MB
    Memory Module: BANK 0/DIMM0, 4 GB, DDR3, 1600 MHz, 0x80AD, 0x484D54333531533642465238432D50422020
    Memory Module: BANK 1/DIMM0, 4 GB, DDR3, 1600 MHz, 0x80AD, 0x484D54333531533642465238432D50422020
    AirPort: spairport_wireless_card_type_airport_extreme (0x14E4, 0xEF), Broadcom BCM43xx 1.0 (5.106.98.100.22)
    Bluetooth: Version 4.2.3f10 13477, 3 services, 23 devices, 1 incoming serial ports
    Network Service: Wi-Fi, AirPort, en0
    Serial ATA Device: APPLE SSD SM256E, 251 GB
    USB Device: Hub
    USB Device: FaceTime HD Camera (Built-in)
    USB Device: Hub
    USB Device: Hub
    USB Device: Apple Internal Keyboard / Trackpad
    USB Device: BRCM20702 Hub
    USB Device: Bluetooth USB Host Controller
    Thunderbolt Bus: MacBook Pro, Apple Inc., 23.4

    That panic was not caused by third-party software. If the problem is recurrent, the possibilities are:
    A stale or corrupt kernel cache
    A damaged OS X installation
    A fault in a peripheral device, if any
    Corrupt non-volatile memory (NVRAM)
    An internal hardware fault (including incompatible memory)
    An obscure bug in OS X
    You may already have ruled out some of these.
    Rule out #1 by booting in safe mode and then rebooting as usual. Note: If FileVault is enabled, or if a firmware password is set, or if the boot volume is a Fusion Drive or a software RAID, you can’t do this. Post for further instructions.
    You can rule out #2 and #3 by reinstalling the OS and testing with non-essential peripherals disconnected and aftermarket expansion cards removed, if applicable. Sometimes a clean reinstallation may solve a problem that isn't solved by reinstalling in place.
    Corrupt NVRAM, which rarely causes panics, can be ruled out by resetting it.
    If your model has user-replaceable memory, and you've upgraded the memory modules, reinstall the original memory and see whether there's any improvement. Be careful not to touch the gold contacts. Clean them with a mild solvent such as rubbing alcohol. Aftermarket memory must exactly match the technical specifications of the machine.
    Apple Diagnostics or the Apple Hardware Test, though generally unreliable, will sometimes detect a fault. A negative test can't be depended on. Run the extended version of the test, if applicable.
    In the category of obscure bugs, reports suggest that FileVault may trigger kernel traps under some unknown conditions. Most, though not all, of these reports seem to involve booting from an aftermarket SSD. If those conditions apply to you, try deactivating FileVault.
    Connecting more than one display is another reported trigger for OS X bugs.
    If your system is not fully up to date, running Software Update might get you a bug fix.
    In rare cases, a malformed network packet from a defective router or other network device can cause panics. Such packets could also be sent deliberately by a skillful attacker. This possibility is something to consider if you run a public server that might be the target of such an attack.
    Otherwise, make a "Genius" appointment at an Apple Store to have the machine tested. You may have to leave it there for several days. There isn't much point in doing this unless you can reproduce the panic, or if you can't, it happens often enough that it's likely to be repeated at the store. Otherwise you may be told that nothing is wrong.
    Print the first page of the panic report and bring it with you.

  • How to solve.Idoc Error 30..

    Dear Experts,
    I  have created a custom IDoc .
    In  Partner profile Transfer immd. is selected.
    But when I execute the program.It is creating the Idoc but with status 30.
    But the IDoc is sent once i execute the program RSEOUT00 .(Submit RSEOUT00)
    So here my problem is when even RSEOUT00 is executed it comes with a pop up saying("1 idoc is sent.") i feel due to this I am not able to sent multiple IDocs based on my conditions.
    So I need you suggestion on "Is is possible to come out of this error 30 Or Else how could i stop this pop up coming out"
    thx,
    jeevan

    Hi Kumar,
    IDoc status 30: The IDoc is not transferred to the asynchronous RFC
    Although the partner profile is defined and the IDoc has been constructed, the IDoc cannot be transferred to the asynchronous RFC. The IDoc is not sent, and there is no official entry in the RFC valuation (/nSM58) for the relevant subsystem.
    You trigger transmission of the IDoc using report RSEOUT00. To start the report manually, choose Tools -> Business Communication -> IDoc Basis -> Test -> Outbound Processing from IDoc (/nWE14), or schedule a regular job in background processing for this report.
    Check the outbound processing mode for the IDoc in the partner profile.
    Outbound processing mode 2: The system sends the IDoc immediately
    Outbound processing mode 4: The system collects IDocs that have been created and sends them in packets of a predefined size.
    IDocs are not intended to be sent directly.
    Status 30 in the IDoc can normally only occur if outbound mode is set to 4.
    I hope this info will solve ur problem..
    Regards,
    Vivek

  • How to generate jasper report in pdf format using swing

    hi all,
    im new to swing and jasper.. can anybody provide me some example on how to generate the jasper report in pdf format? i will call the reportManager from sessionBean.. below is my code:
    1)delegate:
    public GenerateReportDto generateIntoPdfReport(String fileName, String outputFileName, Map parameters){
    GenerateReportDto generateReportDto = getAuditTrailServiceRemote().generateIntoPdfReport(fileName, outputFileName, parameters);
    return generateReportDto;
    2)sessionBean:
    public GenerateReportDto generateIntoPdfReport(String fileName, String outputFileName, Map parameters){
    //Map parameters = new HashMap();
    ReportManager reportManager = new ReportManager();
    3)ReportManager()
    public void generateIntoPdfReport(String fileName, String outputFileName, Map parameters) {
              Connection conn = null;
              try {
                   conn = dataSource.getConnection();
                   //Generate the report to bytes
                   File reportFile = new File(fileName);               
                   byte[] bytes =
                        JasperRunManager.runReportToPdf(
                             reportFile.getPath(),
                             parameters,
                             conn
              //conn.close();
              //Write the bytes to a file
              ByteBuffer buf = ByteBuffer.wrap(bytes);
              File file = new File(outputFileName);
              // (if the file exists)
              boolean append = false;
              // Create a writable file channel
              FileChannel wChannel = new FileOutputStream(file, append).getChannel();
              // Write the ByteBuffer contents; the bytes between the ByteBuffer's
              // position and the limit is written to the file
              wChannel.write(buf);
              // Close the file
              wChannel.close();
              } finally {
                   if (conn != null) {
    conn.close();
    Any help would be highly appreciated. Thanks in advance

    Hi ,
    One 'simple' way is by using the DBMS_SCHEDULER db package and the procedure CREATE_JOB(....) using as job_type the value 'EXECUTABLE'...
    Read for further info in 'PL/SQL Packages and Types Reference'.
    If you have access to OEM ... you can configure this there using wizard.....
    Other way is to use the External Procedure call capabiblity of Oracle DB Server...:
    http://www.oracle.com/pls/db102/ranked?word=external+procedure+call&remark=federated_search
    My greetings,
    Sim

  • How to Generate Statistic Graph in Report??

    Hi, i am developing an questionnaire program together with 19 question... i am able to get value for each value..
    Now my problem is how to generate a statistic graph whenever user can check their report ??
    Can anyone help?? Thank you very much......
    from bscs

    The easy way is to use your values to set the width or height of an image dynamically in HTML, but you can only do bar charts using this method.
    For real reports and measures have a look at
    http://www.jfree.org/jfreechart/index.php
    http://www.jfree.org/jfreereport/index.php

  • How to generate multiple output pdf's from one oracle reports

    how to generate multiple output pdf's from one oracle reports.
    I have a report where I have to generate more than one output files from the same report based on a parameter.
    Each output file is for each parameter.
    Is this possible in oracle reports, is so how ?

    You can better post your question in the reports forum instead of this pl/sql forum.

  • How to Generate a Report Based on User's Parameters from Web Site

    Hi, all,
    I am trying to use Oracle Developer 6.0 Report Builder to generate report based on what user types in from the web site. Since I am a novice, I am wondering if anybody would help me with the following questions:
    1. How can I create a report based on user's parameters?
    Assuming that I have 2 text fields EMPNO and DEPT on the web site, after user types in some value, how can I pass these parameters into my query, can I do something like:
    select ENAME, JOB, EADDRESS from EMP
    where EMPNO =
    some_reference_of_parameters_from_user
    or is there any other way to achieve this functionality?
    2. How can I pass a PDF format report back to user after the report is generated?
    Any help is greately appreciated!!
    Best regards.
    Judy

    Hello,
    In the Report Builder, create two user parameters, and set the parameter name, datatype, width, and default values to what you want. Modify the query and put in a where clause (e.g., where deptno = :p_deptno). When you request the report with PARAMFORM=YES on the URL, it'll generate a default parameter form in HTML and allow the user to enter in the selected parameter values. Also set DESTYPE=CACHE&DESFORMAT=PDF on the URL to get the output back as PDF.
    If you upgrade to Reports 6i, you can customize the default HTML parameter form.
    Regards,
    The Oracle Reports Team --skw                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       

  • How to generate a row in report to compute total?

    Hi:
    I need help to generate a report. In an accounting report, I need to make sum for each client regarding outstanding balance. The format of report is following:
    invoice#, invoice date, invoice amount, paid amount paid date, write off, outstanding balance
    Client Name: Baker Express / Debtor Name: Kurt Weiss inc.
    137308001, 04/18/2012, 438.07, 537.07, 06/05/2012, , (99)
    137308002, 04/18/2012, 100, 90, 06/05/2012, 10,
    client Total: total payment:627.07, total outstanding balance: (99)
    another client and debtor pair
    My question is how to generate total payment and total outstanding balancefor every pair of client and debtor. And there are multiple pairs. I tried to use group by, but how can I display every invoice tuple as well in the report?
    Any help would be appreciated.
    Sam

    One method would be to use ROLLUP in your SQL
    http://www.oracle-base.com/articles/misc/rollup-cube-grouping-functions-and-grouping-sets.php

  • How to generate a report direct in PDF with oracle developer 6i

    hi all
    Please help me about this issue.
    THAT How to generate a report directly in PDF using oracle developer 6i.
    Regards
    Yousuf Ahmed Siddiqui

    Hi,
    You can create the Report directly in PDF by setting some of the Report Parameters
    i.e. DESTYPE, DESNAME AND DESFORMAT as follows before calling the Report.
    DECLARE
         PL_ID          PARAMLIST;
         PL_NAME     VARCHAR2(10) := 'param_list';
    BEGIN     
         PL_ID := GET_PARAMETER_LIST (PL_NAME);
         IF NOT ID_NULL (PL_ID) THEN
                  Destroy_Parameter_List(PL_ID);
         END IF;
         PL_ID := Create_Parameter_List(PL_NAME);
         Add_Parameter (PL_ID, 'DESTYPE', TEXT_PARAMETER, 'FILE');
         Add_Parameter (PL_ID, 'DESNAME', TEXT_PARAMETER, 'c:\test.pdf');
         Add_Parameter (PL_ID, 'DESFORMAT', TEXT_PARAMETER, 'PDF');
            RUN_PRODUCT (REPORTS, 'REPORT_NAME', ASYNCHRONOUS, RUNTIME, FILESYSTEM, PL_ID, NULL);
    END;Hope this helps.
    Best Regards
    Arif Khadas
    Edited by: Arif Khadas on Apr 22, 2010 9:24 AM

  • How to generate pdf report in swing

    Hello,
    can you help me?
    i want to generate pdf report in my swing based project but i don't know about any idea of this report generating
    procedure . Please help me.

    shesh_07 wrote:
    Hello,
    can you help me?Can you help yourself? Two suggestions I have for posting to a technical forum are:
    1) Add an upper case letter to the start of each sentence. This helps the reader to scan the text quickly, looking for the important parts. It also helps to dispel the impression that the writer is just lazy.
    2) Try to do some research on your own, summarise it and state any conclusions you have reached. Ask a specific question and generally, try not to sound so pathetic.
    i want to generate pdf report ..Search for [Java PDF|http://lmgtfy.com/?q=java+pdf] *(<- link).*
    Figure how to generate a PDF report in a class used from the command line, then..
    ..in my swing based project .....wrap a GUI around that class. For details on the latter, see the [Swing tutorial|http://java.sun.com/docs/books/tutorial/uiswing/] *(<- link).*
    ..but i don't know about any idea of this report generating
    procedure . Please help me.Please help yourself.

  • How to generate interactive report in alv

    hi,
      how to generate interactive report in alv,for this what are the requirements,
    give me one sample report.
                                                 thankyou.

    Hi,
    Chk these helpful links..
    ALV
    http://www.geocities.com/mpioud/Abap_programs.html
    http://www.sapdevelopment.co.uk/reporting/reportinghome.htm
    Simple ALV report
    http://www.sapgenie.com/abap/controls/alvgrid.htm
    http://wiki.ittoolbox.com/index.php/Code:Ultimate_ALV_table_toolbox
    ALV
    1. Please give me general info on ALV.
    http://www.sapfans.com/forums/viewtopic.php?t=58286
    http://www.sapfans.com/forums/viewtopic.php?t=76490
    http://www.sapfans.com/forums/viewtopic.php?t=20591
    http://www.sapfans.com/forums/viewtopic.php?t=66305 - this one discusses which way should you use - ABAP Objects calls or simple function modules.
    2. How do I program double click in ALV?
    http://www.sapfans.com/forums/viewtopic.php?t=11601
    http://www.sapfans.com/forums/viewtopic.php?t=23010
    3. How do I add subtotals (I have problem to add them)...
    http://www.sapfans.com/forums/viewtopic.php?t=20386
    http://www.sapfans.com/forums/viewtopic.php?t=85191
    http://www.sapfans.com/forums/viewtopic.php?t=88401
    http://www.sapfans.com/forums/viewtopic.php?t=17335
    4. How to add list heading like top-of-page in ABAP lists?
    http://www.sapfans.com/forums/viewtopic.php?t=58775
    http://www.sapfans.com/forums/viewtopic.php?t=60550
    http://www.sapfans.com/forums/viewtopic.php?t=16629
    5. How to print page number / total number of pages X/XX in ALV?
    http://www.sapfans.com/forums/viewtopic.php?t=29597 (no direct solution)
    6. ALV printing problems. The favourite is: The first page shows the number of records selected but I don't need this.
    http://www.sapfans.com/forums/viewtopic.php?t=64320
    http://www.sapfans.com/forums/viewtopic.php?t=44477
    7. How can I set the cell color in ALV?
    http://www.sapfans.com/forums/viewtopic.php?t=52107
    8. How do I print a logo/graphics in ALV?
    http://www.sapfans.com/forums/viewtopic.php?t=81149
    http://www.sapfans.com/forums/viewtopic.php?t=35498
    http://www.sapfans.com/forums/viewtopic.php?t=5013
    9. How do I create and use input-enabled fields in ALV?
    http://www.sapfans.com/forums/viewtopic.php?t=84933
    http://www.sapfans.com/forums/viewtopic.php?t=69878
    10. How can I use ALV for reports that are going to be run in background?
    http://www.sapfans.com/forums/viewtopic.php?t=83243
    http://www.sapfans.com/forums/viewtopic.php?t=19224
    11. How can I display an icon in ALV? (Common requirement is traffic light icon).
    http://www.sapfans.com/forums/viewtopic.php?t=79424
    http://www.sapfans.com/forums/viewtopic.php?t=24512
    12. How can I display a checkbox in ALV?
    http://www.sapfans.com/forums/viewtopic.php?t=88376
    http://www.sapfans.com/forums/viewtopic.php?t=40968
    http://www.sapfans.com/forums/viewtopic.php?t=6919
    Go thru these programs they may help u to try on some hands on
    ALV Demo program
    BCALV_DEMO_HTML
    BCALV_FULLSCREEN_DEMO ALV Demo: Fullscreen Mode
    BCALV_FULLSCREEN_DEMO_CLASSIC ALV demo: Fullscreen mode
    BCALV_GRID_DEMO Simple ALV Control Call Demo Program
    BCALV_TREE_DEMO Demo for ALV tree control
    BCALV_TREE_SIMPLE_DEMO
    BC_ALV_DEMO_HTML_D0100
    Regards
    Anversha

  • How to generate a report in pdf from a stored proc

    Hi, i need guidance on how to generate a report in pdf from an oracle stored proc.
    The environment is oracle 10gas + 10gdb.
    On a specific event, a PL/SQL stored procedure is called to do some processing and at the end of the processing to generate report which has to be sent to the printer (and optionally previewed by the user).
    Can anyone assist me with this?

    Hi ,
    One 'simple' way is by using the DBMS_SCHEDULER db package and the procedure CREATE_JOB(....) using as job_type the value 'EXECUTABLE'...
    Read for further info in 'PL/SQL Packages and Types Reference'.
    If you have access to OEM ... you can configure this there using wizard.....
    Other way is to use the External Procedure call capabiblity of Oracle DB Server...:
    http://www.oracle.com/pls/db102/ranked?word=external+procedure+call&remark=federated_search
    My greetings,
    Sim

Maybe you are looking for