Skip to Content
avatar image
Former Member

Availability check and update in sales order.

Hi All,

I am trying to search BAPI or Functional module to check availability and update the same in order.

I have checked with SD_BACKORDER_UPDATE-Which is forcelly adding a confirm schedule line in later date in sales order with out checking any thing.

and

BAPI_MATERIAL_AVAILABILITY-which is just checking the ATP but not updateing the same in order.

Please suggest me is there any Functional module or BAPI which can full-fill my requirement or i am doing something wrong with above BAPI.

Thanks in advance

Jalaj

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

2 Answers

  • avatar image
    Former Member
    May 04, 2010 at 05:45 PM

    Hi,

    Have you tried V_V2 - Execute rescheduling?

    Regards,

    Add comment
    10|10000 characters needed characters exceeded

    • Former Member

      Hi jloureco

      Thanks for reply but i am looking any BAPI or Functional module for ATP Check.

      Please suggest.

      Regards

      Jalaj

  • May 05, 2010 at 07:02 AM

    Hi,

    just for info,

    the engine of the availability check is the following function module: RV_AVAILABILITY_CHECK.

    In order to update the schedule lines of a sales order's item, you should check the function module LE_ATP_CHECK_SINGLE.

    However, using these function modules in a custom program is not so easy, because they require a couple of preliminary readings in order to instantiate the top include of the function groups and furthermore they are not RFC enabled.

    In my opinion the best way to determine the availability date or the delivery date at schedule line level is using the Bapi method BAPI_SALESORDER_SIMULATE. Check the results in the output table ORDER_SCHEDULE_EX[ ].

    Regards,

    Andrea

    Add comment
    10|10000 characters needed characters exceeded