Actually I want to display Total Order quantity while saving VA01.

I hv written in MV45AFZZ FORM USEREXIT_SAVE_DOCUMENT_PREPARE, the
following code:


data : w_qty like vbap-kwmeng,
       w_oqty like vbap-kwmeng.
loop at xvbap.
move xvbap-kwmeng to w_qty.
w_oqty = w_oqty + w_qty.
endloop.
message w642(8i) with  w_oqty.

What happens here is once the user presses 'SAVE' button, it displays
total quantity as a message, but after the use presses 'ENTER' key,
the order is getting saved.

I want the user to confirm that the data is correct before it gets
saved.

How to get like " Do you want to save" kind of message and get user
input. If input is 'Y', i want to save the document else i want to
remain as it is.

Any help.

Regards
Shyam







To unsubscribe from this list, send a to mail to
[EMAIL PROTECTED] or go to http://groups.yahoo.com/group/ABAP

Comments about the list can be sent to [EMAIL PROTECTED]



Yahoo! Groups Sponsor
ADVERTISEMENT
click here
Web Bug from http://us.adserver.yahoo.com/l?M=298184.5639630.6699735.3001176/D=groups/S=:HM/A=2434971/rand=615109722


Yahoo! Groups Links

Reply via email to