on 12-04-2007 10:42 AM
Hello gursus,,
procedure for using the USEREXIT_SAVE_DOCUMENT_PREPARE.
What should be logic?
rqt is that before saving the document i want to check one particular field to be maintained.
so what logic should be written and can any one explain the process?
Thanks and Regards
Sameer
Hi Sameer,
Yes., you can use that uerexit, if the system has to check for the value in that field and behave differently based on the value determined in that specific field.
your requirement is not clear and vague. The coding within the userexit will be done by the ABAPers if you can clearly explain your requirement to them.
Thanks,
Ravi
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Sameer,
This user exit form is definately the right one.
You can read here many of the structures/tables found in include MV45ATOP and see if in one of these you have your field that you need to maintain. If you don't want to update, you can eventually give an error message of type "message xx(yyy) with 'text'". xx could be for example 'cj', yyy could be '001' and text could be 'can't save'.
Good luck,
John.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You can very well do that using Incompletion procedure at sales order header or at item category level.No need for any development.
If at all you want to use the user exit, you just give the logic to the developer and he should be able to code it.
Hope this helps you
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi
To make sure that one should maintain field before saving the doc , this can be very well done by screen variant and hence no need to go for user exit.
Goto Tcode SHD0 Enter ur transaction code ( suppose sales order creation Va01)
then enter Trnasaction Varinat and execute . U will find Name of screen varaint some thing like BUSxx etc select the one double click on it and find ur field and make it required .
Hope this help
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
87 | |
7 | |
6 | |
4 | |
3 | |
3 | |
3 | |
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.