Create GOS attachment of BUS2012 in workflow

Hi all,
I've developped an workflow for approval of purchase order. When the approver has rejected the purchase order I create a document from template to describe the the reason for rejection. Now I want to attach in the workflow this document with rejection reason to the GOS of the purchase order (BUS2012). I've an container operation to assign the document to the adhoc_attach / adhoc_object, but this is only for the workflow instance. I want that if somebody else outside the workflow displays the purchase order can see the document with rejection reason by using the GOS attachmentlist. How can I assign the document with rejection reason to the GOS of BUS2012 in the workflow?
Regards Patricia

Hi
Please use the following FM
CALL FUNCTION 'SO_OBJECT_INSERT'
    EXPORTING
      folder_id        = ls_fol_id    "system folder ID
      object_type      = 'EXT'        "external
      object_hd_change = ls_obj_data  "file name and extension
    IMPORTING
      object_id = ls_obj_id           "system ID for the file
    TABLES
      objhead = it_objhead
      objcont = it_content
    EXCEPTIONS
      active_user_not_exist = 35
      folder_not_exist      = 6
      object_type_not_exist = 17
      owner_not_exist       = 22
      parameter_error       = 23
      OTHERS                = 1000.
*finally link file (object) to master data
  CALL FUNCTION 'BINARY_RELATION_CREATE_COMMIT'
    EXPORTING
      obj_rolea    = ls_object
      obj_roleb    = ls_note
      relationtype = 'ATTA'
    EXCEPTIONS
      OTHERS = 1.
  ENDIF.
Thanks
Arghadip

Similar Messages

  • RFCs to create GOS attachment

    Hi Experts,
    I'm not ABAPer at all. Here are only my suppositions and please do not judge me strictly.
    I need to upload PDF file as a GOS attachment to the QM notification from external system (SAP MII) using RFC. As I found out there is no remote-enabled FM for this. There is only SGOS_NOTE_CREATE for notes. I investigated it and found out that all FM's that are used inside it are remote-enabled.
    Question: is it possible to call from my external system same 3 FMs as in SGOS_NOTE_CREATE (SO_FOLDER_ROOT_ID_GET, SO_OBJECT_INSERT, BINARY_RELATION_CREATE_COMMIT) to create attachment instead of note? I guess that in general i need to provide SO_OBJECT_INSERT with some other parameters than it is done in SGOS_NOTE_CREATE, so it will create attachment-object instead of note-object in SAPoffice. Is this way possible, or there should be more steps to create attachment?
    thanks in advace,
    Petr

    Hi,
    In the above code what is is_object and attachment parameters corresponds to. What are the values needs to used in this parameters.
    data: l_object_id_loio type SDOKOBJECT,
           l_object_id_phio type SDOKOBJECT.
      call function 'SO_LOIO_PHIO_CREATE'
            importing
                 loio_object = l_object_id_loio
                 phio_object = l_object_id_phio
            exceptions
                 kpro_model_error = 103
                 x_error          = 1000
                 others           = 1000
    call function 'SO_KPRO_DATA_INTO_OBJCONT_PUT'
                  exporting
                       loio_object = l_object_id_loio
                  tables
    *                CONTEXT     =
                       objcont     = i_objcont.
       x_obj_data-file_ext = 'HTM'.
         x_obj_data-OBJPRI = '5'.
          x_obj_data-extct = 'K'.
         x_obj_data-objla = sy-langu.
         x_obj_data-objdes = '000004280212022400687486'. "wa_attach-filename.
         x_obj_data-objlen   = LINES( i_bin_data ) * 255. "i_soli_size. 000000007319
         CONDENSE x_obj_data-objlen.
    CONCATENATE '&SO_FILENAME=' '000004280212022400687486.htm' INTO x_objhead. "wa_attach-filename INTO wa_content.
         APPEND x_objhead TO i_objhead.
         x_objhead = '&SO_FORMAT=BIN' .
         APPEND x_objhead TO i_objhead.
         CALL FUNCTION 'SO_OBJECT_INSERT'
           EXPORTING
             folder_id                  = l_fol_id
             object_hd_change           = x_obj_data
             object_type                = 'EXT'
             owner                      = sy-uname
           IMPORTING
             object_id                  = x_object_id
           TABLES
             objcont                    = i_objcont    "&SO_KProObjectID=SOFFLOIO E2870D61F569E7F186CB0013216A31DB
             objhead                    = i_objhead     "&SO_FILENAME=000227964812102400687486.htm &SO_FORMAT=BIN
           EXCEPTIONS
             active_user_not_exist      = 1
             communication_failure      = 2
             component_not_available    = 3
             dl_name_exist              = 4
             folder_not_exist           = 5
             folder_no_authorization    = 6
             object_type_not_exist      = 7
             operation_no_authorization = 8
             owner_not_exist            = 9
             parameter_error            = 10
             substitute_not_active      = 11
             substitute_not_defined     = 12
             system_failure             = 13
             x_error                    = 14
             OTHERS                     = 15.
         IF sy-subrc = 0 AND x_object-objkey IS NOT INITIAL.
           x_folmem_k-foltp = l_fol_id-objtp.
           x_folmem_k-folyr = l_fol_id-objyr.
           x_folmem_k-folno = l_fol_id-objno.
           x_folmem_k-doctp = x_object_id-objtp.
           x_folmem_k-docyr = x_object_id-objyr.
           x_folmem_k-docno = x_object_id-objno.
           l_ep_note = x_folmem_k.
           x_note-objtype = 'BKPF'. "c_message.
           x_note-objkey = l_ep_note.
           CALL FUNCTION 'BINARY_RELATION_CREATE_COMMIT'
             EXPORTING
               obj_rolea    = x_object
               obj_roleb    = x_note
               relationtype = 'ATTA'
             EXCEPTIONS
               OTHERS       = 1.
    I am using this code for attaching a .HTM external file automatically to a invoice document. But unable to attach it.
    Can you please help.
    Regards,
    Rafi

  • How to create GOS view attachment list in ECC6

    Hi,
    I created Z transaction. I have to create View attachment List to this transaction. How to create GOS view attachment list in ECC6. can anybody send sample code on this.
    Thanks in advance.
    Zakir.

    Hi all,
    I've following problem with class CL_GOS_ATTACHMENTS.
    Transaction IE01/02/03 (create/change/display equipment) starts and instantiate GOS manager, and related BAdI are called.
    Then, when I choose one of available service, CL_GOS_ATTACHMENTS is instantiated, and inside that class a new GOS manager is instantiated, inspite of already existing instance.
    As a result, related BAdI are called twice, but unfortunately second time some SY variables are not correctly filled, particularly SY-TCODE and SY-MODNO are both empty.
    I've develop a workaround so that when sy-tcode is filled I save it somwhere, and when it's empty I filled it from saved value, does anyone know any other solution??
    Many thanks
    Regards
    m@x

  • How to transfer GOS attachment to my work item

    Hi Friends,
      I have the following requirement. The user while creating a Appropriation request in tcode IMA1N will create an attachment using Generic Object Services(GOS). once he saves my workflow will trigger and it will go to approval. I need to show the attachment created using GOS in my Work item. How to achieve this. Please advice.

    I have some annotations:
    The object type ARCHIVE is for archived Data Files from the DataArchiving. The object type for ArchiveLink documents is  IMAGE
    The default method is  .Display   to display the document.
    The GOS-Attachment is not a SAP ArchiveLink document. This attachment is stored in SOOD and linked via the GOS-relationship table SRGBTBREL
    The business object, that can be used here is: SOFM
    The object instance needs to be found with a custom self-made background method, to find the correct link and create an object instance.
    After that, this instance can be used as a secondary method in the work item's execution or attached to the ADHOCOBJECTS as already mentioned here.
    Good luck,
       Florin
    P.S.: Similar reply cross-posted to SAP-WUG

  • 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

  • Report ouput details should create an Attachment and it should be trigger i

    Hi,
    The requirement is like this, my Report output details should create an Attachment and it should be trigger in my workflow MailBox.

    Prabhakar,
    Are you asking a question about the SAP Business One Integration Technology for SAP NetWeaver or a question about the SAP Business One SDK.  If you question is with respect to the Business One SDK, please post your question on the SAP Business One Discussion Forum as this forum is for the SAP Business One Integration Technology for SAP NetWeaver.
    If this is a question about the SAP Business One Integration Technology for SAP NetWeaver, can you give a little more detail?
    Thank you,
    Eddy

  • Transfer GOS Attachment (Single/Multiple) from custom program to XK01

    Hi,
    GOS - Generic Object Service is a way one can attach single / multiple attachment. I have a custom program where there is a GOS with some attachment (used CL_GOS_MANAGER class).
    Next I need to send / transfer this GOS attachment from my custom program to say a standard transaction , eg XK01.
    Whether we can achieve this functionality, ie. we are able to create/save attachment but is there a way to send attachment (not via email) such that the same attach itself to the GOS of the standard transaction. I don't see any method in the CL_GOS_MANAGER class by which we can achieve this!
    Any suggestion/solution will be highly appreciated!
    Thanks,
    Deb

    Hi,
    I am trying to send attachment linked to a custom BO to standard BO eg, LFA1 using 'GOS_SERV_TOOLS_TEST' (copy_linked_objects).
    Surprisingly, I am able to copy/send attachment list within same BO (LFA1) from one LIFNR to another LIFNR. But the same method does not work when I try to copy attachment between diff BO example from VENDOR BO to MATERIAL BO. Why is it so?
    Also it does not work between a custom BO & standard BO. Please suggest in case I am missing on anything!
    Thank,
    Deb

  • "Modified By" Field Value is same "Created By" field value after the workflow completion.Sp 2010 workflows

    Hi All,
    I have a work flow A attached to List List1
    I have Added an item(now created by and modified by are same)
    Next Person B modified
    Ideally created by value and modified by value should be different, but they are same after the workflow completion
    This is very strange as i am not modifying  modified by field any where
           Please let me know any one has faced similar problem
    Thanks
    Ravi
    Ravi

    The workflow will run as the person who initiated it. As such if the workflow starts when an item is created then it'll be running as the user who created the item.
    When the workflow changes anything the 'modified by' field will be updated to show the identity the workflow is running under. I think that explains your behaviour?
    To change it you could use an impersonation step but that would simply replace one name with another. I don't think you've got access to the 'SystemUpdate()' method in workflows which would allow you to avoid updating the modfiied by and modified date fields.

  • Retrieve GOS Attachment

    Hi All,
    I am developing a program to retrieve the GOS attachment from PO attachment and send to the vendor through email. Kindly advise me to resolve this problem because I have no idea how to retrieve the attachment from the GOS table.
    Many thanks and best regards,
    Ting Wei Hong

    Hi,
    There is a class CL_GOS_MANAGER. Use that.
    See here for an example:
    data: o_gos type ref to cl_gos_manager.
      data: o_att type ref to cl_gos_attachments.
      data: ls_borident type borident.
      ls_borident-objkey = gs_data-vgbel.
      ls_borident-objtype = zcl_word=>co_busobject_worddocument.
      free o_gos.
      create object o_gos
        exporting
          ip_no_commit = space.
      call method o_gos->start_service_direct
        exporting
          ip_service       = 'VIEW_ATTA'
          is_object        = ls_borident
        exceptions
          no_object        = 1
          object_invalid   = 2
          execution_failed = 3
          others           = 4.
      if sy-subrc <> 0.
        message 'Geen bijlagen aanwezig. Toolbox wordt getoond' type 'S'.
        o_gos->display_toolbox( is_object = ls_borident ).
      else.
        message 'Bijlagen aangepast' type 'S'.
      endif.

  • Insert attachment (PDF doc) into workflow

    Hi.
    I want to insert an attachment into a workflow. Via a webpage, the user upload the file (BIN format) and call a RFC. This RFC must start a workflow via an event. I think i can get the workitem so then, i can attach the BIN to the workflow.
    Finally, the approver will have this document in the Business Workplace.
    My problem is that i'm in a 4.6c SAP version and must use SO_DOCUMENT_INSERT or similar. Another problem is that i don't know if this function module is the correct one and also don't know how to fill its parameters.
    Thank you for your help.
    Kind regards,
    Inigo.

    Via a webpage
    Taking into assumption that you are uploading the attachment from a webdynpro application, As I am not aware of Webdynpro's but when you use the UPLOAD element of the WD's then the uplaodded content will be in the BIN format  and in the WD App you can make use of the FM SAP_WAPI_START_WORKFLOW Fm to call the workflow  and pass the content to the workflow.
    In the workflow create a Activity step and a Z Bo and Z method where you will be creating the attachment by using another FM SAP_WAPI_ATTACHMENT_ADD and pass the result back to task from method and from task to workflow and attahc the object to the item , for which you are sending to the agents so that he can be able to view the Attachment.

  • How to attach event to custome workflow object ?

    Hi Guys,
    Could someone help me on how to raise event while creating custom workflow object.We can attach event to object in transaction swe2 . I would like to know how to create that event. Could some send sample custom workflow object with events.
    Many thanks in advance.
    Cheers,
    Garrick.

    Here's an example  using Business object BUS2080  Service notification
    I delegated ZBUS2080 to BUS2080 (service notification).  Added 2 Events REASSIGNED and MODIFIED.
    Use transaction SWO1 for manipulating business objects.
    The User performs an action on a service notification  (IW52) say PUT IN SERVICE AGAIN.
    When the user puts the service notification in service again the event triggered will start a (user defined) workflow which makes a call to a method in the business object ZBUS2080 which launches a batch job.
    This batch job creates our user event REASSIGNED which in turn calls a new workflow to be executed.
    This workflow performs the action I want -- in this case to re-assign the service notification to a new person, send an email and escalate the deadlines
    Code samples are shown below.
    So here's how it works.
    First you need to set up some entries with table SWE2. I've assumed you've already defined the events to the Business object(s) you want to use.
    In SWE2 define entries for BUS2080 (or ZBUS2080) For Events INPROCESSAGAIN and (our event) REASSIGNED.
    IN SWE2 define the receiver call as a FUNCTION MODULE
    For the receiver function modules  for the SAP event (INPROCESSAGAIN) define the receiver module as SWW_WI_CREATE_VIA_EVENT
    For the event REASSIGNED define the receiver module as SWW_WI_CREATE_VIA_EVENT_IBF.
    I have no idea whatwhat the difference is between the two but the process works when it's done like this.
    Ensure the linkage Activated box is clicked in both cases.
    Put your workflow numbers in the RECEIVER TYPE in SWE2 table.
    In the first workflow when the user puts the service notification in service ensure your workflow starts a batch job which raises another event
    Note : You need to instantiate the object (I.e supply the key) to trigger the event correctly. The key is obtained from the WF and will be in the container anyway.
    You can do this by adding this type of function module into the method of the business object you want to execute during the first workflow. The code here creates a batch job which submits the EVENT creating program.
    function z_create_event_for_cs.
    ""Local interface:
    *"  IMPORTING
    *"     REFERENCE(OBJECT_KEY) LIKE  SWOTOBJID-OBJKEY
    *"     REFERENCE(W_REASON) LIKE  HRPXXXX-DUMMY
    *"     REFERENCE(W_ESCLEVEL) LIKE  HRPXXXX-DUMMY
    Create Batch job to run ZZREASSIGNCS
    which creates event REASSIGNED in Customer query workflow.
    data: jobnr like tbtcjob-jobcount,
          jobname like tbtcjob-jobname,
          pgmname  like sy-repid,
          w_key like viqmel-qmnum,
          w_code type c,
          w_num  type c.
          w_num = w_esclevel.
          jobname = 'CREATEEVENT'.
        pgmname = 'ZZREASSIGNCS'.
    call function 'JOB_OPEN'
      exporting
        jobname                = jobname
    importing
       jobcount               =  jobnr
    CHANGING
      RET                    =
      exceptions
       cant_create_job        = 1
       invalid_job_data       = 2
       jobname_missing        = 3
       others                 = 4
    if sy-subrc <> 0.
    MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
            WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
    endif.
    call function 'CONVERSION_EXIT_ALPHA_INPUT'
    exporting
      input =  object_key
      importing
      output = w_key.
    w_code = w_reason.
    if w_code = ' '.
    w_code = 'Z'.
    endif.
    submit zzreassigncs
    with p_key = w_key
      with p_escl = w_code
      with p_escnum = w_num
      via job jobname number jobnr
      and return.
    call function 'JOB_CLOSE'
      exporting
         jobcount                          = jobnr
         jobname                           = jobname
       strtimmed                         = 'X'
      exceptions
        cant_start_immediate              = 1
       invalid_startdate                 = 2
       jobname_missing                   = 3
       job_close_failed                  = 4
       job_nosteps                       = 5
       job_notex                         = 6
       lock_failed                       = 7
       invalid_target                    = 8
       others                            = 9
    if sy-subrc <> 0.
    MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
            WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
    endif.
    endfunction.
    For the actual program which creates the event  use something like this
    program zzreassigncs.
    This program creates an event REASSIGN
    This triggers a "clone" of the initial customer query workflow
    which is now marked as completed.
    The deadline and escalation level from the original workflow
    should be passed to the new workflow via the event container
    Program is submitted from the original workflow
    Ensure transaction SWE2 has the event REASSIGN for bus object BUS2080
    defined or the WF won't start even if the event is raised correctly
    As this program is run as a background / batch task
    you need to obtain the relevant notification number and pass it
    as a parameter.
    When run from the WF the you can get the notification number obtained
    from the workflow / task  container.
    include <cntn01>.   "For WF macros.
    parameters: p_key like swotobjid-objkey,  "Service notification number
                p_escl type c,
                p_escnum type c.
    constants: c_event    like swetypecou-event   value 'REASSIGNED',
               c_attrib   like swotra-attribute   value 'USRSTATUS',
               c_object   like swetypecou-objtype value 'BUS2080'.
    data:     w_object like swotobjid,
              w_stat     like  tj30t-txt04.
    data: rc like sy-subrc.
    data: begin of event_cont occurs 0.
          include structure swr_cont.
    data: end of event_cont.
    data: begin of return.
      include structure swotreturn.
    data end of return.
    if running from WF rather than a batch job
    swc_container container.
    swc_get_element container  'Znumber' p_key.
    w_object-objkey = p_key.
    w_object-objtype = 'BUS2080'.
    call function 'SWO_PROPERTY_GET'
    exporting
        object                = w_object
        attribute             = c_attrib
      changing
        value                 =  return.
    if sy-subrc <> 0.
    MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
            WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
    endif.
    w_stat = return(4).
    event_cont-element = 'Status'.
    event_cont-value = w_stat.
    append  event_cont.
    event_cont-element = 'Escalated'.
    event_cont-value = p_escl.
    append event_cont.
    event_cont-element = 'Escalation'.
    event_cont-value = p_escnum.
    append event_cont.
    Note WAPI calls only valid from rel 6.1 using Webflow engine
    (part of standard WF since rel 6.1)
    CALL FUNCTION 'SAP_WAPI_CREATE_EVENT'
      EXPORTING
        OBJECT_TYPE           =   w_object-objtype
        OBJECT_KEY            =   w_object-objkey
        EVENT                 =   'REASSIGNED'
      IMPORTING
       RETURN_CODE           =  rc
      EVENT_ID              =
    TABLES
       INPUT_CONTAINER       =  event_cont.
    if rc <> 0.   "Houston ---We have a problem !! '
      write: text-002 color col_negative.
      exit.
    endif.
    even though no database / table is updated here by the event
    we still need the commit work to initiate the event correctly
    commit work.
    You CAN use Objects (OO ABAP) but if you are fairly new to this sort of stuff just stick with standard BOR (Business objects) to parctice on until you've got the hang of the process.
    It's actually a lot simpler than most people realize --which is why WF consultants get paid decently !!!!.
    Cheers
    Jimbo

  • Creating a Role view in a workflow

    I'm trying to create a role view in my workflow with the following code but it gives me an error: com.waveset.util.InternalError: Unable to locate ViewHandler for 'role'.
    <Action application='com.waveset.session.WorkflowServices'>
                <Argument name='op' value='createView'/>
                <Argument name='type' value='Role'/>
                <Return from='view' to='view'/>
              </Action>Has anyone created a role from a workflow, java or SPML?

    nvm figured it out.
    <Action id='0' application='com.waveset.session.WorkflowServices'>
              <Argument name='op' value='createView'/>
              <Argument name='type' value='Role'/>
              <Argument name='viewId' value='Role'/>
              <Argument name='Form' value='Empty Form'/>
              <Argument name='authorized' value='true'/>
              <Return from='view' to='role'/>
            </Action>       

  • How can I verify an apple id already created without attaching a credit card?

    how can I verify an apple id already created without attaching a credit card?

    Why do you need to verify it? Have you received an email telling you to click a link to do so? - if so it's very possible that it's a scam designed to trick you into entering your credit card details. If you have received such an email don't follow any links in it. If it's not addressed to you by name it's unlikely to be from Apple.
    You could copy and paste the email into a post here so that we can have a look at it - remove your own email address when you do this.
    If there is some other reason you want to verify the ID please give more details.

  • Creating an Attachment for an Order by a 3rd Party Application

    Hi All,
    I want to create an attachment for, say, a Work Order.
    The file is in a particular directory in the Application Server and I am executing the FM with the required file information.
    Now the FM has to take the file from the application server and attach it to an order. Following is the approach I am following:
    I am using Open Dataset and Read Dataset Commands to read the file, IN BINARY MODE, in an internal table which has a filed of type RAW.
    Till now I think I have achieved the successful conversion of the file data into binary data. Am I right?
    Then I am calling the BDS_BUSINESSDOCUMENT_CREA_TAB BAPI while passing it the neccessary details.
    The .txt file is getting successfully attached to the order.
    With the .doc, .ppt files they are getting attached in the Order, I can see them in the Attachment List, but when I try to open them, I get this error:
    Attachment list   Error while opening document
    So I think the attachment is working fine.. but the conversion of data has some issue.
    Can you guys please help me out with ideas??
    Waiting..
    Thanks,
    Ankur

    I found the solution much later and I am closing this thread.
    Can we delete a thread which I feel is not required or helpful anymore?

  • How to create and attach a castlib to a movie

    Hi,
    I would like to know if there is a way to create and attach
    an external castlib to a movie with lingo.
    I need to insert a new cast in about 2 hundred movies...
    Thanks
    Paolo

    lao <[email protected]> posted in
    macromedia.director.lingo:
    > Hi,
    > I would like to know if there is a way to create and
    attach an external
    > castlib to a movie with lingo. I need to insert a new
    cast in about 2
    > hundred movies... Thanks
    There used to be an Xtra by Penworks (I think) that could do
    that, but it
    seems to be gone now. You could look around the Mile High
    Table O'Products
    http://www.updatestage.com/external/the-mile-high-table-oproducts.html
    Speaking of updateStage, I seem to recall Gretchen McDowell
    (former owner)
    mentioning a method you might try. I think it went something
    like:
    Save an external castLib to a different filename.
    Then use importFileInto to import that castLib to a member in
    a different
    castLib.
    Or maybe using new() to create a castLib member, then set its
    filename to the
    new external castLib.
    I never tried it and my memory fades fast, but try something
    along those
    lines.
    If that method doesn't work, you can use the vList Xtra to
    save/load
    everything that a castLib would hold and more.
    Mark A. Boyd
    Keep-On-Learnin' :)

Maybe you are looking for