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

Similar Messages

  • Display event without showing the date in calendar?

    I'm not exactly a "power user", so the answer to this may be obvious... but it drives me crazy that when I enter a new event in iCal, it displays on the calendar with the date and time, then the name of the event. Sometimes if I don't have the calendar window maximized, I can't even see the name of the event.
    I don't understand why if an event is in the calendar box for, say, February 5th, it would display the event as "Tuesday, February 5th, 2:45pm, Event Name". Obviously, if it's in the box for that date, I don't need the date spelled out for me! "Event Name, 2:45pm" would be so much better.
    But I can't find any Preference that allows me to specify how an event is displayed on the calendar... if anyone knows how to do this, it would greatly improve my experience of iCal...
    TIA!

    now that is a puzzler, as I have never seen that behavior?!
    does this happen in any of the views, as in day/week?
    does this happen in any calendar you have created? can you create a new test calendar and see if you still get the date in a new event? finally can you log in as another user, create a test user if need be, and then launch ical, create a new event, and see if you get the same issue then.
    I would suggest you delete the com.apple.ical.plsit file located in homefolder/library/preferences, and see if that helps any.
    let me know

  • Why are animation presets not showing in pop-up list for fractal noise?

    In a standard install of AE CS4, the animation presets pop-up list showed a bunch of presets for fractal noise (see attached image).
    In a standard install of AE CS5.5, the animation presets pop-up list showed a bunch of presets for fractal noise (see attached image).
    In a standard install of AE CS6 (on the Mac), the pop-up list is empty. (Yes, I enabled the "Show presets"), despite the fact that, eg, "Curtain.ffx" is in the equivalent Presets>Backgrounds folder.
    Is there another switch to turn on? I'm using Mac OSX 10.7.5.

    In a standard install of AE CS4, the animation presets pop-up list showed a bunch of presets for fractal noise (see attached image).
    In a standard install of AE CS5.5, the animation presets pop-up list showed a bunch of presets for fractal noise (see attached image).
    In a standard install of AE CS6 (on the Mac), the pop-up list is empty. (Yes, I enabled the "Show presets"), despite the fact that, eg, "Curtain.ffx" is in the equivalent Presets>Backgrounds folder.
    Is there another switch to turn on? I'm using Mac OSX 10.7.5.

  • Pop Up List - Display Only

    I have a text field that the user can enter a specialty which will then populate a shuttle item with all specialties that start with the specialty entered. The user community wants to be able to see a list of specialties. So I created a pop up list for specialties, that will open a separate window with the list of specialties. I don't want the user to select from the list. Can the popup list be changed to display only ? If so, how can I implement it. Should be able to do it with a style. I am a newbie to CSS and javascript, so can someone help me out.
    Thanks,
    Robert

    Jari,
    I tried that but the popup list is still "enabled". When the list is dispalyed, the user thinks he can click on the value because it appears "hyperlinked". Can the values be set to "display:only" with enable turned off?
    Login credentials:
    Workspace: RGWORK
    Application: Mini Profile - 37838
    User: Tester
    Password: test123
    Follow the following steps:
    1. Click on Search Firms button on initial screen
    2. Click on Architectural/Engineering under Search
    3. Click on the poplist next to Show List
    4. You can click on any value on the poplist
    Robert

  • Is it Possible to display the output of the ALV list as POP-UP

    Hi Experts,
                     Is it Possible to display the output of the ALV list as POP-UP, if yes then provide some ideas on it.
    thanking in advance,
    Samad.

    Hi samad, it is possible to display alv list as pop-up by using the FM " REUSE_ALV_POPUP_TO_SELECT"
    try this sample code
    CALL FUNCTION 'REUSE_ALV_POPUP_TO_SELECT'
          EXPORTING
       I_TITLE                       =  P1_TITLE
           I_SELECTION                   = 'X'
           I_ZEBRA                       = 'X'
      I_CHECKBOX_FIELDNAME          =
      I_LINEMARK_FIELDNAME          =
      I_SCROLL_TO_SEL_LINE          = 'X'
            I_TABNAME                     = 'T_VBAP'
           I_STRUCTURE_NAME              =  'T_VBAP'
           IT_FIELDCAT                   =  T_FCAT2
           I_CALLBACK_PROGRAM            = 'ZTEST_ALV_POPUP'
       IMPORTING
           ES_SELFIELD                   = I_SELFIELD
           E_EXIT                        = W_EXIT
          TABLES
            T_OUTTAB                      = T_VBAP.
    i think it will solve your problem
    Regards,
    Vijay

  • Display Display value in Red Color in Pop Up List of value Item

    Dear All,
    i have created an Pop up List of Value item.I need to display Display value in Red Color in Pop Up List of value Item.
    What should i pass in HTML Form Element Attributes .I have try using
    style="font-color:red";That code.
    How can i display Display Value in Red Color.
    Thanks

    Is this what you are looking for?
    http://apex.oracle.com/pls/apex/f?p=42778:12
    If so..
    * Go to Shared Components -> Templates -> Select Type as "Popup List of Values"
    * Edit Popup LOV template
    * See the class name being used for div under Result Set section. In My case, its t1PopupBody
    * Under Page Attributes -> Page HTML Head section append following CSS
    <style>.t1PopupBody a{color:red;}</style>* Apply Changes
    If its not working, then inspect the pop-up lov with firebug and update CSS definition accordingly.
    Regards,
    Hari

  • How display attachment links in a list view in SharePoint 2013?

    Hi all,
    I'm looking for a way to display attachment links in a list in SharePoint 2013. There are few resources online to achieve this in SP2010 and SP07. Your help is much appreciated.
    Thank you.

    Hi Ram Sampath:
    You can use Event Receiver and create another list(ListA) to record your attachment link.
    Maybe your process is:
    Users add list items and attachments
    List event will be fired
    Use Event Receiver to get attachment url and then Write into ListA
    You also can refer to the following web site:
    https://social.technet.microsoft.com/Forums/sharepoint/en-US/b693eb84-b846-4f0f-93c1-276cf931c746/how-to-get-attachment-in-itemadded-event-receiver
    http://stackoverflow.com/questions/19077770/how-to-retrieve-list-item-attachments-with-sharepoint-2013-event-receiver-in-cor

  • PowerMacG4 won't start without old Cinema Display attached

    PowerMacG4 867dp (Mirror Door)
    NVidia GeForce4mx w/ADC+DVI
    20" Cinema Display w/ power switch, on ADC port
    Acer 23" G23HL, on DVI port
        I replaced my failing ADC with a new display (with much-appreciated help from this board!) Works fine as dominant display (currently not mirrored) but I need Cinema Display attached and powered up to run system. The Power Switch on tower lights, but won't shut down system, or start it without ADC attached. (It won't control system at all, only Power Switch on ADC works) Nothing in Preferences seems to apply. Should I just duct-tape new Display over old ADC and move on???       THANKS!

    Thanks for your response BD Aqua. I don't have those diagnostics and frankly still wouldn't have a clue if I did. I was hoping I had overlooked some simple Preferance-type step in the change-over, but beyond maybe changing the old battery next, I'll just put one screen in front of the other- fortunately I've got room.  Thanks again for your reply!

  • How can I add an attachment to an email without showing it in the body of the email?

    How can I add an attachment to an email without showing it in the body of the email?

    1. You must open attachment first
    2. Tap the square with arrow on top right and select mail
    3. Compose your email

  • Display the current item in the list without advancing the iteration using

    This is my directions.
    Display the current item in the list without advancing the iteration using only iterator methods.
    I can't seem to figure this one out when the only methods available are hasNext();, next();, hasPrevious();, previous();, add();, remove();. and set();, and nextIndex();. Can someone please give me advice on this one?
    Thanks a bunch!!!!

    After thinking briefly about an ugly megillah that would detect whether or not you've ever called Iterator.next(), which is what is required for a bulletproof solution, I've decided after looking at the documenation that in fact the problem is not valid.
    It's as simple as this: the Javadoc says 'a ListIterator has no current element'.
    Tell your professor.

  • Transparent pop up list not showing?

    Transparent pop up list not showing ?

    This is sporadically occurring issue hence I cannot pin point one single reason. Since sometimes you are able to logon and some time not certainly it could not be a Role authorization issue.
    Just check if your business role is properly configured. Thats all i can say.
    Regards
    Kavindra

  • Store value in data model without showing it in table

    Hi,
    How can I store something in my table model without showing it in my table? I have an arraylist which contains a list of my own data objects. I have my own table model like
    public class MyTableModel extends AbstractTableModel {
                  public Object getValueAt(int row, int col) {
                   TableDataObject tdo  = (TableDataObject) data.get(row);
                   switch(col) {
                        case 0:
                             return tdo.getFoo();
                                     default:
                                             break;
    }my "hidden" value is stored in the data list...but I have to get the hidden value from my table model, not from my arraylist.

    Nothing to it, but to do it:
    import java.awt.*;
    import javax.swing.*;
    import javax.swing.table.*;
    public class ColumnModelExample {
        public static void main(String[] args) {
            Object[] columnNames = {"hidden", "column 1", "column 2"};
            Object[][] rowData = {
                {"hidden 0","row 0, col 1","row 0, col 2"},
                {"hidden 1","row 1, col 1","row 1, col 2"},
            TableModel model = new DefaultTableModel(rowData, columnNames);
            JTable table = new JTable(model);
            TableColumnModel columnModel = table.getColumnModel();
            columnModel.removeColumn(columnModel.getColumn(0));
            JFrame f = new JFrame("ColumnModelExample");
            f.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
            f.getContentPane().add(new JScrollPane(table));
            f.pack();
            f.setLocationRelativeTo(null);
            f.setVisible(true);
    }One typical use of this is for displaying the records of a database table, where you don't want to
    show the user a sequence column which would only confuse the user...

  • Displaying messages without h:message or h:messages tag

    How can you display messages without h:message or h:messages tag. Is it possible to disply messages in another component. I have only a small piece of page reserved for displaying errors and it would be nice to show these errors in component with scrollbar.
    Regards, Simy

    Well you can access messages produced using
    getMessages() method of faces context. Store these messages in some attribute of backing bean and attach this attribute to some component in your jsf page.
    You can use the following conditions to determine the presence of any messages using:
    rendered="#{! empty facesContext.maximumSeverity}"

  • Display construction type on the structure list within the work order

    I have a work order written against an equipment which has a construction type assigned to it.  When using the structure list from the components tab of the work order, the construction type does not display under the equipment in the list.  If I run the same structure list from transaction IH03, the construction type does display under the equipment.  How can I add the construction type to display on the structure list within the work order?  We are on release 4.7
    Thanks,
    Terry Gaskin

    Thanks PeteA, we know we can do that, but we are looking to get it consistent with IH03, where the construction type shows without being added to the BOM.  The construction type is listed immediately below the equipment in IH03.
    Thanks

  • Mail attached jpg show embedded instead of just attachment

    How can I email a jpeg attachment without it showing up as an embedded picture. I just want to send the attachment so that others (PC) can save.

    Use the "attach" button to add the picture, then right-click or control-click the picture, and choose "View as icon".
    If you want to be extra-sure, go to the "Format" menu and choose "Make Plain Text" (if your only option is "Make Rich Text" then you're already sending a plain text message). But you lose text formatting too if you do this.
    But keep in mind that mostly changes your view of the email message. What other people see when they get their message depends on what software they are using to read their email. Some software just displays image attachments, no matter what you do when attaching them.
    Also, they can always download the images, even if they are displayed as embedded. Again, it doesn't matter much what you do, it's more an issue of  what software the other person is using to read their messages.

Maybe you are looking for

  • Share iCloud calendar with Google Calendar

    Ok, so I'v moved all my contacts, email and calendars to iCloud and everything is wonderfull. I share a few calendars with my girlfriend and she is sharing her study calendar with me. We have a shared calendar set up, where we enter when our son is i

  • Gridpanel layout

    hello, is there a way to programmatically add elements to a gridpanel? I need to build a table with thumbnails in a grid and I don't know how to create it thanks

  • Faint Dial-up sound coming from internal speakers

    What would cause the faint dial-up sound from the internal speakers when playing a game in XP?

  • Disable document overwrite

    Hello, when we edit a document using the web interface we have two possibilities for check-in: Overwrite and Create New version. Is it possible to disable the Overwrite option and if yes how, so that the users cannot overwrite the original document?

  • Can't sell on ebay

    My mac mini as it is configured won't let me sell on ebay. When I click the sell button the page does not respond. it does not work in Camino either. Any idea as to what might cause this? Permissions and disk are verified as normal. mac mini G4   Mac