Read Attachment List from Contract

Hi Friends
My requirement is  to read the Tile of the attachment list (In Document Services Toolbar from selected Contracts (VA42) and develop a report. I tried . FM 'SO_ATTACHMENT_LIST_READ'  but dont  know what value I have to pass to (OBJTP,OBJYR,OBJNO). Please help is there any way I can read the tilte description of the document attached to the contract.
Thanks in Advance
Senthil

senthil,
There are couple of wiki posts to connect NAST to SOST/SOOD tables (one for PO and other generic) ... Both are based on the assumption that either the truncated or full document number is stored in SOOD-OBJDES field.
http://wiki.sdn.sap.com/wiki/display/Snippets/DisplayingoldOutputusingNASTandSOST
http://wiki.sdn.sap.com/wiki/display/Snippets/ConnectNASTtoSOSTfor+purchaseorders
You should be able to get the OBJTP, OBJYR and OBJNO from either of these two methods...

Similar Messages

  • Extract Attachment list from FDO3

    Hi Experts
    How can I extract the attachment list from FD03 and based on the attachment list where can I get the data of change note pad , I have a requirement to extract the change note for the customer by created on as a parameter ie when I highlight the attachment and click the pencil icon it is displaying the note I need that information?
    can anyone tell me which table or function module it is present ?
    urgent issue
    regards
    Piroz

    Hi Guys
    Problem solved, Thread is closed
    Regards
    Moderator message : It is not mandatory to put comments while closing old threads (unless it add some value). This brings old questions to the top of current list.
    Edited by: Vinod Kumar on Oct 17, 2011 9:49 AM

  • Reading parameters lists from a text file

    Hi All,
    Using CR XI R2 with VB6  and external .rpt files - - - - -
    In a VB6 app I use VB to loop through my tables to create dynamic parameter lists (CR XI is limited to the number of parameters it can create from the table). This works well but each time the user refreshes the report the same code is run to re-create the parameter list which is redundant and slows down the report(s).
    Is it possible to manually create a series of text files - say each morning - and then read the parameter lists from the text file(s) at runtime instead of doing it on the fly each time?
    Thanks in advance!
    Peter Tyler
    Geneva - Switzerland

    I find this sentence confusing:
    Is it possible to manually create a series of text files - say each morning - and then read the parameter lists from the text file(s) at runtime instead of doing it on the fly each time?
    Typically, runtime means on the fly - I think...
    So, I'm not sure if you are trying to read a saved data report and filter that saved data so that you do not have to hit the database(?).
    Creating a text file is beyond the support of this forum, though that should be a trivial exercise. Reading a text file and passing the results to a parameter is the same thing you are doing already, so I'm not sure where the hang up would be here(?)
    Or - rather than creating a text file, why not create a temp table and query it as you do when you loop through the tables to create dynamic parameter lists(?).
    I'm pretty lost here...
    Ludek
    Follow us on Twitter http://twitter.com/SAPCRNetSup
    Got Enhancement ideas? Try the [SAP Idea Place|https://ideas.sap.com/community/products_and_solutions/crystalreports]

  • Attachment list in Contract - required in Report

    Hi All,
    I want to create a report on contracts and it should display the documents in the attached in the contract (ME31K) when it is clicked. when I see in the ME33K i find that SAP is doing the same (below the command box and above the application toolbar there is a button- tool box).  This is triggered by the the EVENT and it shows all the attachment on a pop up window. The documents are stored link TOA02 and SRGBTBREL table.
    Please let me know is there any FM or Class or logic to do the same in my program.
    Regards,
    Prabhu

    hello Prabhu ......
    u can make use of class :  cl_gos_manager
    here the same code to all that GOS button on ur  screen/report......
    create object lo_callback.
      if manager is initial.
        create object manager
          exporting
            is_object        = obj  ---> your  object key like companycode document no year.....
            ip_no_instance   = space  "Publish
            ip_no_commit     = commit "No Commit Work
          exceptions
            object_invalid   = 1
            callback_invalid = 2
            others           = 3.
        if sy-subrc <> 0.
          message id 'YFIMC01' type sy-msgty number sy-msgno
                     with sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
        endif.
    *--- Publish GOS
        call method manager->set_id_of_published_object
          exporting
            is_object = obj.
        if sy-subrc <> 0.
        endif.
    regards
    Prabhu
      endif.

  • Read object list from a transport datafile

    Hallo,
    does anyone know a way to read the object list from a transport datafile.
    The problem is, that the rewuest is not added to the STMS an so the files are not known by the STMS. But data and cofile is stored in the corresponding folders of the transport management system.
    Thanks
    Arnfried

    Hello,
    Have you tried to add the request to the import queue?
    While displaying the import  queue  Extras->Other Requests->Add
    Regards
    Greg Kern

  • Itunes can't read apps list from iphone so wouldn't sync

    When I try and sync my iPhone 3G running 4.2.1, via iTunes 10.5.1,  I get this message:
    "iTunes cannot sync apps to the iPhone “XXX’s iPhone” because the apps installed on the iPhone could not be determined."
    Every other sync in history has been uneventful. I tried powering off the iPhone and back on again.
    I don't really have to restore my iPhone do I?
    Any help is appreciated.

    I didn't understand what you mean. Most of the songs itunes flags are songs I have had on my list for a long time. I did notice something else. After it sends me the message and stops syncing. I press the apply button and it seams to save the song. Then I have to start resyncing and I noticed it syncs the song that it just previously couldn't read. The problem is I have to do this 50 times to get through a sync. Also, Itunes never stops on the same songs that it did the prior sync.

  • User unable to read attachment​s from digitally signed emails

    I have an Army user with a Blackberry 8830 World Edition, paired with a Bluetooth Smart Card reader.  Whenever he tries to open up digitally signed emails, it always requires him to use his CAC card to decrypt the message, whereas with other users, they don't require the same.
    As well, when the user has digitally signed emails with attachments, the attachments show up as a garbled mess.  He las the latest Bluetooth Smart Card reader drivers, as well as the SMIME package, installed on his Blackberry.  Does anybody know of any ideas we could try?

    Good evening....
    I am not sure if you have received any more information on the issue.  I just came across the same issue.  I am not completely familiar with this setup but I am going to look into the different settings on the BB device for SMIME and see if I can fix it.
    I would be grateful if you have gotten a fix for this and could provide some guidance.  I will post resolution if found.
    Good luck.

  • Creating smartform from attachment list of service object

    Hi,
       How can i create a smartform containing attachment list from generic object services(active workflow Box) in tcode VA02, Also let me know in which table this attachment lists are stored.
    Thanks,
       JP

    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.

  • Disable pushbuttons from Attachment list for Service Object

    Hi,
    I want to disable push buttons for delete and edit from the toolbar of Attachment list from service objects.
    how can this be achieved ?
    thanks in advance.
    Best Regards,
    Vinayaka

    Hi Sandeep,
    I am not totallt getting your point but can suggest following points:
    1. Check whether these object are displaying in DIR's as object links.
    2. If it is there then it shoud be displayed in document data of those objects.
    3. Check that documents are properly checked-in.
    Hope this may help.
    Regards,
    Ravindra

  • 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

  • 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

  • Enable 'Attachment List' in IW21/22/23 - Notification

    Hi All,
    I am trying to enable the link 'Attachment List' from 'Services for Object' in transaction codes: IW21/IW22/IW23. After clicking on this link, i need to display all the email attachment available to the particular notification in the popup which will appear on the screen. I want to enable below marked link.
    Can anyone suggest how to achieve this..
    Thanks,
    Ketan

    Hi Ketan,
    It looks to me an issue with missing authorization.
    Refer SAP note below for required objects to have them enabled
    491271 - Authorizations for generic object services
    Hope this helps.
    Regards,
    Deepak Kori

  • Unable to open large PDF file from the Attachment list.

    Hi Gurus,
    Users had attached 10 PDF file in the work order attachment list and his supervisor is trying to open the PDF file from the work order attachment list and he is able to open 9 PDF files without any issue, but 1 PDF file is giving the error message as "Database error for <GET DATA FROM KPRO>" and then select ok, we are getting the below message.
    Window cannot find u201CC/Documents and Settings/b2m/SaoworkDir/5015851 Vendor data sheets B&P 2010 SDown XXX .PDFu2019. Make sure you typed the name correctly, and then try again. To search for a file, click the start button, and then click serch.
    Looks like this particular file is not transferring to the SAP work directory.
    Could you please check and suggest us as to how to fix it.
    Thanks & Regards,
    Srivas

    Hi,
    Thanks for your reply.
    We verified  your OSS notes it's not relevant to us Because our issue is while opening the PDF aatchement it is not transferring to my SAP Work Directory because of that reason we are getting the KPRO error. When I'm opening the other PDF files it's transferring to my SAP Work Directory and it's automatically open without any issue.
    Please check and suggest.
    Thanks,
    Srivas

  • How can we use C# to read dynamic parameter's value list from .rpt?

    I'm using Cystal Report 2008. We know starting from CR XI we can create dynamic parameters, the list of items of this kind of parameter are fetching from database. So in general the SQLs to get the list of values for dynamic parameters are stored in the .rpt.
    In Crystal Report Designer, if I preview a report with dynamic parameters, it will first query the database and then show the input dialog with list of values from database for user to choose. My question is can we implement the same thing by our C# code? I'm planning to use C# code to read this dynamic parameter's value list from .rpt and render them on the web page. Then pass back the user selected values to the .rpt to run the report after user make the choice. I didn't find any APIs can do this. Is it possible?
    Thanks in advance!!

    Hi,
    Can you explain a bit in detail, I have similar scenario. I am using the following code but not getting the Column name for dynamic parameter list.
    foreach (ParameterFieldDefinition prm
                              in reportDocument.DataDefinition.ParameterFields)
                    try
                        string vParameterFieldName;                   
                        *vParameterFieldName = prm.ParameterFieldName.ToString();*
    Shakeel

  • Change a drop down list from read only/invisable on a radiobutton value

    Hi All i am new to all this and need a few pointers?
    I have a form which was made using Livecycle Designer 8.
    On this form are a set of radio buttons (yes/no/NA).
    Is there a way to change the state of a drop down list from read only or invisible and display a message after 'no' has been selected on a set of radio buttons?
    Thanks in advance.

    No being in a table shoudl not affect it.....but you will more than likely have to include the path to the object. Without seeing your form it is impossible to tell you what it should be. You can place your cursor in the script editor where you want the reference to the DDList. Then hold down the Ctrl key and move your mouse to point to the field you want to reference. When the cursor hits the canvas it will change to a V. When you get to the field you want click the mouse button and the expression that you need will be placed in the script editor. This is path relative to where the context in which the script will be run. Now you can simply add the "." and whatever method/property that you want to reference.
    Hope that helps
    Paul

Maybe you are looking for