Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

Print TO during Delivery Creation

Hi! gurus,

Due to Network Printer being not available, we want to Print TO automatically during delivery creation using User Exit REFRESH_DOCUMENT in include MV50AFZ1.

We are trying to fetch TO number from VBUK Table after delivery is saved and TO creation starts in the back ground in Update Task.

But problem is that when we write Select query in this exit for VBUK we find no TO as TO creation is still going on and VBUK is not yet updated.

but if i put WAIT and again write select query sometimes it finds the entry in VBUK but not for large number of TO items as still processing is happening in update task.

This is the last Exit and i need to print TO in only this.

Is there any way so that i can put a wait till Updation happens in background?

or i can check the TO creation is triggered or not and is yet over or not?

Regards,

Digvijay

Former Member
Not what you were looking for? View more on this topic or Ask a question