on 09-08-2008 3:49 PM
I'm running into a problem when I try to use FM HR_MAINTAIN_MASTERDATA (or HR_INFOTYPE_OPERATION) to create new records for infotype 209. I'm using this technique successfully for other infotypes, but for infotype 209 I get an error message and can't figure out why.
Suppose I'm trying to create a record with TAXAU=NJ, WKSIT=10, BEGDA=20080903. The error message says: Table T5UTV contains no entry with the key "NJ ? 20080903". For some reason, It's not being recognized that I've specified a value of '10' for P0209-WKSIT in the proposed_values table parameter.
This is definitely a valid combination of values, as I'm able to manually enter it this way on the PA30 screen. Thanks for any suggestions!
Len Laurence
TAXAU=NJ
This is a 4 digit field. Did you manage proper space for it?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
Did you have look at the table T5UTV ?? check if the entry with worksite number available for the date specified.
Thanks,
Preetham
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Yes, Valerie. The internal table I'm passing to HR_MAINTAIN_MASTERDATA is defined and populated as follows:
data: t_prop like pprop occurs 0 with header line.
t_prop-INFTY = '0209'.
t_prop-FNAME = 'P0209-TAXAU'.
t_prop-FVAL = 'NJ'.
t_prop-SEQNR = '00'.
append t_prop.
t_prop-INFTY = '0209'.
t_prop-FNAME = 'P0209-WKSIT'.
t_prop-FVAL = '10'.
t_prop-SEQNR = '00'.
append t_prop.
I don't think so. The definition of C(4) means that it cannot have more than 4 characters, but it can certainly have less. In any case, I've tried it with 'NJ<b><b>' as well as 'NJ', with the same result.
On our T5UTV table, we have a valid entry with:
TAXAU=NJ
WKSIT=10
ENDDA=99991231
BEGDA=19000101
User | Count |
---|---|
103 | |
12 | |
11 | |
6 | |
5 | |
4 | |
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.