Express document " cannot be sent : Encryption Output

Hi All ,
We are following 3 steps
1) a file is generated
2) its encrypted by running a script in background
3)encrpyted file is sent via e-mail .
While doing this , we have a received one error - Express document " cannot be sent : Encryption Output " received by Author
Please help to identify if this is an authorization error or config error ??
Regards,
Anil

Solved ...2 auth objects s_c_funct and s_log_com were missing in the role

Similar Messages

  • Change B2B error message: "Error in R/3 system: document cannot be sent"

    Hi experts!!
    I had the requirement the B2B user not to be able to change orders from the past days.
    I wrote some ABAP code in MV45AFZZ user exit and the functionality works fine! I even receive my custom error message in the B2B but before my message i also get "Error in R/3 system: document cannot be sent. Call our hotline.."
    Is there anyway i can change this standard message in JAVA side???
    Thank you in advance!!

    In the ABAP side, set break point in BAPI_SALESORDER_SIMULATE and check the BAPIRETURN table.. Depending upon the stage and action on the order, the other RFCs you might focus on are SD_SALESDOCUMENT_CREATE  or SD_SALESDOCUMENT_CHANGE. The return structure is BAPIRET2 for this set of RFC.
    You might remove the "unwanted messages here.. or let them flow into the Java layer and tackle them there. That will require you to extend different xxxxStrategyR3 classes and overwrite certain methods in certain classes. The development is NOT streamlined here.
    Read the classes CreateStrategyR3 - there is a method performCustExitAfterR3SimulateCall  
    in ReadStrategyR3 - there is a method called replaceR3MessageTexts and in change..
    in ChangeStrategyR3 - there is a method called performCustExitAfterR3Call
    In all these places you have to read the appropriate table that contains the message and remove it. See ReadStrategyR3~replaceR3MessageTexts for some idea..

  • Internet Sales - Error in R/3 system: document cannot be sent.

    Hi!
    Whenever I need to place a new order on the B2B application of Intenet Sales, I get this error message right at the end. I can see the order, the prices, totals, etc. But when I click on "To Order" I get this error and all prices go to 0.00 and so.
    I have no exceptions marked on the J2EE logs, and the only error I can see is right on the jsp page and states:
    Error in R/3 system: document cannot be sent. Call our hotline.
    BUT, when I try to place an order with an order template, then I click on "to order" and everything goes OK, order is placed in R/3.
    So, im lost on this. Any help will be much appreciated.
    Thanks in advance!

    The problem is originated because in shopadmin tab “order”, there are two fields related order type: Order type from SAP R/3 & Order Type (next to delivery block field). The first one is the sales order type that is goanna be generated when a sales order is created. The second field is “purchase order type” related to the way in which the sales document arrives from the customer (Telephone, for example). Both of them must be valid, fist one in Sales order type, transaction VOV6 and second one in program SAPLSVIM
    The problem is that no matter what kind error you have in ISA R/3 Edition, the user will receive the same error message “Error in R/3 system: document cannot be sent. Call our hotline”, so you have to switch the backend logs on to write the real SAP error message

  • SAP Express Document Error: Posting cannot be done

    Hi Experts,
    I have a problem on our QAS system, I have tried to post a lot of documents in transaction MIGO, in creating RFQ through ME41, in Posting Accounting Document in FB50. But all of them failed with the Express Document appearing at the end of the "Document Number Created" message.
    Express Documents range from:
    I.  "MESSAGE_TYPE_X" when creating RFQ of One Time Vendors:
    Short text of error message:
    Database error changing table ADRC
    Long text of error message:
    Technical information about the message:
    Message class....... "AM"
    Number.............. 842
    Variable 1.......... "ADRC"
    Variable 2.......... " "
    Variable 3.......... " "
    Variable 4.......... " "
    Information on where terminated
        Termination occurred in the ABAP program "SAPLSZA0" - in "ADDR_SAVE_INTERN".
        The main program was "RSM13000 ".
        In the source code you have the termination point in line 553
        of the (Include) program "LSZA0U47".
        The program "SAPLSZA0" was started in the update system.
    II. SAPSQL_ARRAY_INSERT_DUPREC, Post Goods Receipt in MIGO
    An exception occurred that is explained in detail below.
    The exception, which is assigned to class 'CX_SY_OPEN_SQL_DB', was not caught
      in
    procedure "INSERT_TABLES" "(FORM)", nor was it propagated by a RAISING clause.
    Since the caller of the procedure could not have anticipated that the
    exception would occur, the current program is terminated.
    The reason for the exception is:
    If you use an ABAP/4 Open SQL array insert to insert a record in
    the database and that record already exists with the same key,
    this results in a termination.
    (With an ABAP/4 Open SQL single record insert in the same error
    situation, processing does not terminate, but SY-SUBRC is set to 4.)
    III.  SAPSQL_ARRAY_INSERT_DUPREC, Posting through FB50
    An exception occurred that is explained in detail below.
    The exception, which is assigned to class 'CX_SY_OPEN_SQL_DB', was not caught
      in
    procedure "INSERT_TABLES" "(FORM)", nor was it propagated by a RAISING clause.
    Since the caller of the procedure could not have anticipated that the
    exception would occur, the current program is terminated.
    The reason for the exception is:
    If you use an ABAP/4 Open SQL array insert to insert a record in
    the database and that record already exists with the same key,
    this results in a termination.
    (With an ABAP/4 Open SQL single record insert in the same error
    situation, processing does not terminate, but SY-SUBRC is set to 4.)
    Please provide direct solution for the system problem. And please tell me also what are the usual causes of these problems (Configuration-wise or ABAP)

    Please check if you are using any 'user exits / BADIs' for this transaction and make sure you are not using a "Commit Work" in that. That is usually a common mistake. Sometimes, calling a screen or a pop up incorrectly can also cause the issue. In your case though, it seems like there is a Insert statement that is trying to create duplicate entries. Check that and if you still need an insert, you may want to use Modify instead..
    Thanks,
    Srini

  • SmartForm error: Express document "update was terminated" received from aut

    Hi friends
    we requirement to send PO smartform through Print out as well as through mail.
    after creating PO i am getting popup box saying that :
    " Express document "update was terminated" received from author "XXXX".
    Please help me.
    my code as follows:
        IF sy-subrc = 0.
          CLEAR g_outop.
          SELECT  SINGLE ldest dimme FROM nach INTO (g_outop-tddest,
         g_outop-tdimmed) WHERE knumh EQ knumh.
          CALL FUNCTION 'SSF_FUNCTION_MODULE_NAME'
            EXPORTING
              formname           = 'YNZ_PO'
            IMPORTING
              fm_name            = sf_name
            EXCEPTIONS
              no_form            = 1
              no_function_module = 2
              OTHERS             = 3.
          w_ctrlop-getotf = 'X'.
          w_ctrlop-no_dialog = 'X'.
          w_compop-tdnoprev = 'X'.
          CALL FUNCTION sf_name
            EXPORTING
              output_options     = g_outop
              user_settings      = 'X'
              wa_ynz_po_head     = wa_ynz_po_head
              control_parameters = w_ctrlop
           IMPORTING
             job_output_info    = w_return
            TABLES
              t_ynz_po_item      = t_ynz_po_item
            EXCEPTIONS
              formatting_error   = 1
              internal_error     = 2
              send_error         = 3
              user_canceled      = 4
              OTHERS             = 5.
    for mail
          CALL FUNCTION 'SSF_FUNCTION_MODULE_NAME'
            EXPORTING
              formname           = 'YNZ_PO'
            IMPORTING
              fm_name            = sf_name
            EXCEPTIONS
              no_form            = 1
              no_function_module = 2
              OTHERS             = 3.
           CLEAR g_outop.                   " Commented by sharma
           g_outop-tddest = nast-ldest.
           g_outop-tdimmed = nast-dimme.
          w_ctrlop-getotf = 'X'.
          w_ctrlop-no_dialog = 'X'.
          w_compop-tdnoprev = 'X'.
          CALL FUNCTION sf_name
            EXPORTING
              output_options     = w_compop
              user_settings      = 'X'
              wa_ynz_po_head     = wa_ynz_po_head
              control_parameters = w_ctrlop
            IMPORTING
              job_output_info    = w_return
            TABLES
              t_ynz_po_item      = t_ynz_po_item
            EXCEPTIONS
              formatting_error   = 1
              internal_error     = 2
              send_error         = 3
              user_canceled      = 4
              OTHERS             = 5.
      i_otf[] = w_return-otfdata[].
      CALL FUNCTION 'CONVERT_OTF'
        EXPORTING
          format                = 'PDF'
          max_linewidth         = 132
        IMPORTING
          bin_filesize          = v_len_in
        TABLES
          otf                   = i_otf
          lines                 = i_tline
        EXCEPTIONS
          err_max_linewidth     = 1
          err_format            = 2
          err_conv_not_possible = 3
          OTHERS                = 4.
      IF sy-subrc <> 0.
        MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno
        WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
      ENDIF.
    Convert PDF from 132 to 255.
      LOOP AT i_tline.
    Replacing space by ~
        TRANSLATE i_tline USING ' ~'.
        CONCATENATE w_buffer i_tline INTO w_buffer.
      ENDLOOP.
    Replacing ~ by space
      TRANSLATE w_buffer USING '~ '.
      DO.
        i_record = w_buffer.
    Appending 255 characters as a record
        APPEND i_record.
        SHIFT w_buffer LEFT BY 255 PLACES.
        IF w_buffer IS INITIAL.
          EXIT.
        ENDIF.
      ENDDO.
      REFRESH: i_reclist,
      i_objtxt,
      i_objbin,
      i_objpack.
      CLEAR w_objhead.
    Object with PDF.
      i_objbin[] = i_record[].
      DESCRIBE TABLE i_objbin LINES v_lines_bin.
    Object with main text of the mail.
      i_objtxt = 'Find attached the output of the smart form.'.
      APPEND i_objtxt.
      i_objtxt = 'Regards,'.
      APPEND i_objtxt.
      i_objtxt = 'Narasimha'.
      APPEND i_objtxt.
      DESCRIBE TABLE i_objtxt LINES v_lines_txt.
    Document information.
      w_doc_chng-obj_name = 'Smartform'.
      w_doc_chng-expiry_dat = sy-datum + 10.
      w_doc_chng-obj_descr = 'Smart form output'.
      w_doc_chng-sensitivty = 'F'. "Functional object
      w_doc_chng-doc_size = v_lines_txt * 255.
    Pack to main body as RAW.
    Obj. to be transported not in binary form
      CLEAR i_objpack-transf_bin.
    Start line of object header in transport packet
      i_objpack-head_start = 1.
    Number of lines of an object header in object packet
      i_objpack-head_num = 0.
    Start line of object contents in an object packet
      i_objpack-body_start = 1.
    Number of lines of the object contents in an object packet
      i_objpack-body_num = v_lines_txt.
    Code for document class
      i_objpack-doc_type = 'RAW'.
      APPEND i_objpack.
    Packing as PDF.
      i_objpack-transf_bin = 'X'.
      i_objpack-head_start = 1.
      i_objpack-head_num = 1.
      i_objpack-body_start = 1.
      i_objpack-body_num = v_lines_bin.
      i_objpack-doc_type = 'PDF'.
      i_objpack-obj_name = 'Smartform'.
      CONCATENATE 'Smartform_output' '.pdf'
      INTO i_objpack-obj_descr.
      i_objpack-doc_size = v_lines_bin * 255.
      APPEND i_objpack.
    Document information.
      CLEAR i_reclist.
    e-mail receivers.
      i_reclist-receiver = '[email protected]'.
      i_reclist-express = 'X'.
      i_reclist-rec_type = 'U'. "Internet address
      APPEND i_reclist.
    Sending mail.
      CALL FUNCTION 'SO_NEW_DOCUMENT_ATT_SEND_API1'
        EXPORTING
          document_data              = w_doc_chng
          put_in_outbox              = 'X'
           commit_work                = 'X'
        TABLES
          packing_list               = i_objpack
          object_header              = w_objhead
          contents_bin               = i_objbin
       contents_hex               = i_objbin
          contents_txt               = i_objtxt
          receivers                  = i_reclist
        EXCEPTIONS
          too_many_receivers         = 1
          document_not_sent          = 2
          document_type_not_exist    = 3
          operation_no_authorization = 4
          parameter_error            = 5
          x_error                    = 6
          enqueue_error              = 7
          OTHERS                     = 8.
      IF sy-subrc <> 0.
        WRITE:/ 'Error When Sending the File', sy-subrc.
      ELSE.
        WRITE:/ 'Mail sent'.
      ENDIF.

    Hi ashok
    thanks for your reply.
    i got the error at commit in the below Func module.
    CALL FUNCTION 'SO_NEW_DOCUMENT_ATT_SEND_API1'
    EXPORTING
    document_data = w_doc_chng
    put_in_outbox = 'X'
    commit_work = 'X'
    TABLES
    packing_list = i_objpack
    object_header = w_objhead
    contents_bin = i_objbin.
    if i remove commit = 'X'.  no error but mail is not sending.
    please advice.

  • Express document "Update was terminated" received from author "    "in VA21

    Dear SAP Experts,
      i just set up Output determination for quotation type. and created VA21, while coming out i am getting error
    as Express document "Update was terminated" received from author " 
    below is the dump i am getting. Could you please help me to solve this?.
    Update was terminated    
    Created       m8050032  on   06.01.2010   13:04:43 
    Update was terminated
    System ID....   E6I
    Client.......   800
    User.....   M8050032
    Transaction..   VA21
    Update key...   DD95FADEFC90F19591EF001D0915C7EC
    Generated....   06.01.2010, 13:04:42
    Completed....   06.01.2010, 13:04:43
    Error Info...   00 671: ABAP/4 processor: SYNTAX_ERROR

    Hi,
    Goto T.code ST22 - ABAP runtime error
    click today button,
    check for the error and double click to get the detailed long text
    see "How to correct the error"
    take a help of ABAPer
    Regards
    senya

  • Express document 'Update was terminated' in vf02

    Hi Gurus,
    I am getting Express document 'Update was terminated' error while triggerring customized
    output type in vf02.
    i found dump in st22 and describes as below.
    Error analysis :
    This program is triggered in the update task. There, the
    following ABAP/4 statements are not allowed:
    -  CALL SCREEN
    -  CALL DIALOG
    -  CALL TRANSACTION
    -  SUBMIT
    Pls kindly suggest me what could be the reason

    Hi Sheshikanth,
    you have an exit in the update section of the transaction VF02 calling one of those statements (CALL...). This is prohibited.
    Go to SM13 and follow the error. You will find the code that is causing your problem.
    regards,
    Edgar

  • Error : Express Document "update was terminated" by XYZ.

    Hi,
    When I am trying to process one output type that I have created, I am getting an error
    Express Document "update was terminated" by XYZ.
    Here XYZ represents my userid .
    I have linked the output type to one printprogram. If I execute the print program standalone,
    it is working fine. But if I try to process the output , I am getting the above error.
    Please suggest the needful.
    Regards
    Rudra

    Hi..
    thnx for ur reply....I got the reason for error

  • Error:express document "Update was terminated" received from author

    Hi All,
    I m creating shipment frm the transaction VL01.
    While creating the shimpment i am assigning one Z output type and clicking on the planning phase on the shipment.
    After that i am saving my shipment.
    At this point of time my shimpmnet is created but after this(after saving the shimpment) if i am trying to do anything it is giving me the below error.
    Express document "Update was terminated" received from author "Sachin Yadav".
    Kindly help why i m gettng this error. How to remove this error.
    Regards
    Sachin

    SAP is telling you that the transaction failed and a rollback has been executed, due to some catastrophic error in the system.  These often arise from errors in exit coding....check ST22 to see if you can find anything...there may be a clue there....otherwise start looking at the changes you just made for the source of the error.
    This error occurs, most likely, because during the actual save to database operation, or because of something in follow-on processing launched during the save step (like a new background task for form output or something like that) an fatal error is occurring and SAP is detecting that and rolling back the body of work that was just committed to the database.

  • Error Msg: Express Document 'Update was Terminated'  in VF02 t-code

    Hi all,
    When I click on save in VF02 transaction I am getting message that ' Express Document 'Update was Terminated'  received from author 'XYZ'.
    After saving when I am seeing in header -output the output type not appearing.
    Please Help me Its an urgent requirement.
    Regards,
    vinod

    Hi Vinod,
    there is two reasons
    1) Number range is not specied limit define billing document number range.
    path- img sd- billing -define number range and see diffenettly i hope your problam willbe solved.
    2) t.code NACE  whether you have maintained the condition record or not check other wise please maintain it.
    i hope you have understood
    if your problam is solved don't forget to reward.
    thanks& regards
    surya

  • Invalid Certificate Microsoft Outlook cannot sign or encrypt this message because you have no certificates which can be used to send from your e-mail address.

    Hi,
    I have a problem when trying to sign emails with an X.509 certificate in Outlook 2010. I constantly get the error message. The certificate is Verified for the email address I'm sending from.
    "Invalid Certificate
    Microsoft Outlook cannot sign or encrypt this message because you have no certificates which can be
    used to send from your e-mail address."I have no problem with signing documents in Word 2010 with the same certificate, only when trying to send email.Every check I can perform confirms that there's nothing wrong with the certificate. Yet, Outlook still says it is invalid.I have even tried installing a second X.509 for the same email address just to check. Outlook doesn't seem to like either certificate.I know this has been posted before, but I'm completely stuck here.Thanks,~Dan

    Hi,
    You may have checked the option "Encrypt contents and attachments for outgoing messages" in Outlook, please uncheck this to test if the problem persists.
    File -> Options -> Trust Center -> Trust Center Settings -> E-mail Security -> Clear the checkbox "Encrypt contents and attachments for outgoing messages" -> OK.
    Regards,
    Melon Chen
    TechNet Community Support
    It's recommended to download and install
    Configuration Analyzer Tool (OffCAT), which is developed by Microsoft Support teams. Once the tool is installed, you can run it at any time to scan for hundreds of known issues in Office
    programs. Please remember to mark the replies as answers if they help, and unmark the answers if they provide no help. If you have feedback for TechNet Support, contact
    [email protected]

  • Express document is triggered after creation of Invoice

    HI Experts,
    We create an invoice with transaciton VF01 based on order xxxxxx .first time we printed the invoice from the order with output type ZA31 vs ZH31 and in the first case the invoice was printed. After we realized that it is not the output type we anted and we cancelled the invoice and tried again print now with output type ZH31.
    We set as output type ZH31 and printer LOC3, we set immediate printing after saving the document. We saved the document. Output was not available in the printer.
    When we wanded to display these documents we got an express document with the following contetn:
    Update was terminated
    System ID.... S1P
    Client....... 010
    User..... MAKRA_S
    Transaction.. VF01
    Update key... 4810BE0A641D00B3E100800091374210
    Generated.... 24.04.2008, 15:55:23
    Completed.... 24.04.2008, 15:55:25
    Error info... SSFCOMPOSER 610: Include text ZADDR_20_2014
    Is it possible that it is not allowed to create invoice from the same order using two types of output tipes. Which would mean that we have to create a new order and we should to print the invoice based on this new order with the correct output type?

    Hi
    For the billing type (transaction VOFA) check what output type and output procedure is assigned.
    The system will print as per the assignment made for output type to output procedure in V/42.
    Regards

  • The email message cannot be sent. Make sure the outgoing email settings for the server are configured properly

    i have an issue when loading a workflow. it gives me a following error "The email message cannot be sent. Make sure the outgoing email settings for the server are configured properly". it doesnt send me any alerts and worlflow fails at the end
    with the above error message.

    Hi,
    I agree with Bistesh. But after Outgoing e-mail settings are configured properly, if the issue still exists,
    It may result from your Anti-Virus. Please refer to the following steps:
    Open MCAfee Console and go to Access Protection window.
    Click Anti-Virus Standard Protection and edit “prevent mass mailing 
    worms from sending emails” rule.
    Now we need to know which processes are being blocked therefore we need to check the MCAfee Log located at
    C:\Documents and Settings\All Users\Application Data\McAfee\DesktopProtection\AccessProtectionLog.txt
    you may find entries of DtExec , DtExecUI and DatabaseMail90, now these processes need to be entered in the exclusion list of selected rule .
    Reset the IIS And SharePoint Timer service to check if this works for you.
    Here are some similar issues with you, you can use as a reference:
    http://social.technet.microsoft.com/Forums/en-US/667f0d61-4914-43fa-80c1-8cf430b113bb/workflow-email-not-working-but-normal-email-alerts-working-fine?forum=sharepointgeneralprevious
    http://techsuite.wordpress.com/2008/12/08/workflow-history-the-email-message-cannot-be-sent-make-sure-the-outgoing-email-settings-for-the-server-are-configured-properly/
    Best Regards,
    Lisa chen

  • SMTP message cannot be sent

    Hi All,
    I'm trying to send a custom ebMS document from Acme to Global Chips over Email. It is throwing me the below error message. From the below error I found out that the port number was wrong. I think it is taking the port number by default, but the actual email port number is 143, I'm not sure where I can change the port number.
    Kindly help me to fix the issue.
    Transport error: [IPT_MsgCannotBeSent] SMTP message cannot be sent.
    Sending failed;
    nested exception is:
         javax.mail.MessagingException: Could not connect to SMTP host: oracle.com, port: 25;
    nested exception is:
         java.net.ConnectException: Connection timed out: connect
    Regards,
    Priyanka

    Port number 25 is default port number for SMTP and 143 is for IMAP. Hence port numbers are correctly defined. My kind suggestion would be is oracle.com accessible for your environment. i.e please make sure HOST is correct?.
    "POP3HOST:110",
    "IMAPHOST:143",
    "SMTPHOST:25",
    If need more details to check configuration correctness, use following link
    http://java.sun.com/products/javamail/FAQ.html#1
    Right now, I don't have idea whether we can configure port number in B2B.

  • Express Document: Update Terminated in VL02n -CONNE_IMPORT_WRONG_COMP_TYPE

    Hello friends,
    Am an abaper (fresher).
    Actually i wanted spool to be generated when my delivery document is saved in transaction VL02n.
    But when i save it and come out , am getting an error telling "Express document: Update terminated."
    When i issue output to the delivery type am getting no response.  But the status of the output type inside the document is processed (Green)
    I have pasted below the SM13 error log.
            Module Name                   Type                Update Return Code
    1     RV_DELIVERIES_SAVE     V1 (no retry)     Error
    When i further look into it i get this error looking in ST22 it shows as mentioned below
    00 671: ABAP/4 processor: CONNE_IMPORT_WRONG_COMP_TYPE
    ( My print program has no syntax errors. I have passed the control parameters for preparing my smartform for spool to be generated when i save the delivery document.  )
    Could you please help me in solving this  issue ?
    Thanks and Regards
    Kausthub

    Hi Kausthub,
    although the print programs has no errors, it is possible that the output itself causes an update error. I remember when I created a sapscript form I forgot to define firstpage as follow-up-page of firstpage. Whenever more than one page was created, I got a dump in update processing - like you got it now.
    On the other hand, CONNE_IMPORT_WRONG_COMP_TYPE should not be related to this - there are some SAP notes applicable.
    Regards,
    Clemens

Maybe you are looking for

  • HOW TO VIEW .PDF FILES IN ITOUCH4 .

    I DO NOT HAVE INTERNET CONNECTION . CAN ANYONE HELP ME IN VIEWING .PDF FILES LOCALLY WITHOUT INTERNET CONNECTION.DO ITOUCH4 HAVE BUILT IN FEATURE TO VIEW .PDF FILES.

  • Services Return

    Hi , There was a purchase order for services against which Service entry sheet was created and approved. Later , the payment was also made agst this Service entry sheet to vendor , cheque was cleared and  bank reco was made SAP. In this complete proc

  • Studio export/import button not working.

    To import existing lar file into studio do I need to configure anything ? I'm not able to use the export/import even when logged in as admin?

  • Show Week 53 in BW report

    Because of the way 2004 is setup, it appears to have a week 53.  Does anyone have any experience displaying data for week 53 in BW?

  • Call Javascript function with getURL

    I can either open a new window using the getURL(javascript:function()) or I can open a new page and pass a variable using getURL("yourpage.aspx", "Get") but I really need to open the pop up with the javascript:function AND bring the information from