Reading Attachments from T-code VF03

Hi folks,
I have a requirement to download all the attachments from T-code VF03 into my 'Z' program, I searched SDN a lot and I came to know that FM 'SO_OBJECT_READ'  can be of some help. However, I could not understand how exactly I need to pass the parameters to it. Can I get some help how to use the FM 'SO_OBJECT_READ'  or if there is any other way to download the attachments from VF03 into custom program?
Regards,
Rishi

Hello Rishi,
You can try something like this -
***    get the selected invoice
    read table t_final into w_final index e_row_id-index.
    clear pdf.
**    get the documents attached
    select    instid_b  from srgbtbrel into  table t_obj_key where  instid_a = w_final-vbeln
                          and typeid_a = 'VBRK' and
                           catid_a = 'BO'
                          and reltype = 'ATTA'.
    loop at t_obj_key into w_obj_key.
      wa_folder_id =  w_obj_key(17).
      wa_object_id = w_obj_key+17(18).
      clear wa_sood2.
***      get the file details
      call function 'SO_OBJECT_READ'
        exporting
          folder_id         = wa_folder_id
          object_id         = wa_object_id
        importing
          object_hd_display = wa_sood2.
Let me know if you need further help.
Thanks,
Guru

Similar Messages

  • My windows friends cannot read attachments from my e-mails

    My Windows friends cannot read attachments from my e-mails

    If the attachments are common files that your recipients should be able to read (PDF, DOC, TXT) then what is the setting when you select the menu command Edit > Attachments > Always Send Windows-Friendly Attachments (checked or unchecked).
    If it's unchecked you should check that setting and retry.

  • Reading attachments from CFolders(SRM) to ECC(PO)

    Hi All,
    I have a requirement where i need to read the attachments from SRM to ECC.
    When the bidders bid, they attach files in SRM, these files are saved in the C-Folders in SRM Box.(No DMS)
    Now, when the PO is created from the RFx, the attached files should also be transferred.
    1. Is there a direct way by configuration?
    2. If any development has to be done? where should it be done? SRM or ECC?
    3. Can we read the files on runtime or do we need to pull files from SRM and store it in ECC?
    4. BBP_CREATE_BE_PO_NEW: BAdI of any help?
    Please suggest.
    Thanks
    Johnson George.

    Hi,
    UNSPSC code is generally passed to R/3 in the MPN fields EBAN-MFRNR (Manufacturer), but you need to take care here as the MFRNR field is 'hidden' and unchangeable. (See note 615722)
    So perhaps the usage of a custom field in your case would be easier.
    Regards.
    Jason

  • Reading attachments from adobe interactive form

    Hi,
    My requirement is- vendor should fill all the detail in an offline interactive form and attach necessary documents in the form itself. How can i read the attachments from the form inside my program and how can i store it in SAP. I am using FM ' SMUM_XML_PARSE' to read all the data in the form.
    Best Regards,
    Tofan

    Hi Ali,
    Thank you for the reply. But i want to read the attachments which are attached inside the adobe forms.
    How to read the form and get all the data i know but i want to extract the attachments which are attached in the form and save it in sap.
    For example- in an adobe form customer is attaching the PAN copy, Registration certificate etc, how to read these attachment from the adobe form and store in sap?
    Regards.
    Tofan

  • Reading Attachments from CRM OD

    I have a web portal that displays all the cases associated to the contact. I would like to showcase a section where the users can see and view any attachments are there for the case.
    Service Request WSDL does not provide the ability to view attachments. Is there any workarounds for the same. Has anyone implemented similiar functionality if so please provide pointers

    There is a section 'Retrieving or Quering File Attachments' section in the documentation. It looks like you can return the content of the attachement in base64 and it would be up to you to convert it back based on its type - they you would be able to display the content in your application.

  • Any FM to Read Documents from transaction code CRMD_ORDER(Service Request)

    Hi All,
    Please advice, if any function module to read(extract) Document attached to a created Service Request using Transaction code "CRMD_ORDER". The document is stored in the header level "DOCUMENTS" tab. My requirement is to read the documents stored in this tab and then attach them to a mail. Please do help.
    Thanks
    Nagesh Thanneeru.

    Hi All,
    Can you please tell me what are the input parameters for this function module.
    This is for service order item type where the document is attached.
    Is there a function module to read these details.
    Regards,
    Dhruv

  • Reading value from bar code reader into JSP

    Hi all,
    I am designing a web-site which can read the barcode value from the barcode scanner.Please let me know how to do that.
    Awaiting Reply.
    Thanks
    Gowrishankar

    1) I don't think there's a <input type="barcode-reader"/> form element in HTML - whether it was generated from a JSP or not doesn't matter.
    2) You could use an applet. But only if the user has all necessary means installed to let Java use the barcode reader.
    3) The applet needs to be signed, of course.
    4) If the user doesn't have the stuff installed, you could theoretically make the applet install it, if it knows where to get the resources and if the access restrictions allow it.
    So there's a purely theoretical possibility at best.

  • Free download to read attachments from

    As I am 82 years old and only use my computer at home, I cannot understand why I am not able to read my business notifications attached by Medical aids and other instances  Please! What am I doing wrong.?They tell me to down load PDF FREE to open their notifications.

    You will need the free Adobe Reader and install it:
    http://get.adobe.com/reader/
    Mylenium

  • Read multi-tabbed excel file attachments from Sender Mail Adapter.

    There is a need to read excel attachments from incoming email to a
    mailbox. We know we can use Sender Mail adapter to easily read .xml, .txt
    or .csv attachments.
    For excel attachments we know from SDN that you have to write
    adapter modules to handle excel. However the excel file we need to read has
    multiple worksheets(tabs) and data may be contained in any of them.
    Is it possible to use SAP XI Mailsender adapter to read such a file as an attachment? What kind of module development would we need for this? I am not much of a Java programmer so examples or links to other documentation would help.
    Thanks,
    Rudra

    Rudra,
    Use Java Mapping.  There is a free java api available called JExcelAPI to achieve this. 
    Shabarish's blog describes about this.  This might be helpful to you
    /people/shabarish.vijayakumar/blog/2009/04/05/excel-files--how-to-handle-them-in-sap-xipi-the-alternatives

  • Unable to read data from Analog Devices 6b11 module - error code 1240

    Hi everyone,
    I'm trying to read data from a thermocouple with an AD 6B11 module in an AD 6BP16-1 backplane using RS232 serial. I've been following this guide:
    http://digital.ni.com/public.nsf/allkb/8C77E5E52B4A27968625611600559421
    Everything seems to work out well until step 13, where I call the "AD6B Input Module - Read Data.VI". I get an error code 1240 stating something like "invalid parameter or unable to read instrument".
    Has anyone got any experience with this error or suggestions to fixing it?
    Thanks in advance!

    That user guide is 20+ years old. The serial functions from that day used 0 for com 1, 1 for com 2, etc. Make sure you have the correct one selected. Please provide the exact error message instead of 'something like'.

  • ABAP Code to Read Characteristic from Another DSO

    Gurus and Experts,
    Plain and simple, I need a piece of ABAP code that reads a characteristic value from a different DSO.
    Here is the story. I have a data flow from DSO Delivery1 to DSO Delivery2. I need to write a code in the start routine of the transformation to read Sales_Doc_Type from DSO Sales1. The condition is, if Delivery1-Ref_Doc_Nr = Sales1-Sales_Nr then Delivery1-Sales_Doc_Type = Sales1_Sales_Doc_Type.
    I am a beginner in SAP BI and know nothing about ABAP. But I do have experience in SQL and Java.
    Any help or links or direction will be appriciated. Thanks in advance.
    Herru

    Hello,
    I think there is a correction in your Ques. That there are two DSO Delivery1 and Sales1...... I Hope this is Ok.
    Tables Required:----  Go To SE11 and *<DSO_NAME>00 You will get active table for your DSO. EG. /bic/Delivary100 and /bic/sales100
    Logic In start Riutine:----
    1. Define structure in Global Def. for Sales1 DSO.
    2. Also Define Internal table in Global Def. (I hope you know the syntax)
    3. now you will find that start writing code from below.
            Inclue:------ Select Statement from Slaes1 DSO into itab for all entries in source package.
    4. Loop source_package assigning <result_fields>.
    read itab into wa where Sales1-Sales_Nr = <result_fields>-Ref_Doc_Nr.
    <result_fields>-Sales_Doc_Type = wa-Sales1_Sales_Doc_Type.
    endloop.
    This logic will work..........
    If still you are find it difficult then take some abaper help.
    Regards,
    Ankit.

  • Question:  how to read winmail.dat attachments from others

    Based on a recommendation from an AppleCare rep, I downloaded "TNEF's Enough" so I could read winmail.dat attachments from others.  It won't work and when I called again, I was told AppleCare doesn't support third party apps.  How do I activate it?  I tried double clicking on it and nothing happened.

    http://www.joshjacob.com/mac-development/tnef.php

  • I am having problemes opening attachments from adobe reader.  I'm getting error 1606 (an internal error).  Plz HELP!

    I am having problems opening attachments from adobe reader.  I'm getting error 1606 (internal error).  PLZ HELP!

    <http://kb2.adobe.com/cps/402/kb402867.html> might help.

  • I can't access pdf attachments from my aol email on my ipad. i have downloaded adobe reader. what should i do?

    i can't accesspdf attachments from aol email on my ipad. i have donloaded adobe reader. what should i do?

    For Notes, if they are only on your phone I suggest you open them one by one and email them to your self so you have a backup of the text.  You can then go to Settings>iCloud and turn Notes to Off, then back On.  Then try creating a new note and see if it syncs properly to icloud.com and to your Mac.  If so, and if turning it notes off deleted the notes from your phone, you'll have to open each email and copy and paste the text into a new Note.
    My own experience with photo stream syncing photos to iPhoto is that it works great.  iPhoto automatically receives new photos from photo stream, and if configured to in iPhoto settings, it also saves a copy of the images to your iPhoto library so they are backed up.

  • Reading JavaDoc from Code

    If I have a folder structure with .java files in it, and I want to point JavaDoc at it and have it tell me JavaDoc info, how do I do that? One way is to extend Doclet, but then I can only call it from the command line with javadoc -doclet ... However, what if I just want to do it from ordinary code?

    Looks like you found a solution. Here are a couple of belated answers, passed along from an engineer...
    Do you know how my Doclet class could communicate with the rest of the program?The easiest (not really clean) might be to just create a singleton for
    communication, which is shared by all instances of the doclet, and
    whatever other point in the program care about it.
    Does anyone know how Eclipse or Netbeans reads and displays the Javadoc info when you
    import a library? Do you think they just have their own parsers, or do they do it through
    the javadoc api?Eclipse has its own parsers. Netbeans uses javac. - Hey, Netbeans
    comes from Sun, you'd expect that.

Maybe you are looking for

  • How to generate a PDF Report to print all records

    Hi, I have two fields on the page 1.Id 2.year both are select list. When Id and year is selected from the list a pdf report is generated showing the details of that particular ID. I want to generate a pdf report for all Id's for a particular year rat

  • Character encoding problems when using javascript client-sdk for remoting

    Hi, I have recently downloaded LCDS to try.  I was interested in using Javascript for remoting.  I have a Java-based web application on the server side, and use HTML + Javascript (dataservices-client.js) to send/receive messages asynchronously in AMF

  • Which TNSNAMES.ORA file to update???

    Hi All I have installed Oracle Apps on my local system and I regularly access one more database using internet which is on another server. Now for accessing my local apps database I can use Toad or PL/SQL Developer without modifying the TNS file. But

  • Can PEv5.0 extract photos from scans? Thanks.

    Hi. I am scanning my color photos. I now have heaps of JPG files, each containing five to six photos. My next project is to open each file, crop each photo and save. Since that would be a time consuming process, I was wondering of Photoshop Elements

  • No sound with certain .avi files

    Hi there, I have installed the latest divX codec, but for some reason certain .avi files play but have no sound. Movie Inspector showed this: "Format: DivX 6.0, 672x288, unknown 'ms', Stereo, 48000 kHz" VLC can play the file, but I'd like to be able