VA02  Availability  check

Hi All,
I  need  to  make  a  Funcional Specs to  developpers  regarding  Availability  check in  sales  order....
My  case  is  that we  have  an  Z  report  for  ATP  check  but  by  standard  the  system  reedirect  us  to transaction CO09  to  see  the  availability.
Can  I  developer  by  user exit  reedirect from  sales  order  directly  to Z  report  to  see  the  ATP  quantities?
How ?
Thanks in  advance  and  best  regards
L
<removed by moderator>
Edited by: Thomas Zloch on Jul 13, 2010 5:01 PM - please do not offer ...

Changing the screen sequence control: paths between processing locations in table T185. Could be there's additional coding necessary in some exit in SAPMV45A ...
... there's more: check the other T18*-tables.
Edited by: Mylène Dorias on Jul 13, 2010 4:07 PM

Similar Messages

  • Availability Check in VA02 via BADI or Exit

    Dear Gurus,
    We have a user requirement wherein, when we change the "delivery block" the "Schedule line category" should also get changed and the availability check which is happening in VA02 generally has to get triggered(Schedule Line Screen).
    We could change the "Schedule Line Category" with respect to the "Delivery Block", but the "Availability Check" is not getting triggered.
    We need to trigger the availability check also here.
    Is there any function module, BADI,User exit,Enhancement Spots for handling this?
    Should this be handled in the SPRO? If yes how?
    We tried using "RV_AVAILABILITY_CHECK", but this is not triggering "Availability Check" in BADI/User Exit.
    Kindly, help us for the same.
    With Regards,
    Jagan.

    Dear Carti,
    Thanks for the response.
    The enhancement spot we used is "ES_SAPFV45E" of program "SAPFV45E"
    CONSTANTS: C_VA01 TYPE TCODE VALUE 'VA01',
                C_VA02 TYPE TCODE VALUE 'VA02',
                C_AUART TYPE VBAK-AUART VALUE 'ZEOV',
                C_LIFSP TYPE VBEP-LIFSP VALUE 'ZN',
                C_ZC TYPE VBEP-ETTYP VALUE 'ZC',
                C_CP TYPE VBEP-ETTYP VALUE 'CP'.
    IF SY-TCODE = C_VA01 OR SY-TCODE = C_VA02.
    IF VBAK-AUART = C_AUART.
    IF VBEP-LIFSP = C_LIFSP.
       VBEP-ETTYP = C_ZC.
    ELSEIF  VBEP-LIFSP = ''.
         VBEP-ETTYP = C_CP.
    ENDIF.
    ENDIF.
    ENDIF.
    Please note that we have created a separate dummy program for "RV_AVAILABILITY_CHECK" function module wherein we have passed all the parameters as passed by the standard in VA02 schedule line screen manually.For checking purpose,while executing this program we are not getting any error and as well as we are not getting the desired result:
    TYPE-POOLS: V03V.
    TYPES: BEGIN OF T_V03V.
             INCLUDE STRUCTURE HV03V.
    TYPES:   EINTEIL TYPE V03V_XMVERF,
            END   OF T_V03V.
    DATA: BELEG LIKE  VBAK-VBELN,
           MATERIAL LIKE  VBAP-MATNR,
           POSITION LIKE  VBAP-POSNR,
           WERK LIKE  VBAP-WERKS,
           I_KUWEV LIKE  KUWEV,
           AVBBD LIKE STANDARD TABLE OF  BV03V WITH HEADER LINE,
           XMVERF_POS TYPE STANDARD TABLE OF T_V03V WITH HEADER LINE,
           EINTEIL TYPE V03V_XMVERF WITH HEADER LINE.
    CLEAR: BELEG,
            MATERIAL,
            POSITION,
            WERK,
            I_KUWEV,
            AVBBD,
            XMVERF_POS.
    REFRESH: AVBBD,
            XMVERF_POS.
    BELEG = '0053049158'.
    MATERIAL = 'GX720'.
    POSITION = '000001'.
    WERK = '1010'.
    I_KUWEV-KUNNR = '0000005001'.
    I_KUWEV-NAME1 = 'ABCD'.
    I_KUWEV-STRAS = '1ST STREET'.
    I_KUWEV-PSTLZ = '12345'.
    I_KUWEV-ORT01 = 'US'.
    I_KUWEV-LZONE = '0000000001'.
    I_KUWEV-ABLAD = 'XYZ'.
    I_KUWEV-KNFAK = 'T1'.
    I_KUWEV-DWERK = '1010'.
    I_KUWEV-VSBED = '02'.
    I_KUWEV-KTOKD = '0001'.
    XMVERF_POS-MATNR = 'AB720'.
    XMVERF_POS-WERKS = '1010'.
    XMVERF_POS-UPDKZ_WK = 'D'.
    XMVERF_POS-POSNR = '000001'.
    XMVERF_POS-MTART = 'KMAT'.
    XMVERF_POS-MTVFP = '01'.
    XMVERF_POS-SUMBD = 'A'.
    XMVERF_POS-CUOBJ = '0000000000000A1852'.
    XMVERF_POS-FABKL = 'T3'.
    XMVERF_POS-WZEIT = '15'.
    XMVERF_POS-DZEIT = '1'.
    XMVERF_POS-DISMM = 'PD'.
    XMVERF_POS-BESKZ = 'E'.
    XMVERF_POS-SOBKZ = 'E'.
    XMVERF_POS-KNTTP = 'E'.
    XMVERF_POS-KZVBR = 'E'.
    XMVERF_POS-VBELE = '0053049158'.
    XMVERF_POS-POSNE = '000001'.
    XMVERF_POS-VKORG = '1500'.
    XMVERF_POS-VTWKU = '15'.
    XMVERF_POS-GRKOR = '001'.
    XMVERF_POS-ANTLF = '9'.
    XMVERF_POS-AWAHR = '100'.
    XMVERF_POS-MEINS = 'PC'.
    XMVERF_POS-UMVKN = '1'.
    XMVERF_POS-UMVKZ = '1'.
    XMVERF_POS-VRKME = 'PC'.
    XMVERF_POS-VSTEL = '1010'.
    XMVERF_POS-LADGR = '0003'.
    XMVERF_POS-TRTRM = 'X'.
    XMVERF_POS-VSTRM = 'X'.
    XMVERF_POS-VSBED = '02'.
    XMVERF_POS-TRAGR = '0001'.
    XMVERF_POS-VFPPR_POS = 'X'.
    XMVERF_POS-KZAZU = 'X'.
    APPEND XMVERF_POS.
    EINTEIL-MBDAT = '20140411'.
    EINTEIL-TDDAT = '20140411'.
    EINTEIL-LDDAT = '20140411'.
    EINTEIL-WADAT = '20140411'.
    EINTEIL-EDATU = '20140411'.
    EINTEIL-PRGRS = '1'.
    EINTEIL-WMENG = '1'.
    EINTEIL-VFPMNG = '1'.
    EINTEIL-GRULG = '9999'.
    EINTEIL-ETENR = '0001'.
    EINTEIL-ETTYP = 'CP'.
    EINTEIL-BDART = '04'.
    EINTEIL-PLART = '6'.
    EINTEIL-SUMBD = 'A'.
    EINTEIL-VFPKZ = 'X'.
    EINTEIL-ATPPR = 'X'.
    EINTEIL-UPDKZ = 'U'.
    EINTEIL-LFREL = 'X'.
    APPEND EINTEIL.
    *XMVERF_POS-EINTEIL-MBDAT = '20140411'.
    *XMVERF_POS-EINTEIL-TDDAT = '20140411'.
    *XMVERF_POS-EINTEIL-LDDAT = '20140411'.
    *XMVERF_POS-EINTEIL-WADAT = '20140411'.
    *XMVERF_POS-EINTEIL-EDATU = '20140411'.
    *XMVERF_POS-EINTEIL-PRGRS = '1'.
    *XMVERF_POS-EINTEIL-WMENG = '1'.
    *XMVERF_POS-EINTEIL-VFPMNG = '1'.
    *XMVERF_POS-EINTEIL-GRULG = '9999'.
    *XMVERF_POS-EINTEIL-ETENR = '0001'.
    *XMVERF_POS-EINTEIL-ETTYP = 'CP'.
    *XMVERF_POS-EINTEIL-BDART = '04'.
    *XMVERF_POS-EINTEIL-PLART = '6'.
    *XMVERF_POS-EINTEIL-SUMBD = 'A'.
    *XMVERF_POS-EINTEIL-VFPKZ = 'X'.
    *XMVERF_POS-EINTEIL-ATPPR = 'X'.
    *XMVERF_POS-EINTEIL-UPDKZ = 'U'.
    *XMVERF_POS-EINTEIL-LFREL = 'X'.
    APPEND XMVERF_POS.
    CALL FUNCTION 'RV_AVAILABILITY_CHECK'
       EXPORTING
         AUFRUFER                = 'A'
         BELEG                   = BELEG
    *   CALL_MODUS              = ' '
    *   ERGEBNISUEBERGABE       = ' '
         MATERIAL                = MATERIAL
         POSITION                = POSITION
         VBTYP                   = 'C'
         WERK                    = WERK
         I_KUWEV                 = I_KUWEV
    *   DIALOG_FORCE            = ' '
    *   TRTYP_V_FORCE           = ' '
    *   VGTYP                   = ' '
    *   LOGIC_CONT              =
    * IMPORTING
    *   DIALOG                  =
    *   SPERRE                  =
    *   SETDELTA                =
       TABLES
         AVBBD                   = AVBBD
         XMVERF_POS              = XMVERF_POS
    *   MDVPK_QU                =
    *   VVBFS                   =
    *   XEKPO                   =
    *   XEKET                   =
    *   QUOTA                   =
    *   IQUOTA                  =
    *   XQUOT_VB                =
    *   XQUOT_CH                =
    *   XCATALOGUE              =
    With Regards,
    Jagan

  • Different availability check for VA01 as for VA02

    Hello,
    For the availability check, during sales order creation (VA01), the system takes into account the requirements transferred to MRP. In some cases, an order cannot be confirmed, even if there is sufficient stock according to CO09.
    If I change the order (VA02) and run the availability check again, now the system can confirm the order.
    It seems that SAP performs a different type of availability check during VA01 as for VA02. Does anybody know where in SPRO I can customize the settings for this?

    Hi there,
    In VA01 system doesnot confirm the order even the stock are available because the available stocks are reserved for other orders which are logged in prior to your order.
    There is no separate availability check for VA01 & VA02.
    If at all items are confirmed in VA01, why again you have to do availability check in VA02?
    When you say that when you change the order in VA02, what changes you have made? Changes to any material data, customer master or delivery dates will again trigger availability check.
    In VA02 if you want to see the available quantity you have to click on display availability. Not Check Item availability. If you click on Check item availability, tehn system will again carry availability check.
    Regards,
    Sivanand

  • Custom program for availability check and update for existing sale order at Item level(VA02)

    Hi,
    I came to know Bapi_Saleorder_Simulate can be used for availability check and update an existing sale order.but there is no sample program explaining the process.I have tried this by passing parameters ORDER_HEADER_IN , ORDER_ITEMS_IN  ,ORDER_PARTNERS and ORDER_SCHEDULE_EX(for getting details),also i have assigned the sale document number ,custom document type(ZSO) in ORDER_HEADER_IN . while executing the BAPI I am getting the error external number range is not assigned for the document type ZSO . I am confused on seeing this error. It is possible to do availability check for existing sale order using this BAPI. Please explain how to achieve this.It will be really helpful if it is expalained with an example.   
    Regards,
    Shanmuga

    Hello, I think you may have been misinformed about this BAPI updating a sales order at item level. As far as I understand it this BAPI can be used to simulate the creation of a sales order which obviously would include and ATP check. This is why it is giving the error because it is simulating creation but you are entering a value in a field that should be automatically generated (i.e. the sales order number). For change the sales order at item level have you looked at BAPI_SALESORDER_CHANGE? I pretty sure this BAPI both updates sales order (header or item level) and can do an ATP first.
    Points are always welcome if you feel an answer has been helpful.

  • In sales order availability check problem

    Hi
    In sales order I when I enter the material availability happening.........
    ex. My material 00001 I raised the order for 100 quantity on 01.04.2009 on that time system showing availability of stock only 50 quantity available....on 02.04.2009 I posted 200 stock through transfers....Total my stock is 250 quantity as on 02.04.2009 . When i am doing delivery on 02.04.2009 only 50 quantity copying to delivery for the material 00001.
    no reservations are there.....02 availability check is there in my material master..
    if i come sales order if i go to 00001 material line item schedulines if i change the date..manually then only system updating 100 quantity in sales order................
    why its happening...........in sales order 100 line items are there .if i do delivery some line items only quantity copying.its very difficult to remember which item is copied to delivery...........
    Any suggetions please.......
    Thanks
    Sree

    Dear Sree sree
    sales order is created for 100 units and stocks are there for only for 50 units on 01.04.2009 so the confirmed qty is given as 50 only on saving the sales order
    On 02.04.2009 there are some stocks flowing in your plant /storage locations so on 02.04.2009 the qty becomes 250
    Now on 03.04.2009 the sales order is due for delivery but in delivery only 50 units has come eventhough there are 250 units stocks
    This is your problem
    The system response is very correct
    If you want the system to confirm 100 units on 03.04.2009 this wont happen automatically
    You have to put the order in VA02 mode and redo the availability check
    By doing that the system will confirm the stocks for 100 units
    If your OVZ9  availability check control screen is configured properly then while creating the sales order itself these incoming stocks of 200 units can be taken into account so that the order 100 can be confirmed in VA01 itself
    If your checking group is 02 in MMR then in OVZ9 for the combination of 02 and A (sales order) you can control these
    Go to OVz9 and press F1 in each and every check box
    You will understand it much better
    Regards
    Raja

  • Problem with availability check due to credit block

    Dear Experts,
    I am facing a problem with availability check for a  sales order which is blocked against credit check
    Like, i have a open sales order with mulitiple line items around 10 line items, out of which all the 10 line items have unrestricted stock and got confirmed when availability check has been performed , but we could able to proceed through delivery and billing only for 9 line items. Hence there is 1 line item in the sales order which didn't get delivered. But when we  tried to do the availability check the system is confirming the quantity with credit block. But after the sales order has been released thru VKM3 from credit block again the schedule lines are showing confirmed quantiy as "0" .
    Credit message observed : " Credit check (maximum percentage for open exceeded)".
    An earlier response would be of greater help extension to me , and i shall be greatly obliged to you all.
    Thanks & Regards
    Krishna.k

    Hi,
    once confirm actual stock is there for that line item if yes then may b stock blocked by Credit block.Release the stock reserved by credit blocked sales order  through back order processing.
    Tcode: V_RA
    Select sale order want to change the confirmed qty. SAVE.
    and again come to VA02 and run availablity chek.
    Regards,
    anand

  • Availability Check authorization per plant

    Hi
    How can we set in VA01/VA02, such that user is only allowed to have availability check on certain plants.. and not allowed to check other plants..

    One option is through Object assignment in PFCG, this can be achieved.  The other method is dont maintain that storage location in MMSC.  In fact, you can also consider sale order user exit. 
    But of these options, I would prefer creating separate roles in PFCG where I assign only those plants for which availability check should happen and assign this role to that user id.  The object for this is C_AFKO_AWK
    thanks
    G. Lakshmipathi

  • SD Availability check for item

    Hi,
    during the change of an on order the system not always executes availability check after my changes. So in userexit MV45AFZZ I'm trying to enforce SAP to execute it, but how should I call standard availablity check (CTRL + F5 in VA02) ?
    Marek

    Hi,
    Welcome to SCN!!!
    This can be achieved by customization. No special coding is required. Availability check can be triggered automatically on changing the order. Please ask your SD functional consultant to check the customization.
    Thanks,
    Vinod.

  • Creation of Sale Order for configurable material with availability check.

    Hi,
    We have a scenario in which the material is configurable. The configurable material (X) has few variants (Ex: X1, X2, X3, X4, X5). While booking the sale order, we use the material number (X).
    Further, the material planning is done for the variants X1, X2, X3, X4, X5. The standard variants are planned for production in advance.
    1.     While booking the sale order, we want the availability check of the stock (type matching to happen). What needs to be done in configuration?
    2.     While booking the sale order, there is a possibility that the configuration selected will not match with any of the standard variants due to some additional requirements of the optional features, in such cases how to link the standard variants to the sale order & create requirement for additional requirements.
    Regards,
    Umesh

    Hi Umesh,
               1.Create material master for configurable material and variants in mm01.
               2.Maintain BOM for the configurable material in CS01
               3. Configur the variant configuration steps
                  a. Create charecteristics T.code CT04
                  b. Create values and assign classes
                  c. assign the values to charecteristics
                  d . Maitain dependence  T.code CU01
                  e.create configuration profile t.code CU41
                  f.stimulate the configuration profile.
    4. Do the availability check configuration through this path
    IMG --> Sales and distribution > Basic functions ,> Availabilty check and Transfer of requirements.
    5. Maintain the Availbility check field and MRP views in the material masters other wise you sit with PP people and do that
    I hope it will help you
    Regards,
    Murali.

  • Availability Check not working for Item Cat TANN or YG05 in Btch Split

    Currently working on implementing Automatic Batch Determination (BD) project and one fine piece is holding up the implementation (make or break for project).
    In our QA System:
      - In inventory we have a quantity of 2 for a material: 1 in one batch and 1 in another batch.
      - Create an order with 2 line items with the same material number for a quantity of 1 each.  Line item category is TANN
      - When you generate the delivery the batch determination causes the items to split (even though you have a quantity of 1 in the line item).
      - When you go into the delivery and open up the 1st line item and look at the 900001 line, BD chooses the 1st batch for a quantity of 1.  Line item category is YG05.
      - When you open up the 2nd line item and look at the 900002 line, BD chooses the 1st batch again, NOT the 2nd batch which it should.
    If I change the line item category on the Sales Order to TAN and generate the delivery, BD correctly assigns the 1st batch to the 900001 line item and the 2nd batch to the 900002 line item.  Which is correct.
    Now for the strange part.  The TANN item category and BD works find in our DEV Sandbox, but NOT in our QAS system.
    I have spent two days now trying to find out where Availability Check is assigned specifically to Item  Categories and any differences between our DEV Sandbox and our QA systems to no avail.
    Our customers need the ability to be able to put the same material number on multiple lines of a sales order due to special pricing per customer within an order.
    Can anyone direct me to some configuration or transaction that controls Availability Checking by Item Category.  I have checked the 0VLP transaction and they are identical between our DEV and QA system for the TANN and YG05 categories.
    Any help will be greatly appreciated.

    In VOV6 the 'CP' Schedule Line Cat. has the Availability flag check.  There were a few areas where I found an "Availability" flag and made sure there were all set.
    But, I did finally find out what the error was:
    Logistics Exec -> Shipping -> Basic Shipping Functions -> Avail Check and Transfer of Requirements -> Transfer of Requirements -> Determination Of Requirement Types Using  Transactions
    There are entries by Item Category.  For
    I/C = TANN
    MRP type = PD
    the Requirement Type was missing (if you look at the entry for TAN/PD you see an 11 in the RqTy column).
    So I entered a 11 (Delivery Requirement) into the field and now the Availability Check works and I am getting the correct Batches and quantities during Batch Determination.
    There is no entry for the YG05 batch split, so I guess the system just uses the Item Category of the main line item.
    Thanks for the responses.  Sorry to bother you I should have figured this out earlier.
    Scott.

  • Longer time for Material Availability check while creation of prd order.

    Hi guys,
    I am facing a weird problem while creating production orders thru CO01.
    I enter the component and plant and I am also using the forward scheduling option.
    for some reason, SAP is taking a long time for material availability check when I hit the release button.
    Sometimes its taking more than an hour. Its happening with few specific BOM's, and I have checked the master data but I could hardly find a problem in master data.
    Can someone suggest me some tips ??
    Thanks & Regards,
    Sashivardhan

    Hi,
    Please check the Availability check control maintained for Components it should be 01 or 02. Also check the issue storage location maintained or not. You can maintain issue storage location in BOM in Status/lng text tab in Production Storage Location.
    Hope this will help.
    Regards,
    Navin

  • Availability Check at Storage Location Level.

    Hi All,
    Currrently we have the availability check functionality happenin at the plant level. If the stock is available in the plant, then the sales order is getting confirmed. But, the requirement is if the stock is insufficient then system should check all storage locations attached to the plant. Can someone please guide as to how this can be achieved?
    Regards,
    Raghav

    Hi
    This is not a standard SAP functionality. Either you have to input the storage location manually in the sales order or to automate this,  you have to enhance the functionality using a userexit.
    Thanks,
    Ravi

  • Availibility check at Storage location level

    Dear all,
    we have implemented inventory management ( not wm and lean wm ) , my business scenerio is when i am creating the STO the availibility check is carried out which is considering all the storage locations of supplying site
    e.g  SL01 - Unrestritrd Use
           SL02 - Damage
           SL03 - Resrved
    My client requiremnt is when availibility check should carried out it should conside only one storage location i.e SL01 - Unrestricted use stock and should not considere Stock of other storage location except SL01.
    What configuration need to be done
    Thanks and Regards
    tara

    Dear,
    Check at: http://www.sap-img.com/sap-sd/configuring-availability-check-through-checking-groups.htm
    http://sap.ittoolbox.com/groups/technical-functional/sap-log-pp/availability-check-storage-location-1283776..
    Regards,
    Syed Hussain.

  • Reserve stock in availability check

    Dear Gurus
    I have one requirement. I have searched forum but I didn't get anything which helps me.
    I have a material A with 5 quantity in storage location 1064. When I create sale order of this material with 3 quantity system reserves this stock against this sale order.It will remain reserve until i reject this order. Thee are many open sale orders against which stock is reserved. I have to find out orders with VA05 and reject them. If i create new order of same material with 3 quantity system will only confirm 2.
    My requirement is that when i press availability check button system should only check available stock, no stock reserve. When i create delivery system should copy available stock. In short there must be only availability check, No stock reservation.

    Dear moazzamjii
    My requirement is that when i press availability check button system should only check available stock, no stock reserve.
    If this is your requirement you go to OVZ9 in that just flag the iinclude sales requirements in the in/out movements.
    Check and revert
    Thanks&Regards
    Raghu.k

  • Sales orders with availability check?

    Is there any transaction code to generate list of sales order /open orders with respect to availability check ( with the combination of organizational data)?.  will anyone share your expertise pl.

    Have you tried with VA05 where you can see tabs like
    -  Open Order quantity (quantity not yet despatched),
    -  Confirmed Quantity
    -  Status of the order (Partially delivered, Being processed etc)
    thanks
    G. Lakshmipathi

Maybe you are looking for

  • Convert color PDF to Black in Acrobat 9

    I have need that I have not been able to find an answer to. I have a fairly large color pdf (over 400 pages of drawings in color) and I would like to turn all the colors to black. Everything I have been able find in my research to do this has to do w

  • CommandLink doesn't work with rendered-attribute

    Hello, I have quite a strange problem. I have a commanLink, which has a rendered attribute. The link is rendered conditionally, so the rendered-value comes from a bean. <h:commandLink rendered="#{Bean.canEdit}" action="#{Bean.selectDocumentToEdit}" >

  • How to deal with a shared network connection when installing 10 EX

    I am in the process of setting up a Virtual PC XP environment on my Vista Business machine to load Oracle EX in the virtual environment. I am having an issue of receiving a shared network connection with my broadband wireless card within the virtual

  • Cron job/tab question

    I have a script in /home/beheerder called backup.sh Running the script by hand: ./backup.sh works fine.. Now I schedule the script to run daily at 2 at night. So I do: crontab -e and add: 00 02 * * * /home/beheerder/backup.sh To test if it would run

  • HT204347 OS X has failed to install and now it asks to restart but it just keeps trying to install and I can't quit it.

    OS X has failed to install on my macbook pro and now it keeps trying to install when the computer restarts and I cannot get back to how it was and ditch the upgrade!  Can you tell me how to do this please?