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 problem

Former Member
0 Likes
1,929

Hi experts,

The requirement is to avoid to dissapearing sales orders items in VL10 after delivered quantity = max (no open quantity is accessible)...

The thing is that system takes items from VEPVG table and check open quantity (VEPVG-BRGEW). This field is shrinking during deliveries creation. When the value is 0 the item is deleted from VEPVG table.

Solution is to reconstruct vanished item from VEPVG and append it to local itab.

Thing is that this is quiet hard to do ...

Anybody knows where in system is some place/code where the items is inserted to VEPVG ?

I know that after delivery (VL02) is deleted data from VEPVG will be inserted again, but unfortunatelly the track was interrupted in MV50AF0F_FUNKTION_AUSFUEHREN in CALL FUNCTION 'FUNCTION_EXECUTE' statement.

Any help ?

Really thanks.

4 REPLIES 4
Read only

eduardo_hinojosa
Active Contributor
0 Likes
955

Hi Daniel,

See Note 198137 - VL10: Customer-specific enhancements / user exits. Go to question 13, b) LV50R_VIEWG03 postab_vepvg_fill_user.

See the comments:


*  cs_postab-zzfield = ......              "add new field to List

*  if xxxxxxx = yyyyyyy.
*    cf_subrc = 1.                         "Exclude this index from List
*  endif.

I hope this helps you

Regards

Eduardo

Read only

0 Likes
955

Thanks for your reply,

but I don't want to add some field to my raport (ZVL10), but show vanished items as I wrote ...

Daniel.

Read only

0 Likes
955

Hi

You can avoid that the item will be listed with the value for cf_subrc . Perhaps in this manner you can avoid that it will be deleted.

Regards

Eduardo

Read only

0 Likes
955

Thank you again.

Reason of vanisihing (100 % delivery) is not because of EXIT, its because no entry in VEPVG table...

Question is how can I "prepare" myself row for internal table which can be append as a result of query from VEPVG ...

Daniel.

Edited by: Daniel Duras on Jul 7, 2011 8:07 AM