09-10-2007 6:44 AM
Hi all,
I have Query with Costcenter posting automate using Exit,
I have the Two user exits X and ZXPADU02
here i can Change the Costcenter field and i can restrict the PA and Company code level.
But when i change the value or create duplicates values overlaps in pa30 infotype 27.
is thare any way to use the automation...
my requirement is that,
i have a z table have PA ,Personal Subarea and Costcenter fields,
When the user create are change the Costcenter infotype 27 ..
i need to check the validation for that employee PA and Personal Subarea based on this condition ztable Costcenter trigger.
can u give me any solution....
Thanks.
09-10-2007 6:50 AM
09-10-2007 7:00 AM
hi laxman
write the selection query
select pa
from ztable
into wa_itab
where pa = '27'.
if sy-subrc eq 0 .
write:/ infotype found .
else
continue.
pls check it can be useful
endif.
09-10-2007 7:04 AM
Thanks for replay.
How can i use the Dynamic Action and where can i assign ...
Can u give me details....
My HR-functional department says this is not passible to use the Dynamic action.
It can be Passible Exit only....
Regards,
Laxman.