SCOT and FM 'SO_NEW_DOCUMENT_ATT_SEND_API1'

Hi Gurus,
I have an issue where the FM 'SO_NEW_DOCUMENT_ATT_SEND_API1' is being used to send mails without any attachment.
This FM is used by a custom FM which the program is using.
The parameters used by the custom FM are receiver mail IDs, content of the mail.
After running the program when I checkin SCOT, I find the mail entries but with a status "Still to be in queue".
This FM is working fine in rest all secnarios except mine.
Please give me some idea what could be the cause behind this. I have checked my program and dont find any issues in it. Even SCOT too has no flaws.
Please reply.
Regards,
Binay.

Hi,
USE THE FOLLOWING CODING
DATA : OBJECT_ID_NEW LIKE SOODK.
  CALL FUNCTION 'SO_NEW_DOCUMENT_ATT_SEND_API1'
      EXPORTING
           DOCUMENT_DATA = DOC_CHNG
           PUT_IN_OUTBOX = 'X'
IMPORTING
NEW_OBJECT_ID =
      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.
SELECT  * FROM SOSC WHERE OBJTP = OBJECT_ID_NEW-OBJTP AND
                            OBJYR = OBJECT_ID_NEW-OBJYR  AND
                            OBJNO = OBJECT_ID_NEW-OBJNO.
    MOVE-CORRESPONDING SOSC TO SOSC_WA.
    APPEND SOSC_WA TO SOSC_TAB.
  ENDSELECT.
  CALL FUNCTION 'SX_SEND_DISPATCHER'
     EXPORTING
       SOSC_TAB          = SOSC_TAB
*      output            = 'X'
     IMPORTING
       NR_SO_OBJECTS     = NR_SO_OBJECTS
     TABLES
       OBJ_CAT           = OBJ_CAT
     EXCEPTIONS
       INTERNAL_ERROR    = 1
       DIRECTSEND_FAILED = 2
       OTHERS            = 3.
  IF SY-SUBRC <> 0.
    MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
            WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
  ENDIF.
Regards,
Balakumar.G
Reward Points if helpful.

Similar Messages

  • Configure the tcode SCOT and SMTP for the SPM module in the R/3

    Hello,
    I want to know if I have to configure the tcode SCOT and SMTP for the SPM module (SAP GRC AC 5.3 SP5) in the R/3 if I want to send information toe the owner & controller.
    Best Regards.
    Pablo Mortera.

    Pablo,
    This would normally be a basis function. Be very careful as this is not specific to GRC.
    This will impact any external notifications using email / fax etc.
    It will also depend on your version and infrastructure.
    If you have web application servers, you will be able to do a lot more than if you have standard (older) application servers.
    You need to create a node under the INT and assign the appropriate tcp / ip rfc connection to direct it to your email server.
    You will then need to define the types of communications to be sent via that method and any appropriate email domain settings.
    You also need to create and set the appropriate send jobs to run periodically which will then automatically call the rfcs to process the waiting documents.
    Simon

  • Should SCOT and SCON be restricted tcodes?

    I'm trying to research whether the SAPConnect Admin transaction codes SCOT and SCON should remain "Permission" or need to be bumped up to "Restricted" and removed from "display only" roles as part of our SOx assessment.  I've checked the authorizations and it doesn't seem necessary (the only create/change functionality concerns communication nodes), but I wanted to see if there was something I was overlooking.
    I've already searched the documentation and the help portal and come up empty.

    Hi,
    These transactions shouldn't be classified as Display, but should remain as Permission, as others would be able to look at the config and if they have access to SM30 they can easily go and change the table DBCON where this config is stored. Ideally this transactions should remain with either Security or BASIS people and be monitored from a SOX perspective.
    Cheers,
    Kedar

  • Need an enhancement after releasing a PO Need to send a mail to vendor

    Hi all,
              I am having a requirement that, need to send a mail and attachment whenever a PO get released.
    Can anyone help to find the enhancement for to write the code to send a mail to vendor.
    Regards.
    Ranganadh.

    Hi,
    To send a mail when a new PO is created.
    can be achievd by using  class cl_bcs and BADI method
    IF_EX_ME_PROCESS_PO_CUST~POST of BADI ME_PEOCESS_PO_CUST.
    We can aslo configure the OUTPUT TYPE as MAIL in transaction NACE. This is usually doen by the Functional consultant.
    Pls look into these exapmles which clearly explains abt the process of sending a  mail-
    Sending Mail using class cl_bcs
    Re: Mail sending program
    Re: SCOT and FM 'SO_NEW_DOCUMENT_ATT_SEND_API1'
    Reward if helpful.
    Best Wishes,
    Chandralekha

  • Can you send encrypted e-mails using SO_NEW_DOCUMENT_ATT_SEND_API1

    We use SO_NEW_DOCUMENT_ATT_SEND_API1 to send e-mails to employees for various notifications.  The e-mails go out through SCOT and are sent to our lotus notes.
    We have a project being implemented, where the data we are sending in the note is kind of sensitive, so we'd like to see if we could send the e-mail as encrypted.   Does anyone know if there is some parameter we can set upon sending that would encrypt the text in the e-mail for sending?

    FORM pssword_prot_encryptpdf .
      DATA: BEGIN OF command_list OCCURS 0.
              INCLUDE STRUCTURE sxpgcolist.
      DATA: END OF command_list .
      DATA: BEGIN OF exec_protocol OCCURS 0.
              INCLUDE STRUCTURE btcxpm.
      DATA: END OF exec_protocol.
      DATA: status LIKE btcxp3-exitstat,
      commandname LIKE sxpgcolist-name VALUE 'ZTEST',
      sel_no LIKE sy-tabix.
    * GET LIST OF EXTERNAL COMMANDS
      CALL FUNCTION 'SXPG_COMMAND_LIST_GET'
        EXPORTING
          commandname     = commandname
          operatingsystem = sy-opsys
        TABLES
          command_list    = command_list
        EXCEPTIONS
          OTHERS          = 1.
      CALL FUNCTION 'SXPG_COMMAND_CHECK'
        EXPORTING
          commandname                = command_list-name
          operatingsystem            = sy-opsys
        EXCEPTIONS
          no_permission              = 1
          command_not_found          = 2
          parameters_too_long        = 3
          security_risk              = 4
          wrong_check_call_interface = 5
          x_error                    = 6
          too_many_parameters        = 7
          parameter_expected         = 8
          illegal_command            = 9
          communication_failure      = 10
          system_failure             = 11
          OTHERS                     = 12.
      CLEAR command_list.
      REFRESH command_list.
      DATA: v_dir_input      TYPE sxpgcolist-parameters.
      DATA: v_dir_input1      TYPE sxpgcolist-parameters.
      break developer.
      command_list-name = 'ZTEST'.
      command_list-opsystem = 'Windows NT'.
      CONCATENATE   'd:\pdf\' main_dtl-vbeln '.PDF' INTO name.
      CONCATENATE 'cmd /c d:\pdf\encryptpdf.exe' '-i' name  '-o ' name  '-u'  hdr-password INTO v_dir_input SEPARATED BY space .
      READ TABLE command_list INDEX sel_no.
      break developer.
      CONCATENATE command_list-opcommand v_dir_input INTO command_list-opcommand SEPARATED BY space.
    * CHECK AUTHORIZATION
      command_list-addpar = 'X'.
      APPEND command_list.
      CONSTANTS: c_extcom    TYPE sxpgcolist-name VALUE 'ZTEST',
                 c_oper      TYPE syopsys VALUE 'Windows NT'.
      DATA: t_result         TYPE STANDARD TABLE OF btcxpm.
      v_dir_input  =  command_list-opcommand.
      CALL FUNCTION 'SXPG_COMMAND_EXECUTE'
        EXPORTING
          commandname                   = c_extcom
          additional_parameters         = v_dir_input
          operatingsystem               = c_oper
        TABLES
          exec_protocol                 = t_result
        EXCEPTIONS
          no_permission                 = 1
          command_not_found             = 2
          parameters_too_long           = 3
          security_risk                 = 4
          wrong_check_call_interface    = 5
          program_start_error           = 6
          program_termination_error     = 7
          x_error                       = 8
          parameter_expected            = 9
          too_many_parameters           = 10
          illegal_command               = 11
          wrong_asynchronous_parameters = 12
          cant_enq_tbtco_entry          = 13
          jobcount_generation_error     = 14
          OTHERS                        = 15.
    ENDFORM.                    " PSSWORD_PROT

  • How to send an external mail(PDF) through SCOT

    Dear All,
                     We have a requirement to mail customer invoice converting the smartform into a PDF. All the neccesary configuration that needs to be done in NACE and SPRO transactions has been done.Now when we issue the output through an output type through transaction VF03, output is successfully issued.In SP02 also it shows the printing is successfully completed.
                     But when i want to want to check the display log aginst the
    output type and billing doc issued it says dat the processing log dosnt exist.We have configured the SCOT transaction for sending external email but it doesnt send the mail and even doesnt show any request in waiting and as well as no errors so we are not being able to identify whether the configuration done is wrng which doesnt seem to be the case or is dere a problem with SCOT configuration.
                     Could any1 pls help me with the entire flow of configuring SCOT if possible with screenshots for sending external email . or if possible wat is the possible problem we are facing...
                     Awaiting ur reply shortly.
    Thanks & Regards,
    Lailu Philip.

    Internal Table declarations
    DATA: i_otf TYPE itcoo OCCURS 0 WITH HEADER LINE,
          i_tline TYPE TABLE OF tline WITH HEADER LINE,
          i_receivers TYPE TABLE OF somlreci1 WITH HEADER LINE,
          i_record LIKE solisti1 OCCURS 0 WITH HEADER LINE,
    Objects to send mail.
          i_objpack LIKE sopcklsti1 OCCURS 0 WITH HEADER LINE,
          i_objtxt LIKE solisti1 OCCURS 0 WITH HEADER LINE,
          i_objbin LIKE solisti1 OCCURS 0 WITH HEADER LINE,
          i_reclist LIKE somlreci1 OCCURS 0 WITH HEADER LINE,
    Work Area declarations
          wa_objhead TYPE soli_tab,
          w_ctrlop TYPE ssfctrlop,
          w_compop TYPE ssfcompop,
          w_return TYPE ssfcrescl,
          wa_doc_chng typE sodocchgi1,
          w_data TYPE sodocchgi1,
          wa_buffer TYPE string,"To convert from 132 to 255
    Variables declarations
          v_form_name TYPE rs38l_fnam,
          v_len_in LIKE sood-objlen,
          v_len_out LIKE sood-objlen,
          v_len_outn TYPE i,
          v_lines_txt TYPE i,
          v_lines_bin TYPE i.
    call function 'SSF_FUNCTION_MODULE_NAME'
         exporting
              formname           = 'ZZZ_TEST1'
         importing
              fm_name            = v_form_name
         exceptions
              no_form            = 1
              no_function_module = 2
              others             = 3.
    IF sy-subrc <> 0.
      MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno
              WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
    ENDIF.
    w_ctrlop-getotf = 'X'.
    w_ctrlop-no_dialog = 'X'.
    w_compop-tdnoprev = 'X'.
    CALL FUNCTION v_form_name
         EXPORTING
              control_parameters = w_ctrlop
              output_options     = w_compop
              user_settings      = 'X'
         IMPORTING
              job_output_info    = w_return
         EXCEPTIONS
              formatting_error   = 1
              internal_error     = 2
              send_error         = 3
              user_canceled      = 4
              OTHERS             = 5.
    IF sy-subrc <> 0.
      MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno
      WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
    ENDIF.
    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.
      Fehlerhandling
      if sy-subrc <> 0.
      endif.
      loop at i_tline.
        translate i_tline using '~'.
        concatenate wa_buffer i_tline into wa_buffer.
      endloop.
      translate wa_buffer using '~'.
      do.
        i_record = wa_buffer.
        append i_record.
        shift wa_buffer left by 255 places.
        if wa_buffer is initial.
          exit.
        endif.
      enddo.
    Attachment
      refresh:
        i_reclist,
        i_objtxt,
        i_objbin,
        i_objpack.
      clear wa_objhead.
      i_objbin[] = i_record[].
    Create Message Body
    Title and Description
      i_objtxt = 'test with pdf-Attachment!'.
      append i_objtxt.
      describe table i_objtxt lines v_lines_txt.
      read table i_objtxt index v_lines_txt.
      wa_doc_chng-obj_name = 'smartform'.
      wa_doc_chng-expiry_dat = sy-datum + 10.
      wa_doc_chng-obj_descr = 'smartform'.
      wa_doc_chng-sensitivty = 'F'.
      wa_doc_chng-doc_size = v_lines_txt * 255.
    Main Text
    wa_doc_chng-doc_size = ( v_lines_txt - 1 ) * 255 + strlen( i_objtxt )
      clear i_objpack-transf_bin.
      i_objpack-head_start = 1.
      i_objpack-head_num = 0.
      i_objpack-body_start = 1.
      i_objpack-body_num = v_lines_txt.
      i_objpack-doc_type = 'RAW'.
      append i_objpack.
    Attachment
    (pdf-Attachment)
      i_objpack-transf_bin = 'X'.
      i_objpack-head_start = 1.
      i_objpack-head_num = 0.
      i_objpack-body_start = 1.
    Länge des Attachment ermitteln
      describe table i_objbin lines v_lines_bin.
      read table i_objbin index v_lines_bin.
      i_objpack-doc_size =  v_lines_bin * 255 .
      i_objpack-body_num = v_lines_bin.
      i_objpack-doc_type = 'PDF'.
      i_objpack-obj_name = 'smart'.
      i_objpack-obj_descr = 'test'.
      append i_objpack.
      clear i_reclist.
      i_reclist-receiver = '[email protected]'.
      i_reclist-rec_type = 'U'.
      append i_reclist.
        call function 'SO_NEW_DOCUMENT_ATT_SEND_API1'
             EXPORTING
                  document_data              = wa_doc_chng
                  put_in_outbox              = 'X'
             TABLES
                  packing_list               = i_objpack
                  object_header              = wa_objhead
                  CONTENTS_BIN               = 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.
    1. Use the Medium 7 for sending mails instead of 1 (printout)
    2. Maintain the Mail IDs for all vendors in Vendor Master(check the ADR6 table)
    3. Do the settings for sendiing mails in SCOT and SOST tcodes with the help of Basis person
    4.In NAce also use medium 7 instead of 1 (print)
    5. In the application doc Po Me22 N also configure the output type with the medium 7 for the partner(vendor) and other sommunication method settings.
    6. CHeck the print program, I think it will consider the Medium and set the communication type automatically. check it by keeping a break point if it is not working.
    n the Smartform Functiona Module we get the Spool ID of the Smartform for the output
    use that spool ID and convert to PDF format and send mail using the fun modules
    CONVERT_ABAPSPOOLJOB_2_PDF
    SO_NEW_DOCUMENT_ATT_SEND_API1
    you have to write related code for these fun modules in the Smartform driver program itself
    and ask your basis persons to configure the SCOT and SOST tcodes to send mails to Outside Consignee Maid Id's
    REWARD POINTS IF HELPFUL
    rewar points if helpful.

  • Problem with Send and Receive Emal In SAP System

    Hi gurus!
    I have a following quote:
    Dear !
    I have a problem with send and receive email in SAP system following :
    I want to test send and receive email in local network at my company. I
    had two server
    Server 1 : I setup Exchange Mail Server 2007 with domain controller is
    fes.com
    Server 2 : I setup SAP ERP ECC 6.0
    On Server 1 : I created 2 account ( u1Afes.com and u2Afes.com ) and then I tested send and receive email between u1 and u2 in local network through Microsoft Outlook 2007 -> OK
    and then
    On Server 2: I had configured send and receive email on SAP system
    through tcode SBWP, SCOT and SOST as Note 455140 - "Configuration of
    e-mail, fax, paging or SMS using SMTP"
    for example :
    I logged in SAP system with user Basis01 (with email u1Afes.com ) -> then,using tcode SBWP -> new message -> send to u2Afes.com with Internet Mail type and then status message with green light -> sending ok
    and then I have used Microsoft Outlook 2007, I logged with account u2 ->check email -> Ok. I saw message which send from u1
    Finally, My problem is how can receive mail in SAP system without using Microsoft Outlook
    For example:
    Login system SAP with Basis01 account (with  u1Afes.com ) -> tcode SBWP ->New Message -> send to u2Afes.com
    and then
    Login system SAP with Basis02 account (with u2Afes.com ) -> tcode ??? ->
    To receive email from Basis01 (with u1Afes.com )
    Please help me now
    Thanks
    I replace "@" with "A" because of banning email of this forum.
    This quote is about sending email in local network. And we can't receive any email from the outside email address. Addition if I wanna send email to internal email in Internet (we've just tried with email address in local network) What should I config in SAP and Exchange ?
    By the way, Is SAP Server IP added to Relay Agent for sending or receiving mail ?
    Regards
    An NLP
    Edited by: An NLP on Apr 6, 2010 7:03 PM

    Hi,
    This problem is a classic problem of mail routing via Exchange. Exchange like most mail servers use the domain part of the email address as a means to route mails. So I will make an assumption that your main company mail addrss is "User @ fes.com".
    So when you send a mail to the "User @ fes.com mail" address the mail is delivered to your Outlook mail address as this is the default route for company.
    (Q) So how do you get your Exchange server to relay the mail into the sending SAP system?
    (A) The easiest way would be to setup and unique mail domain for your SAP system. I always recommend "user @ client.sid.company.com" which in your case would be "u1 @ 100.PRD.fes.com". You can then instruct Exchange to send any emails addressed to 100.PRD.fes.com domain to your SAP system. Also using this format of address you can configure multiple mail connections into multiple SAP systems.
    (A) Another answer would be to enter the "Full" email address (LOcal and Domain part of address) into the routing rule for Exchange e.g. "U1 @ fes.com" so that all emails addressed to this user will be delivered into SAP. However this method requires a lot of Admin as you will have to update Exchange with ALL email address that need to receive emails. Also if your corporate mail address is "U1 @ fes.com" then all mails will be forwarded to SAP.
    I would definitely NOT recommend this method but the decision is up to you.
    P.S. The IP address of the SAP system is entered into the mail header of the email. This is standard practice in SMTP relay. You can suppress this header in Exchange
    Hope this helps
    Michael

  • Handling error in XI with CCMS and Alert Monitor

    Hello,
    I have configured the CCMS for handling XI error and use the auto-reaction method CCMS_Send_Alert_to_ALM for sending an alert when i have for exemple a mapping error.
    The issues are :
    1) When an alert is catched I can send an email or having a notification in the alertinbox but not the both.
    2) When an alert is catched in the CCMS, this alert is in an active status and i can't receive a second alert if another error occurs in XI until i have completed manually the first alert. Is it possible to complet this alert automatically or having more than one alert active for the same node in the CCMS ?
    Regards,
    Vincent.

    Gopesh
    The alerts are displayed to the recipient in one of the following programs:
    .In the Universal Work List (UWL of the Enterprise Portal) as of SAP NetWeaver ’04
    · In an application that accesses the alerts using an API
    · In the Alert Inbox. The Alert Inbox is an application based on Business Server Pages (BSP),which can be called using the transaction ALRTINBOX or the corresponding URL
    (http:///sap/bc/bsp/sap/alertinbox).
    There are also a number of external communication methods available. You can configure these in SAPconnect (transaction SCOT) and use them in addition to inform the recipient of an alert about the problem: Internet mail, SMS, and fax.
    Just to cross check have you configured your alerts using the below urls:
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/aeeda66b-0a01-0010-6884-876fac1c4a2d
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/be79a16b-0a01-0010-51b8-9b6d1968338d
    Regards,
    ---Satish

  • SCOT - How to send a mail from mail server to a SAP system

    Dear SAP colleagues,
    With SCOT you can configure the SAPConnect administration.
    You can easily configure your SAP system to allow the send of email from SAP to your mail server.
    Exemple :
    1. SID SAP : DL1
    2. Mail server : sn1exch.lec.local
    3. Target email : "myeamailaddress"
    Send email process 01 : 1. DL1 ==> 2. Mail Server ==> 3. You read your email in your inbox "myeamailaddress"
    My problem :
    From my inbox "myeamailaddress", I want to be able to send email to SAP (Dl1).
    Send email process 02 : 1. My inbox "myeamailaddress" ==> 2. Mail Server ==> 3. SAP (DL1).
    Question :
    Do you have any help to configure it ?
    Thanks in advance for your input.
    Best regards
    NetWeavAdmin

    Dear Olivier,
    I do not have a specifi technical problem.
    Let's summarize - my request concerns a SRM Workflow :
    I am ordering an article. When the order is higher than 2'000 USD, I need to get the approval of my manager.
    That's the workflow.
    Workflow :
    1. I am user in DL1 SAP System.
        UserName : CharlesN
        In SU01,
        charles(a)green.com
    2. From DL1 SAP system, I order articles. The order total amount is higher than 2'000 USD.
        In the workflow, an mail from DL1 is automatically send to my manager in his MS-Outook inbox.
        (manager(a)green.com)
    3. My manager reads the mail I have sent him and give his approvals by clicking on a approvals button.
        When clicking the button, an mail must be automatically send from my manager MS-Outlook inbox
        to DL1 to CharlesN inbox in SBWP in DL1 SAP system.
    I have configured SCOT and read OSS Note 455140.
    The SAPconnect virtual host is activated in DL1 (SICF).
    I think a miss a step in our mail server to relay a mail from MS-Outlook to my SAP system.
    Any suggestion is welcome.
    Best regards

  • BAPI_PO_CREATE1 and PO output issue

    All,
    I am having the following issue.
    We use BI Integrated Planning to drive our purchasing.  I have developed code within an extractor that will create PO's in ERP based on BI cube data.
    I use BAPI_PO_CREATE1 to create the PO in ERP.  As background I created tables to match the BAPI_PO_CREATE1 structures in the BI system and then created a z function module to pass data from BI to ERP and then call the SAP Standard BAPI_PO_CREATE1.
    My issue is as follows:
    I can send across the relevant BI user and this sets the PO creator to be the correct user.  However the output associated with the PO is being set as the BWREMOTE user.  As  a result the email output from the PO is picking the BWREMOTE user as the person sending the email (can see it in SCOT) and not the actual user.
    Is there a way to ensure that the PO message (Output) creator can be modified and set to the correct user and not be the BWREMOTE user?
    Thanks in advance
    Eddie

    I don't have any value from POITEM-NET_PRICE....
    In my program i have:
    WO_POHEADER-COMP_CODE = '1376'.
    WO_POHEADER-DOC_TYPE = 'ZPCO'.
    WO_POHEADER-VENDOR = '0000900600'.
    WO_POHEADER-PURCH_ORG = 'N200'.
    WO_POHEADER-PUR_GROUP = '010'.
    WO_POHEADERX-COMP_CODE = '1376'.
    WO_POHEADERX-DOC_TYPE = 'ZPCO'.
    WO_POHEADERX-VENDOR = '0000900600'.
    WO_POHEADERX-PURCH_ORG = 'N200'.
    WO_POHEADERX-PUR_GROUP = '010'.
    WO_POITEM-po_item = '00010'.
    WO_POITEM-material = '000000000040900031'.
    WO_POITEM-PLANT = 'N200'.
    WO_POITEM-QUANTITY = '5.000'.
    WO_POITEM-ACCTASSCAT = 'X'.
    WO_POITEM-ITEM_CAT = '5'.
    append WO_POITEM.
    WO_POITEMX-po_item = '00010'.
    WO_POITEMX-material = '000000000040900031'.
    WO_POITEMX-PLANT = 'N200'.
    WO_POITEMX-QUANTITY = '5.000'.
    WO_POITEMX-ACCTASSCAT = 'X'.
    WO_POITEMX-ITEM_CAT = '5'.
    append WO_POITEMX.
    And please note that i am running this with TEST_RUN flagged. When is not flagged i get the new PO number created, so i think i am doing everything ok.. My problem is how to get the Net Price in simulation...
    Thanks
    BR
    Message was edited by:
            pati mio

  • Help with sm 4.0 email and ccms

    Hi,
    I'm having problems generating emails in sm 4.0.
    I've configured the landscape in t/c solution_manager and have alerts appearing for my trainng system. I'm just checking cpu at moment. I've set the treshholds to a low value in order for alerts to be constantly created. I can confirm the alerts and wait 10 mins and the alert is in red again for cpu.
    I've configured the remote agent and it's appearing in RZ21 has active.
    In RZ21 i've gone to config central system >>> assign central auto-reactions.
    I've added my sid, mte class and autoreaction.
    For the autoreaction i'm using:
    Function module : SALO_EMAIL_IN_CASE_OF_ALERT
    Parameters:
    SENDER                 osheaj
    RECIPIENT              [email protected]
    RECIPIENT-TYPEID       U
    I've activated central system dispatching and it finishs ok.
    I've checked table: CSMCENTOOL and it's got a number of entries for the monitored system.
    I've checked so01 and scot and there are no messages or emails waiting to be sent.
    I've also configured everything in client 000.
    I'm not getting any error messages.
    Does anyone know anyother tables i can check to track where the problem is?
    Thanks
    Jim

    Hi Jonna,
    Have you configured everything in 000.
    2.     Go to Technical Infrastructure >>> Configure Central System >> Assign Central Autoreactions:
    3.     Click on new in central auto reaction and give it a name.
    4.     Add the following properties to it: function:salo_email_in_case_of_alert
                     control: only in cen
                    parameters : see entries above
                    release : auto-reaction
    5.      Select System ID, MTE Class and Auto Reaction
    6.      Click on Assign Central Auto-Reactions 
    7.      Hit back button and go to configure central system >> activate central system dispatching
    Also make sure job: SAP_CCMS_MONI_BATCH_DP is running.
    You can check in RZ20 if the alerts are actually been generated and then also manually execute the alert to check if the emails are being created.
    Hope this helps....
    On ditribution list's i assume for recipent you just enter the email address for the distribution list. And if the sender has a generic email address like [email protected] you can enter this in the user id of the user generating the alerts.
    rgds
    Jim

  • Error in SMTP in SCOT

    Hey guys
    i have configured alerts in my QA box,i m getting proper alerts in my alert inbox in RWB but in scot i see errors in SMTP,and ofcourse i dont see any alerts in my e-mail,i have been through sap help for scot and set the trace but nothing came up.
    is there any doc. where i can cross check the settings in scot other dan SAP online help?
    thanx
    ahmad
    Message was edited by:
            Ahmad

    Refer to this guide to set up SCOT,
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/be79a16b-0a01-0010-51b8-9b6d1968338d
    Regards
    Bhavesh

  • RSWUWFML2 - CONVERSION ERROR sending workitem out via SCOT

    Hi there,
    Please help, I am using report RSWUWFML2 to send workitems to outlook, the email gets to outlook but it seems like there is a CONVERSION error that occurs in SAP that results in no workitem ATTACHMENT being in the email.
    The error in the email is: "Message cannot be processed as it cannot be converted"
    I turned on the trace in SCOT and this is the log....look at the sections in BOLD to see what happened:
    SX_PERFORM_RFCSEND               G  <b>Formats supported: ALI INT OBJ OTF PDF RAW SCR URL     </b>
    SX_OUTGOING_VERSION_BUILD        G  Read contents of document RAW32000000034669            
    SO_OBJECT_DATA_FOR_SEND_GET      G  Object transferred                                     
    SX_OUTGOING_VERSION_BUILD        G  <b>Converting document RAW32000000034669 from TXT to INT  </b> SX_OUTGOING_VERSION_BUILD        G  Read contents of document EXT32000000011065            
    SO_OBJECT_DATA_FOR_SEND_GET      G  Object transferred
    SX_OUTGOING_VERSION_BUILD        G  <b>No suitable conversion found for SAP                   </b> SX_GENERATE_NDR                  G  <b>Message cannot be processed as it cannot be converted  </b>
    My apologies for the bad formatting above, was the best I could do from copy and paste from SCOT....
    I have also looked at the "conversion rules" in SCOT.....could this be the problem? It seems to want to convert type "SAP" to something.....but there is no "SAP type" in the conversion rules?
    PLEASE help, I really need to get over this obstacle
    Thanks
    Lynton

    Not sure if this will confuse matters more but if I look in the LOGS further in transaction SLG1 I see the following:
    Typ Message text                                                                               
    Selection Setting: p_jobsuf = 2                           
        Selection Setting: p_tasks = TS00007986                   
        Selection Setting: x_sc_inb =                             
        Selection Setting: x_sc_dis =                             
        Selection Setting: x_sc_exe = X                           
        Selection Setting: p_s_nac = SWU_NOTIF                    
        Selection Setting: p_s_nan = 002                          
        Selection Setting: p_prol = SWU_NOTIF_PROLOG1             
        Selection Setting: p_epil = SWU_NOTIF_EPILOG2             
        Selection Setting: p_logon =                              
        Selection Setting: p_fromd = 03.12.2007                   
        Selection Setting: p_fromt = 08:00:00                     
        Selection Setting: p_user =                               
        Selection Setting: x_err_tr =                             
        Selection Setting: x_alw_tr = X                           
        Work item 000001389473 being edited                       
        SAPoffice document RAW32000000034669 sent                 
        Work item 000001389473: Send ok                           
        Work item 000001389473 sent to [email protected]     
    So this log looks fine BUT the previous trace from SCOT looks bad.....
    Any ideas?
    Lynton

  • SCOT Configuration ECC6

    Hi there,
    I am using ECC6 on HPUX.  Currently within SCOT my default domain is configured and within  the  SMTP node it states local. Nothing is configured within SICF for SAPCONNECT
    I am able to send email - I believe SAP sends the mail to the local HPUX server where ECC resides and sendmail passes the email to the users.
    I have 2 problems/questions.
    If I have several Finance users which are sending Purchase Orders via email if an incorrect email address is entered for a vendor I would like the end user to be notified to their exchange email account.
    If I send an email (SMTP) via SWBP to an incorrect email address I would expect to be notified eventually that the mail was never sent as the address was incorrect, however this does not happen.
    If I was to send an email via exchange (NON SAP) this functionality is there.
    How can I get this functionality?
    Would I be correct in thinking that I need to configure the exchange server details within SCOT and SICF.
    The second issue is with the current configuration as it is all the emails remain in scot as in transit.
    Any help would be appreciated.
    Thanks

    Hello,
    It sounds like your current configuration does not handle the confirmation of receipt very well.
    Your second issue can be fixed by turning the confirmation of receipt off (see http://help.sap.com/saphelp_nw04/helpdata/en/55/609f388b7811d3a33000a0c943858e/frameset.htm)
    Regarding your first issue, If you already have an exchange infrastructure in place, I see no reason why you would not want to use it with you SAP servers.
    Note 455140 - Configuration of e-mail, fax, paging or SMS using SMTP gives a very detailed explanation as to how to set this up.
    Regards,
    Dominik Herzig

  • Accidentally deleted smtp node in scot

    i accidentally deleted stmp node in scot and having no idea how to put it back? i tried creating a new node but the node is already exist. is there anyway to put back the node?

    HI,
    There is always one SMTP node in each client. This node is created by the SAP system and cannot be deleted. Try to view in T-code: SCON /  SCOT> View> system status ( Press F5)  or Node  (Press F7).
    For info check http://help.sap.com/saphelp_470/helpdata/en/af/73563c1e734f0fe10000000a114084/content.htm
    Regards,
    Phani

Maybe you are looking for

  • Inspection plan creation error....

    Hello gurus, I am getting error while creating inspection plan.... 'Work center ABC plant ABC does not exist for task list type Q' what should be the solution......?

  • N80 Restarting "WSOD" when playing large mp4 files

    I love Anime's so I'm converting my "RMVB" or "AVI" video files from my pc to "MP4" so that i can watch in my N80. here is the setting when i convert the files to MP4: Video -resolution is "352x288 (CIF)" -frame rate(FPS) is set to "auto" -Bit rate i

  • Standard software with iMac?

    My Imac has changed for a new one, with this new one there are 2 dvd's in the package, OS X install dvd and applications install dvd. Why not in the first delivery and wich dvd's are standard deliveredwith a new Imac??

  • Broken my restore

    I attempted to restore my iMac to factory defaults using the method of holding Command and S when booting. I have managed to restore the iMac but I cannot get past the set up stages; language selection, name, apple id etc.  Being 15 and having to sav

  • How can we share and transfer data at Labview using the internet

    How can we share and transfer data at Labview using the internet Dr. Eugene Berman, Moran Kamilyan and Ravit Bar