MRP - want to create query for Exception message number (MD04)

Dear all MM kings
consider  i had one purchase against xxxx material , if i go to MD04  In Exception message number  column i got massage number 20 Cancel process, now i want to know how many purchase order exist  in system having the Exception message number  20
i want to define query for Exception message number 20
is there any way to do the same

Hi,
There are links on the first thread on this MM board that describe how to produce a query.
But if you have not done this before and have no ABAP experience, you might find it a bit tricky.
You need someone to find the tabkle that stores the MRP lists and see if this contains the exception message, first.
the structure I gave you is probably built dynamically by the program and so may not be available for a query.
One simpler option is to use the "Collective access" tab in MD04. here you can enter an MRP controller etc. and get a list of materials. You can then find out which of the 8 numbered columns contains the exception message 20 and then sort the list in this sequence (the exception messages are linked to one of the columns and this can be different in every implementation and so I can't tell you which one it is)
This will not just get the "20" messages unless they have been configured to use a separate column, but at least it is avail;able now without config and may be enough for your purposes.
Steve B

Similar Messages

  • GR processing time not taken into account for exception message in MD04

    Hello Gurus!
    In MD04 when we toggle between displaying at GR date and AV date sometimes there is a shortage in AV date view but none in GR date view due to GR processing time.
    How can we include the GR processing time to be taken into account so that an exception message is shown for the shortage during AV view?
    Thanks in advance!
       -Alvin

    Hi There
    What you meant by shortage,,,
    AV- Available date,
    GR- Availble date+GR processing time
    if you have not set up the GR processing time in Master, it may come as ZERO days,, so AV and GR date may be same,,
    if this is not your quesry, please provide more details on your query,,,
    Thanks
    Senthil

  • Two or more productid will be accquired by same customerid, by same shipvia, on the same day of the week of shipped date. i want the simple query for this.

    consider this situation,
     Two or more productid will be accquired by same customerid, by same shipvia, on the same  day of the week of shipped date. i want the simple query for this.
    my tables are  from northwind:
    [orders] = OrderID, CustomerID, EmployeeID, OrderDate, RequiredDate, ShippedDate, ShipVia, Freight, ShipName, ShipAddress, ShipCity, ShipRegion, ShipPostalCode, ShipCountry.
    [orders details] = OrderID, ProductID, UnitPrice, Quantity, Discount.
    i tried some but it is not exact, it gives wrong result.
    select pd.CustomerID,pd.ProductID, pd.no_of_time_purchased, sd.ShipVia, sd.same_ship_count, shipped_day from
    select ProductID,o.CustomerID,COUNT(productid) as no_of_time_purchased
    from orders o join [Order Details] od on o.OrderID=od.OrderID group by ProductID,o.CustomerID
    having count(od.ProductID) >1) pd
    join
    (select OrderID,customerid, shipvia, count(shipvia)as same_ship_count, DATENAME(DW,ShippedDate)as shipped_day from orders
    group by customerid, ShipVia, ShippedDate having COUNT(ShipVia) > 1 ) sd
    on sd.CustomerID=pd.CustomerID

    Hi,
    I think I have a solution that will at least give you a clue how to go about it. I have simplified the tables you mentioned and created them as temporary tables on my side, with some fake data to test with. I have incldued the generation of these temporary
    tables for your review.
    In my example I have included:
    1. A customer which has purchased the same product on the same day, using the same ship 3 times,
    2. Another example the same as the first but the third purchase was on a different day
    3. Another example the same as the first but the third purchase was a different product
    4. Another example the same as the first but the third purchase was using a different "ShipVia".
    You should be able to see that by grouping on all of the columns that you wich to return, you should not need to perform any subselects.
    Please let me know if I have missed any requirements.
    Hope this helps:
    CREATE TABLE #ORDERS
     OrderID INT,
     CustomerID INT,
     OrderDate DATETIME,
     ShipVia VARCHAR(5)
    CREATE TABLE #ORDERS_DETAILS
     OrderID INT,
     ProductID INT,
    INSERT INTO #ORDERS
    VALUES
    (1, 1, GETDATE(), 'ABC'),
    (2, 1, GETDATE(), 'ABC'),
    (3, 1, GETDATE(), 'ABC'),
    (4, 2, GETDATE() - 4, 'DEF'),
    (5, 2, GETDATE() - 4, 'DEF'),
    (6, 2, GETDATE() - 5, 'DEF'),
    (7, 3, GETDATE() - 10, 'GHI'),
    (8, 3, GETDATE() - 10, 'GHI'),
    (9, 3, GETDATE() - 10, 'GHI'),
    (10, 4, GETDATE() - 10, 'JKL'),
    (11, 4, GETDATE() - 10, 'JKL'),
    (12, 4, GETDATE() - 10, 'MNO')
    INSERT INTO #ORDERS_DETAILS
    VALUES
    (1, 1),
    (2, 1),
    (3, 1),
    (4, 2),
    (5, 2),
    (6, 2),
    (7, 3),
    (8, 3),
    (9, 4),
    (10, 5),
    (11, 5),
    (12, 5)
    SELECT * FROM #ORDERS
    SELECT * FROM #ORDERS_DETAILS
    SELECT
     O.CustomerID,
     OD.ProductID,
     O.ShipVia,
     COUNT(O.ShipVia),
     DATENAME(DW, O.OrderDate) AS [Shipped Day]
    FROM #ORDERS O
    JOIN #ORDERS_DETAILS OD ON O.orderID = OD.OrderID
    GROUP BY OD.ProductID, O.CustomerID, O.ShipVia, DATENAME(DW, O.OrderDate) HAVING COUNT(OD.ProductID) > 1
    DROP TABLE #ORDERS
    DROP TABLE #ORDERS_DETAILS

  • How to create hyperlink for the messages in oneorder documents

    Hi ,
    I want to create hyperlink for the error messages that are raised for a payment request, so that i can navigate to that particular object ID mentioned in the message.

    Hi Paparao,
    But we can find the same functionality for trade promotions overlap, the messages raised when two or more tradepromotions overlap, provide us with hyperlink through which we can navigate to that particular object id.
    Regards
    Tejarshi
    Edited by: tejarshi vadduri on Apr 17, 2009 6:55 AM

  • I designer I want to create forms for web client, does each client have to purchase form central to access the data?

    I designer I want to create forms for web client, does each client have to purchase form central to access the data?

    Hi,
    In this scenario, you can share the document with the clients to and provide co-author privileges.
    Co-authors can edit the form design, options, responses, and summary report (everything that you can do).
    Note:- They do not require a paid subscription to view the responses, free subscription users can become co-authors.
    Please refer to the following thread to know how to share a form with others:-How do I share a form I created with others?
    Regards,
    Nakul

  • MRP Exception Message Number

    I need to write an ABAP report which uses the details on the MD04 Stock Requirements List detail screen for those items which have an Exception Message number (10, 20,30 etc..). The screen shows this data is held in a structure called MDEZ. I have tried performance tracing and ABAP debugging but can't find the actual database table where this data is held.(I'm a newbie).
    Can anyone help with the relevant table name or appropriate function module?

    Check form AUFBEREITUNG_ANZEIGE in main program SAPMM61R, include  MM61RF40 in particular - forms aufbauen_mdpsx & mdezx_aufbauen.
    They use 2 FMs to retrieve data, but these FMs require proper values to be passed in... so check all code in the form AUFBEREITUNG_ANZEIGE.
    As an option - you may try to call this form like
    perform AUFBEREITUNG_ANZEIGE(SAPMM61R). and then use field symbol, to access MDEZX.
    assign ('(SAPMM61R)MDEZX[]')       to <fs_mdezx>.
    I hope this helps.

  • I want to create stock for particular material in r3 system to check different availabilty checks it triggers

    I want to create stock for particular material in r3 system to check different availabilty checks it triggers like one time delivery ,and delivery proposal (partial delivery) please help me to get these .

    you can use MB1C with movement type 501

  • Does anyone know if theres a way to create ringtones for text messaging?

    I can create ringtones for phone calls, but is there a way to create ringtones for text messaging?

    There is no current support for that. If you like to give Apple feedback and request this, go to http://www.apple.com/feedback/

  • HT4970 My reminders app will not want to create reminders for me. What could be the problem, how to fix it? Thanks in advance

    My reminders app will not want to create reminders for me. What could be the problem, how to fix it? Thanks in advance

    Lol idk I updated this iPhone right when I got it because it said there is a new update so I installed it as soon as possible and there is no plus sign over there. I don't know how that happened maybe its something in the setting do you think you know? And when I ask Siri to create me a new reminder and I tell her the time and everything she says are you sure you want to create this reminder I press confirm and then she says I'm sorry but the reminder you are trying to create can not be crated.

  • Exception message number missing in EXIT_SAPLM61R_001

    Hello experts,
    I am using EXIT_SAPLM61R_001 for MD04 but in parameter IMDEZEXIT, the info of the Exception message number (AUSKT) and Exception message key (AUSSL) arer empty, although the line I'm debugging has an exception.
    Does anubody know why??
    Thanks!

    Hi,
    declare a constant and give value which u r maintaining in SE91,message class.zwm..and now instaed of goving the message from message class..try to give with constant./
    message w001 with c_message..
    Try it out if it works
    Regards,
    Nagaraj

  • MD07 - MRP: Why shows me materials without exception messages?

    Hi Everyone!
    I need MD07 to shows me only materials with exception messages. I have 700 materials with MRP and the materials without messages are messing my analysis. Is that possible?
    Thanks in advance!!
    Ignacio

    Venkadesh,
    Thank you very much for your answer. When I go to Plant Parameters there's no Exception Messages setting under any of the 6 sections (Environment, Master Data, Planned Orders Reporting, Planning Run or Performance).
    Could you please put some light on this I feel Alone in the Dark, je. I'm using R3 4.6C
    Thanks in advance.
    Ignacio

  • Distribution model. Create filters for custom message type.

    Hello,
    I have created a model view, and added a new message type (copy of HRMD_A). I want to add filters, but the system does not allow it. Do you know if I can only add filters to a standard message type, and not to a custom one?
    Thank you,
    Elena.

    Thanks for your answer, but I think I didn't explain my question well.
    I have created a message type ZHRMD_A, and a basic type ZHRMD_A07 (both copies of HRMD_A and HRMD_A07)
    I am creating the distribution model, in transaction BD64.
       I created the model view.
       I inserted my messsage type.
    Now I want to add filters to the message type in the distribution model. When I add a standard message type, I can see under the message type the text 'No filter set'. Then I double click this text, and I can add filters. When I add the custom message type, I don't see this text, and I have no option to add filters. That's why I think I cannot add filters to a custom message type.

  • MRP  supplier consignment create delivery for  Scheduling Agreement

    Hello,
    We have a situation where MRP is used to calculate for a material which is subject to supplier consignment and also to scheduling agreement. When we run the MRP generates purchase requisitions for the consignment material , but it does not find the scheduling agreement for the material. We expected that it would create deliveries for the scheduling agreement.
    The question is, is it possible to obtain deliveries from the MRP for the scheduling agreement?
    Thanks a lot
    Ignasi

    Yes, it seems the problem was in Quota Arrangements which was not  well defined for consignment material.
    Thanks.

  • I want to create checklist for rpd that tells about best practices

    Hi all,
    i want to create a checklist for rpd..that tells about what are all the best practices that we have to do..
    we have to write some script based on this script only it has to create the checklist.
    Thanks in advance
    Edited by: 988084 on 13/05/2013 02:34

    Hi,
    Pls refer the following link...
    http://www.peakindicators.com/media_pi/Knowledge/25%20-%20twenty%20golden%20rules%20for%20rpd%20design.pdf
    Thanks,
    Jprakash

  • Creating Query for deatils of theVendor Sub Range

    Dear All
    I am in IS RETAIL( ECC 6.0) project and are using Vendor Sub Range Scenario.A requirement has come to create a Query for the Below Fields for a specific Vendor 'S say iMPORTVENDORS..  May i know from which tables we can extract and if possible thesteps in creating this query.
    Primary Vendor  Description   Ordering vendor     Description     Payment Vendor     Description     PaymentTerms
    With Kindest regards

    Hi,
    Pls check if you could get this information from WYT3 and LFM2 tables.

Maybe you are looking for

  • Text field properties-Using the 'required' option in the text field properties.

    Using the required' option in the text field properties. The 'help' manual describes the 'required' function as this: Required Forces the user to fill in the selected form field. If the user attempts to submit the form while a required field is blank

  • Error 1327. Invalid drive F

    Hi Installing the trial version of DW CS3, the installer quits. When I view the MS error log, it says that the Adobe installer gives the message Product: Adobe Setup -- Error 1327.Invalid Drive: F:\ Any ideas on what is causing this? I am running XP

  • Container element for Count in Parallel Approval Workflow

    Hi Gurus, We are using ECC 6.0 and I have this below requirement. Please share your thoughts on how we can achieve this. We are using a User decision step in parallel workflow to generate and send individual work items to multiple approvers. that is,

  • Export complete "Most Popular Items" report

    I need to take snapshots of the Most Popular Items (views) report for a pages library so we can analyze the data to get weekly/monthly/yearly visit trends/data for each page within the library. Our typical pages library (being used as KB's) contains

  • Errors with EXPDP command

    we have been experiencing problems with our DataPump exports over the last few weeks, and I have been unable to determine the cause of the problem. Any help would be appreciated. The following command is being used: expdp system/xxxxxx@ORACLE_SID ful