Message Sending Control (To purchasing orders)

Hi experts,
I d0n't know if this is the right section of the forum to post this doubt; please tell me if it's not.
I'm Trying to implement a solution to give the user a dialog message telling If a message from a purchase order has been succesly sent.  I cannot give it at the moment so i i'm programming a job that will be executed dialy and gives a report about the messages that have not been succesfully sent that day.
To check this we have parametered the spool for not deleting the orders when they are out, and that this
orders stay in the spool for 8 days.
We have 3 ways of sending depending on the field nast-nacha: By mail, printer or web.
Firs of all we are controlling the status in the nast table.
- Red(2): Sending error. We do not need to continue checking in this case..
- Yellow(0):  the order has not been yet released, so will check it again in the next job execution.
- Green(1): Nast tells us that the message hass been succesfully sent. But we have to check it again depending on the sending method. My doubts are in the this checking.
- Printer: The can be errors like no paper or no ink in the printer and other thing like this. Does anybody know how can i request in abap if the printing has really been succesfully done?
- EMAIL: I don't know how to check if the reciever have succesfully recieved the mail. ¿Maybe taking a look on his mail inbox? but the user maybe has lokked the message and manually erased it....
- WEB: Messages sent by EDI. I have no clue about how to check this....
¡Thank-you for your help!

you are trying the impossible here. you wouldn't need checking if you could assure all the sending-media were up and running.
please also consider: in a couple of years you will have millions of rows in NAST. your job will be killing performance then.
you cannot check printers: you can check in spool whether the host-spooler (in case your printer is a network-printer) has accepted and proccessed the job. this does NOT tell you that there was a printout! for example the printer might still 'eat' a page and you would never know it because the printer (the network, the host-spooler) will not transfer that message back to SAP. still worse with LOCL. via sapgui you can send the print to the windows frontend but whether it was processed successfully, you'll never know. windows does not deliver a message back. and even if you succeeded in adjusting your printing to give a feed-back, you'll slow the performance down immensily. the spool process in SAP would have to wait for your feedback before it would attempt to process another job - imagine how long that might take!
eMail: this will not work either. if you are processing your eMails to a third-party system (like Outlook) using sapconnect you do not have a chance to peek across servers (not to mention architecture) into the users mailbox. and anyway: this might be strictly illegal (depending on your country). the 'peeking' part would only work if you keep the mail in R/3 (might still be illegal) but then you still have (and would always have in both scenarios) to deal with the user - what if he/she delétes her mail? what if he/she used transaction SO12 to forward the mail? what ...
Messages sent by IDOC.you could do this but it might prove extremely complex, especially when serialized idocs are in use.
i think you would be far better off to ensure, all the output media are properly maintained.

Similar Messages

  • To SET -UP message type 5 External Send to the purchase order approver

    Hi All
    Please help me to To SET -UP message type 5 External Send to the purchase order approver
    Susan

    Susan,
    This to me sounds like a release strategy setup using workflow. Could you please set up Release strategies initially and and then the workflow part couldd  be handled by a workflow personnel.
    Else, Setup teh message type with medium 7, and partner function MP, put the user name in the partner field. Go to communication method, choose the recipient type and fiull other required parameters and you should be set.
    Edited by: Pavan Kumar on Apr 6, 2010 12:27 PM

  • MESSAGE TYPE DEFAULT FOR PURCHASE ORDER

    Dear All,
    I want to set default message type ZNEU for all purchase order. I try this with T-CODE MN04 AND MN05 but it is not working.
    SO HOW I MAKE MESSAGE TYPE DEFAULT FOR PURCHASE ORDER
    Regards,
    Pankaj

    Hi,
    Miantain the all the conditions records in t.code : MN04. after that check for the "Define Partner Roles for Purchase Orde" what did you mentioned for new or change as per that,
    Check you had fine tune the output (message) type in following path:
    SPROMMPurchasingMessageOutput controlMessage tyoesDefine message type for Purchase Order--Fine-Tuned Control: Purchase Order
    Select the check box coresponding to your output(message) type ZNEU to have print output for this message type .......
    Now try creating PO & u will have default message type ZNEU......
    Hope this will help you.......
    BR,
    Patil

  • Output message not generated for Purchase order

    We maintain MN04 message condition record for  2 key combination for output type NEU:
    1. Purchasing Output determination : Document type  -> NB, medium 1 print out
    2. Purchasing Output determination : Document type/Pur Org/Vendor -> NB, 1000, vendor 20001, medium 5 External email
    When I create PO for other vendor (not 20001), the system is nicely generating the output of the PO for printout.
    Next we have maintain a condition record in MN04 for a particular vendor 20001, Doc type and Porg with setting 5, 4, EN so that we can send the PO via email to the vendor 20001, the system is not generating a message output of the purchase order when i check it before saving.
    Please help me with this situation. we need setup the email PO functionality.

    I created another message type ZNEU copy from NEU, include it in the message schema, created condition record with MN04/MN05 for both NEU for printout  and ZNEU for medium 5 email. done all steps mentioned in the links.
    When create a PO still only 1 message record NEU is defualted for printout only.
    The message record for email ZNEU is not defaulted in PO?? Anything elase need to be done.

  • How to send a Mail purchase order automaticaly from ME22N

    How to send a Mail purchase order automaticaly from ME22N

    Hi,
    First create an entry via NACE with medium =   5 ( External send ) with all other details same as normal print option. Now ensure that vendor master of the po has got the external e-mail id of the vendor. Now go to ME22n in mesages create a message with medium = 5 ( External Send ). Go to communication method, key in Communication strategy.Go to Further date & against Despatch time pick up option 4 viz. Send immeidately while saving an application. Now once you press the save button it will be sent to the address maintained in the vendor master of the vendor of the PO. Please note you require some basic settings from BASIS side as well.
    I hope this helps,
    You may also refer to the SAP note 191470.
    Regards
    Raju Chitale

  • EMAIL Send Those create Purchase Order Thru Me21n

    Hello Experts,
    I Read All the document and sap-notes 191470 for sending email after cteating po .
    But All these document are suggesting email to vendor ,But My Requrement is to creater of Po .
    Thanks.
    Regards: Hemant_A1
    Edited by: HEMANT_A1 on Aug 23, 2010 11:43 AM

    As I understand solution is:
    1) create in Transaction NACO in application EF message type Z*** (for example ZMAIL)
    like describe in [note 191470|https://websmp130.sap-ag.de/sap(bD1ydSZjPTAwMQ==)/bc/bsp/spn/sapnotes/index2.htm?numm=191470]
    <OUTPUT TYPES>
    Details:
    - General data: Access sequence "0001" DocType/PurchOrg/Vendor
    - Default values: time = send immediately ; transmission = External send or Simple mail
    Mail title and texts: Yours
    Partner function: medium - 5 or 7 (External send or Simple mail) ;function - blank; Name - blank
    <SAVE>
    2) <Procedures>
    in  RMBEF1(PO) use yours "Condition type"; requirement - blank
    3) <condition records>  of this type select "Po determination: Document type"
    - Use necessary PO type
    - "Message transmission metod  " 5 or 7
    - Date 4 (Send immediately (when saving the application))
    - lang - EN
    4) Don't forget in IMG ==> Material management ->  Purchasing -> Messages -> Output control -> Define Message Types for Po
    use "Fine-Tuned Control: Purchase Order"
    <new entries>
    operation 1(new) and your message name Z*** (for example ZMAIL)

  • Issue with ORERS05 IDOC sending immediately after Purchase Order creation.

    Hello,
    When output mode of an outbound partner profile was setup as Transfer
    immediately then when ever EDI output is generated in Purchase Order then
    system creates IDOC and sends immediately out of system. But middle
    ware has received only control record and whole data records were missing in IDOC file received by middle ware and we were receiving status 29 back from middle ware.
    Right now we changed outbound partner profile, output mode was set to
    Collect IDOC's and we are running RSNAST00 program in background to send those IDOC's but we
    were looking into go for first option to send idoc out of system as soon EDI output is generated in Purchase Order.
    Is there any way of fixing this issue.
    Thanks in advance.
    Regards
    Prasad

    Yes, I'm facing with PO IDOC only and as I said it is not issue with middle ware as they were receiving only IDOC control record.
    If I resend same idoc by setting status back to 30 they were able to receive whole IDOC and more over if we set partner profile to Collect IDOC and schedule back ground job every 5mins then middleware was bale to get whole idoc.
    Looks like it is SAP issue as this the message I got from SAP.
    The problem only exists if the messages are supposed to be output by
    means of transmission time-spot
    4, that is 'immediately' (during the saving of the application).
    With the output of the change message, the change documents are read for the purchasing document (all as of the last successful transmission).
    With the transmission time-spot 4, it can occur that the change
    documents do not physically exist on the database yet. No change message can be generated in this case and the system generates message ME140 or ME760 in the message log.

  • Problem in Automatic pickup of message in output of Purchase Order

    Dear friends,
    i am facing a problem in PO at output messages, after creating the PO i am unable to go for print automatically. ie: i nead to give the output type NEU in the messages manually.
    i was gone through all the possibulities and settings i have to give. can any one please tell me all the possibulities that causes this problem.
    i am getting the below message regarding this
    No message generated for output of purchasing document
    Message no. 06261
    Diagnosis
    The system was not able to find a message record via the message determination schema. Therefore it was not possible for such a record to be generated for this purchasing document. In consequence, the purchasing document cannot be outputted (printed or transmitted).
    Procedure
    The message determination process should be checked and, if necessary, corrected.
    The message record can be created manually for this document. For this purpose, choose the function "Messages" in the menu "Header" and maintain the necessary data.

    hi
    You need to do some configuration for this.
    u2022 Goto NACE .
    u2022 Select EF and click on OUTPUT TYPES.
    u2022 Then select Output Type NEU and click on processing routines .
    u2022 In that you have to add a new entry - medium 5 .
    u2022 Then you need to assign a program, form routine and form.
    u2022 You can use the standard program i.e. SAPFM06P, FORM routine is always ENTRY_NEU and standard MEDRUCK.
    u2022 Then in PARTNER FUNCTION you need to add a new entry : medium - 5 and function - VN .
    u2022 For subject of the mail goto Mail Title and Texts. In title give PO No. &EKKO-EBELN& .
    u2022 Under General data -> Replacement of text symbols give programm as SAPMM06E and Form Routine as TEXT_SYMBOL_REPLACE .
    u2022 Now the subject will be PO No. 1800004202.
    u2022 You need to maintain your email id in tcode SU01 and also the vendor's email id.
    u2022 Now while creating a new purchase order , change the medium to External Send .
    u2022 Then goto Communication Method and select CS01 . ALSO make sure that the Cover Page Text has value PO No. &EKKO-EBELN& .
    u2022 Goto tcode ME9F .
    u2022 Execute.
    u2022 Select the checkbox and click on Output Message.
    u2022 You will get a message MAII 00000000000001 generated .
    u2022 Use note no 191470
    VB

  • Change message status after release purchase order

    Hi,
    I'm a newbie in MM...
    When a purchase order is created, the message status is not processed (yellow light) until the purchase order is released. Then the message is printed and the status changes to green light.
    As far as I see, I can't find in the spro where is this customizing set or if there is a user-exit or badi for changing the message status depending on the release indicator.
    Thanks in advance!
    Jen

    Hi Jen,
    Complete the condition record, for example, like this:
    - Transaction: MN04
    - Output Type: NEU
    - Choose third option: Purchasing Output Determination Document Type
    - Document Type: NB
    - Function: VN (Vendor)
    - Medium: 1 (Print output)
    - Date/Time: 4 (Send immediately (when saving the application))
    Select the line and press button "Communication". Complete the output device and mark the option "Print immediately"
    So, when the PO is created the system generates the message with yellow status. Then, when the PO is released, the message status will be green
    Regards,
    Fernando

  • Message ouput releasing a purchase order

    Hi all,
    Our issue is that message outputs are not processed when a purchase order is released.  At the moment of creation, outputs are determined with yellow status since dispatch item is set to 3 (Send with application own transaction), but when I release the order, the status is still in yellow.
    Do I have any missing configuration?
    Thanks in advance.
    Alberto

    hi
    dear as u have given Send with application own transaction  u have to go manually through transaction code ME9F
    here u have to issue the print manually
    for immidiate output u have to choose PRINT IMMIDIATELY (WHEN SAVE)
    regards
    kunal
    Edited by: Kunal Ingale on Mar 19, 2010 9:21 AM

  • Goods receipt message empty - MIGO with purchase order

    Hi,
    In MIGO, I do a goods receipt with reference to purchase order. On the purchase ordre the flag "Goods Receipt Message" is flagged.
    In my business workspace I receive the email, the message title is ok but message is empty, the text is not displayed. The issue is in my ECC6 system, it works fine in 4.6C system.
    Where can I customize the content of the mail.
    Can I see it in SO10, is this a standard text ?
    Thank you.

    closed

  • GR Message Check Box in Purchase Order

    Hi MM Experst,
    While making Purchase Order in Header data Delivery/Invoice Tab GR Message is Checked by User1.
    Same Goods Receipt is done through MIGO by User2.
    But once the Goods Receipt is done there is no message is triggering to the User1.
    Please give your suggestion to clear this problem.
    Regards,
    Prabhakaran M

    HI.
    Sathya
    We are required this same scenario
    Can u please know how to do GR message setup..
    How u did it.
    Regards
    Sk

  • How to delete message information while save purchase order

    Hi All,
    I' am trying to create a purchase order thru me21n. when i enter outline aggrement, contract and PO quantity fields with some values the message information which gets populated in MESSAGES should get deleted when I save the PO.
    can anyone suggest me any user exit or badi to delete message information before saving PO.
    Thanks,
    BJR.

    Hi Bjr,
    Check with this ME_PROCESS_PO_CUST and modify .
    Regards,
    Madhu.

  • Message output for New Purchase Order Document type

    Hi experts,
    I am having trouble getting a Print message output for a New Purchasing Document type that I created.
    Steps that I followed are:
    1.Created a new Document type NS via customizing.
    2.Assigned the new Purchasing Document Type NS to Output Type NEU which is linked to our customized form for Purchase order display. I used MN04 /NACE to do this step.
    Now the message output gets created for my new document type NS but I am unable to display the message.
    Notes:
    -There are no release stratergies in place for document type NS
    -The NEU format works fine the other document type NB which we use for Standard POs.
    Are there any steps I have missed? Please help to resolve the issue.
    Arosh.

    Goto NACE select application  EF Purchase Order then goto condition record NEU select condition record select the last key combination "Purchasing Output Determination: Document Type"
    here enter your doc. type execute
    maintain the condition record
    NS  VN(function)   1 3 EN and click on communication and maintain
    Or goto NACR here put EF and NEU and select the last combination "Purchasing Output Determination: Document Type"
    maintain ..
    NS  VN(function)   1 3 EN and click on communication and maintain
    Hope it helps..

  • Error Message when adding a Purchase Order

    Hi,
    When i enter a new Purchase Order and click on Add, it gives the message as "No Matching records found ‘G/L Accounts’ (OACT) (ODBC – 2028) [Message – 131-183]”

    Hi Manzoor,
    This is because in the purchase order there is one or more items that have no set G/L account. I suggest you allow to visualize the "G/L account" Column in the Form Settings/TableFormat in the purchase order, and then go to the G/L account and set a VALID G/L account.
    It is not very logical to put that information in an order, but however you must do that way.
    Hope it helps.

Maybe you are looking for

  • Can't get past a "locked file" error, ie can't Publish?

    This software is very very very difficult to configure -- but I'd suppose you've heard that before re: Contribute C3. This is trying to get a new client (we're a web hosting co, who just got them from their previous web hosting firm who sold them on

  • InDesign CS4 packages multiple copies of links from book

    I use the Book feature to package the 20-some-odd newspaper ads we create weekly at our in-house art dept for a grocery chain. These ads consist of placed JPEGs of products surrounded by supporting copy and prices. Each ad is a different size and som

  • Services in CRM 4.0 and CRM 5.0

    hi what are the adv and dis-advantages of implementing CRM 4.0 / CRM 5.0 what are the services available in CRM 4.0 and what are the services offered in CRM 5.0 I checked the release notes but doesn't pin point the actual comparison.  the release not

  • Tax condition table

    KONV table contains PO condition types like freight, discount etc. Likewie, which table contains Tax condition types like excise, VAT, CST etc (JMOP, JIPS, JIPC etc)? regards VS

  • Odd import/place behavior in InDesign CS4 (MAC)

    Both myself and a coworker are having an intermittent issue when placing graphics in ID CS4. In a nutshell, using the Place command and placing a PSD file, ID is shrinking the image to a very small size - sometimes almost a dot. If the same image is