on 06-21-2016 5:51 PM
Hello,
I'm creating a Sales Order with transaction VA01, then from the menù "Extras --> Technical objects" I enter a serial number. When saving the Sales Order or before saving the Sales Order, I would like to carry out some checks on the serial number entered: is there any internal table or structure that can be read from USEREXIT_SAVE_DOCUMENT_PREPARE where I can get the serial number previously entered?
Thanks in advance.
Best regards,
Andrea
Hello,
just to give you un update and not to leave the question open, I found out the solution with the help of a great ABAPER : when processing the assignment of the equipment on the Sales Order, program SAPLIWOL is called. When you revert back to the Sales Order (e.g. the EXIT_SAVE_DOCUMEN_PREPARE) you don't have on-line the same tables and structure of program SAPLIWOL, but, as a matter of fact, you have them on-line, just recalling them this way, with the name of the program at the beginning:
(SAPLIWOL)ISER02
(SAPLIWOL)RIWOL
So for example field (SAPLIWOL)RIWOL-O_OBJNR contains the number of equipment entered before saving the document.
Best regards,
Andrea
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
110 | |
12 | |
11 | |
6 | |
5 | |
4 | |
4 | |
3 | |
3 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.