Attachment list in FB03 using methods/FM's..

hi,
I have a requirement to replicate the derivation of the 'Attachment List' for an accounting document in transaction FB03.
Is there any standard FM available for the same???
The approach that i have tried out is, i debugged the standard SAP code for the transaction. I noticed some methods being used. now here too there is a problem, the method "GET_NEIGHBOURS" of class "CL_SREL_LIST_BROWSER" which is being used in the SAP code is a protected method. is there any way i can access the method "GET_NEIGHBOURS" in my program????
Pls help me out.
Cheers,
Raghav.
I need to access the method 'GET_NEIGHBOURS'

no replies!!!

Similar Messages

  • Attachment List in FB03 in 4.6

    Hi.
    I need the attachment list of Document in the transaction FB03.
    I don't have a version 6.4, then the FM GOS_ATTACHMENT_LIST_POPUP not exist in the system.
    How can I get the attachment list? With example please! Thanks.
    Regards.

    no replies!!!

  • The attachment can not find using method CL_CRM_DOCUMENTS~GET_INFO

    Hi Dear Experts,
    I'm new guy in CRM, I used to develop in ECC. Here I encount an issue. We have attachment in the order. On web UI we can see the attachment is attached on the order. But when I use method CL_CRM_DOCUMENTS~GET_INFO to get the information of the attachment, I get nothing.
    I get GUID via table CRMD_ORDERADM_H with OBJECT_ID = order ID, get GUID and OBJECT TYPE, past it into method GET_INFO's interface BUSINESS_OBJECT, But I can not get anything.  I go to SU53, there are no authorization meesage about this method. Actually it informs me that I lost authorization object S_TABU_NAM, but it is related with SE16. So I don't think this cause the failure of get_info.
    Can anyone kindly give me any hints? Thank you so much.
    Regards
    Jay

    Hi Experts,
    I find that these attachments are Archived. So I think I can't get their information. So the next step is how to get the link information. Thanks.
    Regards
    Jay

  • Attachment list in ME23N using SAP Archive link not working

    Hello Everyone,
    We are using Documentum as our document management system and have linked it to SAP through Archive link to link scanned Invoices against purchase orders.
    After we run a query to link a PDF document to a purchase order in Documentum and then Login to ECC and tcode "ME23" and display the purchase order->Environment->Display Originals the document attached to the purchase order is getting displayed in Document viewer. But we want to display the document in "ME23N" and also against the Invoice document in "MIR4".
    Can anyone please help me in finding a way to display the document in ME23N. I would greatly appreciate your help.
    Regards,
    Gopal.

    Do a search. There are plenty of posts which cover the configuration of DMS and ArchiveLink as separate issues. Its not something you could add as a single post, its an entire module in itself.
    On the issue of versioning, some products do support versioning with ArchiveLink but TRIM is not one of them. To get versioning on TRIM, you would need to use SAP DMS using TRIM as a repository. Open Text supports ArchiveLink with versioning with a product called Extended ECM which is designed to give similar functionality to SAP DMS but driven from the Open Text product as opposed to the SAP DMS. I.e. you create documents and publish them to SAP rather than creating them in SAP and storing them in the 3rd party content server.
    Edited by: Athol Hill on Oct 6, 2010 9:45 AM

  • FB03 Attachment List

    Dear ABAP gurus :
       In transaction FB03, when users display the attachment list, I got a requirement to add some checks when they select a document and press 'VIEW' button.
      I have debugged FB03 transaction triying to find the program/methos/class which is called when selecting 'VIEW' in attachment list, but didn't work.
    Also, I have read some documentation about object services and SDN posts about disabling buttons in the attachment list toolbar, but this is not excactly what I need.
      Does anybody know wheter is a BADI, method or similar to do the above?.
       I'm using SAP 6.20 Version.
    Thanks in advance for your help.
    Regards,
    Carlos.

    And these are the Badi.
    Badi Name            Description
    AC_QUANTITY_GET      Change Quantities on Transfer from SD to Accounting
    ADJUST_NET_DAYS      Net due days adjustment in FI document
    BADI_ENJ_ALT_ADR     Branch to FI-CA Account Balance and so on.
    BADI_F040_SCREEN_600 Example for Screen Enhancement in F040 Screen 600
    BADI_F040_SCREEN_600 Test Badi F040 Screen 600
    BADI_FDCB_SUBBAS01   Example for Screen Enhancement 1 on FDCB Basic Data Screen
    BADI_FDCB_SUBBAS01   FM Implementation for BADI_FDCB_SUBBAS01
    BADI_FDCB_SUBBAS02   Example for Screen Enhancement 2 on FDCB Basic Data Screen
    BADI_FDCB_SUBBAS02   Improper Invoice Screen for  Prompt Payment Act
    BADI_FDCB_SUBBAS03   WRF Prepayment Implementation for BADI_FDCB_SUBBAS03
    BADI_MIRO_SPLT_ADD   Transfer Partner Bank Type to FI in Chain Liability process
    BADI_PRKNG_NO_UPDATE Parked Invoices should not update Accounting receivers
    FBAS_CIN_LTAX1F02    CIN implementation for LTAX1
    FBAS_CIN_MF05AFA0    Invoice - Downpayment clear - Tax transfer
    FI_AUTHORITY_ITEM    Authorization Check FM Account Assignments
    FI_DOC_DISP_LI       Document Line Item Display Inventory Accounting
    FI_FB08_SUBST_BUDAT  Fin. services posting date for FI Doc reversal . with FB08
    FI_HEADER_SUB_1300   Finanzdienstl. - Buchungsdat. für FI-Belegkopf berichtigen
    FI_HEADER_SUB_1300   Example for Screen Enhancement in SAPMF05A Screen 1300
    FI_RES_ITEM_CURRENCY Implement Document of Residual Item with Invoice Currency
    FVFZ                 FI Interface for Loans
    RFESR000_BADI_001    Import ISR Post Payments
    thanks,
    Padma

  • Error while attaching the document using Method add_attachment

    Hello Friends,
    We are getting an error while using the BCS Class Method for attaching the documents to the mail.
    We are using method:  add_attachment()
    For this I am passing the parameters:
    attachment_type: PDF
    attachment_subject: XXXXXXX
    att_content_hex: content_hex[]  "Internal table
    The system is throwing error message X_ERROR.
    Friends please help me in how to rectify the error message.
    Thanks and Regards
    Pradeep Goli

    Hi,
    Please code as below.
    data: binary_content type solix_tab.
    CALL METHOD Document->add_attachment EXPORTING i_attachment_type = u2018PDFu2019
    i_attachment_subject = u2018My attachmentu2019 i_att_content_hex =
    binary_content.
    Regards
    chitra

  • Calling :  FB03 - Customer Line Item - Attachment List Pop UP

    I want to call the attachment pop-up in my Z Report interactive report .
    I am showing document numbers in alv output list.
    now upon clicking the document i want to show directly the pop-up of 'attachment list' window .... how to do this...
    Normally we can see the same like this :
    1.  Run FBL5N
    2.  select one document number ( double click )
    3.  "Click Services for object " -> Attachment List
    Regards,
    Ramesh

    Hi,
    You can have an interactive report, to goto the document directly when you are clicking on the document number. However if you automatically want to go to the Services for the object, I have no idea. I dont even think it is possible. However if you can discuss with a BASIS guy, he may be able to help you on this.
    I checked this. The services are enabled only when you get into the transaction code for any SD object say order or delivery. Until then, the services for object is not even seen. So I think there is a relationship between services and the transaction code.

  • Disabling 'Change' and 'Delete' button in Attachment List in ME52N

    Hi Friends,
    The reuqirement is this:
    A user attaches doucments  ( using the Generic Object Services to attach document ) while creating/changing Purchase Requisition (ME51N / ME52N).
    Now when any user goes to see the docuemnts attached to the PR, he selects the 'Attachement List' from the context menu, he should only be able to read it and should not be allowed to change or delete the document. For this we need to disable the 'change' and 'delete' buttons from the toolbar.
    Awaiting your response.......
    Regards,
    Fawaz

    Hi,
    Probably you have uncommented the call to super class when you reimplement the method on child class (z class)
    I just implement the same thing now and it worked for me. Take a look:
    1 - Modify the SGOSATTR table by SM30, just write a Z class (in my case CL_GOS_SRV_ATTACHMENT_CREATE) .
    2 - Create/inheridt a subclass (not a copy) in SE24 of the standard class.
    3 - Implement the method CHECK_STATUS in the z class. Note that the call to method on super class came commented. You only uncomment if you want to also execute a standard code in the super class.
    Here is my code:
    method CHECK_STATUS.
    NOTE - In my real implementation I have uncommented the code below because I want do standard code be executed before my own check.
    *CALL METHOD SUPER->CHECK_STATUS
    EXPORTING
       IS_LPORB  = IS_LPORB
       IS_OBJECT = IS_OBJECT
    IMPORTING
       EP_STATUS = EP_STATUS
       EP_ICON   = EP_ICON
      Check for BUS2012 = Bussinnes Object for Purchase Order
      IF IS_LPORB.TYPEID = BUS2012
      Check authorization and disable create attachment item if the user does not have authority...
    IF IS_LPORB-TYPEID = 'BUS2012'.
    AUTHORITY-CHECK OBJECT 'Z_MM001' ID 'ACTVT' FIELD '01'.
      IF sy-subrc <> 0.
        ep_status = mp_status_inactive.
      ENDIF.
    ENDIF.
    endmethod.
    Regards,
    Alexandre

  • Changing the Attachment List of Generic Object Services (GOS)

    Dear Experts,
    i want to add columns to the attachment list of GOS depending of the given objecttype. The data to be displayed is from a customer-append of different TOAXY-tables. I want to use the functionality of the standard attachmentlist, but the type of the displayed table is defined as SGOS_ATTA and cant be reached directly because of the data-encapsulation.
    Is there anybody with experience in changing the attachment list in the above mentioned way?
    Do i have to modify all the used classes of the attachmentlist, or are there any customer-exits/badis that can help me to reach my goal?
    Or should I implement my own service from the scratch?
    I hope you can help me, i searched the web for about 3 days now...

    I found following Solution:
    I copied the following classes and changed them in some way to fit my requirements:
    1.CL_GOS_ATTACHMENTS
    2.CL_GOS_SRV_ATTACHMENT_LIST
    3.CL_LIST_BROWSER
    Changes to the Classes:
    1.Type of the attribute GO_INSTANCE changed to ZCL_GOS_ATTACHMENTS.
       Changed method INIT_BROWSER:
    go_browser ?=
        zcl_list_browser=>zcreate_browser( cl_browser=>gc_list_browser ).
    2.Type of the attribute GO_ATTACHMENT_LIST changed to ZCL_GOS_ATTACHMENTS
    3. Copied Method CREATE_BROWSER of Class CL_BROWSER to ZCREATE_BROWSER:
    method zcreate_browser.
      case ip_btype.
        when gc_list_browser.
          *create object ro_browser type zcl_list_browser.*
        when gc_tree_browser.
          create object ro_browser type cl_tree_column_browser.
        when others.
          raise exception type cx_sobl_browser
            exporting
              gp_error = cx_sobl_browser=>gc_wrong_type
          exit.
      endcase.
    endmethod.
    Modified the code of method ___DISPLAY to my needs.

  • How to edit the text in the attachment list in MM02 through Program

    Hi,
            I want to update the attachment list for the material.
    i.e, MM02 - > Services for object - > attachment list - > "I have 2 items".
    For the the first item, there will be some text is availble. Now my requirement is to update the text.
    For your reference,
    While creating material, the GOS is used to create the items in the attachment list, the code is
      *swc_create_object lv_message 'MESSAGE' lwa_message_key.*
    *** define container to pass the parameter values to the method call**
    *** in next step.**
                    *swc_container lt_message_container.*
    *** Populate container with parameters for method**
                    *swc_set_element lt_message_container 'DOCUMENTTITLE' 'Certification file path'.*
                    *swc_set_element lt_message_container 'DOCUMENTLANGU' 'E'.*
                    *swc_set_element lt_message_container 'NO_DIALOG'     'X'.*
                    *swc_set_element lt_message_container 'DOCUMENTNAME'  'MESSAGE'.*
                    *swc_set_element lt_message_container 'DOCUMENTTYPE'   'URL'.*
                    *CLEAR lv_url.*
                    *REFRESH lt_doc_content.*
                    *lv_url = lwa_data1-url.*
                    *CONCATENATE '&KEY&' lv_url INTO lv_url.*
    **---appneding URL contents to the table*
                    *lt_doc_content = lv_url.*
                    *APPEND lt_doc_content.*
                    *swc_set_element lt_message_container 'DocumentContent' lt_doc_content.*
                    *swc_call_method lv_message 'CREATE' lt_message_container.*
    **** Refresh to get the reference of create 'MESSAGE' object for attachment**
                    *swc_refresh_object lv_message.*
    **** Get Key of new object**
                    *swc_get_object_key lv_message lwa_message_key.*
    *** Now we have attachment as a business object instance. We can now**
    *** attach it to our main business object instance.**
                    *CLEAR: lv_is_object_a,*
                           *lv_is_object_b.*
                    *lv_is_object_a-instid = lwa_hdr_data-material.*
                    *lv_is_object_a-typeid = 'BUS1001006'.*
                    *lv_is_object_a-catid  = 'BO'.*
                    *lv_is_object_b-instid = lwa_message_key.*
                    *lv_is_object_b-typeid = 'MESSAGE'.*
                    *lv_is_object_b-catid  = 'BO'.*
                    *CLEAR lv_reltype.*
    ***      IF lwa_data-url IS NOT INITIAL.**
                    *lv_reltype = 'URL'.*
    **---creating URL for the Material.*
                    *TRY.*
                        *CALL METHOD cl_binary_relation=>create_link*
                          *EXPORTING*
                            *is_object_a            = lv_is_object_a*
    ***    IP_LOGSYS_A            =**
                            *is_object_b            = lv_is_object_b*
    ***    IP_LOGSYS_B            =**
                            *ip_reltype             = lv_reltype.*
                      *CATCH cx_obl_parameter_error .*
                      +**CATCH cx_obl_model_e

    Please close this thread.Open new thread in forum [SAP Community Network Forums » ABAP Development » ABAP, General |;

  • Disabling 'Change' and 'Delete' buttons in Attachment List in ME52N

    Hi Friends,
    The reuqirement is this:
    A user attaches doucments ( using the Generic Object Services to attach document ) while creating/changing Purchase Requisition (ME51N / ME52N).
    Now when any user goes to see the docuemnts attached to the PR, he selects the 'Attachement List' from the context menu, he should only be able to read it and should not be allowed to change or delete the document. For this we need to disable the 'change' and 'delete' buttons from the toolbar.
    Awaiting your response.......
    Regards,
    Fawaz

    Hi,
    I have solved the issue Alhamdulillah by the foll. method:
    1. Copied CL_GOS_SRV_ATTACHMENT_LIST to ZCL_GOS_SRV_ATTACHMENT_LIST
    2. In ZCL_GOS_SRV_ATTACHMENT_LIST there is a method called: CHECK_STATUS. I overwrote with my check;
    on_mode_changed( 'D' ). --- For display
    on_mode_changed( 'E' ). --- For edit mode.
    3. In SGOS tcode, added VIEW_ATTA to point to ZCL_GOS_SRV_ATTACHMENT_LIST
    Regards,
    Fawaz

  • How to view the content of Documents attached in Transaction FB03.

    Hi Gurus,
    I want to view / download the content of an attachment, attached in transaction FB03.
    I am not able to view them directly due to some application error.
    I need to check whether a document which is in the attachment list is having any data or not.
    If there is any FM to do this, please let me know.
    Regards,
    Amit.

    I do not know the answer to that. But you can use ssltap (More info in [http://www.mozilla.org/projects/security/pki/nss/tools/ssltap.html|http://www.mozilla.org/projects/security/pki/nss/tools/ssltap.html]) to see the exact request and response being sent to and from the server.

  • Services for Object (GOS) Attachement List not showing after attachment

    Hi All,
    I have created a new entry for the Generic Object Service List and this links to a copy of the CL_GOS_SRV_ATTACHMENT_CREATE class (Create attachment) with some additional logic. However, after attaching a file, the "Attachment List" does not become available until after I re-enter the transaction. The attachment list is showing the correct attachments.
    After some (understatement...) investigation, I found that even if I try and link the new service to a unchanged copy of the CL_GOS_SRV_ATTACHMENT_CREATE service in SGOSATTR, it is not working. It is attaching fine, but the "Attachment List" entry in the Services for Object Menu is still greyed out. If I attach the original class CL_GOS_SRV_ATTACHMENT_CREATE to the newly created entry it works fine. e.g. straight after I attach a file to the transaction, the menu entry becomes available.
    I can't find where the re-draw of the GOS menu happens and hence can not determine what is going wrong. Does anybody know if this is part of the Kernel or is this actually done in ABAP ?
    Am I missing something ? Debugging including system debugging for two days now and can't find it... very frustrating.
    Any help would be appreciated.
    Thanks,
    Wouter.

    Hi Wouter,
    I had originally posted to ask if you had resolved this since I was facing the same issue, but then deleted my post when I was able to get it working. Sorry, I didn't mean to initiate a flurry of activity in such an old thread.
    My scenario is I created a new GOS service entry in table SGOSATTR using transaction SGOSM. My new service uploads attachments to an external document management system via a call to a RESTful web service. The class I use in the SGOSM entry is a custom subclass of CL_GOS_SRV_URL_CREATE.
    I resolved this issue by taking a look at what CL_GOS_SRV_URL_CREATE does in its EXECUTE method. The key bits to refresh the GOS Attachment List with the new attachment are...
    raise event commit_required. " if SGOSM has the commit flag checked
    raise event service_succeeded
           exporting eo_service = me.
    These events tell any subscribers to go do their thing-- which in this case includes a refresh of the GOS Attachment List. So in the EXECUTE method of my custom subclass, after I call function BINARY_RELATION_CREATE, I raise these events...
    CALL FUNCTION 'BINARY_RELATION_CREATE'
       EXPORTING
           obj_rolea     = gs_object
           obj_roleb    = rel_doc
           relationtype = 'URL'
       EXCEPTIONS
           OTHERS       = 1.
    CASE sy-subrc.
       WHEN 0.
           MESSAGE s043(sgos_msg). " The attachment was successfully created
           RAISE EVENT commit_required.
           RAISE EVENT service_succeeded
                 EXPORTING eo_service = me.
       WHEN OTHERS.
           MESSAGE s042(sgos_msg). " The attachment has not been created
    ENDCASE.
    I hope this is helpful to you even though your initial implementation was a while back. Thanks for replying to my question though!!
    Cheers,
    Amy

  • Attachment list - Unable to open document

    Hi all,
    I archive TIF image of Account Payable documents via the BAPI Archiv_Create_Synchron_Meta which create attachments to the SAP documents.
    When I go to the transaction code FB03, I open one of my documents and, in "Attachment list", I find my archive in the attachments.
    But, when I double-click on it, an error message appears and says: "UNABLE TO OPEN DOCUMENT".
    BUT I have also tried to attach DOC, XLS, PDF and I CAN open it easily!
    I have one entry for each doc type in transaction OAC0.
    What's the matter ?
    Thanks for your help.
    Yohan

    In firefox go to Tools>Options>Applications. Find Portable document format (PDF), click the drop-down next to it and choose "Use Adobe Reader.

  • Object Services  attachement list

    From FB03, I am able to view archived images from Environment==>additional assignments==>object links==>attachment list.
    However, when I am using the Object Services==>attachment list the images does not display. Any ideas why?
    I have the following authorization objects.
    C_DRAD_OBJ activity 03, document type *, Linked SAP Object *, Status *.
    S_WFAR_OBJ activity (01,02,03), Document type *, Object Type *.
    Any ideas why from one path it works but not the other?
    Thanks,
    Christina

    Hi, Christina
    plz go through this
    Graphical Display
    You can display existing assignments of material or infrastructure objects graphically on the relevant tab pages by choosing the Graphical Displaypushbutton.
    Functions from the SAP Graphics component are used for the graphical display. For more information, see SAP Library under SAP NetWeaver Library ® SAP NetWeaver by Key Capability ® Application Platform by Key Capability ® ABAP Technology ® UI Technology ® Frontend Services ® SAP Graphics
    1.      You are on the initial screen of the document display function (transaction FAIR03). Enter your selection criteria.
    If you do not make any entries here, all documents are selected.
      2.      Choosing ‘excute’ with quick info text Execute takes you to a list of the accounting documents. You can analyze the results in various ways.
    •       Document Line Items displays the line items for the selected document in the lower screen area.
    You can select multiple documents.
    •       Source Document takes you to the source document (such as the invoice). From there you can navigate to the follow-on documents.
    •        Accounting Document displays the underlying accounting document.
    •         To close the lower screen area, choose  with quick info Close List.
    Note: you have to check wether you have defined 'valution area' and tick indicator 'additional object type'
    rgds
    Ben

Maybe you are looking for