Get manual attachment from a report

Hi all,
I have a problem when trying to retrieve from a report the manual attachments of an SD invoice. Though I'm using a SD invoice, I guess is the same for any object.
I usually use this way to get attachments from objects:
1º ARCHIV_GET_CONNECTIONS -> Attachment info
2º ARCHIVOBJECT_GET_DT_VIA_TABLE or ARCHIVOBJECT_GET_TABLE -> Attachment data
3º Then download, email... or do whatever you want with the files.
My problem now is, if I go inside an invoice and create an attachment manually, then it does not show up on TOA01 or on FM ARCHIV_GET_CONNECTIONS.
Do you know a way to get these manual created attachments or at least where are they stored?
Thanks in advance,
Regards John
Edited by: John Smith on May 26, 2011 1:18 PM

Hi Madhukar,
Thanks for the answer. That's exactly what I need.
After a while I finally managed to execute them correctly, I'll explain here:
1º Get the attachments info. In my case, as I told, are SD Invoices so class is VBRK
CALL FUNCTION 'BDS_GOS_CONNECTIONS_GET'
  EXPORTING
*   LOGICAL_SYSTEM           =
    classname                = 'VBRK'
    objkey                   = 'sd invoice number'
*   CLIENT                   = SY-MANDT
  tables
    gos_connections          = it_gos_connections
* EXCEPTIONS
*   NO_OBJECTS_FOUND         = 1
*   INTERNAL_ERROR           = 2
*   INTERNAL_GOS_ERROR       = 3
*   OTHERS                   = 4.
2º We recover the data of any of the attachments we got before:
From table gos_connections we use the field L0I0_ID to enter this next FM:
CALL FUNCTION 'SO_DOCUMENT_READ_API1'
  EXPORTING
    document_id                      =   it_gos_connections-L0I0_ID
*   FILTER                           = 'X '
* IMPORTING
*   DOCUMENT_DATA                    =
TABLES
*   OBJECT_HEADER                    =
   OBJECT_CONTENT                   = it_object_content
*   OBJECT_PARA                      =
*   OBJECT_PARB                      =
*   ATTACHMENT_LIST                  =
*   RECEIVER_LIST                    =
*   CONTENTS_HEX                     =
* EXCEPTIONS
*   DOCUMENT_ID_NOT_EXIST            = 1
*   OPERATION_NO_AUTHORIZATION       = 2
*   X_ERROR                          = 3
*   OTHERS                           = 4.
3º Now we got the data, we can do whatever we want. For example if we want to download it we can go like this:
we use the it_object_content from last FM for this next one.
CALL FUNCTION 'SO_OBJECT_DOWNLOAD'
EXPORTING
*   BIN_FILESIZE           = 0
*   DEFAULT_FILENAME       = ' '
   FILETYPE               = 'BIN' "for PDF
   PATH_AND_FILE          = 'C:TEST '
*   EXTCT                  = ' '
   NO_DIALOG              = 'X'
*   CODEPAGE               =
* IMPORTING
*   FILELENGTH             =
*   F_CANCELLED            =
*   ACT_FILETYPE           =
*   ACT_FILENAME           =
  TABLES
    objcont                =  it_object_content
* EXCEPTIONS
*   FILE_WRITE_ERROR       = 1
*   INVALID_TYPE           = 2
*   X_ERROR                = 3
*   KPRO_ERROR             = 4
*   OTHERS                 = 5.
Regards
Edited by: John Smith on May 26, 2011 4:29 PM

Similar Messages

  • Getting duplicate emails from SharePoint Report Library subscription.

    Getting duplicate emails from SharePoint Report Library subscription.
    Users are subscribed for each item in Report Library and it is scheduled to send email at 3 PM every day.
    But, intermittently users are getting duplicate emails.
    Please let me know on how to troubleshoot...

    If you have Exchange, you can track the email from there to see if that yields any value. You can also turn up the diagnostic logging in Central Admin -> Monitoring -> Configure diagnostic logging -> SQL Server Reporting Services, and selecting:
    Report Server Email Extension
    Report Server Schedule
    Report Server Subscription
    Turn them up to Verbose in the Trace log, then monitor the ULS log when you identify a user who has received duplicate emails.
    Trevor Seward, MCC
    Follow or contact me at...
    &nbsp&nbsp
    This post is my own opinion and does not necessarily reflect the opinion or view of Microsoft, its employees, or other MVPs.

  • How to get actual error from Crystal Report

    We are using Crystal report in web service.
    We faced some problem due to crystal report unexpected error.
    Refer the below error message.
    Xception E NSF NSFZ1100 20100608 145511565 GPRAB0 : GPRZ10 GUEC0001 [1] AbstractService Showing a modal dialog box or form when the application is not running in UserInteractive mode is not a valid operation. Specify the ServiceNotification or DefaultDesktopOnly style to display a notification from a service application.
    Xception E NSF NSFZ1100 20100608 145511972 GPRAB0 : GPRZ10 GUEC0001 [1] AbstractService at System.Windows.Forms.MessageBox.ShowCore(IWin32Window owner, String text, String caption, MessageBoxButtons buttons, MessageBoxIcon icon, MessageBoxDefaultButton defaultButton, MessageBoxOptions options, Boolean showHelp)
    at System.Windows.Forms.MessageBox.Show(String text, String caption, MessageBoxButtons buttons, MessageBoxIcon icon)
    at CrystalDecisions.Windows.Forms.CrystalReportViewer.HandleExceptionEvent(Object eventSource, Exception e, Boolean suppressMessage)
    at CrystalDecisions.Windows.Forms.CrystalReportViewer.HandleExceptionEvent(Object eventSource, Exception e)
    at CrystalDecisions.Windows.Forms.ReportDocumentBase.GetLastPageNumber()
    at CrystalDecisions.Windows.Forms.ReportDocumentBase.GetLastPage()
    at CrystalDecisions.Windows.Forms.DocumentControl.ShowLastPage()
    at CrystalDecisions.Windows.Forms.PageView.ShowLastPage()
    at Biz.Nissan.Cats.CORE.REPORT.LibCrystalReport.TotalPageCount(ReportDocument Rpt)
    at Biz.Nissan.Cats.CORE.REPORT.LibCrystalReport.Print(BaseReport RptDefinition)
    at Biz.Nissan.Cats.CORE.REPORT.MCTLIST260Print.Print(IFData ifData)
    at Biz.Nissan.W3.CATS.BC.Service.DistributeService.ExecuteMpp()
    How we get the actual error from crystal report?
    Thanks in Advance

    Same as
    crystal report unexpected error in Web service (IIS)
    Closing this thread.
    Ludek

  • How to get the value from another report Customizes Form

    Dear all,
    I create a report such as
    select * from mytable.table1
    where field1 = :bind_variable
    I create a menu to run this Customized Form and user have to select the bind_variable values. So I have another report created which also want this bind_variable as it WHERE Clause. But I don't want my user to key the same bind variable twice. They can just same the Customized Form and run for both report.
    Could anybody know how to get the bind_variable on 1st report and used by the 2nd report.
    Thank you very much.
    Best Rgds,
    SL Voon

    Hi,
    are you on BI7.0? There you can create variables type replacement path and get the value out from a different variable without any coding.
    regards
    Cornelia

  • How to get An Attachment from(reading outlook attachment from Java)

    I am developing a Java Email client. This Email client is working for "POP3" server. This is working fine for recieving all the emails other than Outlook express attachment. This is first time I am posting a topic even I had answered some topics. Now I am expecting your help for to solve this. Please help me if anybody faced the same problem.Please send me the Actuall code retreive Attachment from Inbox
    Please Send to me That code
    [email protected]

    I think this peice of information and code would help u
    Getting Attachments
    Getting attachments out of your messages is a little more involved then sending them, as MIME has no simple notion of attachments. The content of your message is a Multipart object when it has attachments. You then need to process each Part, to get the main content and the attachment(s). Parts marked with a disposition of Part.ATTACHMENT from part.getDisposition() are clearly attachments. However, attachments can also come across with no disposition (and a non-text MIME type) or a disposition of Part.INLINE. When the disposition is either Part.ATTACHMENT or Part.INLINE, you can save off the content for that message part. Just get the original filename with getFileName() and the input stream with getInputStream().
    Multipart mp = (Multipart)message.getContent();
    for (int i=0, n=multipart.getCount(); i<n; i++) {
    Part part = multipart.getBodyPart(i));
    String disposition = part.getDisposition();
    if ((disposition != null) &&
    ((disposition.equals(Part.ATTACHMENT) ||
    (disposition.equals(Part.INLINE))) {
    saveFile(part.getFileName(), part.getInputStream());
    The saveFile() method just creates a File from the filename, reads the bytes from the input stream, and writes them off to the file. In case the file already exists, a number is added to the end of the filename until one is found that doesn't exist.
    // from saveFile()
    File file = new File(filename);
    for (int i=0; file.exists(); i++) {
    file = new File(filename+i);
    The code above covers the simplest case where message parts are flagged appropriately. To cover all cases, handle when the disposition is null and get the MIME type of the part to handle accordingly.
    if (disposition == null) {
    // Check if plain
    MimeBodyPart mbp = (MimeBodyPart)part;
    if (mbp.isMimeType("text/plain")) {
    // Handle plain
    } else {
    // Special non-attachment cases here of
    // image/gif, text/html, ...
    regards
    shanu

  • Imac (early 2009) Slow, display issues and freezing, can anyone get any info from crash report?

    Hi,
    Just wondering if anyone can provide some insight into why my Imac is constintantly crashing.
    Issue:
    For as long as I can remember it has been ocassionally freezing. First there are little redish dots in clusters on parts of the screen, then if you move a window, some of the image of the window gets left behind. Then there are moving horozintal lines that come up from the bottom of the screen. You can move the mouse but it wont click on anything.
    As of about 6 months ago they crashed became so frequent that sometimes you couldn't get 5 mins out of the computer before it would do it again.
    I use photoshop quite a lot but the files are never extraordinaly large.
    The top left part of the computer can become really hot.
    In an effort to try to resolve it I rang Apple and they got to do something which made it work properly again for 2 days, long enough for me to decide to upgrade to Mavrick. Since upgrading it's been even worse. It's really really slow and in applications like mail its flashing and looking like it's loading the page over and over again, starting with the bottom of the page and the bottom colour. Mail searh is also not working. It then freezes again.
    Mostly it freezes, and doesn' t crash so I have to restart it myself, so it's not reporting it as a crash.
    Today it did crash, I was wondering if anyone can figure out whats wrong the the report below?
    Thanks!
    Wed Feb 12 14:22:04 2014
    panic(cpu 0 caller 0xffffff7f88583552): NVRM[0/2:0:0]: Read Error 0x00001604: CFG 0x00000000 0x00006140 0x00006140, BAR0 0xd2000000 0xffffff80882d7000 0x094700a1, D0, P1/4
    Backtrace (CPU 0), Frame : Return Address
    0xffffff808760b650 : 0xffffff8007a22f69
    0xffffff808760b6d0 : 0xffffff7f88583552
    0xffffff808760b790 : 0xffffff7f8864fd9e
    0xffffff808760b7d0 : 0xffffff7f888b3d54
    0xffffff808760b810 : 0xffffff7f888a8eb7
    0xffffff808760b850 : 0xffffff7f886c66ba
    0xffffff808760b9a0 : 0xffffff7f886c5a3b
    0xffffff808760bab0 : 0xffffff7f88885ed8
    0xffffff808760bb60 : 0xffffff7f88886250
    0xffffff808760bd00 : 0xffffff7f888cb20f
    0xffffff808760be20 : 0xffffff7f88673d41
    0xffffff808760be40 : 0xffffff7f8858a08d
    0xffffff808760bef0 : 0xffffff8007eada80
    0xffffff808760bf30 : 0xffffff8007eac522
    0xffffff808760bf80 : 0xffffff8007eac5f7
    0xffffff808760bfb0 : 0xffffff8007ad6aa7
          Kernel Extensions in backtrace:
             com.apple.nvidia.classic.NVDAResmanTesla(8.1.8)[0A1B6F41-168D-307A-BABD-162F3B3 C2786]@0xffffff7f88532000->0xffffff7f887a1fff
                dependency: com.apple.iokit.IOPCIFamily(2.8)[447B4896-16FF-3616-95A2-1C516B2A1498]@0xffffff 7f880ba000
                dependency: com.apple.iokit.IONDRVSupport(2.3.6)[86BA68C6-18DD-30A1-ABF6-54597AD6C277]@0xff ffff7f88522000
                dependency: com.apple.iokit.IOGraphicsFamily(2.3.6)[38E388A5-92D6-3388-B799-F2498E582287]@0 xffffff7f884df000
             com.apple.nvidia.classic.NVDANV50HalTesla(8.1.8)[3666E0FC-87C7-3329-BD8C-2F1ADE D100A4]@0xffffff7f887ac000->0xffffff7f88a58fff
                dependency: com.apple.nvidia.classic.NVDAResmanTesla(8.1.8)[0A1B6F41-168D-307A-BABD-162F3B3 C2786]@0xffffff7f88532000
                dependency: com.apple.iokit.IOPCIFamily(2.8)[447B4896-16FF-3616-95A2-1C516B2A1498]@0xffffff 7f880ba000
    BSD process name corresponding to current thread: kernel_task
    Mac OS version:
    13B42
    Kernel version:
    Darwin Kernel Version 13.0.0: Thu Sep 19 22:22:27 PDT 2013; root:xnu-2422.1.72~6/RELEASE_X86_64
    Kernel UUID: 1D9369E3-D0A5-31B6-8D16-BFFBBB390393
    Kernel slide:     0x0000000007800000
    Kernel text base: 0xffffff8007a00000
    System model name: iMac9,1 (Mac-F2218FC8)
    System uptime in nanoseconds: 1477295383230
    last loaded kext at 277739752297: com.apple.filesystems.msdosfs          1.9 (addr 0xffffff7f89d7a000, size 65536)
    last unloaded kext at 338692832769: com.apple.filesystems.msdosfs          1.9 (addr 0xffffff7f89d7a000, size 57344)
    loaded kexts:
    com.apple.driver.AudioAUUC          1.60
    com.apple.driver.AppleHWSensor          1.9.5d0
    com.apple.driver.AGPM          100.14.11
    com.apple.filesystems.autofs          3.0
    com.apple.iokit.IOBluetoothSerialManager          4.2.0f6
    com.apple.driver.AppleMikeyHIDDriver          124
    com.apple.driver.AppleHDA          2.5.3fc1
    com.apple.iokit.IOUserEthernet          1.0.0d1
    com.apple.driver.AppleUpstreamUserClient          3.5.13
    com.apple.driver.AppleMikeyDriver          2.5.3fc1
    com.apple.Dont_Steal_Mac_OS_X          7.0.0
    com.apple.driver.ACPI_SMC_PlatformPlugin          1.0.0
    com.apple.driver.AppleLPC          1.7.0
    com.apple.GeForceTesla          8.1.8
    com.apple.driver.AppleHWAccess          1
    com.apple.iokit.BroadcomBluetoothHostControllerUSBTransport          4.2.0f6
    com.apple.driver.AppleBacklight          170.3.5
    com.apple.driver.AppleMCCSControl          1.1.12
    com.apple.iokit.SCSITaskUserClient          3.6.0
    com.apple.driver.AppleIRController          325.7
    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.iokit.IOAHCIBlockStorage          2.4.0
    com.apple.driver.AppleFWOHCI          4.9.9
    com.apple.driver.AirPort.Brcm4331          700.20.22
    com.apple.driver.AppleAHCIPort          2.9.5
    com.apple.driver.AppleUSBHub          650.4.4
    com.apple.nvenet          2.0.21
    com.apple.driver.AppleUSBEHCI          650.4.1
    com.apple.driver.AppleUSBOHCI          650.4.1
    com.apple.driver.AppleRTC          2.0
    com.apple.driver.AppleHPET          1.8
    com.apple.driver.AppleACPIButtons          2.0
    com.apple.driver.AppleSMBIOS          2.0
    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.AppleGraphicsDeviceControl          3.4.12
    com.apple.kext.triggers          1.0
    com.apple.iokit.IOSerialFamily          10.0.7
    com.apple.driver.DspFuncLib          2.5.3fc1
    com.apple.vecLib.kext          1.0.0
    com.apple.iokit.IOAudioFamily          1.9.4fc11
    com.apple.kext.OSvKernDSPLib          1.14
    com.apple.iokit.IOSurface          91
    com.apple.iokit.IOBluetoothFamily          4.2.0f6
    com.apple.driver.IOPlatformPluginLegacy          1.0.0
    com.apple.driver.AppleSMBusPCI          1.0.12d1
    com.apple.driver.IOPlatformPluginFamily          5.5.1d27
    com.apple.nvidia.classic.NVDANV50HalTesla          8.1.8
    com.apple.driver.AppleSMC          3.1.6d1
    com.apple.nvidia.classic.NVDAResmanTesla          8.1.8
    com.apple.iokit.IOBluetoothHostControllerUSBTransport          4.2.0f6
    com.apple.iokit.IOFireWireIP          2.2.5
    com.apple.driver.AppleHDAController          2.5.3fc1
    com.apple.iokit.IOHDAFamily          2.5.3fc1
    com.apple.driver.AppleBacklightExpert          1.0.4
    com.apple.driver.AppleSMBusController          1.0.11d1
    com.apple.iokit.IONDRVSupport          2.3.6
    com.apple.iokit.IOGraphicsFamily          2.3.6
    com.apple.driver.AppleUSBHIDMouse          180.9
    com.apple.driver.AppleHIDMouse          180.9
    com.apple.iokit.IOSCSIMultimediaCommandsDevice          3.6.0
    com.apple.iokit.IOBDStorageFamily          1.7
    com.apple.iokit.IODVDStorageFamily          1.7.1
    com.apple.iokit.IOCDStorageFamily          1.7.1
    com.apple.driver.AppleUSBHIDKeyboard          170.15
    com.apple.driver.AppleHIDKeyboard          170.15
    com.apple.iokit.IOUSBHIDDriver          650.4.4
    com.apple.iokit.IOAHCISerialATAPI          2.6.0
    com.apple.driver.AppleUSBMergeNub          650.4.0
    com.apple.driver.AppleUSBComposite          650.4.0
    com.apple.iokit.IOSCSIArchitectureModelFamily          3.6.0
    com.apple.iokit.IOFireWireFamily          4.5.5
    com.apple.iokit.IO80211Family          600.34
    com.apple.iokit.IOAHCIFamily          2.6.0
    com.apple.iokit.IOUSBUserClient          650.4.4
    com.apple.iokit.IONetworkingFamily          3.2
    com.apple.iokit.IOUSBFamily          650.4.4
    com.apple.driver.NVSMU          2.2.9
    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.10
    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          21
    com.apple.driver.AppleFDEKeyStore          28.30
    com.apple.driver.AppleACPIPlatform          2.0
    com.apple.iokit.IOPCIFamily          2.8
    com.apple.iokit.IOACPIFamily          1.4
    com.apple.kec.corecrypto          1.0
    com.apple.kec.pthread          1
    Model: iMac9,1, BootROM IM91.008D.B08, 2 processors, Intel Core 2 Duo, 3.06 GHz, 4 GB, SMC 1.37f3
    Graphics: NVIDIA GeForce GT 130, NVIDIA GeForce GT 130, PCIe, 512 MB
    Memory Module: BANK 0/DIMM0, 2 GB, DDR3, 1067 MHz, 0x80CE, 0x4D34373142353637334448312D4346382020
    Memory Module: BANK 1/DIMM0, 2 GB, DDR3, 1067 MHz, 0x80CE, 0x4D34373142353637334448312D4346382020
    AirPort: spairport_wireless_card_type_airport_extreme (0x14E4, 0x8E), Broadcom BCM43xx 1.0 (5.106.98.100.22)
    Bluetooth: Version 4.2.0f6 12982, 3 services, 15 devices, 1 incoming serial ports
    Network Service: AirPort, AirPort, en1
    Serial ATA Device: WDC WD1001FALS-40K1B0, 1 TB
    Serial ATA Device: PIONEER DVD-RW  DVRTS08
    USB Device: Built-in iSight
    USB Device: Keyboard Hub
    USB Device: Apple Optical USB Mouse
    USB Device: Apple Keyboard
    USB Device: IR Receiver
    USB Device: BRCM2046 Hub
    USB Device: Bluetooth USB Host Controller
    Thunderbolt Bus:

    This is a Kernel Panic report, I cannot see any software related issues, my bst guess it's related to hardware. Common causes of hardware related KPs are RAM
    Incorrect RAM
    Failed RAM
    Unseated RAM
    Eliminate each and then re-test. If it's not RAM it could be a failing HD or something else. I would recommend taking the machine in to be looked at by a professional and tested. Take it to your local Apple Store or local AASP.

  • How can i do Automatic trigger a attachment from my report  to SAP inbox

    Hi,
    The requirement is like this, my Report output details should create an Attachment and it automatically should be trigger in my workflow MailBox from my Report

    Hi Prabhakar,
    You have to create an alert in the system and you can attach a query to this. Go to Administration > Alerts Management. If you want to create an alert programmatically you can accomplish the same via the DI API using the messages object.
    Hope it helps,
    Adele

  • Get entire record from Crystal report viewer

    Hi,
    I'm using Crystal 2008 .Net components to view reports from within an application.
    I would like to write a custom drill down event so that users can link back from a record on the report they are previewing to somewhere else in the application. In order to do this I need access to the whole record's data for the object that they clicked on.
    It's not really much good if I just have the value, name and table of the field they clicked on, since it is probably not a unique value within that table, and therefore I couldn't drill back to the specific record they selected. Also, if it's not a database field in the first place then I have no way of going anywhere. But if I can get the whole record they are on then I'll already know which primary key field I want, and I could then get the appropriate value from the record.
    Is this possible?
    Richard

    You can get at specific objects using events,  but not a whole record.
    Can't think of any way of doign this at all...
    Ludek

  • Get Screen Resolution from Custom Reports

    I was wondering if it was possible to get the screen resolution of a workstation from the Custom Reports in ZCC ??
    Seb

    Originally Posted by sebastien
    I was wondering if it was possible to get the screen resolution of a workstation from the Custom Reports in ZCC ??
    Seb
    Hi Seb
    I'm out of the network so I can't double check this but I don't think Zen captures that information. If my memory serves it captures some PNP info from the screen like the manufacturer and product ID's.
    It looks like you could pull the data from the registry.
    HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Hardwa re Profiles\UnitedVideo\CONTROL\VIDEO\{EE167610-A476-4BE2-9CD6-C24D55DFF3B9}\0000
    I think the challenge will be that this key will vary from system to system. And if you have multiple monitor setups you would want to collect both sets of data.
    One way you could do this would be to deploy a bundle containing a small easily available executable called DumpEDID.exe (google it) This little command line utility does exactly what it says on the box. It reads the EDID data from the display and dumps the data back to the command shell.
    Then all you need to do is to run a script to retrieve this output and load it into a custom made registry key. From there you can then pull the registry data into Zen and even create an ADF field for the info.
    Hope this helps

  • Cofiguring & sending email with attachment from Oracle Report 10g

    I want to run report from Oracle 10g reports to be sent as email attachement to differnt people with their respective personal content.
    The first problem is to know how to configure Oracle reports 10g to be able to send output to email address.
    The second problem is to be able to route seperate pages of the report to seperate email address.
    Thanks to all.

    For configuring email for reports
    http://download-east.oracle.com/docs/cd/B14099_17/bi.1012/b14048/pbr_conf.htm#sthref472
    For sending the output to different mail id's you can use bursting and distribution feature of Oracle Reports. For details,
    http://download-east.oracle.com/docs/cd/B14099_17/bi.1012/b14048/pbr_dist.htm#i1007338

  • Getting multiple values from a report

    I created a report in portal and I can get a single value using "get_value" function. Which procedure or function do I need to use to get multiple values ?
    Any help on this is greately appreciated.
    Ajay

    Fragment 1
    This is the JSP Code am using for testing
    <%
    String[] name =request.getParameterValues("D1");
    if(name.length==1)
    String value=name[0];
    Instead of name.lenght==1 try with name!=null
    Fragment 2
    out.println(value);
    replace the above fragment with
    %>
       <%-- print result -->
       <%=name[0]%>
    <%
    Fragment 3
    else
    %>
    The list box D1 is a multiple select list box.
    If it still doesn't work, check that the checkboxes have the same name as well as different values
    <input type="checkbox" name="D1" value="1">
    <input type="checkbox" name="D1" value="2">I hope this helps :-)
    Good luck
    touco
    ps: i want duke

  • Getting empty pdf from oracle reports

    %PDF-1.4
    1 0 obj
    /Creator(Oracle11gR1 as Reports Services)
    /CreationDate(D:20
    Above is the content in the pdf when its gettig generated. My project involves multiple locations in the world. This error is happening only in particular location.
    Can anyone help me on why this is happening?
    Thanks,
    Kaushik. G

    ...from Java and returns an empty result setMy guess would be that something is wrong with your java code.

  • Getting the error from icp report

    i am looking to take the icp report but getting below error
    An error has occurred. Please contact your administrator.
    Show Details:
    Error Number:70
    Error Description:Permission denied
    Error Source:Microsoft VBScript runtime error
    Page On which Error Occurred:/hfm/Administration/ShowRunningTaskLog.asp
    Edited by: Kimi on Feb 20, 2012 4:13 PM

    Hi
    Follow the below steps..
    This issue is caused by NTFS permissions on the FileTransfer folder on the HFM Web Server and can be verified by giving the Everyone group Full Access Control to the FileTransfer folder
    1. Check the data value of FileTransferFolderPath value in the Windows Registry: HKEY_LOCAL_MACHINE\SOFTWARE\Hyperion Solutions\Hyperion Financial Management\Web
    2. In Windows Explorer navigate to the folder specified in above registry, right-click on folder name and select Properties then the Security tab.
    3.Make sure that the below accounts should be available. if not Add IUSR, IWAM, IIS_WPG, Interactive, System, Service, Local Service, Network, Network Services, DCOM account, Anonymous and Everyone to the Web folder and
    Give Full Control permissions
    4. Click apply and Restart IIS
    now it should work.. still if you face the issue follow the below Oracle knowledge base article
    Financial Management Error "Error Number:70 Error Description: Permission denied" When Loading or Saving Objects (Doc ID 596447.1)
    thank you
    Regards,
    Mahe

  • Getting Column names from SQL report

    I have a SQL report as follows:
    select ename, dept, manager
    from emp;
    I need to be able to dynamically access the column names being displayed inside APEX so I can use in a List of Values. I can't use all_tab_columns. Is there an internal APEX table/view that I can accxess that will give me all of the columns that are eing displayed in a SQL report?

    Hi Bob,
    Try this -
    1) Give your report region a static id
    2) Use the following query -
    select
      heading d,
      column_alias r
    from
      apex_application_page_rpt_cols
    where region_id = 'FOO';Obviously change 'FOO' to match your region id, and look at the different columns available in the apex_application_page_rpt_cols view to see what best suits you.
    The APEX dictionary rocks ;)
    Hope this helps,
    John.
    http://jes.blogs.shellprompt.net
    http://apex-evangelists.com

  • Getting error 5222 from Financial Reporting

    We are creating a Hyperion FR report with Scenario and Version dimensions in the POV. Certain users receive error message 5222 when running the report. Others can run it successfully. If Scenarion and Version are moved to the page dimension, the report runs fine for all users. I am not sure what is wrong or how to correct it.

    Kelly,
    Thanks for your reply. Unfortunately, I am not sure I understand which preference to check. Can you tell me where (under what menu) I would find this?
    Thanks again for your help.

Maybe you are looking for

  • Problems loading text to xib using plist in tableview's selected cell

    I am developing an app that starts with a grouped tableview cell.  Each cell has an image, text, and description from a plist.  When a cell is chosen a xib is loaded by a view controller in the plist.  I want to load into the xib some text, an image,

  • How can I display a document stored in ArchiveLink?

    Hello people, We developed a solution to attach some files related to a requisition in IXOS. We have an interface using webdyn and we need to display these files. I can read some details in TOA01, and I can create a link to the document. But when the

  • Can't open PDF file created in Microsoft PowerPoint in Keynote!?

    When i try to open the PDF file by finding the file in 'Finder' and then opening it with a program, keynote is not highlighted as a program that will work. I then tried to force the file to open by selecting 'all applications' instead of 'available a

  • Dev Environment on XP

    I'm trying to set up a development environment on an XP machine. I've installed AS and DS 10.1.2.0.2 but can not figure out how to get the forms services to show up in the EM Console. I've started the instance service, OC4J startup, set em_mode =1 in

  • Appcrash on Itunes

    Every time i open my itunes, after a few minutes this message comes up: Problem Event Name: APPCRASH Application Name: iTunes.exe Application Version: 10.1.2.17 Application Timestamp: 4d3f51b8 Fault Module Name: StackHash_bf0f Fault Module Version: 6