Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

VEPVG Table Updation

Former Member
0 Likes
3,784

Is anybody aware of how exactly VEPVG table gets updated ? Functionally VEPVG gets updated when

we create an order with some schedule line data. But is anybody aware of the include/program where exactly

VEPVG table gets populated ?? Also i believe the updation of VEPVG is done based on VBUK table however i need to know the piece of code where VEPVG gets updated.

My issue is with multiple entries sitting in VEPVG table when the shipping dates are changed on the order.

Is anybody aware of how exactly VEPVG table gets updated ? Functionally VEPVG gets updated when

we create an order with some schedule line data. But is anybody aware of the include/program where exactly

VEPVG table gets populated ?? Also i believe the updation of VEPVG is done based on VBUK table however i need to know the piece of code where VEPVG gets updated.

My issue is with multiple entries sitting in VEPVG table when the shipping dates are changed on the order.

6 REPLIES 6
Read only

Former Member
0 Likes
1,908

Is anybdy aware ??

Read only

JackGraus
Active Contributor
0 Likes
1,908

You can check and even trigger the delivery due index update from ABAP RVV05IVB. Enter the sales order and flag parameter 'Shipping due date index'. From there I can see the function module RV_INDEX_REORG is called and in there function module RV_SALES_DOCUMENT_INDEX_ADD. From there the form INDEX_VEPVG_SCHREIBEN.

Best regards Jack

Read only

Former Member
0 Likes
1,908

Hey Jack thanks for your quick reply....However the program suggested by you is just to adjust the entries in VEPVG table once the entries are made to it. My concern is while creating an order what is the piece of code which updates this VEPVG table???

Read only

JackGraus
Active Contributor
0 Likes
1,908

The function module RV_SALES_DOCUMENT_INDEX_ADD that is called by ABAP RVV05IVB is also called during sales order update in function module RV_SALES_DOCUMENT_ADD from BELEG_SICHERN(SAPMV45A). Be aware that it is called in an update task.

Best regards jack

Read only

Former Member
0 Likes
1,908

Thanks again for the quick response....Will check right away..

Read only

Former Member
0 Likes
1,908

With your help i was able to find the place where VEPVG table gets updated....Can you also hint me when exactly the entries from VEPVG table gets deleted ??? Appreciate your response...