Question about ATP check using BAPI_MATERIAL_AVAILABILITY

In the user exit for delivery creation, I'm doing an additional ATP check using the BAPI_MATERIAL_AVAILABILITY based on this topic's recommendation:  FM to check available stock
However, my code checks both of these in determining that ATP quantity is available:
1) DIALOGFLAG not equal 'X'
2) Value of COM-QTY for the requested date (in return table WMDVEX) is greater or equal to zero.
The second check was something I derived, and appears to work 100% of the time for all our cases. 
The DIALOGFLAG check is an enigma.  I can't recall which post or OSS I saw this in, but it stated that DIALOGFLAG = 'X' indicates no ATP quantity available?  However, we've had a couple of orders in the last week, where the ATP quantity was greater than zero at the time the delivery was posted, but BAPI_MATERIAL_AVAILABILITY returns an 'X'.
So... my question is what does the "X" really mean in terms of ATP?  Does it indicate (a) that the ATP quantity is zero at the end of timeframe (which it was), or (b) something else I don't know about?

Hallo Brad Bohn,
thank you for your suggestion.
Iu2019m using an own rule (as copy of rule A), the own rule donu2019t use purchase orders.
In CO09 I have the following ATP Quanties:
09.09.2009     BStand          1,775     0     259
09.09.2009     LgBest     0001     785     0     459
09.09.2009     LgBest     0002     989     0     452
09.09.2009     LgBest     0003     22     0     20
The function module provides only 259 for each storage location.
There is another function module AVAILABILITY_CHECK. Can this function module also be used to determine ATP quantity?
Thank you & best regards,
Kurt.

Similar Messages

  • CRM ATP Checking using R/3 & Immediate Delivery for Sales Order Type in R/3

    We use CRM 4.0 and R/3 6.4.
    I've configured CRM to do ATP Checking using R/3.  The ATP Checking works fine if I change the Sales Order Type in R/3 to NOT create a delivery immediately. 
    I'm trying to find out if the combination of turning on CRM ATP using R/3 and Create Delivery Immediately for a Sales Order in R/3 are supposed to work properly together.
    If anyone knows and or has this working, I'd like to know.
    Thanks.
    Donna

    Hi ,
    I am working with R/3 and I have the same problem.
    Complete delivery is flowing down from the customer master for all order.
    And then we have items on order which have different shipping point.
    They all fail in background delivery and give the error ' customer requested complete delivery'.
    Is there anyway to override this?
    Any help will be really appreciated.
    regards
    BgS

  • I want to know about ATP check requirement .generally we assigned yes or no while creating sales order

    I want to know about ATP check requirement .generally we assigned yes or no while creating sales order what it means when we give Yes or No. how pegging flows
    Regards
    virender

    Virender,
    Can you be a bit more specific about ".....generally we assigned yes or no while creating sales order....."   Exactly what field(s) did you 'assign'?  Screenshots would be helpful.
    With respect to pegging; in general, ATP has very little to do with pegging.  Pegging is more of a planning concept, and not an 'availability checking' concept.  There are a few exceptions in APO, but they are not commonly implemented.
    Can you elaborate about exactly what you want to know with respect to 'pegging' and ATP?
    Best Regards,
    DB49

  • Question about openning files using SDK 10.

    I have written a Plug-In for SDK 9 that works wonderfully. One of the functions is for the user to be able to page (Next/Previous) between PDF files on our server. This functionality now longer works without crashing Acrobat 10. All I am doing is creating the URL path to the next/previous PDF, creating a CustomFileSys with the path and calling AVDocOpenFromFile.
    Does this no longer work with Acrobat 10 SDK?
    Thanks!

    Should work fine, AFAIK.
    For this level of issue, I would open a formal support request with developer support.
    From: Adobe Forums <[email protected]<mailto:[email protected]>>
    Reply-To: "[email protected]<mailto:[email protected]>" <[email protected]<mailto:[email protected]>>
    Date: Mon, 10 Oct 2011 08:51:08 -0700
    To: Leonard Rosenthol <[email protected]<mailto:[email protected]>>
    Subject: Question about openning files using SDK 10.
    Question about openning files using SDK 10.
    created by Greggars<http://forums.adobe.com/people/Greggars> in Acrobat SDK - View the full discussion<http://forums.adobe.com/message/3963065#3963065

  • Design question about when to use inner classes for models

    This is a general design question about when to use inner classes or separate classes when dealing with table models and such. Typically I'd want to have everything related to a table within one classes, but looking at some tutorials that teach how to add a button to a table I'm finding that you have to implement quite a sophisticated tablemodel which, if nothing else, is somewhat unweildy to put as an inner class.
    The tutorial I'm following in particular is this one:
    http://www.devx.com/getHelpOn/10MinuteSolution/20425
    I was just wondering if somebody can give me their personal opinion as to when they would place that abstracttablemodel into a separate class and when they would just have it as an inner class. I guess re-usability is one consideration, but just wanted to get some good design suggestions.

    It's funny that you mention that because I was comparing how the example I linked to above creates a usable button in the table and how you implemented it in another thread where you used a ButtonColumn object. I was trying to compare both implementations, but being a newbie at this, they seemed entirely different from each other. The way I understand it with the example above is that it creates a TableRenderer which should be able to render any component object, then it sets the defaultRenderer to the default and JButton.Class' renderer to that custom renderer. I don't totally understand your design in the thread
    http://forum.java.sun.com/thread.jspa?forumID=57&threadID=680674
    quite yet, but it's implemented in quite a bit different way. Like I was saying the buttonClass that you created seem to be creating an object of which function I don't quite see. It looks more like a method, but I'm still trying to see how you did it, since it obviously worked.
    Man adding a button to a table is much more difficult than I imagined.
    Message was edited by:
    deadseasquirrels

  • Questions about Indexing and Using an Indexing POA

    Although I have only about 50 users, at least 15 of them have in excess of 100,000 messages in their accounts and the POA (version 7.0.2) is regularly slowing to a crawl. (I just know that plans for revolution are fomenting!) I have embarked on a campaign to reduce these accounts by archiving everything off to get mail accounts down to 3000 or fewer pieces. I have achieved user buy-in, but have worked on only a few users so far.
    In another closely related thread, it was suggested to me that the PO speed issues relate to broken indexes. And I suspect that given so many messages, the indexes were never getting fully rebuilt with the default QF POA settings. I am trying to fix that situation in addition to reducing mail account sizes. So, I have set up a second POA on another server and dedicated it to the indexing task. The /qfinterval is set for 1 hour, other /qf switches at default. The POA-QF does no mail delivery, but it does do nightly user upkeep.
    The POA-QF seems to be steadily working away and making progress at reducing the number of unindexed messages. However, I have questions about what I am seeing and what more I can do:
    1. Is the progress I am seeing real progress? For example I have a user with over 100,000 messages to be indexed and every time I check the logs, the count drops by about 500 messages per hourly QF cycle. I assume that if I just let it keep running, it will eventually get caught up and fixed. Not only with this user, but with all the others as well. Will my patience (and theirs) be rewarded? Are there any gotchas I need to prepare for?
    2. One user has recently had virtually all of her messages successfully moved to archive. I can see them in the Archive, and do not see them in the online account. However, now over a week later, QF still shows >130,000 items still left to index for that user. The POA-QF is making slow, steady progress reducing that number, but why is this user's QF count still so high? Does it just need more time, or is there something amiss for this user?
    3. I may want to rebuild indexes for single users from scratch. I have seen the TID 3105742 which tells how to do this: Essentially you turn off mail delivery functions, and make some other switch changes to dedicate the POA to indexing for just a single user, and then you let the POA rebuild the indexes. The implication of that scenario is that the POA is now enjoying exclusive access to the user's databases.
    If I want to use my secondary POA-QF to rebuild a user's index from scratch, does the main POA have to be offline and the user out of GWise? That is, Does the QF process require exclusive access in order to rebuild indexes from scratch?
    Thanks for any thoughts or suggestions.
    Peter Smick

    pgsmick wrote:
    > 1. Is the progress I am seeing real progress? For example I have a user with
    > over 100,000 messages to be indexed and every time I check the logs, the count
    > drops by about 500 messages per hourly QF cycle. I assume that if I just let
    > it keep running, it will eventually get caught up and fixed. Not only with
    > this user, but with all the others as well. Will my patience (and theirs) be
    > rewarded? Are there any gotchas I need to prepare for?
    Set this switch for this indexing POA - /qflevel=999 - this will index
    everything in one run. It will take a long time, but with no qflevel switch you
    are indeed only indexing 500 messages at a time, and if the user has that much
    mail, it might never really catch up.
    >
    > 2. One user has recently had virtually all of her messages successfully moved
    > to archive. I can see them in the Archive, and do not see them in the online
    > account. However, now over a week later, QF still shows >130,000 items still
    > left to index for that user. The POA-QF is making slow, steady progress
    > reducing that number, but why is this user's QF count still so high? Does it
    > just need more time, or is there something amiss for this user?
    >
    This is odd, because really the index count should drop to nothing, but with the
    above switch this might get resolved as well.
    > 3. I may want to rebuild indexes for single users from scratch. I have seen
    > the TID 3105742 which tells how to do this: Essentially you turn off mail
    > delivery functions, and make some other switch changes to dedicate the POA to
    > indexing for just a single user, and then you let the POA rebuild the indexes.
    > The implication of that scenario is that the POA is now enjoying exclusive
    > access to the user's databases.
    Not really - the POA is not enjoying exclusive access to the user's database,
    the indexer is just avoiding an attempt to index anything else.
    > If I want to use my secondary POA-QF to rebuild a user's index from scratch,
    > does the main POA have to be offline and the user out of GWise? That is, Does
    > the QF process require exclusive access in order to rebuild indexes from
    > scratch?
    No - QF never requires exclusive access. That said, you may find that an
    extremely vigorous QF can cause slowdowns for the user.
    Danita
    Novell Knowledge Partner
    Moving GroupWise to Linux?
    http://www.caledonia.net/gwmove.html

  • Question about extend calendar using scal?  help,help

    recently, we received a mail from sap which saying about extending  calendar using scal;
    I have read sap notes:1529649 , 501670
    and my steps will be:
    1> in our qas system using scal
        change holiday calendar: choose CN China holiday calendar to change and then enter validation from 1995 to 2098(for example)
    2> change factory calendar: choose CN China factory calendar to change and then enter validation from 1995 to 2098(for example)
    3> in scal , choose menu: extras-->update calendar buffer
    4> transport this change to our prd system.
    5> go to scal in prd system to check
    6> update prd system `s calendar buffer in scal
    I do know whether my steps is right?
    I have two questions:
    1> we are a chinese compary, and we use several languages:TRADITIONAL CHINESE , SIMPLIFIED CHINESE and ENGLISH;
         whether i should change other holiday calendar,such as british calendar?
    2> Is there something wrong about my steps?
    thanks a lot.
    Edited by: victor on Nov 29, 2010 6:17 AM

    Hi,
    You are correct, But You can change it on QAS due to client will not modifiable.
    Goto Developement System and run scal.
    Most important is to change/extend factory calander and save it. Request will be generated as Workbench. Transport it to Production System.
    Rgds
    dk

  • Relationship about ATP check and credit check

    Dear all,
              At present,  we have credit control in sales  order. The rule is : once the sales order's amount over 1 dollar, the order will be blocked for credit check. This order has to release credit block manually in VKM4.
              Here has a problem, when a sales order has credit released with the status "D",  if i check ATP for one item in this order, the credit status will return to "B", it is not match our requirement.
              How can the credit status not change when ATP check happen in the sales order?
             Thanks in advance!

    Hi Irene,
    You can copy this requirement with new code like :
    IF yvbuk-cmgst = 'D'.
          MOVE CHARX TO BYPASS-SECURITY.
          MOVE CHARX TO BYPASS-STATIC_LIMIT.
          MOVE CHARX TO BYPASS-DYNAMIC_LIMIT.
          MOVE CHARX TO BYPASS-DOCUMENTVALUE.
          MOVE CHARX TO BYPASS-CRITICAL_FIELDS.
          MOVE CHARX TO BYPASS-REVIEWDATE.
          MOVE CHARX TO BYPASS-OPEN_ITEMS.
          MOVE CHARX TO BYPASS-OLDEST_OP.
          MOVE CHARX TO BYPASS-DUNNING_LEVEL.
          MOVE CHARX TO BYPASS-USER1.
          MOVE CHARX TO BYPASS-USER2.
          MOVE CHARX TO BYPASS-USER3.
          MOVE CHARX TO status_reset-STATIC_LIMIT.
          MOVE CHARX TO status_reset-DYNAMIC_LIMIT.
          MOVE CHARX TO status_reset-DOCUMENTVALUE.
          MOVE CHARX TO status_reset-CRITICAL_FIELDS.
          MOVE CHARX TO status_reset-REVIEWDATE.
          MOVE CHARX TO status_reset-OPEN_ITEMS.
          MOVE CHARX TO status_reset-OLDEST_OP.
          MOVE CHARX TO status_reset-DUNNING_LEVEL.
          MOVE CHARX TO status_reset-USER1.
          MOVE CHARX TO status_reset-USER2.
          MOVE CHARX TO status_reset-USER3.
        EXIT.
    ENDIF.
    If you are a problem with yvbuk-cmgst, you can use user exit MV45AFZZ to save the credit status (cmgst) into an other field.
    This new field is checked in the new requirement.
    This requirement deactivates the credit check if the credit status is released. In this case, no credit check is possible in SO.
    Regards,
    Lionel

  • Questions on ATP Check, RLT & Planning

    Hi,
    I have a couple of issues regarding ATP checks and Planning, and I was wondering if anyone could help.
    1. We have a setup right now where we are using standard SAP availability check with Replenishment Lead time. In the Purchasing, we might have scenarios where some Purchase orders are indefintely delayed from the Vendors and this has to be reflected in the sales order.
    We tried doing that by setting the delivery date in the PO to 31.12.9999 but since the date lies outside of the RLT, the sales order is fully confirmed and the delay in purchasing is not reflected in the sales order. Do you have any suggestions on how we could get around this without deactivating RLT?
    2. We have a requirement right now of using the Planned delivery time in the Material master as working days instead of Calendar days for planning purposes. Any proposal on how that can be done?
    3. We also have a requirement of taking the 'ordering calendar' into account for planning as well as for availability check - the ordering calendar is basically a weekly schedule when the POs are created and sent out to the Vendor. As an example we have a material with Planned delivery time as 3 days and GR Processing time as 1 day. However, we send the PO to this Vendor only on every Thursday.
    When the sales order is placed on Friday, using RLT the Sales order will be confirmed for Tuesday next week, but the PO will not even be sent to the Vendor till Thursday next week and we end up giving incorrect confirmations to the customers. Is there any way that this 'ordering calendar' could be taken into account in the Availability check.
    Hope someone can help.

    Hi arnab
      one way of achieving your requirements is
    after creating the sales order you can execute the SALEs order MRP using MD50 transaction enter the order # and MRP control parameters 1,3,1,2. and execute.
    Ensure the following before MRP.
    1. All the master data are maintained for the schedule line creation for the components ( Source list, Scheduling agreements)
    2. Material master with valid MRP data.strategy group having MTO strategy.
    after sales order MRP you will get the schedule line created for the components
    also MRp will create the cpacity requirements as we run the MRP with Lead time scheduling.
    Hope this helps
    SK
    Reward your points

  • Few questions about file sharing using airport

    I'm thinking about getting an AirPort Extreme, but I have a few questions:
    1- I (must) use Ubuntu Linux at work and I would like to be able to acess my home files hosted at AirPort remotly. Is this possible?
    2- Can I access my files on my iPhone using 3G connection (eg: download or stream mp3 files, photos, ...)?
    Thanks in advance!
    Marcio

    Yes.
    Yes. Use FileBrowser for iPad.

  • Custom ATP Check using Variant Configuration Data in sales order

    I have a requirement to modify the standard SAP ATP check by including the variant configuration data entered on a item.  Standard SAP does not use/include the characteristics data when doing the ATP. None of the available user exits would allow me to do this.
    The scenario is the client has a configurable product that exist in inventory as one item, base unit as IN2.  The batches that exist in inventory have the characteristics of width and length.  The order data specifies a width and a length, they need the ATP to identify the availability based on the characteristics of the batch.
    The solution was to present the user with a list of batches based on the characteristics that meet the criteria.  The user would then have the option of choosing one of the batches which would mean that the line item would include the batch #.  If the user does not want any of the batches, they could choose to select a Make to Order option, which would change the item category of the item, so that it creates a production order upon saving the order.
    The problem I am having implementing this solution is I have not been able to identify the internal table(s) that contains the characteristics data in SAPMV45A after the configuration screen is called.  If anyone knows where that information is during the sales order processing, it would be greatly appreciated.

    Hello Jean,
    Have you managed to find a solution as yet? I know you have not received any replies but am hoping you were able to resolve the problem as we are facing the exact issue on our project.
    Please let me know,
    Thanks,
    Tanya

  • Question about HTML files using TextEdit

    First off, I wanted to ask if this is the proper place to post a question about HTML/XHTML. I couldn't really find anywhere else that seemed to fit better, but please point me in the right direction if this is not the place. Thanks.
    Moving on -- here's my question:
    I'm having trouble with working with HTML files in TextEdit. I'm on a Mac, using TextEdit as my HTML editor (I can not afford one of these other HTML editors, and I like using a simple text editor like TextEdit for HTML). Here's my problem: I open a new rich text document in TextEdit and write my HTML and then choose File>Save As and choose "HTML" under the File Format drop-down box. Having saved this file as an HTML file, I then open Safari and choose File>Open File and select my HTML file; however, when I do this, my web page's text does not appear in the browser window. Instead, the HTML code itself appears in the browser window, as if the browser was not interpreting it as HTML and converting it. The same problem happens when saving the file as a .htm file using Microsoft Word for Mac.
    So, as another solution (at the suggestion of a helpful poster in a previous thread), I tried creating a plain text file in TextEdit (instead of a rich text file like before). Now, in TextEdit there is no option for saving plain text files as HTML files, so I simply save it as a Unicode-8 format and then find the file in Finder and change the extension to .htm myself (I've tried .html as well). This, fortunately enough, actually works! When I open the file in Safari I get to see my web page as expected. However, the first time I quit out of the application TextEdit and then try to reopen my .htm file in TextEdit, I no longer can see my HTML code. Instead, TextEdit shows me the actual web page text that I would expect to see when I open the file in a browser, and my HMTL code is lost.
    Can someone please help me here? There has to be a way to edit HTML in TextEdit without the code disappearing every time you quit out of the application and reopen the HTML file. Any help is greatly, greatly appreciated. Thank you.

    That's the problem -- once I convert it to plain text there is no longer an HTML option under the Save As drop down menu. The drop down menu's title is Plain Text Encoding instead of File Format and the only options I get are Unicode-8, Unicode-16, Western, Chinese, and so forth. I can save it as an HTML file, but only if the file is rich text, which doesn't work for HTML.
    So, I can save it as plain text (.txt) and then go and change the extension myself, and like I said, it works if I do that. I can edit HTML in TextEdit and open the file properly in Safari to view my web page. The problem is (I went over all this in my first post) that, after that, if I exit TextEdit and reopen it, my document is no longer HTML code -- it is now simply the text of the web site as if I had opened it in a broswer.
    What do you suggest I do?

  • Question about points and using gift card

    I have two recent transactions that are not receiving points.
    The first one on 10/24 for two iPads.  With this purchase I did use two gift cards as part of the payment but the two gift cards only covered part of the payment.  It is my understanding I do not receive points when using a gift card but wouldn't I still get credit for the remaining balance I paid that the gift card didn't cover?
    Simlar situation seems to be happening with a Xbox purchase on 11/7.
    Like I said I understand not getting points for what was used for the giftcard but thought I should get points for the remaining balance.
    Example if I used a $10 gift card to help pay for a $1,000 purchase, I don't get credit for the remaining $990 in reward points?
    Thanks!
    Solved!
    Go to Solution.

    Hi Bulletpig,
    If the remaining portion of a purchase is considered eligible, then points should be awarded.  After using the email address you registered with the forum to review your account, I believe that I can explain why you did not receive points for the portions that were not paid for with a gift card.  It appears that you used your Best Buy credit card and applied those portions to promotional financing offers, which are not eligible for points.
    While those purchases should count towards reaching Elite and Elite Plus status, they would not qualify for points.  I would like to go over your account with you to ensure it is up-to-date and to see if there are any other questions I can help answer, so I will be sending you a private message.  To check your private messages, you will want to login to the forum and click on the little yellow envelope at the top of the page.
    My Best Buy™ Points and Promotional Financing
    Thank you for reaching out to us on the forum and for being a  My Best Buy™ member!
    Derek|Social Media Specialist | Best Buy® Corporate
     Private Message

  • Question about loading and using Images.

    I know how to load an image and to draw it onto a canvas etc etc. However my question is to do with the efficiency of loading multiple images (possibly the same image!) and using them together. I have multiple objects, all instances of the same class, which all draw themselves onto a screen in different positions. However they all use the same 3 images (depending on an internal state).
    So if I create 5 of these objects and each object calls to load the same image using something along the lines of:
    url = this.getClass().getResource("MyImage.png");
    normalImage = Toolkit.getDefaultToolkit().getImage(url);Does this mean that in the memory there are 5 exactly the same copies of this image? Or does java do something clever and use one image that they would all reference? I suspect I will have 5 in memory but I wanted to ask about this before going and making an imageManager class where I load all the images and just use getMethods in that when drawing. I will not be preforming any transforms or anything on any of the images so they can all literally be the same image but simply drawn in multiple positions on the one canvas.
    (note: I am using active rendering to draw these images myself and then blit it to the screen ...).

    Use ImageIO rather than Toolkit--with Toolkit you need to use a MediaTracker to ensure you have your image loaded before you try to use it.
    If you load an image and then do this:
    MyImage1 = MyImage;
    MyImage2 = MyImage;
    MyImage3 = MyImage;
    There are 4 references to the Image in MyImage. If you don't specifically use a method that gives you a new Image, usually, you are getting a refrence to an image already loaded in memory.

  • Two questions about my "new" used Macbook

    Hello everyone,
    I recently bought a Macbook for my wife from craigslist. It is a early 2008 model (http://www.everymac.com/systems/apple/macbook/stats/macbook-core-2-duo-2.2-white -13-late-2007-santa-rosa-specs.html). I have two questions regarding its use.
    1. I know a video adapter is available for these computers. Is there a cable that can connect the video out on the macbook to a TV that has only a RCA input?
    2. I noticed (a little late) that the mouse button on the trackpad is a little chintzy. It takes quite a bit of effort to press the button and it appears to stick a little. I currently have the trackpad configured to accept clicks, however I would like to fix the button if possible. Has anyone had any success with changing the mouse button?
    Thanks.

    Thanks for the response. I went to the apple store and picked up the cable yesterday. It works perfectly. I cleaned the area around the trackpad button a little and it seems to have eased a little. I will try putting the piece of paper in there and see if it gets better.
    I have a follow up question regarding the video out to a CRT TV. Does anyone know what resolution works best for this kind of low-tech TV? I tried 800X600 and 1024X768 last night and neither one seemed TV-like. Should I try a lower resolution? I am trying to stream hulu from my computer directly into my TV.
    Thanks.

Maybe you are looking for