cancel
Showing results for 
Search instead for 
Did you mean: 

Availability check in sales order

Former Member
0 Kudos

I want to know the exact (line code) place in the SDV03V02 program where the schedule line confirm dates are applied to the sales order schedule line for a confirmed item.


We are having an issue where we are seeing that older sales orders are not getting any confirmations versus news sales orders.


These orders are not ship complete, credit blocked, or delivery blocked.There should be no reason for them to not get confirmed.


In other cases the older sales orders are getting confirmed at a later date than newer sales orders for example:


Sales Order 56666 created on 1/14/2015 quantity 20 and delivery date of 1/17/2015 is getting a schedule line confirmation

of 4/25/2015


versus a


Sales Order 58888 created on 2/25/2015 quantity 10 and delivery date 2/28/2015 is getting a schedule line confirmation of

3/15/2015

Accepted Solutions (0)

Answers (3)

Answers (3)

former_member223981
Active Contributor
0 Kudos

Hi Saad,

SDV03V02 basically works like this:

1) Select the relevant sales orders.

2) Sorts the selected sales orders according to the sort priority in the selection screen

3) Unconfirms the confirmed quantities of the sales orders (unless "Fixed Date & Quantity" is set)

4) Loops through the sales orders (from step 2) and executes an availability check for each respective item.

In your case, I would start by setting a breakpoint here:

************************************

* Sorting input documents --------------------------------------------*


  PERFORM XTAB_SORT


     TABLES


        SORT_TAB.

************************************

After Form XTAB_SORT is executed, check the value of table XTAB; the system will execute an availability check of item 1 first, then item 2 etc. So you should check that the XTAB internal table contains the orders in sequence of the priority you expect them to be.

Hope this helps.

0 Kudos

Hi Saad,

See if the later order has a higher Delivery Priority than the first order.

And verify the selection criteria in V_V2.

Generally any issues in this t code is due to a data or selection criteria.

Thanks

Raghavendran


Shiva_Ram
Active Contributor
0 Kudos

Check the settings in T.code OVZ2 and the field Accumulation. Set value 3 and then try again.

Regards,

Lakshmipathi
Active Contributor
0 Kudos

Have a look at the following note:-

  • Note 1861066 - Everything about SDV03V02 / transaction V_V2

G. Lakshmipathi

jobis
Contributor
0 Kudos

Hi Saad,

Has there been any changes made to the material master (procurement/production time, GI time), or for route time, transportation planning time etc.. in between the date of old sales order and the newer sales order..?

Also check the changes made in Availability check control (OVZ9)..Like the 'check without RLT' field.

Please check

Jobi