EhP4 Stack file format error in xml

Hi all,
My intention is to Upgrade an sap system 4.6C to Ecc6 including EhP4.
i am running through many problems since now
Here is my newest one:
In solution manager i calculated a stack.xml. After that, i copied the files to the test system which i am upgrading. Now in phase "Stack configuration" i must provide the xml-file.
when i click next, i get an error:
The selected configuration file ("M:InstCds
w70ehp1SMSDXML_P01_20090520113757.307.xml") is not useable.
Reason: "File format error"
Update ....
OK my fault.
in SAP Note Number: 1022704 is the info that in case of start release BELOW 4.6, you cannot use the xml-file, you have to choose the txt-file
Hm .. we have 4.6 which is not BELOW 4.6 but with the txt-file is works ... now i have the next error ...
i tried different files but every time the same error ...
Any idea ?
regards,
Bjoern
Edited by: Björn Trabes on May 20, 2009 4:23 PM

Sorry,
As i wrote
Hm .. we have 4.6 which is not BELOW 4.6 but with the txt-file is works ... now i have the next error ...
is work for the txt-files in this way, that the stack can be read.
It is a little bit confusing, as the german note says: as of 4.6 and lower
but the english note says: lower than 4.6
so there is a little diffrence
But now i have the Problem, that the generated Stack-file from the solution manager is invalid:
"# Error message set: 'Stack file is invalid: keep version w/o component upgrade'"

Similar Messages

  • File format error for xml file

    Hi!
    We are trying to upgrade our SAP 4.6C to EHP4.
    While "configuration roadmapstep", system asks us the XML file we have
    produced via solman. When we enter the path of the file system gives theerror below:
    The selected configuration file
    ("E:\downloadupg\SMSDXML_FKQ_20100917142727.656.xml") is not useable.
    Reason: "File format error"
    We have tried the txt file instead of xml file. The result was same.
    You can find the details of our system.
    4.6D EX2 32 bit kernel
    windows 2003 64 bit OS
    sql 2005 64 bit database software
    We have to upgrade our system until that monday.
    Please help us as soon as possible.
    Best regards
    Noyan Durna

    Hello Noyan,
    first, the official information: please refer to note #1022704 - for source release 4.6, the TXT file has to be used instead of the XML file. Otherwise, 'File format error' will occur as in your case.
    But since you tried this option, you should turn your attention to the XML itself, which must contains entries that are not handled by function module OCS_GET_UPG_STACK_INFO in the 4.XX source systems. The function module only expects the entries [SPAM_CVERS], [PRDVERS] and [SWFEATURE].  Any other entries present on the file can cause an error. 
    Please check your file for other entries like [APP_SYSTEM], [SWFEATUREINC], [TECHUSAGES], [INITIAL_CVERS], [EXPORT_CVERS], and [DVD_SET]; this might be the cause of the error. 
    In order to workaround this, you can either edit the file and remove the invalid entries or recreate it (w/o this entries also).
    Best regards,
    Tomas Black

  • FAQ: How to resolve "Unexpected File Format" error with Flash Professional CS5.5?

    You may encounter errors when you attempt opening or saving files using Flash Professional CS5.5.  To address the above problem, Adobe released an updater for Flash Pro CS5.5 (version 11.5.1).
    The following article explains about the errors and Flash CS5.5 updater released to handle them in detail:
    http://blogs.adobe.com/flashpro/2012/07/24/unexpected-file-format-error-on-opening-flash-f iles-using-flash-cs5-5/

    Which operating system are you using?  If you look in the Adobe Download Assistant is it still downloading the install files?

  • Unsupported architecture or file format error at line 13 of file 'dbxrc'

    Hi ,
    I have downloaded sun studio 12
    bash-3.00# version
    Machine hardware: i86pc
    OS version: 5.10
    Processor type: i386
    Hardware: i86pc
    The following components are installed on your system:
    Sun Studio 12
    Sun Studio 12 C Compiler
    Sun Studio 12 C++ Compiler
    Sun Studio 12 Tools.h++ 7.1
    Sun Studio 12 C++ Standard 64-bit Class Library
    Sun Studio 12 Garbage Collector
    Sun Studio 12 Fortran 95
    Sun Studio 12 Debugging Tools (including dbx)
    Sun Studio 12 IDE
    Sun Studio 12 Debugger GUI
    Sun Studio 12 Performance Analyzer (including collect, ...)
    Sun Studio 12 X-Designer
    Sun Studio 12 VIM editor
    Sun Studio 12 XEmacs editor
    Sun Studio 12 Performance Library
    Sun Studio 12 LockLint
    Sun Studio 12 Building Software (including dmake)
    Sun Studio 12 Documentation Set
    Sun Studio 12 /usr symbolic links and GNOME menu item
    version of "/opt/sam_sun_studio/SUNWspro/bin/../prod/bin/../../bin/cc": Sun C 5.9 SunOS_i386 Patch 124868-01 2007/07/12
    version of "/opt/sam_sun_studio/SUNWspro/bin/../prod/bin/../../bin/CC": Sun C++ 5.9 SunOS_i386 Patch 124864-01 2007/07/25
    version of "/opt/sam_sun_studio/SUNWspro/bin/../prod/bin/../../bin/f90": Sun Fortran 95 8.3 SunOS_i386 Patch 127002-01 2007/07/18
    version of "/opt/sam_sun_studio/SUNWspro/bin/../prod/bin/../../bin/dbx": Sun Dbx Debugger 7.6 SunOS_i386 Patch 124873-01 2007/07/12
    version of "/opt/sam_sun_studio/SUNWspro/bin/../prod/bin/../../bin/analyzer": Sun Analyzer 7.6 SunOS_i386 Patch 126996-01 2007/07/17
    version of "/opt/sam_sun_studio/SUNWspro/bin/../prod/bin/../../bin/dmake": Sun Distributed Make 7.8 SunOS_i386 Patch 126504-01 2007/07/19
    bash-3.00#
    I am basically trying to analyze the core file that has been generated during a directory server 6 crash.
    I am continuously getting the following error when running the opencore command from the pkg_app script
    # ./opencore
    dbx: /opt/suresh/pkg_app/app/ns-slapd has unsupported architecture or file format
    error at line 13 of file 'dbxrc'
    dbx: warning: using the alternate init file: dbxrc
    (dbx)
    I have set the following environment variables
    dbxenv core_lo_pathmap on
    dbxenv suppress_startup_message 6.2
    pathmap /distr/sundirsvr/6.2EE/ds6/lib/64 $PWD/app
    pathmap /distr/sundirsvr/6.2EE/ds6/lib/sparcv9 $PWD/app
    pathmap /distr/sundirsvr/6.2EE/dsee6/private/lib/sasl2/sparcv9 $PWD/app
    pathmap /distr/sundirsvr/6.2EE/dsee6/private/lib/sparcv9 $PWD/app
    pathmap /lib $PWD/app
    pathmap /lib/sparcv9 $PWD/app
    pathmap /platform/sun4v/lib/sparcv9 $PWD/app
    pathmap /usr/lib/sparcv9 $PWD/app
    pathmap /usr/platform/SUNW,Sun-Fire-T200/lib $PWD/app
    loadobject -exclude libposix4.so
    debug $PWD/app/ns-slapd $COREFILE
    What could be the reason for the above error being shown continuously. Am I missing anything ?
    Thanks

    Hi,
    last few lines of alert log file are
    Successful open of redo thread 1
    Thu Aug 23 09:45:18 2007
    MTTR advisory is disabled because FAST_START_MTTR_TARGET is not set
    Thu Aug 23 09:45:18 2007
    SMON: enabling cache recovery
    Thu Aug 23 09:45:21 2007
    Successfully onlined Undo Tablespace 1.
    Thu Aug 23 09:45:21 2007
    SMON: enabling tx recovery
    Thu Aug 23 09:45:21 2007
    Database Characterset is WE8ISO8859P1
    Thu Aug 23 09:45:22 2007
    Errors in file /home/oracle/oracle/product/10.2.0/db_1/admin/orcl1/bdump/orcl1_smon_5370.trc:
    ORA-00604: error occurred at recursive SQL level 1
    ORA-01502: index 'SYS.I_DEPENDENCY2' or partition of such index is in unusable state
    replication_dependency_tracking turned off (no async multimaster replication found)
    Thu Aug 23 09:45:32 2007
    Starting background process QMNC
    QMNC started with pid=18, OS id=5392
    Thu Aug 23 09:45:34 2007
    Errors in file /home/oracle/oracle/product/10.2.0/db_1/admin/orcl1/udump/orcl1_ora_5384.trc:
    ORA-07445: exception encountered: core dump [kokaocr()+577] [SIGSEGV] [Address not mapped to object] [0x98] [] []
    Thu Aug 23 09:51:20 2007

  • Get "Unexpected File Format" Error in CS5.5

    I was working with a FLA file when i press Ctrl+s to save the file it says "can not save and somethig.. bla bla.. " so, i have just closed the file whitout saving. Then i tried opening the FLA again and i get "Unexpected File Format" error. Are my FLA file contents now forever lost? No way to recover it? its around 6Mb of size. can you please help me to recover it??

    There's a lot of info on the forum about this but grab WinRAR, duplicate the FLA and rename the duplicate to something.rar, open it with WinRAR and acknowledge the archive may be damaged, Tell WinRAR to fix the archive, when complete rename back to FLA and try it.
    http://download.cnet.com/WinRAR-64-bit/3000-2250_4-10965579.html?tag=contentBody;pop

  • Unknown File Format Error while Uploading file through SFP in Note Implemen

    Hello All,
    I am implementing SAP Note 1528165 - Form 16: Layout changes for financial year 2010-11 which has few PDF forms to be uploaded.
    While doing the manual steps given in the attachment; I am getting following error.
    Error occurred when uploading file (unknown file format)
    Message no. FPUIFB068
    Manual step listed in the attachment is given below:
    Step 6 u2013 Creation of PDF form HR_INTAXF162006_600
    a) Download attached file 'SFPF_HR_INTAXF162006_600.zip' on the local file system.
    b) Unzip the .zip file
    c) Execute transaction code 'SFP'.
    d) Enter 'Form' as 'HR_INTAXF162006'.
    e) Goto menu bar and select the 'Utilities' option and select 'Uploading form' from menu.
    f) Select the file, downloaded in the step u2018bu2019 (SFPF_HR_INTAXF162006_600.XML) from the local
    file system.
    g) Save the form and activate the same.
    Please help/suggest.
    Thanks in advance.
    Arti Dobariya

    Hi,
    ADS has to be configured to perform those manual steps.
    Please check the note 1580196 GTS: Error occurred when uploading file
    (unknown file format).
    The manual steps related to SFP transaction need to be performed if your are running the form 16 in pdf format.
    Since ADS was not configured in our system; we end up using  the option of running form 16 in SAP Script.
    Changes related to SFP transaction need not be perfored in case you are running the form in SAP Script format as these are pdf specific changes.
    Regards,
    Arti

  • Unknown File Format Error while Uploading file through SFP

    Hello All,
    I am implementing SAP Note 1528165 - Form 16: Layout changes for financial year 2010-11 which has few PDF forms to be uploaded.
    While doing manual steps given in the attachment; I am getting following error.
    Error occurred when uploading file (unknown file format)
    Message no. FPUIFB068
    Manual step listed in the attachment is given below:
    Step 6 u2013 Creation of PDF form HR_INTAXF162006_600
    a) Download attached file 'SFPF_HR_INTAXF162006_600.zip' on the local file system.
    b) Unzip the .zip file
    c) Execute transaction code 'SFP'.
    d) Enter 'Form' as 'HR_INTAXF162006'.
    e) Goto menu bar and select the 'Utilities' option and select 'Uploading form' from menu.
    f) Select the file, downloaded in the step u2018bu2019 (SFPF_HR_INTAXF162006_600.XML) from the local
    file system.
    g) Save the form and activate the same.
    Please help/suggest.
    Thanks in advance.
    Arti Dobariya

    Hi,
    ADS has to be configured to perform those manual steps.
    Please check the note 1580196 GTS: Error occurred when uploading file
    (unknown file format).
    The manual steps related to SFP transaction need to be performed if your are running the form 16 in pdf format.
    Since ADS was not configured in our system; we end up using  the option of running form 16 in SAP Script.
    Changes related to SFP transaction need not be perfored in case you are running the form in SAP Script format as these are pdf specific changes.
    Regards,
    Arti

  • HELP! Unexpected File Format Error

    I was recently working on a project in Flash CS5.5 for school, last thing i did was save the project and close the program. Next time I try to open it I get an error saying "Unexpected File Format", and the application closes itself out. I can open Flash by itself and work on anything else, but when I try to open my class project it repeats the same thing "Unexpected File Format" and closes. The file was originally started IN Flash CS5.5, and has not moved to any other program since then. I dont understand what happened. I really need this project working again, can anyone help?

    It's just happened again!!
    This is really killing my deadline.  Same file, this time I had just deleted to fonts from the library, then clicked save to get the alert to kill flash.
    This time I got the additional info from the "Adobe Flash CS5.5 has stopped working" alert box:
    Problem signature:
      Problem Event Name: APPCRASH
      Application Name: Flash.exe
      Application Version: 11.5.0.325
      Application Timestamp: 4d79fed5
      Fault Module Name: Flash.exe
      Fault Module Version: 11.5.0.325
      Fault Module Timestamp: 4d79fed5
      Exception Code: c0000005
      Exception Offset: 00131e35
      OS Version: 6.1.7601.2.1.0.256.4
      Locale ID: 2057
      Additional Information 1: 0a9e
      Additional Information 2: 0a9e372d3b4ad19135b953a78882e789
      Additional Information 3: 0a9e
      Additional Information 4: 0a9e372d3b4ad19135b953a78882e789
    Read our privacy statement online:
      http://go.microsoft.com/fwlink/?linkid=104288&clcid=0x0409
    If the online privacy statement is not available, please read our privacy statement offline:
      C:\Windows\system32\en-US\erofflps.txt
    Then after clicking "Close the program" on the alert, I get another alert with the following in the problem details:
    Problem signature:
      Problem Event Name: APPCRASH
      Application Name: Flash.exe
      Application Version: 11.5.0.325
      Application Timestamp: 4d79fed5
      Fault Module Name: ntdll.dll
      Fault Module Version: 6.1.7601.17514
      Fault Module Timestamp: 4ce7b96e
      Exception Code: c0150010
      Exception Offset: 00083f7e
      OS Version: 6.1.7601.2.1.0.256.4
      Locale ID: 2057
      Additional Information 1: aba5
      Additional Information 2: aba5168922f519834928ffedc4428eb5
      Additional Information 3: a36e
      Additional Information 4: a36ebf3985e5b9460741b16a785caa1b
    Read our privacy statement online:
      http://go.microsoft.com/fwlink/?linkid=104288&clcid=0x0409
    If the online privacy statement is not available, please read our privacy statement offline:
      C:\Windows\system32\en-US\erofflps.txt

  • When opening .doc from website link, FF appends .docx extention to file & does not open in Word 2010, with incorrect file format error. Pls Help

    I'm using Firefox v12 to open a hyperlink from a website that points to a filename.doc MS Word Document for download.
    We are then asked to open the file with MS Word (Default), which our installed version is MS Word 2010.
    Firefox then renames the file appending a .docx to the filename e.g filename.doc.docx. MS Word 2010 opens with error 'incorrect file format', which is correct as Firefox has renamed it.
    Is there a fix or workaround for this?

    Hello Jscher2000,
    I can save the file and it opens fine.
    It's when I open it directly, Firefox appends the 'docx' extenstion to the filename.
    If I continue to reopen from the web link, Firefox renames the file as so
    mydoc.doc-1.docx
    mydoc.doc-2.docx
    mydoc.doc-3.docx
    I can open a .doc from a Microsoft site ok.
    I have the feeling it's the way the web server is reporting the mime type to Firefox.
    The link in question works fine in Internet Explorer.
    best regards,
    Youngielinux.

  • Invalid docx file format error when publishing

    Good morning all,
    I've been using UPK 3.5.1 Developer for years with Office 2003 (yes, I know we should upgrade, but that's out of my control), and have successfully published many times. After my latest publishing, the following error showed in the Activity Log:
    Task: Job Aid / Postprocessing document
    Comment: Invalid docx file format odpub://int/PlayerPackage/Temp/03d444ee-681b-406b-aba2-cd4b669702e2_JOBAID.docx
    All of the other job aids have published to a .doc format, so I'm not sure why this one is behaving differently. I located the offending topic, and in UPK, the preview provides a similar error when I try to preview the job aid. Strangely enough though, in the published project, the job aid for that topic prints just fine. I know I can just ignore the error since the finished product works, but I'm just wondering if anyone has some insight as to why this error occurred.
    Thanks!
    Brenda Hutch

    I am having the same issue. It is during export - almost immediately after exporting begins. No file is created.

  • Maya .iff (8bits rgba) sequences gives me file format error 1 ( 45::35 ) in after effects while playing, is there a work arround?

    i'm on windows 8.1 pro, with a 770gtx that isn't yet recognized for gpu acceleration in after effects cc (last updated version)
    i have some iff sequences that are imported whitout any problems, but while i scrub the timeline or sometimes i hit play, i get the photoshop file format error1 (45::35). looks like a performance issue.
    is this a plug in error?
    I know that in olders versions of photoshop, we used to get in the instalation cd, under goodies a iff.8bi plugin to handle iffs. but on cc, downloaded through acc, i don't have a cd .
    anyone have any idea on how to solve this?
    Thanks,
    Romeu

    anyone have any idea on how to solve this?
    Don't use IFF?! These issues are well-known and have plagued AE from the day it was born. Seriously, your workflow is simply not the best. IFF simply is not a robust format and a single damaged byte can render files unusable plus over the years Autodesk have hacked around a lot with the format, so it's a veritable mess. You really should not be using it. For the current situation convert it through fcheck or free tools like XnView.
    Mylenium

  • Unknown file format error in studio mx

    Help! I am using Flash in the Studio Mx Professional suite
    and I cant open a .fla file. It tells me that its in an 'unknown
    file format'.
    But the file does open when I used my school's Flash 8
    program. Please tell me they didnt design the Series 8 programs so
    they werent backwards compatible with the Mx series!!! Im so
    agitated right now...sorry. So if there is a hotfix or any easy
    solution that wont make me scream, please post!

    PyaNo;
    You seem to be describing "forwards compatibility" rather
    than
    backwards--not many applications do that... Flashmx (version
    6) cannot open
    fla files saved from flash 8.
    Fwiw flash can "downsave" fla files one version back--flash8
    > flashmx
    2004 (7), flashmx2004 > flashmx. -Tom Unger

  • PDF file format error - Smartform to e-mail attachment

    Hi All,
    I am trying to convert smartform output to PDF and send as an e-mail/fax attachment. Every thing works fine except when I try to open attachment in e-mail it says ‘Not supported file type or File Damage –> May be not correctly decoded’. I have attached my code for reference, any hints much appreciated. Thanks in advance.
    Regards,
    Tim
    data: t_otf    type  table of itcoo,
            t_tline  type  table of tline,
            g_filesize  TYPE I.
    Internal Table declarations
      DATA: i_otf TYPE itcoo OCCURS 0 WITH HEADER LINE,
      i_tline TYPE TABLE OF tline WITH HEADER LINE,
      i_receivers TYPE TABLE OF somlreci1 WITH HEADER LINE,
      i_record LIKE solisti1 OCCURS 0 WITH HEADER LINE,
    Objects to send mail.
      i_objpack LIKE sopcklsti1 OCCURS 0 WITH HEADER LINE,
      i_objtxt LIKE solisti1 OCCURS 0 WITH HEADER LINE,
    i_objbin LIKE solisti1 OCCURS 0 WITH HEADER LINE,
      i_objbin LIKE SOLIX OCCURS 0 WITH HEADER LINE,
      i_reclist LIKE somlreci1 OCCURS 0 WITH HEADER LINE,
    Work Area declarations
      w_objhead TYPE soli_tab,
      w_ctrlop TYPE ssfctrlop,
      w_compop TYPE ssfcompop,
      w_return TYPE ssfcrescl,
      w_doc_chng typE sodocchgi1,
      w_data TYPE sodocchgi1,
      w_buffer TYPE string,"To convert from 132 to 255
    Variables declarations
      v_form_name TYPE rs38l_fnam,
      v_len_in LIKE sood-objlen,
      v_len_out LIKE sood-objlen,
      v_len_outn TYPE i,
      v_lines_txt TYPE i,
      v_lines_bin TYPE i.
    <b> CALL FUNCTION FM_NAME</b>. .......
      t_otf[] = wa_outinfo-otfdata[].
      CALL FUNCTION <b>'CONVERT_OTF'</b>
                    EXPORTING
                      FORMAT                      = 'PDF'
                     MAX_LINEWIDTH               = 132
                  ARCHIVE_INDEX               = ' '
                  COPYNUMBER                  = 0
                  ASCII_BIDI_VIS2LOG          = ' '
                  PDF_DELETE_OTFTAB           = ' '
                    IMPORTING
                      BIN_FILESIZE                = g_filesize
                  BIN_FILE                    = g_binfile
                    TABLES
                      OTF                         = t_otf
                      LINES                       = i_tline
                    EXCEPTIONS
                      ERR_MAX_LINEWIDTH           = 1
                      ERR_FORMAT                  = 2
                      ERR_CONV_NOT_POSSIBLE       = 3
                      ERR_BAD_OTF                 = 4
                      OTHERS                      = 5.
    convert PDF 132 to 255
      IF sy-subrc <> 0.
        MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno
        WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
      ENDIF.
    Convert PDF from 132 to 255.
      LOOP AT i_tline.
    Replacing space by ~
        TRANSLATE i_tline USING ' ~'.
        CONCATENATE w_buffer i_tline INTO w_buffer.
      ENDLOOP.
    Replacing ~ by space
      TRANSLATE w_buffer USING '~ '.
      DO.
        i_record = w_buffer.
    Appending 255 characters as a record
        APPEND i_record.
        SHIFT w_buffer LEFT BY 255 PLACES.
        IF w_buffer IS INITIAL.
          EXIT.
        ENDIF.
      ENDDO.
      Refresh: i_reclist,
      i_objtxt,
      i_objbin,
      i_objpack.
      clear w_objhead.
    Object with PDF.
      loop at i_record.
       i_objbin-line = i_record-line.
       append i_objbin.
      endloop.
    i_objbin[] = i_record[].
      DESCRIBE TABLE i_objbin LINES v_lines_bin.
    Object with main text of the mail.
      i_objtxt = 'Find attached the output of the smart form.'.
      APPEND i_objtxt.
      i_objtxt = 'Regards,'.
      APPEND i_objtxt.
      i_objtxt = 'test'.
      APPEND i_objtxt.
      DESCRIBE TABLE i_objtxt LINES v_lines_txt.
    Document information.
      w_doc_chng-obj_name = 'Smartform'.
      w_doc_chng-expiry_dat = sy-datum + 10.
      w_doc_chng-obj_descr = 'Smart form output'.
      w_doc_chng-sensitivty = 'F'. "Functional object
      w_doc_chng-doc_size = v_lines_txt * 255.
    Pack to main body as RAW.
    Obj. to be transported not in binary form
      CLEAR i_objpack-transf_bin.
    *Start line of object header in transport packet
      i_objpack-head_start = 1.
    Number of lines of an object header in object packet
      i_objpack-head_num = 0.
    Start line of object contents in an object packet
      i_objpack-body_start = 1.
    Number of lines of the object contents in an object packet
      i_objpack-body_num = v_lines_txt.
    Code for document class
      i_objpack-doc_type = 'RAW'.
      APPEND i_objpack.
    Packing as PDF.
      i_objpack-transf_bin = 'X'.
      i_objpack-head_start = 1.
      i_objpack-head_num = 1.
      i_objpack-body_start = 1.
      i_objpack-body_num = v_lines_bin.
      i_objpack-doc_type = 'PDF'.
      i_objpack-obj_name = 'Smartform'.
      CONCATENATE 'Smartform_output' '.pdf'
      INTO i_objpack-obj_descr.
      i_objpack-doc_size = v_lines_bin * 255.
      APPEND i_objpack.
    Document information.
      CLEAR i_reclist.
    e-mail receivers.
      i_reclist-receiver = '[email protected]'.
      i_reclist-express = 'X'.
      i_reclist-rec_type = 'U'. "Internet address
      APPEND i_reclist.
    Sending mail.
      CALL FUNCTION <b>'SO_NEW_DOCUMENT_ATT_SEND_API1'</b>
        EXPORTING
          document_data              = w_doc_chng
          put_in_outbox              = 'X'
          COMMIT_WORK                = 'X'
        TABLES
          packing_list               = i_objpack
          object_header              = w_objhead
          contents_hex               = i_objbin
          contents_txt               = i_objtxt
          receivers                  = i_reclist
        EXCEPTIONS
          too_many_receivers         = 1
          document_not_sent          = 2
          document_type_not_exist    = 3
          operation_no_authorization = 4
          parameter_error            = 5
          x_error                    = 6
          enqueue_error              = 7
          OTHERS                     = 8.
      IF sy-subrc <> 0.
        MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
        WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
      ENDIF.

    Hi Tim,
    I used this to send a smartform in pdf format by email.
    Hope it helps
    Cristian
    REPORT  y_cb_test_051                           .
    DATA DECLARATION
    TYPE-POOLS: meein.
    TABLES: toa_dara,
            nast,
            tnapr,
            arc_params.
    DATA: ent_retco  TYPE sy-subrc,
          ent_screen TYPE c,
          l_xkomk LIKE TABLE OF komk WITH HEADER LINE,
          xscreen.                         "Kz. Probeausgabe
    DATA: i_texto_cuerpo LIKE  solisti1 OCCURS 0 WITH HEADER LINE.
    SELECT OPTIONS / PARAMETERS
    PARAMETERS:
    p_kappl  LIKE nast-kappl OBLIGATORY DEFAULT 'EF',
    p_objky  LIKE nast-objky OBLIGATORY DEFAULT '0010001125',
    p_kschl  LIKE nast-kschl OBLIGATORY DEFAULT 'NEU',
    p_spras  LIKE nast-spras OBLIGATORY DEFAULT  'EN',
    p_parnr  LIKE nast-parnr OBLIGATORY DEFAULT  '50009123',
    p_parvw  LIKE nast-parvw OBLIGATORY DEFAULT  'BA',
    p_erdat  LIKE nast-erdat OBLIGATORY DEFAULT '20050908',
    p_eruhr  LIKE nast-eruhr OBLIGATORY DEFAULT '130105',
    p_aende  LIKE nast-aende DEFAULT 'X',
    p_nacha  LIKE nast-nacha DEFAULT '1',
    p_ndialo TYPE tdsfflag   DEFAULT ' ',
    p_telfx  LIKE nast-telfx DEFAULT '1-720-220-4274',
    p_tland   LIKE nast-tland DEFAULT 'US',
    p_sform TYPE tdsfname DEFAULT 'ZMMNABPR3PFMMPO_L3' OBLIGATORY.
    *PDF TABLES
    DATA: tb_pdf LIKE tline OCCURS 0.
    DATA: tb_pdf255 TYPE so_text255 OCCURS 0.
    MAIN PROCESSING SECTION
    START-OF-SELECTION.
    SELECT SINGLE *
    INTO nast
    FROM nast
    WHERE kappl = p_kappl
    AND   objky = p_objky
    AND   kschl = p_kschl
    AND   spras = p_spras
    AND   parnr = p_parnr
    AND   parvw = p_parvw
    AND   erdat = p_erdat
    AND   eruhr = p_eruhr.
    IF sy-subrc <> 0.
      MESSAGE s000(00) WITH 'Record in NAST not found.'.
      nast-kappl = p_kappl.
      nast-objky = p_objky.
      nast-kschl = p_kschl.
      nast-spras = p_spras.
      nast-parnr = p_parnr.
      nast-parvw = p_parvw.
      nast-erdat = p_erdat.
      nast-eruhr = p_eruhr.
      nast-nacha = p_nacha.
      nast-telfx = p_telfx.
      nast-tland = p_tland.
    ENDIF.
      nast-aende  = p_aende.
      tnapr-sform = p_sform.
      PERFORM entry_neu
                      USING
                                ent_retco
                                ent_screen.
    FORMS
    *&      Form  entry_neu
          text
         -->ENT_RETCO  text
         -->ENT_SCREEN text
    FORM entry_neu
                    USING
                              ent_retco
                              ent_screen.
      DATA: l_druvo LIKE t166k-druvo,
            l_nast  LIKE nast,
            l_from_memory,
            l_doc   TYPE meein_purchase_doc_print.
      DATA: ls_print_data_to_read TYPE lbbil_print_data_to_read.
      DATA: ls_bil_invoice TYPE lbbil_invoice.
      DATA: lf_fm_name            TYPE rs38l_fnam.
      DATA: ls_control_param      TYPE ssfctrlop.
      DATA: ls_composer_param     TYPE ssfcompop.
      DATA: ls_recipient          TYPE swotobjid.
      DATA: ls_sender             TYPE swotobjid.
      DATA: lf_formname           TYPE tdsfname.
      DATA: ls_addr_key           LIKE addr_key.
    xscreen = ent_screen.
    clear ent_retco.
      IF nast-aende EQ space.
        l_druvo = '1'.
      ELSE.
        l_druvo = '2'.
      ENDIF.
      CALL FUNCTION 'ME_READ_PO_FOR_PRINTING'
        EXPORTING
          ix_nast        = nast
          ix_screen      = ent_screen
        IMPORTING
          ex_retco       = ent_retco
          ex_nast        = l_nast
          doc            = l_doc
        CHANGING
          cx_druvo       = l_druvo
          cx_from_memory = l_from_memory.
      CHECK ent_retco EQ 0.
      IF nast-adrnr IS INITIAL.
        PERFORM get_addr_key
                             CHANGING ls_addr_key.
      ELSE.
        ls_addr_key = nast-adrnr.
      ENDIF.
    *Set the print Parameters
      PERFORM set_print_param USING      ls_addr_key
                                CHANGING ls_control_param
                                         ls_composer_param
                                         ls_recipient
                                         ls_sender
                                         ent_retco.
    *Get the Smart Form name.
      IF NOT tnapr-sform IS INITIAL.
        lf_formname = tnapr-sform.
      ELSE.
        lf_formname = tnapr-fonam.
      ENDIF.
    determine smartform function module for invoice
      CALL FUNCTION 'SSF_FUNCTION_MODULE_NAME'
        EXPORTING
          formname           = lf_formname
        IMPORTING
          fm_name            = lf_fm_name
        EXCEPTIONS
          no_form            = 1
          no_function_module = 2
          OTHERS             = 3.
      IF sy-subrc <> 0.
    error handling
        ent_retco = sy-subrc.
      perform protocol_update_i.
      ENDIF.
      ls_control_param-getotf = 'X'.
      DATA: l_document_output_info TYPE  ssfcrespd,
            l_job_output_info      TYPE  ssfcrescl,
            l_job_output_options   TYPE  ssfcresop.
      CALL FUNCTION lf_fm_name
           EXPORTING
                archive_index      = toa_dara
                archive_parameters = arc_params
                control_parameters = ls_control_param
                mail_recipient     = ls_recipient
                mail_sender        = ls_sender
                output_options     = ls_composer_param
                user_settings      = ' '
                zxekko             = l_doc-xekko
                zxpekko            = l_doc-xpekko
               zxaend             = l_doc-xaend
          IMPORTING
                document_output_info = l_document_output_info
                job_output_info      = l_job_output_info
                job_output_options   = l_job_output_options
          TABLES
                l_xekpo            = l_doc-xekpo[]
                l_xekpa            = l_doc-xekpa[]
                l_xpekpo           = l_doc-xpekpo[]
                l_xeket            = l_doc-xeket[]
                l_xtkomv           = l_doc-xtkomv[]
                l_xekkn            = l_doc-xekkn[]
                l_xekek            = l_doc-xekek[]
                l_xaend            = l_doc-xaend[]
                l_xkomk            = l_xkomk
           EXCEPTIONS
                formatting_error   = 1
                internal_error     = 2
                send_error         = 3
                user_canceled      = 4
                OTHERS             = 5.
      IF sy-subrc <> 0.
        MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno.
        BREAK-POINT.
      ENDIF.
    Converts OTF to PDF
      DATA: v_len_in TYPE i.
      CALL FUNCTION 'CONVERT_OTF'
        EXPORTING
          format                = 'PDF'
          max_linewidth         = 132
        IMPORTING
          bin_filesize          = v_len_in
        TABLES
          otf                   = l_job_output_info-otfdata
          lines                 = tb_pdf
        EXCEPTIONS
          err_max_linewidth     = 0
          err_format            = 1
          err_conv_not_possible = 2
          OTHERS                = 3.
      IF sy-subrc <> 0.
        MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno
        WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
      ENDIF.
    Change the PDF format from 132 to 255.
      CALL FUNCTION 'SX_TABLE_LINE_WIDTH_CHANGE'
       EXPORTING
       line_width_src                    =
       line_width_dst                    =
         transfer_bin                      = 'X'
        TABLES
          content_in                        = tb_pdf
          content_out                       = tb_pdf255
       EXCEPTIONS
         err_line_width_src_too_long       = 1
         err_line_width_dst_too_long       = 2
         err_conv_failed                   = 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.
      DATA: lw_subject TYPE so_obj_des.
      DATA: lwa_body  TYPE solisti1.
      DATA: ltb_body  TYPE TABLE OF solisti1.
      DATA: lw_filename TYPE char100.
      DATA: ltb_recipients TYPE TABLE OF somlreci1.
      DATA: lwa_recipients TYPE somlreci1.
      lw_subject = 'This is the email subject'.
      lwa_body-line = 'This is the email body - Line1'.
      APPEND lwa_body TO ltb_body.
      lwa_body-line = 'This is the email body - Line2'.
      APPEND lwa_body TO ltb_body.
      lwa_body-line = 'This is the email body - Line3'.
      APPEND lwa_body TO ltb_body.
      lwa_body-line = 'This is the email body - Line4'.
      APPEND lwa_body TO ltb_body.
      lw_filename = 'Contract'.
    *RECIPIENTS
      lwa_recipients-rec_type = 'U'.
      lwa_recipients-express  = 'X'.
      lwa_recipients-receiver = sy-uname.
      lwa_recipients-copy     = ''.
      APPEND lwa_recipients TO ltb_recipients.
    RECIPIENTS
      lwa_recipients-rec_type = 'U'.
      lwa_recipients-express  = 'X'.
      lwa_recipients-receiver = '[email protected]'.
      lwa_recipients-copy     = ''.
      APPEND lwa_recipients TO ltb_recipients.
    RECIPIENTS
      lwa_recipients-rec_type = 'U'.
      lwa_recipients-express  = 'X'.
      lwa_recipients-receiver = '[email protected]'.
      lwa_recipients-copy     = ''.
      APPEND lwa_recipients TO ltb_recipients.
    Sends the PDF by email.
      PERFORM f_send_pdf_by_email
                          TABLES
                                 tb_pdf255
                                 ltb_body
                                 ltb_recipients
                          USING
                                 lw_subject
                                 lw_filename.
    ENDFORM.                    "entry_neu
    *&      Form  ZCA_MAIL_BIN
          text
    FORM f_send_pdf_by_email
                        TABLES
                                ptb_pdf255      STRUCTURE solisti1
                                ptb_body        STRUCTURE solisti1
                                ptb_recipients  STRUCTURE somlreci1
                        USING
                                pw_subject TYPE so_obj_des
                                pw_filename TYPE char100.
    *-DATA DECLARATION----
    Variables y tablas internas.
      DATA: BEGIN OF ltb_objbin OCCURS 0.
              INCLUDE STRUCTURE solisti1.
      DATA: END OF ltb_objbin.
      DATA:  lwa_doc_chng LIKE sodocchgi1,
             lw_tab_lines LIKE sy-tabix,
             ltb_objtxt  LIKE solisti1 OCCURS 10 WITH HEADER LINE,
             ltb_objpack LIKE sopcklsti1 OCCURS 2 WITH HEADER LINE.
    *-MAIN PROCESSING SECTION----
      clear:   ltb_objbin, ltb_objtxt, ltb_objpack, lwa_doc_chng.
      refresh: ltb_objbin, ltb_objtxt, ltb_objpack.
    Control Data
      lwa_doc_chng-obj_name   = 'URGENT'.
      lwa_doc_chng-sensitivty = 'P'.
      lwa_doc_chng-no_change  = 'X'.
      lwa_doc_chng-priority   = '1'.
      lwa_doc_chng-obj_prio   = '1'.
      lwa_doc_chng-obj_langu  = sy-langu.
      lwa_doc_chng-no_change  = 'X'.
    Email Subject
      lwa_doc_chng-obj_descr = pw_subject.
    Email Body
      ltb_objtxt[] = ptb_body[].
      CLEAR ltb_objtxt.
      DESCRIBE TABLE ltb_objtxt LINES lw_tab_lines.
      IF lw_tab_lines GT 0.
        READ TABLE ltb_objtxt INDEX lw_tab_lines.
        lwa_doc_chng-doc_size =
            ( lw_tab_lines - 1 ) * 255 + STRLEN( ltb_objtxt ).
        CLEAR ltb_objpack-transf_bin.
        ltb_objpack-body_start = 1.
        ltb_objpack-body_num   = lw_tab_lines.
        ltb_objpack-doc_type   = 'RAW'.
        APPEND ltb_objpack.
      ENDIF.
    Attachment
    Move the binary attachment to other internal table.
      ltb_objbin[] = ptb_pdf255[].
      ltb_objpack-transf_bin = 'X'.
      ltb_objpack-body_start = 1.
    Get the number of lines in the Attachment (PDF FILE)
      DESCRIBE TABLE ltb_objbin LINES lw_tab_lines.
      ltb_objpack-body_num  = lw_tab_lines.
      ltb_objpack-doc_type  = 'PDF'.
      ltb_objpack-obj_descr = pw_filename.
      ltb_objpack-obj_name  = pw_filename.
      ltb_objpack-doc_size  = lw_tab_lines * 255.
      APPEND ltb_objpack.
    Call the function to send the PDF file by email
      CALL FUNCTION 'SO_NEW_DOCUMENT_ATT_SEND_API1'
        EXPORTING
          document_data              = lwa_doc_chng
          put_in_outbox              = 'X'
        TABLES
          packing_list               = ltb_objpack
          contents_bin               = ltb_objbin
          contents_txt               = ltb_objtxt
          receivers                  = ptb_recipients
        EXCEPTIONS
          too_many_receivers         = 1
          document_not_sent          = 2
          document_type_not_exist    = 3
          operation_no_authorization = 4
          parameter_error            = 5
          x_error                    = 6
          enqueue_error              = 7
          OTHERS                     = 8.
      CASE sy-subrc.
        WHEN 0.
        WHEN 1. RAISE too_many_receivers.
        WHEN 2. RAISE document_not_sent  .
        WHEN 3. RAISE document_type_not_exist.
        WHEN 4. RAISE operation_no_authorization.
        WHEN 5. RAISE parameter_error.
        WHEN 7. RAISE enqueue_error .
        WHEN OTHERS. RAISE x_error.
      ENDCASE.
      COMMIT WORK.
    ENDFORM.                    "ZCA_MAIL_BIN
    *&      Form  get_addr_key
          text
         -->P_CS_BIL_INVOICE_HD_ADR  text
         <--P_CS_ADDR_KEY  text
    FORM get_addr_key
                      CHANGING l_addr_key LIKE addr_key.
      DATA: l_lfa1 LIKE lfa1.
      SELECT SINGLE * FROM lfa1 INTO l_lfa1
      WHERE lifnr = nast-parnr.
      IF sy-subrc = 0.
        MOVE l_lfa1-adrnr TO l_addr_key.
      ENDIF.
    ENDFORM.                               " get_addr_key
    *&      Form  set_print_param
          text
         -->P_LS_ADDR_KEY  text
         <--P_LS_CONTROL_PARAM  text
         <--P_LS_COMPOSER_PARAM  text
         <--P_LS_RECIPIENT  text
         <--P_LS_SENDER  text
         <--P_CF_RETCODE  text
    FORM set_print_param USING    is_addr_key LIKE addr_key
                         CHANGING cs_control_param TYPE ssfctrlop
                                  cs_composer_param TYPE ssfcompop
                                  cs_recipient TYPE  swotobjid
                                  cs_sender TYPE  swotobjid
                                  cf_retcode TYPE sy-subrc.
      DATA: ls_itcpo     TYPE itcpo.
      DATA: lf_repid     TYPE sy-repid.
      DATA: lf_device    TYPE tddevice.
      DATA: ls_recipient TYPE swotobjid.
      DATA: ls_sender    TYPE swotobjid.
      lf_repid = sy-repid.
    CALL FUNCTION 'WFMC_PREPARE_SMART_FORM'
      CALL FUNCTION 'Z_MMNA_WFMC_PREPARE_SMART_FORM'
        EXPORTING
          pi_nast       = nast
          pi_addr_key   = is_addr_key
          pi_repid      = lf_repid
        IMPORTING
          pe_returncode = cf_retcode
          pe_itcpo      = ls_itcpo
          pe_device     = lf_device
          pe_recipient  = cs_recipient
          pe_sender     = cs_sender.
      IF cf_retcode = 0.
        MOVE-CORRESPONDING ls_itcpo TO cs_composer_param.
        cs_composer_param-tdimmed = ' '.
        cs_control_param-device      = lf_device.
        cs_control_param-no_dialog   = 'X'.
      cs_control_param-no_dialog   = p_ndialo.
        cs_control_param-preview     = xscreen.
        cs_control_param-getotf      = ls_itcpo-tdgetotf.
        cs_control_param-langu       = nast-spras.
      ENDIF.
    ENDFORM.                    "set_print_param
    Message was edited by: Cristian Berri

  • After Effects error: Photoshop file format error 1. (45::35)???

    I keep getting this error when trying to RAM preview my file. It happens at different places each time. I don't have any Photoshop files importing into my movie. I just have Maya file sequences, a music clip and three solid layers with filters applied to them.
    I'm using AE CS5 but everything else Photoshop, etc. is CS4. I didn't have this issue when using AE in trial.
    This is stopping me from rendering my movie. Any help would be greatly appreciated.
    Thanks.

    Hi,
    Thanks for the prompt reply. I have there very simple rendering setup using Maya Software renderer. The problem is that it started all of a sudden on all parts that have sequences, while it all worked just a day ago. I also noticed that if I restart AE, it may become workable again, but then it is as if touching some corrupted file at some point after a while becomes frenzy and starts giving this error in any part of the comp, where maya sequence is present. I’m still experimenting with it, trying to locate, if I can really locate anything, because no files were changed since I rendered them.
    Anyway, I’ve attached snipped screen copies of maya renderer option for one of the parts. Others are different only in file name and number of frames. Pls let me know if you need something else,
    Thanks!
    Iouri Verchok.

  • "unrecognizable file format" error when trying to import 5S videos onto new iMac 27"

    For some reason, all of my videos I have taken the past couple months will not import onto our home Mac; getting above error codes for each one. Photos seem to import okay...usually. Any ideas? iMac is brand new and both have allo updated software. Never had this problem before...

    See Here for Importing Photos:
    http://support.apple.com/kb/HT4083
    And Here:
    http://manuals.info.apple.com/en_US/iphone_user_guide.pdf

Maybe you are looking for