Workflow - Retrieve attached document on the container

Hello All!!
I have configured a decision task to e included a rejection text on the UWL.
When I add this text, I can see on the Container I have attached an Office Document with my text, on the BOR SOFM.
How can I read the text included on this document?
Is very very urgent, please.
Thanks and regards,
Manuel Míguez.

Hi Arghadip,
I see the attached document is on the Container, but is stored on a folder.
I have the data of the folder.
My doubt is how I can retrieve this data on a method of a task. The element is based on the BO SOFM and I can´t find the name of the fields.
I´m using the statements
DATA attach            TYPE SWC_OBJECT OCCURS 0.
swc_get_table   container  '_ATTACH_OBJECTS' attach.
Thanks and regards,
Manuel Míguez.

Similar Messages

  • I have a Word doc with lots of Excel/Pdf attached doc inside. Can I convert this word doc in PDF keeping the attached documents inside the PDF? or do I have to attach all af them again? thank in advance

    I have a Word doc with lots of Excel/Pdf attached doc inside. Can I convert this word doc in PDF keeping the attached documents inside the PDF? or do I have to attach all af them again? thank in advance

    Attach all of them again.
    Be well...

  • PA30, attaching documents through the employee personal master dat

    Dear freinds,
    We are attaching documents through the employee personal master data
    PA30, Our client wants to know where exactly these attachments are
    getting saved; Our SAP environment is ECC6.0 on AIX 5.3. so i exactly would like to know what is the exact path where these documents are getting saved on AIX machine.
    I would appreciate if you can tell us where exactly these documents are
    getting saved at OS level, any particular file system you think,
    because I probed in but couldnu2019t find where exactly there are on the
    OS..
    Regards
    ayush

    hello,
    SAP generally recommends that you store employee documents with a bar code. You can find the documentation to 'Storage Within Personnel Administration' using the following path:
    => Help => SAP Library => Human Resources => Personnel Management (PA)=> Personnel Administration (PA-PA) => Storage Within Personnel Administration (PA-PA)
    In the SAP Standard it is not possible to tie original documents to specific personnel numbers in the PA30 transaction. The only exceptions are two specific scenarios where you can tie original documents in the PA30 transaction:
    1. late storing with bar code
    2. late storing without bar code
    During both scenarios you start out in the Trx PA30. If the bar code entry is deactivated the actual key data will have to be transferred to the document in any case, otherwise you will be asked to enter a barcode again. Therefore the document would be transferred to the scanning location and then assigned to a specific business object.
    Unfortunately it is NOT possible to upload a document directly into archive in the PA30 any other way.
    Let me emphasize once more that PA30 can not be used for storing infotype specific documents. Via the special scenarios mentioned already by my colleague you are able to assign documents to the specific infotypes but the storing has to be completed outside of PA30.
    Using the option Extras -> Assign facsimile in PA30 will be interpreted by the system as start for late scanning with barcode thus the error message.
    Hope this help
    Sarah

  • Attaching document in the Asset master data

    Hi All,
    If want to attach the supporting document in asset master data, i.e in AS02, AS03 what are the steps that we need to follow to implement this  in SAP?
    Also while doing asset transfer, how can we transfer the attached documents?
    Please provide inputs.
    Regards,
    Jayasudha

    Hi ,
    Below is the configuration steps
    Have defined a content repository (IMG activity Maintain Content Repositories, transaction OAC0)
    · Have maintained document types with the status "active" (IMG activity Maintain document types, transaction OAC2).
    · Have defined Relationships for your object type with the status "active" (IMG activity Maintain relationships transaction OAC3)
    Procedure
    Then if you check the service object in AS02 it will be in active status.
    Regards,
    Jayasudha

  • Able to attach documents when the document in closed status

    Hi,
    I have a issue related to attchments in Service Request.
    I have user status =closed ands set Chnage Document=Forbidden for that staus.
    Now after setting this Status, system is not allowing me to do any chnages in the document and that is fine.
    But system still allows to add the attchments and I want to stop it if the status is closed.
    What I need to do.
    Regards
    babu.

    Disable the Add Attachment button based on this document status.This way no body would be allowed to attach document.
    Regards
    Kavindra

  • How to attach documents on the Shipment?

    Can some one help me in understanding on how to attach a document on the shipment VT02N & also please tell me if there is anything that we have to do on the Customizing or development side ..................
    Your help will be greatly appreciated.
    Thanks

    Hello,
    You can attach PDF format document to Shipment using GOS.
    Normally if the SAP system is not connected to Archive Server this attachment is stored in table SOFFCONT1.
    Storing attachments in SOFFCONT1 table will not require further configuration as SAP has already provided functionality to store attachments in this table.
    If Archive infrastructure is in place connected to your SAP system then you can use Document Archiving concept for storing your PDF docks to your shipment. This will help you to better managment of documents.
    Document Archiving implementation require complete configuration of ArchiveLink.
    I would suggest you to go through very useful link that is provided by Suji Thampi in trail massage.
    Hope this message will help.
    Thanks,
    Ajay

  • IW32 - Print Attachment Document at the time of form printing

    Hi,
    Anyone help me how to print attachement document in Maintenance Order Document ( IW32 ), by the time of Form printing ?
    Regards,
    Hary

    Hi,
    we are looking for a similar solution. We want to include TIFF,PDF at the end of SAP-Script or SmartForms.
    For example: We want to send a purchase-order Formular (out of ME21N) with attached TIFF's or PDF's, so that the vendor received a purchase-order with a design of the material.
    Did you find a solution ??
    Thank for answer.
    Thorsten

  • Create a one level approval workflow for a document in the document library

    hi,
    Can anyone pls provide me how to create a workflow in  SP 2013.
    I am having  the  scenario
     Document uploaded into the document library. it will  trigger the workflow and it will reach the approver's inbox and if the approver approves the document,  i need to do peform few tasks on the dcoument and document
    library in which it resides.
    So, would like to know whether this is possible without using the new features in SP 2013. like Workflow Manager , etc.
    Heard that,  workflow manager is a new software installable and need to go through separate learning curve.

    but i am having custom columns  which are taxonomy columns, single line of text, choice field, people picker field  etc.
    how can i show these metadat columns in a  approver form using the OOB workflows, does sharepint provides us to  display the  form whcih will be used by the approver and once approved the document will be moved into a  new doc lib 
    and if rejected  it will be deleted  from the  current doc lib.
    also a  email would be sent to requestor who uploads the document.
    I think these customizations were not available in the OOTB workflows.
    pls let me know  any other approaches!
    help is appreciated!

  • Problem attach document with the FileUpload UI.

    I am trying to attach a document to a CRM Notification from application Web Dynpro for ABAP, I have build a FM that includes the method
    cl_crm_documents=>create_with_file
    When I test the FM from SE37 transaction, I am able to attach a file from a local disk succesfully. But If I call this FM from Web Dynpro, trying to do the same operation, document cannot attach to notification and Method returns the following error: “Error loading file ” (Class of message CRM_DOCUMENTS and number 100).
    Thanks in advance.
    FUNCTION z_crm_anexar_docs_inc.
    ""Interfase local
    *"  IMPORTING
    *"     VALUE(GUID) TYPE  CRMT_OBJECT_GUID
    *"     VALUE(FILENAME) TYPE  SDOK_FILNM
    *"     VALUE(PATH) TYPE  SDOK_CHTRD OPTIONAL
    *"     VALUE(DESCRIPTION) TYPE  STRING
      DATA: ls_bor   TYPE sibflporb,
            lv_loio  TYPE skwf_io,
            lv_phio  TYPE skwf_io,
            lv_error TYPE skwf_error.
    MOVE: 'BUS2000116' TO ls_bor-typeid, "aqui le pasamos el tipo de objeto que estemos tratando
            'BO'         TO ls_bor-catid,
            guid         TO ls_bor-instid.
      DATA: wa_result_tab TYPE string.
      DATA: result_tab TYPE STANDARD TABLE OF string.
      DATA: lin TYPE i.
      DATA: long_nombre TYPE i.
      DATA: long_total TYPE i.
      DATA: desplazamiento TYPE i.
      DATA: filename_aux TYPE skwf_descr.
      SPLIT filename AT '' INTO TABLE result_tab.
      DESCRIBE TABLE result_tab LINES lin.
      READ TABLE result_tab INDEX lin INTO wa_result_tab.
      IF sy-subrc EQ 0.
        long_total = STRLEN( filename ).
        long_nombre = STRLEN( wa_result_tab ).
        desplazamiento = long_total - long_nombre.
        path = filename(desplazamiento).
        filename = wa_result_tab.
        filename_aux = wa_result_tab.
      ENDIF.
    aqui le pasamos el guid del documento sap crm que estemos tratando
      CALL METHOD cl_crm_documents=>create_with_file
        EXPORTING
        aqui le pasamos el nombre del fichero que queremos anexar
          file_name       = filename
        'c:' "aqui le pasamos la ruta del fichero que queremos anexar
          directory       = path
          business_object = ls_bor
        IMPORTING
          loio            = lv_loio
          phio            = lv_phio
          error           = lv_error.
    aqui llamamos a este método porque de lo contrario el sistema crea el anexo con el nombre que
    le da la gana y no con el que hemos indicado en el punto anterior. por eso renombramos el fichero
      CALL METHOD cl_crm_documents=>rename_object
        EXPORTING
          is_io   = lv_loio
          iv_name = filename_aux.
      CALL FUNCTION 'BAPI_TRANSACTION_COMMIT'
        EXPORTING
          wait = 'X'.
      IMPORTING
        RETURN        =
    ENDFUNCTION.
    Call from WDA.
      CALL FUNCTION 'Z_CRM_ANEXAR_DOCS_INC'
        EXPORTING
          guid              = guid_jarcode
        guid              = stru_importing-guid
          filename          = stru_importing-filename
        PATH              =
          description       = stru_importing-description.
    ENDMETHOD.
    Thanks in advance.

    Hi,
    you can use below steps,
    1. Create attribute file_content of type xstring and bind it to data attribute of FileUpload UI .
    2.Put the button Upload next to your FileUpload UI element and write action upload.
    3. in action, read the attribute file_content and pass it to below code
    Convert XString to String
      CALL METHOD cl_abap_conv_in_ce=>create
        EXPORTING
          input       = file_content
          encoding    = 'UTF-8'
          replacement = '?'
          ignore_cerr = abap_true
        RECEIVING
          conv        = loc_conv.
    *Read the file contents
      TRY.
          CALL METHOD loc_conv->read
            IMPORTING
              data = file_content_string
        CATCH cx_sy_conversion_codepage.
    *-- Should ignore errors in code conversions
        CATCH cx_sy_codepage_converter_init.
    *-- Should ignore errors in code conversions
        CATCH cx_parameter_invalid_type.
        CATCH cx_parameter_invalid_range.
      ENDTRY.
    4. After that u may want to put the contents into internal table so use
      SPLIT file_content string AT crlf INTO TABLE itstring_tab.
    5. At last, fill the internal table
    loop AT it_string_tab INTO wa_string.
        CHECK sy-tabix GT 1 .    "skip the first line
        SPLIT wa_string AT ',' INTO .....
    endloop.
    here in my code i have splitted the contents at comma as i had .csv file . so based on file type u can split it and fill internal table.
    hope this will help you.
    Regards,
    Chandra
    (Award points if Helpful)

  • PA30, attaching documents through the employee personal master data

    Hi,
    We want to add documents to a pernr in PA30 via Extra -> assign original. We configured the archive link but it asks for "Bar Code Entry" when we want to add an document. In http://help.sap.com/saphelp_erp60_sp/helpdata/en/d7/e2270b408e11d1896b0000e8322d00/content.htm they say However, it is also technically possible to store without a bar code (that is, you can use the "assign then store" scenario). But I don't find the information to do it. Please can somebody assist?
    Br
    Steven

    Check with below url ...you have different options..
    [http://help.sap.com/saphelp_47x200/helpdata/en/48/35d4ad4abf11d18a0f0000e816ae6e/frameset.htm]
    You can also try in PA30....Click on Services for Object besides Maintain HR Master Data name.....Create...Create Attachment.
    Mohan

  • Attach document in the campaign.

    hi,
    i have implemented the SAP Notes 672599,
    the document is not getting automatically attached in the document tab when i transfered the target group to open channel.
    how to do it.. is there any function module through which i can update it manually.
    Plz.. guide me.
    Thanks & Regards
    Dinesh

    Hi
    the alternate way is attach this doc personalised mail and and send to campaign execution along with target group to any channel whatever you are using
    reward
    Venkat

  • Limit of attached documents to the PO

    Hello experts!
    I have a question about the purchase orders. I have seen that it is possible to attach a document to a purchase order, but how many documents could I attach to the PO? and what is the limit of these documents?
    And if I attach a document after releasing the PO, does it has to go through the approval process again?
    thank you in advance
    Edited by: Maddiiiii on Oct 2, 2009 10:21 AM

    Hi Maddiii,
    I am also not confirm about capacity of attachment.
    But if you attach to much document it will create load on your SAP server.
    So better to go for DMS.
    Thanks and regards
    Gitesh

  • Attached Documents in the Production order

    Hello,
    My question is:
    how to setup the system to be able from the Production order to see (and have access)  to the documents attached to the BOM and/or Routing?
    Thank you in advance.
    Peter

    Hi,
    In production order if you notice you should be able to find a link for documents. In the documents page you would be able to get the documents attached in the BOM (not sure about the routing, please check).
    But do note that this is just a link & the order does not store these documents, you will have to go to DMS (CV03n) to view the document.
    In OPKP (production scheduling profile) you select the option to link the documents on release.
    Hope the above helps.
    Regards,
    Vivek

  • Attaching documents to the end of messages

    I like for my attachments to be inserted at the end of my messages when I send messages in "Mail".  Is there a way to set a default that always inserts my attachments at the end of my messages?  Or do I have to manually select them to be inserted at the end of my messages?  If not this default needs to be added to the "Mail" app.
    Thanks!

    What on earth has the less command in Linux have to do with the subject matter, the SQL and PL/SQL languages, of this forum?
    Have you looked at the man pages for less ? - the shortcut keys are listed there. Including that F takes you to the end of file and waits for more file output to be displayed.

  • How to attach document from webdynpro TO workflow

    Dear friend,
    For one requirement i want to attach documents(.doc or .pdf)
    from webdynpro form.
    I want to display it with user decision step along with description.
    I am confused that which container element would contain it?
    and how can i display it along with description?
    How can i attach document to the workflow?
    Please guide me stepwise.
    Thanx in advance!
    Regards,
    Purvesh.

    hi,
    Please Refer to the thread.
    How to Attach a pdf file which is created in EP while sending the mail
    Regards
    Sumit Agarwal

Maybe you are looking for

  • MAc won't save youtube video anymore. What am I doing wrong?

    I was trying to save a video from youtube as I did a 1000 times before. Now when I try, every program/site I use (KeepVid for instance), will turn the .mp4 video file in a .txt file. Basically the file name will be something like video.mp4.txt I trie

  • Exporting HiDef Movies To iTunes?

    Kind People, I have shot video with my Canon Vixia HF10 camcorder. I edited that video using FCE. I've exported and burned those movies to DVDs with iDVD. Life is beautiful! I have wide screen HiDef movies to share with family and friends. However, w

  • My icon on my desk (macbook) disappeared, how can I get it back on there?

    It just disappeared and I would like in on my launchpad. it has been there for a long time but it just recently disappeared. I went to applications and tried to drag it, no luck. I even right click on it to see if it'll say add to launchpad...nope...

  • Java Bean to check for Well-formed  XML DOC?

    Hi All, I am new to the Java XML API's. Does anyone have an example of a Java Bean that i can pass an XML String and check if the XML document is well formed? Thanks Joe

  • Looping intro media?

    I'm creating an iBook textbook to be used at a convention.  I need the intro media to loop continously until someone slides over to the TOC for Chapter 1.  In the Inspector panel i have the repeat option set to "Loop" but no matter what at the end of