‎2011 Jan 11 5:22 AM
Hi All
I have written an enhancement to determine schedule lines.
Same material on multiple lines.
Example: Material 'A' is ordered in 2 items
posnr Order Qty
10 20
20 30
ATP qty in supplying plant 25
Enhancement will confirm item 10-> Qty 20 is available
item 20-> Qty 5 will be confirmed
-> Qty 25 will be given next working date.
Before saving the sales order schedule lines are determined correctly after saving system is confirming both line items and redetermining the schedule lines.
I iam manipulating XVBEP table.
while saving the sales order iam debugging the system by update debugging and also checked the update tasks.
In include LV45UF0V at line 269 VBEP table is updated with the my enhancement values.
However here commit work is not there to update the table.Some where it is calling.
My issues is, upto end of the transaction VA01 XVEBP is retaining the enhancement values wonder from which table VBEP is updating.
Please help me to solve this issue.For any clarification plz reply.
Thank You.
‎2011 Jan 11 5:28 AM
Hi,
Check for other enhancement point and one more option is to go for userexit incllude(MV45AFZZ), there in the subroutines you can find VBEP userexit or you can use "SAVE_DOCUMENT".This needs an access key , not sure if you people are going for userexit with access key.
Regards,
Nagaraj
‎2011 Jan 11 5:56 AM
Hi Nagaraj
Thanks for reply.Just now i have tried with an enhancement point to add the code few varaibles are not having references in include MV45AFZZ->userexit_Save_document.
Any inputs.
Thank you.
‎2011 Jan 11 6:00 AM
Hi,
is XVBEP structure is not visible there? please check one more userexit (move field to VBEP) and see..
Regards,
Nagaraj
‎2011 Jan 11 8:50 AM
Hi Nagaraj
XVBEP values are visible at this place.As i said earlier after saving XVBEP is having enhancement values.
However VBEP table is not updating by XVBEP table.
Thank you.
‎2011 Jan 11 8:59 AM
‎2011 Jan 11 9:39 AM
‎2011 Jan 11 9:48 AM
Hi,
Did you check the userexit_move_field_vbep (something l;ike this in MV45AFZZ) include.. also i hope you have modified the XVBEP structre after you pass the values.
Regards,
Nagaraj
‎2011 Jan 11 9:58 AM
Hi
I have checked the exit and iam modifying the MVERF_POS (type AV03V) from this standard code is filling XVBEP.
I am not at all changing XVBEP.
Thank You.
‎2011 Jan 11 10:26 AM
‎2011 Jan 11 7:35 PM
Sounds spectacularly dangerous to me....good way to have confirmed VBEP rows in 50 different orders for the same 25 pieces that are on the shelf....How do you know other orders haven't had ATP scheduled based on the 25 you have? If you're doing this why the heck is the installation using ATP? Customers will soon hate your organization, I'll bet.
‎2011 Jan 12 5:20 AM
I am taking care that one sales order is created at a time.This is a client requirement and Its just a trial and error.
‎2011 Jan 12 5:49 PM
Okay...one order at a time...today i create order 1 for 50 and I have 25 on the shelf.....later today, I create an order 2 for 100 of the same material....I then screw up VBEP, by abandoning ATP logic and by determing that order 2 can also deliver the 25 that I have on the shelf?
Or, did you mean that you wouldn't accept order 2 until order 1 had been completely delivered?
‎2011 Jan 13 8:35 AM
I am not changing the ATP qty, using for the calculation and determining schedule lines.
Its a trail and error only.Any how my problem is solved.
I have find out where schedule lines are redetermined after saving.
Thank You.