cancel
Showing results for 
Search instead for 
Did you mean: 

Availability check and update in sales order.

Former Member
0 Kudos

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

Accepted Solutions (0)

Answers (2)

Answers (2)

andrea_olivieri
Contributor
0 Kudos

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

Former Member
0 Kudos

Hi,

Have you tried V_V2 - Execute rescheduling?

Regards,

Former Member
0 Kudos

Hi jloureco

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

Please suggest.

Regards

Jalaj