Document not attached in DMS

Dear Team,
i am trying to upload a document in DMS through webdynpro...
document number is created but document is does not attached ... could any one resolve this problem.
thanks in advance.
Code & error screen shot is attached here .
method ONACTIONSUBMIT .
***file upload
DATA lo_el_context TYPE REF TO if_wd_context_element.
DATA ls_context TYPE wd_this->Element_context.
DATA lv_file TYPE wd_this->Element_context-file.
data lv_file1 TYPE xstring .
*   get element via lead selection
lo_el_context = wd_context->get_element( ).
*   get single attribute
lo_el_context->get_attribute( EXPORTING name =  `FILE` IMPORTING value = lv_file1 ).
**data declaratioins
DATA: ls_draw TYPE draw,
ls_api_ctrl TYPE cvapi_api_control,
ls_message TYPE messages,
lv_documentnumber TYPE doknr,
lv_storage_cat TYPE cv_storage_cat,
lv_size TYPE i,
*          ls_bindata TYPE zst_ts_Raw_line,
*          lt_bindata TYPE ztt_Hr_raw_line,
ls_drao TYPE drao,
lt_Drao TYPE TABLE OF drao,
lt_files TYPE cvapi_tbl_doc_files,
ls_files TYPE cvapi_doc_file ,
LS_DRAT TYPE DMS_DB_DRAT ,
LT_DRAT TYPE TABLE OF DMS_DB_DRAT .
ls_draw-DOKAR = 'TST'.
ls_draw-dokvr = '00'.
ls_draw-doktl = '000'.
ls_draw-dwnam = sy-uname.
ls_draw-dokst = 'T1'.
LS_DRAT-dktxt = 'TEST' .
insert drat FROM ls_drat .
APPEND LS_DRAT TO LT_DRAT .
lv_storage_cat = 'DMS_C1_ST'.
ls_api_ctrl-tcode = 'CV01N'.
CALL FUNCTION 'CVAPI_DOC_CREATE'
EXPORTING
PS_DRAW                    =  ls_Draw
*                     PF_STATUSLOG               = ' '
*                     PF_REVLEVEL                =
PS_API_CONTROL             =  ls_Api_ctrl
*                     PF_FTP_DEST                = ' '
*                     PF_HTTP_DEST               = ' '
*                     PF_HOSTNAME                = ' '
*                     PF_CONTENT_PROVIDE         = ' '
IMPORTING
PSX_MESSAGE                = ls_message
*                     PFX_DOKAR                  =
PFX_DOKNR                  = lv_documentnumber
*                     PFX_DOKVR                  =
*                     PFX_DOKTL                  =
TABLES
*                     PT_DRAD_X                  =
PT_DRAT_X                  =  LT_DRAT
*                     PT_FILES_X                 =
*                     PT_COMP_X                  =
*                     PT_CONTENT                 =
*                     DOCUMENTDESCRIPTIONS       =
*data lv_file_b TYPE binary.
if ls_message-msg_type ca 'EA' .
ELSE.
LS_DRAW-doknr = lv_documentnumber.
insert draw FROM ls_draw.
ENDIF.
Data : thead type thead ,
lt_lines TYPE TABLE OF tline,
it_lines  TYPE  soli_tab ,
text1     TYPE  string ,
lines2 TYPE xstring .
CALL FUNCTION 'READ_TEXT'
EXPORTING
id       = 'ST'
language = sy-langu
NAME     = 'ZGOI'
OBJECT   = 'TEXT'
IMPORTING
HEADER   = thead
TABLES
lines    = lt_lines.
CALL FUNCTION 'SX_TABLE_LINE_WIDTH_CHANGE'
EXPORTING
line_width_dst              = 255
TABLES
content_in                  = lt_lines
content_out                 = it_lines
EXCEPTIONS
err_line_width_src_too_long = 1
err_line_width_dst_too_long = 2
err_conv_failed             = 3
OTHERS                      = 4.
REPLACE ALL OCCURRENCES OF '*' IN TABLE it_lines WITH ' '.
CALL FUNCTION 'CONVERT_TABLE_TO_STRING'
EXPORTING
i_tabline_length = 132
IMPORTING
e_string         = text1
TABLES
it_table         = it_lines.
CALL FUNCTION 'SCMS_STRING_TO_XSTRING'
EXPORTING
text   = text1
IMPORTING
buffer = lines2
EXCEPTIONS
FAILED = 1
OTHERS = 2.
data : lt_bindata  type table of x255 ,
ls_bindata type x255 .
CALL FUNCTION 'SCMS_XSTRING_TO_BINARY'
EXPORTING
BUFFER                = lines2
*                APPEND_TO_TABLE       = ' '
IMPORTING
OUTPUT_LENGTH         = lv_size
TABLES
BINARY_TAB            = lt_bindata
loop at lt_bindata INTO ls_Bindata.
ls_drao-orblk = ls_bindata.
ls_drao-orln =  lv_size.
ls_drao-dokar = ls_Draw-dokar.
ls_drao-doknr = lv_documentnumber.
ls_drao-dokvr = ls_draw-dokvr.
ls_drao-doktl = ls_drao-doktl.
ls_drao-appnr = '1'.
*      INSERT drao FROM ls_drao .
APPEND ls_drao to lt_drao.
*      CLEAR ls_drao .
ENDLOOP .
CALL FUNCTION 'CV120_DOC_GET_APPL'
EXPORTING
PF_FILE          = 'test.doc'
IMPORTING
PFX_DAPPL        = ls_files-dappl .
*         TABLES
*           PTX_TDWP         =
ls_files-appnr = '1' .
ls_files-filename = 'test' .
ls_files-updateflag = 'I' .
LS_files-langu = sy-langu.
ls_Files-storage_cat = 'DMS_C1_ST' .
ls_files-description = 'test'.
APPEND ls_files to lt_files.
CALL FUNCTION 'BAPI_TRANSACTION_COMMIT'
EXPORTING
wait = 'X'.
CALL FUNCTION 'CVAPI_DOC_CHECKIN'
EXPORTING
PF_DOKAR                 = ls_Draw-dokar
PF_DOKNR                 = lv_documentnumber
PF_DOKVR                 = ls_draw-dokvr
PF_DOKTL                 = ls_draw-doktl
*           PS_DOC_STATUS            =
*           PF_FTP_DEST              = 'D:\a'
PF_HTTP_DEST             = 'SAPHTTPA'
*           PF_HOSTNAME              = ' '
PS_API_CONTROL           =  ls_api_ctrL
*           PF_REPLACE               = ' '
PF_CONTENT_PROVIDE       = 'TBL'
IMPORTING
PSX_MESSAGE              = ls_message
TABLES
PT_FILES_X               = lt_files
*           PT_COMP_X               =
PT_CONTENT               =  lt_drao .
Commit WORK.
endmethod.

Have you checked to see that the SAP user has rights to the folder that you are trying to write to?
Neal

Similar Messages

  • Sending DMS Document as Attachment thru e-mail

    Hi,
    I am attaching the DMS document in purchase order & I am sending the PO thru email to vendor.But while doing so the attached document shuld be sent as attachment But in my present config setting it is not doing so.
    Pl suggest
    Rgds

    Hi,
    With my solution you will be able to send the PO and all link document in a mail at the same time you print it.
    First Step
    Create a new message with transaction NACE , this message will use support 8 ( external program) . The print program should be a copy the same as for printing your PO but add a new form entry inside.
    Second step .
    In the print program , create the new form entry and add the code . bellow a sample code i wrote . Some object are specific so you have to create it . If you need i can give you te detail of thoses objects.
      DATA : bin_file       TYPE xstring ,
             bin_filesize   TYPE i ,
             w_objky        TYPE objky,
             my_sender      TYPE zcl_send_mail=>ty_sender,
             mail_line      TYPE LINE OF soli_tab,
             w_attsub       TYPE so_obj_des.
      DATA: l_druvo TYPE t166k-druvo,
            l_nast  TYPE nast,
            l_from_memory,
            l_doc   TYPE meein_purchase_doc_print.
      DATA : v_parvw2   TYPE nast-parvw,
             v_parnr2   TYPE nast-parnr,
             v_lifnr    TYPE konv-lifnr,
             v_adrnr    TYPE lfa1-adrnr,
             st_address TYPE addr1_sel,
             st_sadr    TYPE sadr.
    * definition des tables internes
      DATA : it_otf   TYPE STANDARD TABLE OF itcoo ,
             it_line  TYPE STANDARD TABLE OF tline ,
             it_fill  TYPE STANDARD TABLE OF drad,
             it_new   TYPE STANDARD TABLE OF drad ,
             itb_xtkomv TYPE STANDARD TABLE OF komv WITH HEADER LINE,
             itb_xekpo  TYPE STANDARD TABLE OF ekpo WITH HEADER LINE,
             it_ekpo  TYPE HASHED TABLE OF ekpo WITH UNIQUE KEY ebeln ebelp ,
             it_draw  TYPE HASHED TABLE OF draw WITH UNIQUE KEY dokar
                                                                doknr
                                                                dokvr
                                                                doktl ,
             it_drat  TYPE HASHED TABLE OF drat WITH UNIQUE KEY dokar
                                                                doknr
                                                                dokvr
                                                                doktl
                                                                langu,
             my_attachement_list TYPE zcl_send_mail=>attachement_list,
             my_recipient_list   TYPE zcl_send_mail=>recipient_list  ,
             it_hexa TYPE solix_tab ,
             it_body TYPE soli_tab.
      CONSTANTS : c_object TYPE dokob VALUE 'EKPO' .
      FIELD-SYMBOLS : <ekpo>   TYPE ekpo,
                      <drad>   TYPE drad ,
                      <draw>   TYPE draw,
                      <drat>   TYPE drat .
      DATA : my_mail TYPE REF TO zcl_send_mail . => Specific object
    ** Here write your own code like you print the PO form in order to be able to retrieve it from memory
    ** don't send it to the printer only in spool .
    * Get OTF from Memory.
      CALL FUNCTION 'READ_OTF_FROM_MEMORY'
        EXPORTING
          memory_key   = nast-objky
        TABLES
          otf          = it_otf
        EXCEPTIONS
          memory_empty = 1.
      CHECK sy-subrc EQ 0.
    * Transform OTF into PDF
      CALL FUNCTION 'CONVERT_OTF'
        EXPORTING
          format                = 'PDF'
        IMPORTING
          bin_filesize          = bin_filesize
          bin_file              = bin_file
        TABLES
          otf                   = it_otf
          lines                 = it_line
        EXCEPTIONS
          err_max_linewidth     = 1
          err_format            = 2
          err_conv_not_possible = 3
          err_bad_otf           = 4.
    * Transform PDF as Binary Table
      it_hexa = cl_document_bcs=>xstring_to_solix( ip_xstring = bin_file ).
    * Add PO as PDF file to the mail
      zcl_send_mail=>add_attachement_to_list(
        EXPORTING
          type                       = 'PDF'
          subject                    = 'PO'
          content_hexa               = it_hexa
        CHANGING
          attachement_list           = my_attachement_list
        EXCEPTIONS
          no_content_for_attachement = 1
          no_application_type        = 2 ).
    * Get PO Item because DIR are link to item only.
      SELECT * FROM ekpo
        APPENDING CORRESPONDING FIELDS OF TABLE it_ekpo
        WHERE ebeln = nast-objky.
    * Search for DIR .
      FREE : it_draw , it_drat .
      LOOP AT it_ekpo ASSIGNING <ekpo>.
        FREE : it_fill , it_new.
        CONCATENATE <ekpo>-ebeln <ekpo>-ebelp INTO w_objky.
        CALL FUNCTION 'CV140_SELECT_DRAD_DOCUMENTS'
          EXPORTING
            pf_key       = w_objky
            pf_object    = c_object
          TABLES
            pt_fill_drad = it_fill
            pt_new_drad  = it_new
          EXCEPTIONS
            no_document  = 1.
    * For each DIR , retrieve physical content
        LOOP AT it_fill ASSIGNING <drad>.
          IF <draw> IS ASSIGNED.
            UNASSIGN <draw>.
          ENDIF.
          READ TABLE it_draw ASSIGNING <draw>
             WITH TABLE KEY dokar = <drad>-dokar
                            doknr = <drad>-doknr
                            dokvr = <drad>-dokvr
                            doktl = <drad>-doktl.
          IF NOT <draw> IS ASSIGNED.
            SELECT * FROM draw
               APPENDING CORRESPONDING FIELDS OF TABLE it_draw
               WHERE dokar = <drad>-dokar
                 AND doknr = <drad>-doknr
                 AND dokvr = <drad>-dokvr
                 AND doktl = <drad>-doktl.
            SELECT * FROM drat
               APPENDING CORRESPONDING FIELDS OF TABLE it_drat
               WHERE dokar = <drad>-dokar
                 AND doknr = <drad>-doknr
                 AND dokvr = <drad>-dokvr
                 AND doktl = <drad>-doktl
                 AND langu = sy-langu.
            READ TABLE it_draw ASSIGNING <draw>
               WITH TABLE KEY dokar = <drad>-dokar
                              doknr = <drad>-doknr
                              dokvr = <drad>-dokvr
                              doktl = <drad>-doktl.
          ENDIF.
          CHECK <draw> IS ASSIGNED.
          READ TABLE it_drat ASSIGNING <drat>
                   WITH TABLE KEY dokar = <drad>-dokar
                                  doknr = <drad>-doknr
                                  dokvr = <drad>-dokvr
                                  doktl = <drad>-doktl
                                  langu = sy-langu.
          IF <drat> IS ASSIGNED.
            w_attsub = <drat>-dktxt.
          ELSE.
            CONCATENATE <drad>-dokar <drad>-doknr <drad>-dokvr <drad>-doktl
               INTO w_attsub SEPARATED BY '/'.
          ENDIF.
          PERFORM add_fid_to_attachement USING <draw>
                                               w_attsub
                                      CHANGING my_attachement_list.
          CHECK <drat> IS ASSIGNED.
          UNASSIGN <drat>.
        ENDLOOP.
        LOOP AT it_new ASSIGNING <drad>.
          IF <draw> IS ASSIGNED.
            UNASSIGN <draw>.
          ENDIF.
          READ TABLE it_draw ASSIGNING <draw>
             WITH TABLE KEY dokar = <drad>-dokar
                            doknr = <drad>-doknr
                            dokvr = <drad>-dokvr
                            doktl = <drad>-doktl.
          IF NOT <draw> IS ASSIGNED.
            SELECT * FROM draw
               APPENDING CORRESPONDING FIELDS OF TABLE it_draw
               WHERE dokar = <drad>-dokar
                 AND doknr = <drad>-doknr
                 AND dokvr = <drad>-dokvr
                 AND doktl = <drad>-doktl.
            SELECT * FROM drat
               APPENDING CORRESPONDING FIELDS OF TABLE it_drat
               WHERE dokar = <drad>-dokar
                 AND doknr = <drad>-doknr
                 AND dokvr = <drad>-dokvr
                 AND doktl = <drad>-doktl
                 AND langu = sy-langu.
            READ TABLE it_draw ASSIGNING <draw>
               WITH TABLE KEY dokar = <drad>-dokar
                              doknr = <drad>-doknr
                              dokvr = <drad>-dokvr
                              doktl = <drad>-doktl.
          ENDIF.
          CHECK <draw> IS ASSIGNED.
          READ TABLE it_drat ASSIGNING <drat>
                   WITH TABLE KEY dokar = <drad>-dokar
                                  doknr = <drad>-doknr
                                  dokvr = <drad>-dokvr
                                  doktl = <drad>-doktl
                                  langu = sy-langu.
          IF <drat> IS ASSIGNED.
            w_attsub = <drat>-dktxt.
          ELSE.
            CONCATENATE <drad>-dokar <drad>-doknr <drad>-dokvr <drad>-doktl
               INTO w_attsub SEPARATED BY '/'.
          ENDIF.
          PERFORM add_fid_to_attachement USING <draw>
                                               w_attsub
                                      CHANGING my_attachement_list.
          CHECK <drat> IS ASSIGNED.
          UNASSIGN <drat>.
        ENDLOOP.
      ENDLOOP.
    * Send mail to PO creator
    * Sender
    my_sender-mail = '****' . => Set the sender mail adress
    * Add Recipient
      zcl_send_mail=>add_recipient_to_list(
        EXPORTING
          uname               = sy-uname
        CHANGING
          recipient_list      = my_recipient_list
        EXCEPTIONS
          no_recipient_to_add = 1 ).
    * Mail body
      mail_line = 'PO by mail with Attachment'.
      APPEND mail_line TO it_body.
    * Create send request
      CREATE OBJECT my_mail.
    * Send Mail
      my_mail->send_mail(
          sender                      = my_sender
          mail_subject                = 'E-mail PO'
          mail_body                   = it_body
          recipient_list              = my_recipient_list
          attachement_list            = my_attachement_list ).
    Bellow the code for the routine ADD_FID_TO_ATTACHEMENT
      DATA : w_cout         TYPE dms_checkout_def,
             w_dttrg        TYPE dttrg, "Name of data carrier
             w_docfile      TYPE dms_doc_file,
             w_dappl        TYPE dappl, "Application
             w_tabix        TYPE i ,
             w_tdwa         TYPE tdwa ,
             w_phio         TYPE dms_phio,
             w_frontend TYPE dms_frontend_data.
      DATA : it_drao  TYPE STANDARD TABLE OF drao WITH HEADER LINE,
             it_kpro  TYPE dms_tbl_file .
      CONSTANTS : "c_print_option TYPE apptp VALUE '3', "Print option
                  c_hostname TYPE ntadr VALUE 'DEFAULT', "Hostname
                  c_type TYPE typdt VALUE 'PC', "Type
                  c_system TYPE char4 VALUE 'WN32'. "System
      FIELD-SYMBOLS : <kpro>   TYPE LINE OF dms_tbl_file,
                      <phio>   TYPE LINE OF dms_tbl_phio .
      CLEAR : w_tdwa .
    * Check if for DIR type KPRO is used
      CALL FUNCTION 'CV200_DB_TDWA_SELECT'
        EXPORTING
          pf_dokar  = in_draw-dokar
        IMPORTING
          psx_tdwa  = w_tdwa
        EXCEPTIONS
          not_found = 1.
      w_frontend-frontend_type = c_type. "'PC'.
      w_frontend-hostname      = c_hostname. "'DEFAULT'.
      w_frontend-winsys        = c_system.                      "'WN32'.
      w_frontend-platform      = 0.
      w_cout-comp_get          = abap_true.
      w_cout-kpro_use          = w_tdwa-kpro_use.
      w_cout-batchmode         = abap_true.
      w_cout-content_provide   = 'TBL'.
      CALL FUNCTION 'CV120_KPRO_MASTER_DATA_GET'
        EXPORTING
          pf_dokar  = in_draw-dokar
          pf_doknr  = in_draw-doknr
          pf_dokvr  = in_draw-dokvr
          pf_doktl  = in_draw-doktl
        TABLES
          ptx_data  = it_kpro
        EXCEPTIONS
          not_found = 1
          error     = 2.
      CASE w_tdwa-kpro_use.
        WHEN abap_true.
          CALL FUNCTION 'CV120_KPRO_MASTER_DATA_GET'
            EXPORTING
              pf_dokar  = in_draw-dokar
              pf_doknr  = in_draw-doknr
              pf_dokvr  = in_draw-dokvr
              pf_doktl  = in_draw-doktl
            TABLES
              ptx_data  = it_kpro
            EXCEPTIONS
              not_found = 1
              error     = 2.
          w_frontend-frontend_type = 'KP'.
          LOOP AT it_kpro ASSIGNING <kpro>.
            FREE it_drao.
            LOOP AT <kpro>-tbl_phios ASSIGNING <phio>.
              MOVE-CORRESPONDING <phio> TO w_phio.
              CALL FUNCTION 'CV120_DOC_CHECKOUT_VIEW'
                EXPORTING
                  ps_cout_def = w_cout
                  ps_doc_file = w_docfile
                  ps_draw     = in_draw
                  ps_phio     = w_phio
                  ps_frontend = w_frontend
                TABLES
                  ptx_content = it_drao
                EXCEPTIONS
                  error       = 1.
              PERFORM transform_fid_to_binary TABLES it_drao
                                           USING <kpro>-dappl
                                                 in_attsub
                                          CHANGING attachement_list .
            ENDLOOP.
          ENDLOOP.
        WHEN abap_false.
          DO 2 TIMES.
            CLEAR : w_docfile .
            FREE : it_drao.
            w_tabix = sy-index.
            w_docfile-fileno = w_tabix.
            CASE w_tabix.
              WHEN 1.
                w_dappl = in_draw-dappl.
                w_dttrg = in_draw-dttrg.
              WHEN 2.
                w_dappl = in_draw-dappl1.
                w_dttrg = in_draw-dttrg1.
            ENDCASE.
            w_docfile-dappl = w_dappl.
            w_docfile-dttrg = w_dttrg.
            CALL FUNCTION 'CV120_DOC_CHECKOUT'
              EXPORTING
                ps_cout_def      = w_cout
                ps_draw          = in_draw
                ps_doc_file      = w_docfile
              TABLES
                ptx_drao         = it_drao
              EXCEPTIONS
                error            = 1
                OTHERS           = 2.
            PERFORM transform_fid_to_binary TABLES it_drao
                                       USING w_dappl
                                             in_attsub
                                      CHANGING attachement_list .
          ENDDO.
      ENDCASE.
    Bellow the code for routine TRANSFORM_FID_TO_BINARY
      FIELD-SYMBOLS : <drao>   TYPE drao ,
                      <source> TYPE x ,
                      <dest>   TYPE x,
                      <hexa>   TYPE solix .
      DATA :   w_filelong     TYPE i ,
               w_long         TYPE i,
               w_longdes      TYPE i  .
      DATA :   it_hexa  TYPE solix_tab .
      CHECK it_drao[] IS NOT INITIAL.
    * Transform Physical document into Binary
      LOOP AT it_drao ASSIGNING <drao>.
        IF w_filelong IS INITIAL.
          w_filelong = <drao>-orln.
        ENDIF.
        ASSIGN <drao>-orblk TO <source>.
        DESCRIBE FIELD <source> LENGTH w_long IN BYTE MODE.
        CLEAR w_longdes.
        WHILE w_long GT 0.
          ASSIGN <source>+w_longdes(w_long) TO <source>.
          APPEND INITIAL LINE TO it_hexa ASSIGNING <hexa>.
          ASSIGN <hexa>-line TO <dest>.
          DESCRIBE FIELD <dest> LENGTH w_longdes IN BYTE MODE.
          MOVE <source> TO <dest>.
          w_filelong = w_filelong - w_longdes.
          w_long = w_long - w_longdes.
          CHECK w_filelong LE w_longdes.
          IF w_long NE 0.
            w_long = w_filelong.
          ENDIF.
          CHECK w_long LE 0.
          w_long = 0.
        ENDWHILE.
      ENDLOOP.
    * Add file to list of attachment
      CHECK NOT it_hexa[] IS INITIAL.
      zcl_send_mail=>add_attachement_to_list(
        EXPORTING
          type                       = w_dappl
          subject                    = in_attsub
          content_hexa               = it_hexa
        CHANGING
          attachement_list           = attachement_list
        EXCEPTIONS
          no_content_for_attachement = 1
          no_application_type        = 2 ).
    In my complete solution, an additionnal screen have been define in the header of PO to allow user managing recipient list . If you need so i can give you the code also .
    Let me know.
    Best regards

  • DMS- How to know that the documents are attached??

    Hello Guys,
    This is pertaining to DMS,
    We attach documents and link it to various object links.
    Later when we get into that transaction we retrive the attached documents.
    Suppose i attached the DIR to MARA (in object links) , and until i forcely go to document data in T code MM02   i cant know that documents are attached.....??
    My question is how any one will know that the documents are linked thru DMS to Various object links in those transactions.
    Is my question is valid......just put your comments...
    Regards,
    Murali.S
    Points will be awarded for sure.

    Guys,
    Thanks first-of all...
    But i think i should be still precise little bit more....
    Just consider a situation where u have 2 users ....A & B,both are in different location.just imagine user B dont have any contact to(from) User A
    User A: creates the various document info record and attach to Material master .
    User B  is working in another plant . How user B will know that to this material documents are attached,
    He(USER B) should have already got the information that documents are attached  else he should go and check document data Tab forcing himself......
    I felt that every time user has to check as a practice if any documents are attached thru Tab EXTRA'S but this may be critical...not every one will do that....some time u may forget to check the presence.
    Is my question valid......??!?!?

  • Why can I not attach a document to an email? Every time I want to send an email with a document attached to it, an error notice pops out. It tell me that the file is being used even when  it is not. How can I fix this issue?

    Why can I not attach a document to an email? Every time I want to send an email with a document attached to it, an error notice pops out. It tells me that the file is being used even when  iall other programs are closed. How can I fix this issue?

    Thanks Jeff, I was not aware that a template could be multi-page.  (All the existing templates were 1 page)
    But it worked, saving me some steps.  When I was finished I renamed the document, and locked it.
    Then tried to save it but  could not because it was locked.  I closed it, went to my Spread Sheet Folder ,
    to find it, it was not there.  The Finder could not find it either.
    So I start over again.
    I opened up Numbers and it showed my personal Numbers template folder, it contained both my new 
    original 4 page template and the vanished saved document!
    I tried to delete the template containing these document data and could not - I had to go to the Library/Application Support/Numbers to physically remove it from this folder. Then I started over again.  I Finally found out how to make it work: I can now "save as", and then lock, and it will go to place where I want it to be saved and locked.
    The secret is: Click on the document title in the menu bar, and it opens up  "Save as...", which works the same as in OS 10.4.11, and you can pick the place you want for saving.  Once done that, you can then lock the document in the same pull down menu, and then close it.
    I also found later that I can delete a template from its folder, by letting Numbers open the templates,
    clicking on the one I want to remove, then go to the "Numbers Menu/File/Move to...", select "Desktop"
    and from there the selected template can then be thrown into the Trash from there.
    It appears now that the real fault of the Numbers software is that the "Save as" command is not available in the "Edit" or "File" pull-down menus, but hidden behind the title of the document.

  • Attached document not opening in FB03.

    Hi ,
    I am using an error while checking uploaded attchment in the transaction FB03.
    When any file(ex. pdf) is uploaded from presentation server, it is uploaded successfully and able to see the content .
    But when the same file is downloaded on the application server path and then try to see the content, it gives the errror message .
    The file is attached to the document with the FM 'SCHM_HTTP_CREATE_FILES' and then attched to the document with FM
    'ARCHIV_CONNECTION_INSERT'. The file is seen in attachent list . But when trying to open the file , getting the below erro.
    HTTP error: 404 Not Found  Document not found: Document '537B79574C7C0173E10080000A43209B' not
    found on server 'contracts_dev'.
    Thanks in advance ..

    Have you checked to see that the SAP user has rights to the folder that you are trying to write to?
    Neal

  • HELP!!!! I have spent hours trying to find out how to embed an image with a link or a Microsoft Word document with a hyperlink built within the document -- not as an attachment! Does ANYONE know the secret? Can it be done, or not! My PC clients do it.

    HELP!!!! I have spent hours trying to find out how to embed an image with a link, or embed a Microsoft Word document with a hyperlink built within the document -- not as an attachment into my email -- but where it shows as the email content when opened! Does ANYONE know the secret? Can it be done, or not? My PC clients do it all the time easily. Then I want to be able to send the embedded image/document (not as an attachment, but visable within the email when opened) to many email contacts at once, BUT the individuals receiveing them DO NOT SEE the other email contacts. Cannot seem to be able to find anything on being able to do these 2 tasks.PLEASE, SOMEONE, HELP!!!

    Don't know if this applies to Lion, but read here:
    http://www.makeuseof.com/tag/create-html-announcement-mail-iweb-mac/

  • Can not attach documents or files to email along with lots of other problems

    I can not attach any files or documents to an email. I am working on a Mac OS10.4. Have tried doing the F9 button as suggested in the help section and it totally froze my computer up to the point of having to unplug it and start my whole computer up. Also we can not finishing downloading Firefox 3.6.13

    Who will answer my question? and when?

  • Original Document is deleted from DMS

    Dear Team,
    Document (Excel file) was initially attached in DMS against WBS.
    The document in DMS is opened for editing and Data was saved in the excel and subsequently when the application is closed the following message appears.
    In this screen when we press u201CNou201D and then press u201CSaveu201D button u2013 the following error happens
    1. Original file is deleted in the physical location.
    2. Document stored in the DMS system also gets deleted.
    Regards,
    Rajan

    Dear Pradeep,
    By Using the T-Code CV02N, we are not filling any details in the Change document scree, which asks for "Data Carrier" & "Original "
    Subsequently the relevant file is opened in the application (excel), we are doing the change and saving the file,
    "Change in Original " Dialogbox appears, with Original is changed - Do you want to save the original with "Yes" & "No".
    When we press "No", and press teh "Save" option (in SAP Screen),  An error message appears in status bar,
    Original file is deleted in the physical location C:\Documents and Settings\raghavan_s\Desktop\Vestas-Supply.xls
    And we try to access the by thru CV04N,
    Error appears in status bar,
    File C:\Documents and Settings\raghavan_s\Desktop\Vestas-Supply.xls could not be accessed
    Regards,
    Rajan

  • XML Publisher does not attached pdf file java.lang.StackOverflowError

    Hi there
    I have Bursting program which email the pdf report, some times when I have all of data the report does not attached and send to the user, I get following messages in log file.
    XML Publisher 5.6 Build 45
    Oracle 11.5.10.2
    Set Bursting parameters..
    Start bursting process..
    [081409_034350119][oracle.apps.xdo.batch.bursting.ProcessCoreDocument][EXCEPTION] java.lang.reflect.InvocationTargetException
         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         at java.lang.reflect.Method.invoke(Method.java:597)
         at oracle.apps.xdo.common.xml.XSLT10gR1.invokeProcessXSL(XSLT10gR1.java:624)
         at oracle.apps.xdo.common.xml.XSLT10gR1.transform(XSLT10gR1.java:421)
         at oracle.apps.xdo.common.xml.XSLT10gR1.transform(XSLT10gR1.java:233)
         at oracle.apps.xdo.common.xml.XSLTWrapper.transform(XSLTWrapper.java:177)
         at oracle.apps.xdo.template.fo.util.FOUtility.generateFO(FOUtility.java:1044)
         at oracle.apps.xdo.template.fo.util.FOUtility.generateFO(FOUtility.java:997)
         at oracle.apps.xdo.template.fo.util.FOUtility.generateFO(FOUtility.java:212)
         at oracle.apps.xdo.template.FOProcessor.createFO(FOProcessor.java:1657)
         at oracle.apps.xdo.template.FOProcessor.generate(FOProcessor.java:967)
         at oracle.apps.xdo.batch.bursting.ProcessDocument.processTemplate(ProcessDocument.java:321)
         at oracle.apps.xdo.batch.bursting.ProcessCoreDocument.processLayout(ProcessCoreDocument.java:112)
         at oracle.apps.xdo.batch.BurstingProcessorEngine.addDocument2Queue(BurstingProcessorEngine.java:3206)
         at oracle.apps.xdo.batch.BurstingProcessorEngine.createBurstingDocument(BurstingProcessorEngine.java:2112)
         at oracle.apps.xdo.batch.BurstingProcessorEngine.burstDocument(BurstingProcessorEngine.java:2054)
         at oracle.apps.xdo.batch.BurstingProcessorEngine.globalDataEndElement(BurstingProcessorEngine.java:1965)
         at oracle.apps.xdo.batch.BurstingProcessorEngine.endElement(BurstingProcessorEngine.java:1124)
         at oracle.xml.parser.v2.XMLContentHandler.endElement(XMLContentHandler.java:196)
         at oracle.xml.parser.v2.NonValidatingParser.parseElement(NonValidatingParser.java:1212)
         at oracle.xml.parser.v2.NonValidatingParser.parseRootElement(NonValidatingParser.java:301)
         at oracle.xml.parser.v2.NonValidatingParser.parseDocument(NonValidatingParser.java:268)
         at oracle.xml.parser.v2.XMLParser.parse(XMLParser.java:201)
         at oracle.apps.xdo.batch.BurstingProcessorEngine.burstingRequest(BurstingProcessorEngine.java:2153)
         at oracle.apps.xdo.batch.BurstingProcessorEngine.burstingEndElement(BurstingProcessorEngine.java:1802)
         at oracle.apps.xdo.batch.BurstingProcessorEngine.endElement(BurstingProcessorEngine.java:1127)
         at oracle.xml.parser.v2.XMLContentHandler.endElement(XMLContentHandler.java:196)
         at oracle.xml.parser.v2.NonValidatingParser.parseElement(NonValidatingParser.java:1212)
         at oracle.xml.parser.v2.NonValidatingParser.parseRootElement(NonValidatingParser.java:301)
         at oracle.xml.parser.v2.NonValidatingParser.parseDocument(NonValidatingParser.java:268)
         at oracle.xml.parser.v2.XMLParser.parse(XMLParser.java:227)
         at oracle.apps.xdo.batch.BurstingProcessorEngine.burstingConfigParser(BurstingProcessorEngine.java:959)
         at oracle.apps.xdo.batch.BurstingProcessorEngine.process(BurstingProcessorEngine.java:903)
         at oracle.apps.xdo.oa.cp.JCP4XDOBurstingEngine.runProgram(JCP4XDOBurstingEngine.java:269)
         at oracle.apps.fnd.cp.request.Run.main(Run.java:161)
    Caused by: java.lang.StackOverflowError
         at sun.text.normalizer.NormalizerBase.getNextNorm32(NormalizerBase.java:1268)
         at sun.text.normalizer.NormalizerBase.access$1100(NormalizerBase.java:127)
         at sun.text.normalizer.NormalizerBase$IsNextNFDSafe.isNextBoundary(NormalizerBase.java:1306)
         at sun.text.normalizer.NormalizerBase.findNextIterationBoundary(NormalizerBase.java:1359)
         at sun.text.normalizer.NormalizerBase.next(NormalizerBase.java:1436)
         at sun.text.normalizer.NormalizerBase.nextNormalize(NormalizerBase.java:1473)
         at sun.text.normalizer.NormalizerBase.next(NormalizerBase.java:797)
         at java.text.CollationElementIterator.next(CollationElementIterator.java:189)
         at java.text.RuleBasedCollator.compare(RuleBasedCollator.java:367)
         at oracle.xdo.parser.v2.XSLSort.compareObjects(XSLSort.java:500)
         at oracle.xdo.parser.v2.XSLSort.partitionIt(XSLSort.java:463)
         at oracle.xdo.parser.v2.XSLSort.quicksortObjects(XSLSort.java:411)
         at oracle.xdo.parser.v2.XSLSort.quicksortObjects(XSLSort.java:413)
         at oracle.xdo.parser.v2.XSLSort.quicksortObjects(XSLSort.java:413)
         at oracle.xdo.parser.v2.XSLSort.quicksortObjects(XSLSort.java:413)
         at oracle.xdo.parser.v2.XSLSort.quicksortObjects(XSLSort.java:413)
         at oracle.xdo.parser.v2.XSLSort.quicksortObjects(XSLSort.java:413)
         at oracle.xdo.parser.v2.XSLSort.quicksortObjects(XSLSort.java:413)
         at oracle.xdo.parser.v2.XSLSort.quicksortObjects(XSLSort.java:413)
         at oracle.xdo.parser.v2.XSLSort.quicksortObjects(XSLSort.java:413)
         at oracle.xdo.parser.v2.XSLSort.quicksortObjects(XSLSort.java:413)
         at oracle.xdo.parser.v2.XSLSort.quicksortObjects(XSLSort.java:413)
         at oracle.xdo.parser.v2.XSLSort.quicksortObjects(XSLSort.java:413)
         at oracle.xdo.parser.v2.XSLSort.quicksortObjects(XSLSort.java:413)
         at oracle.xdo.parser.v2.XSLSort.quicksortObjects(XSLSort.java:413)
         at oracle.xdo.parser.v2.XSLSort.quicksortObjects(XSLSort.java:413)
    [081409_034350129][][EXCEPTION] Error while generating the Document...
    [081409_034350160][][EXCEPTION] java.lang.reflect.InvocationTargetException
         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         at java.lang.reflect.Method.invoke(Method.java:597)
         at oracle.apps.xdo.common.xml.XSLT10gR1.invokeProcessXSL(XSLT10gR1.java:624)
         at oracle.apps.xdo.common.xml.XSLT10gR1.transform(XSLT10gR1.java:421)
         at oracle.apps.xdo.common.xml.XSLT10gR1.transform(XSLT10gR1.java:233)
         at oracle.apps.xdo.common.xml.XSLTWrapper.transform(XSLTWrapper.java:177)
         at oracle.apps.xdo.template.fo.util.FOUtility.generateFO(FOUtility.java:1044)
         at oracle.apps.xdo.template.fo.util.FOUtility.generateFO(FOUtility.java:997)
         at oracle.apps.xdo.template.fo.util.FOUtility.generateFO(FOUtility.java:212)
         at oracle.apps.xdo.template.FOProcessor.createFO(FOProcessor.java:1657)
         at oracle.apps.xdo.template.FOProcessor.generate(FOProcessor.java:967)
         at oracle.apps.xdo.batch.bursting.ProcessDocument.processTemplate(ProcessDocument.java:321)
         at oracle.apps.xdo.batch.bursting.ProcessCoreDocument.processLayout(ProcessCoreDocument.java:112)
         at oracle.apps.xdo.batch.BurstingProcessorEngine.addDocument2Queue(BurstingProcessorEngine.java:3206)
         at oracle.apps.xdo.batch.BurstingProcessorEngine.createBurstingDocument(BurstingProcessorEngine.java:2112)
         at oracle.apps.xdo.batch.BurstingProcessorEngine.burstDocument(BurstingProcessorEngine.java:2054)
         at oracle.apps.xdo.batch.BurstingProcessorEngine.globalDataEndElement(BurstingProcessorEngine.java:1965)
         at oracle.apps.xdo.batch.BurstingProcessorEngine.endElement(BurstingProcessorEngine.java:1124)
         at oracle.xml.parser.v2.XMLContentHandler.endElement(XMLContentHandler.java:196)
         at oracle.xml.parser.v2.NonValidatingParser.parseElement(NonValidatingParser.java:1212)
         at oracle.xml.parser.v2.NonValidatingParser.parseRootElement(NonValidatingParser.java:301)
         at oracle.xml.parser.v2.NonValidatingParser.parseDocument(NonValidatingParser.java:268)
         at oracle.xml.parser.v2.XMLParser.parse(XMLParser.java:201)
         at oracle.apps.xdo.batch.BurstingProcessorEngine.burstingRequest(BurstingProcessorEngine.java:2153)
         at oracle.apps.xdo.batch.BurstingProcessorEngine.burstingEndElement(BurstingProcessorEngine.java:1802)
         at oracle.apps.xdo.batch.BurstingProcessorEngine.endElement(BurstingProcessorEngine.java:1127)
         at oracle.xml.parser.v2.XMLContentHandler.endElement(XMLContentHandler.java:196)
         at oracle.xml.parser.v2.NonValidatingParser.parseElement(NonValidatingParser.java:1212)
         at oracle.xml.parser.v2.NonValidatingParser.parseRootElement(NonValidatingParser.java:301)
         at oracle.xml.parser.v2.NonValidatingParser.parseDocument(NonValidatingParser.java:268)
         at oracle.xml.parser.v2.XMLParser.parse(XMLParser.java:227)
         at oracle.apps.xdo.batch.BurstingProcessorEngine.burstingConfigParser(BurstingProcessorEngine.java:959)
         at oracle.apps.xdo.batch.BurstingProcessorEngine.process(BurstingProcessorEngine.java:903)
         at oracle.apps.xdo.oa.cp.JCP4XDOBurstingEngine.runProgram(JCP4XDOBurstingEngine.java:269)
         at oracle.apps.fnd.cp.request.Run.main(Run.java:161)
    Caused by: java.lang.StackOverflowError
         at sun.text.normalizer.NormalizerBase.getNextNorm32(NormalizerBase.java:1268)
         at sun.text.normalizer.NormalizerBase.access$1100(NormalizerBase.java:127)
         at sun.text.normalizer.NormalizerBase$IsNextNFDSafe.isNextBoundary(NormalizerBase.java:1306)
         at sun.text.normalizer.NormalizerBase.findNextIterationBoundary(NormalizerBase.java:1359)
         at sun.text.normalizer.NormalizerBase.next(NormalizerBase.java:1436)
         at sun.text.normalizer.NormalizerBase.nextNormalize(NormalizerBase.java:1473)
         at sun.text.normalizer.NormalizerBase.next(NormalizerBase.java:797)
         at java.text.CollationElementIterator.next(CollationElementIterator.java:189)
         at java.text.RuleBasedCollator.compare(RuleBasedCollator.java:367)
         at oracle.xdo.parser.v2.XSLSort.compareObjects(XSLSort.java:500)
         at oracle.xdo.parser.v2.XSLSort.partitionIt(XSLSort.java:463)
         at oracle.xdo.parser.v2.XSLSort.quicksortObjects(XSLSort.java:411)
         at oracle.xdo.parser.v2.XSLSort.quicksortObjects(XSLSort.java:413)
         at oracle.xdo.parser.v2.XSLSort.quicksortObjects(XSLSort.java:413)
         at oracle.xdo.parser.v2.XSLSort.quicksortObjects(XSLSort.java:413)
         at oracle.xdo.parser.v2.XSLSort.quicksortObjects(XSLSort.java:413)
         at oracle.xdo.parser.v2.XSLSort.quicksortObjects(XSLSort.java:413)
    Bursting process complete..
    Generating Bursting Status Report..
    Thanks
    ASIM

    have to see the template.
    analyse in the order below.
    1. the xmlp version you have might not support some features you have in template, remove sorts in template and try, it should work
    2. there are latest patches, which has several features and performance enhancement above, 5.6.3+
    take a latest xmlp patch for this.
    3. other configuration for performance

  • When trying to upload a document or attach a document in an email Firefox gives me an error "Failed to load CTDFMRES.dll" and stops responding, I have no issues in any other browsers. And I am using Firefox 4, Fixes???

    When trying to upload a document or attach a document in an email Firefox gives me an error "Failed to load CTDFMRES.dll" and stops responding, I have no issues in any other browsers. And I am using Firefox 4, Fixes???

    You don't have to disable any addons or extentions!!!You guys are not going to believe this I figured out the problem it's really dumb...ok here goes the attachment uploader loads seperate so I got to thinking it's a popup so I went to options content and under block pop ups there is an option exceptions click on that and in the box type firefox.com and hit allow pow its fixed!!!!! :-)

  • F-44: The Re-document not appear available to do the clearing.

    Hi
    Experts
    Hi,
    We need help to understand what hapen with the consult of vendor XXXXX
    When we consult this vendor on transaction FK10N we see the information detailed on the attached file.
    But when I try to do the clearing and try the transaction F-44, the re-document not appear available to do the clearing.
    But when I try to do the clear vendor on F-44 the documents ( 4000000419   1700000135 and 1500000456 ) not appear and I not understand why?
    But this Document No's are seen in FBL1N as a Open Items and also as a Cleared Items, But not able to see in F-44
    4000000419    06/27/2011
    1700000135    07/14/2011
    1500000456    03/30/2011
    Could you please help me with this issue?
    Anil

    hI
    Friend,
    I Checked SE11 REGUP table, if the documents You don't see by F-44 are already contained into a payment proposal.
    If Yes, You should delete the F110 payment proposal to see them by F-44.
    I deleted the payment proposal, even though Iam not able to see the docuements in F-44. what to do?
    I Checked the table BSIK and Also BSAK it is showing this docu nos.
    Anil

  • Extended Payment Order with status 51 Application document not posted in IHC

    Dear Gurus,
    We are make an extended payment order (PAYEXT), through the transaction F110, and then when we want to see the IDOC (by Tx. WE02) we have the following error in the Inbound IDOC´s:
    IDoc: 0000000002179110 Status: Application document not posted
    Error Message: A transaction type could not be (uniquely) determined - IHC 0308
    We enter a payment method and payment method supplement in the proposal on F110.
    I don´t know whats the reason of the error. I hope you can help me please.
    Kind Regards,

    Hi Jayj,
    Thanks for your response. Sorry for the delay in responding you
    I make the following steps to get the error:
    1. I´ve created the invoice through FB60, on the company CO05.
    2. IThen I pay the invoice by F110, (I´m attaching the log of the payment).
    3. When I want to check by WE02 the IDOC the system generate the error message: a transaction type could not be determine. (I´m attaching the error message)
    Please I hope you can help me.
    Thanks a lot and kind regards,
    Ivan R. Menacho

  • Accounting document not showing in G/L -fbl3n

    Dear All,
    We are facing a problem n accounting document not showing in G/L FBL3N. when i saw in FB03 then it showing with all details including GL account. but when i go in FBL3N it was not showing. The document posted from payroll hra component. fb03 screen shot attached.
    Thanks,
    Mukesh

    Hi .
    Did you enter the correct parameter in FBl3n . Its looks liek this is related to Fiscal year 2013 and posted on 31.05.2013. .
    Can you please neter below parameters in FBl3n
    company code 1000
    GL account  42001021
    All item
    Posting date  31.05.2013 to 31.05.2013
    I am little bit confused  that your header of document not showing any Ledger group as well . can you please run FBL3n with above parameters and if it doesn't display  letus know .

  • In dreamweaver- why is my html index not attached to my css file?

    Why oh why is my html not attached to my css?
    <!-- my html is written below-->
    <head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1">
    <title>Untitled Document</title>
    <link href="boilerplate.css" rel="stylesheet" type="text/css">
    <link href="style.css" rel="stylesheet" type="text/css">
    <style type="text/css">
    </style>
    <script src="respond.min.js"></script>
    </head>
    <body>
    <body id="background">
      <div class="gridContainer clearfix">
      <div id="div1" class="fluid">Use Insert Panel for additional Fluid Grid Layout Elements. Note: All Fluid Layout tags must be contained within the "gridContainer" div tag.</div>
      </div>
    </body>
    </html>
    /*my CSS is written below*/
    @charset "UTF-8";
    /* CSS Document */
    #background {
      background-color: rgba(30,30,30,30.98);
      background-image: url('images/me_atsunsetbackground.JPG');
      background-repeat: repeat-y;
      margin-left: 50px;
      margin-top: 200px;
      margin-right: 50px;
      margin-bottom: 200px;

    attaching html to css wrote:
    I added the second image as you suggested but there is no scroll bar on the right and I can't see if it is below.
    Do you know what I do to see the scroll bar?
    Yep, background images won't force scrollbars to appear. You need to add more html content to your page, over your background images, to get scrollbars.
    The background image is still quite large. Should I reduce the size of the original image? I thought that is done in CSS.
    Images online should be reduced to the smallest pixel size and lowest possible quality setting as they can be, while still looking acceptable to you. Use Photoshop's Save For Web and Devices option to get a 4 up version of your image at varying settings. When it's the smallest pixel size you want, with the "lowest still good" quality settings, click that version and save it to your site. That will cut out unnecessary file size and help your site load much faster.
    If you want to use a larger image for your background, and resize it with css, you need to use the background-size attribute: CSS3 background-size property however, this is not well supported on old browsers and may not resize to your settings.
    I can't see things in DW Design I have to go to live preview
    Design View is a bit of a misnomer. It can't and won't ever show you your exact design, in all honesty, it should be renamed something along the lines of Framework View or Click to Select View. There have been some rumblings that it's going to go the way of the dinosaurs, with the advent of Live View Editing, but so far it's just hearsay. Always use the actual browsers you plan to support with Preview in Browser during development. Live View is much better than Design View at showing you your actual site, but it's only a webkit rendering (Chrome or Safari) and doesn't show you the subtle differences from IE compared to modern, standards-compliant browsers.

  • PDF not attaching to Outlook using Adobe Reader

    When clicking the Mail icon on the tool bar in adobe reader to attach the PDF to an email, adobe reader freezes and the document does not attach. It does work if Outlook 2013 is closed but if Outlook 2013 is open adobe reader just freezes for a minute with nothing happening. I tried turning off protected mode on startup and disabling all outlook addins. This problem started a couple of weeks ago, I tried a system restore but no joy.
    Any help would be greatly appreciated.
    Thanks

    I found the fix! It was a problem with sendmail.api, I fixed it by doing the following:-
    Repair the SendMail plugin:
    Browse to "C:\Program Files\Adobe\Reader 11.0\Reader\plug_ins" and rename SendMail.API to OLD_ SendMail.API.
    Then from Add/Remove programs run a Reader repair.

Maybe you are looking for