Massdeletion of messages in ME9F

Hi all
We have a lot of messages in ME9F. We want to delete those messages but unfortunately we haven't found a way how we perform a mass deletion in ME9F. The only way is to click on each message then go to "message details", click on the message and delete it here. It is no fun to do that for thousands of messages.
Does anyone have an idea how we can delete or archive all messages in ME9F?
Thanks in advance and regards
Marco

SAP has a report for deletion: RSCLNAST
However, please read the data management guiide, usually NAST records get archived together with documents that get archived thru data-archiving. e.g. PO messages with archiving object MM_EKKO
SAP has issued a clear warning in the data managment guide that records from NAST shall not be deleted as your data are not consistent anymore, and strongly recommends to use data archving.

Similar Messages

  • Problem with message output ME9F

    Hi All,
    I am using T-code ME9F - Message Output: Purchase Orders in PRE module to get Purchase Orders in pdf format.
    In the pdf file, the text formatting gets lost, there are breaks in the text, even in the middle of the words.
    e.g.:
    in SAP:
    are applicable
    in the pdf file:
    are ap
    plicable
    Does anyone know, why this happens, and if there is a way to solve it? (Now I have to convert each and every document to word, copy the text again, format it, and convert the document back to pdf)
    Many thanks in advance!
    Virág

    Virag buddy, we on AS Java dont have T-codes I guess your question is in wrong section, must be MM?
    cheers

  • ME9F - Prints only one message

    Hi all,
    I'm having a problem when printing more than one purchase order message in ME9F.
    When I select all messages to be printed, only one is going to printer, and the other ones stay in spool list with status "-" (not yet sent to the host system).
    Any idea why this is happenning?
    Thanks in advance.
    Best regards,
    Sónia Gonçalves

    Hi,
    After some conversations with SAP support and basis team, I still don't have an answer for this.
    I discover if I use standard SAP settings in the processing routines configuration (Program "SAPFM06P", form routine "ENTRY_NEU" and form "MEDRUCK") this will work. The problem seems to be that I'm using a customized smartform, so in my processing routines configuration I have:
    - Program: /SMB40/FM06P
    - Form routine: ENTRY_NEU
    - PDF/Smartform: ZZZZZZ
    - Type: Smartform.
    I already debug the program and the field "DIMME" in NAST table is set in every message, so I really don't have any idea why this is happening.
    Any help is precious!
    Thanks in advance.
    Best regards,
    Sónia Gonçalves

  • Error while printing PO using ME9F :Message no. 141

    When I change some fields like Payment terms, address etc. which do not change the value of the PO and then create an output message using ME9F, it is showing the error- "Message no.141- No schedules exist for the scheduling agreement XXXXXX(PO no.)".
    Please help.
    Kavita

    No, It is a PO Print only. Only for changes to PO that do not affect the value of the PO,this error occurs. When i select the entry for the PO and click on Output message, the output message fails. On clicking Display Message, it shows the message - No schedules exist for the Scheduling Agreement XXXXXX(the PO number".
    So,it is not for Scheduling Agreements but for PO only. I know it is weird to see such an error on the PO output message in ME9F.
    Pls help.

  • Output Message Type MAHN not getting picked up in PO

    Hello Experts
       I have configured customized output type ZMAH (similar to MAHN) for reminder process. When I am creating PO this output type is not getting picked up automatically. If I am maintaining it manually I am able to send message for ME9F (Purchase Order) and ME91F (Reminder) successfully. Upon deremination analysis I am getting this message 502 " Output ignored (requirement 103 not fulfilled) ". Reminder are getting picked up from Purchase Value Key to PO.
    Any help is appreciated.
    Thanks
    Ankit

    Hello Tej
      I have maintained output device but same result.
    Here I am listing all parameters that I have used for configuration can anyone please take a look and let me know if I am missing anything
    Steps for new Message Type for PO Reminder (ZMAH)
    1.     Defined new Table 026 Purchasing Output Determination: Document Type
                                                        (ii) 027 Purchasing Output Determination: Purch. Org./Vendor for EDI
    2.     Defined new access sequence Z515 Access Sequence for Archiving.
    Following are parameters to the Access Sequence
    Access Sequence Number = 1
    Table = 026
    Description = Purchasing Output Determination: Document Type
    Requirement = 103
    Exclusive = Yes (box checked)
    Access Sequence Number = 2
    Table = 027
    Description = Purchasing Output Determination: Purch. Org./Vendor for EDI
    Requirement = 103
    Exclusive = Yes (box checked)
    3.     Maintain Output Type ZMAH for PO
    General Data
    Access Sequence = Z515
    Access to condition (Checked)
    Multiple Issuing (Checked)
    Change Output
    Program = SAPFM06P
    FORM Routine = ENTRY_NEU
    Replacement of Text Symbol
    Program = SAPMM06E
    FORM Routine = TEXT_SYMBOL_REPLACE
    Default Values
    Dispatch Time = Send Immediately (when saving application)
    Transmission Medium = External Send
    Communication Strategy = 0001 (E-mail Document)
    Processing Routines
    Transmission Medium = 5 (External Send)
    Program = SAPFM06P
    Form Routine = ENTRY_NEU
    Form = MEDRUCK
    Partner Roles
    Medium = External Send
    Funct = VN
    Name = Vendor
    4.     Fine-Tuned Control: Purchase Order
    Oprat. = 3
    CType = ZMAH
    Name = Output for Reminder
    Short Text = Urging letter (expediter)/reminder
    Update Print Related Data = Yes (checked)
    5.     Maintain Message Determination Schema: Purchase Order
    Procedure RMBEF1 (Purchase Order)
    Step = 101
    Cntr = 3
    CTyp = ZMAH
    Description = Output for Reminder
    Requirement = 103
    6.     Assign Schema to Purchase Order
    Procedure RMBEF1
    7.     Define Partner Roles for Purchase Order
    Out. = ZMAH
    Med = 5 (External Send)
    Funct = VN
    Name = Output for Reminder
    Name = Vendor
    8.     Test Condition Maintained in MN04 (Master Data)
    Purch. Org. = 0001
    Vendor = 101281
    Partner Funct = VN
    Medium = 5 (External Send)
    Date/Time = 4 Send immediately (when saving application)
    Output Device = LP01
    Cover Page Text = Reminder PO number &EKKO-EBELN&
    Also I have configured Purchasing Value Key, reminders are coming to PO correctly.
    Thanks
    Ankit

  • Printing Purchase Order from ME9F using custom program and smartform

    I was able to use my custom program which calls a smartform to print purchase orders from transaction ME9F. I did this using transaction NACE.
    However, when I call "Output Message" from ME9F, the output always fails (shown by an 'X' icon after the checkbox). When I try to put back the standard program in NACE, it does not show an 'X' but a check which indicates that the printing was successful.
    Do you know why this happens? What did I miss?
    Here's my call to my smartform from my custom driver program:
        " Change Smartform ZP_MMSF_P01_PURCHASE_ORDER
        " to internal Function module name
        CALL FUNCTION 'SSF_FUNCTION_MODULE_NAME'
            EXPORTING
                FORMNAME   = 'ZP_MMSF_P01_PURCHASE_ORDER'
            IMPORTING
                FM_NAME    = fmname
        wa_cparam-no_dialog = 'X'.
        wa_output-tddest = 'LOCL'. "or 'LP01'.  "Spool: Output device
        CALL FUNCTION fmname
            EXPORTING
                control_parameters         = wa_cparam
                output_options             = wa_output
                i_data                     = i_data
                wa_lookup                  = wa_data_lookup
                goods_amt                  = goods_amt
                discount_amt               = discount_amt
                vat                        = vat
                total_amt                  = total_amt
                total_amt_inwords          = total_amt_inwords

    Vijaya,
    I have this problem though,
    Whenever I try to provide values for CONTROL_PARAMETERS and OUTPUT_OPTIONS to the sapscript call in your code, the PO printing (even the preview) does not proceed. I do this because I wanted to suppress the printer dialog.
    here is a fragment of the code:
    " code I added
    LS_COMPOSER_PARAM-tddest = 'LOCL'. "or 'LP01'.  "Spool: Output device
    LS_COMPOSER_PARAM-bcs_langu = sy-langu.
    LS_CONTROL_PARAM-preview = 'X'.
    LS_CONTROL_PARAM-no_open = 'X'.
    LS_CONTROL_PARAM-no_close = 'X'.
    LS_CONTROL_PARAM-device = 'PRINTER'.
    LS_CONTROL_PARAM-no_dialog = 'X'.
    DO NAST_ANZAL TIMES.
    *--In case of repetition only one time archiving
    * if sy-index > 1 and nast-tdarmod = 3.
    * nast_tdarmod = nast-tdarmod.
    * nast-tdarmod = 1.
    * ls_composer_param-tdarmod = 1.
    * endif.
    IF SY-INDEX NE 1 AND REPEAT IS INITIAL.
    REPEAT = 'X'.
    ENDIF.
    CALL FUNCTION LF_FM_NAME
    EXPORTING
    ARCHIVE_INDEX = TOA_DARA
    ARCHIVE_PARAMETERS = ARC_PARAMS
    CONTROL_PARAMETERS = LS_CONTROL_PARAM
    MAIL_RECIPIENT = LS_RECIPIENT
    MAIL_SENDER = LS_SENDER
    OUTPUT_OPTIONS = LS_COMPOSER_PARAM
    USER_SETTINGS = SPACE
    IS_NAST = NAST
    IS_REPEAT = REPEAT
    I tried to trace it to the function module generated by smartform. The error propagates this way: From the function module, there is a call to function SSFCOMP_PROCESS_DOCUMENT. Then inside that function, there is a perform operation to tr_ssfcomp_process_doc
    perform tr_ssfcomp_process_doc using startpage docstruc
                                           header.
    Inside that form, it calls the macro tr_active which checks the value of ssfcstat-trlevel (tracelevel) against c_trlevel_document. In the macro, if ssfcstat-trlevel is less than c_trlevel_document, the smartform will fail. c_trlevel_document is 15 and ssfcstat-trlevel is 0, and so the smartform fails.
    (you can see the macro tr_active in include LSTXBCMAC and the form tr_ssfcomp_process_doc is in the include LSTXBCFTR)
    When I do not put values in CONTROL_PARAMETERS and OUTPUT_OPTIONS, everything is ok.
    Do you know why this happens?
    Thanks in advance!
    Edit: I have found out about transaction SFTRACE, but this is disabled.
    Kyle

  • PO Confirmations Message

    Hi,
    We are trying to implement an extended classic scenario of EBP and we are using XI to send POs and receive conformation back in XML format. We have implemented as per the ServiceProcurementNEW.pdf document for configuring the XI and SRM settings.
    Currently we don't have a actual vendor to test the Confirmations interface. But we have a PO transmission XML output from SRM. Hence, it would be greatly appreciated if anyone could point out how PO Transmission XMLs can be changed to make it suitable for PO Confirmations. It would be even better if a sample file can be provided.
    Thanks and Regards,
    Arun

    A message is triggered with any change, but have you ever tried to print the message with ME9F?

  • Error while printing generated XML doc using DBMS_OUTPUT

    while generating XML document using XDK for PL/SQL i am getting " ORU-10027: buffer overflow, limit of 1000000 bytes " error even though i had set DBMS_OUTPUT to 1000000.
    Is there any way to getrid of this problem .
    i am using this code ..
    CREATE OR REPLACE procedure SQLToXML1 is
    queryCtx DBMS_XMLquery.ctxType;
    result CLOB;
    begin
    DBMS_OUTPUT.ENABLE (1000000);
    queryCtx := DBMS_XMLQuery.newContext ('select * from depolib_library' )
    result := DBMS_XMLQuery.getXML(queryCtx);
    printClobOut(result);
    DBMS_XMLQuery.closeContext(queryCtx);
    exception
    when others then
    dbms_output.put_line(sqlerrm);
    end;
    urgent help is needed
    Thanks
    null

    No, It is a PO Print only. Only for changes to PO that do not affect the value of the PO,this error occurs. When i select the entry for the PO and click on Output message, the output message fails. On clicking Display Message, it shows the message - No schedules exist for the Scheduling Agreement XXXXXX(the PO number".
    So,it is not for Scheduling Agreements but for PO only. I know it is weird to see such an error on the PO output message in ME9F.
    Pls help.

  • Deleted line  item not display in Print preview

    Dear All ,
                                    Pl guide that when i delete the line item from a P.O then this deleted item is not visible in Print Preview .pl help what are the exact setting due to which i can know why this del item is not coming in Print Preview.
    Rgds ,
    Rajeev
    Edited by: sap11 on Feb 11, 2009 10:37 AM

    HI,
    Using the standard programm and print form the system works as follows:
    When you will create a new Purchase order with two line item. System
    will create new message record with  Change message flag (NAST-AENDE) as
    space and processing status (NAST-VSTAT) as  0 "not processed".
    After this if you will output the message using ME9F then system will
    update the message processing status NAST-VSTAT as 1 "Successfully
    processed".
    When you will delete line item 10, at that time system will create
    one more message record with indicator Change message flag
    (NAST-AENDE = X ) and processing status 0 "not processed".
    Now system contains two message records in table NAST, one for which
    processing has been done and one change message record for which
    processing has not been done.
    If you will run ME9F with processing status 0 then this means you
    wants to output the change message record means you wants to inform
    your vendor that item 10 has been deleted. That's why system show
    line item 10 but you can notice in print preview, system mentions that
    item 10 has been cancelled.
    If you will run the message with processing status as 1 then this is
    not change message output means system will show you latest print
    of purchasing document and thus will not show line item 10.
    Please take the print out of both message record and you can see the
    difference.
    I hope this information helps!
    Best Regards,
    Arminda Jack

  • PO Output Type / Processing Routine Problem

    Hello everyone,
    I cannot seem to find any reference to the problem described below.
    I have encountered a problem by migrating from SAPFM06P to SAPLMEDRUCK during an ECC 5.0 upgrade, at a client where I am under contract as an ABAP Developer.
    Here is some background to the situation.  The client is currently migrating from version 4.6C to 5.0 and thought it was a good idea to upgrade their purchase order messaging  programs from the outdated SAPFM06P, which was utilized in version 3.x, to the newer program SAPLMEDRUCK implemented for use in version 4.6.
    Specifically, Message Output (ME9F) controls the output of purchase order messages in foreground, when the purchase order message is saved and the "further Data option" of the PO message contains "requested processing" equal to the value of "send with application own transaction".  This way, the actual messaging can be controlled in foreground and "breakpoints" can be set to display tables and fields.  Behind the scenes, the message status program RSNAST00 is executed by ME9F program RM06ENDR_ALV.  During this execution, it locates the message (NAST) record from the purchase order and the (TNAPR) configuration, which links the output type to the ABAP print program and SAPscript layout set.  The specific problem is: in RSNAST00, the external call perform "PERFORM (TNAPR-RONAM) in PROGRAM (TNAPR-PGNAM) USING RETURNCODE US_SCREEN IF FOUND" does not pass NAST information to the called program (TNAPR-PGNAM).  I know no NAST table information is passed because I set a break-point on the perform and single step to the print program.  Therefore, the purchase order is unknown by the print program (TNAPR-PGNAM) and results in an error and no purchase order print is provided.  Needless to say, this was tested with a new "Z" version of SAPLMEDRUCK.  So, I changed the program name (output type processing routine) in configuration to SAPLMEDRUCK, but there again the NAST information is not passed to the print program from RSNAST00.  Ironically, I reverted back to the older "z" version of SAPFM06P and NAST and TNAPR information is passed to the print program thru the external call perform quoted above.  I prefer to not modify the SAP original code for RSNAST00, which is used in many other applications.
    One other note, I had previously performed this maneuver on one different occasion with very successful results.
    Has anyone ever encountered this problem in a 5.0 environment (running Windows NT and MSSQL and SAP BASIS 6.4).
    I know this is long winded, but I wanted to explain the background of the entire situation.
    Any and all help would be appreciated.  Thanks in advance,

    Dave,
    Your entry points (like form ENTRY_NEU) should remain in your current version of SAPFM06P.  Change that form to reflect the function calls in the new SAPLMEDRUCK form (ENTRY_NEU) (calls to ME_READ_PO_FOR_PRINTING and ME_PO_PRINT.
    Look at the example below:
    Here is the form in your old (Z) version of SAPFM06P:
    FORM ENTRY_NEU USING ENT_RETCO ENT_SCREEN.
    XSCREEN = ENT_SCREEN.
    IF NAST-AENDE EQ SPACE.
       XDRUVO = '1'.
    ELSE.
       XDRUVO = '2'.
    ENDIF.
    CLEAR: XFZ, XOFFEN, XLMAHN, XLPET.
    *- Anstoß Verarbeitung -
    CLEAR ENT_RETCO.
    PERFORM LESEN USING NAST.
    MOVE RETCO TO ENT_RETCO.
    ENDFORM.
    Here is form entry_neu in your new (Z) version of SAPFM06P:
      INCLUDE FM06PE02                                                   *
    form entry_neu using ent_retco ent_screen.
      data: l_druvo like t166k-druvo,
            l_nast  like nast,
            l_from_memory,
            l_doc   type meein_purchase_doc_print.
      clear ent_retco.
      if nast-aende eq space.
        l_druvo = '1'.
      else.
        l_druvo = '2'.
      endif.
      call function 'ME_READ_PO_FOR_PRINTING'
           exporting
                ix_nast        = nast
                ix_screen      = ent_screen
           importing
                ex_retco       = ent_retco
                ex_nast        = l_nast
                doc            = l_doc
           changing
                cx_druvo       = l_druvo
                cx_from_memory = l_from_memory.
      check ent_retco eq 0.
      call function 'ME_PRINT_PO'
           exporting
                ix_nast        = l_nast
                ix_druvo       = l_druvo
                doc            = l_doc
                ix_screen      = ent_screen
                ix_from_memory = l_from_memory
                ix_toa_dara    = toa_dara
                ix_arc_params  = arc_params
                ix_fonam       = tnapr-fonam          "HW 214570
           importing
                ex_retco       = ent_retco.
    endform.
    Remember, the form should be in the Z version of SAPFM06P - not the Z version of SAPLMEDRUCK.  Make sure the configuration (TNAPR) has the SAPFM06P program name and entry point.
    It should work.  Let me know how it goes.
    Rick

  • Configure system to send e-mail

    Hello,
    I am trying to send an email of purchase order message and ME142 error occurs. Someone knows what steps ( transacions ) have I to configure to send e-mails? I know SCOT transaction, but is there another transaction in where I have to do something?
    Thank you.

    I can´t see any error in SCOT because when I try to send and e-mail (for example with a message in ME9F transaction) ME142 "Error in OPEN_FORM .. " error occurs, or error V1104 "Output could not be issued" in VA02 transaction.
    Can you help me?

  • There seems to be an error in the function module OPEN_FORM obstructing the

    Hi,
    There seems to be an error in the function module OPEN_FORM obstructing the process.
    Some vendors are not cabaple of usinf EDI and for some reason also not willing to use TTOOL solutions (example Hewlet Packard). In those cases the supplier still would like to get purchase order electronically via e-mail. Sending POu2019s via external mail (SMTP) is basically standard function in R/3 that has been possible since the version 4.5. It is not pre-configured, so (almost) all the required elements needs to be configured.
    When we send the output message through ME9F t'code i facing the problem in the above FM.
    Please help me how to solve this.
    Vijay

    Got you, the digital display for Cupertino and Frankfurt are wrong too.
    Submit feedback:
    http://www.apple.com/feedback/iphone.html

  • NEU msg's (order n order changes) for the list of PO's which do not hav msg

    Hi Guru's..
    Due to some problem in interface, NEU messages are not triggered..So I need to get the list of PO's for which NEU messages are not got triggered...so by getting the list of PO's I can go manually and re-trigger the message again.
    The NEU message includes Orders and Order change messages..Tro  NAST tabel I can get the list of PO's which has NEU messages, but I need vice versa.
    Thanks for all your help in advance.

    Hi Ayyalas,
    sorry if im not clear....my question is not to re-trigger the message in ME9F
    Say for eg. for one day 22/2/2012 - there might be lot of PO's with different Doc.types around 6K PO's created..
    I need to pick the PO's which do not have NEU messages from that 6K PO's.
    1. I need list of PO's which do not have NEU messages for new PO's created today.
    2. I need list of PO's which has been created past, but under gone changes - NEU change messages.
    Thanks.

  • Regarding DMS & BDS

    Hello Experts,
    We have got some requirement at attach documents to PO in ECC from SRM and mail them with PO through standard message output ( ME9F ).
    As i aware, we have different techniques in SAP to strore documents , namely DMS , BDS etc.   I did few developments eariler on BDS and it is really easy to implement , but my client asked for DMS. So we are making some feasibility study for the both options.
    Hence i would like to know your views in below points.
    1. What is the better option to attach documents to PO.
    2. What are basic differences,  advantages & disadvantage if any between BDS & DMS.
    3. Which one is the best fit in long run while implementing external storage content server.
    Appreciate your response & thoughs on this.
    Regards,
    NV

    Hi Naveen,
    BDS/MIME Repository is typically used to maintain basic excel,jpeg files inside SAP.Both SAP DMS and BDS have specific applications.I would propose you ponder over the following points before arriving at a solution for storage.
    1. Are the documents that you propose to check-in would be edited/modified over time?
    2. Is there a life cycle that you intend to maintain for these documents?
    3. Will the documents/drawings be processed/reviewed from time to time?
    4. Will these documents be operated in a secure environment(with authorizations/digital signature)?
    5. Will the volume of documents generated will expand over time with need for storage and retrieval?
    6. Is there a need for links to be established to other SAP R/3 objects?
    If you agree positively to most of the above queries, then DMS is a solution that you can explore further for implementation(refer SDN for indepth features list http://wiki.sdn.sap.com/wiki/display/PLM/DocumentManagement%28CA-DMS%29)
    Hope these inputs will give you a fair idea to evaluate further.
    Regards,
    Pradeepkumar Haragoldavar

  • Mass deletion of PO Message (ME9F)

    Hi,
    Is it possible to delete PO messages (ME9F) in Mass. Can someone tell me how to do that we have got more open PO messages to be deleted. If we delete what will be consequences of it.
    Thanks,
    Suresh

    We have both EDI to vendor and printout also...sometime output will not be take but spool might have been created..this gets accumulated for a long so now we need to delete the old messages....
    Any ans....
    Thanks,
    Suresh

Maybe you are looking for