Re: Sending QM Notification from SAP ME

Hello Experts,
I am working on integrating QM notification to logging of NC in SAP ME. Relevant settings in ECC are in place. I have created an NC code as an ERP QN Code and have assigned ERP catalog, ERP Code group and ERP code as maintained in SAP. Also, my user in ME is assigned the ERP user name.
When I log an NC and complete the operation, "qualityNotificationRequest" is triggered but it goes to error with the message "Invalid catalog entry".
There is only original document in the trace which does show the catalog type same as maintained in the NC code (albeit in small letter - not sure if this makes any difference).
Would appreciate any input on this.
Thanks in advance
Srinivas

Hi,
There are two groups of Quality notification settings:
NC code maintenance
QualityNotification workflow configuration
These two sets of parameters are passed in different parts of the BAPI and are independent of each other, in that in ERP they are stored in different places. Please see screenshot below from QM03 transaction with the values that came from ME.
Header data – is stored on the QN Subject tab. These are the parameters from the workflow configuration.
On the Items tab, the data here comes from the settings in NC code maintenance. Each NC logged for a particular Shop Order is created as a separate line on this Item tab.
The NC Details are in the Long text Field
Thanks
Steve

Similar Messages

  • Sending Workflow notification from SAP to Outlook

    Hi All,
    I want to send my workflow notification mail from my SAP inbox to Outlook.
    I have done the same for the work items successfully using Extended Notifications.
    However, the same configuration is not working for "Notifications".
    Please suggest.
    Thanks & Regards,
    Deb

    Rob,
    Thanks for your response. It was a simple sent mail step. So I send it directly to the e-mail id of the same user. Simple thing clicked to my mind little late.

  • Sample code to send a mail from SAP

    Hi guys
    could any one provide me with the
    sample code to send a mail from SAP with text as the main body of that mail via bcs classes

    Hi,
         Please go through this code: U can send mail;
    Tables : zchp_cust-info.
    DATA: OBJCONT LIKE SOLISTI1 OCCURS 5 WITH HEADER LINE.
    DATA: RECLIST LIKE SOMLRECI1 OCCURS 5 WITH HEADER LINE.
    DATA: DOC_CHNG LIKE SODOCCHGI1.
    DATA: ENTRIES LIKE SY-TABIX.
    DATA: NAME(15).
    DATA: CON_NAME(20).
    DATA: req_num like zchp_cust_info.
    DATA: I_TAB_CHP LIKE ZCHP_CUST_INFO OCCURS 0 WITH HEADER LINE.
    *data: reno like ZCHP_CUST_INFO-req_num value .
    data input for the mail
    select * from zchp_cust_info
    appending table i_tab_chp where req_num = c_knumv.
    LOOP AT I_TAB_CHP.
    concatenate i_tab_chp-created_by i_tab_chp-req_num into CON_NAME.
    *WRITE: / con_name.
    ENDLOOP.
    Fill the document
    DOC_CHNG-OBJ_NAME = 'Refe'.
    DOC_CHNG-OBJ_DESCR = 'TESCRA Ref Number !'.
    DOC_CHNG-SENSITIVTY = 'P'.
    *OBJCONT = 'Tescra'.
    OBJCONT = CON_NAME.
    APPEND OBJCONT.
    OBJCONT = con_name.
    APPEND OBJCONT.
    DESCRIBE TABLE OBJCONT LINES ENTRIES.
    READ TABLE OBJCONT INDEX ENTRIES.
    DOC_CHNG-DOC_SIZE = ( ENTRIES - 1 ) * 255 + STRLEN( OBJCONT ).
    Fill the receiver list
    CLEAR RECLIST.
    RECLIST-RECEIVER = SY-UNAME.  " replace with <login name>
    RECLIST-REC_TYPE = 'B'.
    RECLIST-EXPRESS = 'X'.
    APPEND RECLIST.
    CLEAR RECLIST.
    RECLIST-RECEIVER = 'sapuser'.
    RECLIST-REC_TYPE = 'U'.
    APPEND RECLIST.
    Send the document
    CALL FUNCTION 'SO_NEW_DOCUMENT_SEND_API1'
         EXPORTING
              DOCUMENT_TYPE  = 'RAW'
              DOCUMENT_DATA  = DOC_CHNG
              PUT_IN_OUTBOX  = 'X'
         TABLES
              OBJECT_CONTENT = OBJCONT
              RECEIVERS      = RECLIST
         EXCEPTIONS
              TOO_MANY_RECEIVERS         = 1
                   DOCUMENT_NOT_SENT          = 2
                  OPERATION_NO_AUTHORIZATION = 4
                   OTHERS                     = 99.
        CASE SY-SUBRC.
          WHEN 0.
            LOOP AT RECLIST.
              IF RECLIST-RECEIVER = SPACE.
                NAME = RECLIST-REC_ID.
              ELSE.
                NAME = RECLIST-RECEIVER.
              ENDIF.
              IF RECLIST-RETRN_CODE = 0.
                WRITE: / NAME, ': succesfully sent'.
              ELSE.
                WRITE: / NAME, ': error occured'.
              ENDIF.
            ENDLOOP.
          WHEN 1.
            WRITE: / 'Too many receivers specified !'.
          WHEN 2.
            WRITE: / 'No receiver got the document !'.
          WHEN 4.
            WRITE: / 'Missing send authority !'.
          WHEN OTHERS.
            WRITE: / 'Unexpected error occurred !'.
        ENDCASE.
    <b>Please provide points if the issue is solved.</b>
    Regards,
    Sunil

  • Hi.....I want to send outbond email from SAP ERP to Gmail useing SBWP Tcode

    I want to send outbond email from  SAP ERP to Gmail  useing SBWP transaction , for that i want standered BADI or BAPI or RFC to send an outbond mail.i want to send a email from sbwp t-code in that t-code we have title text box and body text box and receipent  and receipent type,after entering alll those values i want trigger my badi /bapi/rfc and also that mail goes to receipent Gmail indox and also sap user outbox in sbwp t-code
    Moderator message: Welcome to SCN!
    Moderator message: this is considered "spec dumping", please work yourself first on your requirement.
    [Rules of engagement|http://wiki.sdn.sap.com/wiki/display/HOME/RulesofEngagement]
    [Asking Good Questions in the Forums to get Good Answers|/people/rob.burbank/blog/2010/05/12/asking-good-questions-in-the-forums-to-get-good-answers]
    Edited by: Thomas Zloch on Jul 13, 2011 9:25 AM

    Check note 455140 - Configuration of e-mail, fax, paging or SMS using SMTP
    Markus

  • Can we send .csv file from sap srm system to sap pi?

    Hi Experts,
    we have 3 options send the data from sap systems to sap pi.i. e.proxy,idoc and rfc only
    How can we send .csv file from sap srm to sap pi?
    Regards,
    Anjan

    Anjan
    As you know SAP SRM and SAP PI are different boxes.
    *_Option 1:_*
    we need a shared AL11 directory in between SAP SRM and SAP PI (Ask basis to setup shared folder). Place / Populate the file in the folder from SAP SRM and then it can be picked through sender file communication channel.
    In this case you (Basis team) will share one folder which is visible from the AL11 transaction of both the systems (SRM and PI). You will drop .csv file using some report or program from SRM at this location and from PI you can read that file using File communication channel (NFS mode).
    Option 2:
    Setup a FTP at SRM environment and expose some folder which can be accessible from PI. Use sender file communication channel at PI end to pick the file.
    You can use this option incase sharing of folder is not possible (due to network / other constrains). Here FTP server is required to expose any folder as FTP so as it can be accessible from internet (remote location). You need to expose some folder at SRM machine.  You will drop .csv file using some report or program from SRM at this location. Now PI can fetch the file from that location using  sender file communication channel (FTP Mode) providing user credentials.
    Hope it clears now.
    Regards
    Raj

  • How can we trigger the notification from SAP backend system to SMP3.0.

    Hi All,
    Can any one help me to know is there any standard approaches available to get notification from SAP backend system to SMP3.O server after any event that has been triggered.
    Any of suggestion related to above will be helpful.
    Thanks,
    Anjali

    Hi Ekansh,
    I have few more question regarding push notification from backend.
    Refferd Link:-http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/40ab6d83-b7b8-3010-65bc-d7a08f0f35f3?QuickLink=index&…
    Pushing Notifications Made Easy!!! : Push a Notification
    Have perform all the steps till creating RFC Destination to mobile platform by creating a new push service.
    I just wanted to have a clarity on target host that we are specifying should also have SMP3.0 server installed???
    Actually I am using http listener downloaded from membrane site which is running on that target host machine.
    But I am unable to get any response in my listener.
    Even wanted to know the necessity of exchange of certificate for SSL Connection.
    SMP server Certificate exchange with SAP Backend and SMP server certificate exchange with HTTP Listener????
    Because currently I am trying to have a notification from SAP Backend directly to HTTP Listener without having SMP server.
    Can u please correct me where I am going wrong.
    Thanks & regards,
    Anjali Agrawal

  • Sending external email from SAP with following requirements...

    Hi All,
           I need to send external emails from SAP by meeting following requirements.
    1) With subject line more than 100 characters.
    2) No attachments, only body which has specific format (blueprint/layout) and would be amended often, hence code shouldn't be touched during amendments.
    3) Should be able to know the success/failure of mail sending at program level.

    Hi,
    The code below demonstrates how to send an email to an external email address
    *& Report  ZSENDEMAIL                                                  *
    *& Example of sending external email via SAPCONNECT                    *
    REPORT  zsendemail                    .
    PARAMETERS: psubject(40) type c default  'Hello',
                p_email(40)   type c default '[email protected]' .
    data:   it_packing_list like sopcklsti1 occurs 0 with header line,
            it_contents like solisti1 occurs 0 with header line,
            it_receivers like somlreci1 occurs 0 with header line,
            it_attachment like solisti1 occurs 0 with header line,
            gd_cnt type i,
            gd_sent_all(1) type c,
            gd_doc_data like sodocchgi1,
            gd_error type sy-subrc.
    data:   it_message type standard table of SOLISTI1 initial size 0
                    with header line.
    *START-OF-SELECTION.
    START-OF-SELECTION.
    Perform populate_message_table.
    *Send email message, although is not sent from SAP until mail send
    *program has been executed(rsconn01)
    PERFORM send_email_message.
    *Instructs mail send program for SAPCONNECT to send email(rsconn01)
    perform initiate_mail_execute_program.
    *&      Form  POPULATE_MESSAGE_TABLE
          Adds text to email text table
    form populate_message_table.
      Append 'Email line 1' to it_message.
      Append 'Email line 2' to it_message.
      Append 'Email line 3' to it_message.
      Append 'Email line 4' to it_message.
    endform.                    " POPULATE_MESSAGE_TABLE
    *&      Form  SEND_EMAIL_MESSAGE
          Send email message
    form send_email_message.
    Fill the document data.
      gd_doc_data-doc_size = 1.
    Populate the subject/generic message attributes
      gd_doc_data-obj_langu = sy-langu.
      gd_doc_data-obj_name  = 'SAPRPT'.
      gd_doc_data-obj_descr = psubject.
      gd_doc_data-sensitivty = 'F'.
    Describe the body of the message
      clear it_packing_list.
      refresh it_packing_list.
      it_packing_list-transf_bin = space.
      it_packing_list-head_start = 1.
      it_packing_list-head_num = 0.
      it_packing_list-body_start = 1.
      describe table it_message lines it_packing_list-body_num.
      it_packing_list-doc_type = 'RAW'.
      append it_packing_list.
    Add the recipients email address
      clear it_receivers.
      refresh it_receivers.
      it_receivers-receiver = p_email.
      it_receivers-rec_type = 'U'.
      it_receivers-com_type = 'INT'.
      it_receivers-notif_del = 'X'.
      it_receivers-notif_ndel = 'X'.
      append it_receivers.
    Call the FM to post the message to SAPMAIL
      call function 'SO_NEW_DOCUMENT_ATT_SEND_API1'
           exporting
                document_data              = gd_doc_data
                put_in_outbox              = 'X'
           importing
                sent_to_all                = gd_sent_all
           tables
                packing_list               = it_packing_list
                contents_txt               = it_message
                receivers                  = it_receivers
           exceptions
                too_many_receivers         = 1
                document_not_sent          = 2
                document_type_not_exist    = 3
                operation_no_authorization = 4
                parameter_error            = 5
                x_error                    = 6
                enqueue_error              = 7
                others                     = 8.
    Store function module return code
      gd_error = sy-subrc.
    Get it_receivers return code
      loop at it_receivers.
      endloop.
    endform.                    " SEND_EMAIL_MESSAGE
    *&      Form  INITIATE_MAIL_EXECUTE_PROGRAM
          Instructs mail send program for SAPCONNECT to send email.
    form initiate_mail_execute_program.
      wait up to 2 seconds.
      if gd_error eq 0.
          submit rsconn01 with mode = 'INT'
                        with output = 'X'
                        and return.
      endif.
    endform.                    " INITIATE_MAIL_EXECUTE_PROGRAM
    Hope this helps.
    Reward if helpful.
    Regards,
    Sipra

  • How will we send smtp mail from SAP via Exchange

    Hi;
    We changed SAP OS between Windows and Linux and still 4.6c . Now we use linux OS.
    We used smtp mail at SAP via Exchange with 3.party (sendmail,indigomail etc.) But Now I dont know how will we send smtp mail from SAP.
    Please help me,
    Thanks for answers.
    Moderator message: not directly related to ABAP development, please have look in the Netweaver forums, also search for available information on sending emails.
    Edited by: Thomas Zloch on Nov 22, 2010 2:39 PM

    Hi,
    What is the nature of the URL you wish to include in the e-mail ?
    Is it fixed or dynamic ?
    Cheers
    Colin.

  • Send binary files from SAP System to SAP XI/PI

    Dear experts,
    in our SAP ERP-System we have a link to JPG files which are stored in an archive. We want to send these files with some other information to our SAP XI and then store them on a file server. Is there a way to send a MIME attachment via RFC? Or is there another way to send binary files from SAP ERP to SAP XI? We want to avoid polling the files on OS level.
    Thanks and regards,
    David

    Most recommended way is to go for ABAP proxies. They support attachments.
    Regards,
    Prateek

  • Problem sending externail mail from SAP

    I am facing problem in sending external mail from SAP. for ex: yahoo, hotmail like that. But, i can able to send the mails to my domain ids. I have configured both the SMTP and SAP internet gateway to send mails.
    But, i dont know what could be the problem in sending external mails.
    Is there any body to help me in this regard
    Regards,
    B.Sudharsan

    Hi Sudarsan,
    How are you trying to send an e-mail using ABAP or using actions or ?
    Enclosed link gives you a complete overview of the settings and the way to send an e-mail using ABAP ( if necessary).
    /people/thomas.jung3/blog/2004/09/08/sending-e-mail-from-abap--version-610-and-higher--bcs-interface
    Reward points if it helps.
    Regards,
    Vamsi Krishna P.

  • Sending invoice direclty from SAP server to customers

    Hi,
    after configuring Smtp connection between SAP ECC and Exchange server. i'm able to send documents to people who's mail address are maintained in user master record .
    su01 > maintaining e-mail address for all sap users.
    whith in this list i'm able to send SAP attachements.
    But, only to   @xyz.com  (exchange server belongs to XYZ company and XYZ domain)
    if we maintain other domain address in the user master record.
    i.e.. for one sap user if we maintain e-mail address as @[email protected]
    SAP attachements can't be sent to different domain mail address.
    where it is getting stopped ?
    Exhange server or SAP server stop sending the attchment from SAP application to different domain address ?
    How about adding Default domain address in SCOT ?
    request you to trhough light on this issue.
    thanks in advance,
    by
    raghava rao

    Hi,
    after configuring Smtp connection between SAP ECC and Exchange server. i'm able to send documents to people who's mail address are maintained in user master record .
    su01 > maintaining e-mail address for all sap users.
    whith in this list i'm able to send SAP attachements.
    But, only to   @xyz.com  (exchange server belongs to XYZ company and XYZ domain)
    if we maintain other domain address in the user master record.
    i.e.. for one sap user if we maintain e-mail address as @[email protected]
    SAP attachements can't be sent to different domain mail address.
    where it is getting stopped ?
    Exhange server or SAP server stop sending the attchment from SAP application to different domain address ?
    How about adding Default domain address in SCOT ?
    request you to trhough light on this issue.
    thanks in advance,
    by
    raghava rao

  • To send outbound mails from SAP

    Hi team,
    Here i need to configure email setting from SAP to any other email ID ( yahoo,gmail etc).For this configuration do i need to confgure any program or to genrate some RFC settings.
    Can some one guide me the process step by step what to be done to send outbound mails from SAP. Immediate help will be really appreciated.
    thanks in advance.

    Check note 455140 - Configuration of e-mail, fax, paging or SMS using SMTP
    Markus

  • EDI IDOC OUTBOUND send Purchase Orders from sap to vendors

    Hi Experts,
           I am new to EDI IDOCS, but i got object on this. So my requirement is purchase orders are send to vendors from sap (OUTBOUND) through EDI-850 format. and also i have to add some more fields to standard idoc type ORDERS05, one more condition is if vendor type is not EDI, then the POs should send through fax, email, how can we solve this condition.
    So plaese send some sample code on this object.
    Thanks in advance,
    S Reddy

    Hi ,
    You can send the purchase order to the vendors using different outytpes configurations in NACE transaction .
    If you define a particular output type where you need to give medium 6 and define partner functions within this you can also set condition which partner needs to recieve EDI output and which one FAX or email all this will be done by Functional expert.
    For adding extra segments to your basic type ORDERS05  you need to extend the idoc you can do it via WE30 and WE31 .Link you message type to basic type and extension . Please follow below tcodes for further help . Create all the requested steps in the tcodes mentioned below.
    we20:patner profile
    we21:port
    we30:idoc creation
    we30:segment creation
    we81:message type
    we82:link message with idoc type.
    we02:to status of idocs.
    Now you need to write code for filling those extra segments you have added to you extension type. For that you need to check where your new segment is placed in Idoc structure . There will be a exit avaliable to attach your code to fill those segments .
    Please go through previous SDN links to see more info.
    One the settings are done in the NACE , issue output from PO transction and once your output is processed check your Idoc in WE02 to see if the segments are coming with the desired data.
    Regards
    Vikas

  • Sending PM notifications from MES to SAP R/3 PM

    Hi
    can any body throw some lights on how to send PM notifications created by production team in MES system to SAP R/3?after that order will be created in SAP reference to MES notification received in SAP.
    Thanks
    Seenu

    Hi,
    The key to your problem is to understand how to exchange data with the MES. Does it support ISA95/B2MML? Is there a SQL interface? Can you exchange data via Flat File or XML?  How about OPC?
    If the MES supports OPC then you should take a look at this web site: http://www.opc-to-sap.com
    If the MES supports B2MML, XML, SQL or Flat File then you should take a look at this web site: http://www.mes-to-sap.com
    Hope this helps.

  • Mail notification from SAP to Outlook

    Hi Experts,
    I have developed a program in SE38 to send a mail notification to outlook mail from SAP.Can I use this program in standard Tcode IW21to generate a mail notification at the time of saving data?In IW21 only notification is sent to SAP inbox.
    Can anyone provide me the steps to insert this code in IW21 Tcode?
    Regards,
    Sam

    Dear a®s,
    Thanx for ur valuable suggestion.I added my code in QQMA0014 enhancement and while saving,a notification mail is sant to outlook but I am getting the following Error message.
    Object does not exist (status management)
    Message no. IM258
    Diagnosis
    This refers to an error in central status management.
    Task status
    The central status management connection at task level will only be supported from Release 3.0.
    For this reason, no task status is available for statuses created before changing to Release 3.0, and status change is therefore also not possible.
    Procedure
    In the case of task statuses of notifications in releases prior to 3.0:
    When you save a notification you can create a status for the tasks.
    In the case of notification or task statuses for notifications from Release 3.0:
    Please refer to your system administrator.
    Kindly help me to resolve it.
    Regards,
    Sam

Maybe you are looking for

  • How to stock in transit

    hello experts, my dout is why BUDAT (posting date) field is made mandatory for selection in stock in transit function module. kindly give me any suggestions as i am waiting for this answer since long time. Thanks in advance for the clarifications, Ku

  • Upgrading my macbook after order has been submitted!!

    hello all, How do i upgrade my order?? for example if i buy the macbook pro with 2.3GHz and it is now in the process stage and i want to replace it with the macbook pro with 2.6GHz!! how/can i do this?? regards,

  • How to uninstall Adobe DNG Converter

    Please forgive me if this has already been asked; I tried searching the forums but couldn't find an answer. I am on Windows XP SP3 and have installed DNG Converter 5.6.0.148. The installer ran ok but I don't see an uninstall link the Add/Remove Progr

  • IDOCs: possible to reprocess in "parallell" mode from status 51?

    We loaded approx 5000 idocs via LSMW, and forgot to check the "Parallell processing" checkbox under the parallell proc-tab when initiating the "Start idoc processing"-step. The idocs are in CRM, using IPC in the processing, and without the parallell

  • Nokia 100 - Message Sending Failed

    Newbie mobile user, with Nokia 100 on Orange PAYG in the UK. Trying to send my first text message, the display shows "Message Sending Failed". Not sure if it's just me still finding my way round and not getting something quite right, or if there's so