on 05-04-2010 1:15 PM
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
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
Have you tried V_V2 - Execute rescheduling?
Regards,
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
95 | |
11 | |
11 | |
6 | |
6 | |
4 | |
3 | |
3 | |
3 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.