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: 

VL02N exit to update VEPO at packing time

bryan_cain
Contributor
0 Kudos
499

Hi All,

We are running IS-RETAIL on NW 7.0.1. I have a requirement to update VEPO-SPE_IDPLATE (country of origin) during packing in VL02N. I've been unable to find a Badi or User exit that can influence VEPO/VERPO, either before the screen loads (to default the value) or at save.

Any ideas?

Thanks in advance.

Bryan

1 ACCEPTED SOLUTION

bryan_cain
Contributor
0 Kudos
224

So, having not found any official way to influence the contents of VEPO at packing time, I'm looking at doing an implicit enhancement on FM HU_PACKING_UPDATE at the start of the FM.

This enhancement will check the global variable gt_xvepo and if the item has been marked for update or insert, populate the country of origin.

Thoughts on this solution? It seems safe enough to me (so long as I only update records that are going to be updated by the FM anyway) but I thought I'd throw it out there.

Thanks

Bryan

1 REPLY 1

bryan_cain
Contributor
0 Kudos
225

So, having not found any official way to influence the contents of VEPO at packing time, I'm looking at doing an implicit enhancement on FM HU_PACKING_UPDATE at the start of the FM.

This enhancement will check the global variable gt_xvepo and if the item has been marked for update or insert, populate the country of origin.

Thoughts on this solution? It seems safe enough to me (so long as I only update records that are going to be updated by the FM anyway) but I thought I'd throw it out there.

Thanks

Bryan