ATP check should not be possible

Hi Experts,
I have a requirement to copy the functionality of Transaction V_RA to do this:
If new order is being keyed for the material plant combination while the custom program is running, an ATP check should not be possible in the new
order. This logic already exists in V_RA.
Could someone explain how I can do the same logic to my custom program? To prevent in creation of Sales Order (VA01) of the same material and plant, not to do ATP Availability Check?
Thanks in advance!

Hello,
I am a little unsure of your desired functionality. The standard V_RA transaction sets a lock on the order. For example, you will not be able to access the sales order in VA02 when it is being processed in V_RA. This lock is set here:
SAPMV75B FORM BELEG_SPERREN
CALL FUNCTION 'ENQUEUE_EVVBAKE'
      EXPORTING
           MANDT          = SY-MANDT
           VBELN          = US_VBELN
      EXCEPTIONS
           FOREIGN_LOCK   = 2
           SYSTEM_FAILURE = 3.
US_SUBRC        = SY-SUBRC.
IF SY-SUBRC = 3.
   MESSAGE ID 'VV' TYPE 'A' NUMBER '501'.
But if you are just copying transaction V_RA, then this should be just copied over to your custom program. So I am not fully sure exactly what you are trying to do.
There are also standard locks in transactions OVZ1 and OVZ2 that may be relevant to the issue.
If none of the above helps, then please come back to me with further elaboration.

Similar Messages

  • Availability check should not be carried out in Quotation VA21

    Hi,
      While creating the quotation we want that availibility check should not be carried out when user enter the material code on VA21 screen, as per the material lead time system should directly set the delivery schdule date, as in many cases if some other user is working on the same material then system save the quotation with confiirm quanity as zero in the schdule line, thsi we want for only one lant.  what setting can be made for this.
    regards,
    zafar

    how to know all the categoru which are applicable in quotation
    For this, first you need to identify what item categories are assigned to quotation which you can find in VOV4.  Next for these item categories, you need to list the relevant schedule line categories from VOV6
    G. Lakshmipathi

  • After creation PO, pr changes should not be possible.

    Hi friends,
    our requirement is.......if PO is created by some PR....then
    after creation of PO PR changes should not be possible.
    How we can restrict this?
    Any message?
    Rgds,
    Navin

    You can add message 06 608 in  IMG ---> Material Management ---> Purchasing ---> Environment Data ---> Define Atributes of System Messages.
    if not already there.
    This message appears if one changes the quantity in a requisition for which a PO already exists.
    If you set the attribute to E for Error then the requistioner should not be able to change a PR anymore if PO exists.

  • Failed HR Structure Authorization: should not be possible

    Hi there,
    I've got a strange problem which is quite similar to [this one|https://forums.sdn.sap.com/click.jspa?searchID=10542618&messageID=4893986], but the difference is that my userid does not have an entry in OOSB (T77UA) so it should not have missing HR Structure Authorizations because the general principle in the HR Structure is: No profile - No restrictions.
    However, this user is restricted, but not for all records. The restrictions seem very random.
    It seems that the userid itsself causes the problem. The account has been copied from another account. If you copy this account to any other userid then the problem does not occur, but I have to use this particular one because it is the official userid (personnel number).
    As I said earlier, OOSB is empty and also infotype 0105 (Communication) is set properly.
    I even tried to delete and re-create the userid completely but this did not help.
    It looks like there are some 'hidden entries' in table T77UA or another table setting for this userid that I am not aware of. Could anyone help me out her?
    Thank you!
    Kind regards,
    Lodewijk

    Hi Lodewijk,
    You say your problem is similar to the one you're referring to in your initial post.  Does that mean that you also get an error message saying:
    The last authorization check was successful
    Failed HR Structure Authorizations
    Date xxxxxxxxxxxxxxxxxxx

  • ATP check is not triggerred

    Hello, Anyone
        We met an issue when user changed the sales order quantity, the confirmed qty is not changed.
    The senario is like that:
        sales order  A created on Sep 1st, qty 1000pc, and confirmed qty 1000pc. the stock is 1501pc, there is no other sales order in the plant.
         on sep 2nd  sales order A was changed the qty to 1500 pc, but the cofirmed qty was still 1000pc, it seems ATP wasn't be triggerred.
        user didn't checked the schedule line and create a delivery next day with qty of 1501pc, and then goods issue.
       Could anyone help to check why the confirmed qty wasn't be changed untill now. and the delivery can be created? Thanks bey much.
    Sophie

  • Material Transfer From one Material Type to another should not be possible

    Dear Gurus ,
                        I have a issue here i want to lock the transfer posting from one Material Type to Another Material Type . The point is the Transefr Posting Shuold happen from same Material Type  . So can anybody help me out that what should I do for the same

    Hi ,
            I tried for the same but its not working . I just kept a Break point in this exit . Tried to transfer from MB1B its not stopping at the Break Point Can U suggest as I am doing it from MB1B .
    Regards
    Shankar

  • On/off checks should not be this difficult

    Using Captivate 7, I have a slide with 3 checkboxes. The checkboxes are simply text.
    I also have 3 checkmarks that I want the user to be able to click on and off. I am using Advanced Actions.
    To do that, I have 3 clickboxes, one for each checkmark, that show the respective checkmarks. When clicked, these clickboxes show the respective checkmark, hide themselves, and show the respective hide clickbox.
    I have another 3 clickboxes, one for each checkmark, that hide the respective checkmarks. These clickboxes hide the respective checkmarks, hide themselves, and show the respective show click box.
    All of these 6 clickboxes do not display until end of slide.
    There is a  7th clickbox, and when the user click this one, they are navigated to the next slide.
    There is a transparent button that displays for rest of slide and pauses before the end of the slide.
    When previewing the slide, I can usually get all three on/off checks to work for awhile. Then one or more stop working (they don't display the check and hide the check). It is not consistent which one(s) stop working.
    I've tried adding an Assign cpCmdGoToFrame With cpInfoCurrentFrame to each of the Advanced Actions. It doesn't make any difference -- with or without this step in the Action, I have the same problem.
    I have quite a few slide that I need to set up the same way.
    Can anyone help me solve this frustrating situation?
    If this is helpful, here are screen captures:

    Lilybiri,
    Some things don't show in a screenshot. Would it be okay with you if I send a private message with a link to the Captivate file? I think that would give you all the information you're looking for. If there is a solution, afterwards we could share it publicly on this forum to help others.
    Basically, all the slides look similar to this one with a list of choices to check on and off, and a 'Forward' click box to continue to the next slide.

  • ATP check not working

    Hi APO Gurus
    I have a problem here. When I am trying to create a sales order and try for ATP check, ATP check is not happening. I have checked the allocations also. Allocations are plenty in the planning book for the selected delivary week (material and sold to party combination).
    I am getting a message "Product of item 000010 not allocated". And also I have checked for other materials, ATP check is happening. For few materials ATP is possible and for few ATP check is not possible with the mentioned message.
    Request you to provide your inputs to solve the problem.
    Regards,
    Raghava

    Hi DB49,
    Appreciate your reply for the post. But I have checked ur both suggestions, there are allocations still leftover for the material + customer combination in the allocations planning book. And also the allocation procedure is maintained in product master /N/SAPAPO/MAT1. The ATP check is working for few materials and not working for few materials. So I have compared the master data of the both kinds of materials.
    Still the problem persisits. After some amount of research I felt there must be some problem with the triggering of Function Modules related to the ATP check. Can this be a problem.
    Request to provide your suggestions.
    Regards,
    Raghava

  • Re: ATP check at storage location level in sales order.

    Hi ,
    I have a requirement wherein storage location is determined in my sales order,  the ATP check is done at plant level as well as storage location level , and the smaller of the two quantities is taken as the result of the ATP check.
    My requirement is that the ATP check should only be performed at storage location level .
    Please suggest if there is any standard setting available in SAP.
    iF NO , PLEASE SUGGEST SUITABLE USER EXIT, WHERE I can add my requirement.
    Regards,
    Nilesh

    Hi Nilesh,
    in SAP standard the system is always checking on plant level first and then on the storage location level, there is no possibility to change this behaviour.
    I'm also not sure if the process is correct, because if you have also requirements on plant level only then you would create negative ATP if you confirm on storage location level even though there is no ATP on plant level.
    I'm also not aware of a user-exit that would suite your requirement, additionally according to the IMG documentation the user-exits in the availability check area should only be carried out in agreement with SAP.
    Regards,
    Markus

  • ATP Check on the basis of Acknowledged PO

    Hi Friends,
    I have a requirement where My client want the ATP check should be done on the basis of followings;
    1. Saftey Stocks.
    2. Acknowledged Purchase Order
    3. Lead Time.
    Safety Stock and Lead time is in SAP standard. My problem is Acknowledged Purchase Order..........earlier client was doing on the basis of PO issued. but not client wants to include the PO only when it'll be Acknowleded by the Vendor specifying the estimated date in the acknowledgement.
    Share your expertise with me to fix this issue.
    Thanks,
    NR

    Hi,
    You can include Shipping notifications in the ATP and exclude the PO. But Order Acknowledgements are not available under the standard scope settings for Availability check.
    Regards,
    Kathir

  • Disable Re-ATP check when ship to party is changed...

    Dear Folks,
    My scenario is as follows,
    1. Create a sales order in VA01.
    2. fill material and plant.
    3. click save or hit enter button.
    4. an ATP check will be carried out and the subitem will be created as item number 0011 under 0010 as per the availability configuration.(in your system it may not create subitem)
    5. now change the ship to party number and hit enter.
    Now the ATP check will take place again with regard to the changed ship to party data.
    but we want to restrict ATP check in this scenario. ATP should not trigger / the values of the first ATP check should remain same even thoe the Ship to party is changed.
    can anybody give me a clue? Full points will be awarded.
    Regards
    Srinivas Maddineni
    Message was edited by:
            Srinivas Maddineni

    Because you are changing Ship-To on the order, Route determination is occurring.  When Route determination occurs, it causes ATP to re-trigger.   Transit time on a different route may impact the ship date.

  • ATP check for delivery in ECC & Sales order ATP check in APO

    Hi All,
    Can we do an ATP check for delivery in ECC , but for the same set of Materials- Plant combination , the ATP check when a SO is created should happen in APO .
    We do not want to remove the Business event 'B'  which is meant for delivery in  APO . For some materials we need APO ATP check to happen for delivery   & for some it should be in ECC  & for SO  the ATP check should happen in APO .
    Even if we do not have check instructions pertaining to Business event 'B' & a particular check mode (for the materials where the ATP check for delivery should happen in ECC & SO check to happen in APO)  , when we are doing an ATP check for delivery , it is still pointing to APO ATP check rather than ECC check .
    Any pointers for this is highly appreciated.
    Regards
    Surendra

    Hi Surendra,
    For SO, business event is A and for delivery it's B. When integrated with ECC, the check rule in ECC points as biz event in APO.
    You can control ATP check by customized settings for check rule in ECC.
    Also, by setting requirement class and requirement type in ECC, you control check mode in APO. So, even if you dont define for check mode in APO, the system might refer from ECC for the ATP check settings. Look into your ECC customization for how requirement class is derived and settings for requirement type. (based on MRP type, strategy grp and Item cat).
    I'm not sure how you can control ATP to happen for some sales orders/deleveries in ECC and for some in APO, since check mode is mentioned in material master.
    However, there are ATP BADIs (business add-ins) available in both ECC and APO, whch can serve your purpose.
    Regards,
    Bipin

  • ATP Check in CRM Order

    Hi all
    I am trying to explore the ATP functionality on CRM orders. Per the help we can either trigger it with SAP APO or SAP ECC but I am not sure what is meant by using SAP ECC.
    Is the funcitonality to call SAP ECC even before CRM order save and then tell us ATP check results? Or does it mean that once CRM order is saved and replicated to ECC then the ATP will be carried out? I am pretty sure its the former but just want to confirm with CRM gurus.
    Thanks
    Jai

    Hi Jai,
    If you use ECC for ATP check its works fine for stock items. You dont have to save the order and reopen to get the delivery dates.
    If the items are Make-to-order, ATP will not work in CRM untill you save the order and reopen. This is because,In ECC, there is a direct linkage between the sales order and the production order in the make-to-order scenario. The confirmed delivery date is based on the scheduling of the production order.The ATP check from CRM makes an RFC-call to ECC in order to perform the ATP check there. Since the sales order does not yet exist in ECC, there is no production order scheduled either. Thus the ATP check can not confirm any dates. The system issues an error message which informs the user that the ATP check could not be carried out The limitations are explained in the note 931796.
    Cheers
    Edited by: Praveen Rangineni on Nov 6, 2008 2:47 PM

  • Default ATP check for sales organization - which function?

    Hi all.
    If you for a particular sales organization make the settings in customizing, that all ATP checks should default be "Delivery proposal" for example, which function module is then checking this in sales order creation? I would like to do some debugging, but I cannot find any ABAP program/function module where this is being checked?
    Thanks for info.
    BR
    Dennis M

    Dear Dennis M,
    FM's:
    BAPI_PROCORD_CHECK_MAT_AVAIL   BAPI: Execute Material Availability Check for Process Orders
    BAPI_PRODORD_CHECK_MAT_AVAIL   BAPI: Execute Material Availability Check for Production Orders
    CF_UT_MAT_STOCK_CHECK          PRT availability check: material stock
    CO_FU_FHM_AVAILABILITY_CHECK   Availability check of a PRT                                          
    CO_FU_OPR_AVAILABILITY_CHECK   Availability check PRT for operation                                 
    CO_FU_ORD_AVAILABILITY_CHECK   Availability check PRT in the order                                  
    CO_FU_TCO11_VORGANG_DET        Determine operat. ctrl.tab availability check prod. resources and tool
    SD_SPECIAL_STOCK_ASSIGN        Determine special stock indicator for availability check
    Regards,
    Naveen.

  • To Turn OFF ATP check in APO-GATP Instead do locally in ECC.

    Dear SAP Friends,
    Currently for Sales orders & Deliveries, we have ATP Check (Allocation Check + Product Check) happening in APO-GATP. We would like to turn-off ATP check in APO-GATP, instead want to do only Inventory Check in ECC locally.
    We want to do above for few particular model/plant combinations and not for all model/plant combinations. Meaning APO-GATP will still be used for many other APO relevant Model/Plant combinations.
    What are the changes required to CIF Integration models u2013 Salesorder+ATP Check, or any other IM. Any changes specific to material master in ECC - like MRP Controller, ATP Group, Strategy Group or any config changes on APO side.
    Please guide me with stepwise instructions.
    Appreciate your help.
    Thank
    Satish
    Edited by: SatishW on Jun 18, 2010 9:33 PM

    Hi Satish ,
    I am not an expert on GATP but logically what I can suggest following steps :
    1.As you want ATP check to happen in APO for few codes, you will have to Select/Tick 'Material Independant Object' - ATP Customization in CIF IM , so that ATP customizing settings are transferred to APO from ECC.
    2. But at the same time you need this ATP check to happen in ECC locally and not in APO for certain products, then in other CIF IM you have to select 'Material dependant objects '- ATP Check where you can set the filter/exclusion on those codes so that the ATP check does not take place in APO.
    3. Also like as R/3's backorder processing, in order itself you can set as the ATP check to occur in R/3 and not in APO.
    Hope this helps...
    Regards,
    Digambar

Maybe you are looking for

  • New WRT54G wireless router. Who's the genius that can help me?

    I just purchased a WRT54G wireless router. The main reason is my son wanted to be able to use his Sony PSP online. I also have two desktop computers that will be wired thru this router. My question's are. If he is using his PSP online and the desktop

  • Can SQL Server (2008 R2/2012) Integration Services connect to Business Objects / Hyperion directly?

    Hi, I have a situation where I need to pull data from Business Objects and Hyperion using SSIS (2008 R2/2012). I did some pro-active research on how to go about implementing this on a couple of Forums and could only figure out the below solution. We

  • Trouble with OracleResultSet...pls help

    Hello all, I'm trying to insert a word file into Oracle 9i using Blobs. Thanks to somebody in this forum, i have been able to finally use the oracle.sql.BLOB class using Tomcat. Every code snippet i've seen uses the regular java.sql.ResultSet first t

  • DRM & Burned DVD's Problems

    Hello, I have burned iTunes purchased video's to a DVD. It will not play on my DVD player but will on my iTunes. I suspect that DRM is causing this issue. I have tried this before with my media player and hard drive and that is how I came accross DRM

  • Performance costs of throwing an Exception

    Hi people. I was just reading another post around here, and I became curious about how much the Exception mechanism could become an overhead... I made a simple (REALLY simple) little test class, and I was shocked to perceive that actually throwing an