SOS   How can i Archive a Smartforms

Hello everybody ,
I need to Archive a Output  ( must be  as PDF    ( see TR : fv03)) from Smartforms , how kan i result it ?
Pleas help me
CALL FUNCTION 'SSF_FUNCTION_MODULE_NAME'
    EXPORTING
      FORMNAME           = 'ZSALDENBEST'
    IMPORTING
      FM_NAME            = FM_NAME
    EXCEPTIONS
      NO_FORM            = 1
      NO_FUNCTION_MODULE = 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.
  OUTPUT_OPTIONS-TDARMOD  = '3'.
  ARCHIVE_INDEX-FUNCTION                     = 'DARA'.
  ARCHIVE_INDEX-MANDANT          = SY-MANDT.
   DEL_DATE
  ARCHIVE_INDEX-SAP_OBJECT       = 'BUS1130'.
  ARCHIVE_INDEX-AR_OBJECT        = 'ZRE0000017'.
  ARCHIVE_INDEX-OBJECT_ID        =  C_BARCODE.
   FORM_ID
   FORMARCHIV
  ARCHIVE_INDEX-RESERVE          = 'PDF'.
   NOTIZ
  CONTROL_PARAMETERS-NO_DIALOG = 'X'.  "X rein dann kein PopUp
  IF SY-UNAME = 'HAMAMA'.
    CONTROL_PARAMETERS-NO_DIALOG = ' '.
  ENDIF.
  IF NOT SALDO_NEU IS INITIAL.
    CALL FUNCTION FM_NAME
          EXPORTING
         ARCHIVE_INDEX                = ARCHIVE_INDEX
    ARCHIVE_INDEX_TAB          =
    ARCHIVE_PARAMETERS         =
         OUTPUT_OPTIONS             = OUTPUT_OPTIONS
       CONTROL_PARAMETERS         = CONTROL_PARAMETERS
       BUKRS                      = WA_MIET_DATA-BUKRS
       ZINS                       = ZINS
       SALDO_NEU                  = SALDO_NEU
       SALDO_ALT                  = SALDO_ALT
       H_TEXT                     = H_TEXT
       WA_MIET_DATA               = WA_MIET_DATA
       LV_INTRENO                 = LV_INTRENO
       BP000                      = L_BP000
       ADRS                       = L_ADRS
       LV_SWENR                   =  LV_SWENR
       LV_JBETRST                 = LV_JBETRST
       LV_SSTDORT                 = LV_SSTDORT
IMPORTING
   DOCUMENT_OUTPUT_INFO       =
   JOB_OUTPUT_INFO            =
   JOB_OUTPUT_OPTIONS         =
        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
        WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
    ENDIF.

DATA:
  document_output_info TYPE  ssfcrespd,
  job_output_info      TYPE  ssfcrescl,
  job_output_options   TYPE  ssfcresop,
  control_parameters   TYPE  ssfctrlop,
  output_options       TYPE  ssfcompop.
  control_parameters-getotf    = true.
  control_parameters-no_dialog = true.
  output_options-tdimmed       = false.
  output_options-tdnoprev      = false.
DATA: it_otfdata  LIKE STANDARD TABLE OF itcoo        WITH HEADER LINE.
        CALL FUNCTION 'MYSMARTFORM'
          EXPORTING
            control_parameters   = control_parameters
            output_options       = output_options
            user_settings        = ' '
            frm                  = p_sname
            job                  = p_jobps
            tel                  = p_telno
            fax                  = p_faxnx
            mal                  = p_smail
          IMPORTING
            document_output_info = document_output_info
            job_output_info      = job_output_info
            job_output_options   = job_output_options
          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
               WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
          CONCATENATE sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4
                 INTO it_edat-lines SEPARATED BY space.
        ELSE.
Get the cover page OTF data
          MOVE: job_output_info-otfdata[] TO it_otfdata[].
    ENDIF.
IF NOT it_otfdata[] IS INITIAL.
  DATA: fsize  TYPE i.
  DATA: cancel TYPE c.
  DATA: l_docs LIKE STANDARD TABLE OF docs WITH HEADER LINE.
  CLEAR: malfg.
Call the OTF to PDF FM
  CALL FUNCTION 'CONVERT_OTF'
    EXPORTING
      format                = 'PDF'
    IMPORTING
      bin_filesize          = fsize
    TABLES
      otf                   = it_otfdata
      lines                 = it_pdfdata
    EXCEPTIONS
      err_max_linewidth     = 1
      err_format            = 2
      err_conv_not_possible = 3
      OTHERS                = 4.
  IF sy-subrc <> 0.
   MESSAGE ID sy-msgid TYPE 'S' NUMBER sy-msgno
           WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
  ENDIF.
ENDIF.

Similar Messages

  • How can I "archive" mails in Mail App to another internal drive/partition to save space but still have it searchable in spotlight (and preferably visible, searchable, draggable in Mail App)?

    How can I "archive" mails in Mail App to another internal drive/partition to save space but still have it searchable in spotlight (and preferably visible, searchable, draggable in Mail App)?
    Background:
    I am using Mountain Lion and Mail App and running out of space on my small primary SSD drive (where I keep OS, apps, key user preferences/data and mail for speed). The mail data is the big variable (many GBs) and I want to "archive"/move some of the old mail to my 2nd drive inside the Mac. But I still want it searchable inside spotlight and preferably even inside Mail too. And I'd like to be able to still drag and drop old mails into this archive folder.
    What I've tried that seems to work:
    This seemed to work:
    1. Move the archive folder/mailbox to the 2nd drive/partition/folder (don't delete anything inside Mail App)
    2. Create a symbolic link from its new location to the original/old location
    This seems to work, it looks as "normal" and as if nothing happened inside Mail App but the folder now resides elsewhere and seems searchable etc. But I'm not sure that once caches refresh or over time with updates etc if stuff will break horribly or corrupt.
    Is that the right way to "archive" mails in Mail App to another internal drive/partition to save space but still have it searchable in spotlight and visible, searchable, draggable in Mail App?
    Thanks in advance!
    Cheers,
    Daniel

    I'm having a similar but slightly different problem. My company just migrated to Gmail, and it's saving mail drafts every 30 seconds into my Trash folder.
    I unchecked the "Show in IMAP" preference in the Gmail settings, but my Drafts folder completely disappeared. I went back and checked it and the folder reappeared (with my drafts still in there).
    I like the idea if starting an email on my laptop and having the option of finishing it on my iPhone or iPad, so only saving Drafts locally would not be ideal.

  • How can I archive photos in iPhoto to a hard drive and retain the Album folders and the Events?

    How can I archive photos in iPhoto to a hard drive and retain the Album folders and the Events?  I tried to Export the Albums but just transferred the files individually.

    If you want to maintain the iPhoto organisation then back up the iPhoto Library.
    If you want to export to the Finder, well you need to create a folder for the contents of an Album and expot to that.
    If you have an older version of iPhoto: Apps like iPhoto2Disk or PhotoShare will help you export to a Folder tree matching your Events. This feature is built in to iPhoto 11.
    This User Tip
    https://discussions.apple.com/docs/DOC-4921
    has details of the options in the Export dialogue.

  • How can I archive my books on my iPhone to cloud?

    How can I archive my iBooks to cloud to achieve more space for other iBooks.

    Just delete the book you no longer want.  You can always redownload it from the iTunes store.  If you have files from other sources, then these other sources are your backup - you can always sync them to iBook again.

  • How can we archive Partioning in parent child tables in Normalised way.

    Hi Friends.
    Could you please suggest me
    How can we archive Partioning in parent child tables in Normalised way.
    Bill_parent(
    Bill_no number,
    Bill_date date .-- I want to create Partition on this column
    customer_id
    Bill_Child{
    bill_no number,
    Bill_c_no number,
    Item_code number
    Qty number
    Bill_Acsry{
    Bill_c_no number,
    acsry_it_code number,
    qty number
    Now for there Child Table I have also create a Bill_date column that is against Normalization
    i.e
    Bill_parent(
    Bill_no number,
    Bill_date date.
    customer_id
    ) Partion by Range (Bill_date).......................
    Bill_Child{
    bill_no number,
    Bill_c_no number,
    Item_code number
    Qty number,
    Bill_Date date,-- against normalisation
    }Partion by Range (Bill_date).......................
    Bill_Acsry{
    Bill_c_no number,
    acsry_it_code number,
    qty number,
    Bill_Date date,-- against normalisation
    }Partion by Range (Bill_date)....
    with regards
    Siddharth Singh([email protected])

    Looks like the new Reference Partitioning feature in 11g is what you want. In previous versions I think you're stuck with the denormalisation.

  • How can I archive components for future reuse?

    Hello,
    I was wondering how can I archive content related to a specific component in order to reuse it in the future. For example, I want to build a product component that has the product name, image and description. I want to have a product catalog and be able to choose from those products and place them in my pages, but I don't want to have to enter all 3 fields each time. I want to be able to use products I entered in the past. 
    Thanks,
    Ed

    Create a new smart mailbox and condition that filters all mail of a particular year.
    Then use "Export Mailbox" from the Menu.
    This generates a .mbox file which you can import. But as far as I know you cant look up mails.
    A bit complicated way exists to store all your mails as .emlx files:
    1) Copy all your mails from the smart mailbox to a new (normal) mailbox.
    2) Open* /Users/yourname/Library/Mail/V2/Mailboxes/ and look up your new mailbox. There you will find all mails as .emlx files
    *Use Command-Shift-G (Library Folder is hidden)

  • Over the years and upgrading machines, I now have over 20k of emails in the import mailboxes within several folders. How can I archive these in way so the are still available, if necessary, to search, but don't load and slow down my mail app.

    Over the years and upgrading machines, I now have over 20k of emails in the import mailboxes within several folders. How can I archive these in way so the are still available, if necessary, to search, but don't load and slow down my mail app.

    Ok Thank you.
    I wont worry now.
    Just maybe dig in deep and delete the deleted mails that are still around and that will hopefully clean it up a bit.
    Many thanks for your help and advice.
    Regards
    Chrispl0

  • How can I archive sms on my iPhone?

    How can I archive SMS on my iPhone?

    Try the computer apps PhoneView (Mac) or TouchCopy (Mac & PC):
    http://www.ecamm.com/mac/phoneview/
    http://www.wideanglesoftware.com/touchcopy/index.php

  • How can we send the smartform output to mail.

    Dear Friends,
    My query is how can we send the smart form output to mail.
    In my company,payslip are given to the employee in printed format.instead of that we need to send payslip in mail.how can i do..plz help me.
    [email protected]

    The code below demonstrates how to retrieve a spool request and email it as a PDF document. Please note to process a spool request the program can be executed in background or foreground. Because of the additional functionality to allow this to work in both background and foreground it has made it a little more confusing soyou might want to start by looking at the background only program. Also see transaction SCOT for SAPConnect administration.
    *& Report  ZSPOOLTOPDF2                                                *
    *& Converts spool request into PDF document and emails it to           *
    *& recipicant.                                                         *
    *& Execution                                                           *
    *& This program can be run in background or online and a spool request *
    *& will still be created                                               *
    REPORT  zspooltopdf2.
    PARAMETER: p_email1 LIKE somlreci1-receiver
                                        DEFAULT '[email protected]',
               p_sender LIKE somlreci1-receiver
                                        DEFAULT '[email protected]',
               p_delspl  AS CHECKBOX,
               p_online no-display.
    *DATA DECLARATION
    DATA: gd_recsize TYPE i.
    Spool IDs
    TYPES: BEGIN OF t_tbtcp.
            INCLUDE STRUCTURE tbtcp.
    TYPES: END OF t_tbtcp.
    DATA: it_tbtcp TYPE STANDARD TABLE OF t_tbtcp INITIAL SIZE 0,
          wa_tbtcp TYPE t_tbtcp.
    Job Runtime Parameters
    DATA: gd_eventid LIKE tbtcm-eventid,
          gd_eventparm LIKE tbtcm-eventparm,
          gd_external_program_active LIKE tbtcm-xpgactive,
          gd_jobcount LIKE tbtcm-jobcount,
          gd_jobname LIKE tbtcm-jobname,
          gd_stepcount LIKE tbtcm-stepcount,
          gd_error    TYPE sy-subrc,
          gd_reciever TYPE sy-subrc.
    DATA:  w_recsize TYPE i,
           w_spool_nr like sy-spono.
          %_print LIKE pri_params.
    DATA: gd_subject   LIKE sodocchgi1-obj_descr,
          it_mess_bod LIKE solisti1 OCCURS 0 WITH HEADER LINE,
          it_mess_att LIKE solisti1 OCCURS 0 WITH HEADER LINE,
          gd_sender_type     LIKE soextreci1-adr_typ,
          gd_attachment_desc TYPE so_obj_nam,
          gd_attachment_name TYPE so_obj_des.
    Spool to PDF conversions
    DATA: gd_spool_nr LIKE tsp01-rqident,
          gd_destination LIKE rlgrap-filename,
          gd_bytecount LIKE tst01-dsize,
          gd_buffer TYPE string.
    Binary store for PDF
    DATA: BEGIN OF it_pdf_output OCCURS 0.
            INCLUDE STRUCTURE tline.
    DATA: END OF it_pdf_output.
    CONSTANTS: c_dev LIKE  sy-sysid VALUE 'DEV',
               c_no(1)     TYPE c   VALUE ' ',
               c_device(4) TYPE c   VALUE 'LOCL'.
    *START-OF-SELECTION.
    START-OF-SELECTION.
    Write statement to represent report output. Spool request is created
    if write statement is executed in background. This could also be an
    ALV grid which would be converted to PDF without any extra effort
      WRITE 'Hello World'.
      new-page.
      commit work.
      new-page print off.
      If p_online = 'X'.
      Processing performed when program calls itself when run online
        gd_spool_nr = sy-spono.
        EXPORT gd_spool_nr TO MEMORY ID 'SPOOLTOPDF'.
        EXIT.
      endif.
      IF sy-batch EQ 'X'.
        PERFORM get_job_details.
        PERFORM obtain_spool_id.
      ELSE.
        gd_spool_nr = sy-spono.
    If executed online, it submits a program to perform the write statements
    instructing it to create a spool request, this could be another program
    which just performs the write statements and then exports sy-spono
    to memory. But in this example it calls itself passing X to parameter
    p_online, which takes it down an alternative procesing path.
        submit ZSPOOLTOPDF2
               with p_online = 'X'
               to sap-spool
               spool parameters   %_print
              archive parameters %_print
               without spool dynpro
               and return.
      ENDIF.
    Get spool id from program called above
      IMPORT gd_spool_nr FROM MEMORY ID 'SPOOLTOPDF'.
      PERFORM convert_spool_to_pdf.
      PERFORM process_email.
      if p_delspl EQ 'X'.
        PERFORM delete_spool.
      endif.
      IF sy-sysid = c_dev.
        wait up to 5 seconds.
        SUBMIT rsconn01 WITH mode   = 'INT'
                        WITH output = 'X'
                        AND RETURN.
      ENDIF.
          FORM obtain_spool_id                                          *
    FORM obtain_spool_id.
      CHECK NOT ( gd_jobname IS INITIAL ).
      CHECK NOT ( gd_jobcount IS INITIAL ).
      SELECT * FROM  tbtcp
                     INTO TABLE it_tbtcp
                     WHERE      jobname     = gd_jobname
                     AND        jobcount    = gd_jobcount
                     AND        stepcount   = gd_stepcount
                     AND        listident   <> '0000000000'
                     ORDER BY   jobname
                                jobcount
                                stepcount.
      READ TABLE it_tbtcp INTO wa_tbtcp INDEX 1.
      IF sy-subrc = 0.
        message s004(zdd) with gd_spool_nr.
        gd_spool_nr = wa_tbtcp-listident.
        MESSAGE s004(zdd) WITH gd_spool_nr.
      ELSE.
        MESSAGE s005(zdd).
      ENDIF.
    ENDFORM.
          FORM get_job_details                                          *
    FORM get_job_details.
    Get current job details
      CALL FUNCTION 'GET_JOB_RUNTIME_INFO'
           IMPORTING
                eventid                 = gd_eventid
                eventparm               = gd_eventparm
                external_program_active = gd_external_program_active
                jobcount                = gd_jobcount
                jobname                 = gd_jobname
                stepcount               = gd_stepcount
           EXCEPTIONS
                no_runtime_info         = 1
                OTHERS                  = 2.
    ENDFORM.
          FORM convert_spool_to_pdf                                     *
    FORM convert_spool_to_pdf.
      CALL FUNCTION 'CONVERT_ABAPSPOOLJOB_2_PDF'
           EXPORTING
                src_spoolid              = gd_spool_nr
                no_dialog                = c_no
                dst_device               = c_device
           IMPORTING
                pdf_bytecount            = gd_bytecount
           TABLES
                pdf                      = it_pdf_output
           EXCEPTIONS
                err_no_abap_spooljob     = 1
                err_no_spooljob          = 2
                err_no_permission        = 3
                err_conv_not_possible    = 4
                err_bad_destdevice       = 5
                user_cancelled           = 6
                err_spoolerror           = 7
                err_temseerror           = 8
                err_btcjob_open_failed   = 9
                err_btcjob_submit_failed = 10
                err_btcjob_close_failed  = 11
                OTHERS                   = 12.
      CHECK sy-subrc = 0.
    Transfer the 132-long strings to 255-long strings
      LOOP AT it_pdf_output.
        TRANSLATE it_pdf_output USING ' ~'.
        CONCATENATE gd_buffer it_pdf_output INTO gd_buffer.
      ENDLOOP.
      TRANSLATE gd_buffer USING '~ '.
      DO.
        it_mess_att = gd_buffer.
        APPEND it_mess_att.
        SHIFT gd_buffer LEFT BY 255 PLACES.
        IF gd_buffer IS INITIAL.
          EXIT.
        ENDIF.
      ENDDO.
    ENDFORM.
          FORM process_email                                            *
    FORM process_email.
      DESCRIBE TABLE it_mess_att LINES gd_recsize.
      CHECK gd_recsize > 0.
      PERFORM send_email USING p_email1.
    perform send_email using p_email2.
    ENDFORM.
          FORM send_email                                               *
    -->  p_email                                                       *
    FORM send_email USING p_email.
      CHECK NOT ( p_email IS INITIAL ).
      REFRESH it_mess_bod.
    Default subject matter
      gd_subject         = 'Subject'.
      gd_attachment_desc = 'Attachname'.
    CONCATENATE 'attach_name' ' ' INTO gd_attachment_name.
      it_mess_bod        = 'Message Body text, line 1'.
      APPEND it_mess_bod.
      it_mess_bod        = 'Message Body text, line 2...'.
      APPEND it_mess_bod.
    If no sender specified - default blank
      IF p_sender EQ space.
        gd_sender_type  = space.
      ELSE.
        gd_sender_type  = 'INT'.
      ENDIF.
    Send file by email as .xls speadsheet
      PERFORM send_file_as_email_attachment
                                   tables it_mess_bod
                                          it_mess_att
                                    using p_email
                                          'Example .xls documnet attachment'
                                          'PDF'
                                          gd_attachment_name
                                          gd_attachment_desc
                                          p_sender
                                          gd_sender_type
                                 changing gd_error
                                          gd_reciever.
    ENDFORM.
          FORM delete_spool                                             *
    FORM delete_spool.
      DATA: ld_spool_nr TYPE tsp01_sp0r-rqid_char.
      ld_spool_nr = gd_spool_nr.
      CHECK p_delspl <> c_no.
      CALL FUNCTION 'RSPO_R_RDELETE_SPOOLREQ'
           EXPORTING
                spoolid = ld_spool_nr.
    ENDFORM.
    *&      Form  SEND_FILE_AS_EMAIL_ATTACHMENT
          Send email
    FORM send_file_as_email_attachment tables it_message
                                              it_attach
                                        using p_email
                                              p_mtitle
                                              p_format
                                              p_filename
                                              p_attdescription
                                              p_sender_address
                                              p_sender_addres_type
                                     changing p_error
                                              p_reciever.
      DATA: ld_error    TYPE sy-subrc,
            ld_reciever TYPE sy-subrc,
            ld_mtitle LIKE sodocchgi1-obj_descr,
            ld_email LIKE  somlreci1-receiver,
            ld_format TYPE  so_obj_tp ,
            ld_attdescription TYPE  so_obj_nam ,
            ld_attfilename TYPE  so_obj_des ,
            ld_sender_address LIKE  soextreci1-receiver,
            ld_sender_address_type LIKE  soextreci1-adr_typ,
            ld_receiver LIKE  sy-subrc.
    data:   t_packing_list like sopcklsti1 occurs 0 with header line,
            t_contents like solisti1 occurs 0 with header line,
            t_receivers like somlreci1 occurs 0 with header line,
            t_attachment like solisti1 occurs 0 with header line,
            t_object_header like solisti1 occurs 0 with header line,
            w_cnt type i,
            w_sent_all(1) type c,
            w_doc_data like sodocchgi1.
      ld_email   = p_email.
      ld_mtitle = p_mtitle.
      ld_format              = p_format.
      ld_attdescription      = p_attdescription.
      ld_attfilename         = p_filename.
      ld_sender_address      = p_sender_address.
      ld_sender_address_type = p_sender_addres_type.
    Fill the document data.
      w_doc_data-doc_size = 1.
    Populate the subject/generic message attributes
      w_doc_data-obj_langu = sy-langu.
      w_doc_data-obj_name  = 'SAPRPT'.
      w_doc_data-obj_descr = ld_mtitle .
      w_doc_data-sensitivty = 'F'.
    Fill the document data and get size of attachment
      CLEAR w_doc_data.
      READ TABLE it_attach INDEX w_cnt.
      w_doc_data-doc_size =
         ( w_cnt - 1 ) * 255 + STRLEN( it_attach ).
      w_doc_data-obj_langu  = sy-langu.
      w_doc_data-obj_name   = 'SAPRPT'.
      w_doc_data-obj_descr  = ld_mtitle.
      w_doc_data-sensitivty = 'F'.
      CLEAR t_attachment.
      REFRESH t_attachment.
      t_attachment[] = it_attach[].
    Describe the body of the message
      CLEAR t_packing_list.
      REFRESH t_packing_list.
      t_packing_list-transf_bin = space.
      t_packing_list-head_start = 1.
      t_packing_list-head_num = 0.
      t_packing_list-body_start = 1.
      DESCRIBE TABLE it_message LINES t_packing_list-body_num.
      t_packing_list-doc_type = 'RAW'.
      APPEND t_packing_list.
    Create attachment notification
      t_packing_list-transf_bin = 'X'.
      t_packing_list-head_start = 1.
      t_packing_list-head_num   = 1.
      t_packing_list-body_start = 1.
      DESCRIBE TABLE t_attachment LINES t_packing_list-body_num.
      t_packing_list-doc_type   =  ld_format.
      t_packing_list-obj_descr  =  ld_attdescription.
      t_packing_list-obj_name   =  ld_attfilename.
      t_packing_list-doc_size   =  t_packing_list-body_num * 255.
      APPEND t_packing_list.
    Add the recipients email address
      CLEAR t_receivers.
      REFRESH t_receivers.
      t_receivers-receiver = ld_email.
      t_receivers-rec_type = 'U'.
      t_receivers-com_type = 'INT'.
      t_receivers-notif_del = 'X'.
      t_receivers-notif_ndel = 'X'.
      APPEND t_receivers.
      CALL FUNCTION 'SO_DOCUMENT_SEND_API1'
           EXPORTING
                document_data              = w_doc_data
                put_in_outbox              = 'X'
                sender_address             = ld_sender_address
                sender_address_type        = ld_sender_address_type
                commit_work                = 'X'
           IMPORTING
                sent_to_all                = w_sent_all
           TABLES
                packing_list               = t_packing_list
                contents_bin               = t_attachment
                contents_txt               = it_message
                receivers                  = t_receivers
           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.
    Populate zerror return code
      ld_error = sy-subrc.
    Populate zreceiver return code
      LOOP AT t_receivers.
        ld_receiver = t_receivers-retrn_code.
      ENDLOOP.
    ENDFORM.
    Regards,
    Shakti Barath

  • How can i change my smartform as ms word format

    Hello Experts ,
    presently my sap version is NW 701
    now i am facing one issue i,e one abaper wants ms word editor in smartforms ,for that i tried below seteps
    1) Execute T-code -I18N --> I18n customizing --> doubleclicking MS WORD as EDITOR
    when i click button , it gives one message "MS WORD IS a default editor now Please Read SAP note 742662"
    also i checked that note
    in that note shows we dont required to enable ms word as a editor
    but my abaper wants same as word edoior but now it is showing graphical editor
    please reply how can i convert this graphical editor to word editor
    Regards

    You change the name of your ID at https://appleid.apple.com.  See http://support.apple.com/kb/HE40.

  • How can I archive 5,000+ photos in iPhoto

    i have managed to accumulate over 5,000 photos in iPhoto and i think they are slowing down my mac mini. they slow down opening iPhoto.
    is there a way to archive them so i can access them if i want but don't have to have them all show up in iPhoto?
    i have an external hard drive and am tempted to move them onto that although i don't know how i would get time machine to stop overriding them.

    Jane,
    The size of your library doesn't sound like it would be a problem, but to try to give you a suggestion to the premise of your question...
    This probably won't help you on your immediate issue, but you may want to consider occasionally closing a library and starting a new one. This keeps the size manageable and easy to backup to a dvd size disc.
    Of course it depends on each user and how and what they are doing, but for example, I shoot my son's rugby team each year. Each year I start a new iphoto library (ie: rugby09, rugby10, etc), separating last year from this year, etc.
    This gets the old picts off your computer as you are finished with them.
    Only rugby pictures go into these libraries. I have other separate libraries for other topics (grand-daughter, race cars, etc).
    I can justify my method since I don't ever run into a project where I would need to be working with rugby, grand-daughter, and car picts at the same time.
    This method may not work for you or everybody, but it works for me and allows me to keep topics/libraries to a manageable size and easily backed up. It's not perfect, but it works for now.
    Of course with today's larger MP cameras, images and libraries are forever growing larger and larger, so even using my method, a dvd is very much out dated in regards to it's capacity. Hopefully BluRay burners will become mainstream soon and allow daily backups of 25GBs of data per disc.

  • How can I archive gmail hosted emails on SharePoint Server

    I have my email hosted on gmail cloud server, and I am about to get SharePoint 2013. I would like to use SharePoint to archive my gmail email on-premise. Can you advise on what I should do?
    Some suggested this:
    the only option I can see is to create a document library with an "email" content type, put the fields you need there
    2nd. Create a timer job that reads from GMAIL using their API
    Basically your timer job will make web service/rest calls, and once it has the info on memory, then use the sharepoint server API, to create a list item on sharepoint
    Seems pretty simple, all you need is to learn their api, info below
    Is there any tutorial on how I can do this?

    Hi,
    According to your post, my understanding is that you want to archive emails on SharePoint Server.
    We can create an Email List in SharePoint and create a Timer Job add the email data(from Gmail hosted) into the list.
    The following articles for your reference:
    Create and Deploy Custom Timer Job Definition in SharePoint Programmatically
    http://www.codeproject.com/Tips/634208/Create-and-Deploy-Custom-Timer-Job-Definition-in-S
    How to: Add or Delete List Items
    http://msdn.microsoft.com/en-us/library/office/ms467435(v=office.14).aspx
    Bulk Add new items to a SharePoint List using ProcessBatchData
    http://www.arboundy.com/code/sharepoint/bulk-add-new-items-to-a-sharepoint-list-using-processbatchdata/
    Best Regards
    Dennis Guo
    TechNet Community Support

  • How can we download a smartform and sapscripts under a transport request.

    hi abaper's
                   my requirement is that i have to download the transport request objects smartforms and sapscripts to do this i have to make a report, so that a person can run this report and enter the request number , then the objects  smartform and sapscripts download automatically for him.
    or is thr any standard report progrma available in sap system.
    thanks & regards
    pardeep kumar

    hi gopi
    what is this i can read only 1 here.

  • How can I archive little used contacts and then reuse?

    I have about 400 or so contacts in Address Book, some of them I want to keep but as they are related to old projects I've worked on I don't want them in my active Address Book (which syncs to my phone).
    What is the best way/what are the alternative ways of doing this?
    Ideally I want my 'live contacts' in address Book and Phone but my other contacts saved somewhere easily accessible as sometimes I will need to pull them into my 'live contacts again for a while.
    Solutions much appreciated
    (I'm running Tiger on my iMac and Leopard on my PG, currently if that makes any difference}

    do an archive, file>export>address book archive, and archive that Ab with a specific name, then when you need that archive, you can archive the "live contacts" with another archive name, and then import that first archive and so on and so forth...
    hope this helps

  • 4.0 Compliance calibrator -  How can I archive Complinace calibrator Alerts

    What is the best way of archiving the alerts generated in Compliance Caibrator 4.0.
    Maurice Reed

    There is an option to clear alerts which can be reviewed later but I have not seen any option to archive them.

Maybe you are looking for