Quantcast
Channel: SCN : All Content - ABAP Development
Viewing all articles
Browse latest Browse all 8332

VBUP Table updation - Field UVP01 - Issue

$
0
0

Hi Experts,

 

 

The requirement for me is to update VBUP-UVP01 upon PGI completion.

 

 

I have written the logic in user exit MV50AFZ3 , userexit_save_doc_before_prep.

 

 

VBUP table is getting updated.

 

 

The isssue is there are three scenarios by which the PGI will be done for the delivery.

 

 

1) After creation of delivery, then enter the delivery no created and click on PGI.

 

 

2) Through a batch job

 

 

3) At the time of creating delivery in vl01n, the user enters the delivery quantity and picked qty and clicks on PGI button.

 

 

The logic written in the above exit fulfills the first two scenarios, but the third scenario doesn't work.

 

 

So i have written the same code in user exit MV50AFZ1, userexit_Save_document.

 

 

Here in this exit, all scenarios are failing. VBUP table is not getting updated.

 

 

Please guide me to acheive the above requirement.

 

Regards,

Siva.


Viewing all articles
Browse latest Browse all 8332

Trending Articles