Display attachment with GOS-Service direct

Hello,
In my application i´am using the generic object services by starting the service "view attachment-list" directly (in a 4.6C System).
In transaction FB03 it is possible to show the original scanned document from the opt. archive in the  attachment list .
The accounting will now be able to see the attachment in the payment proposal list (F110) . I created this in report ZFZALI20 (copy from RFZALI20) in the code below. This works fine for document type 'KN' (FI), but not for type 'RN' (MM).
Then  the attachment list is empty first. But when I start transaction FB03 in a parallel task and refresh or start the attachment again with a double click in F110, then the attachment appears right.
Is there any solution for this phenomenon.
Regards,
Fred
FORM anlagenliste.
data: go_myobject type ref to cl_gos_manager.
data:
lo_container type ref to cl_gui_custom_container,
ls_object type borident.
create object go_myobject.
concatenate gt_item_main-bukrs gt_item_main-belnr  gt_item_main-gjahr
                                             INTO ls_object-objkey .
ls_object-objtype = 'BKPF'.      " BOR-Objekttyp
ls_object-logsys = 'ITAIS3'.     " Log. System des ITA-Viewer
Aufruf Service
call method go_myobject->start_service_direct
exporting ip_service = 'VIEW_ATTA'
           is_object = ls_object.
       io_container = lo_container.
ENDFORM.                    " anlagenliste

Hi Raja,
the coding in my program look like this:
data:
ref_cust_cont   type ref to cl_gui_custom_container,
ref_gos_manager type ref to cl_gos_manager,
wa_object       type borident.
if ref_cust_cont is initial.
  custom container
    CREATE OBJECT ref_cust_cont
    EXPORTING
    container_name = 'CUST_CONT'.
  GOS-manager
    CREATE OBJECT ref_gos_manager.   
endif.
wa_object-objkey  = lv_key.   "1
wa_object-objtype = 'ZTEST'.
starting the service direct
    CALL METHOD ref_gos_manager->start_service_direct
      EXPORTING
      ip_service = 'VIEW_ATTA'
      is_object = wa_object
      io_container = ref_cust_cont
    EXCEPTIONS
      no_object        = 1
      object_invalid   = 2
      execution_failed = 3
      OTHERS           = 4
Now the attachment-list of the new object '2' (objectkey) should be shown... so the same procedure starts again:
wa_object-objkey  = lv_key.   "2
wa_object-objtype = 'ZTEST'.
starting the service direct
    CALL METHOD ref_gos_manager->start_service_direct
      EXPORTING
      ip_service = 'VIEW_ATTA'
      is_object = wa_object
      io_container = ref_cust_cont
    EXCEPTIONS
      no_object        = 1
      object_invalid   = 2
      execution_failed = 3
      OTHERS           = 4
Now the ALV should show the attachment list of object "2" but it doesn´t. It also doesn´t help when i´m using the method PUBLICATION_CHANGED after the method-call START_SERVICE_DIRECT!
May be you have a code sample for me?!
Regards
chris

Similar Messages

  • Starting a GOS-Service direct

    Hello,
    In my application i´m using the generic object services by starting the service "view attachment-list" directly (in a 4.6C System).
    For the first call the service works fine, but how should i do by changing the published object? In this case i need e refresh of the alv because of the changed object - but i can´t find a method to do this! Also i can´t find a method to destroy the alv-control...
    Maybe you can help me!
    Thanks,
    Christof
    The program-steps look like this:
    data:     ref_cust_gos      type ref to cl_gui_custom_container,
         ref_gos_manager type ref to cl_gos_manager,
         wa_object     type borident.
    CREATE OBJECT ref_cust_gos
      EXPORTING
        container_name              = 'CUST_CONT'.
    CREATE OBJECT ref_gos_manager.
    wa_object-objkey = '1'.          
    wa_object-objtype = 'ZTEST'.     
    CALL METHOD ref_gos_manager->start_service_direct
      EXPORTING
        ip_service       = 'VIEW_ATTA'
        is_object        = wa_object
        io_container     = ref_cust_gos  
    CALL METHOD ref_gos_manager->unpublish.
    wa_object-objkey = '2'.          
    wa_object-objtype = 'ZTEST'.     
    CALL METHOD ref_gos_manager->start_service_direct
      EXPORTING
        ip_service       = 'VIEW_ATTA'
        is_object        = wa_object
        io_container     = ref_cust_gos

    Hi Raja,
    the coding in my program look like this:
    data:
    ref_cust_cont   type ref to cl_gui_custom_container,
    ref_gos_manager type ref to cl_gos_manager,
    wa_object       type borident.
    if ref_cust_cont is initial.
      custom container
        CREATE OBJECT ref_cust_cont
        EXPORTING
        container_name = 'CUST_CONT'.
      GOS-manager
        CREATE OBJECT ref_gos_manager.   
    endif.
    wa_object-objkey  = lv_key.   "1
    wa_object-objtype = 'ZTEST'.
    starting the service direct
        CALL METHOD ref_gos_manager->start_service_direct
          EXPORTING
          ip_service = 'VIEW_ATTA'
          is_object = wa_object
          io_container = ref_cust_cont
        EXCEPTIONS
          no_object        = 1
          object_invalid   = 2
          execution_failed = 3
          OTHERS           = 4
    Now the attachment-list of the new object '2' (objectkey) should be shown... so the same procedure starts again:
    wa_object-objkey  = lv_key.   "2
    wa_object-objtype = 'ZTEST'.
    starting the service direct
        CALL METHOD ref_gos_manager->start_service_direct
          EXPORTING
          ip_service = 'VIEW_ATTA'
          is_object = wa_object
          io_container = ref_cust_cont
        EXCEPTIONS
          no_object        = 1
          object_invalid   = 2
          execution_failed = 3
          OTHERS           = 4
    Now the ALV should show the attachment list of object "2" but it doesn´t. It also doesn´t help when i´m using the method PUBLICATION_CHANGED after the method-call START_SERVICE_DIRECT!
    May be you have a code sample for me?!
    Regards
    chris

  • Attachment with web service

    Hello friends
    I have little problem I create project with web service and now I need to add attachment to email
    email I create step by step with tutorial !!!
    so if anybody know HOWTO please send me any tip!!!

    Hello Anilkumar Vippagunta
    Thank you very much for your help!!!
    but I have little problem with your code
    Properties properties = new Properties();
    properties.put("mail.smtp.host", "comp.smtp.com");
    MimeMessage msg =new MimeMessage(Session.getInstance(properties,  null));
    I can't define Session correctly if you can give me any tip or direction
    Maybe its stupid questuion but how can I know this two properties (mail.smtp.host,comp.smtp.com)
                 thank you.

  • The bonjour service has been disabled and i need it for sharing. I cannot get it to work with the services directions. It keeps telling me services stopping. HELP!

    Bonjour has been disabled and i do not know how to enable. Been in the services and followed the instruction without results. Help. Thx.

    Using Windows Firewall currently - Bonjour is ticked as an exception so it should be ok... but still no luck

  • Axis and Mime to send Images with Web Services

    Hi, I have been reading a lot of information about MIME and how I have to send images or attachaments with Web Services, and I am a little lost. I would to find a simple example to use MIME with AXIS 1.4 . Do anybody know where I can find some example to use attachements with AXIS???
    Thank you very much in advance

    Hi,
    When you are using JAX-WS, there is a tool wsimport, with which you are going to generate the artifacts required to implement the web service.
    When you pass the WSDL as a parameter to the wsimport tool, it will be create the required beans also(JAXB Objects).
    So need of any other external implementation of JAXB when you are working with JAXWS
    Thanks,

  • GOS: How to display attachment?

    Hello,
    I want to display the first attachment. I found the function GOS_ATTACHMENT_LIST_POPUP, but I haven't found a possibility to display an attachment directly. Does anybody know how to do this?
    Please help.
    Have a nice day. Bye.
    Frank

    This may not be the purist way of doing it, but hopefully it may help you along the way.
    Jonathan
    report zlocal_jc_sdn_gos_test.
    tables:
      srgbtbrel.   "Relationships in GOS Environment
    parameters:
    *"Defaults here are an FI doc with GOS Note visible in FB03
      p_objkey                   like borident-objkey
                                   default '100000120618312008',
      p_objtyp                   like borident-objtype
                                   default 'BKPF'.
    start-of-selection.
      perform display_attachment.
    *&      Form  display_attachment
    form display_attachment.
      data:
        l_objkey            type swo_typeid,
        lo_gos_service      type ref to cl_gos_document_service,
        ls_srgbtbrel        type srgbtbrel,
        lt_srgbtbrel        type srgbtbrel occurs 10.
    *" Get a list of the links and choose one:
      select *
        into corresponding fields of table lt_srgbtbrel
        from srgbtbrel
        where instid_a = p_objkey
        and   typeid_a = p_objtyp
        and   reltype  = 'NOTE'.
    *" Exit if no attachments found
      if lines( lt_srgbtbrel ) is initial.
        exit.
      endif.
    *" Choose first one and set up the ident for the BOR
      sort lt_srgbtbrel by utctime. "put oldest top for this demo
      read table lt_srgbtbrel into ls_srgbtbrel index 1.
      l_objkey = ls_srgbtbrel-instid_b. "i.e. the Note's ID
      create object lo_gos_service.
      call method lo_gos_service->display_note
        exporting
          ip_note      = l_objkey
          ip_disp_html = 'X'.
    *"Methods in cl_gos_document_service include:
    *" DISPLAY_ATTACHMENT
    *" DISPLAY_NOTE
    *" DISPLAY_PERSONAL_NOTE
    *" DISPLAY_URL
    endform.                    "display_attachment

  • MacBook Pro Retina 15" mid-2012 won't boot in clamshell mode with an external display attached

    I have a 15" MBPr mid-2012 running OS X 10.10.1. The system won't boot in clamshell mode (power is connected, lid shut) with an external display attached via an Apple Thunderbolt->DVI adapter. it boots fine if the lid is open. It isn't the adapter or the display since my 15" MBPr mid-2014 boots up just fine connected to the same adapter and monitor. And this system used to boot like this just fine some while ago (probably before it was upgraded to Yosemite). I've reset the NVRAM (twice) to no avail.
    Has anyone encounter this? Anyone have a solution? Should I try an SMC reset (always a bit nervous about that)? Might it be a driver issue in Yosemite?
    Thanks.

    I have a 15" MBPr mid-2012 running OS X 10.10.1. The system won't boot in clamshell mode (power is connected, lid shut) with an external display attached via an Apple Thunderbolt->DVI adapter. it boots fine if the lid is open. It isn't the adapter or the display since my 15" MBPr mid-2014 boots up just fine connected to the same adapter and monitor. And this system used to boot like this just fine some while ago (probably before it was upgraded to Yosemite). I've reset the NVRAM (twice) to no avail.
    Has anyone encounter this? Anyone have a solution? Should I try an SMC reset (always a bit nervous about that)? Might it be a driver issue in Yosemite?
    Thanks.

  • I have a Thunderbolt iMac 27" with a Thunderbolt Display attached.  I would like to use the iMac and Thunderbolt display in Target Display Mode for my new Thunderbolt MacBook Pro.  So far, it seems I can only use the iMac screen itself.  How do I do this?

    When I press the Command + F2, the iMac screen becomes a secondary for the MacBook Pro, and the Thunderbolt Display becomes the primary screen for the iMac.  I was hoping that both screens would become secondaries for the MacBook Pro.  Does anyone know how I should proceed?  I have tried to connect the Thunderbolt display directly to the MacBook Pro, and the iMac to the Thunderbolt Display via the separate Thunderbolt cable, but there was no difference.  And since the MacBook Pro only has the one Thunderbolt port, I'm not sure how to proceed.

    Yes, eww, the language definitely states two thunderbolt displays, but I can understand the confusion and was siding with how they could make the mistake to think it would work like they want it to. My appologies for not being clear on that point, but I think you make it clear that the language in the ad says nothing about an imac.
    Having said that all the language about TB would suggest that this would be possible. http://www.apple.com/thunderbolt/
    High performance on display.
    Thunderbolt I/O technology provides native support for the Apple Thunderbolt Display and Mini DisplayPort displays. It also supports DisplayPort, DVI, HDMI, and VGA displays through the use of existing adapters. So you can connect your Apple LED Cinema Display or other display, along with multiple high-speed devices, all from a single port.

  • Trouble with 3d window on ArchiCAD 16 when using Led Cinema Display 27" with GT 330M 256MB connected to my MacBook Pro 15" mid 2010, but runs fine on the attached display.

    Trouble with 3d window on ArchiCAD 16 when using Led Cinema Display 27" with GT 330M 256MB connected to my MacBook Pro 15" mid 2010, but runs fine on the attached display.

    Trouble with 3d window on ArchiCAD 16 when using Led Cinema Display 27" with GT 330M 256MB connected to my MacBook Pro 15" mid 2010, but runs fine on the attached display.

  • Kernel panic when trying to use spotlight with external display attached

    Having an issue with my fairly new MacBook Pro (purchased in April). When it's connected to an external display, I will get a kernel panic 100% of the time if I click on the Spotlight icon. The same also happens sometimes when clicking Documents or Downloads in the dock, but that is infrequent. This only happens with an external display attached and I have tried multiple external displays and cables. Following is the kernel panic report. I don't really know how to read it, so if anyone has suggestions they would be much appreciated.
    Mon Nov 15 19:13:33 2010
    panic(cpu 2 caller 0xa7cbfa): NVRM[0/1:0:0]: Read Error 0x00000100: CFG 0xffffffff 0xffffffff 0xffffffff, BAR0 0xc0000000 0x7fc71000 0x0a5480a2, D0, P2/4
    Backtrace (CPU 2), Frame : Return Address (4 potential args on stack)
    0x5516a188 : 0x21b50c (0x5d42fc 0x5516a1bc 0x223974 0x0)
    0x5516a1d8 : 0xa7cbfa (0xc922bc 0xd02940 0xca1424 0x0)
    0x5516a278 : 0xb97640 (0x95db004 0x9875004 0x100 0xe3d7a00)
    0x5516a2c8 : 0xb8e639 (0x9875004 0x100 0x5516a2f8 0xa6c6d7)
    0x5516a2f8 : 0x170d9ce (0x9875004 0x100 0x438004ee 0x1)
    0x5516a438 : 0xbb62bd (0x9875004 0x9865004 0x0 0x0)
    0x5516a478 : 0xa85e63 (0x9875004 0x9865004 0x0 0x0)
    0x5516a518 : 0xa8246f (0x0 0x9 0x0 0x0)
    0x5516a6c8 : 0xa844a3 (0x0 0x600d600d 0x702b 0x5516a6f8)
    0x5516a798 : 0xd47652 (0xc1d00041 0xbfef0033 0xbfee0034 0x857c)
    0x5516a808 : 0xd56e38 (0xa09d000 0xa051d00 0x8 0x1)
    0x5516a828 : 0xd7ba20 (0xa051d00 0xb 0x5516a848 0x3)
    0x5516a858 : 0xd7c23b (0xa054000 0x1 0x5516a87c 0x0)
    0x5516a888 : 0xd5c485 (0xa054000 0x7d3ef080 0x1 0x0)
    0x5516a8d8 : 0xd1e68e (0x46559000 0x1 0x0 0x3)
    0x5516a948 : 0xd1dd99 (0x46559000 0x1 0x2 0x3)
    0x5516a978 : 0xd13ca7 (0x46559000 0x1 0x2 0x4654b000)
    0x5516aab8 : 0xd4ccfe (0x4654b000 0x0 0x5516abcc 0x5516abc8)
    0x5516ab68 : 0xd0fc93 (0x4654b000 0x0 0x5516abcc 0x5516abc8)
    0x5516abe8 : 0x5659b8 (0x4654b000 0x0 0x5516ae3c 0x5516ac74)
    0x5516ac38 : 0x566257 (0xd9de20 0x4654b000 0x97edf88 0x1)
    0x5516ac88 : 0x566b0b (0x4654b000 0x10 0x5516acd0 0x0)
    0x5516ada8 : 0x285bce (0x4654b000 0x10 0x97edf88 0x1)
    0x5516be58 : 0x21d8ba (0x97edf60 0xa0d05a0 0x1fd7e8 0x5e43)
    0x5516be98 : 0x210a3a (0x97edf00 0x0 0x9d4ba40 0xa0e9b60)
    0x5516bef8 : 0x216c9d (0x97edf00 0x0 0x0 0x0)
    0x5516bf78 : 0x295156 (0x9245328 0x0 0x0 0x0)
    0x5516bfc8 : 0x2a148d (0x9245324 0x7fff 0x10 0x9245324)
    Kernel Extensions in backtrace (with dependencies):
    com.apple.GeForce(6.2.4)@0xd04000->0xdb9fff
    dependency: com.apple.NVDAResman(6.2.4)@0xa16000
    dependency: com.apple.iokit.IONDRVSupport(2.2)@0xa09000
    dependency: com.apple.iokit.IOPCIFamily(2.6)@0x908000
    dependency: com.apple.iokit.IOGraphicsFamily(2.2)@0x9e7000
    com.apple.nvidia.nv50hal(6.2.4)@0x15d7000->0x19ebfff
    dependency: com.apple.NVDAResman(6.2.4)@0xa16000
    com.apple.NVDAResman(6.2.4)@0xa16000->0xd03fff
    dependency: com.apple.iokit.IOPCIFamily(2.6)@0x908000
    dependency: com.apple.iokit.IONDRVSupport(2.2)@0xa09000
    dependency: com.apple.iokit.IOGraphicsFamily(2.2)@0x9e7000
    BSD process name corresponding to current thread: WindowServer
    Mac OS version:
    10H574
    Kernel version:
    Darwin Kernel Version 10.5.0: Fri Nov 5 23:20:39 PDT 2010; root:xnu-1504.9.17~1/RELEASE_I386
    System model name: MacBookPro6,2 (Mac-F22586C8)
    System uptime in nanoseconds: 254626597586
    unloaded kexts:
    com.apple.driver.AppleUSBUHCI 4.1.5 (addr 0x1454000, size 0x65536) - last unloaded 196223967832
    loaded kexts:
    com.cisco.nke.ipsec 2.0.1 - last loaded 42574053426
    com.parallels.kext.prl_vnic 5.0 9370.589435
    com.parallels.kext.prl_netbridge 5.0 9370.589435
    com.parallels.kext.prlusbconnect 5.0 9370.589435
    com.parallels.kext.prlhidhook 5.0 9370.589435
    com.jft.driver.PdaNetDrv 1.0.64
    com.parallels.kext.prl_hypervisor 5.0 9370.589435
    com.Logitech.Unifying.HID Driver 1.1.0
    com.Logitech.Control Center.HID Driver 3.2.0
    com.apple.driver.AppleHWSensor 1.9.3d0
    com.apple.driver.IOBluetoothSCOAudioDriver 2.3.8f7
    com.apple.driver.IOBluetoothBNEPDriver 2.3.8f7
    com.apple.driver.AGPM 100.12.19
    com.apple.driver.AppleHDA 1.9.9f12
    com.apple.driver.AppleMikeyHIDDriver 1.2.0
    com.apple.driver.AudioAUUC 1.13
    com.apple.driver.AppleUpstreamUserClient 3.4.5
    com.apple.driver.AppleMCCSControl 1.0.17
    com.apple.driver.AppleMikeyDriver 1.9.9f12
    com.apple.DontSteal_Mac_OSX 7.0.0
    com.apple.iokit.CHUDUtils 364
    com.apple.iokit.CHUDProf 364
    com.apple.driver.AudioIPCDriver 1.1.6
    com.apple.driver.AppleIntelHDGraphics 6.2.4
    com.apple.driver.AppleIntelHDGraphicsFB 6.2.4
    com.apple.kext.AppleSMCLMU 1.5.0d3
    com.apple.driver.AppleGraphicsControl 2.8.68
    com.apple.GeForce 6.2.4
    com.apple.driver.SMCMotionSensor 3.0.0d4
    com.apple.driver.ACPISMCPlatformPlugin 4.5.0d5
    com.apple.driver.AppleLPC 1.4.12
    com.apple.filesystems.autofs 2.1.0
    com.apple.driver.AppleUSBTCButtons 200.3.2
    com.apple.driver.AppleUSBCardReader 2.5.8
    com.apple.driver.AppleUSBTCKeyboard 200.3.2
    com.apple.driver.AppleIRController 303.8
    com.apple.iokit.SCSITaskUserClient 2.6.5
    com.apple.BootCache 31
    com.apple.AppleFSCompression.AppleFSCompressionTypeZlib 1.0.0d1
    com.apple.iokit.IOAHCIBlockStorage 1.6.3
    com.apple.driver.AppleUSBHub 4.1.7
    com.apple.driver.AppleFWOHCI 4.7.1
    com.apple.driver.AirPortBrcm43224 426.36.1
    com.apple.iokit.AppleBCM5701Ethernet 2.3.9b6
    com.apple.driver.AppleEFINVRAM 1.4.0
    com.apple.driver.AppleSmartBatteryManager 160.0.0
    com.apple.driver.AppleUSBEHCI 4.1.7
    com.apple.driver.AppleAHCIPort 2.1.5
    com.apple.driver.AppleACPIButtons 1.3.5
    com.apple.driver.AppleRTC 1.3.1
    com.apple.driver.AppleHPET 1.5
    com.apple.driver.AppleSMBIOS 1.6
    com.apple.driver.AppleACPIEC 1.3.5
    com.apple.driver.AppleAPIC 1.4
    com.apple.driver.AppleIntelCPUPowerManagementClient 105.13.0
    com.apple.security.sandbox 1
    com.apple.security.quarantine 0
    com.apple.nke.applicationfirewall 2.1.11
    com.apple.driver.AppleIntelCPUPowerManagement 105.13.0
    com.apple.driver.DspFuncLib 1.9.9f12
    com.apple.driver.AppleProfileReadCounterAction 17
    com.apple.driver.AppleProfileTimestampAction 10
    com.apple.driver.AppleProfileThreadInfoAction 14
    com.apple.driver.AppleProfileRegisterStateAction 10
    com.apple.driver.AppleProfileKEventAction 10
    com.apple.driver.AppleProfileCallstackAction 20
    com.apple.iokit.IOSurface 74.2
    com.apple.iokit.IOBluetoothSerialManager 2.3.8f7
    com.apple.iokit.IOSerialFamily 10.0.3
    com.apple.iokit.CHUDKernLib 365
    com.apple.iokit.IOAudioFamily 1.7.9fc4
    com.apple.kext.OSvKernDSPLib 1.3
    com.apple.driver.AppleHDAController 1.9.9f12
    com.apple.iokit.IOHDAFamily 1.9.9f12
    com.apple.driver.AppleSMBusController 1.0.8d0
    com.apple.iokit.IOFireWireIP 2.0.3
    com.apple.iokit.AppleProfileFamily 41.4
    com.apple.driver.AppleSMC 3.1.0d3
    com.apple.driver.IOPlatformPluginFamily 4.5.0d5
    com.apple.driver.AppleSMBusPCI 1.0.8d0
    com.apple.nvidia.nv50hal 6.2.4
    com.apple.NVDAResman 6.2.4
    com.apple.iokit.IONDRVSupport 2.2
    com.apple.iokit.IOGraphicsFamily 2.2
    com.apple.driver.BroadcomUSBBluetoothHCIController 2.3.8f7
    com.apple.driver.AppleUSBBluetoothHCIController 2.3.8f7
    com.apple.iokit.IOBluetoothFamily 2.3.8f7
    com.apple.iokit.IOSCSIBlockCommandsDevice 2.6.5
    com.apple.iokit.IOUSBMassStorageClass 2.6.5
    com.apple.driver.AppleUSBMultitouch 206.6
    com.apple.iokit.IOUSBHIDDriver 4.1.5
    com.apple.driver.AppleUSBMergeNub 4.1.5
    com.apple.driver.AppleUSBComposite 3.9.0
    com.apple.iokit.IOSCSIMultimediaCommandsDevice 2.6.5
    com.apple.iokit.IOBDStorageFamily 1.6
    com.apple.iokit.IODVDStorageFamily 1.6
    com.apple.iokit.IOCDStorageFamily 1.6
    com.apple.driver.XsanFilter 402.1
    com.apple.iokit.IOAHCISerialATAPI 1.2.5
    com.apple.iokit.IOSCSIArchitectureModelFamily 2.6.5
    com.apple.iokit.IOUSBUserClient 4.1.5
    com.apple.iokit.IOFireWireFamily 4.2.6
    com.apple.iokit.IO80211Family 312
    com.apple.iokit.IONetworkingFamily 1.9
    com.apple.iokit.IOUSBFamily 4.1.7
    com.apple.iokit.IOAHCIFamily 2.0.4
    com.apple.driver.AppleEFIRuntime 1.4.0
    com.apple.iokit.IOHIDFamily 1.6.5
    com.apple.iokit.IOSMBusFamily 1.1
    com.apple.kext.AppleMatch 1.0.0d1
    com.apple.security.TMSafetyNet 6
    com.apple.driver.DiskImages 289
    com.apple.iokit.IOStorageFamily 1.6.2
    com.apple.driver.AppleACPIPlatform 1.3.5
    com.apple.iokit.IOPCIFamily 2.6
    com.apple.iokit.IOACPIFamily 1.3.0

    Though it doesn't look like one of them is clearly responsible, it may be due to the presence of one or more of these kernel extensions:
    com.cisco.nke.ipsec 2.0.1
    com.parallels.kext.prl_vnic 5.0
    com.parallels.kext.prl_netbridge 5.0
    com.parallels.kext.prlusbconnect 5.0
    com.parallels.kext.prlhidhook 5.0
    com.jft.driver.PdaNetDrv 1.0.64
    com.parallels.kext.prl_hypervisor 5.0
    com.Logitech.Unifying.HID Driver 1.1.0
    com.Logitech.Control Center.HID Driver 3.2.0
    As a first debugging step, try rebooting in safe mode:
    http://support.apple.com/kb/ht1455
    and see if the panics occur then, though quite frankly it appears it may be an issue with your video card and/or drivers.

  • Won't start with thunderbolt display attached

    Almost new 3.5 Ghz Intel Core i7 iMac 2014 SSD only, 32GB disk running 10.9.4.  Absolutely will not start up from shutdown state with an additional 27" Thunderbolt display attached.  Unplug the display, boots fine.  Then plug in the display, all works peachy.  Sleep is also broken and hangs on restart, except if you only sleep the displays, not the CPU then it always wakes up fine.  This is pathetic, very Windows-like. 
    Suggestions?

    10.9.3 and 10.9.4 have known issues with displays attached via Thunderbolt (for example see here Second display problem with 10.9.4 and 10.9.4 - Thunderbolt display for 6630M (Mini mid-2011) still broken ).
    You can try filing a bug with Apple at https://bugreport.apple.com/

  • How to attach documents to service order item

    Hello all,
    can anybody of you tell me how I can configure my system in such a way that I can attach a document in transaction IW32/IW31 to an operation of the order?
    Currently I can attach a document to the service order sm01 with
    System>Services for object>Create Attachement.
    But then the document is not related to any operation of the order.
    Thanks in advance for your help and regards,
    Rolf

    >
    Rolf Kasel wrote:
    > Hello Meylene,
    >
    > thanks for your hint. I think this is a good Idea. But if I have a ressource - where can I assign it to my operation?
    > And can I add the ressource in a maintenance plan also to the planned operations?
    >
    > Thanks in advance,
    > Rolf
    assigning it is easy -once you went through the setup process- there's a little icon in your service order (tabstrip 'operations') with a hammer and another tool in it - bottom right corner.
    i'm sorry i know next to nothing about maintenance plans but are they not created using general task lists?. then we would be back to my suggestion from earlier to attach them there. but i'm pretty sure you will find all the documentation on help.sap.com. it'll be worth your time, just you try it.
    i forgot a little piece of information in my last post: GOS is a tool that connects your backend (R/3 or whatever) to your frontend in some ways ... that's why you don't get it on item-level. if you are using production ressources it's a 'backend-only' feature. you see, you can use GOS to display the IDOC that created your service order but since an IDOC creates the complete order ... you have another viewpoint of hierachy with GOS ... and while we're at it: GOS is not available for users of type 'service'. check in SU01 for that setting. browse the SDN security forum - we discussed GOS more often lately.

  • Want to Send smartform as pdf attachment with a Email to some mail id

    Hi ,
    I want to send a smartform as a PDF attachment with a mail to a mail id. And I can send a mail with the PDF attachment.
    But I am not able to open the PDF. It is throwing some error (Adobe reader could not open u2018fileu2019 because it is either not a supported file type or because the file has been damaged (for example , it was sent as an email attachment and was not correctly decoded)).
    By debugging I come to know that the file which is generating is in some encoding format.
    Please help me regard this. This is very urgent.
    here is the code,
    Main Program :
    REPORT Ztest_report.
    *--Top Include for Global Data Declarations.
    INCLUDE ztest_report_top.
    *--Form Include for Form Routines.
    INCLUDE ztest_report_form.
    START-OF-SELECTION.
    START-OF-SELECTION.
    *--Display data
      Perform display_data.
    END-OF-SELECTION.
    Top declaration :
    Internal table
    DATA :  i_otfdata TYPE tsfotf,          " Smart Forms: Table OTF
            i_tline TYPE TABLE OF tline WITH HEADER LINE,
            i_receivers TYPE TABLE OF somlreci1 WITH HEADER LINE,
            i_record LIKE solisti1 OCCURS 0 WITH HEADER LINE,
    Objects to send mail.
            i_objpack LIKE sopcklsti1 OCCURS 0 WITH HEADER LINE,
            i_objtxt LIKE solisti1 OCCURS 0 WITH HEADER LINE,
            i_objbin LIKE solisti1 OCCURS 0 WITH HEADER LINE,
            i_reclist LIKE somlreci1 OCCURS 0 WITH HEADER LINE,
    Work Area declarations
            w_mailaddr TYPE ppfdmailad,
            w_mailtype TYPE so_escape,
            w_mailrecipient TYPE swotobjid,
            w_control TYPE ssfctrlop,
            w_compop TYPE ssfcompop,
            w_return TYPE ssfcrescl,
            wa_doc_chng TYPE sodocchgi1,
            w_data TYPE sodocchgi1,
            wa_buffer TYPE string, "To convert from 132 to 255
            wa_objhead TYPE soli_tab,
    Variables declarations
            v_form_name TYPE rs38l_fnam,
            v_len_in LIKE sood-objlen,
            v_len_out LIKE sood-objlen,
            v_len_outn TYPE i,
            v_lines_txt TYPE i,
            v_lines_bin TYPE i.
    Selection Screen
    SELECTION-SCREEN BEGIN OF BLOCK blk1 WITH FRAME TITLE text-009.
    PARAMETER:      p_bukrs TYPE bukrs OBLIGATORY,            "Company Code
                    p_belnr TYPE belnr_d OBLIGATORY,          "Document No
                    p_gjahr TYPE gjahr OBLIGATORY,            "document type
                    p_mailid(50) TYPE c OBLIGATORY.
    "Mail Id
    SELECTION-SCREEN END OF BLOCK blk1.
    Form Logic :
    FORM display_data.
    *Local Variable declaration
      DATA: lc_fm TYPE rs38l_fnam,       "local variable to store the
            l_i_document_output_info TYPE ssfcrespd,
            l_i_struc_job_output_info TYPE ssfcrescl,
            l_i_struc_job_output_options TYPE ssfcrescl,
            i_lines TYPE TABLE OF tline WITH HEADER LINE,
            lv_job_output_info      TYPE ssfcrescl,
            lv_document_output_info TYPE ssfcrespd,
            lv_job_output_options   TYPE ssfcresop,
            lv_bin_filesize         LIKE sood-objlen.
    Determine the smartform name
      CALL FUNCTION 'SSF_FUNCTION_MODULE_NAME'
           EXPORTING
                formname           = 'ZTEST_SMARTFORM'
           IMPORTING
                fm_name            = lc_fm
           EXCEPTIONS
                no_form            = 1
                no_function_module = 2
                OTHERS             = 3.
      IF sy-subrc <> 0.
        MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno
                WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
      ENDIF.
      w_control-getotf = 'X'.
      w_control-no_dialog = 'X'.
      w_control-preview = space.
    w_control-device = 'MAIL'.
    Call the smartform and pass the selection screen parameter
      CALL FUNCTION lc_fm
           EXPORTING
                control_parameters = w_control
                output_options     = w_compop
                user_settings      = 'X'
                t_bukrs            = p_bukrs
                t_belnr            = p_belnr
                t_gjahr            = p_gjahr
           IMPORTING
                job_output_info    = l_i_struc_job_output_info
           EXCEPTIONS
                formatting_error   = 1
                internal_error     = 2
                send_error         = 3
                user_canceled      = 4
                OTHERS             = 5.
      IF sy-subrc <> 0.
        MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno
        WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
      ENDIF.
    Moving the Smart Forms: Table OTF into an internal table
      i_otfdata[] = l_i_struc_job_output_info-otfdata[].
    CONVERT TO OTF TO PDF.
      CALL FUNCTION 'CONVERT_OTF'
           EXPORTING
                format                = 'PDF'
                max_linewidth         = 132
           IMPORTING
                bin_filesize          = lv_bin_filesize
           TABLES
                otf                   = i_otfdata
                lines                 = i_lines
           EXCEPTIONS
                err_max_linewidth     = 1
                err_format            = 2
                err_conv_not_possible = 3
                err_bad_otf           = 4
                OTHERS                = 5.
    IF sy-batch EQ l_c_no.
    To directly view the print-preview in PDF format
      CALL FUNCTION 'SSFCOMP_PDF_PREVIEW'
           EXPORTING
                i_otf                    = i_otfdata
           EXCEPTIONS
                convert_otf_to_pdf_error = 1
                cntl_error               = 2
                OTHERS                   = 3.
    For Sending the PDF file to a Mail ID.
    LOOP AT i_lines.
       TRANSLATE i_lines USING '~'.
       CONCATENATE wa_buffer i_lines INTO wa_buffer.
    ENDLOOP.
    TRANSLATE wa_buffer USING '~'.
    DO.
       i_record = wa_buffer.
       APPEND i_record.
       SHIFT wa_buffer LEFT BY 255 PLACES.
       IF wa_buffer IS INITIAL.
         EXIT.
       ENDIF.
    ENDDO.
      DATA: BEGIN OF zlines OCCURS 0,
      tline TYPE char255,
      END OF zlines.
    *Change the PDF format from 132 to 255.
      CALL FUNCTION 'SX_TABLE_LINE_WIDTH_CHANGE'
           EXPORTING
                transfer_bin                = 'X'
           TABLES
                content_in                  = i_lines
                content_out                 = zlines
           EXCEPTIONS
                err_line_width_src_too_long = 1
                err_line_width_dst_too_long = 2
                err_conv_failed             = 3
                OTHERS                      = 4.
      IF sy-subrc <> 0.
        MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno
        WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
      ENDIF.
    Attachment
      REFRESH: i_reclist,
      i_objtxt,
      i_objbin,
      i_objpack.
      CLEAR wa_objhead.
      i_objbin[] = zlines[].
    Create Message Body Title and Description
      i_objtxt = 'test with pdf-Attachment!'.
      APPEND i_objtxt.
      DESCRIBE TABLE i_objtxt LINES v_lines_txt.
      READ TABLE i_objtxt INDEX v_lines_txt.
      wa_doc_chng-obj_name = 'smartform'.
      wa_doc_chng-expiry_dat = sy-datum + 10.
      wa_doc_chng-obj_descr = 'smartform'.
      wa_doc_chng-sensitivty = 'F'.
      wa_doc_chng-doc_size = v_lines_txt * 255.
    Main Text
      CLEAR i_objpack-transf_bin.
      i_objpack-head_start = 1.
      i_objpack-head_num = 1.
      i_objpack-body_start = 2.
      i_objpack-body_num = v_lines_txt.
      i_objpack-doc_type = 'RAW'.
      APPEND i_objpack.
    Attachment (pdf-Attachment)
      i_objpack-transf_bin = 'X'.
      i_objpack-head_start = 1.
      i_objpack-head_num = 1.
      i_objpack-body_start = 2.
    I_OBJPACK-DOC_TYPE = 'RAW'.
      DESCRIBE TABLE i_objbin LINES v_lines_bin.
      READ TABLE i_objbin INDEX v_lines_bin.
      i_objpack-doc_size = v_lines_bin * 255 .
      i_objpack-body_num = v_lines_bin.
      i_objpack-doc_type = 'PDF'.
      i_objpack-obj_name = 'smart'.
      i_objpack-obj_descr = 'test'.
      APPEND i_objpack.
      CLEAR i_reclist.
      i_reclist-receiver = p_mailid.
      i_reclist-rec_type = 'U'.
      APPEND i_reclist.
    Send new document with attachments via RFC
      CALL FUNCTION 'SO_NEW_DOCUMENT_ATT_SEND_API1'
           EXPORTING
                document_data              = wa_doc_chng
                put_in_outbox              = 'X'
                commit_work                = 'X'
           TABLES
                packing_list               = i_objpack
                object_header              = wa_objhead
                contents_bin               = i_objbin
                contents_txt               = i_objtxt
                receivers                  = i_reclist
           EXCEPTIONS
                too_many_receivers         = 1
                document_not_sent          = 2
                document_type_not_exist    = 3
                operation_no_authorization = 4
                parameter_error            = 5
                x_error                    = 6
                enqueue_error              = 7
                OTHERS                     = 8.
      IF sy-subrc <> 0.
        WRITE:/ 'Error When Sending the File', sy-subrc.
      ELSE.
        WRITE:/ 'Mail sent'.
      ENDIF.
    ENDFORM.                    " display_data

    hi,
    i wrote a programm.for me it is working.i think it will help for u.
    DATA: t_otfdata TYPE ssfcrescl,
          t_lines LIKE tline OCCURS 0 WITH HEADER LINE,
          t_otf TYPE itcoo OCCURS 0 WITH HEADER LINE,
          t_RECORD LIKE SOLISTI1 OCCURS 0 WITH HEADER LINE.
    Objects to send mail.
    DATA:T_OBJPACK LIKE SOPCKLSTI1 OCCURS 0 WITH HEADER LINE,
         T_OBJTXT LIKE SOLISTI1 OCCURS 0 WITH HEADER LINE,
         T_OBJBIN LIKE SOLISTI1 OCCURS 0 WITH HEADER LINE,
         T_RECLIST LIKE SOMLRECI1 OCCURS 0 WITH HEADER LINE.
    DATA: w_filesize TYPE i,
          w_bin_filesize TYPE i,
          wa_ctrlop TYPE ssfctrlop,
          wa_outopt TYPE ssfcompop,
          WA_BUFFER TYPE STRING,          "To convert from 132 to 255
          WA_OBJHEAD TYPE SOLI_TAB,
          WA_DOC_CHNG TYPE SODOCCHGI1,
          W_DATA TYPE SODOCCHGI1.
    DATA: form_name TYPE rs38l_fnam,
          V_LINES_TXT TYPE I,
          V_LINES_BIN TYPE I,
          nast-spras type sy-langu value 'DE'.
    CALL FUNCTION 'SSF_FUNCTION_MODULE_NAME'
      EXPORTING
        FORMNAME                 = 'ZSR_DEMO1'
      VARIANT                  = ' '
      DIRECT_CALL              = ' '
    IMPORTING
       FM_NAME                  = form_name
    EXCEPTIONS
       NO_FORM                  = 1
       NO_FUNCTION_MODULE       = 2
       OTHERS                   = 3
    IF SY-SUBRC <> 0.
    MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
            WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
    ENDIF.
    wa_ctrlop-LANGU = nast-spras.
    wa_ctrlop-getotf = 'X'.
    wa_ctrlop-no_dialog = 'X'.
    wa_outopt-tdnoprev = 'X'.
    CALL FUNCTION form_name
      EXPORTING
      ARCHIVE_INDEX              =
      ARCHIVE_INDEX_TAB          =
      ARCHIVE_PARAMETERS         =
       CONTROL_PARAMETERS         = wa_ctrlop
      MAIL_APPL_OBJ              =
      MAIL_RECIPIENT             =
      MAIL_SENDER                =
       OUTPUT_OPTIONS             = wa_outopt
       USER_SETTINGS              = 'X'
    IMPORTING
      DOCUMENT_OUTPUT_INFO       =
       JOB_OUTPUT_INFO            = t_otfdata
      JOB_OUTPUT_OPTIONS         =
    EXCEPTIONS
       FORMATTING_ERROR           = 1
       INTERNAL_ERROR             = 2
       SEND_ERROR                 = 3
       USER_CANCELED              = 4
       OTHERS                     = 5
    IF SY-SUBRC <> 0.
    MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
            WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
    ENDIF.
    t_otf[] = t_otfdata-otfdata[].
    CALL FUNCTION 'CONVERT_OTF'
    EXPORTING
       FORMAT                      = 'PDF'
       MAX_LINEWIDTH               = 132
      ARCHIVE_INDEX               = ' '
      COPYNUMBER                  = 0
      ASCII_BIDI_VIS2LOG          = ' '
      PDF_DELETE_OTFTAB           = ' '
    IMPORTING
       BIN_FILESIZE                = w_bin_filesize
      BIN_FILE                    =
      TABLES
        OTF                         = t_otf
        LINES                       = t_lines
    EXCEPTIONS
       ERR_MAX_LINEWIDTH           = 1
       ERR_FORMAT                  = 2
       ERR_CONV_NOT_POSSIBLE       = 3
       ERR_BAD_OTF                 = 4
       OTHERS                      = 5
    IF SY-SUBRC <> 0.
    MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
            WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
    ENDIF.
    loop at t_lines.
    TRANSLATE t_lines USING '~'.
      CONCATENATE WA_BUFFER T_LINES INTO WA_BUFFER.
    ENDLOOP.
    TRANSLATE WA_BUFFER USING '~'.
    DO.
      t_RECORD = WA_BUFFER.
      APPEND t_RECORD.
      SHIFT WA_BUFFER LEFT BY 255 PLACES.
      IF WA_BUFFER IS INITIAL.
        EXIT.
      ENDIF.
    ENDDO.
    Attachment
    REFRESH: T_RECLIST,
    T_OBJTXT,
    T_OBJBIN,
    T_OBJPACK.
    CLEAR WA_OBJHEAD.
    T_OBJBIN[] = T_RECORD[].
    Create Message Body Title and Description
    T_OBJTXT = 'test with pdf-Attachment!'.
    APPEND T_OBJTXT.
    DESCRIBE TABLE T_OBJTXT LINES V_LINES_TXT.
    READ TABLE T_OBJTXT INDEX V_LINES_TXT.
    WA_DOC_CHNG-OBJ_NAME = 'smartform'.
    WA_DOC_CHNG-EXPIRY_DAT = SY-DATUM + 10.
    WA_DOC_CHNG-OBJ_DESCR = 'smartform'.
    WA_DOC_CHNG-SENSITIVTY = 'F'.
    WA_DOC_CHNG-DOC_SIZE = V_LINES_TXT * 255.
    Main Text
    CLEAR T_OBJPACK-TRANSF_BIN.
    T_OBJPACK-HEAD_START = 1.
    T_OBJPACK-HEAD_NUM = 0.
    T_OBJPACK-BODY_START = 1.
    T_OBJPACK-BODY_NUM = V_LINES_TXT.
    T_OBJPACK-DOC_TYPE = 'RAW'.
    APPEND T_OBJPACK.
    Attachment (pdf-Attachment)
    T_OBJPACK-TRANSF_BIN = 'X'.
    T_OBJPACK-HEAD_START = 1.
    T_OBJPACK-HEAD_NUM = 0.
    T_OBJPACK-BODY_START = 1.
    DESCRIBE TABLE T_OBJBIN LINES V_LINES_BIN.
    READ TABLE T_OBJBIN INDEX V_LINES_BIN.
    T_OBJPACK-DOC_SIZE = V_LINES_BIN * 255 .
    T_OBJPACK-BODY_NUM = V_LINES_BIN.
    T_OBJPACK-DOC_TYPE = 'PDF'.
    T_OBJPACK-OBJ_NAME = 'smart'.
    T_OBJPACK-OBJ_DESCR = 'test'.
    APPEND T_OBJPACK.
    CLEAR T_RECLIST.
    T_RECLIST-RECEIVER = 'mail id'.
    T_RECLIST-REC_TYPE = 'U'.
    APPEND T_RECLIST.
    CALL FUNCTION 'SO_NEW_DOCUMENT_ATT_SEND_API1'
      EXPORTING
        DOCUMENT_DATA              = WA_DOC_CHNG
        PUT_IN_OUTBOX              = 'X'
        COMMIT_WORK                = 'X'
      TABLES
        PACKING_LIST               = T_OBJPACK
        OBJECT_HEADER              = WA_OBJHEAD
        CONTENTS_BIN               = T_OBJBIN
        CONTENTS_TXT               = T_OBJTXT
        RECEIVERS                  = T_RECLIST
      EXCEPTIONS
        TOO_MANY_RECEIVERS         = 1
        DOCUMENT_NOT_SENT          = 2
        DOCUMENT_TYPE_NOT_EXIST    = 3
        OPERATION_NO_AUTHORIZATION = 4
        PARAMETER_ERROR            = 5
        X_ERROR                    = 6
        ENQUEUE_ERROR              = 7
        OTHERS                     = 8.
    IF SY-SUBRC <> 0.
      WRITE:/ 'Error When Sending the File', SY-SUBRC.
    ELSE.
      WRITE:/ 'Mail sent'.
    ENDIF.
    please reward me if helpful.

  • External Display Problem with x301

    Hi everybody,
    I have a external display Problem with my x301.
    Ether direct attachment or via Lenovo USB Display Port  Device, the external monitor (22" Benq LCD) starts to flickr after a couple of minutes and the external display shuts off.
    Any ideas on this?
    Thanks a lot
    Chris 

    i have the same problem with X200 and the X200 ultrabay Docking station.
    No idea yet ...

  • Display attachment without showing pop-up List (CL_GOS_ATTACHMENTLIST)

    G'day!
    I try to display an attachment to a FI-document but without go via Attachment List.
    That is I don't want the attachment list to pop-up.
    Via my coding below I do get hold of the information I want from the attachment list...
    but THEN I want to KILL the object Attachment List so that the pop-up never shows.
    Any Ideas??
    (DATA: lo_list TYPE REF TO CL_GOS_ATTACHMENT_LIST.)
    *Get all attachment för object
    create object lo_list exporting is_object = ls_object .
    (DATA: lt_output TYPE TRL_BRLNK.)
    *Get the content of the attachmentlist...
    lt_output = lo_list->GO_LIST_VIEWER->gt_output.
    *Display all attachments.
    LOOP AT lt_output INTO ls_output.
      lo_bor_browser = ls_output-objref.
      create object go_display                            "(type ref to CL_SREL_LIST_BROWSER)
        exporting io_extension = lo_bor_browser
        exceptions others = 1.
      CALL METHOD go_display->DIRECT_DISPLAY_OBJECT "own method...only change of  SAP standard DIRECT_DISPLAY
        EXPORTING io_object = lo_bor_browser.
    ENDLOOP.
    I do find the attachment I want to display - But HOW do I avoid to show pop-up Attachment List.
    Best regards
    Henrik
    I guess my problem lies in CL_GOS_ATTACHMENT_LIST method CONSTRUCTOR
    METHOD CONSTRUCTOR .
      gs_object = is_object.
      gp_bds = ip_check_bds.
      gp_arlnk = ip_check_archive.
      gp_relation = ip_relation.
      IF go_list_viewer IS INITIAL.
    * create browser
        CREATE OBJECT go_list_viewer  !!!!!!!!!!!!!!!!!!! Anyone know how to avoid the pop-up Attachment list??
          EXPORTING
            io_extension            = me
            ip_service              = 'VIEW_ATTA'
          EXCEPTIONS
            others                  = 3
        go_list_viewer->gs_variant-report = sy-repid.
        go_list_viewer->gs_variant-handle = 'GOSA'.
        go_list_viewer->gp_no_dblclick    = ip_no_dblclick.
        IF sy-subrc <> 0.
          MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno
                     WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4
          RAISING execution_failed.
        ENDIF.
      ENDIF.
    *  IF gp_bds = 'X' OR gp_arlnk = 'X'.
    *    gt_supertypes = it_supertypes.
    *    CALL METHOD check_supertypes
    *      EXPORTING ip_objtype = is_object-objtype.
    *  ENDIF.
      call method check_more_objects.
    * set the title of the browser
      CALL METHOD go_list_viewer->set_title
        EXPORTING ip_title = ip_title.
    * display attachment list                                           !!!!!!!!!!!!!!!!!!! Anyone know how to avoid the pop-up Attachment list??
      CALL METHOD go_list_viewer->new_display
        EXPORTING is_object    = is_object
                  ip_role      = 'APPLOBJ'
                  ip_relation  = ip_relation
                  ip_no_browse = 'X'
                  io_container = io_container.
    ENDMETHOD.
    Edited by: Henrik Andersson on Aug 20, 2009 10:46 AM

    ( I RECONSTRUCT THE MESSAGE)
    G'day!
    I try to display an attachment to a FI-document but without go via Attachment List.
    That is I don't want the attachment list to pop-up.
    Any Ideas??
    (DATA: lo_list TYPE REF TO CL_GOS_ATTACHMENT_LIST.)
    *Get all attachment för object
    create object lo_list exporting is_object = ls_object .
    (DATA: lt_output TYPE TRL_BRLNK.)
    *Get the content of the attachmentlist...
    lt_output = lo_list->GO_LIST_VIEWER->gt_output.
    *Display all attachments.
    LOOP AT lt_output INTO ls_output.
      lo_bor_browser = ls_output-objref.
      create object go_display                            "(type ref to CL_SREL_LIST_BROWSER)
        exporting io_extension = lo_bor_browser
        exceptions others = 1.
      CALL METHOD go_display->DIRECT_DISPLAY_OBJECT "own method...only change of  SAP standard DIRECT_DISPLAY
        EXPORTING io_object = lo_bor_browser.
    ENDLOOP.
    I do find the attachment I want to display - But HOW do I avoid to show pop-up Attachment List.
    I guess my problem lies in CL_GOS_ATTACHMENT_LIST method CONSTRUCTOR
    METHOD CONSTRUCTOR .
    But HOW do I avoid the POP-UP to be visible for customer.....
    I already have displayed the attachment....so the pop-up is not necessary. Less things for user to think about the better it is..
    There SAP use:
    CREATE OBJECT go_list_viewer 
          EXPORTING
            io_extension            = me
            ip_service              = 'VIEW_ATTA'
          EXCEPTIONS
            others                  = 3
    and
    * display attachment list         
      CALL METHOD go_list_viewer->new_display
        EXPORTING is_object    = is_object
                  ip_role      = 'APPLOBJ'
                  ip_relation  = ip_relation
                  ip_no_browse = 'X'
                  io_container = io_container.
    Best regards
    Henrik

Maybe you are looking for