on 05-05-2009 11:33 AM
Hi,
I'm facing the following requirment and would like to seek some help from all the expertise here.
When creating record for a particular wage type, my user wants the system to perform some checking (in the user-exit) on the cost assignment so as to ensure that it is maintained for the wage type record created.
I'd like to know if there is a way to perform such checking in the user-exit (ZXPADU02) or any other means to do it.
Thanks,
Francis
Okay, I've discovered that I can make use of the structure IPREF to perform my checking.
Thanks.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi all,
I just notice that I can make use of the field refex to check if there are cost assignment entered. However, I just want to know if there are any means to check the actual values that is entered in the cost assignment.
That is, not only I want to ensure that the user has enter a cost assignment, I want to make sure that the user has entered the correct value for, say company code and cost center.
Thanks,
Francis
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
of course you can do it in the userexit.
Cost distribution is stored in tables ASSOB, ASSHR and PDSNR.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Thanks for your reply. However, in my case, the cost assignment hasn't been saved yet, so nothing can be found in the tables that you've mentioned.
What I want to do is during creation of a particular wage type record, one the user press 'save', I want the system to perform additional checking to ensure that the user has enter a cost assignment for this particular wage type. If no cost assignemnt has been entered, an error message should be issued and force the user to enter the cost assignment.
Any means to do such checking?
Thanks.
Francis
User | Count |
---|---|
99 | |
11 | |
11 | |
6 | |
6 | |
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.