Automatic scheduling and mailing of Check register ( FCHN ) on daily basis

Hi All,
I have a urgent requirement wherein I have to schedule FCHN (check regsiter) on daily basis and send the report to group of user.Just want to check is this possible to achieve the same.
Constraint is user requires the the same format as we achieve when we mail the report after output via sap office inbox.
It is also required to put some body text and send the entire output as attachment in htm format to the mail id of required users.
The same process as we are doing now manually like after executing the report From menu option LIST-> SEND TO-> MAIL RECIPIENT, there they put something in body and also fill the required mail id where the mail to be send.
Instead of doing manually on everyday basis  , they want this process to scheduled automatically.
Please suggest on urgent...
Regards

Hi,
Thanks for your reply,
Could you please help me trace out how to put some custom text in the mail body that is received to spool receipts .
As of now they are getting blank mail body with attachment in htm format which actually contains the data.
Is there any way out to form the subject of the mail.. which now basically contains the background job name.
Please suggest.
Regards

Similar Messages

  • How to autogenrate multiple items report of the SharePoint list and sent to the client id on daily basis

    Dear Support,
    As per customer requirement he want to send SharePoint list multiple items reports on daily basis by email autognrated workflow in SharePoint.
    I tried for that and created workflow for SharePoint list  on new item creation using SharePoint designer 2013 it’s working fine. But I am unable to send list multiple items report by work flow.
    Please let me know the process for SharePoint list multiple items report generation and how to sent mail to the client id on daily basis.
    Would request your support.

    Hi
    another approach
    use a powershell scheduled script which will get needed lists items, adn will sned the infos by email
    Romeo Donca, Orange Romania (MCSE, MCITP, CCNA) Please Mark As Answer if my post solves your problem or Vote As Helpful if the post has been helpful for you.

  • Link tables and chart in checking register

    So I've watched the tutorials, read the guide and looked online and I still connot do the following, it's about a year and a half of trying.  I have used the checking register to keep track of monthly expenses.  Here's what I want:
    More categories on the pop up menu - I can do this
    Link the smaller categories table to a achart - I can do this
    Link the categories from the pop up menu on the big table to the categories on the small table and then to the chart - Nope
    Anyone?

    Allen? Devin?,
    It's not automatic, but not difficult either.
    Add a new row to the little Account Categories table. Click the Add Row button.
    Typ3 in your new category name and then you'll have this:
    Next Copy the new category name text. Select the Pop-Up cells and go to the Cells Inspector. Click the plus sign to add an entry to the list and Paste your new category into the list.
    Click on the Pie Chart to highlight the Chart range in the Account Categories table. Drag the lower right corner down to include the row of the new category.
    That's it.
    Jerry

  • HT1430 I am having to restore my iPhone on a weekly basis and it is going black on a daily basis- this is ridiculous! Is this normal for an apple product?

    I am having to restore my iPhone through my iTunes account on a weekly basis and the screen is going black on a daily basis and just turning off suddenly. This is ridiculous! Is this normal for an apple product?

    That is obviously not normal. I would make an appt at an Apple store to get it checked.

  • Background job schedule and mail triggering

    Hi Experts,
    I schedule a background job to run a custom program for project closure.The job is running successfully. But,the mail I am getting from this job run is same all the time (means it's showing same project closure again and again though I am running job for different projects). Is it some bug in our custom program or any parameters required to be check in job schedule?
    Kindly suggest.
    Thanks & Regards
    Saurabh

    Yes. That is the point I am missing. Just one 'date' is checked and project is taken into account for the custom program and after its successful run the mail is sent to users.
    And when the same program I am assigning in SM36,it is actually running the program accurately for project/s but sending the same mail which it send for very first project earlier.
    Can you please guide me on the way to create these variants? 
    You will need to Save different variants for different projects and then assign the variants with your job.
    Will it be required to create variant again and again and assign different projects individually? As, we are not sure that which project is gonna be created in future. So, need guideline how these variants can help me to sort out the e-mail issue.
    Regards
    Saurabh

  • Scheduling and Mailing

    Hi,
    I have scheduled a background job and in the spool-receipient field i gave a E-mail address.
    The job got completed but no mail came to my mail-box.
    Please help.
    Warm Regards,
    Will.

    hi will smith,
               here is the sample program for sending email,
    check this out......
    TABLES: mara,marc,mard,mkpf,mseg,likp,t156ht,kna1,lfa1, vbfa, lips.
    Structures and Internal tables
    TYPE-POOLS: slis.
    DATA:   it_message TYPE STANDARD TABLE OF solisti1 INITIAL SIZE 0
                    WITH HEADER LINE.
    DATA:   it_attach TYPE STANDARD TABLE OF solisti1 INITIAL SIZE 0
                    WITH HEADER LINE.
    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.
    DATA: fieldcat             TYPE slis_t_fieldcat_alv,
          fieldcat_ln          LIKE LINE OF fieldcat,
          layout_in            TYPE slis_layout_alv,
          sortcat              TYPE slis_t_sortinfo_alv,
          sortcat_ln           LIKE LINE OF sortcat,
          eventcat             TYPE slis_t_event,
          eventcat_ln          LIKE LINE OF eventcat,
          col_pos              TYPE i.
    DATA: BEGIN OF itab OCCURS 0,
       lgort LIKE mseg-lgort,  " St Location
       name1 LIKE kna1-name1,  " Ship to Name
       ebeln LIKE mseg-ebeln,  " PO Num
       bktxt LIKE mkpf-bktxt,  " Delivery Header
       ort01 LIKE kna1-ort01,  " Ship to City
       budat LIKE mkpf-budat,  " Posting date
       bwart LIKE mseg-bwart,  " Movement Type
       btext LIKE t156ht-btext,  " Movement Type Text
       mblnr LIKE mkpf-mblnr,  " Mat Doc Number
       xblnr LIKE mkpf-xblnr,  " Dlvy No
       matnr LIKE mseg-matnr,  " Material No
       maktx LIKE makt-maktx,  " Mat Desc
       menge LIKE mseg-menge,  " Qty
       dmbtr LIKE mseg-dmbtr,  " Amount in local currency
    *dmbtr(15) type c,
       kunnr LIKE mseg-kunnr,  " Customer NO
       lifnr LIKE mseg-lifnr,  " Vendor No
       kdauf LIKE mseg-kdauf,  "Sales order
       mat_kdauf LIKE mseg-mat_kdauf,   "SAles order for mvt type 653  "0001
       meins LIKE mseg-meins,
       werks LIKE mseg-werks,
    END OF itab.
    DATA: BEGIN OF t_fin OCCURS 0,
           lgort LIKE mseg-lgort,  " St Location
           lifnr LIKE mseg-lifnr,  " Customer Or Vendor
           name1 LIKE kna1-name1,  " Ship to Name
          ebeln LIKE mseg-ebeln,  " PO Num            "0001
           ebeln LIKE vbak-bstnk,    " PO num             "0001
           bktxt LIKE mkpf-bktxt,  " Delivery Header
           ort01 LIKE kna1-ort01,  " Ship to City
           budat LIKE mkpf-budat,  " Posting date
           bwart LIKE mseg-bwart,  " Movement Type
           btext LIKE t156ht-btext,  " Movement Type Text
           mblnr LIKE mkpf-mblnr,  " Mat Doc Number
           xblnr LIKE mkpf-xblnr,  " Dlvy No
           matnr LIKE mseg-matnr,  " Material No
           maktx LIKE makt-maktx,  " Mat Desc
           menge(13) type c,  " Qty
           dmbtr(14) type c,  " Amount in local currency
        END OF t_fin.
    DATA : wa_charekpo LIKE T_FIN,
           gd_error TYPE sy-subrc,
          gd_reciever TYPE sy-subrc.
    Selection-screen
    SELECTION-SCREEN BEGIN OF BLOCK blk1 WITH FRAME TITLE text-001.
    SELECT-OPTIONS: s_werks FOR marc-werks OBLIGATORY,
                    s_lgort FOR mard-lgort DEFAULT '0010',
                    s_matnr FOR mara-matnr,
                    s_matkl FOR mara-matkl,
                    s_budat FOR mkpf-budat,
                    s_bwart FOR mseg-bwart.
    PARAMETER:               p_email LIKE somlreci1-receiver.
    SELECTION-SCREEN END OF BLOCK blk1.
    AT SELECTION-SCREEN.
    IF P_EMAIL NA '@' OR P_EMAIL NA '.'.
    MESSAGE 'INVALID E_MAIL' TYPE 'E'.
    ENDIF.
      PERFORM 50_check_authority.
    START-OF-SELECTION.
    START-OF-SELECTION.
      PERFORM 100_collect_dbrecs.
      PERFORM 200_process_dbrecs.
      PERFORM 300_build_xls.
       perform 600_POPULATE_EMAIL_MESS.
    Send file by email as .xls speadsheet
      PERFORM 400_send_file_as_email tables it_message
                                          it_attach
                                          using p_email
                                          'Example .xls documnet attachment'
                                          'XLS'
                                          'filename'
                                          'good_rec '
                                 changing gd_error
                                          gd_reciever.
       perform 600_POPULATE_EMAIL_MESS.
      Instructs mail send program for SAPCONNECT to send email(rsconn01)
      PERFORM 500_INITIATE_MAIL_EXEC.
    *&      Form  100_collect_dbrecs
    FORM 100_collect_dbrecs .
      TYPES : BEGIN OF stype_fields,
                fieldname         TYPE  name_feld,
              END OF stype_fields.
      TYPES : stab_fields         TYPE STANDARD TABLE
                                  OF stype_fields
                                  WITH DEFAULT KEY.
      DATA : l_t_fields           TYPE stab_fields.
    create table with the fields to be transported
      APPEND 'MSEG~AUFNR' TO l_t_fields.
      APPEND 'MKPF~BKTXT' TO l_t_fields.
      APPEND 'MKPF~BLDAT' TO l_t_fields.
      APPEND 'MSEG~BPMNG' TO l_t_fields.
      APPEND 'MSEG~BPRME' TO l_t_fields.
      APPEND 'MSEG~BSTME' TO l_t_fields.
      APPEND 'MSEG~BSTMG' TO l_t_fields.
      APPEND 'MKPF~BUDAT' TO l_t_fields.
      APPEND 'MSEG~BWART' TO l_t_fields.
      APPEND 'MSEG~EBELN' TO l_t_fields.
      APPEND 'MSEG~EBELP' TO l_t_fields.
      APPEND 'MSEG~KUNNR' TO l_t_fields.
      APPEND 'MSEG~LGORT' TO l_t_fields.  " St Location
      APPEND 'MSEG~LIFNR' TO l_t_fields.  " Vendor Num
      APPEND 'MSEG~MATNR' TO l_t_fields.  " Mat No
      APPEND 'MSEG~KDAUF' TO l_t_fields.
      APPEND 'MSEG~MAT_KDAUF' TO l_t_fields.  "sales order for mvt type 653 "0001
      APPEND 'MKPF~MBLNR' TO l_t_fields.
      APPEND 'MSEG~MEINS' TO l_t_fields.
      APPEND 'MSEG~MENGE' TO l_t_fields.
      APPEND 'MSEG~WERKS' TO l_t_fields.
      APPEND 'MKPF~XBLNR' TO l_t_fields.
      APPEND 'MKPF~BKTXT' TO l_t_fields.
      APPEND 'MSEG~DMBTR' TO l_t_fields.
      SELECT (l_t_fields)
      INTO CORRESPONDING FIELDS OF TABLE itab
      FROM mkpf INNER JOIN mseg
      ON    mkpfmandt = msegmandt
        AND mkpfmblnr = msegmblnr
        AND mkpfmjahr = msegmjahr
         WHERE mkpf~budat IN s_budat
           AND mseg~bwart IN s_bwart
           AND mseg~lgort IN s_lgort
           AND mseg~matnr IN s_matnr
           AND mseg~werks IN s_werks.
    ENDFORM.                    " 100_collect_dbrecs
    *&      Form  200_process_dbrecs
    FORM 200_process_dbrecs .
      DATA: l_adrnr TYPE adrc-addrnumber.                       "0002
      LOOP AT itab.
        CLEAR: mara-matkl,t_fin.
        SELECT SINGLE matkl INTO mara-matkl
                            FROM mara
                           WHERE matnr EQ itab-matnr.
        IF sy-subrc EQ 0.
          IF mara-matkl IN s_matkl.
            MOVE: itab-ebeln TO t_fin-ebeln.                    "0001
            IF NOT itab-kunnr IS INITIAL.
    *mod 0002
             SELECT SINGLE name1 ort01
                                INTO (itab-name1,itab-ort01)
                                FROM kna1
                                WHERE kunnr EQ itab-kunnr.
    *end of 0002
    *Begin of mod 0001
             SELECT SINGLE kdauf FROM lips
                                  INTO lips-kdauf
                             WHERE vbeln EQ itab-xblnr.
             SELECT SINGLE vbelv FROM vbfa
                                 INTO vbfa-vbelv
                                 WHERE vbeln EQ itab-xblnr
                                 AND vbtyp_n EQ 'J'.
              SELECT SINGLE vgbel FROM lips
                                  INTO lips-vgbel
                                  WHERE vbeln EQ itab-xblnr.
              IF sy-subrc EQ 0.
                SELECT SINGLE bstnk FROM vbak
                                INTO t_fin-ebeln
                                WHERE vbeln EQ lips-vgbel.
    *begin of 0002
                CLEAR: l_adrnr.
                SELECT SINGLE adrnr INTO l_adrnr
                                FROM vbpa
                                WHERE vbeln EQ vbfa-vbelv
                                AND   parvw EQ 'WE'.
                IF sy-subrc EQ 0.
                  SELECT SINGLE name1 mc_city1
                           INTO (itab-name1, itab-ort01)
                           FROM adrc
                           WHERE addrnumber EQ l_adrnr.
                ENDIF.
    *end of 0002
              ENDIF.
    *End of mod 0001
              t_fin-lifnr = itab-kunnr.
             MOVE: kna1-name1 to itab-name1,
                   kna1-ort01 to itab-ort01.
            ELSEIF NOT itab-lifnr IS INITIAL.
              SELECT SINGLE name1 ort01
                                INTO (itab-name1,itab-ort01)
                                FROM lfa1
                                WHERE lifnr EQ itab-lifnr.
              t_fin-lifnr = itab-lifnr.
            ELSEIF NOT itab-kdauf IS INITIAL.
              SELECT SINGLE kunnr bstnk                         "0001
                              INTO (itab-kunnr,t_fin-ebeln)     "0001
                              FROM vbak
                              WHERE vbeln EQ itab-kdauf.
              IF sy-subrc EQ 0.                                 "0001
    *Begin 0002
               SELECT SINGLE name1 ort01
                                  INTO (itab-name1,itab-ort01)
                                  FROM kna1
                                  WHERE kunnr EQ itab-kunnr.
                CLEAR: l_adrnr.
                SELECT SINGLE adrnr INTO l_adrnr
                                FROM vbpa
                                WHERE vbeln EQ itab-kdauf
                                AND   parvw EQ 'WE'.
                IF sy-subrc EQ 0.
                  SELECT SINGLE name1 mc_city1
                           INTO (itab-name1, itab-ort01)
                           FROM adrc
                           WHERE addrnumber EQ l_adrnr.
                ENDIF.
    *end of 0002
                t_fin-lifnr = itab-kunnr.
              ENDIF.                                            "0001
    *Begin of mod 0001
            ELSEIF NOT itab-mat_kdauf IS INITIAL AND itab-bwart EQ '653' .
              SELECT SINGLE kunnr bstnk
                              INTO (itab-kunnr,t_fin-ebeln)
                              FROM vbak
                              WHERE vbeln EQ itab-mat_kdauf.
              IF sy-subrc EQ 0.
                SELECT SINGLE name1 ort01
                                   INTO (itab-name1,itab-ort01)
                                   FROM kna1
                                   WHERE kunnr EQ itab-kunnr.
                t_fin-lifnr = itab-kunnr.
              ENDIF.
    *End of mod 0001
            ENDIF.
            SELECT SINGLE btext INTO itab-btext
                                FROM t156ht
                                WHERE bwart EQ itab-bwart
                                 AND  spras EQ sy-langu.
            SELECT SINGLE maktx INTO itab-maktx
                                FROM makt
                                WHERE matnr EQ itab-matnr
                                 AND  spras EQ sy-langu.
            MODIFY itab.
            MOVE:    itab-lgort TO t_fin-lgort,
                     itab-name1 TO t_fin-name1,
                     itab-bktxt TO t_fin-bktxt,
                     itab-ort01 TO t_fin-ort01,
                     itab-budat TO t_fin-budat,
                     itab-bwart TO t_fin-bwart,
                     itab-btext TO t_fin-btext,
                     itab-mblnr TO t_fin-mblnr,
                     itab-xblnr TO t_fin-xblnr,
                     itab-matnr TO t_fin-matnr,
                     itab-maktx TO t_fin-maktx,
                     itab-menge TO t_fin-menge,
                     itab-dmbtr TO t_fin-dmbtr.
            APPEND t_fin.
            CLEAR t_fin.
          ELSE.
            DELETE itab.
          ENDIF.
        ENDIF.
      ENDLOOP.
    ENDFORM.                    " 200_process_dbrecs
    *&      Form  TOP_OF_PAGE
    FORM top_of_page .
      WRITE: /02 'Prog-Id:',sy-repid,
              38 'Date:',sy-datum,
             /02 'User-Id:',sy-uname,
              38 'Page:',sy-pagno.
      ULINE .
      SKIP.
    ENDFORM.                    " TOP_OF_PAGE
    *&      Form  USER_COMMAND
    FORM user_command USING p_ucomm    LIKE sy-ucomm
                            p_selfield TYPE slis_selfield.
      CASE p_ucomm.
        WHEN '&IC1'.
          CASE p_selfield-sel_tab_field.
            WHEN 'T_FIN-BMENG' OR 'T_FIN-BMENG1'.
             PERFORM get_selected_so USING p_selfield-tabindex.
             PERFORM list_display1.
          ENDCASE.
      ENDCASE.
    ENDFORM.                    "user_command
    *&      Form  50_check_authority
    FORM 50_check_authority .
      TABLES: t001w.
      SELECT werks
            FROM t001w
            INTO t001w-werks
            WHERE werks IN s_werks.
        AUTHORITY-CHECK OBJECT 'M_MATE_WRK'
                   ID 'ACTVT' FIELD '03'
                   ID 'WERKS' FIELD t001w-werks.
        IF sy-subrc <> 0.
         MESSAGE e000 WITH text-a00.
        ENDIF.
      ENDSELECT.
    AUTHORITY-CHECK OBJECT 'M_MATE_BUK'
                    ID 'WERKS' FIELD s_bukrs.
    ENDFORM.                    " 50_check_authority
    *&      Form  300_build_xls
          text
    form 300_build_xls .
    *If you have Unicode check active in program attributes thnen you will
    *need to declare constants as follows
    *class cl_abap_char_utilities definition load.
    constants:
        con_tab  type c value cl_abap_char_utilities=>HORIZONTAL_TAB,
        con_cret type c value cl_abap_char_utilities=>CR_LF.
      CONCATENATE 'lgort' 'lifnr' 'name1' 'ebeln' 'bktxt' 'ort01' 'budat' 'bwart' 'btext' 'mblnr' 'Xblnr' 'MATNR' 'maktx' 'menge' 'dmbtr'INTO it_attach SEPARATED BY con_tab.
      CONCATENATE con_cret it_attach  INTO it_attach.
      APPEND  it_attach.
      LOOP AT t_fin INTO wa_charekpo.
        CONCATENATE wa_charekpo-lgort wa_charekpo-lifnr
                    wa_charekpo-name1 wa_charekpo-ebeln
                    wa_charekpo-bktxt wa_charekpo-ort01
                    wa_charekpo-budat wa_charekpo-bwart
                    wa_charekpo-btext wa_charekpo-mblnr
                    wa_charekpo-Xblnr wa_charekpo-MATNR
                    wa_charekpo-maktx wa_charekpo-menge
                    wa_charekpo-dmbtr
                 INTO it_attach SEPARATED BY con_tab.
        CONCATENATE con_cret it_attach  INTO it_attach.
        APPEND  it_attach.
      ENDLOOP.
    endform.                    " 300_build_xls
    *&      Form  400_send_file_as_email
          Send email
    FORM 400_send_file_as_email tables  pit_message
                                              pit_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[] = pit_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.
    *&      Form  500_INITIATE_MAIL_EXEC
          Instructs mail send program for SAPCONNECT to send email.
    FORM 500_INITIATE_MAIL_EXEC.
    WAIT UP TO 2 SECONDS.
    SUBMIT rsconn01 WITH mode = 'INT'
                   WITH output = 'X'
                   AND RETURN.
    ENDFORM.                    " 500_INITIATE_MAIL_EXEC
    *&      Form  600_POPULATE_EMAIL_MESS
           Populate message body text
    form 600_POPULATE_EMAIL_MESS.
      REFRESH it_message.
      it_message = 'hai da this is vikram i am sending mail from my SAP system if u get it send me reply bye..'.
      APPEND it_message.
    ENDFORM.                    " 600_POPULATE_EMAIL_MESS
    Reward Points if usefull

  • Hello sir this is anshul from india i am using i phone 4 16gb and my i phone is hanging on daily basis with my views i am thinking may be ios 7.1 is not compatible for the i phone 4 and if it can be possible my software can be degrade kindly tell me as oo

    HELLO APPLE SUPPORT THIS IS ANSHUL FROM INDIA AND ONE THING I WANNA KNOW HOW CAN WE DEGRADE THE SOFTWARE OF I PHONE BCZ I AM USING IOS 7.1 BUT IT IS NOT COMPATIBLE FOR THE APPLE 4 16GB  SO IWANNA DEGARDE IT KIINDLY TELL ME AS SOON AS POSSIBLE

    Hi anu,
    Apple provides no downgrade path for the iOS. You need to check your setting and do some troubleshooting (do a search of this forum for suggestions). I have an iPhone 4, and I am running iOS 7.1.1 with no issues.
    Cheers,
    GB

  • APP(f110) : Alternative Payee not handled in check register

    Hi,
    Request expert advice for the below situation -
    Vendor 1 is maintained as an alternative payee for Vendor 2.
    Now there exist 2 invoice say,
    Against Vendor 1 - $100
    Against Vendor 2 - $200
    Now, I create a auotmatic payment program (F110) and include both the vendors in the same proposal and execute -
    Ideally, there should be a single check against Vendor 1 for $300, but there will be 2 payment doc numbers generated against each vendor. --> This step is working fine.
    Issue:  When i check in the check register (FCHN), only the payment docuument number against Vendor 2 for $ 200 is available. 
    Where am i missing?  Is it config related?  or is it variant releated?
    Regards,
    Sridevi
    Edited by: Sridevi on Sep 30, 2008 1:44 AM

    Hi Sridevi
    Please check the table PAYR and see what is the check number in the table for the other payment document. The current check details should be there in the table. This means that in FCHN there is some selection parameter that you need to change. Just give the details of the paying company code, account id and house bank. Just give the check number and nothing else in the selection. I am sure the amount will show up. Let me know what was the result.
    Karthik

  • Help with Check Register

    Hi SDN,
    My question is regarding the check register and the check status.
    In SAP, we have a way to determine if a check has already been encashed.
    How about checks which has been sent already to the vendor but not yet been encashed (as per the bank statement) ?
    Is there any procedure that we can do to tag certain checks as sent but not encashed that will also appear in the Check Register (FCHN) report?
    Thanks

    Hi lolu,
    Thanks for the reply. The report is interesting, however, without the check number, it won't be much of a help to the users.
    Thanks though.
    Hi Hari,
    Thanks. That is a good workaround. However, I want every detail to be available in the check register. Otherwise, we might need this to be customized.
    Thanks

  • Check register issue

    Hello All,
    We have recently updated BSI TUBs 180 to 186. We have following problem-
    1. Some employees got missed out from payment run. When compared check register and the total to a payroll reconciliation report, there was some $ difference.
    Has anyone come across with any of such problem before?
    Thanks,
    Annie

    Hello Annie,
    I don't understand how could TUB update would cause difference. Anyways, you can take PERNR's from recon report on the spreadsheet and compare against check register. I am sure you will find difference employees and then you can research on those employees.
    Arti

  • RE: Prod order automatic scheduling at creation level

    Hi All,
             While creating Production order thru Backward scheduling, the system automatically scheduling but I need to schedule after creation manually. Any solutions to this issue.

    Hi,
    If you have maintain scheduling type as Backward then system will ask you to maintain the Basic Finsh Date.
    So my doubt is with your order type.Is it correct one for which you are creating the production order.
    Now if you don't want to do the automatic scheduling and do this one manually then try this.
    For that order type maintain scheduling type as only capacity requirements.After this system will not schedules the order automatically.All the dates you have to maintain manually.There is no scheduling at all.And if you want to schedules the order then change that scheduling type to backward in order itself (not in OPU3) and then press that scheduling tab.
    Regards,
    Dhaval

  • How may I automatically stop and start Mail services at a set time please

    Hi folks. I was wondering if anyone could tell me how to automatically stop and start Mail services (or any other services) at a set time please in Leopard Server? Is there a script someone has created which might help?
    Cheers, David ( a realy newbie when it comes to administering OS X server)

    launchd works through a series of XML documents that define tasks to run, either at launch, on a time schedule, in response to network events, etc.
    So you'll need to create two .plists - one to start the mail server and one to stop it. They should be saved in /Library/LaunchDaemons. I'd suggest something like:
    /Library/LaunchDaemons/local.postfix.stop.plist:
    <?xml version="1.0" encoding="UTF-8"?>
    <!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" "http://www.apple
    .com/DTDs/PropertyList-1.0.dtd">
    <plist version="1.0">
    <dict>
      <key>Label</key>
      <string>local.postfix.stop</string>
      <key>ProgramArguments</key>
      <array>
        <string>/usr/sbin/serveradmin</string>
        <string>stop</string>
        <string>mail</string>
      </array>
      <key>StartCalendarInterval</key>
      <dict>
        <key>Hour</key>
        <integer>1</integer>
        <key>Minute</key>
        <integer>00</integer>
      </dict>
    </dict>
    </plist>
    and /Library/LaunchDaemons/local.postfix.start.plist:
    <?xml version="1.0" encoding="UTF-8"?>
    <!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" "http://www.apple
    .com/DTDs/PropertyList-1.0.dtd">
    <plist version="1.0">
    <dict>
      <key>Label</key>
      <string>local.postfix.start</string>
      <key>ProgramArguments</key>
      <array>
        <string>/usr/sbin/serveradmin</string>
        <string>start</string>
        <string>mail</string>
      </array>
      <key>StartCalendarInterval</key>
      <dict>
        <key>Hour</key>
        <integer>4</integer>
        <key>Minute</key>
        <integer>00</integer>
      </dict>
    </dict>
    </plist>
    You'll need to either use launchctl load /Library/LaunchDaemons/local.postfix.stop (or start) to load the tasks, or reboot your server.
    I'm curious, though, as to why you want to do this. Mail is typically one of the services that people want to run 24/7 so they don't miss out on any emails (even though SMTP can tolerate this). Why do you want to shut yours down?

  • Check lot and check register

    hi,
    what is check lot and check register?
    what is the difference?
    thanks

    hi Elina,
    for eg
    Check lots are nothing but when u create the Check number in FCHI that number will be stored for the each check lots. Each check booknumber is called as a Check lots. Tcode FCHI
    For eg. Check lot range is from 1000 to 1100 and this current check lot is called as  check lot 1 .
    Check Register nothing but where u can see all the checks that are printed after the payment...  Tcode FCHN.
    plss assign me the points...
    Ranjit

  • Reg: Function Module thats used to check the status of JOBS and mail it

    Hi Experts,
    Is there any Standard Function module thats going to find the status of the jobs and mail this status to specied email ID in .xls format. While checking status function module should give whether job is - Aborted, Successful, Running, Waiting, Locked, Error, Warning, Starting Date, Ending Date of the Job.
    Please help me,

    Hello Nagaraj,
    You can find out the status of a job with the SHOW_JOBSTATE function module. You provide this function module with a job name and job number. It returns one of the six possible statuses of the job:
    ABORTED TYPE C,
    FINISHED TYPE C,
    PRELIMINARY TYPE C,
    READY TYPE C,
    RUNNING TYPE C,
    SCHEDULED TYPE C.
    Following is the link for the same:
    http://help.sap.com/saphelp_sm32/helpdata/en/fa/096e10543b11d1898e0000e8322d00/content.htm
    Warm Regards,
    Riki Dash

  • Factors affecting to Automatic scheduling check box on

    hi all
    i want to know that which are the factros affecting the settings in production order in control data tab and in scheduling sub menu i see the check box for automatically scheduling is on.
    i remove automatic scheduling check box in OPU3 then still it comes in newly created order.
    please help.

    Hi,
    First of all why you want to remove tick of check box of Automatic Scheduling? The purpose of this indicator is to schedule order automatically when it is saved which is desirable.However If you do not maintain the indicator and intend to make a change relevant to scheduling in the order or network, the system gives the order or network a status "Dates not current" (NTUP) when you save.
    As per std practice, automatic schedulling check box is ticked. and it is recommended also.
    Rest is upto you.You can or cant maintain it as per your requirement.
    Hope this clears your doubt.
    Regards,
    Tejas

Maybe you are looking for

  • How to populate a message text input base on another message text input.

    Hi, Everybody,i have 5 message text input a,b,c,d,e(say) now a=b+c+d+e,Now am inserting value for a,b,c,d and after giving this 4 value the value of e will automatically populate.How can we achieve this. Thanks

  • Thousands of radial shadings

    I am writing a plotting package, and I would like to be able to display thousands of spheres on a page. I've successfully written code to use the radial shadings with an exponential function to make really nice looking spheres. When I plot a little o

  • How can you get firefox to refresh a web page like every few hours to keeep you logged into a account

    not really a trouble it would just be handy to be able to set firefox to refresh a page thats loaded at a set interval eg 1-5hours because I come home from work and I'm logged out of web page like if someone resets router etc

  • Zero dollar balance letter

    Hi all, If customer has paid his balance entirely then we want to send him a letter saying that his balance is zero $ .Is their any standard SAP report for this or we will hav to custome it . Thanks Nik

  • "oracm" shell we see this info on both nodes?

    We should see this information on both rac nodes or only one node?. I can see this information in node A but not on node B. On node B, i tryed to restart ocmstart.sh # $ORACLE_HOME/oracm/bin/ocmstart.sh ocmstart.sh: Error Restart is too frequent ocms