‎2011 Jul 06 9:07 AM
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.
‎2011 Jul 06 10:25 AM
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
‎2011 Jul 06 1:55 PM
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.
‎2011 Jul 06 6:00 PM
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
‎2011 Jul 07 7:07 AM
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