Forums watch options - reply subject of the mails

Hi forums managers,
when we opt to watch a forum via email,
we are get the mails with the subject like:
Forum "Exchange Infrastructure" update: "Security: MLS between XI IS and IE (ABAP Proxy System)"
the above subject is perfectly alright.
The subsequent replies of this message now has the subject like:
Forum "Exchange Infrastructure" update: "Re: Security: MLS between XI IS and IE (ABAP Proxy System)"
The suggestion is to change the format of the subject of the reply messages.
the part "Re:" should be appended in the beginning of the subject. .. something like:
Re: Forum "Exchange Infrastructure" update: "Security: MLS between XI IS and IE (ABAP Proxy System)"
This will enable the email programs like outlook or gmail, when grouped by converstion, it will show all the mails of one thread together.
It can improve the readers to see the question and reply, together at one glance.
It would be great, if it can be done that way.
would it be possible to implement this? or any remarks, suggestions are welcome.
thanks,
Ganesh (g22sep).

I was not telling to append Re: tag for each reply.
I was speaking about the location of the Re: tag, that is present in the subjects of reply emails.
It should be at the beginning of the subject instead of somewhere in the middle of the subject.
so the below subject
Forum "Exchange Infrastructure" update: "Re: Security: MLS between XI IS and IE (ABAP Proxy System)"
should be actually
Re: Forum "Exchange Infrastructure" update: "Security: MLS between XI IS and IE (ABAP Proxy System)"

Similar Messages

  • How to add subject in the mail while choosing option i.e. "Send a copy of the entire PDF file as an

    I need to update the subject in the mail while choosing option i.e. "Send a copy of the entire PDF file as an attachment"?
    How I can add my own subject in the mail while attaching pdf file, currently it shows as "do" subject name which is default every time?

    the normal FILE FTP adapter will do or do we have to use any special Adapter
    File adapter with a bit of modification will do. See this
    XI: Read data from PDF file in Sender Adapter
    Once ur pdf is converted to xml, u can use the java or xsl mapping to map the comlpete xml structure into one field
    The specified item was not found.
    Regards,
    Prateek

  • How to get subject of the Mail greator than 50 characters length

    Hi Friends,
    I am sending a mail by using the Class Interface cl_document_bcs and method create_document
    there the Parameter i_subject is of 50 characters length
    but the client need the subject of the mail nearly 100 chars lenght
    Please guide me how to go furthur
    are there any other Methods to go furthur to have subject of the mail greator than 50 characters lenght
    Thanks in Advance
    Ganesh

    Hi Ravi,
    could you plz help me how to set that subject... (len > 50 char )
    my previous code is
    TRY.
        gwa_sendreq = cl_bcs=>create_persistent( ).
        gwa_document = cl_document_bcs=>create_document(  i_type    = gc_htm
                                                          i_text    = gt_mail
                                                          i_subject = gwa_subject ).
       gwa_subject1  = 'Material Arrival (GIN No:12566) notification Against PO 26735 (To be Inspected)'.
       gwa_sendreq = cl_bcs=>set_message_subject( ip_subject = gwa_subject1 ).
        CALL method GWA_SENDREQ->SET_DOCUMENT( gwa_document ).
        gwa_sender = cl_sapuser_bcs=>create( sy-uname ).
        CALL METHOD gwa_sendreq->set_sender
          EXPORTING
            i_sender = gwa_sender.
        gwa_recipient = cl_cam_address_bcs=>create_internet_address( gv_mail_id ).
        CALL METHOD gwa_sendreq->add_recipient
          EXPORTING
            i_recipient = gwa_recipient
            i_express   = ' '.
        gwa_sendreq->set_send_immediately( gc_x ).
        CALL METHOD gwa_sendreq->send(
          EXPORTING
            i_with_error_screen = 'X'
          RECEIVING
            result              = gwa_sent_status ).
        IF gwa_sent_status <> 'X'.
        ENDIF.
      CATCH cx_bcs INTO gwa_bcs_exception.
    ENDTRY.
    COMMIT WORK.

  • HT201320 i'm trying to add an email account and foolowed on screen directions but after "verifying account" screen i got new account" and no options highlighted but "cancel"  The mail server is our local phone company.  Appreciate any help.

    i'm trying to add an email account and followed on screen directions but after "verifying account" screen i got "new account" and no options highlighted but "cancel"  The mail server is our local phone company.  Appreciate any help.

    Hello there, shallotte07.
    The following iPhone Troubleshooting Assistant should get you through all the steps to set up mail:
    Apple - Support - iPhone - Setting up Mail Assistant
    http://www.apple.com/support/iphone/assistant/mail/http://www.apple.com/support/iphone/assistant/mail/
    Remember that some Service Providers require particular settings, and you may need to contact them directly to acquire that information. Check out the "Email cheat-sheet" section in the information that follows:
    If iPhone can't find your service provider's settings, this article can help you obtain the necessary account settings from your provider.
    Thanks for reaching out to Apple Support Communities.
    Cheers,
    Pedro D.

  • Subject in the mail sent through Batch Job

    Hi,
    We have a batch job which is running daily.
    Consumer wants the output of the batch job (spool request) in mail. We generally send the mail from batch job by filling the mail id in "Title field".. there is some third party involved in managing spool requests..
    But now consumer wants to send the mail with a subject line filled..
    I could not find any field or option in SM36 where i can fill in the subject..
    Please help. Now we are getting the subject as user id + spool request + system number.

    Check the below Code.
    DATA: NUMBYTES TYPE TST01-DSIZE,
            PDFSPOOLID TYPE TSP01-RQIDENT.
      DATA: BEGIN OF PDFDATA OCCURS 0.
              INCLUDE STRUCTURE TLINE.
      DATA: END OF PDFDATA.
      DATA: G1_LINES_TXT  TYPE I.
      DATA  : L_DOCUMENT_DATA    TYPE SODOCCHGI1,
              T_PACKING_LIST     TYPE STANDARD TABLE OF SOPCKLSTI1,
              W_OBJHEAD TYPE SOLI_TAB,
              T_OBJBIN TYPE STANDARD TABLE OF SOLISTI1,
              T_OBJTXT  TYPE STANDARD TABLE OF SOLISTI1,
              LW_PACKING_LIST    TYPE SOPCKLSTI1,
              L_LINES            TYPE I,
              W_RECEIVER        TYPE SOMLRECI1,
              T_RECEIVER         TYPE STANDARD TABLE OF SOMLRECI1.
      DATA: OBJPACK LIKE SOPCKLSTI1 OCCURS  2 WITH HEADER LINE.
      DATA: OBJHEAD LIKE SOLISTI1   OCCURS  1 WITH HEADER LINE.
      DATA: OBJBIN  LIKE SOLISTI1   OCCURS 10 WITH HEADER LINE.
      DATA: OBJTXT  LIKE SOLISTI1   OCCURS 10 WITH HEADER LINE.
      DATA: RECLIST LIKE SOMLRECI1  OCCURS  5 WITH HEADER LINE.
      DATA: DOC_CHNG LIKE SODOCCHGI1.
      DATA: TAB_LINES LIKE SY-TABIX.
    *...Read the Spool request number generated.
      SELECT MAX( RQIDENT ) INTO G_SPOOL_NUM
                            FROM TSP01
                            WHERE RQCLIENT = SY-MANDT AND
                            RQOWNER = SY-UNAME.
    *....Convert Spool to PDF
      CALL FUNCTION 'CONVERT_ABAPSPOOLJOB_2_PDF'
        EXPORTING
          SRC_SPOOLID              = G_SPOOL_NUM
          NO_DIALOG                = 'X'
          DST_DEVICE               = G_PDEST
        IMPORTING
          PDF_BYTECOUNT            = NUMBYTES
        TABLES
          PDF                      = PDFDATA
        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.
    *...Convert 132 char to 255 char
      LOOP AT PDFDATA.
        TRANSLATE PDFDATA USING ' ~'.
        CONCATENATE GD_BUFFER PDFDATA 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.
    Creating the document attachment
      LOOP AT IT_MESS_ATT.
        OBJBIN = IT_MESS_ATT.
        APPEND OBJBIN.
        CLEAR: OBJBIN,
               IT_MESS_ATT.
      ENDLOOP.
    Creating the document to be sent
      DOC_CHNG-OBJ_NAME = 'IG Balance'.
    *.....Subject of the email.
      CONCATENATE 'Intragroup Confirmation from AoO: ' P_ZAOO INTO DOC_CHNG-OBJ_DESCR.
    DOC_CHNG-OBJ_DESCR = 'Intragroup Confirmation from AoO '.
    *...Body of the email
      OBJTXT = 'Please find attached a summary and details '.
      APPEND OBJTXT.
      OBJTXT = 'Any queries regarding the attached should be addressed to the contact names on the Report.'.
      APPEND OBJTXT.
      DESCRIBE TABLE OBJTXT LINES TAB_LINES.
      READ TABLE OBJTXT INDEX TAB_LINES.
      DOC_CHNG-DOC_SIZE = ( TAB_LINES - 1 ) * 255 + STRLEN( OBJTXT ).
    Creating the entry for the compressed document
      CLEAR OBJPACK-TRANSF_BIN.
      OBJPACK-HEAD_START = 1.
      OBJPACK-HEAD_NUM   = 0.
      OBJPACK-BODY_START = 1.
      OBJPACK-BODY_NUM   = TAB_LINES.
      OBJPACK-DOC_TYPE   = 'RAW'.
      APPEND OBJPACK.
      DESCRIBE TABLE OBJBIN LINES TAB_LINES.
      OBJHEAD = 'Balace.PDF'. APPEND OBJHEAD.
    Creating the entry for the compressed attachment
      OBJPACK-TRANSF_BIN = 'X'.
      OBJPACK-HEAD_START = 1.
      OBJPACK-HEAD_NUM   = 1.
      OBJPACK-BODY_START = 1.
      OBJPACK-BODY_NUM   = TAB_LINES.
      OBJPACK-DOC_TYPE   = 'PDF'.
      OBJPACK-OBJ_NAME   = 'ATTACHMENT'.
      OBJPACK-OBJ_DESCR = 'Balance Report'.
      OBJPACK-DOC_SIZE   = TAB_LINES * 255.
      APPEND OBJPACK..
    Entering names in the distribution list
      DATA: L_CNT TYPE I.
      LOOP AT T_EMAIL INTO W_EMAIL.
        IF W_EMAIL-ZCONTACT1 IS NOT INITIAL.
          RECLIST-RECEIVER = W_EMAIL-ZCONTACT1.
          RECLIST-REC_TYPE = 'U'.
          L_CNT = L_CNT + 1.
        ELSEIF W_EMAIL-ZCONTACT2 IS NOT INITIAL.
          RECLIST-RECEIVER = W_EMAIL-ZCONTACT2.
          RECLIST-REC_TYPE = 'U'.
          L_CNT = L_CNT + 1.
        ENDIF.
        APPEND RECLIST.
        CLEAR: RECLIST,
               W_EMAIL.
      ENDLOOP.
      SELECT SINGLE ZAOO
                     ZCONTACT1
                     ZCONTACT2 FROM ZFI_MT_RPTRMAP INTO W_EMAIL
                     WHERE ZAOO EQ P_ZAOO.
      IF W_EMAIL-ZCONTACT1 IS NOT INITIAL.
        RECLIST-RECEIVER = W_EMAIL-ZCONTACT1.
        RECLIST-REC_TYPE = 'U'.
        L_CNT = L_CNT + 1.
        APPEND RECLIST.
      ELSEIF W_EMAIL-ZCONTACT2 IS NOT INITIAL.
        RECLIST-RECEIVER = W_EMAIL-ZCONTACT2.
        RECLIST-REC_TYPE = 'U'.
        L_CNT = L_CNT + 1.
        APPEND RECLIST.
      ENDIF.
    Sending the document
      IF L_CNT > 0.
        CALL FUNCTION 'SO_NEW_DOCUMENT_ATT_SEND_API1'
          EXPORTING
            DOCUMENT_DATA              = DOC_CHNG
            PUT_IN_OUTBOX              = 'X'
            COMMIT_WORK                = 'X'
          TABLES
            PACKING_LIST               = OBJPACK
            OBJECT_HEADER              = OBJHEAD
            CONTENTS_BIN               = OBJBIN
            CONTENTS_TXT               = OBJTXT
            RECEIVERS                  = RECLIST
          EXCEPTIONS
            TOO_MANY_RECEIVERS         = 1
            DOCUMENT_NOT_SENT          = 2
            OPERATION_NO_AUTHORIZATION = 4
            OTHERS                     = 99.
        CASE SY-SUBRC.
          WHEN 0.
            WRITE 'Email sent successfully'.
          WHEN 1.
            WRITE: / 'no authorization to send to the specified number of recipients!'.
          WHEN 2.
            WRITE: / 'document could not be sent to any of the recipients!'.
          WHEN 4.
            WRITE: / 'no authorization to send !'.
          WHEN OTHERS.
            WRITE: / 'error occurred during sending !'.
        ENDCASE.
      ELSE.
        MESSAGE S000 WITH TEXT-018.
        STOP.
      ENDIF.
    *...Delete Spool Request.
      DATA: SPOOLID TYPE TSP01_SP0R-RQID_CHAR.
      SPOOLID = G_SPOOL_NUM.
      CALL FUNCTION 'RSPO_R_RDELETE_SPOOLREQ'
        EXPORTING
          SPOOLID             = SPOOLID
      IMPORTING
        RC                  =
        STATUS              =
        ERROR_MESSAGE       =

  • Set the subject of the mail

    Hi,
    Here is one working example
    create or replace
    procedure testing_mail
    IS
    mailhost VARCHAR2(30) := '10.?.5.?';
    mail_conn utl_smtp.connection;
    crlf VARCHAR2( 2 ):= CHR( 13 ) || CHR( 10 );
    mesg VARCHAR2( 1000 );
    BEGIN
    mail_conn := utl_smtp.open_connection('10.?.5.?', 25);
    mesg:= 'Date: ' || TO_CHAR( SYSDATE, 'dd Mon yy hh24:mi:ss' ) || crlf ||
    'From: <'postmaster@mysmtpdomain'||'>' || crlf ||
    'Subject: '||'testing mail' || crlf ||
    'To: '||'[email protected]'|| crlf ||
    '' || crlf || 'Testing mail procedure';
    utl_smtp.helo(mail_conn, '10.?.100.?');
    utl_smtp.mail(mail_conn, 'postmaster@mysmtpdomain');
    utl_smtp.rcpt(mail_conn, '[email protected]');
    utl_smtp.data(mail_conn, 'Testing mail procedure');
    utl_smtp.quit(mail_conn);
    END;
    But I need the idea to put the subject for the successful example above!
    Best Regards

    Do not invent your own linefeed combinations. Use the linefeed constant from the UTL_TCP package.
    As for formatting the e-mail itself - that is governed by the specs for MIME bodies.
    Have a look at the basic explanation at http://en.wikipedia.org/wiki/MIME and read the relevant RFCs that contains detailed specifications on how to construct MIME bodies.

  • Not able to type body/subject in the mail ?

    Brand new iphone bought for Christmas. I start at Home where the mail app is at the bottom, I can write in the email address I want to send, but when I go to the body the key pad isn't showing up. (I'm using Yahoo email)
    Is it because I don't have a texting plan? or I don't know how to press it correctly? or what is it, is the phone broken? Please help.

    I would be inclined to connect your iPhone up to your computer and in iTunes click on your iPhone then click Restore. Assuming you have done that and that your iPhone's software is up to date then if it still doesn't work properly I would suggest that the best thing is to get it swapped out.

  • Hi, just wondering, if I use the "Hotmail" option that appears in the Mail app on my Iphone 4S, does it automatically use SSL? I've tried to look for the SSL option but it doesn't appear....

    Just want to make sure it is safe to use public wifi and push notifications for my Hotmail.

    I Had the same us issye on iPhone 5s.  Started when 7.1 came out in April.  Only was to get the mail coming through ysing the mail app was to wipe the phone clean.  It only worked agsin fir 36-48 hours.  I had to install the Yahoo app to just tell me mail was available.  i then manually opened the appke mail app.   Apple was so help.  My internet provider examined my email.  Eventually agter 6 months and other issues starting, my carrier took back the phone and I'm in Samsung.  Miss the iPhone but after trying 3 and all had the same issue something was up.  Never found the issue.   Apples service and quality gas dropped. 

  • How to customize or change the subject of the mail send throu SM36

    HI,
    i m using SM36 to Schedule some of reports and send the output of those reports as an attachement to particular email ids.
    It is working fine people are receive mails with an output of the report as an attachement , but the subject is coming like this
    "Job PRODUCTION PLANING REPORT, Step 1"  where  "PRODUCTION PLANING REPORT" is the job name . What i want is the Subject should be only my Job Name "PRODUCTION PLANING REPORT"   the Prefix Iob and the Sufix Step 1, should not appear in the subject. How can i achive this ?
    Regards
    Edited by: nau on Jan 20, 2010 3:31 PM

    In SM36, under the 'General Data' area, the answer is right there. Click on the Spool list recepient button and place the e-mail recepient in the box. It looks like only one entry can be entered there so you may want to have a distribution group setup accordingly for multiple recepients
    My view is as per the line i can see only .html attachment  only you can send...
    See Mr NA. take intitiative and tell the clients....Clearly that if we schedule thtrough SM36 then we have limited funcitonalities like you can't attach the excel version's specially and Subject issue what you are discussing...
    So as of now my suggestion is Using the FM (if it is version 6.0 Ecc prefer using classes....) You can write extra funcitionality to report to send via Email
    Sas

  • Subject in the mail truncating after 50 character

    hi friends
      I am working on ESS Leave request. Mail is going to external mail ids. The subject line after 50 character the letters are getting truncated. We are in SAP_BASIS = SAPKA70015. I have already checked the notes 958426,975947 this is implemented in SAPKA70010 and SAPKA70011 respectively. We are much higher version than that. Still its getting truncated. How to solve this issue.
    Regards
    vijay

    Hi,
    I investigated this some time ago, and there really is a restriction in the standard mail sending functionality - the title can only be 50 characters. At that point there was no fix for this. Your alternatives are:
    1) try to live with it (keep the titles short)
    2) build your own mail sending task/method (there are some function modules that you can use, and there is no 50 character restriction).
    Regards,
    Karri

  • How to edit the Title/Subject of a Mail?

    Hai Everyone,
    I have a program which sends an email with an attachment (Selected rows in HTM Format). I am using the SO_OBJECT_REPOSITORY_MANAGER Function Module to send the Mail, my problem is i am not able to edit the Title/Subject of the Mail before sending the Mail.
    I also tried setting the PRTCT(from Structure SOOD1) field to X, but still it doesnt work.
    How can we achieve this?
    Thanks in Advance,
    Best Regards,
    rama

    Hi,
    I am unable to find out function module specified by you in my SAP system.
    Still I have found similar kind of FM.
    Please find below link if it helps you.
    [http://www.sap-img.com/abap/sending-mail-with-attachment-report-in-background.htm]

  • Subject of the Email (CHARM/ServiceDesk)

    Hi,
    from what I have seen, the subject of the mail sent from my smartform is taken from the Description field of the smartform.
    Is there a way to do something like a dynamic subject ? Like prio or subject of the message.
    Kind Regards
    Dirk

    full code:
    METHOD CRM_SRVORDER_EXEC_SMART_FORM.
    *This Method is used to print service order.
    * generally used constants of generic order
      INCLUDE: crm_direct.
      DATA:
            control_parameters TYPE ssfctrlop.
    * function name
      DATA: function_name TYPE rs38l_fnam,
            dummy(254)        TYPE c,
            ls_archive_index  TYPE  toa_dara,
            ls_orderadm_h     TYPE  crmt_output_orderadm_h_com,
            ls_activity_h     TYPE  crmt_output_activity_h_com,
            ls_opport_h       TYPE  crmt_output_opport_h_com,
            ls_orgman_h       TYPE  crmt_output_orgman_h_com,
            lt_partner_h      TYPE  crmt_output_partner_h_comt,
            ls_pricingdata_h  TYPE  crmt_output_pricingdata_h_com,
            ls_sales_h        TYPE  crmt_output_sales_h_com,
            ls_shipping_h     TYPE  crmt_output_shipping_h_com,
            lt_payplan_d_h    TYPE  crmt_output_payplan_d_h_comt,
            ls_customer_h     TYPE  crmt_output_customer_h_com,
            ls_cumulat_h      TYPE  crmt_output_cumulat_h_com,
            lt_billing_h      TYPE  crmt_output_billing_h_comt,
            lt_cancel_h       TYPE  crmt_output_cancel_h_comt,
            lt_appointment_h TYPE   crmt_output_appointment_h_comt,
            lt_billplan_d_h  TYPE   crmt_output_billplan_d_h_comt,
            lt_billplan_h    TYPE   crmt_output_billplan_h_comt,
            lt_status_d_h    TYPE   crmt_output_status_d_h_comt,
            lt_status_h      TYPE   crmt_output_status_h_comt,
            lt_srv_subject_h TYPE   crmt_output_srv_subject_h_comt,
            lt_srv_reason_h  TYPE   crmt_output_srv_reason_h_comt,
            lt_srv_result_h  TYPE   crmt_output_srv_result_h_comt,
            ls_acs_h         TYPE   crmt_acs_h_com,
            lt_srv_subject_i TYPE   crmt_output_srv_subject_h_comt,
            lt_srv_refobj_h  TYPE   crmt_output_srv_refobj_h_comt,
            lt_srv_refobj_i  TYPE   crmt_output_srv_refobj_h_comt,
            lt_orderadm_i    TYPE   crmt_output_orderadm_i_comt,
            lt_orgman_i      TYPE   crmt_output_orgman_i_comt,
            lt_pricingdata_i TYPE   crmt_output_pricingdata_i_comt,
            lt_pricing_i     TYPE   crmt_output_pricing_i_comt,
            lt_product_i     TYPE   crmt_output_product_i_comt,
            lt_sales_i       TYPE   crmt_output_sales_i_comt,
            lt_service_i       TYPE   crmt_output_service_i_comt,
            lt_shipping_i    TYPE   crmt_output_shipping_i_comt,
            lt_schedlin_i    TYPE   crmt_output_schedlin_i_comt,
            lt_customer_i    TYPE   crmt_output_customer_i_comt,
            lt_partner_i     TYPE   crmt_output_partner_i_comt,
            lt_item_cstics_i TYPE   crmt_item_cstics_tab,
            lt_billing_i     TYPE   crmt_output_billing_i_comt,
            lt_cancel_i      TYPE   crmt_output_cancel_i_comt,
            lt_finprod_i     TYPE   crmt_output_finprod_i_comt,
            lt_ordprp_i      TYPE   crmt_output_ordprp_i_comt,
            lt_appointment_i TYPE   crmt_output_appointment_i_comt,
            lt_billplan_d_i  TYPE   crmt_output_billplan_d_i_comt,
            lt_billplan_i    TYPE   crmt_output_billplan_i_comt,
            lt_orderadm_i_qt TYPE   crmt_output_orderadm_i_qt_comt,
            lt_orderadm_i_in TYPE   crmt_output_orderadm_i_in_comt,
            lt_schedlin_i_cf TYPE   crmt_output_schedlin_i_cf_comt,
            lt_status_i      TYPE   crmt_output_status_i_comt,
            lt_working_set_e_s_bbp TYPE /1cn/working_set_e_s_bbp_t,
            lv_language LIKE  sy-langu,
            lo_order TYPE REF TO cl_doc_crm_order,
            lv_object_guid TYPE crmt_object_guid,
            lv_status TYPE jstat,
            lt_status TYPE TABLE OF jstat,
            lv_error_tab_wrk TYPE ssferror,
            ls_output_options TYPE ssfcompop,
    * for assignments - begin
            lt_service_i_assi          TYPE   crmt_output_service_i_***_comt
    * for assignments - end
      DATA:  lv_devtype TYPE rspoptype.
    * fill internal structure for the output options
      ls_output_options = is_output_options.
    * get the function name for this smart form
      CALL FUNCTION 'SSF_FUNCTION_MODULE_NAME'
        EXPORTING
          formname           = ip_smart_form
    *     VARIANT            = ' '
    *     DIRECT_CALL        = ' '
        IMPORTING
          fm_name            = function_name
        EXCEPTIONS
          no_form            = 1
          no_function_module = 2
          OTHERS             = 3.
      IF sy-subrc <> 0.
    *   add an error message to processing protocol
        MESSAGE i015(sppf_media) WITH ip_smart_form INTO dummy.
        CALL METHOD cl_log_ppf=>add_message
          EXPORTING
            ip_problemclass = '1'
            ip_handle       = ip_application_log.
        EXIT.
      ENDIF.
    * determine the tables of the application
      CALL FUNCTION 'CRM_OUTPUT_SINGLE_READ'
           EXPORTING
                iv_object                 = io_appl_object
                iv_smart_form             = ip_smart_form
                ir_partner                = io_partner
           IMPORTING
                es_output_orderadm_h      = ls_orderadm_h
                es_output_activity_h      = ls_activity_h
                es_output_opport_h        = ls_opport_h
                es_output_orgman_h        = ls_orgman_h
                es_output_pricingdata_h   = ls_pricingdata_h
                es_output_sales_h         = ls_sales_h
                es_output_shipping_h      = ls_shipping_h
                et_output_partner_h       = lt_partner_h
                et_output_payplan_d_h     = lt_payplan_d_h
                es_output_customer_h      = ls_customer_h
                es_output_cumulat_h       = ls_cumulat_h
                et_output_billing_h       = lt_billing_h
                et_output_cancel_h        = lt_cancel_h
                et_output_appointment_h   = lt_appointment_h
                et_output_billplan_d_h    = lt_billplan_d_h
                et_output_billplan_h      = lt_billplan_h
                et_output_status_d_h      = lt_status_d_h
                et_output_status_h        = lt_status_h
                et_output_srv_subject_h   = lt_srv_subject_h
                et_output_srv_reason_h    = lt_srv_reason_h
                et_output_srv_result_h    = lt_srv_result_h
                et_output_srv_refobj_h    = lt_srv_refobj_h
                et_output_srv_refobj_i    = lt_srv_refobj_i
                et_output_srv_subject_i   = lt_srv_subject_i
                es_output_acs_h           = ls_acs_h
                et_output_orderadm_i      = lt_orderadm_i
                et_output_orgman_i        = lt_orgman_i
                et_output_pricingdata_i   = lt_pricingdata_i
                et_output_pricing_i       = lt_pricing_i
                et_output_product_i       = lt_product_i
                et_output_sales_i         = lt_sales_i
                et_output_service_i       = lt_service_i
                et_output_shipping_i      = lt_shipping_i
                et_output_schedlin_i      = lt_schedlin_i
                et_output_partner_i       = lt_partner_i
                et_item_cstics_i          = lt_item_cstics_i
                et_output_customer_i      = lt_customer_i
                et_output_billing_i       = lt_billing_i
                et_output_cancel_i        = lt_cancel_i
                et_output_finprod_i       = lt_finprod_i
                et_output_ordprp_i        = lt_ordprp_i
                et_output_appointment_i   = lt_appointment_i
                et_output_billplan_d_i    = lt_billplan_d_i
                et_output_billplan_i      = lt_billplan_i
                et_output_orderadm_i_qt   = lt_orderadm_i_qt
                et_output_orderadm_i_in   = lt_orderadm_i_in
                et_output_schedlin_i_cf   = lt_schedlin_i_cf
                et_output_status_i        = lt_status_i
                et_output_wrk_set_e_s_bbp = lt_working_set_e_s_bbp
                ev_language               = lv_language
    * for assignments - begin
                et_output_service_i_assi  = lt_service_i_assi
    * for assignments - end
    * set mail title
      SELECT SINGLE caption INTO ls_output_options-tdtitle
        FROM stxfadmt WHERE
        formname = ip_smart_form AND
        langu    = lv_language.
      IF ls_output_options-tdtitle  IS INITIAL.
        SELECT SINGLE caption INTO ls_output_options-tdtitle
        FROM stxfadmt WHERE
         formname = ip_smart_form.
               ENDIF.
        REPLACE '&1' WITH ls_orderadm_h-object_id
        INTO ls_output_options-tdtitle.
        REPLACE '&2' WITH ls_activity_h-priority
        INTO ls_output_options-tdtitle.
        REPLACE '&3' WITH ls_orderadm_h-description
        INTO ls_output_options-tdtitle.
    *---------- is_mail_appl_obj -------------------------------------------
    * fill this parameter if your application object is a BOR object
    * the output will be connected with the BOR object via SAP Office
    * this is done for mail and fax but not for print outputs
    *   ------>
    * is_mail_appl_obj-LOGSYS    =
    * is_mail_appl_obj-OBJTYPE   =
    * is_mail_appl_obj-OBJKEY    =
    * is_mail_appl_obj-DESCRIBE  =
    *   ------>
    *-----------language of smart form--------------------------------------
    * determin here the language of the smart form
      control_parameters = is_control_parameters.
      control_parameters-langu = lv_language.
      IF control_parameters-langu <> sy-langu AND control_parameters-preview = 'X'.
    *If the language of the smartform stored in control_parameters
    *does not match the logon language, get the device type from
    *the smartform language. This will allow correct results for
    *the print preview of smartforms in different languages / codepages.
        lv_devtype = ls_output_options-tdprinter.
        CALL FUNCTION 'SSF_GET_DEVICE_TYPE'
          EXPORTING
            i_language             = control_parameters-langu
          IMPORTING
            e_devtype              = ls_output_options-tdprinter
          EXCEPTIONS
            no_language            = 1
            language_not_installed = 2
            no_devtype_found       = 3
            system_error           = 4
            OTHERS                 = 5.
        IF sy-subrc <> 0 OR ls_output_options-tdprinter IS INITIAL.
          ls_output_options-tdprinter = lv_devtype.
        ENDIF.
      ENDIF.
    *-----------fill archive parameters for archive link -------------------
      IF is_output_options-tdarmod = '2' OR
         is_output_options-tdarmod = '3'.
    *   archive_index_tab
        READ TABLE ct_archive_index_tab INTO ls_archive_index INDEX 1.
        ls_archive_index-object_id = ls_orderadm_h-guid.
        IF ls_archive_index-object_id IS INITIAL.
          DELETE ct_archive_index_tab INDEX 1.
        ELSE.
          MODIFY ct_archive_index_tab FROM ls_archive_index INDEX 1.
        ENDIF.
      ENDIF.
      TRY.
    *     call function to process smart form (new forms)
          CALL FUNCTION function_name
               EXPORTING
                    archive_index        = is_archive_index
                    archive_index_tab    = ct_archive_index_tab
                    archive_parameters   = is_archive_parameters
                    control_parameters   = control_parameters
                    mail_appl_obj        = is_mail_appl_obj
                    mail_recipient       = is_mail_recipient
                    mail_sender          = is_mail_sender
                    output_options       = ls_output_options
                    user_settings        = ip_user_settings
                    orderadm_h           = ls_orderadm_h
                    activity_h           = ls_activity_h
                    opport_h             = ls_opport_h
                    orgman_h             = ls_orgman_h
                    partner_h            = lt_partner_h
                    pricingdata_h        = ls_pricingdata_h
                    sales_h              = ls_sales_h
                    shipping_h           = ls_shipping_h
                    payplan_d_h          = lt_payplan_d_h
                    cumulat_h            = ls_cumulat_h
                    customer_h           = ls_customer_h
                    acs_h                = ls_acs_h
                    billing_h            = lt_billing_h
                    cancel_h             = lt_cancel_h
                    appointment_h        = lt_appointment_h
                    billplan_d_h         = lt_billplan_d_h
                    billplan_h           = lt_billplan_h
                    status_d_h           = lt_status_d_h
                    status_h             = lt_status_h
                    srv_subject_h        = lt_srv_subject_h
                    srv_reason_h         = lt_srv_reason_h
                    srv_result_h         = lt_srv_result_h
                    srv_subject_i        = lt_srv_subject_i
                    srv_refobj_h         = lt_srv_refobj_h
                    srv_refobj_i         = lt_srv_refobj_i
                    orderadm_i           = lt_orderadm_i
                    orderadm_i_qt        = lt_orderadm_i_qt
                    orderadm_i_in        = lt_orderadm_i_in
                    orgman_i             = lt_orgman_i
                    pricingdata_i        = lt_pricingdata_i
                    pricing_i            = lt_pricing_i
                    product_i            = lt_product_i
                    sales_i              = lt_sales_i
                    service_i            = lt_service_i
                    schedlin_i           = lt_schedlin_i
                    schedlin_i_cf        = lt_schedlin_i_cf
                    shipping_i           = lt_shipping_i
                    partner_i            = lt_partner_i
                    item_cstics_i        = lt_item_cstics_i
                    customer_i           = lt_customer_i
                    billing_i            = lt_billing_i
                    cancel_i             = lt_cancel_i
                    finprod_i            = lt_finprod_i
                    ordprp_i             = lt_ordprp_i
                    appointment_i        = lt_appointment_i
                    billplan_d_i         = lt_billplan_d_i
                    billplan_i           = lt_billplan_i
                    status_i             = lt_status_i
                    working_set_e_s_bbp  = lt_working_set_e_s_bbp
                    language             = lv_language
    * for assignments - begin
                    service_i_assi      =  lt_service_i_assi
    * for assignments - end
               IMPORTING
                    document_output_info = es_document_output_info
                    job_output_info      = es_job_output_info
                    job_output_options   = es_job_output_options
               EXCEPTIONS
                    output_canceled      = 1
                    parameter_error      = 2
                    OTHERS               = 3.
        CATCH cx_sy_dyn_call_parameter_error.
    *     call function to process smart form (old forms)
          CALL FUNCTION function_name
               EXPORTING
                    archive_index        = is_archive_index
                    archive_index_tab    = ct_archive_index_tab
                    archive_parameters   = is_archive_parameters
                    control_parameters   = control_parameters
                    mail_appl_obj        = is_mail_appl_obj
                    mail_recipient       = is_mail_recipient
                    mail_sender          = is_mail_sender
                    output_options       = ls_output_options
                    user_settings        = ip_user_settings
                    orderadm_h           = ls_orderadm_h
                    activity_h           = ls_activity_h
                    opport_h             = ls_opport_h
                    orgman_h             = ls_orgman_h
                    partner_h            = lt_partner_h
                    pricingdata_h        = ls_pricingdata_h
                    sales_h              = ls_sales_h
                    shipping_h           = ls_shipping_h
                    payplan_d_h          = lt_payplan_d_h
                    cumulat_h            = ls_cumulat_h
                    customer_h           = ls_customer_h
                    acs_h                = ls_acs_h
                    billing_h            = lt_billing_h
                    cancel_h             = lt_cancel_h
                    appointment_h        = lt_appointment_h
                    billplan_d_h         = lt_billplan_d_h
                    billplan_h           = lt_billplan_h
                    status_d_h           = lt_status_d_h
                    status_h             = lt_status_h
                    srv_subject_h        = lt_srv_subject_h
                    srv_reason_h         = lt_srv_reason_h
                    srv_result_h         = lt_srv_result_h
                    srv_subject_i        = lt_srv_subject_i
                    srv_refobj_h         = lt_srv_refobj_h
                    srv_refobj_i         = lt_srv_refobj_i
                    orderadm_i           = lt_orderadm_i
                    orderadm_i_qt        = lt_orderadm_i_qt
                    orgman_i             = lt_orgman_i
                    pricingdata_i        = lt_pricingdata_i
                    pricing_i            = lt_pricing_i
                    product_i            = lt_product_i
                    sales_i              = lt_sales_i
                    service_i            = lt_service_i
                    schedlin_i           = lt_schedlin_i
                    schedlin_i_cf        = lt_schedlin_i_cf
                    shipping_i           = lt_shipping_i
                    partner_i            = lt_partner_i
                    item_cstics_i        = lt_item_cstics_i
                    customer_i           = lt_customer_i
                    billing_i            = lt_billing_i
                    cancel_i             = lt_cancel_i
                    finprod_i            = lt_finprod_i
                    ordprp_i             = lt_ordprp_i
                    appointment_i        = lt_appointment_i
                    billplan_d_i         = lt_billplan_d_i
                    billplan_i           = lt_billplan_i
                    status_i             = lt_status_i
                    working_set_e_s_bbp  = lt_working_set_e_s_bbp
                    language             = lv_language
    * for assignments - begin
                    service_i_assi      =  lt_service_i_assi
    * for assignments - end
               IMPORTING
                    document_output_info = es_document_output_info
                    job_output_info      = es_job_output_info
                    job_output_options   = es_job_output_options
               EXCEPTIONS
                    output_canceled      = 1
                    parameter_error      = 2
                    OTHERS               = 3.
      ENDTRY.
      IF sy-subrc = 0.
        IF is_control_parameters-preview IS INITIAL.
    *     determine header guid to set status printed
          lo_order ?= io_appl_object.
          lv_object_guid = lo_order->get_crm_obj_guid( ).
    *     set status printed into the crm order
          CALL FUNCTION 'CRM_STATUS_SET_INTERN'
            EXPORTING
              iv_objnr            = lv_object_guid
              iv_status           = gc_status-printed
              xnoauto             = true
            EXCEPTIONS
              object_not_found    = 1
              status_inconsistent = 2
              status_not_allowed  = 3
              OTHERS              = 4.
        ENDIF.
      ELSE.
        CASE sy-subrc.
          WHEN 1.
            MESSAGE e016(sppf_media) INTO dummy.
          WHEN 2.
            MESSAGE e017(sppf_media) WITH function_name INTO dummy.
          WHEN 3.
            MESSAGE e018(sppf_media) WITH function_name INTO dummy.
        ENDCASE.
        CALL METHOD cl_log_ppf=>add_message
          EXPORTING
            ip_problemclass = '1'
            ip_handle       = ip_application_log.
      ENDIF.
    * get error table
      CALL FUNCTION 'SSF_READ_ERRORS'
        IMPORTING
          errortab = et_error_tab.
    * fill error into crm_order status
      LOOP AT et_error_tab INTO lv_error_tab_wrk
               WHERE msgty = gc_msgtype-error.
        CALL FUNCTION 'CRM_MESSAGE_COLLECT'
          EXPORTING
            iv_caller_name     = gc_object_name-order
            iv_msgno           = lv_error_tab_wrk-msgno
            iv_msgid           = lv_error_tab_wrk-msgid
            iv_msgty           = lv_error_tab_wrk-msgty
            iv_msgv1           = lv_error_tab_wrk-msgv1
            iv_msgv2           = lv_error_tab_wrk-msgv2
            iv_msgv3           = lv_error_tab_wrk-msgv3
            iv_msgv4           = lv_error_tab_wrk-msgv4
    *       IV_ERROR_RELEVANCE = FALSE
            iv_msglevel        = gc_msglevel-administrator
          EXCEPTIONS
            not_found          = 1
            appl_log_error     = 2
            OTHERS             = 3.
      ENDLOOP.
    ENDMETHOD.

  • My Mac Pro stopped getting new emails through the mail app

    My Mac pro does not get new E-mail from yahoo, I'm using the Stamp app at the bottom of screen. I can access my E-mail if I go directly through yahoo. Can anyone help.

    1. This is the MacBook Pro hardware forums.
    2. Post in the Mail & AddressBook forum of the OS you are running (which you don't mention).
    3. So for Lion post here:  https://discussions.apple.com/community/mac_os/mac_os_x_v10.7_lion#/?tagSet=1386

  • Changing subject part of mail in CRM_MKTPL

    Hi all,
    In CRM_MKTPL automatic mail is send in  approval phase. But the subject of the mail is send as the name of the smartform. Can we change it and how?? Thanks..

    Hi Astron,
    I guess you are using CRMD_EMAIL transaction to define your mail forms and templates to be send as part of campaign designed in transaction CRM_MKTPL.
    If so the you jst need to open the mail form (transaction CRMD_EMAIL), Select your mail form, right click on the root node of mail form (Page) and create a new subject line (menu path> Righ click>Create> Subject Line).
    Enter the text you desire to pass as subject line.
    Save the mail form.
    Best Regards,
    Pratik Patel
    <b>Reward with Points!</b>

  • Oracle forum watch : please send mail with subject as the question

    Hi Site Administrator,
    The oracle forum send a mail if we are watching any topic. Earlier the subject was named as the question subject , which was very helpful.
    Now we are gettting the mail with subject as the topic name ex java programming, new to java etc.
    With the current form we have to see inside each mail to know what is the question asked. Earlier from the subject itself we were able to find what is/may be the question. Which has helped to easily and quickly scan through. So please change this new pattern to old pattern. Since that is the best practice.
    Hi moderator
    Please put my question in the suitable section if it is not placed in the right one.

    793619 wrote:
    Hi moderator
    Please put my question in the suitable section if it is not placed in the right one.Put it there yourself.
    Community Feedback (No Product Questions)
    The Java and Solaris moderators aka community moderators are not authorized to move content anywhere and everywhere on forums.oracle.com. In future, please check the forum listings and find the correct forum to post to.
    I'm locking this thread and it will be removed later.
    db

Maybe you are looking for

  • Report to Report

    Hi, I have a report in which I have inserted 3 more reports using report to report interface.I have the following doubts. When I run the first report and select GOTO option it shows me all the remaining 3 reports. If I execute the second one, after t

  • IPhone 3gs restores to iOS 4.0 but won't restore to iOS 5 'Unknown Error 1'

    I have an iPhone 3gs 32gb that accidentally went through the washing machine a couple of years ago. It was dead and rested peacefully in its box under the bed until a few months ago when I found it and thought - let's try turning it on. Low and behol

  • How to give other material as a free good

    Hi all, Here i am getting doubt how to give free good for one material to another material. for ex:- if customer buy product A he will get product B as a free good how do we configure in to sap. i tried in exclusive method in the sales order it is ex

  • AIR for iOS 3.5 [Retina Icon not displaying]

    Am I doing something wrong here ? My XML file contains <icon>         <image144x144>assets/[email protected]</image144x144>         <image72x72>assets/icon72.png</image72x72>         <image50x50>assets/icon50.png</image50x50>         <image100x100>as

  • Cant get ibook to load

    hi all i have a big problam i have an ibook g4 it used to work fine then one day a cd got stuck in it and after that it wont load up the os.i tried to reset user account and i get past the language screen ie select contry then it hangs up it wont get