on 12-02-2005 3:45 AM
Hi,
I have done the enhacement using smod - PBAS0001 EXIT_SAPFP50M_002.
I have written a code in include ZXPADU02 for a particular wage type not allowed for specified employee subgroup. I have activated the included.
Please let me know how to check this validation(means which Tcode i have to use to see the validation).
******code start***
data: i0008 like p0008.
data: c_M010(4) value 'M010'.
Message s016(rp) with INNNN-infty.
CASE INNNN-infty.
WHEN '0008'.
Move INNNN-infty to i0008.
if i0008-lga01 eq c_M010
and ipsyst-persk = 'N1'.
Message e016(rp) with i0008-lga01. "raising error_occurd.
endif.
ENDCASE.
**********code end*********
Hi Aditya,
Looking at the code, you are assuming always LGA01 will have value M010, you might have to use DO statement to check M010 value for all LGAnn fields of P0008.
-Bharat
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Since this is related to iT0008, you can put a breakpoint at the code in the user exit. Use trx code PA30 for any employee, change IT0008, make some changes & see if it reaches the user exit code.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
95 | |
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.