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 | |
|
|
Yahoo! Groups Links
- To visit your group on the web, go to:
http://groups.yahoo.com/group/ABAP/
- To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]
- Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.
