Customizing Availability Check in the sales order; EXIT_SAPLATPC_001, etc..

Dear All.
Looking for a way to automatically control what's chosen in the sales order Availability Dialog box depending upon certain conditions.
This is the "Rule for transferring the results of the availability check", field TVTA-REVFP.
The default is blank, which lets the user select what they want.  Under certain conditions though we do not want to display the dialog box, and just have the system automatically select "A" which is what's available on the requested date.
Mainly I've been trying to find what REVFP translates to in USEREXIT_AVAILABILITY_IN, and EXIT_SAPLATPC_001.
We've reviewing P_ATPCSX-RESMD, in EXIT_SAPLATPC_001.  And trying to set it to "A" in debug with no luck.
Possibly this is too late or too early in process, or the wrong field.
Has anyone done anything like this before or have any ideas on how to approach?
Many Thanks!

hey kharthik,
i got the same requirement. hv u got the solution for this ..if so please provide me..
Regds
Satya

Similar Messages

  • Manually trigger Availability Check in the Sales Order User Exit MV45AFZZ

    Hi All,
    As per the normal scenario where sales orders are created and the schedule line delivery dates are determined.
    Based on some business logic for few customers we need to change the delivery priority and confirmation delivery date.
    We are implementing this logic in the user exit MV45AFZZ in the routine USER_EXIT_SAVE_DOCUMENT_PREPARE.
    The availability check logic is already implemented by then. Now we have scenarios where the date redetermined by the custom logic is greater than the one determined by the standard availability check done by SAP.
    We have changed the values of the field VBEP-EDATU as per our logic but we still have 2 lines in the schedule line data where the requested date is greater than the confirmed date.
    This can be tackled if we can redo the Availability Check.
    Can someone provide pointers on how can we trigger the availability check manually in the code.
    Regards,
    Karthik

    What was the solution?

  • Retaining the old schedule lines after the ATP check in the sales order....

    Hi Experts,
    I would like to retain the old schedule lines after the ATP/GATP check in the sales order for certain conditions.
    I don't want to change XVBEP,IVBEP,VBEP contents in the user-exit..
    Is there any standard sub-routine or function module to reatain old schedule lines in the sales order so that the schedule lines will not update with the new values after the ATP check ?
    Thanks
    Rayudu

    In Include LV03VFMM, you have:
    * Userexit availability
          PERFORM USEREXIT_AVAILABILITY_IN USING DA_ATPPR.
    There may be an option to implement some logic in here. However, I tried changing the value of MVERF_POS-EINTEIL[1]-VFPKZ to initial. This will ensure that when FM AVAILABILITY_CHECK_CONTROLLER is called that the following IF statement is untrue:
    CHECK NOT P_ATPCSX[] IS INITIAL.
    as P_ATPCSX[]                     Table[0x648].....
    However, this will just mean that the 2nd confirmed schedule line (assuming we have > 1 schedule lines) will have a confirmed quantity to zero.
    EXIT_SAPLATPC_001 could also be used. However, when I removed the "X" from CHKFLG, I get the same result; the 2nd schedule line will revert to zero.
    They were the only tests I tried; I cannot think of any other ways around this....

  • ATP check in the Sale order Processing and CO06 transaction (Confirm Qty)

    Hi All,
    While creating the Sale order, After performing the ATP check and saving the document i have called an user exit to make the confirmed Quantity equal to ZERO when the delivery block is set (As requested by customer). That is working fine...
    But the same confirmed Quantity of ZERO is not reflecting in CO06 transaction. Its showing the old value that the value before setting the delivery block.
    I have identified the table VBBE-VMENG which stores the confirmed quantity in CO06 transaction...
    Could you please help me know any USER EXITS or any other solution to change the confirmed quantity to ZERO in CO06 transaction also while delivery block is set in the sale order.
    Thanks &Regards,
    Navaneeth

    Hi All,
    Please help me by providing some clues on this issue...
    Regards,
    Navaneeth

  • Availability check Problem in sales order according MRP sterategy

    hi,
    We are using strategy 56 for configurable final product and strategy 65
    for its variants.Requirement type is "ELV V". According this requirement type,
    it is not possible to confirm availability check and then deliver the
    sales order. We tried to mark availability check for requirement type ELV V in OVZG Tcode, but the
    following error came up: "Check against plan material can only be carried
    out w/o avail.check". Is there any setting to handle this problem to work
    with strategies 56 and 65? Is it some configuration that we forgot?
    Thanks,

    Yes, We have maintained planned del. time. and other fields also,
    My problem is that, To make assembly of material A we have two component material B and C.
    in the sales order of material A, system should check availability of component material B and C.
    please help
    vikas

  • Availability check problem in sales order

    Hi All,
    We have one material which is assembled by using two components (BOM).
    During avaiability check in sales order system should check components stock available in Stores.
    · If there is sufficient stock of the component materials is available, the availability check should report a fixed number of days to make assembly,
    · If there is insufficient stock of the component materials,  the availability check should report the longest lead time for the material which is short + fixed number of days to assembly.
    Please help
    Vikas

    Yes, We have maintained planned del. time. and other fields also,
    My problem is that, To make assembly of material A we have two component material B and C.
    in the sales order of material A, system should check availability of component material B and C.
    please help
    vikas

  • Changing Availability Checking Group in Sales Order.

    Hello Gurus:
    We changed the checking group in the material master.  The existing sales orders still shows the earlier checking group.  So how to change the checking group in existing sales order also (after it is changed in material master).  Also, once the checking group in sales order is changed, how to de-commit and re-commit material as per the new checking group.  Thanks.
    - Chetan

    Chetan,
    As you have changed Checking Group in MMR later on all ur availability check etc will be calculated as per previous MMR settings..
    Still go to OVZ9...See if your sales order has correct Check rule/Group..
    Then Go to sales order Carry out availability check again...See if Avalability Overview has changes as per your new Check Rule..
    Also Do Some R & D...
    Like test with change in quantity of line items...save and carry out avalability check gain..See if schedule line dates in Sales order Is there any change?
    See if any change is there...
    If not better create new  sales order...it will minimise your efforts and will be quicker way..
    REWARD IF U FINDS THIS AS USEFUL...
    Regds
    MM

  • Check if the Sales Order is credit block.

    Hello Everyone,
    I have a requirement related to third party sales order and delivery. In the first system, a sales is created and then the PO gets created. Upon the creation of the PO a IDOC gets generated. The inbound IDOC in the other system triggers and a sales order gets created. The requirement is that if sales order in the first system is on credit block then automatically the sales order in the second system should go on delivery block.
    The solution that I have thought is that when the IDOC gets created after PO generation there itself add a flag to IDOC in case of credit block in sales order. BUT HOW TO CHECK CREDIT BLOCK of the SALES ORDER IN THE CUSTOMER EXIT?
    Any help is appreciable.

    Hi Rahul,
    Need some more clarification on why sales order is created in the second system, if it is a third party process ?
    are you creating delivery from the corresponding sales order of second system to replenish sales order of first system ?
    are you using standard IDOC type for creating Sales order from PO ?, if so check the Corresponding Function module which may have user exists
    check Function module : IDOC_OUTPUT_ORDRSP
    At first system, if the sales order is credit block you can restrict creation of PR-->PO in the first system itself, this is a standard Functionality
    This would be easier than looking for user and coding in IDOC function module
    try and revert
    thanks
    santosh

  • Re ATP check in the Sales order

    Hi,
    I have one strange issue in SO ATP check. I have created a SO and it was cofirmed with Availability check:XX, which was maintained in material master  when the SO was created. Then I changed the Avail check to YY and did the Re-ATP check again in SO, but the system takes the old Avail check:XX.
    It takes the new Avail check if I create a new line item in the SO, but did not work for the exisitng line item.
    Regards
    Nagarajan.

    Hi Nagarajan,
    The master data changes will effect only for the future entries not for the already entered material in the sale order or any other transaction

  • Availability checking rule for sales orders

    Hi experts,
    To meet our useru2019s requirement I have switched off the availability check at the schedule line category level. But when I created a sales order the AVC is still happening. Upon checking I have noticed the availability checking group as u201C02u201D and checking rule as u201CBu201D in sales order. To my understanding the checking rule should be u201CAu201D for all sales orders. Could you please advise as to why it is happening so?

    Hi,
    I have done as what suggested and I created a new sales order. Upon checking (Sales screen --} environment --} availability) the availability checking group is 02 and checking rule is B. Please note that for the other sales document types we have, the checking group is 02 and checking rule is A

  • How PIR's are consumed by the customer requirements even though the sales orders are blocked?

    Dear experts,
    I am using strategy 40 for material A with Backward/Forward consumption of 60 days backward and 60 days forward.
    My PIR is as follows :-
    Material Month #1 Month #2 Month #3 Month #4 Month #5 ....
    material A 100 100 100 100 100 ....
    I created a Sales Order for material A with the quantity of 600 in Day 4 of Month #1.
    After MRP run, planned order conversion and production order has been completed.
    Month #1, Month #2 and Month #3 PIR's are consumed even though we made the setting in Such a way that the sales orders should just display but not planned  . and the sales orders are into the blocked requirements list in the result of /n/afs/MD02.
    1)but why it is consuming the PIRS?
    2)is there any affect of backward and forward consumption on this?
    Thanks in advance.
    Regards
    Bhargavi Desai

    Hi,
    Normally it is recommended that, not to delete PIR's one by one or remove quantity from previous periods/ requirement manually. If the PIR's of previous month is not consumed it is normally a feedback to sales people to do a analysis at their end.
    In PP point of view, normally a re-organization run is carried out by MD74, MD75 or MD76. The same can be done by  scheduling batch job to run on month ends basis w.r.t. period you specify.
    Regards,
    Narresh

  • How to change Availability check (MTVFP) in sales order

    Hi,
    is it possible to change the Availability check on an material in an sales order?
    Some material have the value KP (no check) of Availability check in table MARC.
    If we use this material in sales orders somtimes we want change the Availability check
    from KP to 01 (Daily requirements). Is this possible or have i first change the material
    before i use it in sales order.
    Thanks.
    regards, dieter

    Its pre-define in material master, how particular will be treated in respective sales organization / Plant /
    So its always in material master , you cant change availability check n sales order.
    Once order is created, after that checkin group changed in material master, will be effective for future orders only. not effective in existing / old orders.
    Regards,
    Reazuddin MD

  • Disable Availability Check Based on Sales Order Type

    Hi All SD experts,
    Usually ( correct me if i'm wrong ) availability check is set via schedule lines item type. Is there any way that I can disable the availability check based solely on Sales Order Type ? Meaning no matter what item category or schedule lines assigned to materials, availability check will still be disable.
    Besides setting in schedule lines type, what are others config that might trigger availability check ? MRP settings ? Movement type ?
    Any valuable feedback will be great and much appreciated. A big thank you in advance.
    Warmest Regards,
    Edie

    HI EDIE
        In order for the availability check to happen,the following configuration settings are required.
    Availability check:
         a) you have to define requirement class & requirement type.
         b) you have to activate at scheduline category level
         c) in deleviry item.cat ,there is availability check off field,,,,, if  u dont mention any values here,then system checks for availability.if u mention 'x' here,then system dont check for availability.
        d) you define checking group and checking rule ,these determine how availability check is going to be performed
    MRP:
       MRP determines how material is planned,whether it is inhouse production or external procurement.MRP also determines the time taken for the material to become available for ready use.When ever an order is rised,the requirement is passed to MRP through  transfer of requirements(TOR), here MRP determines the inhouse production time or external procurement time.
    Movement Type: Movement type determines the type of material movement ,whether it is Goods Issue ,,, or ,, Goods Recipt,,,,, stock transfer between two plants etc.Movement type is determined in schedule line category level.
                      Award points if it is useful
                        Prasad.G

  • Availability Checking Rule in Sales Order- Urgent....

    Hi Gurus,
    I m PP Consultant, I want to know How Checking rule is populated whilr creating Sales Order.
    e.g - I am creating sales order for the MTS material then availability checking rule A must be come. & same for MTO I think AE should come.
    please revert back soon. Hey Gurus Plz help me out its urgent ticket
    thanks & regards, points will be rewarded yaar...
    Anant.
    Edited by: anant joshi on May 29, 2008 8:17 AM
    Edited by: anant joshi on May 29, 2008 11:20 AM

    Availibility checking rule populates from the availibilty maitined in your material master.
    i.e 01 Daily requirements
         02 Individual requirements
    If you go to transaction OVZ9
    you will see the assignment of checking rule against 01 & 02.
    e.g  01 A SD order
          01 B SD Delivery
          01 AE Make to order Stock
    I Think This will clear your doubt.
    Reward If useful
    Regards
    Rasik

  • Availability Check in CRM Sales Order

    Hello,
    We have a requirement of carrying out availability check even before entering the quantity in Sales order, meaning the availability of the product should be visible while the product is searched.
    Is it possible to achieve the functionality? If yes then how should we achieve this? We are on CRM 6.0.
    Appreciate your inputs!!!
    Regards,
    Chandrakant

    Hello.
    Did you manage to solve your issue ?
    I know it's an old problem but if you could share the solution, it will be very appreciated.
    Regards.
    Helder.

Maybe you are looking for